junit.com.mcdermottroe.exemplar.input
Class InputUtilsTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by junit.com.mcdermottroe.exemplar.ExemplarTestCase<T>
              extended by junit.com.mcdermottroe.exemplar.UtilityClassTestCase<InputUtils>
                  extended by junit.com.mcdermottroe.exemplar.input.InputUtilsTest
All Implemented Interfaces:
junit.framework.Test

public class InputUtilsTest
extends UtilityClassTestCase<InputUtils>

Test class for InputUtils.

Since:
0.1

Field Summary
 
Fields inherited from class junit.com.mcdermottroe.exemplar.ExemplarTestCase
DELIBERATE_PASS, testedClass, TMP
 
Constructor Summary
InputUtilsTest()
           
 
Method Summary
static Map<String,Collection<File>> getSampleData()
          Get a collection of input languages and sample files in those languages for testing the parsing.
 void testAvailableInputLanguages()
          InputUtils.availableInputLanguages().
 void testParse()
          Test InputUtils.parse(String, String).
 void testParseNonExistantType()
          Test InputUtils.parse(String, String).
 
Methods inherited from class junit.com.mcdermottroe.exemplar.UtilityClassTestCase
testAllFieldsStatic, testAllMethodsStatic, testOnePrivateConstructor
 
Methods inherited from class junit.com.mcdermottroe.exemplar.ExemplarTestCase
getTestedClass, setUp, testAllMethodsBeingTested, testCorrectPackage
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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

InputUtilsTest

public InputUtilsTest()
Method Detail

getSampleData

public static Map<String,Collection<File>> getSampleData()
Get a collection of input languages and sample files in those languages for testing the parsing.

Returns:
Some sample input languages and files.

testAvailableInputLanguages

public void testAvailableInputLanguages()
InputUtils.availableInputLanguages().


testParse

public void testParse()
Test InputUtils.parse(String, String).


testParseNonExistantType

public void testParseNonExistantType()
Test InputUtils.parse(String, String).