Class com.owncloud.android.utils.FileUploadHelperTest

25

tests

0

failures

0

skipped

1.625s

duration

100%

successful

Tests

Test emulator-5554
getUploadByPathsCaseInsensitiveExtensionFallback passed (0.039s)
getUploadByPathsCaseInsensitiveExtensionFallbackWCFDisabled passed (0.041s)
getUploadByPathsExactMatch passed (0.036s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercase passed (0.053s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercaseWCFDisabled passed (0.044s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtension passed (0.078s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtensionWCFDisabled passed (0.053s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPath passed (0.225s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPathWCFDisabled passed (0.052s)
getUploadByPathsReturnsNullWhenNeitherExactNorAlternativeExtensionPathExists passed (0.043s)
getUploadByPathsReturnsNullWhenRemotePathHasNoExtension passed (0.042s)
getUploadByPathsReturnsNullWhenRemotePathIsEmpty passed (0.028s)
testEntityAndOCUploadConversionTogether passed (0.254s)
toOCUploadAppliesAutoRenameWhenCapabilityIsProvided passed (0.304s)
toOCUploadHandlesNullOptionalFieldsGracefully passed (0.026s)
toOCUploadMapsAllFieldsCorrectlyWithoutCapability passed (0.028s)
toOCUploadMapsBooleanFalseFieldsCorrectly passed (0.039s)
toOCUploadReturnsNullWhenLocalPathIsNull passed (0.025s)
toOCUploadReturnsNullWhenRemotePathIsNull passed (0.026s)
toUploadEntityIsUseWifiOnlyIsFalseShouldReturnZero passed (0.050s)
toUploadEntityMapsAllFieldsCorrectlyWhenUploadIdIsSet passed (0.034s)
toUploadEntityMapsIsCreateRemoteFolderTrueShouldReturnOne passed (0.023s)
toUploadEntityMapsIsWhileChargingIsFalseShouldReturnZero passed (0.032s)
toUploadEntityPreservesExistingIdWhenUploadIdIsPositive passed (0.027s)
toUploadEntitySetsIdToNullWhenUploadIdIsNotValidToAllowRoomAutoGenerate passed (0.023s)