de.cau.cs.kieler.synccharts.text.expressions.bridge.test
Class ExprParserSerializerTest

java.lang.Object
  extended by de.cau.cs.kieler.synccharts.text.expressions.bridge.test.ExprParserSerializerTest

public class ExprParserSerializerTest
extends Object

JUnit Test Case for the SyncCharts Editor Transition label parser and its serializer.

Rating yellow
(2010-01-19) proposed by haf

Constructor Summary
ExprParserSerializerTest()
           
 
Method Summary
 void setUpParserAndSerializer()
          Initialize the parser and serializer.
 void setUpSyncChart()
          Create a simple SyncChart, one root state machine and two states connected by one transition.
 void testSerializerA()
          A JUnit test for the Expressionparser.
 void testSerializerAndNot()
          A JUnit test for the Labelparser.
 void testSerializerAndNot2()
          A JUnit test for the Labelparser.
 void testSerializerAndOr()
          A JUnit test for the Labelparser.
 void testSerializerAndOr2()
          A JUnit test for the Labelparser.
 void testSerializerBoolean()
          A JUnit test for the Labelparser.
 void testSerializerComparison()
          A JUnit test for the Labelparser.
 void testSerializerComparison2()
          A JUnit test for the Labelparser.
 void testSerializerComparison3()
          A JUnit test for the Labelparser.
 void testSerializerComparisonValue()
          A JUnit test for the Labelparser.
 void testSerializerCtr1()
          A JUnit test for the Labelparser.
 void testSerializerCtr2()
          A JUnit test for the Labelparser.
 void testSerializerCtr3()
          A JUnit test for the Labelparser.
 void testSerializerCtr4()
          A JUnit test for the Labelparser.
 void testSerializerDiff()
          A JUnit test for the Expressionparser.
 void testSerializerDiff2()
          A JUnit test for the Expressionparser.
 void testSerializerDiv()
          A JUnit test for the Labelparser.
 void testSerializerEmission()
          A JUnit test for the Labelparser.
 void testSerializerHostCode()
          A JUnit test for the Labelparser.
 void testSerializerHostCodeEverywhere()
          A JUnit test for the Labelparser.
 void testSerializerHostCodeType()
          A JUnit test for the Labelparser.
 void testSerializerMult()
          A JUnit test for the Labelparser.
 void testSerializerMultDiv()
          A JUnit test for the Labelparser.
 void testSerializerNeg()
          A JUnit test for the Expressionparser.
 void testSerializerNeg2()
          A JUnit test for the Expressionparser.
 void testSerializerNotNot()
          A JUnit test for the Labelparser.
 void testSerializerNotPre()
          A JUnit test for the Labelparser.
 void testSerializerPlus()
          A JUnit test for the Labelparser.
 void testSerializerPlusDiv()
          A JUnit test for the Labelparser.
 void testSerializerPlusMult()
          A JUnit test for the Labelparser.
 void testSerializerPre()
          A JUnit test for the Labelparser.
 void testSerializerSum()
          A JUnit test for the Expressionparser.
 void testSerializerSumCmp()
          A JUnit test for the Expressionparser.
 void testSerializerValue()
          A JUnit test for the Labelparser.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExprParserSerializerTest

public ExprParserSerializerTest()
Method Detail

setUpSyncChart

public void setUpSyncChart()
                    throws Exception
Create a simple SyncChart, one root state machine and two states connected by one transition. The transition will then be tested.

Throws:
Exception - Something failed

setUpParserAndSerializer

public void setUpParserAndSerializer()
                              throws Exception
Initialize the parser and serializer.

Throws:
Exception - Something failed

testSerializerSum

public void testSerializerSum()
                       throws Exception
A JUnit test for the Expressionparser.

Throws:
Exception - if parsing fails

testSerializerNeg

public void testSerializerNeg()
                       throws Exception
A JUnit test for the Expressionparser.

Throws:
Exception - if parsing fails

testSerializerNeg2

public void testSerializerNeg2()
                        throws Exception
A JUnit test for the Expressionparser.

Throws:
Exception - if parsing fails

testSerializerDiff

public void testSerializerDiff()
                        throws Exception
A JUnit test for the Expressionparser.

Throws:
Exception - if parsing fails

testSerializerDiff2

public void testSerializerDiff2()
                         throws Exception
A JUnit test for the Expressionparser.

Throws:
Exception - if parsing fails

testSerializerSumCmp

public void testSerializerSumCmp()
                          throws Exception
