Class com.owncloud.android.utils.FileUploadHelperTest

25

tests

0

failures

0

skipped

3.267s

duration

100%

successful

Tests

Test emulator-5554
getUploadByPathsCaseInsensitiveExtensionFallback passed (0.135s)
getUploadByPathsCaseInsensitiveExtensionFallbackWCFDisabled passed (0.052s)
getUploadByPathsExactMatch passed (0.072s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercase passed (0.104s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercaseWCFDisabled passed (0.082s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtension passed (0.082s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtensionWCFDisabled passed (0.076s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPath passed (1.057s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPathWCFDisabled passed (0.149s)
getUploadByPathsReturnsNullWhenNeitherExactNorAlternativeExtensionPathExists passed (0.037s)
getUploadByPathsReturnsNullWhenRemotePathHasNoExtension passed (0.134s)
getUploadByPathsReturnsNullWhenRemotePathIsEmpty passed (0.046s)
testEntityAndOCUploadConversionTogether passed (0.083s)
toOCUploadAppliesAutoRenameWhenCapabilityIsProvided passed (0.679s)
toOCUploadHandlesNullOptionalFieldsGracefully passed (0.127s)
toOCUploadMapsAllFieldsCorrectlyWithoutCapability passed (0.042s)
toOCUploadMapsBooleanFalseFieldsCorrectly passed (0.033s)
toOCUploadReturnsNullWhenLocalPathIsNull passed (0.052s)
toOCUploadReturnsNullWhenRemotePathIsNull passed (0.030s)
toUploadEntityIsUseWifiOnlyIsFalseShouldReturnZero passed (0.043s)
toUploadEntityMapsAllFieldsCorrectlyWhenUploadIdIsSet passed (0.038s)
toUploadEntityMapsIsCreateRemoteFolderTrueShouldReturnOne passed (0.026s)
toUploadEntityMapsIsWhileChargingIsFalseShouldReturnZero passed (0.034s)
toUploadEntityPreservesExistingIdWhenUploadIdIsPositive passed (0.028s)
toUploadEntitySetsIdToNullWhenUploadIdIsNotValidToAllowRoomAutoGenerate passed (0.026s)