This project has retired. For details please refer to its Attic page.
cas-filemgr –

Summary

Tests Errors Failures Skipped Success Rate Time
215 0 3 0 98.605% 101.084

Note: failures are anticipated and checked for with assertions while errors are unanticipated.

Package List

Package Tests Errors Failures Skipped Success Rate Time
org.apache.oodt.cas.filemgr.tools 4 0 0 0 100% 12.274
org.apache.oodt.cas.filemgr.util 9 0 0 0 100% 5.768
org.apache.oodt.cas.filemgr.structs.query 5 0 0 0 100% 0.019
org.apache.oodt.cas.filemgr.ingest 9 0 3 0 66.667% 28.989
org.apache.oodt.cas.filemgr.structs.type 3 0 0 0 100% 10.844
org.apache.oodt.cas.filemgr.datatransfer 6 0 0 0 100% 1.745
org.apache.oodt.cas.filemgr.system 6 0 0 0 100% 22.165
org.apache.oodt.cas.filemgr.validation 7 0 0 0 100% 0.228
org.apache.oodt.cas.filemgr.metadata.extractors.examples 11 0 0 0 100% 1.852
org.apache.oodt.cas.filemgr.catalog 54 0 0 0 100% 5.552
org.apache.oodt.cas.filemgr.structs 5 0 0 0 100% 0.52
org.apache.oodt.cas.filemgr.cli 21 0 0 0 100% 3.213
org.apache.oodt.cas.filemgr.metadata.extractors 3 0 0 0 100% 0.755
org.apache.oodt.cas.filemgr.versioning 17 0 0 0 100% 2.917
org.apache.oodt.cas.filemgr.cli.action 43 0 0 0 100% 4.24
org.apache.oodt.cas.filemgr.repository 12 0 0 0 100% 0.003

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

org.apache.oodt.cas.filemgr.tools

Class Tests Errors Failures Skipped Success Rate Time
TestExpImpCatalog 3 0 0 0 100% 11.38
TestMetadataBasedProductMover 1 0 0 0 100% 0.894

org.apache.oodt.cas.filemgr.util

Class Tests Errors Failures Skipped Success Rate Time
TestGenericFileManagerObjectStructFactory 6 0 0 0 100% 0.053
TestXmlRpcStructFactory 2 0 0 0 100% 5.607
TestXmlStructFactory 1 0 0 0 100% 0.108

org.apache.oodt.cas.filemgr.structs.query

Class Tests Errors Failures Skipped Success Rate Time
TestQueryResult 4 0 0 0 100% 0.011
TestQueryResultComparator 1 0 0 0 100% 0.008

org.apache.oodt.cas.filemgr.ingest

Class Tests Errors Failures Skipped Success Rate Time
TestCachedIngester 2 0 0 0 100% 6.061
TestLocalCache 3 0 0 0 100% 11.042
TestRmiCache 3 0 3 0 0% 11.089
TestStdIngester 1 0 0 0 100% 0.797

org.apache.oodt.cas.filemgr.structs.type

Class Tests Errors Failures Skipped Success Rate Time
TestTypeHandler 3 0 0 0 100% 10.844

org.apache.oodt.cas.filemgr.datatransfer

Class Tests Errors Failures Skipped Success Rate Time
TestInPlaceDataTransferer 1 0 0 0 100% 0.328
TestLocalDataTransferer 1 0 0 0 100% 0.341
TestS3DataTransferer 3 0 0 0 100% 0.485
TestS3DataTransfererFactory 1 0 0 0 100% 0.591

org.apache.oodt.cas.filemgr.system

Class Tests Errors Failures Skipped Success Rate Time
TestXmlRpcFileManager 1 0 0 0 100% 0.79
TestXmlRpcFileManagerClient 5 0 0 0 100% 21.375

org.apache.oodt.cas.filemgr.validation

Class Tests Errors Failures Skipped Success Rate Time
TestXMLValidationLayer 7 0 0 0 100% 0.228

org.apache.oodt.cas.filemgr.metadata.extractors.examples

Class Tests Errors Failures Skipped Success Rate Time
TestDateTimeExpandMetExtractor 3 0 0 0 100% 0.165
TestFileAttributesExtractor 3 0 0 0 100% 0.305
TestFilenameRegexMetExtractor 1 0 0 0 100% 0.295
TestFinalFileLocationExtractor 2 0 0 0 100% 0.333
TestMimeTypeExtractor 1 0 0 0 100% 0.334
TestTikaAutoDetectExtractor 1 0 0 0 100% 0.42

org.apache.oodt.cas.filemgr.catalog

