Class com.owncloud.android.utils.FileUploadHelperTest

25

tests

0

failures

0

skipped

1.386s

duration

100%

successful

Tests

Test emulator-5554
getUploadByPathsCaseInsensitiveExtensionFallback passed (0.047s)
getUploadByPathsCaseInsensitiveExtensionFallbackWCFDisabled passed (0.029s)
getUploadByPathsExactMatch passed (0.078s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercase passed (0.039s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercaseWCFDisabled passed (0.045s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtension passed (0.031s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtensionWCFDisabled passed (0.044s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPath passed (0.405s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPathWCFDisabled passed (0.053s)
getUploadByPathsReturnsNullWhenNeitherExactNorAlternativeExtensionPathExists passed (0.021s)
getUploadByPathsReturnsNullWhenRemotePathHasNoExtension passed (0.024s)
getUploadByPathsReturnsNullWhenRemotePathIsEmpty passed (0.021s)
testEntityAndOCUploadConversionTogether passed (0.021s)
toOCUploadAppliesAutoRenameWhenCapabilityIsProvided passed (0.210s)
toOCUploadHandlesNullOptionalFieldsGracefully passed (0.025s)
toOCUploadMapsAllFieldsCorrectlyWithoutCapability passed (0.027s)
toOCUploadMapsBooleanFalseFieldsCorrectly passed (0.039s)
toOCUploadReturnsNullWhenLocalPathIsNull passed (0.055s)
toOCUploadReturnsNullWhenRemotePathIsNull passed (0.017s)
toUploadEntityIsUseWifiOnlyIsFalseShouldReturnZero passed (0.021s)
toUploadEntityMapsAllFieldsCorrectlyWhenUploadIdIsSet passed (0.062s)
toUploadEntityMapsIsCreateRemoteFolderTrueShouldReturnOne passed (0.021s)
toUploadEntityMapsIsWhileChargingIsFalseShouldReturnZero passed (0.018s)
toUploadEntityPreservesExistingIdWhenUploadIdIsPositive passed (0.017s)
toUploadEntitySetsIdToNullWhenUploadIdIsNotValidToAllowRoomAutoGenerate passed (0.016s)