Class com.owncloud.android.utils.FileUploadHelperTest

25

tests

0

failures

0

skipped

1.804s

duration

100%

successful

Tests

Test emulator-5554
getUploadByPathsCaseInsensitiveExtensionFallback passed (0.051s)
getUploadByPathsCaseInsensitiveExtensionFallbackWCFDisabled passed (0.038s)
getUploadByPathsExactMatch passed (0.022s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercase passed (0.041s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercaseWCFDisabled passed (0.044s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtension passed (0.081s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtensionWCFDisabled passed (0.102s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPath passed (0.669s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPathWCFDisabled passed (0.049s)
getUploadByPathsReturnsNullWhenNeitherExactNorAlternativeExtensionPathExists passed (0.027s)
getUploadByPathsReturnsNullWhenRemotePathHasNoExtension passed (0.034s)
getUploadByPathsReturnsNullWhenRemotePathIsEmpty passed (0.022s)
testEntityAndOCUploadConversionTogether passed (0.031s)
toOCUploadAppliesAutoRenameWhenCapabilityIsProvided passed (0.248s)
toOCUploadHandlesNullOptionalFieldsGracefully passed (0.019s)
toOCUploadMapsAllFieldsCorrectlyWithoutCapability passed (0.078s)
toOCUploadMapsBooleanFalseFieldsCorrectly passed (0.018s)
toOCUploadReturnsNullWhenLocalPathIsNull passed (0.013s)
toOCUploadReturnsNullWhenRemotePathIsNull passed (0.042s)
toUploadEntityIsUseWifiOnlyIsFalseShouldReturnZero passed (0.019s)
toUploadEntityMapsAllFieldsCorrectlyWhenUploadIdIsSet passed (0.056s)
toUploadEntityMapsIsCreateRemoteFolderTrueShouldReturnOne passed (0.037s)
toUploadEntityMapsIsWhileChargingIsFalseShouldReturnZero passed (0.023s)
toUploadEntityPreservesExistingIdWhenUploadIdIsPositive passed (0.020s)
toUploadEntitySetsIdToNullWhenUploadIdIsNotValidToAllowRoomAutoGenerate passed (0.020s)