Class com.owncloud.android.utils.FileUploadHelperTest

25

tests

0

failures

0

skipped

1.454s

duration

100%

successful

Tests

Test emulator-5554
getUploadByPathsCaseInsensitiveExtensionFallback passed (0.040s)
getUploadByPathsCaseInsensitiveExtensionFallbackWCFDisabled passed (0.046s)
getUploadByPathsExactMatch passed (0.043s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercase passed (0.044s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercaseWCFDisabled passed (0.041s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtension passed (0.050s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtensionWCFDisabled passed (0.107s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPath passed (0.372s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPathWCFDisabled passed (0.124s)
getUploadByPathsReturnsNullWhenNeitherExactNorAlternativeExtensionPathExists passed (0.024s)
getUploadByPathsReturnsNullWhenRemotePathHasNoExtension passed (0.050s)
getUploadByPathsReturnsNullWhenRemotePathIsEmpty passed (0.024s)
testEntityAndOCUploadConversionTogether passed (0.024s)
toOCUploadAppliesAutoRenameWhenCapabilityIsProvided passed (0.217s)
toOCUploadHandlesNullOptionalFieldsGracefully passed (0.020s)
toOCUploadMapsAllFieldsCorrectlyWithoutCapability passed (0.019s)
toOCUploadMapsBooleanFalseFieldsCorrectly passed (0.022s)
toOCUploadReturnsNullWhenLocalPathIsNull passed (0.027s)
toOCUploadReturnsNullWhenRemotePathIsNull passed (0.018s)
toUploadEntityIsUseWifiOnlyIsFalseShouldReturnZero passed (0.036s)
toUploadEntityMapsAllFieldsCorrectlyWhenUploadIdIsSet passed (0.019s)
toUploadEntityMapsIsCreateRemoteFolderTrueShouldReturnOne passed (0.018s)
toUploadEntityMapsIsWhileChargingIsFalseShouldReturnZero passed (0.034s)
toUploadEntityPreservesExistingIdWhenUploadIdIsPositive passed (0.019s)
toUploadEntitySetsIdToNullWhenUploadIdIsNotValidToAllowRoomAutoGenerate passed (0.016s)