Skip to content

Commit

Permalink
profile init?
Browse files Browse the repository at this point in the history
  • Loading branch information
bobjacobsen committed Aug 13, 2018
1 parent a456db5 commit 2083894
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Expand Up @@ -46,6 +46,7 @@ public JsonUtilHttpServiceTest() {
@Before
public void setUp() throws IOException {
JUnitUtil.setUp();
JUnitUtil.resetInstanceManager();
JUnitUtil.resetProfileManager(new NullProfile("JsonUtilHttpServiceTest", "12345678", FileUtil.getFile("program:test")));
JUnitUtil.initConnectionConfigManager();
}
Expand Down
Expand Up @@ -27,14 +27,14 @@
*/
public class JsonUtilSocketServiceTest {

private static final Logger log = LoggerFactory.getLogger(JsonUtilSocketServiceTest.class);

public JsonUtilSocketServiceTest() {
}

@BeforeClass
public static void setUpClass() {
Log4JFixture.setUp();
JUnitUtil.resetInstanceManager();
JUnitUtil.resetProfileManager();
}

@AfterClass
Expand All @@ -44,13 +44,13 @@ public static void tearDownClass() {

@Before
public void setUp() throws IOException {
JUnitUtil.resetInstanceManager();
JUnitUtil.resetProfileManager();
JUnitUtil.initConfigureManager();
}

@After
public void tearDown() {
JUnitUtil.resetInstanceManager();
}

/**
Expand Down Expand Up @@ -135,4 +135,5 @@ public void testOnClose() {
}
}

private static final Logger log = LoggerFactory.getLogger(JsonUtilSocketServiceTest.class);
}

0 comments on commit 2083894

Please sign in to comment.