1 22 package org.jboss.ejb3.test.standalone.unit; 23 24 import org.jboss.ejb3.embedded.EJB3StandaloneBootstrap; 25 import junit.framework.TestCase; 26 27 33 public class KernelTestCase extends TestCase 34 { 35 private static boolean booted = false; 36 37 public KernelTestCase(String name) 38 { 39 super(name); 40 } 41 42 public void testArchives() throws Throwable  43 { 44 EJB3StandaloneBootstrap.createKernel(); 45 try 46 { 47 EJB3StandaloneBootstrap.deployXmlResource("kernel-test.xml"); 48 } 49 finally 50 { 51 EJB3StandaloneBootstrap.shutdown(); 52 } 53 } 54 protected void configureLoggingAfterBootstrap() 55 { 56 } 58 } | Popular Tags |