[jboss-user] [JBoss Seam] - Integration Test Errors
cracker_jack
do-not-reply at jboss.com
Wed Feb 13 19:47:45 EST 2008
Environment
Seam 2.0.1 GA/ JBoss 4.2.2
I have a stripped down Integration Test which does nothing
| public class ReportActionTest extends SeamTest
| {
| @Test
| public void testReportComponent() throws Exception
| {
| new ComponentTest()
| {
| protected void testComponents() throws Exception
| {
| System.out.println("Running Test... Done");
| }
| }.run();
| }
| }
|
When I run the test I get the following errors
|
| [testng] FAILED CONFIGURATION: @BeforeClass init
| [testng] org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
| [testng] *** CONTEXTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual State}
| [testng] cpsTestDatasource
| [testng] cpsTestDatasourceBootstrap
| [testng] -> CachedConnectionManager{Configured:** NOT FOUND **}
| [testng] -> TransactionManager{Configured:** NOT FOUND **}
| [testng] -> InitialContextProperties{Configured:** NOT FOUND **}
| [testng] *** CONTEXTS IN ERROR: Name -> Error
| [testng] InitialContextProperties -> ** NOT FOUND **
| [testng] TransactionManager -> ** NOT FOUND **
| [testng] CachedConnectionManager -> ** NOT FOUND **
| [testng] at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:576)
| [testng] at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:559)
| [testng] at org.jboss.embedded.DeploymentGroup.process(DeploymentGroup.java:128)
| [testng] at org.jboss.embedded.Bootstrap.deployResourceBases(Bootstrap.java:289)
| [testng] at org.jboss.seam.mock.EmbeddedBootstrap.startAndDeployResources(EmbeddedBootstrap.java:15)
| [testng] at org.jboss.seam.mock.BaseSeamTest.startJbossEmbeddedIfNecessary(BaseSeamTest.java:1041)
| [testng] at org.jboss.seam.mock.BaseSeamTest.startSeam(BaseSeamTest.java:935)
| [testng] at org.jboss.seam.mock.BaseSeamTest.init(BaseSeamTest.java:923)
| [testng] at org.jboss.seam.mock.SeamTest.init(SeamTest.java:42)
| [testng] ... Removed 22 stack frames
| [testng] SKIPPED CONFIGURATION: @BeforeMethod begin
| [testng] SKIPPED CONFIGURATION: @AfterMethod end
| [testng] SKIPPED CONFIGURATION: @AfterClass cleanup
| [testng] SKIPPED: testReportComponent
| [testng] ===============================================
| [testng] Report Action Test
| [testng] Tests run: 1, Failures: 0, Skips: 1
| [testng] Configuration Failures: 1, Skips: 3
| [testng] ===============================================
| [testng] ===============================================
| [testng] Functional Test
| [testng] Total tests run: 1, Failures: 0, Skips: 1
| [testng] Configuration Failures: 1, Skips: 3
| [testng] ===============================================
|
I 've verified that I dont have any jboss-system* jars in my test classpath. I have my cps-ds.xml datasource definition in the test-directory. I havent made any changes to the bootstrap directory. It is the same one generated by seam-gen.
Any ideas highly appreciated.
Thanks in Advance
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4129279#4129279
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4129279
More information about the jboss-user
mailing list