Class com.owncloud.android.utils.FileUploadHelperTest

25

tests

0

failures

0

skipped

1.627s

duration

100%

successful

Tests

Test emulator-5554
getUploadByPathsCaseInsensitiveExtensionFallback passed (0.059s)
getUploadByPathsCaseInsensitiveExtensionFallbackWCFDisabled passed (0.033s)
getUploadByPathsExactMatch passed (0.023s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercase passed (0.092s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercaseWCFDisabled passed (0.046s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtension passed (0.059s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtensionWCFDisabled passed (0.035s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPath passed (0.283s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPathWCFDisabled passed (0.049s)
getUploadByPathsReturnsNullWhenNeitherExactNorAlternativeExtensionPathExists passed (0.024s)
getUploadByPathsReturnsNullWhenRemotePathHasNoExtension passed (0.030s)
getUploadByPathsReturnsNullWhenRemotePathIsEmpty passed (0.025s)
testEntityAndOCUploadConversionTogether passed (0.022s)
toOCUploadAppliesAutoRenameWhenCapabilityIsProvided passed (0.258s)
toOCUploadHandlesNullOptionalFieldsGracefully passed (0.070s)
toOCUploadMapsAllFieldsCorrectlyWithoutCapability passed (0.027s)
toOCUploadMapsBooleanFalseFieldsCorrectly passed (0.278s)
toOCUploadReturnsNullWhenLocalPathIsNull passed (0.025s)
toOCUploadReturnsNullWhenRemotePathIsNull passed (0.037s)
toUploadEntityIsUseWifiOnlyIsFalseShouldReturnZero passed (0.023s)
toUploadEntityMapsAllFieldsCorrectlyWhenUploadIdIsSet passed (0.029s)
toUploadEntityMapsIsCreateRemoteFolderTrueShouldReturnOne passed (0.020s)
toUploadEntityMapsIsWhileChargingIsFalseShouldReturnZero passed (0.033s)
toUploadEntityPreservesExistingIdWhenUploadIdIsPositive passed (0.029s)
toUploadEntitySetsIdToNullWhenUploadIdIsNotValidToAllowRoomAutoGenerate passed (0.018s)