net.sf.antcontrib.cpptasks
Class TestCompilerEnum

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

public class TestCompilerEnum
extends junit.framework.TestCase

Tests for CompilerEnum.


Constructor Summary
TestCompilerEnum(java.lang.String name)
          Create instance of TestCompilerEnum.
 
Method Summary
 void testCompilerEnum1()
          Test that "gcc" is recognized as a compiler enum.
 void testCompilerEnum2()
          Test that "bogus" is not recognized as a compiler enum.
 
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

TestCompilerEnum

public TestCompilerEnum(java.lang.String name)
Create instance of TestCompilerEnum.

Parameters:
name - test name.
Method Detail

testCompilerEnum1

public void testCompilerEnum1()
Test that "gcc" is recognized as a compiler enum.


testCompilerEnum2

public void testCompilerEnum2()
Test that "bogus" is not recognized as a compiler enum.



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