Class com.owncloud.android.utils.FileUploadHelperTest

25

tests

0

failures

0

skipped

2.553s

duration

100%

successful

Tests

Test emulator-5554
getUploadByPathsCaseInsensitiveExtensionFallback passed (0.131s)
getUploadByPathsCaseInsensitiveExtensionFallbackWCFDisabled passed (0.071s)
getUploadByPathsExactMatch passed (0.063s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercase passed (0.097s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercaseWCFDisabled passed (0.059s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtension passed (0.127s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtensionWCFDisabled passed (0.137s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPath passed (0.484s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPathWCFDisabled passed (0.223s)
getUploadByPathsReturnsNullWhenNeitherExactNorAlternativeExtensionPathExists passed (0.040s)
getUploadByPathsReturnsNullWhenRemotePathHasNoExtension passed (0.101s)
getUploadByPathsReturnsNullWhenRemotePathIsEmpty passed (0.074s)
testEntityAndOCUploadConversionTogether passed (0.061s)
toOCUploadAppliesAutoRenameWhenCapabilityIsProvided passed (0.321s)
toOCUploadHandlesNullOptionalFieldsGracefully passed (0.030s)
toOCUploadMapsAllFieldsCorrectlyWithoutCapability passed (0.049s)
toOCUploadMapsBooleanFalseFieldsCorrectly passed (0.049s)
toOCUploadReturnsNullWhenLocalPathIsNull passed (0.032s)
toOCUploadReturnsNullWhenRemotePathIsNull passed (0.055s)
toUploadEntityIsUseWifiOnlyIsFalseShouldReturnZero passed (0.173s)
toUploadEntityMapsAllFieldsCorrectlyWhenUploadIdIsSet passed (0.045s)
toUploadEntityMapsIsCreateRemoteFolderTrueShouldReturnOne passed (0.031s)
toUploadEntityMapsIsWhileChargingIsFalseShouldReturnZero passed (0.035s)
toUploadEntityPreservesExistingIdWhenUploadIdIsPositive passed (0.032s)
toUploadEntitySetsIdToNullWhenUploadIdIsNotValidToAllowRoomAutoGenerate passed (0.033s)