|
xmlBlaster 2.2.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase org.xmlBlaster.test.classtest.Sql92SelectorTest
public class Sql92SelectorTest
Test ClientProperty.
All methods starting with 'test' and without arguments are invoked automatically Invoke: java -Djava.compiler= junit.textui.TestRunner -noloading org.xmlBlaster.test.classtest.Sql92SelectorTest
ClientProperty
,
The client.qos.clientProperty requirementField Summary | |
---|---|
private java.util.Map[] |
dataSet
|
protected Global |
glob
|
private static java.util.logging.Logger |
log
|
private static java.lang.String |
ME
|
private java.lang.String[] |
querySet
|
private boolean[][] |
resultSet
|
Constructor Summary | |
---|---|
Sql92SelectorTest(Global global,
java.lang.String name)
|
|
Sql92SelectorTest(java.lang.String name)
|
Method Summary | |
---|---|
private void |
consistencyCheck()
Checks if the provided data sets, the queries and the results are consistent with eachother (this is invoked before starting the real testing) |
private java.lang.String |
getDataAsText(int pos)
|
void |
interactive()
|
static void |
main(java.lang.String[] args)
java org.xmlBlaster.test.classtest.Sql92SelectorTest |
private void |
performanceCheck()
|
private void |
selectorPerformTest()
This is the fully automatized initial (general) test. |
protected void |
setUp()
|
private void |
setupDataSets()
Change this method if you want to add a new data set to be checked |
protected void |
tearDown()
|
void |
testArithmeticOps()
Tests the outer logical operators AND, OR, NOT with and without brackets. |
void |
testBetweenOps()
Tests the IN (...) statements. |
void |
testInSetOps()
Tests the IN (...) statements. |
void |
testLikeOps()
Tests the LIKE statements. |
void |
testLikeOpWrapper()
These are the examples found in the JMS 1.1. |
void |
testLogicalOps()
Tests the outer logical operators AND, OR, NOT with and without brackets. |
void |
testNullOps()
Tests the NULL and NOT NULL statements. |
void |
testRegexOps()
Tests the REGEX statements. |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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 |
Field Detail |
---|
private static final java.lang.String ME
protected Global glob
private static java.util.logging.Logger log
private java.util.Map[] dataSet
private boolean[][] resultSet
private java.lang.String[] querySet
Constructor Detail |
---|
public Sql92SelectorTest(java.lang.String name)
public Sql92SelectorTest(Global global, java.lang.String name)
Method Detail |
---|
protected void setUp()
setUp
in class junit.framework.TestCase
protected void tearDown()
tearDown
in class junit.framework.TestCase
private void setupDataSets()
private void consistencyCheck()
private java.lang.String getDataAsText(int pos)
private void selectorPerformTest()
private void performanceCheck()
public void interactive()
public void testLogicalOps()
public void testNullOps()
public void testArithmeticOps()
public void testInSetOps()
public void testBetweenOps()
public void testLikeOps()
public void testRegexOps()
public void testLikeOpWrapper()
public static void main(java.lang.String[] args)
java org.xmlBlaster.test.classtest.Sql92SelectorTest
|
xmlBlaster 2.2.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |