Class com.owncloud.android.utils.FileUploadHelperTest

25

tests

0

failures

0

skipped

4.271s

duration

100%

successful

Tests

Test emulator-5554
getUploadByPathsCaseInsensitiveExtensionFallback passed (0.103s)
getUploadByPathsCaseInsensitiveExtensionFallbackWCFDisabled passed (0.080s)
getUploadByPathsExactMatch passed (0.043s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercase passed (0.115s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercaseWCFDisabled passed (0.081s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtension passed (0.096s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtensionWCFDisabled passed (0.096s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPath passed (2.041s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPathWCFDisabled passed (0.229s)
getUploadByPathsReturnsNullWhenNeitherExactNorAlternativeExtensionPathExists passed (0.055s)
getUploadByPathsReturnsNullWhenRemotePathHasNoExtension passed (0.067s)
getUploadByPathsReturnsNullWhenRemotePathIsEmpty passed (0.074s)
testEntityAndOCUploadConversionTogether passed (0s)
toOCUploadAppliesAutoRenameWhenCapabilityIsProvided passed (0.534s)
toOCUploadHandlesNullOptionalFieldsGracefully passed (0.038s)
toOCUploadMapsAllFieldsCorrectlyWithoutCapability passed (0.073s)
toOCUploadMapsBooleanFalseFieldsCorrectly passed (0.087s)
toOCUploadReturnsNullWhenLocalPathIsNull passed (0.070s)
toOCUploadReturnsNullWhenRemotePathIsNull passed (0.040s)
toUploadEntityIsUseWifiOnlyIsFalseShouldReturnZero passed (0.046s)
toUploadEntityMapsAllFieldsCorrectlyWhenUploadIdIsSet passed (0.120s)
toUploadEntityMapsIsCreateRemoteFolderTrueShouldReturnOne passed (0.043s)
toUploadEntityMapsIsWhileChargingIsFalseShouldReturnZero passed (0.045s)
toUploadEntityPreservesExistingIdWhenUploadIdIsPositive passed (0.041s)
toUploadEntitySetsIdToNullWhenUploadIdIsNotValidToAllowRoomAutoGenerate passed (0.054s)