Class com.owncloud.android.utils.FileUploadHelperTest

25

tests

0

failures

0

skipped

2.386s

duration

100%

successful

Tests

Test emulator-5554
getUploadByPathsCaseInsensitiveExtensionFallback passed (0.086s)
getUploadByPathsCaseInsensitiveExtensionFallbackWCFDisabled passed (0.053s)
getUploadByPathsExactMatch passed (0.042s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercase passed (0.075s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercaseWCFDisabled passed (0.060s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtension passed (0.082s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtensionWCFDisabled passed (0.153s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPath passed (0.614s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPathWCFDisabled passed (0.104s)
getUploadByPathsReturnsNullWhenNeitherExactNorAlternativeExtensionPathExists passed (0.060s)
getUploadByPathsReturnsNullWhenRemotePathHasNoExtension passed (0.061s)
getUploadByPathsReturnsNullWhenRemotePathIsEmpty passed (0.038s)
testEntityAndOCUploadConversionTogether passed (0.049s)
toOCUploadAppliesAutoRenameWhenCapabilityIsProvided passed (0.461s)
toOCUploadHandlesNullOptionalFieldsGracefully passed (0.034s)
toOCUploadMapsAllFieldsCorrectlyWithoutCapability passed (0.041s)
toOCUploadMapsBooleanFalseFieldsCorrectly passed (0.055s)
toOCUploadReturnsNullWhenLocalPathIsNull passed (0.045s)
toOCUploadReturnsNullWhenRemotePathIsNull passed (0.035s)
toUploadEntityIsUseWifiOnlyIsFalseShouldReturnZero passed (0.072s)
toUploadEntityMapsAllFieldsCorrectlyWhenUploadIdIsSet passed (0.045s)
toUploadEntityMapsIsCreateRemoteFolderTrueShouldReturnOne passed (0.030s)
toUploadEntityMapsIsWhileChargingIsFalseShouldReturnZero passed (0.033s)
toUploadEntityPreservesExistingIdWhenUploadIdIsPositive passed (0.029s)
toUploadEntitySetsIdToNullWhenUploadIdIsNotValidToAllowRoomAutoGenerate passed (0.029s)