Class com.owncloud.android.utils.FileUploadHelperTest

25

tests

0

failures

0

skipped

1.143s

duration

100%

successful

Tests

Test emulator-5554
getUploadByPathsCaseInsensitiveExtensionFallback passed (0.084s)
getUploadByPathsCaseInsensitiveExtensionFallbackWCFDisabled passed (0.043s)
getUploadByPathsExactMatch passed (0.029s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercase passed (0.035s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercaseWCFDisabled passed (0.032s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtension passed (0.033s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtensionWCFDisabled passed (0.076s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPath passed (0.300s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPathWCFDisabled passed (0.044s)
getUploadByPathsReturnsNullWhenNeitherExactNorAlternativeExtensionPathExists passed (0.023s)
getUploadByPathsReturnsNullWhenRemotePathHasNoExtension passed (0.025s)
getUploadByPathsReturnsNullWhenRemotePathIsEmpty passed (0.022s)
testEntityAndOCUploadConversionTogether passed (0.024s)
toOCUploadAppliesAutoRenameWhenCapabilityIsProvided passed (0.143s)
toOCUploadHandlesNullOptionalFieldsGracefully passed (0.019s)
toOCUploadMapsAllFieldsCorrectlyWithoutCapability passed (0.019s)
toOCUploadMapsBooleanFalseFieldsCorrectly passed (0.020s)
toOCUploadReturnsNullWhenLocalPathIsNull passed (0.017s)
toOCUploadReturnsNullWhenRemotePathIsNull passed (0.025s)
toUploadEntityIsUseWifiOnlyIsFalseShouldReturnZero passed (0.032s)
toUploadEntityMapsAllFieldsCorrectlyWhenUploadIdIsSet passed (0.029s)
toUploadEntityMapsIsCreateRemoteFolderTrueShouldReturnOne passed (0.018s)
toUploadEntityMapsIsWhileChargingIsFalseShouldReturnZero passed (0.017s)
toUploadEntityPreservesExistingIdWhenUploadIdIsPositive passed (0.017s)
toUploadEntitySetsIdToNullWhenUploadIdIsNotValidToAllowRoomAutoGenerate passed (0.017s)