Example CQL test harness java code

The attached files are java code which outlines how to write a CQL test harness.

The main testing file can be found in the class UCCQLTester java code, where you add your test cases to probe the CQL.

The file contains dependencies to helper utilities in the package “com.uc.cep.examples”, most of which you shouldn’t need to tamper with.

BadResult class java code

ChannelHelper class java code

CQLTestEventSink class java code

LocalBundleActivator class java code

TestBase class java code

TestResult class java code

Included for mainly compilation is an example canonical object class found at MyEvent class java code.  Normally this class would appear in the main production project (and package)  and all you would do in the test harness is gain a reference to that class and populate it with the properties you know are going to be examined by the CQL in the EPN.