Example #1
0
 @After
 public void after() {
   System.getProperties().remove("jboss.server.config.user.dir");
   System.getProperties().remove("jboss.server.config.dir");
 }
Example #2
0
 @Before
 public void before() throws IOException {
   dir = folder.newFolder();
   System.setProperty("jboss.server.config.user.dir", dir.getAbsolutePath());
   System.setProperty("jboss.server.config.dir", dir.getAbsolutePath());
 }