Class com.owncloud.android.utils.FileUploadHelperTest

25

tests

0

failures

0

skipped

2.209s

duration

100%

successful

Tests

Test emulator-5554
getUploadByPathsCaseInsensitiveExtensionFallback passed (0.212s)
getUploadByPathsCaseInsensitiveExtensionFallbackWCFDisabled passed (0.092s)
getUploadByPathsExactMatch passed (0.028s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercase passed (0.088s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercaseWCFDisabled passed (0.108s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtension passed (0.058s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtensionWCFDisabled passed (0.075s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPath passed (0.501s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPathWCFDisabled passed (0.083s)
getUploadByPathsReturnsNullWhenNeitherExactNorAlternativeExtensionPathExists passed (0.044s)
getUploadByPathsReturnsNullWhenRemotePathHasNoExtension passed (0.046s)
getUploadByPathsReturnsNullWhenRemotePathIsEmpty passed (0.068s)
testEntityAndOCUploadConversionTogether passed (0.039s)
toOCUploadAppliesAutoRenameWhenCapabilityIsProvided passed (0.349s)
toOCUploadHandlesNullOptionalFieldsGracefully passed (0.050s)
toOCUploadMapsAllFieldsCorrectlyWithoutCapability passed (0.037s)
toOCUploadMapsBooleanFalseFieldsCorrectly passed (0.034s)
toOCUploadReturnsNullWhenLocalPathIsNull passed (0.055s)
toOCUploadReturnsNullWhenRemotePathIsNull passed (0.028s)
toUploadEntityIsUseWifiOnlyIsFalseShouldReturnZero passed (0.065s)
toUploadEntityMapsAllFieldsCorrectlyWhenUploadIdIsSet passed (0.031s)
toUploadEntityMapsIsCreateRemoteFolderTrueShouldReturnOne passed (0.025s)
toUploadEntityMapsIsWhileChargingIsFalseShouldReturnZero passed (0.046s)
toUploadEntityPreservesExistingIdWhenUploadIdIsPositive passed (0.024s)
toUploadEntitySetsIdToNullWhenUploadIdIsNotValidToAllowRoomAutoGenerate passed (0.023s)