serp.bytecode
Class TestProject

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

public class TestProject
extends junit.framework.TestCase

Tests the Project type.

Author:
Abe White

Constructor Summary
TestProject(String test)
           
 
Method Summary
static void main(String[] args)
           
static junit.framework.Test suite()
           
 void testClear()
          Test clearing classes.
 void testGetClasses()
          Test retrieving all loaded classes.
 void testLoadByFile()
          Test loading classes by file.
 void testLoadByName()
          Test loading classes by name.
 void testLoadByStream()
          Test loading classes by stream.
 void testLoadByType()
          Test loading classes by type.
 void testName()
          Test the project name.
 void testRemove()
          Test removing a class.
 void testRename()
          Test renaming classes within the project.
 
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

TestProject

public TestProject(String test)
Method Detail

testName

public void testName()
Test the project name.


testLoadByName

public void testLoadByName()
Test loading classes by name.


testLoadByType

public void testLoadByType()
Test loading classes by type.


testLoadByFile

public void testLoadByFile()
Test loading classes by file.


testLoadByStream

public void testLoadByStream()
Test loading classes by stream.


testGetClasses

public void testGetClasses()
Test retrieving all loaded classes.


testRename

public void testRename()
Test renaming classes within the project.


testClear

public void testClear()
Test clearing classes.


testRemove

public void testRemove()
Test removing a class.


suite

public static junit.framework.Test suite()

main

public static void main(String[] args)


Copyright © 2002-2013. All Rights Reserved.