[JBoss JIRA] Created: (JBJCA-495) provide full coverage for core module
by Stefano Maestri (JIRA)
provide full coverage for core module
-------------------------------------
Key: JBJCA-495
URL: https://issues.jboss.org/browse/JBJCA-495
Project: IronJacamar
Issue Type: Task
Components: Test suite
Reporter: Stefano Maestri
Assignee: Stefano Maestri
Of course not totally full coverage (for example don't make sense to test log statements).
Achieve this with pure unit testing and use of opportune mocking to test ironjacamar's code is correct, assuming that provided libs are correct (for example tx subsystem)
As pure unit test we will test single behavior of a class assuming that other ironjacamarr's classes re correct too (the corectness is proven in this case by other unit tests)
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 9 months
[JBoss JIRA] Created: (JBJCA-490) Move some methods away from AbstractConnectionManagerTestCase
by Stefano Maestri (JIRA)
Move some methods away from AbstractConnectionManagerTestCase
--------------------------------------------------------------
Key: JBJCA-490
URL: https://issues.jboss.org/browse/JBJCA-490
Project: IronJacamar
Issue Type: Task
Components: Test suite
Reporter: Stefano Maestri
Assignee: Stefano Maestri
public void testIdleTimeout() throws Exception
public void testPartialIdleTimeout() throws Exception
public void testFillToMin() throws Exception
public void testPrefillPool() throws Exception
public void testNonStrictMinPool() throws Exception
public void testStrictMinPool() throws Exception
public void testMisConfiguredFillToMin() throws Exception
public void testChangedMaximum() throws Exception
public void testAllocationRetry() throws Exception
public void testAllocationRetryMultiThread() throws Exception
Must be moved in another test case covering pool config an behaviors. These methods are not yet implemented in AbstractConnectionManagerTestCase and need to be implemented too.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 9 months
[JBoss JIRA] Created: (JBJCA-476) Refactor parser and metadata test cases
by Stefano Maestri (JIRA)
Refactor parser and metadata test cases
---------------------------------------
Key: JBJCA-476
URL: https://jira.jboss.org/browse/JBJCA-476
Project: IronJacamar
Issue Type: Task
Components: Common
Reporter: Stefano Maestri
Assignee: Stefano Maestri
Fix For: 1.0.0.Beta4
We need to refactor the parser test cases to separate example parsing verification (we should always be sure that our samples is correctly parsed) and pure unit tests verifying particular behavior and error in parsing and/or construction of metadata.
We need also to have a way to better maintain example parsing tests (idea: use junit Theory)
It affects all metadata parser (standard, -ra.xml, -ds.xml, -ironjacamar's)
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 9 months
[JBoss JIRA] Created: (JBJCA-484) make *.sh execute permission on in release package
by Jeff Zhang (JIRA)
make *.sh execute permission on in release package
--------------------------------------------------
Key: JBJCA-484
URL: https://issues.jboss.org/browse/JBJCA-484
Project: IronJacamar
Issue Type: Task
Components: Build
Affects Versions: 1.0.0.Beta3
Reporter: Jeff Zhang
Assignee: Jeff Zhang
svn/jbossas/projects/jboss-jca/trunk/build/ironjacamar-1.0.0.Beta4$ find . -name *sh | xargs ls -l
-rw-r--r-- 1 jizhang jizhang 1562 2010-12-29 11:23 ./bin/run.sh
-rw-r--r-- 1 jizhang jizhang 52 2010-12-29 11:23 ./doc/codegenerator/codegenerator.sh
-rw-r--r-- 1 jizhang jizhang 462 2010-12-29 11:23 ./doc/validator/validator.sh
go to
-rwxr-xr-x
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 9 months