Class Tests Errors Failures Skipped Success Rate Time
TestDataSourceCatalog 10 0 0 0 100% 0.653
TestLuceneCatalog 23 0 0 0 100% 3.604
TestMappedDataSourceCatalog 10 0 0 0 100% 0.645
TestOrderedDataSourceCatalog 11 0 0 0 100% 0.65

org.apache.oodt.cas.filemgr.structs

Class Tests Errors Failures Skipped Success Rate Time
TestProduct 3 0 0 0 100% 0.203
TestReference 2 0 0 0 100% 0.317

org.apache.oodt.cas.filemgr.cli

Class Tests Errors Failures Skipped Success Rate Time
TestFileManagerCli 21 0 0 0 100% 3.213

org.apache.oodt.cas.filemgr.metadata.extractors

Class Tests Errors Failures Skipped Success Rate Time
TestAbstractFilemgrMetExtractor 1 0 0 0 100% 0.304
TestCoreMetExtractor 2 0 0 0 100% 0.451

org.apache.oodt.cas.filemgr.versioning

Class Tests Errors Failures Skipped Success Rate Time
TestAcquisitionDateVersioner 3 0 0 0 100% 0.444
TestBasicVersioner 2 0 0 0 100% 0.351
TestConfigurableMetadataBasedFileVersioner 4 0 0 0 100% 0.319
TestDateTimeVersioner 1 0 0 0 100% 0.338
TestDirectoryBasedProductVersioner 1 0 0 0 100% 0.359
TestInPlaceVersioner 2 0 0 0 100% 0.438
TestMetadataBasedFileVersioner 2 0 0 0 100% 0.16
TestProductTypeMetVersioner 1 0 0 0 100% 0.343
TestSingleFileBasicVersioner 1 0 0 0 100% 0.165

org.apache.oodt.cas.filemgr.cli.action

Class Tests Errors Failures Skipped Success Rate Time
TestAddProductTypeCliAction 2 0 0 0 100% 0.031
TestDeleteProductByIdCliAction 2 0 0 0 100% 0.515
TestDeleteProductByNameCliAction 2 0 0 0 100% 0.639
TestDumpMetadataCliAction 1 0 0 0 100% 0.194
TestGetCurrentTransferCliAction 2 0 0 0 100% 0.371
TestGetCurrentTransfersCliAction 2 0 0 0 100% 0.372
TestGetFilePercentTransferredCliAction 2 0 0 0 100% 0.457
TestGetFirstPageCliAction 2 0 0 0 100% 0.034
TestGetLastPageCliAction 2 0 0 0 100% 0.035
TestGetNextPageCliAction 2 0 0 0 100% 0.034
TestGetNumProductsCliAction 2 0 0 0 100% 0.031
TestGetPrevPageCliAction 2 0 0 0 100% 0.036
TestGetProductByIdCliAction 2 0 0 0 100% 0.38
TestGetProductByNameCliAction 2 0 0 0 100% 0.363
TestGetProductPercentTransferredCliAction 2 0 0 0 100% 0.036
TestGetProductTypeByNameCliAction 2 0 0 0 100% 0.036
TestHasProductCliAction 2 0 0 0 100% 0.028
TestIngestProductCliAction 5 0 0 0 100% 0.443
TestLuceneQueryCliAction 2 0 0 0 100% 0.157
TestSqlQueryCliAction 3 0 0 0 100% 0.048

org.apache.oodt.cas.filemgr.repository

Class Tests Errors Failures Skipped Success Rate Time
TestXMLRepositoryManager 12 0 0 0 100% 0.003

Test Cases

TestDataSourceCatalog

testAddMetadata 0.322
testAddProductReferences 0.236
testRemoveProduct 0.008
testFirstProductOnlyOnFirstPage 0.037
testQuery 0.015
testNullValidationLayer 0.011
testModifyProduct 0.005
testAddProduct 0.007
testPassDatasource 0.008
testRemoveMetadata 0.004

TestLuceneCatalog

testAddMetadata 0.782
testCreateCatalogException 0.01
testGetNextPageCurrentPageIsLastPage 0.419
testGetLastProductOnLastPage 0.335
testGetPrevPageCurrentPageIsFirstPage 0.299
testGetPrevPageNullCurrentPage 0.195
testRemoveProduct 0.023
testFirstProductOnlyOnFirstPage 0.224
testNoCatalogDirectoryQueries 0.006
testGetNextPageNullType 0.176
testGetTopNProductsByType 0.172
testTopResults 0.01
testGetPrevPage 0.155
testGetReducedMetadata 0.015
testGetPrevPageNullProductType 0.147
testModifyProduct 0.016
testAddProduct 0.019
testGetTopNProducts 0.173
testGetMetadata 0.01
testRemoveMetadata 0.016
testPagedQuery 0.227
testGetNextPageNullCurrentPage 0.168
testGetReducedMetadataNull 0.007

