Class com.owncloud.android.utils.FileUploadHelperTest

25

tests

0

failures

0

skipped

1.745s

duration

100%

successful

Tests

Test emulator-5554
getUploadByPathsCaseInsensitiveExtensionFallback passed (0.050s)
getUploadByPathsCaseInsensitiveExtensionFallbackWCFDisabled passed (0.039s)
getUploadByPathsExactMatch passed (0.031s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercase passed (0.072s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercaseWCFDisabled passed (0.037s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtension passed (0.050s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtensionWCFDisabled passed (0.041s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPath passed (0.523s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPathWCFDisabled passed (0.113s)
getUploadByPathsReturnsNullWhenNeitherExactNorAlternativeExtensionPathExists passed (0.074s)
getUploadByPathsReturnsNullWhenRemotePathHasNoExtension passed (0.072s)
getUploadByPathsReturnsNullWhenRemotePathIsEmpty passed (0.098s)
testEntityAndOCUploadConversionTogether passed (0.027s)
toOCUploadAppliesAutoRenameWhenCapabilityIsProvided passed (0.257s)
toOCUploadHandlesNullOptionalFieldsGracefully passed (0.019s)
toOCUploadMapsAllFieldsCorrectlyWithoutCapability passed (0.022s)
toOCUploadMapsBooleanFalseFieldsCorrectly passed (0.025s)
toOCUploadReturnsNullWhenLocalPathIsNull passed (0.026s)
toOCUploadReturnsNullWhenRemotePathIsNull passed (0.025s)
toUploadEntityIsUseWifiOnlyIsFalseShouldReturnZero passed (0.021s)
toUploadEntityMapsAllFieldsCorrectlyWhenUploadIdIsSet passed (0.033s)
toUploadEntityMapsIsCreateRemoteFolderTrueShouldReturnOne passed (0.020s)
toUploadEntityMapsIsWhileChargingIsFalseShouldReturnZero passed (0.025s)
toUploadEntityPreservesExistingIdWhenUploadIdIsPositive passed (0.021s)
toUploadEntitySetsIdToNullWhenUploadIdIsNotValidToAllowRoomAutoGenerate passed (0.024s)