org.ourgrid.common.matcher
Class ExpressionTranslatorTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.ourgrid.common.matcher.ExpressionTranslatorTest
- All Implemented Interfaces:
- junit.framework.Test, CommonTest, FastTest, PreCommitTest, SelectiveTest, StressTest
public class ExpressionTranslatorTest
- extends junit.framework.TestCase
- implements CommonTest
Test for expression translator class.
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 |
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 |
ExpressionTranslatorTest
public ExpressionTranslatorTest()
setUp
protected void setUp()
throws java.lang.Exception
- Overrides:
setUp
in class junit.framework.TestCase
- Throws:
java.lang.Exception
testTranslateMGMinimize1
public void testTranslateMGMinimize1()
throws java.lang.Exception
- Throws:
java.lang.Exception
testTranslateMGMinimize2
public void testTranslateMGMinimize2()
throws java.lang.Exception
- Throws:
java.lang.Exception
testTranslateMGMinimize3
public void testTranslateMGMinimize3()
throws java.lang.Exception
- Throws:
java.lang.Exception
testTranslateMGMinimize4
public void testTranslateMGMinimize4()
throws java.lang.Exception
- Throws:
java.lang.Exception
testTranslateMGMinimize5
public void testTranslateMGMinimize5()
throws java.lang.Exception
- Throws:
java.lang.Exception
testTranslateMGMinimize6
public void testTranslateMGMinimize6()
throws java.lang.Exception
- Throws:
java.lang.Exception
testTranslateMGMinimize7
public void testTranslateMGMinimize7()
throws java.lang.Exception
- Throws:
java.lang.Exception
testTranslateMGMinimize8
public void testTranslateMGMinimize8()
throws java.lang.Exception
- Throws:
java.lang.Exception
testTranslateMGMinimize9
public void testTranslateMGMinimize9()
throws java.lang.Exception
- Throws:
java.lang.Exception
testTranslateMGMinimize10
public void testTranslateMGMinimize10()
throws java.lang.Exception
- Throws:
java.lang.Exception
testTranslateMGMinimize11
public void testTranslateMGMinimize11()
throws java.lang.Exception
- Throws:
java.lang.Exception
testTranslateMGMinimize12
public void testTranslateMGMinimize12()
throws java.lang.Exception
- Throws:
java.lang.Exception
testTranslateMGMinimize13
public void testTranslateMGMinimize13()
throws java.lang.Exception
- Throws:
java.lang.Exception
testTranslateMGMinimize14
public void testTranslateMGMinimize14()
throws java.lang.Exception
- Throws:
java.lang.Exception
testTranslateMGMinimize15
public void testTranslateMGMinimize15()
throws java.lang.Exception
- Throws:
java.lang.Exception
testTranslateMGMInimize16
public void testTranslateMGMInimize16()
throws java.lang.Exception
- Throws:
java.lang.Exception
testTranslateMGMInimize17
public void testTranslateMGMInimize17()
throws java.lang.Exception
- Throws:
java.lang.Exception
testTranslateBothWithMoreThan25DifferentExpressions
public void testTranslateBothWithMoreThan25DifferentExpressions()
throws java.lang.Exception
- Throws:
java.lang.Exception
testTranslateBothWIthMoreThan46DifferentExpressions
public void testTranslateBothWIthMoreThan46DifferentExpressions()
throws java.lang.Exception
- Throws:
java.lang.Exception
testTranslateToMGWithouTranslateToMinimizeFirst
public void testTranslateToMGWithouTranslateToMinimizeFirst()
testTranslateToMGWithWrongExpression
public void testTranslateToMGWithWrongExpression()
throws java.lang.Exception
- Throws:
java.lang.Exception
testEmptyExpression
public void testEmptyExpression()
throws InvalidExpressionException
- Throws:
InvalidExpressionException
testTheStrangeAndOperator
public void testTheStrangeAndOperator()
throws InvalidExpressionException
- Throws:
InvalidExpressionException
testNotAtMidle
public void testNotAtMidle()
throws InvalidExpressionException
- Throws:
InvalidExpressionException