Class com.owncloud.android.utils.FileUploadHelperTest

25

tests

0

failures

0

skipped

1.736s

duration

100%

successful

Tests

Test emulator-5554
getUploadByPathsCaseInsensitiveExtensionFallback passed (0.071s)
getUploadByPathsCaseInsensitiveExtensionFallbackWCFDisabled passed (0.045s)
getUploadByPathsExactMatch passed (0.106s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercase passed (0.057s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercaseWCFDisabled passed (0.037s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtension passed (0.049s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtensionWCFDisabled passed (0.043s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPath passed (0.281s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPathWCFDisabled passed (0.045s)
getUploadByPathsReturnsNullWhenNeitherExactNorAlternativeExtensionPathExists passed (0.024s)
getUploadByPathsReturnsNullWhenRemotePathHasNoExtension passed (0.082s)
getUploadByPathsReturnsNullWhenRemotePathIsEmpty passed (0.023s)
testEntityAndOCUploadConversionTogether passed (0.032s)
toOCUploadAppliesAutoRenameWhenCapabilityIsProvided passed (0.303s)
toOCUploadHandlesNullOptionalFieldsGracefully passed (0.039s)
toOCUploadMapsAllFieldsCorrectlyWithoutCapability passed (0.033s)
toOCUploadMapsBooleanFalseFieldsCorrectly passed (0.143s)
toOCUploadReturnsNullWhenLocalPathIsNull passed (0.035s)
toOCUploadReturnsNullWhenRemotePathIsNull passed (0.036s)
toUploadEntityIsUseWifiOnlyIsFalseShouldReturnZero passed (0.100s)
toUploadEntityMapsAllFieldsCorrectlyWhenUploadIdIsSet passed (0.041s)
toUploadEntityMapsIsCreateRemoteFolderTrueShouldReturnOne passed (0.031s)
toUploadEntityMapsIsWhileChargingIsFalseShouldReturnZero passed (0.038s)
toUploadEntityPreservesExistingIdWhenUploadIdIsPositive passed (0.021s)
toUploadEntitySetsIdToNullWhenUploadIdIsNotValidToAllowRoomAutoGenerate passed (0.021s)