Class com.owncloud.android.utils.FileUploadHelperTest

25

tests

0

failures

0

skipped

2.270s

duration

100%

successful

Tests

Test emulator-5554
getUploadByPathsCaseInsensitiveExtensionFallback passed (0.052s)
getUploadByPathsCaseInsensitiveExtensionFallbackWCFDisabled passed (0.039s)
getUploadByPathsExactMatch passed (0.135s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercase passed (0.046s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercaseWCFDisabled passed (0.060s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtension passed (0.061s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtensionWCFDisabled passed (0.058s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPath passed (0.766s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPathWCFDisabled passed (0.153s)
getUploadByPathsReturnsNullWhenNeitherExactNorAlternativeExtensionPathExists passed (0.028s)
getUploadByPathsReturnsNullWhenRemotePathHasNoExtension passed (0.053s)
getUploadByPathsReturnsNullWhenRemotePathIsEmpty passed (0.028s)
testEntityAndOCUploadConversionTogether passed (0.033s)
toOCUploadAppliesAutoRenameWhenCapabilityIsProvided passed (0.270s)
toOCUploadHandlesNullOptionalFieldsGracefully passed (0.040s)
toOCUploadMapsAllFieldsCorrectlyWithoutCapability passed (0.040s)
toOCUploadMapsBooleanFalseFieldsCorrectly passed (0.025s)
toOCUploadReturnsNullWhenLocalPathIsNull passed (0.044s)
toOCUploadReturnsNullWhenRemotePathIsNull passed (0.049s)
toUploadEntityIsUseWifiOnlyIsFalseShouldReturnZero passed (0.043s)
toUploadEntityMapsAllFieldsCorrectlyWhenUploadIdIsSet passed (0.133s)
toUploadEntityMapsIsCreateRemoteFolderTrueShouldReturnOne passed (0.026s)
toUploadEntityMapsIsWhileChargingIsFalseShouldReturnZero passed (0.027s)
toUploadEntityPreservesExistingIdWhenUploadIdIsPositive passed (0.041s)
toUploadEntitySetsIdToNullWhenUploadIdIsNotValidToAllowRoomAutoGenerate passed (0.020s)