Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.hibernate.test.hql
Class ClassicTranslatorTest  view ClassicTranslatorTest download ClassicTranslatorTest.java

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.hibernate.test.TestCase
              extended byorg.hibernate.test.hql.QueryTranslatorTestCase
                  extended byorg.hibernate.test.hql.ClassicTranslatorTest
All Implemented Interfaces:
junit.framework.Test

public class ClassicTranslatorTest
extends QueryTranslatorTestCase

Some simple test queries using the classic translator explicitly to ensure that code is not broken in changes for the new translator.

Only really checking translation and syntax, not results.


Field Summary
 
Fields inherited from class org.hibernate.test.TestCase
SKIP_LOG
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
ClassicTranslatorTest(java.lang.String x)
           
 
Method Summary
protected  void configure(org.hibernate.cfg.Configuration cfg)
           
protected  boolean recreateSchema()
           
static junit.framework.Test suite()
           
 void testQueries()
           
 
Methods inherited from class org.hibernate.test.hql.QueryTranslatorTestCase
assertTranslation, assertTranslation, assertTranslation, assertTranslation, compileBadHql, createNewQueryTranslator, createNewQueryTranslator, createQueryPlan, createQueryPlan, getMappings, getSessionFactoryImplementor, runClassicTranslator
 
Methods inherited from class org.hibernate.test.TestCase
afterSessionFactoryBuilt, appliesTo, assertClassAssignability, assertElementTypeAssignability, dialectIsCaseSensitive, dialectSupportsEmptyInList, dropAfterFailure, fullTestName, getBaseForMappings, getCacheConcurrencyStrategy, getCfg, getDialect, getExtraProperties, getSessions, openSession, openSession, overrideCacheStrategy, readCommittedIsolationMaintained, reportSkip, reportSkip, runTest, setCfg, setUp, sfi
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, setName, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClassicTranslatorTest

public ClassicTranslatorTest(java.lang.String x)
Method Detail

suite

public static junit.framework.Test suite()

recreateSchema

protected boolean recreateSchema()
Overrides:
recreateSchema in class QueryTranslatorTestCase

configure

protected void configure(org.hibernate.cfg.Configuration cfg)

testQueries

public void testQueries()