Class com.owncloud.android.utils.FileUploadHelperTest

25

tests

0

failures

0

skipped

1.489s

duration

100%

successful

Tests

Test emulator-5554
getUploadByPathsCaseInsensitiveExtensionFallback passed (0.036s)
getUploadByPathsCaseInsensitiveExtensionFallbackWCFDisabled passed (0.044s)
getUploadByPathsExactMatch passed (0.030s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercase passed (0.045s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercaseWCFDisabled passed (0.032s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtension passed (0.046s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtensionWCFDisabled passed (0.106s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPath passed (0.626s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPathWCFDisabled passed (0.034s)
getUploadByPathsReturnsNullWhenNeitherExactNorAlternativeExtensionPathExists passed (0.028s)
getUploadByPathsReturnsNullWhenRemotePathHasNoExtension passed (0.024s)
getUploadByPathsReturnsNullWhenRemotePathIsEmpty passed (0.024s)
testEntityAndOCUploadConversionTogether passed (0.023s)
toOCUploadAppliesAutoRenameWhenCapabilityIsProvided passed (0.172s)
toOCUploadHandlesNullOptionalFieldsGracefully passed (0.022s)
toOCUploadMapsAllFieldsCorrectlyWithoutCapability passed (0.019s)
toOCUploadMapsBooleanFalseFieldsCorrectly passed (0.019s)
toOCUploadReturnsNullWhenLocalPathIsNull passed (0.017s)
toOCUploadReturnsNullWhenRemotePathIsNull passed (0.019s)
toUploadEntityIsUseWifiOnlyIsFalseShouldReturnZero passed (0.024s)
toUploadEntityMapsAllFieldsCorrectlyWhenUploadIdIsSet passed (0.023s)
toUploadEntityMapsIsCreateRemoteFolderTrueShouldReturnOne passed (0.019s)
toUploadEntityMapsIsWhileChargingIsFalseShouldReturnZero passed (0.021s)
toUploadEntityPreservesExistingIdWhenUploadIdIsPositive passed (0.018s)
toUploadEntitySetsIdToNullWhenUploadIdIsNotValidToAllowRoomAutoGenerate passed (0.018s)