TestMappedDataSourceCatalog

testAddMetadata 0.304
testAddProductReferences 0.223
testRemoveProduct 0.011
testFirstProductOnlyOnFirstPage 0.045
testQuery 0.016
testNullValidationLayer 0.013
testModifyProduct 0.009
testAddProduct 0.008
testPassDatasource 0.009
testRemoveMetadata 0.007

TestOrderedDataSourceCatalog

testOrdering 0.304
testAddMetadata 0.011
testAddProductReferences 0.213
testRemoveProduct 0.011
testFirstProductOnlyOnFirstPage 0.041
testQuery 0.017
testNullValidationLayer 0.015
testModifyProduct 0.007
testAddProduct 0.008
testPassDatasource 0.008
testRemoveMetadata 0.015

TestAddProductTypeCliAction

testValidateErrors 0.03
testDataFlow 0.001

TestDeleteProductByIdCliAction

testValidateErrors 0.511
testDataFlow 0.004

TestDeleteProductByNameCliAction

testValidateErrors 0.633
testDataFlow 0.006

TestDumpMetadataCliAction

testDataFlow 0.194

TestGetCurrentTransferCliAction

testValidateErrors 0.026
testDataFlow 0.345

TestGetCurrentTransfersCliAction

testValidateErrors 0.028
testDataFlow 0.344

TestGetFilePercentTransferredCliAction

testValidateErrors 0.457
testDataFlow 0

TestGetFirstPageCliAction

testValidateErrors 0.03
testDataFlow 0.004

TestGetLastPageCliAction

testValidateErrors 0.031
testDataFlow 0.004

TestGetNextPageCliAction

testValidateErrors 0.033
testDataFlow 0.001

TestGetNumProductsCliAction

testValidateErrors 0.028
testDataFlow 0.003

TestGetPrevPageCliAction

testValidateErrors 0.035
testDataFlow 0.001

TestGetProductByIdCliAction

testValidateErrors 0.374
testDataFlow 0.006

TestGetProductByNameCliAction

testValidateErrors 0.354
testDataFlow 0.009

TestGetProductPercentTransferredCliAction

testValidateErrors 0.03
testDataFlow 0.006

TestGetProductTypeByNameCliAction

testValidateErrors 0.033
testDataFlow 0.003

TestHasProductCliAction

testValidateErrors 0.028
testDataFlow 0

TestIngestProductCliAction

testValidateErrors 0.408
testClientTransFalseAndFlatProduct 0.006
testClientTransTrueAndHierProduct 0.011
testClientTransTrueAndFlatProduct 0.005
testClientTransFalseAndHierProduct 0.013

TestLuceneQueryCliAction

testValidation 0.086
testClientTransTrueAndFlatProduct 0.071

TestSqlQueryCliAction

testValidateErrors 0.046
testClientTransTrueAndFlatProductAndNoOutputFormat 0.001
testClientTransTrueAndFlatProduct 0.001

TestFileManagerCli

testAddProductType 0.836
testGetProductByName 0.345
testDeleteProductByName 0.121
testGetNextPage 0.122
testRetrieveFilesById 0.193
testGetCurrentTransfers 0.109
testIngestProduct 0.099
testGetLastPage 0.113
testGetProductPercnetTransferred 0.103
testGetPrevPage 0.102
testLuceneQuery 0.143
testDumpMetadata 0.121
testGetNumProducts 0.102
testDeleteProductById 0.088
testGetProductById 0.089
testHasProduct 0.084
testGetFirstPage 0.068
testGetFilePercentTransferred 0.074
testGetCurrentTransfer 0.09
testRetrieveFilesByName 0.107
testGetProductTypeByName 0.104

TestInPlaceDataTransferer

testTransfer 0.328

TestLocalDataTransferer

testTransferAndRetrieve 0.341

TestS3DataTransferer

testRetrieveProduct 0.481
testTransferProduct 0.002
testDeleteProduct 0.002

TestS3DataTransfererFactory

testCreateDataTransferer 0.591

TestCachedIngester

testHasProduct 0.906
testIngest 5.155

TestLocalCache

testClearCache 0.843
testSync 5.101
testSyncUsingProductId 5.098

TestRmiCache

testClearCache 0.902
Exception creating connection to: 192.168.1.65; nested exception is: java.net.SocketException: Cannot allocate memory
testSync 5.099
Exception creating connection to: 192.168.1.65; nested exception is: java.net.SocketException: Cannot allocate memory
testSyncUsingProductId 5.088
Exception creating connection to: 192.168.1.65; nested exception is: java.net.SocketException: Cannot allocate memory

TestStdIngester

testIngest 0.797

TestDateTimeExpandMetExtractor

