org.ourgrid.common.matcher
Class MatcherTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.ourgrid.common.matcher.MatcherTest
All Implemented Interfaces:
junit.framework.Test, CommonTest, FastTest, PreCommitTest, SelectiveTest, StressTest

public class MatcherTest
extends junit.framework.TestCase
implements CommonTest


Constructor Summary
MatcherTest(java.lang.String s)
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testBadMatches()
           
 void testExceptionsMatches()
           
 void testGoodMatches()
           
 void testMatchesWithDefinedAndNotDefinedAttributes()
           
 void testMatchesWithNotDefinedAttributes()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface junit.framework.Test
countTestCases, run
 

Constructor Detail

MatcherTest

public MatcherTest(java.lang.String s)
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
java.lang.Exception

tearDown

protected void tearDown()
                 throws java.lang.Exception
Overrides:
tearDown in class junit.framework.TestCase
Throws:
java.lang.Exception

testMatchesWithNotDefinedAttributes

public void testMatchesWithNotDefinedAttributes()
                                         throws SyntacticalErrorAtExpressionException
Throws:
SyntacticalErrorAtExpressionException

testMatchesWithDefinedAndNotDefinedAttributes

public void testMatchesWithDefinedAndNotDefinedAttributes()
                                                   throws SyntacticalErrorAtExpressionException
Throws:
SyntacticalErrorAtExpressionException

testGoodMatches

public void testGoodMatches()
                     throws SyntacticalErrorAtExpressionException
Throws:
SyntacticalErrorAtExpressionException

testBadMatches

public void testBadMatches()
                    throws SyntacticalErrorAtExpressionException
Throws:
SyntacticalErrorAtExpressionException

testExceptionsMatches

public void testExceptionsMatches()