Class com.owncloud.android.utils.FileUploadHelperTest

25

tests

0

failures

0

skipped

3.007s

duration

100%

successful

Tests

Test emulator-5554
getUploadByPathsCaseInsensitiveExtensionFallback passed (0.157s)
getUploadByPathsCaseInsensitiveExtensionFallbackWCFDisabled passed (0.067s)
getUploadByPathsExactMatch passed (0.050s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercase passed (0.109s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercaseWCFDisabled passed (0.068s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtension passed (0.080s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtensionWCFDisabled passed (0.064s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPath passed (1.114s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPathWCFDisabled passed (0.082s)
getUploadByPathsReturnsNullWhenNeitherExactNorAlternativeExtensionPathExists passed (0.059s)
getUploadByPathsReturnsNullWhenRemotePathHasNoExtension passed (0.097s)
getUploadByPathsReturnsNullWhenRemotePathIsEmpty passed (0.043s)
testEntityAndOCUploadConversionTogether passed (0.083s)
toOCUploadAppliesAutoRenameWhenCapabilityIsProvided passed (0.467s)
toOCUploadHandlesNullOptionalFieldsGracefully passed (0.100s)
toOCUploadMapsAllFieldsCorrectlyWithoutCapability passed (0.035s)
toOCUploadMapsBooleanFalseFieldsCorrectly passed (0.062s)
toOCUploadReturnsNullWhenLocalPathIsNull passed (0.028s)
toOCUploadReturnsNullWhenRemotePathIsNull passed (0.030s)
toUploadEntityIsUseWifiOnlyIsFalseShouldReturnZero passed (0.045s)
toUploadEntityMapsAllFieldsCorrectlyWhenUploadIdIsSet passed (0.048s)
toUploadEntityMapsIsCreateRemoteFolderTrueShouldReturnOne passed (0.023s)
toUploadEntityMapsIsWhileChargingIsFalseShouldReturnZero passed (0.043s)
toUploadEntityPreservesExistingIdWhenUploadIdIsPositive passed (0.028s)
toUploadEntitySetsIdToNullWhenUploadIdIsNotValidToAllowRoomAutoGenerate passed (0.025s)