A JUnit test for the Expressionparser.

Throws:
Exception - if parsing fails

testSerializerA

public void testSerializerA()
                     throws Exception
A JUnit test for the Expressionparser.

Throws:
Exception - if parsing fails

testSerializerEmission

public void testSerializerEmission()
                            throws Exception
A JUnit test for the Labelparser.

Throws:
Exception - if parsing fails

testSerializerComparison

public void testSerializerComparison()
                              throws Exception
A JUnit test for the Labelparser.

Throws:
Exception - if parsing fails

testSerializerComparison2

public void testSerializerComparison2()
                               throws Exception
A JUnit test for the Labelparser.

Throws:
Exception - if parsing fails

testSerializerComparison3

public void testSerializerComparison3()
                               throws Exception
A JUnit test for the Labelparser.

Throws:
Exception - if parsing fails

testSerializerComparisonValue

public void testSerializerComparisonValue()
                                   throws Exception
A JUnit test for the Labelparser.

Throws:
Exception - if parsing fails

testSerializerValue

public void testSerializerValue()
                         throws Exception
A JUnit test for the Labelparser.

Throws:
Exception - if parsing fails

testSerializerHostCode

public void testSerializerHostCode()
                            throws Exception
A JUnit test for the Labelparser.

Throws:
Exception - if parsing fails

testSerializerHostCodeType

public void testSerializerHostCodeType()
                                throws Exception
A JUnit test for the Labelparser.

Throws:
Exception - if parsing fails

testSerializerHostCodeEverywhere

public void testSerializerHostCodeEverywhere()
                                      throws Exception
A JUnit test for the Labelparser.

Throws:
Exception - if parsing fails

testSerializerAndOr

public void testSerializerAndOr()
                         throws Exception
A JUnit test for the Labelparser.

Throws:
Exception - if parsing fails

testSerializerAndOr2

public void testSerializerAndOr2()
                          throws Exception
A JUnit test for the Labelparser.

Throws:
Exception - if parsing fails

testSerializerAndNot

public void testSerializerAndNot()
                          throws Exception
A JUnit test for the Labelparser.

Throws:
Exception - if parsing fails

testSerializerAndNot2

public void testSerializerAndNot2()
                           throws Exception
A JUnit test for the Labelparser.

Throws:
Exception - if parsing fails

testSerializerPlus

public void testSerializerPlus()
                        throws Exception
A JUnit test for the Labelparser.

Throws:
Exception - if parsing fails

testSerializerMult

public void testSerializerMult()
                        throws Exception
A JUnit test for the Labelparser.

Throws:
Exception - if parsing fails

testSerializerDiv

public void testSerializerDiv()
                       throws Exception
A JUnit test for the Labelparser.

Throws:
Exception - if parsing fails

testSerializerPlusMult

public void testSerializerPlusMult()
                            throws Exception
A JUnit test for the Labelparser.

Throws:
Exception - if parsing fails

testSerializerPlusDiv

public void testSerializerPlusDiv()
                           throws Exception
A JUnit test for the Labelparser.

Throws:
Exception - if parsing fails

testSerializerMultDiv

public void testSerializerMultDiv()
                           throws Exception
A JUnit test for the Labelparser.

Throws:
Exception - if parsing fails

testSerializerPre

public void testSerializerPre()
                       throws Exception
A JUnit test for the Labelparser.

Throws:
Exception - if parsing fails

testSerializerNotPre

public void testSerializerNotPre()
                          throws Exception
A JUnit test for the Labelparser.

Throws:
Exception - if parsing fails

testSerializerNotNot

public void testSerializerNotNot()
                          throws Exception
A JUnit test for the Labelparser.

Throws:
Exception - if parsing fails

testSerializerCtr1

public void testSerializerCtr1()
                        throws Exception
A JUnit test for the Labelparser.

Throws:
Exception - if parsing fails

testSerializerCtr2

public void testSerializerCtr2()
                        throws Exception
A JUnit test for the Labelparser.

Throws:
Exception - if parsing fails

testSerializerCtr3

public void testSerializerCtr3()
                        throws Exception
A JUnit test for the Labelparser.

Throws:
Exception - if parsing fails

testSerializerCtr4

public void testSerializerCtr4()
                        throws Exception
A JUnit test for the Labelparser.

Throws:
Exception - if parsing fails

testSerializerBoolean

public void testSerializerBoolean()
                           throws Exception
A JUnit test for the Labelparser.

Throws:
Exception - if parsing fails