serp.bytecode.lowlevel
Class TestConstantPool

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by serp.bytecode.lowlevel.TestConstantPool
All Implemented Interfaces:
junit.framework.Test

public class TestConstantPool
extends junit.framework.TestCase

Tests the ConstantPool type.

Author:
Abe White

Constructor Summary
TestConstantPool(String test)
           
 
Method Summary
static void main(String[] args)
           
static junit.framework.Test suite()
           
 void testAdd()
          Tests adding entries.
 void testClear()
          Test clearing the pool.
 void testFind()
          Test finding entry indexes.
 void testGetEntries()
          Tests getting all entries.
 void testGetEntry()
          Tests getting entries by index.
 void testIndexOf()
          Tests finding the index of entries.
 void testMutate()
          Tests mutating entries.
 void testRemove()
          Tests removing entries.
 
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, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestConstantPool

public TestConstantPool(String test)
Method Detail

testAdd

public void testAdd()
Tests adding entries.


testRemove

public void testRemove()
Tests removing entries.


testMutate

public void testMutate()
Tests mutating entries.


testIndexOf

public void testIndexOf()
Tests finding the index of entries.


testGetEntries

public void testGetEntries()
Tests getting all entries.


testGetEntry

public void testGetEntry()
Tests getting entries by index.


testClear

public void testClear()
Test clearing the pool.


testFind

public void testFind()
Test finding entry indexes.


suite

public static junit.framework.Test suite()

main

public static void main(String[] args)


Copyright © 2002-2013. All Rights Reserved.