org.hackystat.telemetry.analyzer.language.parser
Class TestTelemetryLanguageParser

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.hackystat.telemetry.analyzer.language.parser.TestTelemetryLanguageParser
All Implemented Interfaces:
junit.framework.Test

public class TestTelemetryLanguageParser
extends junit.framework.TestCase

Test suite for TelemetryQueryParser.

Author:
(Cedric) Qin ZHANG

Constructor Summary
TestTelemetryLanguageParser()
           
 
Method Summary
 void testParse1()
          Tests parse method.
 void testParse2()
          Tests parse method.
 void testParseChartDef1()
          Tests parseChartDef method.
 void testParseChartDef2()
          Tests parseChartDef method.
 void testParseChartsDef3()
          Tests parseChartDef method.
 void testParseReportDef1()
          Tests parseReportDef method.
 void testParseReportDef2()
          Tests parseReportDef method.
 void testParseSteamsDef1()
          Tests parseStreamsDef method.
 void testParseSteamsDef2()
          Tests parseStreamsDef method.
 void testParseSteamsDef3()
          Tests parseStreamsDef method.
 void testParseSteamsDef4()
          Tests parseStreamsDef method.
 void testParseSteamsDef5()
          Tests parseStreamsDef method.
 void testParseSteamsDef6()
          Tests parseStreamsDef method.
 void testParsingChartYAxisDefinition()
          Tests parsing of telemetry chart y-axis defintions.
 void testRecoveringDefinitionString()
          Tests recovering definition string operation.
 
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, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestTelemetryLanguageParser

public TestTelemetryLanguageParser()
Method Detail

testParseSteamsDef1

public void testParseSteamsDef1()
                         throws java.lang.Exception
Tests parseStreamsDef method.

Throws:
java.lang.Exception - If test fails.

testParseSteamsDef2

public void testParseSteamsDef2()
                         throws java.lang.Exception
Tests parseStreamsDef method.

Throws:
java.lang.Exception - If test fails.

testParseSteamsDef3

public void testParseSteamsDef3()
                         throws java.lang.Exception
Tests parseStreamsDef method.

Throws:
java.lang.Exception - If test fails.

testParseSteamsDef4

public void testParseSteamsDef4()
                         throws java.lang.Exception
Tests parseStreamsDef method.

Throws:
java.lang.Exception - If test fails.

testParseSteamsDef5

public void testParseSteamsDef5()
                         throws java.lang.Exception
Tests parseStreamsDef method.

Throws:
java.lang.Exception - If test fails.

testParseSteamsDef6

public void testParseSteamsDef6()
                         throws java.lang.Exception
Tests parseStreamsDef method.

Throws:
java.lang.Exception - If test fails.

testParseChartDef1

public void testParseChartDef1()
                        throws java.lang.Exception
Tests parseChartDef method.

Throws:
java.lang.Exception - If test fails.

testParseChartDef2

public void testParseChartDef2()
                        throws java.lang.Exception
Tests parseChartDef method.

Throws:
java.lang.Exception - If test fails.

testParseChartsDef3

public void testParseChartsDef3()
                         throws java.lang.Exception
Tests parseChartDef method.

Throws:
java.lang.Exception - If test fails.

testParseReportDef1

public void testParseReportDef1()
                         throws java.lang.Exception
Tests parseReportDef method.

Throws:
java.lang.Exception - If test fails.

testParseReportDef2

public void testParseReportDef2()
                         throws java.lang.Exception
Tests parseReportDef method.

Throws:
java.lang.Exception - If test fails.

testParsingChartYAxisDefinition

public void testParsingChartYAxisDefinition()
                                     throws java.lang.Exception
Tests parsing of telemetry chart y-axis defintions.

Throws:
java.lang.Exception - If test fails.

testParse1

public void testParse1()
                throws java.lang.Exception
Tests parse method.

Throws:
java.lang.Exception - If test fails.

testParse2

public void testParse2()
                throws java.lang.Exception
Tests parse method.

Throws:
java.lang.Exception - If test fails.

testRecoveringDefinitionString

public void testRecoveringDefinitionString()
                                    throws java.lang.Exception
Tests recovering definition string operation.

Throws:
java.lang.Exception - If test fails.