testFailure 0.129
testExpandSome 0.03
testExpandAll 0.006

TestFileAttributesExtractor

testExtractSpecificFileAttributes 0.303
testExtractPosixFileAttributes 0.001
testExtractBasicFileAttributes 0.001

TestFilenameRegexMetExtractor

testExtract 0.295

TestFinalFileLocationExtractor

testExtractHierarchical 0.33
testExtract 0.003

TestMimeTypeExtractor

testExtract 0.334

TestTikaAutoDetectExtractor

test 0.42

TestAbstractFilemgrMetExtractor

testGetProdFileHierarchicalProd 0.304

TestCoreMetExtractor

testExtract 0.438
testExtractDirectoryProduct 0.013

TestXMLRepositoryManager

testReadProductTypeWithMetadata 0.001
testGetProductTypes 0.001
testReadVersionerClass 0
testReadProductTypeWithMetadataWithNoMet 0
testReadProductTypeWithMetadataWithBlankMet 0.001
testReadDescriptionTrimExplicitTrue 0
testRepoPathEnvVarReplace 0
testReadRepoPath 0
testReadDescriptionTrimExplicitFalse 0
testReadBadFormattedDescriptionTrimImplicitTrue 0
testGetProductTypeById 0
testGetProductTypeByName 0

TestQueryResult

testToString 0.009
testToStringEmpty 0.001
testEquals 0.001
testToStringFormat 0

TestQueryResultComparator

testCompare 0.008

TestProduct

testSetTransferStatus 0.004
testReadWriteProductNoProductType 0.196
testReadWriteProductWithProductType 0.003

TestReference

testMimeType 0.315
testSetNullMimeType 0.002

TestTypeHandler

testGetCatalogAndOrigValuesAndGetCatalogQuery 0.677
testQuery 5.113
testAddAndGetMetadata 5.054

TestXmlRpcFileManager

testExpandProductMet 0.79

TestXmlRpcFileManagerClient

testMetadataPersistence 0.841
testGetReducedMetadata 5.1
testRemoveFile 5.13
testComplexQuery 5.175
testIngest 5.129

TestExpImpCatalog

testEnsureUniqueOn 0.996
testEnsureUniqueOff 5.247
testExpImp 5.137

TestMetadataBasedProductMover

testMoveProducts 0.894

TestGenericFileManagerObjectStructFactory

testGetExtractorFromClassName 0.009
testGetCatalogServiceFromFactory 0.034
testGetVersionerFromClassName 0.002
testGetDataTransferServiceFromFactory 0.005
testGetValidationLayerFromFactory 0.001
testGetRepositoryManagerServiceFromFactory 0.002

TestXmlRpcStructFactory

testProductMethods 0.578
testProductTypeMethods 5.029

TestXmlStructFactory

testEnvVarReplace 0.108

TestXMLValidationLayer

testReadDescriptionTrimExplicitTrue 0.146
testModifyElement 0.051
testReadDescriptionTrimExplicitFalse 0.006
testReadBadFormattedDescriptionTrimImplicitTrue 0.006
testGetElementsForProductType 0.005
testReadProperDescriptionTrimImplicitTrue 0.008
testGetElements 0.006

TestAcquisitionDateVersioner

testVersionerWithNoStartDateTimeAndNoAcqDate 0.407
testVersionerWithStartDateTime 0.022
testVersionerWithNoStartDateTimeAndAcqDate 0.015

TestBasicVersioner

testVersionHierarchical 0.348
testVersionFlat 0.003

TestConfigurableMetadataBasedFileVersioner

testVersioningForAllProductTypes 0.317
testVersioningForAllProductTypesDoesntOverrideSpecific 0
testVersioningForProductTypeNotDefined 0.002
testVersioningForProductType 0

TestDateTimeVersioner

testFlat 0.338

TestDirectoryBasedProductVersioner

testVersioner 0.359

TestInPlaceVersioner

testVersionerFlat 0.431
testVersionerHierarchical 0.007

TestMetadataBasedFileVersioner

testVersionerWithStatic 0.16
testVersionerNoStatic 0

TestProductTypeMetVersioner

testVersion 0.343

TestSingleFileBasicVersioner

testVersioning 0.165

Failure Details

testClearCache
junit.framework.AssertionFailedError: Exception creating connection to: 192.168.1.65; nested exception is: java.net.SocketException: Cannot allocate memory
testSync
junit.framework.AssertionFailedError: Exception creating connection to: 192.168.1.65; nested exception is: java.net.SocketException: Cannot allocate memory
testSyncUsingProductId
junit.framework.AssertionFailedError: Exception creating connection to: 192.168.1.65; nested exception is: java.net.SocketException: Cannot allocate memory