|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.alfresco.repo.domain.query.CannedQueryDAOTest
public class CannedQueryDAOTest
CannedQueryDAO
Nested Class Summary | |
---|---|
static class |
CannedQueryDAOTest.TestOneParams
Helper parameter class for testing |
Constructor Summary | |
---|---|
CannedQueryDAOTest()
|
Method Summary | |
---|---|
void |
setUp()
|
void |
testExecute_BadBounds()
|
void |
testExecute_CountAllMimetypes()
|
void |
testExecute_CountMimetypeExact()
|
void |
testExecute_CountMimetypeWildcard()
|
void |
testExecute_CountNoResults()
Ensures that no results returns 0 since SQL will return a null count. |
void |
testExecute_FailureRecovery()
Force a failure and ensure that the connection is not tarnished |
void |
testExecute_ListMimetypes()
|
void |
testExecute_ResultHandlerWithEarlyTermination()
|
void |
testExecute_ResultHandlerWithError()
|
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, format |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CannedQueryDAOTest()
Method Detail |
---|
public void setUp() throws java.lang.Exception
setUp
in class junit.framework.TestCase
java.lang.Exception
public void testExecute_FailureRecovery() throws java.lang.Throwable
java.lang.Throwable
public void testExecute_CountAllMimetypes() throws java.lang.Throwable
java.lang.Throwable
public void testExecute_CountNoResults() throws java.lang.Throwable
java.lang.Throwable
public void testExecute_CountMimetypeExact() throws java.lang.Throwable
java.lang.Throwable
public void testExecute_CountMimetypeWildcard() throws java.lang.Throwable
java.lang.Throwable
public void testExecute_BadBounds() throws java.lang.Throwable
java.lang.Throwable
public void testExecute_ListMimetypes() throws java.lang.Throwable
java.lang.Throwable
public void testExecute_ResultHandlerWithError() throws java.lang.Throwable
java.lang.Throwable
public void testExecute_ResultHandlerWithEarlyTermination() throws java.lang.Throwable
java.lang.Throwable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |