vgritsenko 2004/01/27 19:29:53
Modified: java/tests/src/org/apache/xindice/integration/client/services
IndexedSearchTest.java
Log:
Increase amount of test docs for indexed search testings
Revision Changes Path
1.6 +8 -7
xml-xindice/java/tests/src/org/apache/xindice/integration/client/services/IndexedSearchTest.java
Index: IndexedSearchTest.java
===================================================================
RCS file:
/home/cvs/xml-xindice/java/tests/src/org/apache/xindice/integration/client/services/IndexedSearchTest.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- IndexedSearchTest.java 9 Jan 2004 04:15:15 -0000 1.5
+++ IndexedSearchTest.java 28 Jan 2004 03:29:53 -0000 1.6
@@ -130,13 +130,14 @@
* Creates 104 test documents and inserts them into the test Collection.
*/
private void createTestDocs() throws Exception {
- for (int anIndex = 0; anIndex < 100; ++anIndex) {
+ for (int anIndex = 0; anIndex < 200; ++anIndex) {
String aNumber = String.valueOf(anIndex);
- String aDocument = "<?xml version='1.0'?>" +
+ String aDocument =
+ "<?xml version='1.0'?>" +
"<person number='" + aNumber + "'>" +
- "<first>Sally</first>" +
- "<last>Jones" + aNumber + "</last>" +
- "<phone type='home'>555-345-6789</phone>" +
+ " <first>Sally</first>" +
+ " <last>Jones" + aNumber + "</last>" +
+ " <phone type='home'>555-345-6789</phone>" +
"</person>";
this.client.insertDocument(INDEXED_SEARCH_TEST_COLLECTION_PATH,
"doc" + String.valueOf(anIndex), aDocument);
}