org.teiid.test.client
Class TestClient

java.lang.Object
  extended by org.teiid.test.client.TestClient

public class TestClient
extends java.lang.Object

TestClient is the starter class for running bulk sql testing against a Teiid server. The bulk testing is about testing a lot of queries against a predefined set of expected results and providing error files when comparisons don't match. The process The bulk testing, in its simplicity, will do the following:

  • use a QueryReader to read the queries that it will execute
  • based on the results of each query executed, the process will compare the results to the ExpectedResults.
  • If the TestProperties.PROP_RESULT_MODE option is set to TestProperties.RESULT_MODES.GENERATE then the process will not perform a comparison, but generate a new set of expected result files that can in turn be used as the

    Author:
    vanhalbert

    Field Summary
    static java.text.SimpleDateFormat TSFORMAT
               
     
    Constructor Summary
    TestClient()
               
     
    Method Summary
    protected  TransactionContainer getTransactionContainter()
               
    static void main(java.lang.String[] args)
               
     void runTest()
               
     
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
     

    Field Detail

    TSFORMAT

    public static final java.text.SimpleDateFormat TSFORMAT
    Constructor Detail

    TestClient

    public TestClient()
    Method Detail

    main

    public static void main(java.lang.String[] args)

    runTest

    public void runTest()

    getTransactionContainter

    protected TransactionContainer getTransactionContainter()


    Copyright © 2010. All Rights Reserved.