Class com.owncloud.android.utils.FileUploadHelperTest

25

tests

0

failures

0

skipped

2.185s

duration

100%

successful

Tests

Test emulator-5554
getUploadByPathsCaseInsensitiveExtensionFallback passed (0.051s)
getUploadByPathsCaseInsensitiveExtensionFallbackWCFDisabled passed (0.040s)
getUploadByPathsExactMatch passed (0.023s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercase passed (0.106s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercaseWCFDisabled passed (0.060s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtension passed (0.046s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtensionWCFDisabled passed (0.058s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPath passed (0.665s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPathWCFDisabled passed (0.100s)
getUploadByPathsReturnsNullWhenNeitherExactNorAlternativeExtensionPathExists passed (0.033s)
getUploadByPathsReturnsNullWhenRemotePathHasNoExtension passed (0.069s)
getUploadByPathsReturnsNullWhenRemotePathIsEmpty passed (0.031s)
testEntityAndOCUploadConversionTogether passed (0.034s)
toOCUploadAppliesAutoRenameWhenCapabilityIsProvided passed (0.420s)
toOCUploadHandlesNullOptionalFieldsGracefully passed (0.024s)
toOCUploadMapsAllFieldsCorrectlyWithoutCapability passed (0.039s)
toOCUploadMapsBooleanFalseFieldsCorrectly passed (0.020s)
toOCUploadReturnsNullWhenLocalPathIsNull passed (0.028s)
toOCUploadReturnsNullWhenRemotePathIsNull passed (0.039s)
toUploadEntityIsUseWifiOnlyIsFalseShouldReturnZero passed (0.085s)
toUploadEntityMapsAllFieldsCorrectlyWhenUploadIdIsSet passed (0.025s)
toUploadEntityMapsIsCreateRemoteFolderTrueShouldReturnOne passed (0.017s)
toUploadEntityMapsIsWhileChargingIsFalseShouldReturnZero passed (0.123s)
toUploadEntityPreservesExistingIdWhenUploadIdIsPositive passed (0.033s)
toUploadEntitySetsIdToNullWhenUploadIdIsNotValidToAllowRoomAutoGenerate passed (0.016s)