serp.bytecode
Class TestArrayLoadInstruction

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

public class TestArrayLoadInstruction
extends junit.framework.TestCase

Tests the ArrayLoadInstruction type.

Author:
Abe White

Constructor Summary
TestArrayLoadInstruction(String test)
           
 
Method Summary
static void main(String[] args)
           
static junit.framework.Test suite()
           
 void testGetType()
          Test the the instruction returns its type correctly.
 void testIniitalize()
          Test that the instruction initializes correctly when generated.
 void testOpcodeMorph()
          Test that the opcode morphs correctly with type changes.
 
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

TestArrayLoadInstruction

public TestArrayLoadInstruction(String test)
Method Detail

testIniitalize

public void testIniitalize()
Test that the instruction initializes correctly when generated.


testGetType

public void testGetType()
Test the the instruction returns its type correctly.


testOpcodeMorph

public void testOpcodeMorph()
Test that the opcode morphs correctly with type changes.


suite

public static junit.framework.Test suite()

main

public static void main(String[] args)


Copyright © 2002-2013. All Rights Reserved.