org.deegree.sqldialect.filter
Class IsLikeStringTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.deegree.sqldialect.filter.IsLikeStringTest
All Implemented Interfaces:
junit.framework.Test

public class IsLikeStringTest
extends junit.framework.TestCase

Test class for SQL generation of some weird combinations of wildCard and escapeChar (in PropertyIsLike expressions).

If you think, that the arguments in the assertions may be broken, consider the necessary escaping for Java as well.

Version:
$Revision: 22060 $, $Date: 2010-01-20 17:59:52 +0100 (Mi, 20. Jan 2010) $
Author:
Markus Schneider , Lyn Buesching , last edited by: $Author: mschneider $

Constructor Summary
IsLikeStringTest()
           
 
Method Summary
 void testLiteral1()
           
 void testLiteral2()
           
 void testLiteral3()
           
 void testLiteral4()
           
 void testLiteral5()
           
 
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

IsLikeStringTest

public IsLikeStringTest()
Method Detail

testLiteral1

public void testLiteral1()
                  throws Exception
Throws:
Exception

testLiteral2

public void testLiteral2()
                  throws Exception
Throws:
Exception

testLiteral3

public void testLiteral3()
                  throws Exception
Throws:
Exception

testLiteral4

public void testLiteral4()
                  throws Exception
Throws:
Exception

testLiteral5

public void testLiteral5()
                  throws Exception
Throws:
Exception


Copyright © 2011. All Rights Reserved.