Class com.owncloud.android.utils.FileUploadHelperTest

25

tests

0

failures

0

skipped

1.898s

duration

100%

successful

Tests

Test emulator-5554
getUploadByPathsCaseInsensitiveExtensionFallback passed (0.045s)
getUploadByPathsCaseInsensitiveExtensionFallbackWCFDisabled passed (0.040s)
getUploadByPathsExactMatch passed (0.097s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercase passed (0.072s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercaseWCFDisabled passed (0.045s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtension passed (0.071s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtensionWCFDisabled passed (0.036s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPath passed (0.346s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPathWCFDisabled passed (0.087s)
getUploadByPathsReturnsNullWhenNeitherExactNorAlternativeExtensionPathExists passed (0.030s)
getUploadByPathsReturnsNullWhenRemotePathHasNoExtension passed (0.036s)
getUploadByPathsReturnsNullWhenRemotePathIsEmpty passed (0.028s)
testEntityAndOCUploadConversionTogether passed (0.289s)
toOCUploadAppliesAutoRenameWhenCapabilityIsProvided passed (0.278s)
toOCUploadHandlesNullOptionalFieldsGracefully passed (0.032s)
toOCUploadMapsAllFieldsCorrectlyWithoutCapability passed (0.044s)
toOCUploadMapsBooleanFalseFieldsCorrectly passed (0.021s)
toOCUploadReturnsNullWhenLocalPathIsNull passed (0.031s)
toOCUploadReturnsNullWhenRemotePathIsNull passed (0.022s)
toUploadEntityIsUseWifiOnlyIsFalseShouldReturnZero passed (0.114s)
toUploadEntityMapsAllFieldsCorrectlyWhenUploadIdIsSet passed (0.035s)
toUploadEntityMapsIsCreateRemoteFolderTrueShouldReturnOne passed (0.020s)
toUploadEntityMapsIsWhileChargingIsFalseShouldReturnZero passed (0.020s)
toUploadEntityPreservesExistingIdWhenUploadIdIsPositive passed (0.038s)
toUploadEntitySetsIdToNullWhenUploadIdIsNotValidToAllowRoomAutoGenerate passed (0.021s)