Add Constants to all ERR STK checks

This commit is contained in:
Allen Byrne
2018-09-19 08:58:08 -05:00
parent fe418f6c23
commit cd290ddecb
2 changed files with 12 additions and 8 deletions

View File

@@ -27,12 +27,12 @@ import org.junit.Test;
import org.junit.rules.TestName;
public class TestH5Edefault {
@Rule public TestName testname = new TestName();
public static final int ERRSTACK_CNT = 3;
public static final int ERRSTACK_MTY_CNT = 0;
public static final int ERRSTACK_POP_CNT = 2;
@Rule public TestName testname = new TestName();
@Before
public void H5Eset_default_stack() {
assertTrue("H5 open ids is 0",H5.getOpenIDCount()==0);