serp.bytecode
Class TestStoreInstruction

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

public class TestStoreInstruction
extends junit.framework.TestCase

Tests the StoreInstruction type.

Author:
Abe White

Constructor Summary
TestStoreInstruction(String test)
           
 
Method Summary
static void main(String[] args)
           
static junit.framework.Test suite()
           
 void testGetType()
          Test that the instruction returns its type correctly.
 void testInitialize()
          Test that the instruction intitializes correctly when generated.
 void testOpcodeMorph()
          Test that the opcode is morphed correctly when the type and local of the instruction are changed.
 
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

TestStoreInstruction

public TestStoreInstruction(String test)
Method Detail

testInitialize

public void testInitialize()
Test that the instruction intitializes correctly when generated.


testGetType

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


testOpcodeMorph

public void testOpcodeMorph()
Test that the opcode is morphed correctly when the type and local of the instruction are changed.


suite

public static junit.framework.Test suite()

main

public static void main(String[] args)


Copyright © 2002-2013. All Rights Reserved.