Class com.owncloud.android.utils.FileUploadHelperTest

25

tests

0

failures

0

skipped

2.605s

duration

100%

successful

Tests

Test emulator-5554
getUploadByPathsCaseInsensitiveExtensionFallback passed (0.140s)
getUploadByPathsCaseInsensitiveExtensionFallbackWCFDisabled passed (0.045s)
getUploadByPathsExactMatch passed (0.032s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercase passed (0.123s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercaseWCFDisabled passed (0.191s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtension passed (0.102s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtensionWCFDisabled passed (0.049s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPath passed (0.544s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPathWCFDisabled passed (0.145s)
getUploadByPathsReturnsNullWhenNeitherExactNorAlternativeExtensionPathExists passed (0.030s)
getUploadByPathsReturnsNullWhenRemotePathHasNoExtension passed (0.045s)
getUploadByPathsReturnsNullWhenRemotePathIsEmpty passed (0.092s)
testEntityAndOCUploadConversionTogether passed (0.182s)
toOCUploadAppliesAutoRenameWhenCapabilityIsProvided passed (0.442s)
toOCUploadHandlesNullOptionalFieldsGracefully passed (0.024s)
toOCUploadMapsAllFieldsCorrectlyWithoutCapability passed (0.063s)
toOCUploadMapsBooleanFalseFieldsCorrectly passed (0.037s)
toOCUploadReturnsNullWhenLocalPathIsNull passed (0.032s)
toOCUploadReturnsNullWhenRemotePathIsNull passed (0.069s)
toUploadEntityIsUseWifiOnlyIsFalseShouldReturnZero passed (0.103s)
toUploadEntityMapsAllFieldsCorrectlyWhenUploadIdIsSet passed (0.032s)
toUploadEntityMapsIsCreateRemoteFolderTrueShouldReturnOne passed (0.021s)
toUploadEntityMapsIsWhileChargingIsFalseShouldReturnZero passed (0.022s)
toUploadEntityPreservesExistingIdWhenUploadIdIsPositive passed (0.020s)
toUploadEntitySetsIdToNullWhenUploadIdIsNotValidToAllowRoomAutoGenerate passed (0.020s)