git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@562837 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Ryan McKinley 2007-08-05 06:10:48 +00:00
parent fdc4ed58b4
commit 0d912477cc
1 changed files with 5 additions and 5 deletions

View File

@ -140,7 +140,7 @@ public class TestHarness {
* :TODO: currently only deals with one add/doc at a time, this will need changed if/when SOLR-2 is resolved
*
* @param xml The XML of the update
* @return null if succesful, otherwise the XML response to the update
* @return null if successful, otherwise the XML response to the update
*/
public String validateUpdate(String xml) throws SAXException {
return checkUpdateStatus(xml, "0");
@ -152,7 +152,7 @@ public class TestHarness {
* :TODO: currently only deals with one add/doc at a time, this will need changed if/when SOLR-2 is resolved
*
* @param xml The XML of the update
* @return null if succesful, otherwise the XML response to the update
* @return null if successful, otherwise the XML response to the update
*/
public String validateErrorUpdate(String xml) throws SAXException {
return checkUpdateStatus(xml, "1");
@ -164,7 +164,7 @@ public class TestHarness {
* :TODO: currently only deals with one add/doc at a time, this will need changed if/when SOLR-2 is resolved
*
* @param xml The XML of the update
* @return null if succesful, otherwise the XML response to the update
* @return null if successful, otherwise the XML response to the update
*/
public String checkUpdateStatus(String xml, String code) throws SAXException {
try {
@ -181,7 +181,7 @@ public class TestHarness {
* Validates that an add of a single document results in success.
*
* @param fieldsAndValues Odds are field names, Evens are values
* @return null if succesful, otherwise the XML response to the update
* @return null if successful, otherwise the XML response to the update
* @see #appendSimpleDoc
*/
public String validateAddDoc(String... fieldsAndValues)
@ -383,7 +383,7 @@ public class TestHarness {
try {
StringWriter r = new StringWriter();
// this is anoying
// this is annoying
if (null == args || 0 == args.length) {
XML.writeXML(r, tag, null);
} else {