Class com.owncloud.android.utils.FileUploadHelperTest

25

tests

0

failures

0

skipped

1.280s

duration

100%

successful

Tests

Test emulator-5554
getUploadByPathsCaseInsensitiveExtensionFallback passed (0.041s)
getUploadByPathsCaseInsensitiveExtensionFallbackWCFDisabled passed (0.031s)
getUploadByPathsExactMatch passed (0.039s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercase passed (0.042s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercaseWCFDisabled passed (0.029s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtension passed (0.034s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtensionWCFDisabled passed (0.034s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPath passed (0.268s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPathWCFDisabled passed (0.198s)
getUploadByPathsReturnsNullWhenNeitherExactNorAlternativeExtensionPathExists passed (0.026s)
getUploadByPathsReturnsNullWhenRemotePathHasNoExtension passed (0.049s)
getUploadByPathsReturnsNullWhenRemotePathIsEmpty passed (0.038s)
testEntityAndOCUploadConversionTogether passed (0.022s)
toOCUploadAppliesAutoRenameWhenCapabilityIsProvided passed (0.149s)
toOCUploadHandlesNullOptionalFieldsGracefully passed (0.018s)
toOCUploadMapsAllFieldsCorrectlyWithoutCapability passed (0.024s)
toOCUploadMapsBooleanFalseFieldsCorrectly passed (0.022s)
toOCUploadReturnsNullWhenLocalPathIsNull passed (0.049s)
toOCUploadReturnsNullWhenRemotePathIsNull passed (0.027s)
toUploadEntityIsUseWifiOnlyIsFalseShouldReturnZero passed (0.022s)
toUploadEntityMapsAllFieldsCorrectlyWhenUploadIdIsSet passed (0.021s)
toUploadEntityMapsIsCreateRemoteFolderTrueShouldReturnOne passed (0.030s)
toUploadEntityMapsIsWhileChargingIsFalseShouldReturnZero passed (0.030s)
toUploadEntityPreservesExistingIdWhenUploadIdIsPositive passed (0.019s)
toUploadEntitySetsIdToNullWhenUploadIdIsNotValidToAllowRoomAutoGenerate passed (0.018s)