Fix test insolation

This commit is contained in:
Roman Mandeleil 2015-01-19 20:48:52 +02:00
parent 3fd0b47b1c
commit 780f0dce3e
1 changed files with 7 additions and 0 deletions

View File

@ -8,6 +8,7 @@ import org.ethereum.net.p2p.P2pMessageCodes;
import org.ethereum.net.shh.ShhHandler;
import org.ethereum.net.shh.ShhMessageCodes;
import org.junit.After;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
@ -26,6 +27,12 @@ public class AdaptiveMessageIdsTest {
EthMessageCodes.setOffset((byte) 0x00);
ShhMessageCodes.setOffset((byte) 0x00);
}
@After
public void tearDown() {
EthMessageCodes.setOffset((byte) 0x00);
ShhMessageCodes.setOffset((byte) 0x00);
}
@Test
public void test1() {