|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectTestCase
maito.datacollecting.oaipmh.OAIPMHDataSourceTest
public class OAIPMHDataSourceTest
This class implements the RecordParser interface so that OAIPMHDataSource can pass it's data here. 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/.
| Constructor Summary | |
|---|---|
OAIPMHDataSourceTest(java.lang.String name)
|
|
| Method Summary | |
|---|---|
void |
putData(java.lang.String data)
|
void |
testDataFlow()
Tests that the data is passed to the RecordParser (this object). |
void |
testErrorMidStream()
Tests that OAIPMHDataSource behaves correctly when an error occurs somewhere in the middle of the data stream. |
void |
testInvalidParameters()
Tests that OAIPMHDataSource behaves correctly when the parameters are invalid. |
void |
testInvalidRepository()
Tests that OAIPMHDataSource behaves correctly when the repository sends invalid data. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OAIPMHDataSourceTest(java.lang.String name)
| Method Detail |
|---|
public void testDataFlow()
public void testInvalidParameters()
public void testInvalidRepository()
public void testErrorMidStream()
public void putData(java.lang.String data)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||