testcases overwritten
akostadinov Feb 16, 2007 5:13 AMSee http://jira.jboss.com/jira/browse/JBAS-4103 for descripttion of the problem.
Any ideas how to fix? Should we rename testcases run by all but tests-standard-unit target?
Below is what I found about it for 4.0 branch (there could be some more not caught here):
1. cat tests.log | grep "\[junit\] Running" | sed -e 's/.\+ Running
\(.\+\)/\1/' | sort | uniq -d > tests.log.dup
2. sed -e 's/.\+nowrap.\+href="\(.\+\)\.html".\+/\1/p' -e 'd'
reports/allclasses-frame.html | sed -e 'y/\//./' > tests.log.report
3. cat tests.log.* | sort | uniq -d
I get these (45 total):
org.jboss.test.bmp.test.BmpUnitTestCase
org.jboss.test.bmp.test.SmallCacheBmpUnitTestCase
org.jboss.test.cmp2.ageout.test.JDBC2PmAgeOutUnitTestCase
org.jboss.test.cmp2.audit.test.AuditUnitTestCase
org.jboss.test.cmp2.batchcascadedelete.test.BatchCascadeDeleteUnitTestCase
org.jboss.test.cmp2.cacheinvalidation.test.CacheInvalidationUnitTestCase
org.jboss.test.cmp2.cacheinvalidation.test.JDBC2PmCacheInvalidationUnitTestCase
org.jboss.test.cmp2.cmrstress.CMRStressTestCase
org.jboss.test.cmp2.cmr.test.CMRPostCreatesWrittenUnitTestCase
org.jboss.test.cmp2.cmrtransaction.test.CMRTransactionUnitTestCase
org.jboss.test.cmp2.cmrtree.test.CascadeDeleteUnitTestCase
org.jboss.test.cmp2.commerce.CompleteUnitTestCase
org.jboss.test.cmp2.dbschema.relationship.RelationshipSchemaUnitTestCase
org.jboss.test.cmp2.distinct.DistinctUnitTestCase
org.jboss.test.cmp2.ejbselect.EJBSelectUnitTestCase
org.jboss.test.cmp2.ejbselect.JDBC2PmEJBSelectUnitTestCase
org.jboss.test.cmp2.enums.test.EnumUnitTestCase
org.jboss.test.cmp2.enums.test.JDBC2PmEnumUnitTestCase
org.jboss.test.cmp2.fkmapping.test.FKMappingUnitTestCase
org.jboss.test.cmp2.fkstackoverflow.test.FKStackOverflowUnitTestCase
org.jboss.test.cmp2.idxandusersql.test.IdxAndUsersqlUnitTestCase
org.jboss.test.cmp2.jbas1361.JBAS1361UnitTestCase
org.jboss.test.cmp2.jbas1665.JBAS1665UnitTestCase
org.jboss.test.cmp2.jbas3541.JBAS3541UnitTestCase
org.jboss.test.cmp2.jbas3541.JDBC2PmJBAS3541UnitTestCase
org.jboss.test.cmp2.jbas3717.JBAS3717UnitTestCase
org.jboss.test.cmp2.jbas979.JBAS979UnitTestCase
org.jboss.test.cmp2.keygen.test.KeyGenerationUnitTestCase
org.jboss.test.cmp2.lob.LOBUnitTestCase
org.jboss.test.cmp2.optimisticlock.test.OptimisticLockUnitTestCase
org.jboss.test.cmp2.partitionindex.PartitionIndexUnitTestCase
org.jboss.test.cmp2.passivation.test.EntityPassivationUnitTestCase
org.jboss.test.cmp2.perf.test.PerfUnitTestCase
org.jboss.test.cmp2.readonly.ReadonlyUnitTestCase
org.jboss.test.cmp2.relationship.RelationshipUnitTestCase
org.jboss.test.cmp2.simple.PageSizeUnitTestCase
org.jboss.test.cmp2.simple.SimpleUnitTestCase
org.jboss.test.jacc.test.external.AuthzDelegationUnitTestCase
org.jboss.test.jmx.test.RMIAdaptorAuthorizationUnitTestCase
org.jboss.test.security.test.auth.AppCallbackHandlerUnitTestCase
org.jboss.test.testbean.test.BeanUnitTestCase
org.jboss.test.testbyvalue.test.ByValueUnitTestCase
org.jboss.test.webservice.jbws309.JBWS309TestCase
org.jboss.test.web.test.FormAuthUnitTestCase
org.jboss.test.web.test.UserInRoleUnitTestCase
-----------------------------------------------------------------------------------------
Below I what Jarek found about 4.0.5.GA_CP status:
tests.log:
number of test cases:
grep "Running" tests.log|wc -l
730
number of tests:
grep "Tests run" tests.log|awk '{print $4}'|awk -F, '{sum+=$1} END {print sum}'
4182
html log:
number of test cases:
726 (4 test cases lost)
number of tests:
4167 (15 tests lost)
These tests are run twice, but I get only one report:
org.jboss.test.jmx.test.RMIAdaptorAuthorizationUnitTestCase (2 tests)
org.jboss.test.security.test.auth.AppCallbackHandlerUnitTestCase (3
tests)
This test is run five times, but only three reports:
org.jboss.test.webservice.jbws309.JBWS309TestCase (5 tests)