|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectTestCase
maito.datacollecting.DataCollectorImplTest
public class DataCollectorImplTest
This is a test driver for the class DataCollectorImpl. NOTE: This test driver uses some test stubs that act as the OAI-PMH repository. The stubs are found at http://db.cs.helsinki.fi/~saarekas/stub/. NOTE: There should be no existing data sources in the system.
Constructor Summary | |
---|---|
DataCollectorImplTest()
|
Method Summary | |
---|---|
void |
setUp()
|
void |
tearDown()
|
void |
testAddSource()
Tests that when a source is added it can afterwards be seen using the method getSources() and it is written correctly in the database. |
void |
testRemoveSources()
Tests that all data sources are removed when using the removeSources() -method. |
void |
testUpdate()
Tests that when a source is updated the data ends up in the database and the data source's field "updated" gets set in the database. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DataCollectorImplTest()
Method Detail |
---|
public void setUp()
public void tearDown()
public void testAddSource()
public void testRemoveSources()
public void testUpdate()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |