Skip to content

Commit

Permalink
Acceptance tests fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
gui1837 committed Apr 17, 2013
1 parent 1a30ffe commit a0a3acd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;

import ca.ulaval.glo4002.testFixtures.TestFixture;
Expand All @@ -11,23 +12,21 @@ public class TestAlarmLog {

private static TestFixture fixture;

@BeforeClass
public static void setUpClass() throws Exception {
fixture = new TestFixture();
}

@Before
public void setUp() throws Exception {
fixture = new TestFixture();

fixture.initServers();

fixture.createAlarmSystem();
fixture.armSystem();
}

@After
public void teardown() {
public void teardown() throws Exception {
fixture.setReceivedCallToFalse();
}

@AfterClass
public static void tearDownClass() throws Exception {
fixture.stopServers();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ public class UserDirectoryLocator {

public static synchronized UserDirectoryLocator getInstance() {
if (instance == null) {
System.out.println("crée le userDirectoryLocator");
instance = new UserDirectoryLocator();
}
return instance;
Expand Down

0 comments on commit a0a3acd

Please sign in to comment.