|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
jnetpcap.filter.bpf.vm.TestVM
public class TestVM
JUnit test cases to test the java BPF VM against some BPF programs and several different capture files.
Constructor Summary | |
---|---|
TestVM()
|
Method Summary | |
---|---|
java.nio.ByteBuffer |
nextPacket()
|
void |
openFile(java.lang.String file,
java.nio.ByteOrder order)
|
void |
setUp()
|
void |
test_l2tp()
|
void |
test_nfsv2()
|
void |
test_radius_vpdn_basic()
|
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, getName, run, run, runBare, setName, toString |
Methods inherited from class junit.framework.Assert |
---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TestVM()
Method Detail |
---|
public void setUp() throws java.io.IOException, IllegalInstruction
setUp
in class junit.framework.TestCase
java.io.IOException
IllegalInstruction
public java.nio.ByteBuffer nextPacket() throws java.io.IOException
java.io.IOException
public void openFile(java.lang.String file, java.nio.ByteOrder order) throws java.io.IOException
java.io.IOException
public void test_l2tp() throws java.io.IOException, IllegalInstruction
java.io.IOException
IllegalInstruction
public void test_nfsv2() throws java.io.IOException, IllegalInstruction
java.io.IOException
IllegalInstruction
public void test_radius_vpdn_basic() throws java.io.IOException, IllegalInstruction
java.io.IOException
IllegalInstruction
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |