edu.sdsc.inca.depot.util
Class ExprComparitorTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by edu.sdsc.inca.depot.util.ExprComparitorTest
All Implemented Interfaces:
junit.framework.Test

public class ExprComparitorTest
extends junit.framework.TestCase

Author:
jhayes

Field Summary
static java.lang.String GCC_BODY
           
static java.lang.String GCC_UNIT_BODY
           
static java.lang.String GLOBUS_BODY
           
 
Constructor Summary
ExprComparitorTest()
           
 
Method Summary
 void testAlpha()
           
 void testArgs()
           
 void testConjunctions()
           
 void testDifferentDigits()
           
 void testFailureMessage()
           
 void testPackageName()
           
 void testParentheses()
           
 void testPatterns()
           
 void testPoints()
           
 void testPredefinedIds()
           
 void testSimpleConstants()
           
 void testSubpackageNames()
           
 void testValuelessId()
           
 java.lang.String tryIt(java.lang.String expr, Report r, boolean expectSuccess)
           
 java.lang.String tryIt(java.lang.String expr, java.lang.String body, boolean expectSuccess)
           
 
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
 

Field Detail

GCC_BODY

public static final java.lang.String GCC_BODY
See Also:
Constant Field Values

GCC_UNIT_BODY

public static final java.lang.String GCC_UNIT_BODY
See Also:
Constant Field Values

GLOBUS_BODY

public static final java.lang.String GLOBUS_BODY
See Also:
Constant Field Values
Constructor Detail

ExprComparitorTest

public ExprComparitorTest()
Method Detail

tryIt

public java.lang.String tryIt(java.lang.String expr,
                              Report r,
                              boolean expectSuccess)

tryIt

public java.lang.String tryIt(java.lang.String expr,
                              java.lang.String body,
                              boolean expectSuccess)

testSimpleConstants

public void testSimpleConstants()

testDifferentDigits

public void testDifferentDigits()

testPoints

public void testPoints()

testAlpha

public void testAlpha()

testPackageName

public void testPackageName()

testSubpackageNames

public void testSubpackageNames()

testPatterns

public void testPatterns()

testValuelessId

public void testValuelessId()

testConjunctions

public void testConjunctions()

testParentheses

public void testParentheses()

testFailureMessage

public void testFailureMessage()

testPredefinedIds

public void testPredefinedIds()

testArgs

public void testArgs()