vgritsenko 2004/01/31 19:44:00
Modified: java/tests/src/org/apache/xindice/core CollectionTest.java
java/tests/src/org/apache/xindice/core/filer
FilerTestBase.java
java/tests/src/org/apache/xindice/integration/client
XmlDbClient.java
java/tests/src/org/apache/xindice/integration/client/resources
BinaryResourceTest.java
Log:
fix typo: close open <filer> tag.
Revision Changes Path
1.3 +3 -3
xml-xindice/java/tests/src/org/apache/xindice/core/CollectionTest.java
Index: CollectionTest.java
===================================================================
RCS file:
/home/cvs/xml-xindice/java/tests/src/org/apache/xindice/core/CollectionTest.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- CollectionTest.java 31 Jan 2004 13:22:53 -0000 1.2
+++ CollectionTest.java 1 Feb 2004 03:44:00 -0000 1.3
@@ -89,7 +89,7 @@
collection = db.createCollection(name, new Configuration(
DOMParser.toDocument(
"<collection compressed=\"true\" name=\"" + name +
"\" inline-metadata=\"true\">" +
- "<filer
class=\"org.apache.xindice.core.filer.BTreeFiler\">" +
+ "<filer
class=\"org.apache.xindice.core.filer.BTreeFiler\" />" +
"</collection>"), false
));
}
1.2 +4 -3
xml-xindice/java/tests/src/org/apache/xindice/core/filer/FilerTestBase.java
Index: FilerTestBase.java
===================================================================
RCS file:
/home/cvs/xml-xindice/java/tests/src/org/apache/xindice/core/filer/FilerTestBase.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- FilerTestBase.java 22 Dec 2003 02:14:07 -0000 1.1
+++ FilerTestBase.java 1 Feb 2004 03:44:00 -0000 1.2
@@ -104,7 +104,8 @@
public void setUp() throws Exception {
root.mkdir();
filer.setLocation(root, TEST_COLLECTION_NAME);
- filer.setConfig(new Configuration(DOMParser.toDocument("<filer
location=\"" + TEST_COLLECTION_NAME + "\"/>")));
+ // FSFiler needs location attribute
+ filer.setConfig(new Configuration(DOMParser.toDocument("<filer
location=\"" + TEST_COLLECTION_NAME + "\" />")));
if (!filer.exists()) {
filer.create();
}
1.16 +3 -3
xml-xindice/java/tests/src/org/apache/xindice/integration/client/XmlDbClient.java
Index: XmlDbClient.java
===================================================================
RCS file:
/home/cvs/xml-xindice/java/tests/src/org/apache/xindice/integration/client/XmlDbClient.java,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- XmlDbClient.java 31 Jan 2004 13:22:54 -0000 1.15
+++ XmlDbClient.java 1 Feb 2004 03:44:00 -0000 1.16
@@ -101,7 +101,7 @@
// Inline meta data is on
String config =
"<collection compressed=\"true\" name=\"" + name + "\"
inline-metadata=\"true\">" +
- " <filer
class=\"org.apache.xindice.core.filer.BTreeFiler\"/>" +
+ " <filer
class=\"org.apache.xindice.core.filer.BTreeFiler\" />" +
"</collection>";
return createCollection(parent, path, DOMParser.toDocument(config));
}
1.5 +2 -2
xml-xindice/java/tests/src/org/apache/xindice/integration/client/resources/BinaryResourceTest.java
Index: BinaryResourceTest.java
===================================================================
RCS file:
/home/cvs/xml-xindice/java/tests/src/org/apache/xindice/integration/client/resources/BinaryResourceTest.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- BinaryResourceTest.java 31 Jan 2004 13:22:54 -0000 1.4
+++ BinaryResourceTest.java 1 Feb 2004 03:44:00 -0000 1.5
@@ -76,7 +76,7 @@
// Override super.setUp(): Need inline meta. See
client.createCollection(String, String)
String cfg
= "<collection compressed=\"true\" name=\"" + name + "\"
inline-metadata=\"true\">"
- + " <filer
class=\"org.apache.xindice.core.filer.BTreeFiler\"/>"
+ + " <filer
class=\"org.apache.xindice.core.filer.BTreeFiler\" />"
+ "</collection>";
this.client.createCollection(XmlDbClientSetup.INSTANCE_NAME + "/" +
XmlDbClientSetup.TEST_COLLECTION_NAME,
name, DOMParser.toDocument(cfg));