com.stratelia.webactiv.util.publication.ejb
Class QueryStringFactoryTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.dbunit.DatabaseTestCase
              extended by org.dbunit.DBTestCase
                  extended by org.dbunit.JndiBasedDBTestCase
                      extended by com.silverpeas.components.model.AbstractTestDao
                          extended by com.stratelia.webactiv.util.publication.ejb.QueryStringFactoryTest
All Implemented Interfaces:
junit.framework.Test

public class QueryStringFactoryTest
extends AbstractTestDao

Author:
Yohann Chastagnier

Field Summary
 
Fields inherited from class com.silverpeas.components.model.AbstractTestDao
datasource
 
Constructor Summary
QueryStringFactoryTest()
           
 
Method Summary
protected  String getDatasetFileName()
           
protected  String getTableCreationFileName()
           
 void testGetLoadRow()
           
 void testGetSelectByBeginDateDescAndStatusAndNotLinkedToFatherId()
           
 void testGetSelectByFatherPK_1()
           
 void testGetSelectByFatherPK_2()
           
 void testGetSelectByFatherPK_3()
           
 void testGetSelectByName()
           
 void testGetSelectByNameAndNodeId()
           
 void testGetSelectNotInFatherPK()
           
 
Methods inherited from class com.silverpeas.components.model.AbstractTestDao
cleanData, configureJNDIDatasource, getDataSet, getLookupName, getTableCreationScript, getTearDownOperation, prepareData, setUp, setUpClass, tearDown, tearDownClass
 
Methods inherited from class org.dbunit.JndiBasedDBTestCase
getJNDIProperties, newDatabaseTester
 
Methods inherited from class org.dbunit.DBTestCase
getConnection
 
Methods inherited from class org.dbunit.DatabaseTestCase
closeConnection, getDatabaseTester, getOperationListener, getSetUpOperation, setUpDatabaseConfig
 
Methods inherited from class junit.framework.TestCase
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

QueryStringFactoryTest

public QueryStringFactoryTest()
Method Detail

getDatasetFileName

protected String getDatasetFileName()
Specified by:
getDatasetFileName in class AbstractTestDao

testGetSelectByBeginDateDescAndStatusAndNotLinkedToFatherId

public void testGetSelectByBeginDateDescAndStatusAndNotLinkedToFatherId()
                                                                 throws Exception
Throws:
Exception

testGetSelectByFatherPK_1

public void testGetSelectByFatherPK_1()
                               throws Exception
Throws:
Exception

testGetSelectByFatherPK_2

public void testGetSelectByFatherPK_2()
                               throws Exception
Throws:
Exception

testGetSelectByFatherPK_3

public void testGetSelectByFatherPK_3()
                               throws Exception
Throws:
Exception

testGetSelectNotInFatherPK

public void testGetSelectNotInFatherPK()
                                throws Exception
Throws:
Exception

testGetLoadRow

public void testGetLoadRow()
                    throws Exception
Throws:
Exception

testGetSelectByName

public void testGetSelectByName()
                         throws Exception
Throws:
Exception

testGetSelectByNameAndNodeId

public void testGetSelectByNameAndNodeId()
                                  throws Exception
Throws:
Exception

getTableCreationFileName

protected String getTableCreationFileName()
Specified by:
getTableCreationFileName in class AbstractTestDao


Copyright © 2016 Silverpeas. All Rights Reserved.