Class com.owncloud.android.utils.FileUploadHelperTest

25

tests

0

failures

0

skipped

1.734s

duration

100%

successful

Tests

Test emulator-5554
getUploadByPathsCaseInsensitiveExtensionFallback passed (0.057s)
getUploadByPathsCaseInsensitiveExtensionFallbackWCFDisabled passed (0.036s)
getUploadByPathsExactMatch passed (0.024s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercase passed (0.147s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercaseWCFDisabled passed (0.027s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtension passed (0.055s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtensionWCFDisabled passed (0.058s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPath passed (0.287s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPathWCFDisabled passed (0.043s)
getUploadByPathsReturnsNullWhenNeitherExactNorAlternativeExtensionPathExists passed (0.042s)
getUploadByPathsReturnsNullWhenRemotePathHasNoExtension passed (0.061s)
getUploadByPathsReturnsNullWhenRemotePathIsEmpty passed (0.022s)
testEntityAndOCUploadConversionTogether passed (0.025s)
toOCUploadAppliesAutoRenameWhenCapabilityIsProvided passed (0.337s)
toOCUploadHandlesNullOptionalFieldsGracefully passed (0.018s)
toOCUploadMapsAllFieldsCorrectlyWithoutCapability passed (0.045s)
toOCUploadMapsBooleanFalseFieldsCorrectly passed (0.043s)
toOCUploadReturnsNullWhenLocalPathIsNull passed (0.025s)
toOCUploadReturnsNullWhenRemotePathIsNull passed (0.020s)
toUploadEntityIsUseWifiOnlyIsFalseShouldReturnZero passed (0.248s)
toUploadEntityMapsAllFieldsCorrectlyWhenUploadIdIsSet passed (0.044s)
toUploadEntityMapsIsCreateRemoteFolderTrueShouldReturnOne passed (0.017s)
toUploadEntityMapsIsWhileChargingIsFalseShouldReturnZero passed (0.024s)
toUploadEntityPreservesExistingIdWhenUploadIdIsPositive passed (0.017s)
toUploadEntitySetsIdToNullWhenUploadIdIsNotValidToAllowRoomAutoGenerate passed (0.012s)