Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SEAMJMS-34 Test case clean up, added pause in between to add more tim…
…e between checks.
- Loading branch information
Showing
3 changed files
with
37 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
impl/src/test/java/org/jboss/seam/jms/test/routeBuilder/RouteBuilderImplTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
package org.jboss.seam.jms.test.routeBuilder; | ||
|
||
import javax.inject.Inject; | ||
import javax.jms.JMSException; | ||
|
||
import junit.framework.Assert; | ||
|
||
import org.jboss.arquillian.api.Deployment; | ||
import org.jboss.arquillian.junit.Arquillian; | ||
import org.jboss.seam.jms.bridge.RouteBuilder; | ||
import org.jboss.seam.jms.bridge.RouteBuilderImpl; | ||
import org.jboss.seam.jms.test.Util; | ||
import org.jboss.shrinkwrap.api.Archive; | ||
import org.junit.Test; | ||
import org.junit.runner.RunWith; | ||
|
||
@RunWith(Arquillian.class) | ||
public class RouteBuilderImplTest { | ||
@Deployment | ||
public static Archive<?> createDeployment() { | ||
return Util.createDeployment(RouteBuilderImpl.class); | ||
} | ||
|
||
@Inject RouteBuilder routeBuilder; | ||
|
||
@Test | ||
public void testInit() throws JMSException { | ||
routeBuilder.init(); | ||
Assert.assertTrue(true); | ||
} | ||
} |