tst
Class SQLindTester
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
tst.SQLindTester
- All Implemented Interfaces:
- junit.framework.Test
public abstract class SQLindTester
- extends junit.framework.TestCase
Parent class for all Mapper projects
- Author:
- Rives Davy
|
Method Summary |
protected abstract void |
closeCnxObj(Object cnxObj)
|
protected abstract Object |
getCnxObj()
|
protected abstract net.sqlind.SQLQueryMapper.GenericQueryHandler |
getSQLQueryHandlerImpl(String schema,
String queryId,
String... params)
|
protected abstract String |
getTestInject()
|
protected SQLindTester.Counter |
performDeepReflect(Object cnxObj,
List<Bean> results,
String queryId,
String injectID)
|
protected SQLindTester.Counter |
performDeepTransfo(Object cnxObj,
List<Bean> results,
String queryId,
String injectID)
|
protected abstract void |
performQuery(Object cnxObj,
net.sqlind.SQLQueryMapper.GenericQueryHandler handler,
net.sqlind.SQLQueryMapper.QueryBehavior behavior)
|
protected void |
setUp()
|
void |
testDeepReflectWiringPolicy()
|
void |
testDeepTransfoWiringPolicy()
|
void |
testProfiling()
|
void |
testThreadSafe()
|
| Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, 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, failNotEquals, failNotSame, failSame |
TST_QUERIES_XML
protected static final String TST_QUERIES_XML
- See Also:
- Constant Field Values
SQLindTester
public SQLindTester()
setUp
protected void setUp()
throws Exception
- Overrides:
setUp in class junit.framework.TestCase
- Throws:
Exception
testProfiling
public void testProfiling()
testThreadSafe
public void testThreadSafe()
throws net.sqlind.SQLQueryMapper.SQLMapperException
- Throws:
net.sqlind.SQLQueryMapper.SQLMapperException
performDeepTransfo
protected SQLindTester.Counter performDeepTransfo(Object cnxObj,
List<Bean> results,
String queryId,
String injectID)
throws net.sqlind.SQLQueryMapper.SQLMapperException
- Throws:
net.sqlind.SQLQueryMapper.SQLMapperException
performDeepReflect
protected SQLindTester.Counter performDeepReflect(Object cnxObj,
List<Bean> results,
String queryId,
String injectID)
throws net.sqlind.SQLQueryMapper.SQLMapperException
- Throws:
net.sqlind.SQLQueryMapper.SQLMapperException
testDeepTransfoWiringPolicy
public void testDeepTransfoWiringPolicy()
throws Exception
- Throws:
Exception
testDeepReflectWiringPolicy
public void testDeepReflectWiringPolicy()
throws Exception
- Throws:
Exception
getTestInject
protected abstract String getTestInject()
getCnxObj
protected abstract Object getCnxObj()
closeCnxObj
protected abstract void closeCnxObj(Object cnxObj)
throws SQLException
- Throws:
SQLException
getSQLQueryHandlerImpl
protected abstract net.sqlind.SQLQueryMapper.GenericQueryHandler getSQLQueryHandlerImpl(String schema,
String queryId,
String... params)
throws net.sqlind.SQLQueryMapper.SQLMapperException
- Throws:
net.sqlind.SQLQueryMapper.SQLMapperException
performQuery
protected abstract void performQuery(Object cnxObj,
net.sqlind.SQLQueryMapper.GenericQueryHandler handler,
net.sqlind.SQLQueryMapper.QueryBehavior behavior)
throws net.sqlind.SQLQueryMapper.SQLMapperException
- Throws:
net.sqlind.SQLQueryMapper.SQLMapperException
Copyright © 2011. All Rights Reserved.