net.sf.antcontrib.cpptasks.parser
Class TestFortranParser

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by net.sf.antcontrib.cpptasks.parser.TestFortranParser
All Implemented Interfaces:
junit.framework.Test

public final class TestFortranParser
extends junit.framework.TestCase

Tests for the CParser class.


Constructor Summary
TestFortranParser(java.lang.String name)
          Constructor.
 
Method Summary
 void testInClUdE()
          Checks parsing of InClUdE 'foo.inc'.
 void testINCLUDE()
          Checks parsing of INCLUDE 'foo.inc'.
 void testMultipleInClUdE()
          Checks parsing of InClUdE 'foo.inc'.
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestFortranParser

public TestFortranParser(java.lang.String name)
Constructor.

Parameters:
name - String test name
Method Detail

testINCLUDE

public void testINCLUDE()
                 throws java.io.IOException
Checks parsing of INCLUDE 'foo.inc'.

Throws:
java.io.IOException - test fails on IOException

testInClUdE

public void testInClUdE()
                 throws java.io.IOException
Checks parsing of InClUdE 'foo.inc'.

Throws:
java.io.IOException - test fails on IOException

testMultipleInClUdE

public void testMultipleInClUdE()
                         throws java.io.IOException
Checks parsing of InClUdE 'foo.inc'.

Throws:
java.io.IOException - test fails on IOException


Copyright © 2001-2008 Ant-Contrib Project. All Rights Reserved.