|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase frysk.junit.TestCase frysk.sys.proc.TestAuxv
public class TestAuxv
Test the AuxvBuilder against a predefined set of auxv buffers. The test buffers are obtained by running, and than massaging, the output from prog/print/auxv
Nested Class Summary | |
---|---|
(package private) static class |
TestAuxv.Auxiliary
|
Constructor Summary | |
---|---|
TestAuxv()
|
Method Summary | |
---|---|
private void |
check(int wordSize,
boolean bigEndian,
TestAuxv.Auxiliary[] vec,
byte[] auxv)
Verify that the unpacked auxv matches expected. |
void |
testAMD64()
Check that an AUXV taken from an AMD64 (AMD Opteron(tm) Processor 846) can be parsed. |
void |
testIA32()
Check that an AUXV taken from an IA-32 (Intel(R) Pentium(R) M processor 1.10GHz) machine can be parsed. |
void |
testIA64()
Check that the AUXV from an IA-64 (Itanium 2) can be parsed. |
void |
testNative()
|
void |
testPPC32()
Check that an AUXV taken from a 32-bit PowerPC program running on a 64-bit PowerPC machine (PPC970, altivec supported) can be parsed. |
void |
testPPC64()
Check that an AUXV taken from a 64-bit PowerPC program running on a 64-bit PowerPC machine (PPC970, altivec supported) can be parsed. |
Methods inherited from class frysk.junit.TestCase |
---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, getTimeoutMilliseconds, getTimeoutSeconds, missing32or64, unresolved, unresolvedOffUtrace, unresolvedOn32On64, unresolvedOnIA32, unresolvedOnPPC, unresolvedOnUtrace, unresolvedOnx8664, unsupported |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, 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, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TestAuxv()
Method Detail |
---|
private void check(int wordSize, boolean bigEndian, TestAuxv.Auxiliary[] vec, byte[] auxv)
public void testIA32()
public void testAMD64()
public void testIA64()
public void testPPC32()
public void testPPC64()
public void testNative()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |