edu.rice.cs.drjava.model
Class ClassAndInterfaceFinderTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by edu.rice.cs.drjava.DrJavaTestCase
              extended by edu.rice.cs.drjava.model.ClassAndInterfaceFinderTest
All Implemented Interfaces:
Test

public class ClassAndInterfaceFinderTest
extends DrJavaTestCase

ClassAndInterfaceFinderTest for unit testing ClassAndInterfaceFinder. Uses junit for testing.

Version:
$Id: ClassAndInterfaceFinderTest.java 4447 2008-04-18 16:06:34Z rcartwright $
Author:
Jason Schiller

Field Summary
 
Fields inherited from class edu.rice.cs.drjava.DrJavaTestCase
TEST_DRJAVA_CONFIG_PROPERTY
 
Constructor Summary
ClassAndInterfaceFinderTest()
           
 
Method Summary
 void testStringClassRecognition()
          Tests to see if string input is properly parsed to obtain class name.
 void testStringInterfaceRecognition()
          Tests to see if string input is properly parsed to obtain interface name.
 void testStringInterfaceRejection()
          Tests to see if string input is properly parsed to reject interface name.
 void testStringPackageRecognition()
          Tests to see if string input is properly parsed to insert package name.
 
Methods inherited from class edu.rice.cs.drjava.DrJavaTestCase
setConfigSetting, setDocText, setUp, tearDown
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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

ClassAndInterfaceFinderTest

public ClassAndInterfaceFinderTest()
Method Detail

testStringInterfaceRecognition

public void testStringInterfaceRecognition()
Tests to see if string input is properly parsed to obtain interface name.


testStringInterfaceRejection

public void testStringInterfaceRejection()
Tests to see if string input is properly parsed to reject interface name.


testStringClassRecognition

public void testStringClassRecognition()
Tests to see if string input is properly parsed to obtain class name.


testStringPackageRecognition

public void testStringPackageRecognition()
Tests to see if string input is properly parsed to insert package name.