[7588] | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
---|
| 2 | <!--NewPage--> |
---|
| 3 | <HTML> |
---|
| 4 | <HEAD> |
---|
| 5 | <!-- Generated by javadoc (build 1.6.0_24) on Mon Jun 25 15:26:33 EDT 2012 --> |
---|
| 6 | <META http-equiv="Content-Type" content="text/html; charset=utf-8"> |
---|
| 7 | <TITLE> |
---|
| 8 | AbstractSolrTestCase (Solr 4.0.0-ALPHA API) |
---|
| 9 | </TITLE> |
---|
| 10 | |
---|
| 11 | <META NAME="date" CONTENT="2012-06-25"> |
---|
| 12 | |
---|
| 13 | <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> |
---|
| 14 | |
---|
| 15 | <SCRIPT type="text/javascript"> |
---|
| 16 | function windowTitle() |
---|
| 17 | { |
---|
| 18 | if (location.href.indexOf('is-external=true') == -1) { |
---|
| 19 | parent.document.title="AbstractSolrTestCase (Solr 4.0.0-ALPHA API)"; |
---|
| 20 | } |
---|
| 21 | } |
---|
| 22 | </SCRIPT> |
---|
| 23 | <NOSCRIPT> |
---|
| 24 | </NOSCRIPT> |
---|
| 25 | |
---|
| 26 | </HEAD> |
---|
| 27 | |
---|
| 28 | <BODY BGCOLOR="white" onload="windowTitle();"> |
---|
| 29 | <HR> |
---|
| 30 | |
---|
| 31 | |
---|
| 32 | <!-- ========= START OF TOP NAVBAR ======= --> |
---|
| 33 | <A NAME="navbar_top"><!-- --></A> |
---|
| 34 | <A HREF="#skip-navbar_top" title="Skip navigation links"></A> |
---|
| 35 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
---|
| 36 | <TR> |
---|
| 37 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
---|
| 38 | <A NAME="navbar_top_firstrow"><!-- --></A> |
---|
| 39 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
---|
| 40 | <TR ALIGN="center" VALIGN="top"> |
---|
| 41 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
---|
| 42 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
---|
| 43 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
---|
| 44 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/AbstractSolrTestCase.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
---|
| 45 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
---|
| 46 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
---|
| 47 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
---|
| 48 | </TR> |
---|
| 49 | </TABLE> |
---|
| 50 | </TD> |
---|
| 51 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
---|
| 52 | </EM> |
---|
| 53 | </TD> |
---|
| 54 | </TR> |
---|
| 55 | |
---|
| 56 | <TR> |
---|
| 57 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
| 58 | PREV CLASS |
---|
| 59 | <A HREF="../../../../org/apache/solr/util/AbstractSolrTestCase.Doc.html" title="class in org.apache.solr.util"><B>NEXT CLASS</B></A></FONT></TD> |
---|
| 60 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
| 61 | <A HREF="../../../../index.html?org/apache/solr/util/AbstractSolrTestCase.html" target="_top"><B>FRAMES</B></A> |
---|
| 62 | <A HREF="AbstractSolrTestCase.html" target="_top"><B>NO FRAMES</B></A> |
---|
| 63 | <SCRIPT type="text/javascript"> |
---|
| 64 | <!-- |
---|
| 65 | if(window==top) { |
---|
| 66 | document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
---|
| 67 | } |
---|
| 68 | //--> |
---|
| 69 | </SCRIPT> |
---|
| 70 | <NOSCRIPT> |
---|
| 71 | <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
---|
| 72 | </NOSCRIPT> |
---|
| 73 | |
---|
| 74 | |
---|
| 75 | </FONT></TD> |
---|
| 76 | </TR> |
---|
| 77 | <TR> |
---|
| 78 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
| 79 | SUMMARY: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
---|
| 80 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
| 81 | DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
---|
| 82 | </TR> |
---|
| 83 | </TABLE> |
---|
| 84 | <A NAME="skip-navbar_top"></A> |
---|
| 85 | <!-- ========= END OF TOP NAVBAR ========= --> |
---|
| 86 | |
---|
| 87 | <HR> |
---|
| 88 | <!-- ======== START OF CLASS DATA ======== --> |
---|
| 89 | <H2> |
---|
| 90 | <FONT SIZE="-1"> |
---|
| 91 | org.apache.solr.util</FONT> |
---|
| 92 | <BR> |
---|
| 93 | Class AbstractSolrTestCase</H2> |
---|
| 94 | <PRE> |
---|
| 95 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A> |
---|
| 96 | <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="http://junit.sourceforge.net/javadoc/org/junit/Assert.html?is-external=true" title="class or interface in org.junit">org.junit.Assert</A> |
---|
| 97 | <IMG SRC="../../../../resources/inherit.gif" ALT="extended by ">org.apache.lucene.util.LuceneTestCase |
---|
| 98 | <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.solr.util.AbstractSolrTestCase</B> |
---|
| 99 | </PRE> |
---|
| 100 | <HR> |
---|
| 101 | <DL> |
---|
| 102 | <DT><PRE>public abstract class <B>AbstractSolrTestCase</B><DT>extends org.apache.lucene.util.LuceneTestCase</DL> |
---|
| 103 | </PRE> |
---|
| 104 | |
---|
| 105 | <P> |
---|
| 106 | An Abstract base class that makes writing Solr JUnit tests "easier" |
---|
| 107 | |
---|
| 108 | <p> |
---|
| 109 | Test classes that subclass this need only specify the path to the |
---|
| 110 | schema.xml file (:TODO: the solrconfig.xml as well) and write some |
---|
| 111 | testMethods. This class takes care of creating/destroying the index, |
---|
| 112 | and provides several assert methods to assist you. |
---|
| 113 | </p> |
---|
| 114 | <P> |
---|
| 115 | |
---|
| 116 | <P> |
---|
| 117 | <DL> |
---|
| 118 | <DT><B>See Also:</B><DD><A HREF="../../../../org/apache/solr/util/AbstractSolrTestCase.html#setUp()"><CODE>setUp()</CODE></A>, |
---|
| 119 | <A HREF="../../../../org/apache/solr/util/AbstractSolrTestCase.html#tearDown()"><CODE>tearDown()</CODE></A></DL> |
---|
| 120 | <HR> |
---|
| 121 | |
---|
| 122 | <P> |
---|
| 123 | <!-- ======== NESTED CLASS SUMMARY ======== --> |
---|
| 124 | |
---|
| 125 | <A NAME="nested_class_summary"><!-- --></A> |
---|
| 126 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 127 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 128 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
| 129 | <B>Nested Class Summary</B></FONT></TH> |
---|
| 130 | </TR> |
---|
| 131 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 132 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 133 | <CODE>static class</CODE></FONT></TD> |
---|
| 134 | <TD><CODE><B><A HREF="../../../../org/apache/solr/util/AbstractSolrTestCase.Doc.html" title="class in org.apache.solr.util">AbstractSolrTestCase.Doc</A></B></CODE> |
---|
| 135 | |
---|
| 136 | <BR> |
---|
| 137 | Neccessary to make method signatures un-ambiguous</TD> |
---|
| 138 | </TR> |
---|
| 139 | </TABLE> |
---|
| 140 | <A NAME="nested_classes_inherited_from_class_org.apache.lucene.util.LuceneTestCase"><!-- --></A> |
---|
| 141 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 142 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
| 143 | <TH ALIGN="left"><B>Nested classes/interfaces inherited from class org.apache.lucene.util.LuceneTestCase</B></TH> |
---|
| 144 | </TR> |
---|
| 145 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 146 | <TD><CODE>org.apache.lucene.util.LuceneTestCase.AwaitsFix, org.apache.lucene.util.LuceneTestCase.Nightly, org.apache.lucene.util.LuceneTestCase.Slow, org.apache.lucene.util.LuceneTestCase.SuppressCodecs, org.apache.lucene.util.LuceneTestCase.Weekly</CODE></TD> |
---|
| 147 | </TR> |
---|
| 148 | </TABLE> |
---|
| 149 | |
---|
| 150 | <!-- =========== FIELD SUMMARY =========== --> |
---|
| 151 | |
---|
| 152 | <A NAME="field_summary"><!-- --></A> |
---|
| 153 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 154 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 155 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
| 156 | <B>Field Summary</B></FONT></TH> |
---|
| 157 | </TR> |
---|
| 158 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 159 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 160 | <CODE>protected <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</A></CODE></FONT></TD> |
---|
| 161 | <TD><CODE><B><A HREF="../../../../org/apache/solr/util/AbstractSolrTestCase.html#dataDir">dataDir</A></B></CODE> |
---|
| 162 | |
---|
| 163 | <BR> |
---|
| 164 | The directory used to story the index managed by the TestHarness h</TD> |
---|
| 165 | </TR> |
---|
| 166 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 167 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 168 | <CODE>protected <A HREF="../../../../org/apache/solr/util/TestHarness.html" title="class in org.apache.solr.util">TestHarness</A></CODE></FONT></TD> |
---|
| 169 | <TD><CODE><B><A HREF="../../../../org/apache/solr/util/AbstractSolrTestCase.html#h">h</A></B></CODE> |
---|
| 170 | |
---|
| 171 | <BR> |
---|
| 172 | Harness initialized by initTestHarness.</TD> |
---|
| 173 | </TR> |
---|
| 174 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 175 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 176 | <CODE>static org.slf4j.Logger</CODE></FONT></TD> |
---|
| 177 | <TD><CODE><B><A HREF="../../../../org/apache/solr/util/AbstractSolrTestCase.html#log">log</A></B></CODE> |
---|
| 178 | |
---|
| 179 | <BR> |
---|
| 180 | </TD> |
---|
| 181 | </TR> |
---|
| 182 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 183 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 184 | <CODE>protected <A HREF="../../../../org/apache/solr/util/TestHarness.LocalRequestFactory.html" title="class in org.apache.solr.util">TestHarness.LocalRequestFactory</A></CODE></FONT></TD> |
---|
| 185 | <TD><CODE><B><A HREF="../../../../org/apache/solr/util/AbstractSolrTestCase.html#lrf">lrf</A></B></CODE> |
---|
| 186 | |
---|
| 187 | <BR> |
---|
| 188 | LocalRequestFactory initialized by initTestHarness using sensible |
---|
| 189 | defaults.</TD> |
---|
| 190 | </TR> |
---|
| 191 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 192 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 193 | <CODE>static <A HREF="http://junit.sourceforge.net/javadoc/org/junit/rules.TestRule.html?is-external=true" title="class or interface in org.junit">org.junit.rules.TestRule</A></CODE></FONT></TD> |
---|
| 194 | <TD><CODE><B><A HREF="../../../../org/apache/solr/util/AbstractSolrTestCase.html#solrClassRules">solrClassRules</A></B></CODE> |
---|
| 195 | |
---|
| 196 | <BR> |
---|
| 197 | </TD> |
---|
| 198 | </TR> |
---|
| 199 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 200 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 201 | <CODE>protected org.apache.solr.core.SolrConfig</CODE></FONT></TD> |
---|
| 202 | <TD><CODE><B><A HREF="../../../../org/apache/solr/util/AbstractSolrTestCase.html#solrConfig">solrConfig</A></B></CODE> |
---|
| 203 | |
---|
| 204 | <BR> |
---|
| 205 | </TD> |
---|
| 206 | </TR> |
---|
| 207 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 208 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 209 | <CODE> <A HREF="http://junit.sourceforge.net/javadoc/org/junit/rules.TestRule.html?is-external=true" title="class or interface in org.junit">org.junit.rules.TestRule</A></CODE></FONT></TD> |
---|
| 210 | <TD><CODE><B><A HREF="../../../../org/apache/solr/util/AbstractSolrTestCase.html#solrTestRules">solrTestRules</A></B></CODE> |
---|
| 211 | |
---|
| 212 | <BR> |
---|
| 213 | </TD> |
---|
| 214 | </TR> |
---|
| 215 | </TABLE> |
---|
| 216 | <A NAME="fields_inherited_from_class_org.apache.lucene.util.LuceneTestCase"><!-- --></A> |
---|
| 217 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 218 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
| 219 | <TH ALIGN="left"><B>Fields inherited from class org.apache.lucene.util.LuceneTestCase</B></TH> |
---|
| 220 | </TR> |
---|
| 221 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 222 | <TD><CODE>classRules, DEFAULT_LINE_DOCS_FILE, INFOSTREAM, JENKINS_LARGE_LINE_DOCS_FILE, PREFLEX_IMPERSONATION_IS_ACTIVE, RANDOM_MULTIPLIER, ruleChain, suiteFailureMarker, SYSPROP_AWAITSFIX, SYSPROP_NIGHTLY, SYSPROP_SLOW, SYSPROP_WEEKLY, TEMP_DIR, TEST_AWAITSFIX, TEST_CODEC, TEST_DIRECTORY, TEST_LINE_DOCS_FILE, TEST_NIGHTLY, TEST_POSTINGSFORMAT, TEST_SLOW, TEST_THROTTLING, TEST_VERSION_CURRENT, TEST_WEEKLY, VERBOSE</CODE></TD> |
---|
| 223 | </TR> |
---|
| 224 | </TABLE> |
---|
| 225 | |
---|
| 226 | <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
---|
| 227 | |
---|
| 228 | <A NAME="constructor_summary"><!-- --></A> |
---|
| 229 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 230 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 231 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
| 232 | <B>Constructor Summary</B></FONT></TH> |
---|
| 233 | </TR> |
---|
| 234 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 235 | <TD><CODE><B><A HREF="../../../../org/apache/solr/util/AbstractSolrTestCase.html#AbstractSolrTestCase()">AbstractSolrTestCase</A></B>()</CODE> |
---|
| 236 | |
---|
| 237 | <BR> |
---|
| 238 | </TD> |
---|
| 239 | </TR> |
---|
| 240 | </TABLE> |
---|
| 241 | |
---|
| 242 | <!-- ========== METHOD SUMMARY =========== --> |
---|
| 243 | |
---|
| 244 | <A NAME="method_summary"><!-- --></A> |
---|
| 245 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 246 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 247 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
| 248 | <B>Method Summary</B></FONT></TH> |
---|
| 249 | </TR> |
---|
| 250 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 251 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 252 | <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
---|
| 253 | <TD><CODE><B><A HREF="../../../../org/apache/solr/util/AbstractSolrTestCase.html#add(org.apache.solr.util.AbstractSolrTestCase.Doc, java.lang.String...)">add</A></B>(<A HREF="../../../../org/apache/solr/util/AbstractSolrTestCase.Doc.html" title="class in org.apache.solr.util">AbstractSolrTestCase.Doc</A> doc, |
---|
| 254 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>... args)</CODE> |
---|
| 255 | |
---|
| 256 | <BR> |
---|
| 257 | Generates an <add><doc>...</TD> |
---|
| 258 | </TR> |
---|
| 259 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 260 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 261 | <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
---|
| 262 | <TD><CODE><B><A HREF="../../../../org/apache/solr/util/AbstractSolrTestCase.html#adoc(int, java.lang.String...)">adoc</A></B>(int commitWithin, |
---|
| 263 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>... fieldsAndValues)</CODE> |
---|
| 264 | |
---|
| 265 | <BR> |
---|
| 266 | Generates a simple <add><doc>...</TD> |
---|
| 267 | </TR> |
---|
| 268 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 269 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 270 | <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
---|
| 271 | <TD><CODE><B><A HREF="../../../../org/apache/solr/util/AbstractSolrTestCase.html#adoc(org.apache.solr.common.SolrInputDocument)">adoc</A></B>(org.apache.solr.common.SolrInputDocument sdoc)</CODE> |
---|
| 272 | |
---|
| 273 | <BR> |
---|
| 274 | Generates a simple <add><doc>...</TD> |
---|
| 275 | </TR> |
---|
| 276 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 277 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 278 | <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
---|
| 279 | <TD><CODE><B><A HREF="../../../../org/apache/solr/util/AbstractSolrTestCase.html#adoc(java.lang.String...)">adoc</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>... fieldsAndValues)</CODE> |
---|
| 280 | |
---|
| 281 | <BR> |
---|
| 282 | Generates a simple <add><doc>...</TD> |
---|
| 283 | </TR> |
---|
| 284 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 285 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 286 | <CODE>static void</CODE></FONT></TD> |
---|
| 287 | <TD><CODE><B><A HREF="../../../../org/apache/solr/util/AbstractSolrTestCase.html#afterClassAbstractSolrTestCase()">afterClassAbstractSolrTestCase</A></B>()</CODE> |
---|
| 288 | |
---|
| 289 | <BR> |
---|
| 290 | </TD> |
---|
| 291 | </TR> |
---|
| 292 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 293 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 294 | <CODE> void</CODE></FONT></TD> |
---|
| 295 | <TD><CODE><B><A HREF="../../../../org/apache/solr/util/AbstractSolrTestCase.html#assertFailedU(java.lang.String)">assertFailedU</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> update)</CODE> |
---|
| 296 | |
---|
| 297 | <BR> |
---|
| 298 | Validates an update XML String failed</TD> |
---|
| 299 | </TR> |
---|
| 300 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 301 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 302 | <CODE> void</CODE></FONT></TD> |
---|
| 303 | <TD><CODE><B><A HREF="../../../../org/apache/solr/util/AbstractSolrTestCase.html#assertFailedU(java.lang.String, java.lang.String)">assertFailedU</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> message, |
---|
| 304 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> update)</CODE> |
---|
| 305 | |
---|
| 306 | <BR> |
---|
| 307 | Validates an update XML String failed</TD> |
---|
| 308 | </TR> |
---|
| 309 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 310 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 311 | <CODE> void</CODE></FONT></TD> |
---|
| 312 | <TD><CODE><B><A HREF="../../../../org/apache/solr/util/AbstractSolrTestCase.html#assertQ(org.apache.solr.request.SolrQueryRequest, java.lang.String...)">assertQ</A></B>(org.apache.solr.request.SolrQueryRequest req, |
---|
| 313 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>... tests)</CODE> |
---|
| 314 | |
---|
| 315 | <BR> |
---|
| 316 | Validates a query matches some XPath test expressions and closes the query</TD> |
---|
| 317 | </TR> |
---|
| 318 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 319 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 320 | <CODE> void</CODE></FONT></TD> |
---|
| 321 | <TD><CODE><B><A HREF="../../../../org/apache/solr/util/AbstractSolrTestCase.html#assertQ(java.lang.String, org.apache.solr.request.SolrQueryRequest, java.lang.String...)">assertQ</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> message, |
---|
| 322 | org.apache.solr.request.SolrQueryRequest req, |
---|
| 323 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>... tests)</CODE> |
---|
| 324 | |
---|
| 325 | <BR> |
---|
| 326 | Validates a query matches some XPath test expressions and closes the query</TD> |
---|
| 327 | </TR> |
---|
| 328 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 329 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 330 | <CODE> void</CODE></FONT></TD> |
---|
| 331 | <TD><CODE><B><A HREF="../../../../org/apache/solr/util/AbstractSolrTestCase.html#assertQEx(java.lang.String, org.apache.solr.request.SolrQueryRequest, int)">assertQEx</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> message, |
---|
| 332 | org.apache.solr.request.SolrQueryRequest req, |
---|
| 333 | int code)</CODE> |
---|
| 334 | |
---|
| 335 | <BR> |
---|
| 336 | Makes sure a query throws a SolrException with the listed response code</TD> |
---|
| 337 | </TR> |
---|
| 338 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 339 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 340 | <CODE> void</CODE></FONT></TD> |
---|
| 341 | <TD><CODE><B><A HREF="../../../../org/apache/solr/util/AbstractSolrTestCase.html#assertQEx(java.lang.String, org.apache.solr.request.SolrQueryRequest, org.apache.solr.common.SolrException.ErrorCode)">assertQEx</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> message, |
---|
| 342 | org.apache.solr.request.SolrQueryRequest req, |
---|
| 343 | org.apache.solr.common.SolrException.ErrorCode code)</CODE> |
---|
| 344 | |
---|
| 345 | <BR> |
---|
| 346 | </TD> |
---|
| 347 | </TR> |
---|
| 348 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 349 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 350 | <CODE> void</CODE></FONT></TD> |
---|
| 351 | <TD><CODE><B><A HREF="../../../../org/apache/solr/util/AbstractSolrTestCase.html#assertU(java.lang.String)">assertU</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> update)</CODE> |
---|
| 352 | |
---|
| 353 | <BR> |
---|
| 354 | Validates an update XML String is successful</TD> |
---|
| 355 | </TR> |
---|
| 356 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 357 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 358 | <CODE> void</CODE></FONT></TD> |
---|
| 359 | <TD><CODE><B><A HREF="../../../../org/apache/solr/util/AbstractSolrTestCase.html#assertU(java.lang.String, java.lang.String)">assertU</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> message, |
---|
| 360 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> update)</CODE> |
---|
| 361 | |
---|
| 362 | <BR> |
---|
| 363 | Validates an update XML String is successful</TD> |
---|
| 364 | </TR> |
---|
| 365 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 366 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 367 | <CODE>static void</CODE></FONT></TD> |
---|
| 368 | <TD><CODE><B><A HREF="../../../../org/apache/solr/util/AbstractSolrTestCase.html#beforeClassAbstractSolrTestCase()">beforeClassAbstractSolrTestCase</A></B>()</CODE> |
---|
| 369 | |
---|
| 370 | <BR> |
---|
| 371 | </TD> |
---|
| 372 | </TR> |
---|
| 373 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 374 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 375 | <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
---|
| 376 | <TD><CODE><B><A HREF="../../../../org/apache/solr/util/AbstractSolrTestCase.html#commit(java.lang.String...)">commit</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>... args)</CODE> |
---|
| 377 | |
---|
| 378 | <BR> |
---|
| 379 | </TD> |
---|
| 380 | </TR> |
---|
| 381 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 382 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 383 | <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
---|
| 384 | <TD><CODE><B><A HREF="../../../../org/apache/solr/util/AbstractSolrTestCase.html#delI(java.lang.String, java.lang.String...)">delI</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> id, |
---|
| 385 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>... args)</CODE> |
---|
| 386 | |
---|
| 387 | <BR> |
---|
| 388 | Generates a <delete>...</TD> |
---|
| 389 | </TR> |
---|
| 390 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 391 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 392 | <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
---|
| 393 | <TD><CODE><B><A HREF="../../../../org/apache/solr/util/AbstractSolrTestCase.html#delQ(java.lang.String, java.lang.String...)">delQ</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> q, |
---|
| 394 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>... args)</CODE> |
---|
| 395 | |
---|
| 396 | <BR> |
---|
| 397 | Generates a <delete>...</TD> |
---|
| 398 | </TR> |
---|
| 399 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 400 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 401 | <CODE> <A HREF="../../../../org/apache/solr/util/AbstractSolrTestCase.Doc.html" title="class in org.apache.solr.util">AbstractSolrTestCase.Doc</A></CODE></FONT></TD> |
---|
| 402 | <TD><CODE><B><A HREF="../../../../org/apache/solr/util/AbstractSolrTestCase.html#doc(java.lang.String...)">doc</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>... fieldsAndValues)</CODE> |
---|
| 403 | |
---|
| 404 | <BR> |
---|
| 405 | Generates a simple <doc>...</TD> |
---|
| 406 | </TR> |
---|
| 407 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 408 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 409 | <CODE>static <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</A></CODE></FONT></TD> |
---|
| 410 | <TD><CODE><B><A HREF="../../../../org/apache/solr/util/AbstractSolrTestCase.html#getFile(java.lang.String)">getFile</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name)</CODE> |
---|
| 411 | |
---|
| 412 | <BR> |
---|
| 413 | </TD> |
---|
| 414 | </TR> |
---|
| 415 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 416 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 417 | <CODE>abstract <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
---|
| 418 | <TD><CODE><B><A HREF="../../../../org/apache/solr/util/AbstractSolrTestCase.html#getSchemaFile()">getSchemaFile</A></B>()</CODE> |
---|
| 419 | |
---|
| 420 | <BR> |
---|
| 421 | Subclasses must define this method to return the name of the |
---|
| 422 | schema.xml they wish to use.</TD> |
---|
| 423 | </TR> |
---|
| 424 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 425 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 426 | <CODE>abstract <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
---|
| 427 | <TD><CODE><B><A HREF="../../../../org/apache/solr/util/AbstractSolrTestCase.html#getSolrConfigFile()">getSolrConfigFile</A></B>()</CODE> |
---|
| 428 | |
---|
| 429 | <BR> |
---|
| 430 | Subclasses must define this method to return the name of the |
---|
| 431 | solrconfig.xml they wish to use.</TD> |
---|
| 432 | </TR> |
---|
| 433 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 434 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 435 | <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
---|
| 436 | <TD><CODE><B><A HREF="../../../../org/apache/solr/util/AbstractSolrTestCase.html#getSolrHome()">getSolrHome</A></B>()</CODE> |
---|
| 437 | |
---|
| 438 | <BR> |
---|
| 439 | Subclasses can override this to change a test's solr home |
---|
| 440 | (default is in test-files)</TD> |
---|
| 441 | </TR> |
---|
| 442 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 443 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 444 | <CODE>static void</CODE></FONT></TD> |
---|
| 445 | <TD><CODE><B><A HREF="../../../../org/apache/solr/util/AbstractSolrTestCase.html#ignoreException(java.lang.String)">ignoreException</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> pattern)</CODE> |
---|
| 446 | |
---|
| 447 | <BR> |
---|
| 448 | Causes an exception matching the regex pattern to not be logged.</TD> |
---|
| 449 | </TR> |
---|
| 450 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 451 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 452 | <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
---|
| 453 | <TD><CODE><B><A HREF="../../../../org/apache/solr/util/AbstractSolrTestCase.html#optimize(java.lang.String...)">optimize</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>... args)</CODE> |
---|
| 454 | |
---|
| 455 | <BR> |
---|
| 456 | </TD> |
---|
| 457 | </TR> |
---|
| 458 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 459 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 460 | <CODE> void</CODE></FONT></TD> |
---|
| 461 | <TD><CODE><B><A HREF="../../../../org/apache/solr/util/AbstractSolrTestCase.html#postSetUp()">postSetUp</A></B>()</CODE> |
---|
| 462 | |
---|
| 463 | <BR> |
---|
| 464 | Subclasses that override setUp can optionally call this method |
---|
| 465 | to log the fact that their setUp process has ended.</TD> |
---|
| 466 | </TR> |
---|
| 467 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 468 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 469 | <CODE> void</CODE></FONT></TD> |
---|
| 470 | <TD><CODE><B><A HREF="../../../../org/apache/solr/util/AbstractSolrTestCase.html#preTearDown()">preTearDown</A></B>()</CODE> |
---|
| 471 | |
---|
| 472 | <BR> |
---|
| 473 | Subclasses that override tearDown can optionally call this method |
---|
| 474 | to log the fact that the tearDown process has started.</TD> |
---|
| 475 | </TR> |
---|
| 476 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 477 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 478 | <CODE>static boolean</CODE></FONT></TD> |
---|
| 479 | <TD><CODE><B><A HREF="../../../../org/apache/solr/util/AbstractSolrTestCase.html#recurseDelete(java.io.File)">recurseDelete</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</A> f)</CODE> |
---|
| 480 | |
---|
| 481 | <BR> |
---|
| 482 | </TD> |
---|
| 483 | </TR> |
---|
| 484 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 485 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 486 | <CODE> org.apache.solr.request.SolrQueryRequest</CODE></FONT></TD> |
---|
| 487 | <TD><CODE><B><A HREF="../../../../org/apache/solr/util/AbstractSolrTestCase.html#req(java.lang.String...)">req</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>... q)</CODE> |
---|
| 488 | |
---|
| 489 | <BR> |
---|
| 490 | Generates a SolrQueryRequest using the LocalRequestFactory</TD> |
---|
| 491 | </TR> |
---|
| 492 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 493 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 494 | <CODE> org.apache.solr.request.SolrQueryRequest</CODE></FONT></TD> |
---|
| 495 | <TD><CODE><B><A HREF="../../../../org/apache/solr/util/AbstractSolrTestCase.html#req(java.lang.String[], java.lang.String...)">req</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[] params, |
---|
| 496 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>... moreParams)</CODE> |
---|
| 497 | |
---|
| 498 | <BR> |
---|
| 499 | Generates a SolrQueryRequest using the LocalRequestFactory</TD> |
---|
| 500 | </TR> |
---|
| 501 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 502 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 503 | <CODE>static void</CODE></FONT></TD> |
---|
| 504 | <TD><CODE><B><A HREF="../../../../org/apache/solr/util/AbstractSolrTestCase.html#resetExceptionIgnores()">resetExceptionIgnores</A></B>()</CODE> |
---|
| 505 | |
---|
| 506 | <BR> |
---|
| 507 | </TD> |
---|
| 508 | </TR> |
---|
| 509 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 510 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 511 | <CODE> void</CODE></FONT></TD> |
---|
| 512 | <TD><CODE><B><A HREF="../../../../org/apache/solr/util/AbstractSolrTestCase.html#setUp()">setUp</A></B>()</CODE> |
---|
| 513 | |
---|
| 514 | <BR> |
---|
| 515 | Initializes things your test might need |
---|
| 516 | |
---|
| 517 | |
---|
| 518 | Creates a dataDir in the "java.io.tmpdir" |
---|
| 519 | initializes the TestHarness h using this data directory, and getSchemaPath() |
---|
| 520 | initializes the LocalRequestFactory lrf using sensible defaults. |
---|
| 521 | </TD> |
---|
| 522 | </TR> |
---|
| 523 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 524 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 525 | <CODE> void</CODE></FONT></TD> |
---|
| 526 | <TD><CODE><B><A HREF="../../../../org/apache/solr/util/AbstractSolrTestCase.html#tearDown()">tearDown</A></B>()</CODE> |
---|
| 527 | |
---|
| 528 | <BR> |
---|
| 529 | Shuts down the test harness, and makes the best attempt possible |
---|
| 530 | to delete dataDir, unless the system property "solr.test.leavedatadir" |
---|
| 531 | is set.</TD> |
---|
| 532 | </TR> |
---|
| 533 | </TABLE> |
---|
| 534 | <A NAME="methods_inherited_from_class_org.apache.lucene.util.LuceneTestCase"><!-- --></A> |
---|
| 535 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 536 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
| 537 | <TH ALIGN="left"><B>Methods inherited from class org.apache.lucene.util.LuceneTestCase</B></TH> |
---|
| 538 | </TR> |
---|
| 539 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 540 | <TD><CODE>assertSaneFieldCaches, asSet, assumeFalse, assumeNoException, assumeTrue, atLeast, atLeast, closeAfterSuite, closeAfterTest, defaultCodecSupportsDocValues, dumpArray, dumpIterator, getDataFile, getOnlySegmentReader, getTestClass, getTestName, isTestThread, localeForName, maybeWrapReader, newAlcoholicMergePolicy, newAlcoholicMergePolicy, newDirectory, newDirectory, newDirectory, newDirectory, newField, newField, newFSDirectory, newFSDirectory, newIndexWriterConfig, newIndexWriterConfig, newIOContext, newLogMergePolicy, newLogMergePolicy, newLogMergePolicy, newLogMergePolicy, newLogMergePolicy, newSearcher, newSearcher, newStringField, newStringField, newTextField, newTextField, newTieredMergePolicy, newTieredMergePolicy, random, randomLocale, randomTimeZone, rarely, rarely, usually, usually</CODE></TD> |
---|
| 541 | </TR> |
---|
| 542 | </TABLE> |
---|
| 543 | <A NAME="methods_inherited_from_class_org.junit.Assert"><!-- --></A> |
---|
| 544 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 545 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
| 546 | <TH ALIGN="left"><B>Methods inherited from class org.junit.<A HREF="http://junit.sourceforge.net/javadoc/org/junit/Assert.html?is-external=true" title="class or interface in org.junit">Assert</A></B></TH> |
---|
| 547 | </TR> |
---|
| 548 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 549 | <TD><CODE><A HREF="http://junit.sourceforge.net/javadoc/org/junit/Assert.html?is-external=true#assertArrayEquals(byte[], byte[])" title="class or interface in org.junit">assertArrayEquals</A>, <A HREF="http://junit.sourceforge.net/javadoc/org/junit/Assert.html?is-external=true#assertArrayEquals(char[], char[])" title="class or interface in org.junit">assertArrayEquals</A>, <A HREF="http://junit.sourceforge.net/javadoc/org/junit/Assert.html?is-external=true#assertArrayEquals(double[], double[], double)" title="class or interface in org.junit">assertArrayEquals</A>, <A HREF="http://junit.sourceforge.net/javadoc/org/junit/Assert.html?is-external=true#assertArrayEquals(float[], float[], float)" title="class or interface in org.junit">assertArrayEquals</A>, <A HREF="http://junit.sourceforge.net/javadoc/org/junit/Assert.html?is-external=true#assertArrayEquals(int[], int[])" title="class or interface in org.junit">assertArrayEquals</A>, <A HREF="http://junit.sourceforge.net/javadoc/org/junit/Assert.html?is-external=true#assertArrayEquals(long[], long[])" title="class or interface in org.junit">assertArrayEquals</A>, <A HREF="http://junit.sourceforge.net/javadoc/org/junit/Assert.html?is-external=true#assertArrayEquals(java.lang.Object[], java.lang.Object[])" title="class or interface in org.junit">assertArrayEquals</A>, <A HREF="http://junit.sourceforge.net/javadoc/org/junit/Assert.html?is-external=true#assertArrayEquals(short[], short[])" title="class or interface in org.junit">assertArrayEquals</A>, <A HREF="http://junit.sourceforge.net/javadoc/org/junit/Assert.html?is-external=true#assertArrayEquals(java.lang.String, byte[], byte[])" title="class or interface in org.junit">assertArrayEquals</A>, <A HREF="http://junit.sourceforge.net/javadoc/org/junit/Assert.html?is-external=true#assertArrayEquals(java.lang.String, char[], char[])" title="class or interface in org.junit">assertArrayEquals</A>, <A HREF="http://junit.sourceforge.net/javadoc/org/junit/Assert.html?is-external=true#assertArrayEquals(java.lang.String, double[], double[], double)" title="class or interface in org.junit">assertArrayEquals</A>, <A HREF="http://junit.sourceforge.net/javadoc/org/junit/Assert.html?is-external=true#assertArrayEquals(java.lang.String, float[], float[], float)" title="class or interface in org.junit">assertArrayEquals</A>, <A HREF="http://junit.sourceforge.net/javadoc/org/junit/Assert.html?is-external=true#assertArrayEquals(java.lang.String, int[], int[])" title="class or interface in org.junit">assertArrayEquals</A>, <A HREF="http://junit.sourceforge.net/javadoc/org/junit/Assert.html?is-external=true#assertArrayEquals(java.lang.String, long[], long[])" title="class or interface in org.junit">assertArrayEquals</A>, <A HREF="http://junit.sourceforge.net/javadoc/org/junit/Assert.html?is-external=true#assertArrayEquals(java.lang.String, java.lang.Object[], java.lang.Object[])" title="class or interface in org.junit">assertArrayEquals</A>, <A HREF="http://junit.sourceforge.net/javadoc/org/junit/Assert.html?is-external=true#assertArrayEquals(java.lang.String, short[], short[])" title="class or interface in org.junit">assertArrayEquals</A>, <A HREF="http://junit.sourceforge.net/javadoc/org/junit/Assert.html?is-external=true#assertEquals(double, double)" title="class or interface in org.junit">assertEquals</A>, <A HREF="http://junit.sourceforge.net/javadoc/org/junit/Assert.html?is-external=true#assertEquals(double, double, double)" title="class or interface in org.junit">assertEquals</A>, <A HREF="http://junit.sourceforge.net/javadoc/org/junit/Assert.html?is-external=true#assertEquals(long, long)" title="class or interface in org.junit">assertEquals</A>, <A HREF="http://junit.sourceforge.net/javadoc/org/junit/Assert.html?is-external=true#assertEquals(java.lang.Object[], java.lang.Object[])" title="class or interface in org.junit">assertEquals</A>, <A HREF="http://junit.sourceforge.net/javadoc/org/junit/Assert.html?is-external=true#assertEquals(java.lang.Object, java.lang.Object)" title="class or interface in org.junit">assertEquals</A>, <A HREF="http://junit.sourceforge.net/javadoc/org/junit/Assert.html?is-external=true#assertEquals(java.lang.String, double, double)" title="class or interface in org.junit">assertEquals</A>, <A HREF="http://junit.sourceforge.net/javadoc/org/junit/Assert.html?is-external=true#assertEquals(java.lang.String, double, double, double)" title="class or interface in org.junit">assertEquals</A>, <A HREF="http://junit.sourceforge.net/javadoc/org/junit/Assert.html?is-external=true#assertEquals(java.lang.String, long, long)" title="class or interface in org.junit">assertEquals</A>, <A HREF="http://junit.sourceforge.net/javadoc/org/junit/Assert.html?is-external=true#assertEquals(java.lang.String, java.lang.Object[], java.lang.Object[])" title="class or interface in org.junit">assertEquals</A>, <A HREF="http://junit.sourceforge.net/javadoc/org/junit/Assert.html?is-external=true#assertEquals(java.lang.String, java.lang.Object, java.lang.Object)" title="class or interface in org.junit">assertEquals</A>, <A HREF="http://junit.sourceforge.net/javadoc/org/junit/Assert.html?is-external=true#assertFalse(boolean)" title="class or interface in org.junit">assertFalse</A>, <A HREF="http://junit.sourceforge.net/javadoc/org/junit/Assert.html?is-external=true#assertFalse(java.lang.String, boolean)" title="class or interface in org.junit">assertFalse</A>, <A HREF="http://junit.sourceforge.net/javadoc/org/junit/Assert.html?is-external=true#assertNotNull(java.lang.Object)" title="class or interface in org.junit">assertNotNull</A>, <A HREF="http://junit.sourceforge.net/javadoc/org/junit/Assert.html?is-external=true#assertNotNull(java.lang.String, java.lang.Object)" title="class or interface in org.junit">assertNotNull</A>, <A HREF="http://junit.sourceforge.net/javadoc/org/junit/Assert.html?is-external=true#assertNotSame(java.lang.Object, java.lang.Object)" title="class or interface in org.junit">assertNotSame</A>, <A HREF="http://junit.sourceforge.net/javadoc/org/junit/Assert.html?is-external=true#assertNotSame(java.lang.String, java.lang.Object, java.lang.Object)" title="class or interface in org.junit">assertNotSame</A>, <A HREF="http://junit.sourceforge.net/javadoc/org/junit/Assert.html?is-external=true#assertNull(java.lang.Object)" title="class or interface in org.junit">assertNull</A>, <A HREF="http://junit.sourceforge.net/javadoc/org/junit/Assert.html?is-external=true#assertNull(java.lang.String, java.lang.Object)" title="class or interface in org.junit">assertNull</A>, <A HREF="http://junit.sourceforge.net/javadoc/org/junit/Assert.html?is-external=true#assertSame(java.lang.Object, java.lang.Object)" title="class or interface in org.junit">assertSame</A>, <A HREF="http://junit.sourceforge.net/javadoc/org/junit/Assert.html?is-external=true#assertSame(java.lang.String, java.lang.Object, java.lang.Object)" title="class or interface in org.junit">assertSame</A>, <A HREF="http://junit.sourceforge.net/javadoc/org/junit/Assert.html?is-external=true#assertThat(java.lang.String, T, org.hamcrest.Matcher)" title="class or interface in org.junit">assertThat</A>, <A HREF="http://junit.sourceforge.net/javadoc/org/junit/Assert.html?is-external=true#assertThat(T, org.hamcrest.Matcher)" title="class or interface in org.junit">assertThat</A>, <A HREF="http://junit.sourceforge.net/javadoc/org/junit/Assert.html?is-external=true#assertTrue(boolean)" title="class or interface in org.junit">assertTrue</A>, <A HREF="http://junit.sourceforge.net/javadoc/org/junit/Assert.html?is-external=true#assertTrue(java.lang.String, boolean)" title="class or interface in org.junit">assertTrue</A>, <A HREF="http://junit.sourceforge.net/javadoc/org/junit/Assert.html?is-external=true#fail()" title="class or interface in org.junit">fail</A>, <A HREF="http://junit.sourceforge.net/javadoc/org/junit/Assert.html?is-external=true#fail(java.lang.String)" title="class or interface in org.junit">fail</A></CODE></TD> |
---|
| 550 | </TR> |
---|
| 551 | </TABLE> |
---|
| 552 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
---|
| 553 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 554 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
| 555 | <TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH> |
---|
| 556 | </TR> |
---|
| 557 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 558 | <TD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD> |
---|
| 559 | </TR> |
---|
| 560 | </TABLE> |
---|
| 561 | |
---|
| 562 | <P> |
---|
| 563 | |
---|
| 564 | <!-- ============ FIELD DETAIL =========== --> |
---|
| 565 | |
---|
| 566 | <A NAME="field_detail"><!-- --></A> |
---|
| 567 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 568 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 569 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
| 570 | <B>Field Detail</B></FONT></TH> |
---|
| 571 | </TR> |
---|
| 572 | </TABLE> |
---|
| 573 | |
---|
| 574 | <A NAME="solrConfig"><!-- --></A><H3> |
---|
| 575 | solrConfig</H3> |
---|
| 576 | <PRE> |
---|
| 577 | protected org.apache.solr.core.SolrConfig <B>solrConfig</B></PRE> |
---|
| 578 | <DL> |
---|
| 579 | <DL> |
---|
| 580 | </DL> |
---|
| 581 | </DL> |
---|
| 582 | <HR> |
---|
| 583 | |
---|
| 584 | <A NAME="h"><!-- --></A><H3> |
---|
| 585 | h</H3> |
---|
| 586 | <PRE> |
---|
| 587 | protected <A HREF="../../../../org/apache/solr/util/TestHarness.html" title="class in org.apache.solr.util">TestHarness</A> <B>h</B></PRE> |
---|
| 588 | <DL> |
---|
| 589 | <DD>Harness initialized by initTestHarness. |
---|
| 590 | |
---|
| 591 | <p> |
---|
| 592 | For use in test methods as needed. |
---|
| 593 | </p> |
---|
| 594 | <P> |
---|
| 595 | <DL> |
---|
| 596 | </DL> |
---|
| 597 | </DL> |
---|
| 598 | <HR> |
---|
| 599 | |
---|
| 600 | <A NAME="lrf"><!-- --></A><H3> |
---|
| 601 | lrf</H3> |
---|
| 602 | <PRE> |
---|
| 603 | protected <A HREF="../../../../org/apache/solr/util/TestHarness.LocalRequestFactory.html" title="class in org.apache.solr.util">TestHarness.LocalRequestFactory</A> <B>lrf</B></PRE> |
---|
| 604 | <DL> |
---|
| 605 | <DD>LocalRequestFactory initialized by initTestHarness using sensible |
---|
| 606 | defaults. |
---|
| 607 | |
---|
| 608 | <p> |
---|
| 609 | For use in test methods as needed. |
---|
| 610 | </p> |
---|
| 611 | <P> |
---|
| 612 | <DL> |
---|
| 613 | </DL> |
---|
| 614 | </DL> |
---|
| 615 | <HR> |
---|
| 616 | |
---|
| 617 | <A NAME="solrClassRules"><!-- --></A><H3> |
---|
| 618 | solrClassRules</H3> |
---|
| 619 | <PRE> |
---|
| 620 | public static <A HREF="http://junit.sourceforge.net/javadoc/org/junit/rules.TestRule.html?is-external=true" title="class or interface in org.junit">org.junit.rules.TestRule</A> <B>solrClassRules</B></PRE> |
---|
| 621 | <DL> |
---|
| 622 | <DL> |
---|
| 623 | </DL> |
---|
| 624 | </DL> |
---|
| 625 | <HR> |
---|
| 626 | |
---|
| 627 | <A NAME="solrTestRules"><!-- --></A><H3> |
---|
| 628 | solrTestRules</H3> |
---|
| 629 | <PRE> |
---|
| 630 | public <A HREF="http://junit.sourceforge.net/javadoc/org/junit/rules.TestRule.html?is-external=true" title="class or interface in org.junit">org.junit.rules.TestRule</A> <B>solrTestRules</B></PRE> |
---|
| 631 | <DL> |
---|
| 632 | <DL> |
---|
| 633 | </DL> |
---|
| 634 | </DL> |
---|
| 635 | <HR> |
---|
| 636 | |
---|
| 637 | <A NAME="dataDir"><!-- --></A><H3> |
---|
| 638 | dataDir</H3> |
---|
| 639 | <PRE> |
---|
| 640 | protected <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</A> <B>dataDir</B></PRE> |
---|
| 641 | <DL> |
---|
| 642 | <DD>The directory used to story the index managed by the TestHarness h |
---|
| 643 | <P> |
---|
| 644 | <DL> |
---|
| 645 | </DL> |
---|
| 646 | </DL> |
---|
| 647 | <HR> |
---|
| 648 | |
---|
| 649 | <A NAME="log"><!-- --></A><H3> |
---|
| 650 | log</H3> |
---|
| 651 | <PRE> |
---|
| 652 | public static org.slf4j.Logger <B>log</B></PRE> |
---|
| 653 | <DL> |
---|
| 654 | <DL> |
---|
| 655 | </DL> |
---|
| 656 | </DL> |
---|
| 657 | |
---|
| 658 | <!-- ========= CONSTRUCTOR DETAIL ======== --> |
---|
| 659 | |
---|
| 660 | <A NAME="constructor_detail"><!-- --></A> |
---|
| 661 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 662 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 663 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
| 664 | <B>Constructor Detail</B></FONT></TH> |
---|
| 665 | </TR> |
---|
| 666 | </TABLE> |
---|
| 667 | |
---|
| 668 | <A NAME="AbstractSolrTestCase()"><!-- --></A><H3> |
---|
| 669 | AbstractSolrTestCase</H3> |
---|
| 670 | <PRE> |
---|
| 671 | public <B>AbstractSolrTestCase</B>()</PRE> |
---|
| 672 | <DL> |
---|
| 673 | </DL> |
---|
| 674 | |
---|
| 675 | <!-- ============ METHOD DETAIL ========== --> |
---|
| 676 | |
---|
| 677 | <A NAME="method_detail"><!-- --></A> |
---|
| 678 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 679 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 680 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
| 681 | <B>Method Detail</B></FONT></TH> |
---|
| 682 | </TR> |
---|
| 683 | </TABLE> |
---|
| 684 | |
---|
| 685 | <A NAME="getSchemaFile()"><!-- --></A><H3> |
---|
| 686 | getSchemaFile</H3> |
---|
| 687 | <PRE> |
---|
| 688 | public abstract <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getSchemaFile</B>()</PRE> |
---|
| 689 | <DL> |
---|
| 690 | <DD>Subclasses must define this method to return the name of the |
---|
| 691 | schema.xml they wish to use. |
---|
| 692 | <P> |
---|
| 693 | <DD><DL> |
---|
| 694 | </DL> |
---|
| 695 | </DD> |
---|
| 696 | </DL> |
---|
| 697 | <HR> |
---|
| 698 | |
---|
| 699 | <A NAME="getSolrConfigFile()"><!-- --></A><H3> |
---|
| 700 | getSolrConfigFile</H3> |
---|
| 701 | <PRE> |
---|
| 702 | public abstract <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getSolrConfigFile</B>()</PRE> |
---|
| 703 | <DL> |
---|
| 704 | <DD>Subclasses must define this method to return the name of the |
---|
| 705 | solrconfig.xml they wish to use. |
---|
| 706 | <P> |
---|
| 707 | <DD><DL> |
---|
| 708 | </DL> |
---|
| 709 | </DD> |
---|
| 710 | </DL> |
---|
| 711 | <HR> |
---|
| 712 | |
---|
| 713 | <A NAME="getSolrHome()"><!-- --></A><H3> |
---|
| 714 | getSolrHome</H3> |
---|
| 715 | <PRE> |
---|
| 716 | public <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getSolrHome</B>()</PRE> |
---|
| 717 | <DL> |
---|
| 718 | <DD>Subclasses can override this to change a test's solr home |
---|
| 719 | (default is in test-files) |
---|
| 720 | <P> |
---|
| 721 | <DD><DL> |
---|
| 722 | </DL> |
---|
| 723 | </DD> |
---|
| 724 | </DL> |
---|
| 725 | <HR> |
---|
| 726 | |
---|
| 727 | <A NAME="beforeClassAbstractSolrTestCase()"><!-- --></A><H3> |
---|
| 728 | beforeClassAbstractSolrTestCase</H3> |
---|
| 729 | <PRE> |
---|
| 730 | public static void <B>beforeClassAbstractSolrTestCase</B>() |
---|
| 731 | throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</A></PRE> |
---|
| 732 | <DL> |
---|
| 733 | <DD><DL> |
---|
| 734 | |
---|
| 735 | <DT><B>Throws:</B> |
---|
| 736 | <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</A></CODE></DL> |
---|
| 737 | </DD> |
---|
| 738 | </DL> |
---|
| 739 | <HR> |
---|
| 740 | |
---|
| 741 | <A NAME="afterClassAbstractSolrTestCase()"><!-- --></A><H3> |
---|
| 742 | afterClassAbstractSolrTestCase</H3> |
---|
| 743 | <PRE> |
---|
| 744 | public static void <B>afterClassAbstractSolrTestCase</B>() |
---|
| 745 | throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</A></PRE> |
---|
| 746 | <DL> |
---|
| 747 | <DD><DL> |
---|
| 748 | |
---|
| 749 | <DT><B>Throws:</B> |
---|
| 750 | <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</A></CODE></DL> |
---|
| 751 | </DD> |
---|
| 752 | </DL> |
---|
| 753 | <HR> |
---|
| 754 | |
---|
| 755 | <A NAME="setUp()"><!-- --></A><H3> |
---|
| 756 | setUp</H3> |
---|
| 757 | <PRE> |
---|
| 758 | public void <B>setUp</B>() |
---|
| 759 | throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</A></PRE> |
---|
| 760 | <DL> |
---|
| 761 | <DD>Initializes things your test might need |
---|
| 762 | |
---|
| 763 | <ul> |
---|
| 764 | <li>Creates a dataDir in the "java.io.tmpdir"</li> |
---|
| 765 | <li>initializes the TestHarness h using this data directory, and getSchemaPath()</li> |
---|
| 766 | <li>initializes the LocalRequestFactory lrf using sensible defaults.</li> |
---|
| 767 | </ul> |
---|
| 768 | <P> |
---|
| 769 | <DD><DL> |
---|
| 770 | <DT><B>Overrides:</B><DD><CODE>setUp</CODE> in class <CODE>org.apache.lucene.util.LuceneTestCase</CODE></DL> |
---|
| 771 | </DD> |
---|
| 772 | <DD><DL> |
---|
| 773 | |
---|
| 774 | <DT><B>Throws:</B> |
---|
| 775 | <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</A></CODE></DL> |
---|
| 776 | </DD> |
---|
| 777 | </DL> |
---|
| 778 | <HR> |
---|
| 779 | |
---|
| 780 | <A NAME="ignoreException(java.lang.String)"><!-- --></A><H3> |
---|
| 781 | ignoreException</H3> |
---|
| 782 | <PRE> |
---|
| 783 | public static void <B>ignoreException</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> pattern)</PRE> |
---|
| 784 | <DL> |
---|
| 785 | <DD>Causes an exception matching the regex pattern to not be logged. |
---|
| 786 | <P> |
---|
| 787 | <DD><DL> |
---|
| 788 | </DL> |
---|
| 789 | </DD> |
---|
| 790 | </DL> |
---|
| 791 | <HR> |
---|
| 792 | |
---|
| 793 | <A NAME="resetExceptionIgnores()"><!-- --></A><H3> |
---|
| 794 | resetExceptionIgnores</H3> |
---|
| 795 | <PRE> |
---|
| 796 | public static void <B>resetExceptionIgnores</B>()</PRE> |
---|
| 797 | <DL> |
---|
| 798 | <DD><DL> |
---|
| 799 | </DL> |
---|
| 800 | </DD> |
---|
| 801 | </DL> |
---|
| 802 | <HR> |
---|
| 803 | |
---|
| 804 | <A NAME="postSetUp()"><!-- --></A><H3> |
---|
| 805 | postSetUp</H3> |
---|
| 806 | <PRE> |
---|
| 807 | public void <B>postSetUp</B>()</PRE> |
---|
| 808 | <DL> |
---|
| 809 | <DD>Subclasses that override setUp can optionally call this method |
---|
| 810 | to log the fact that their setUp process has ended. |
---|
| 811 | <P> |
---|
| 812 | <DD><DL> |
---|
| 813 | </DL> |
---|
| 814 | </DD> |
---|
| 815 | </DL> |
---|
| 816 | <HR> |
---|
| 817 | |
---|
| 818 | <A NAME="preTearDown()"><!-- --></A><H3> |
---|
| 819 | preTearDown</H3> |
---|
| 820 | <PRE> |
---|
| 821 | public void <B>preTearDown</B>()</PRE> |
---|
| 822 | <DL> |
---|
| 823 | <DD>Subclasses that override tearDown can optionally call this method |
---|
| 824 | to log the fact that the tearDown process has started. This is necessary |
---|
| 825 | since subclasses will want to call super.tearDown() at the *end* of their |
---|
| 826 | tearDown method. |
---|
| 827 | <P> |
---|
| 828 | <DD><DL> |
---|
| 829 | </DL> |
---|
| 830 | </DD> |
---|
| 831 | </DL> |
---|
| 832 | <HR> |
---|
| 833 | |
---|
| 834 | <A NAME="tearDown()"><!-- --></A><H3> |
---|
| 835 | tearDown</H3> |
---|
| 836 | <PRE> |
---|
| 837 | public void <B>tearDown</B>() |
---|
| 838 | throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</A></PRE> |
---|
| 839 | <DL> |
---|
| 840 | <DD>Shuts down the test harness, and makes the best attempt possible |
---|
| 841 | to delete dataDir, unless the system property "solr.test.leavedatadir" |
---|
| 842 | is set. |
---|
| 843 | <P> |
---|
| 844 | <DD><DL> |
---|
| 845 | <DT><B>Overrides:</B><DD><CODE>tearDown</CODE> in class <CODE>org.apache.lucene.util.LuceneTestCase</CODE></DL> |
---|
| 846 | </DD> |
---|
| 847 | <DD><DL> |
---|
| 848 | |
---|
| 849 | <DT><B>Throws:</B> |
---|
| 850 | <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</A></CODE></DL> |
---|
| 851 | </DD> |
---|
| 852 | </DL> |
---|
| 853 | <HR> |
---|
| 854 | |
---|
| 855 | <A NAME="assertU(java.lang.String)"><!-- --></A><H3> |
---|
| 856 | assertU</H3> |
---|
| 857 | <PRE> |
---|
| 858 | public void <B>assertU</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> update)</PRE> |
---|
| 859 | <DL> |
---|
| 860 | <DD>Validates an update XML String is successful |
---|
| 861 | <P> |
---|
| 862 | <DD><DL> |
---|
| 863 | </DL> |
---|
| 864 | </DD> |
---|
| 865 | </DL> |
---|
| 866 | <HR> |
---|
| 867 | |
---|
| 868 | <A NAME="assertU(java.lang.String, java.lang.String)"><!-- --></A><H3> |
---|
| 869 | assertU</H3> |
---|
| 870 | <PRE> |
---|
| 871 | public void <B>assertU</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> message, |
---|
| 872 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> update)</PRE> |
---|
| 873 | <DL> |
---|
| 874 | <DD>Validates an update XML String is successful |
---|
| 875 | <P> |
---|
| 876 | <DD><DL> |
---|
| 877 | </DL> |
---|
| 878 | </DD> |
---|
| 879 | </DL> |
---|
| 880 | <HR> |
---|
| 881 | |
---|
| 882 | <A NAME="assertFailedU(java.lang.String)"><!-- --></A><H3> |
---|
| 883 | assertFailedU</H3> |
---|
| 884 | <PRE> |
---|
| 885 | public void <B>assertFailedU</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> update)</PRE> |
---|
| 886 | <DL> |
---|
| 887 | <DD>Validates an update XML String failed |
---|
| 888 | <P> |
---|
| 889 | <DD><DL> |
---|
| 890 | </DL> |
---|
| 891 | </DD> |
---|
| 892 | </DL> |
---|
| 893 | <HR> |
---|
| 894 | |
---|
| 895 | <A NAME="assertFailedU(java.lang.String, java.lang.String)"><!-- --></A><H3> |
---|
| 896 | assertFailedU</H3> |
---|
| 897 | <PRE> |
---|
| 898 | public void <B>assertFailedU</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> message, |
---|
| 899 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> update)</PRE> |
---|
| 900 | <DL> |
---|
| 901 | <DD>Validates an update XML String failed |
---|
| 902 | <P> |
---|
| 903 | <DD><DL> |
---|
| 904 | </DL> |
---|
| 905 | </DD> |
---|
| 906 | </DL> |
---|
| 907 | <HR> |
---|
| 908 | |
---|
| 909 | <A NAME="assertQ(org.apache.solr.request.SolrQueryRequest, java.lang.String...)"><!-- --></A><H3> |
---|
| 910 | assertQ</H3> |
---|
| 911 | <PRE> |
---|
| 912 | public void <B>assertQ</B>(org.apache.solr.request.SolrQueryRequest req, |
---|
| 913 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>... tests)</PRE> |
---|
| 914 | <DL> |
---|
| 915 | <DD>Validates a query matches some XPath test expressions and closes the query |
---|
| 916 | <P> |
---|
| 917 | <DD><DL> |
---|
| 918 | </DL> |
---|
| 919 | </DD> |
---|
| 920 | </DL> |
---|
| 921 | <HR> |
---|
| 922 | |
---|
| 923 | <A NAME="assertQ(java.lang.String, org.apache.solr.request.SolrQueryRequest, java.lang.String...)"><!-- --></A><H3> |
---|
| 924 | assertQ</H3> |
---|
| 925 | <PRE> |
---|
| 926 | public void <B>assertQ</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> message, |
---|
| 927 | org.apache.solr.request.SolrQueryRequest req, |
---|
| 928 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>... tests)</PRE> |
---|
| 929 | <DL> |
---|
| 930 | <DD>Validates a query matches some XPath test expressions and closes the query |
---|
| 931 | <P> |
---|
| 932 | <DD><DL> |
---|
| 933 | </DL> |
---|
| 934 | </DD> |
---|
| 935 | </DL> |
---|
| 936 | <HR> |
---|
| 937 | |
---|
| 938 | <A NAME="assertQEx(java.lang.String, org.apache.solr.request.SolrQueryRequest, int)"><!-- --></A><H3> |
---|
| 939 | assertQEx</H3> |
---|
| 940 | <PRE> |
---|
| 941 | public void <B>assertQEx</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> message, |
---|
| 942 | org.apache.solr.request.SolrQueryRequest req, |
---|
| 943 | int code)</PRE> |
---|
| 944 | <DL> |
---|
| 945 | <DD>Makes sure a query throws a SolrException with the listed response code |
---|
| 946 | <P> |
---|
| 947 | <DD><DL> |
---|
| 948 | </DL> |
---|
| 949 | </DD> |
---|
| 950 | </DL> |
---|
| 951 | <HR> |
---|
| 952 | |
---|
| 953 | <A NAME="assertQEx(java.lang.String, org.apache.solr.request.SolrQueryRequest, org.apache.solr.common.SolrException.ErrorCode)"><!-- --></A><H3> |
---|
| 954 | assertQEx</H3> |
---|
| 955 | <PRE> |
---|
| 956 | public void <B>assertQEx</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> message, |
---|
| 957 | org.apache.solr.request.SolrQueryRequest req, |
---|
| 958 | org.apache.solr.common.SolrException.ErrorCode code)</PRE> |
---|
| 959 | <DL> |
---|
| 960 | <DD><DL> |
---|
| 961 | </DL> |
---|
| 962 | </DD> |
---|
| 963 | </DL> |
---|
| 964 | <HR> |
---|
| 965 | |
---|
| 966 | <A NAME="optimize(java.lang.String...)"><!-- --></A><H3> |
---|
| 967 | optimize</H3> |
---|
| 968 | <PRE> |
---|
| 969 | public <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>optimize</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>... args)</PRE> |
---|
| 970 | <DL> |
---|
| 971 | <DD><DL> |
---|
| 972 | <DT><B>See Also:</B><DD><A HREF="../../../../org/apache/solr/util/TestHarness.html#optimize(java.lang.String...)"><CODE>TestHarness.optimize(java.lang.String...)</CODE></A></DL> |
---|
| 973 | </DD> |
---|
| 974 | </DL> |
---|
| 975 | <HR> |
---|
| 976 | |
---|
| 977 | <A NAME="commit(java.lang.String...)"><!-- --></A><H3> |
---|
| 978 | commit</H3> |
---|
| 979 | <PRE> |
---|
| 980 | public <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>commit</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>... args)</PRE> |
---|
| 981 | <DL> |
---|
| 982 | <DD><DL> |
---|
| 983 | <DT><B>See Also:</B><DD><A HREF="../../../../org/apache/solr/util/TestHarness.html#commit(java.lang.String...)"><CODE>TestHarness.commit(java.lang.String...)</CODE></A></DL> |
---|
| 984 | </DD> |
---|
| 985 | </DL> |
---|
| 986 | <HR> |
---|
| 987 | |
---|
| 988 | <A NAME="adoc(java.lang.String...)"><!-- --></A><H3> |
---|
| 989 | adoc</H3> |
---|
| 990 | <PRE> |
---|
| 991 | public <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>adoc</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>... fieldsAndValues)</PRE> |
---|
| 992 | <DL> |
---|
| 993 | <DD>Generates a simple <add><doc>... XML String with no options |
---|
| 994 | <P> |
---|
| 995 | <DD><DL> |
---|
| 996 | <DT><B>Parameters:</B><DD><CODE>fieldsAndValues</CODE> - 0th and Even numbered args are fields names odds are field values.<DT><B>See Also:</B><DD><A HREF="../../../../org/apache/solr/util/AbstractSolrTestCase.html#add(org.apache.solr.util.AbstractSolrTestCase.Doc, java.lang.String...)"><CODE>add(org.apache.solr.util.AbstractSolrTestCase.Doc, java.lang.String...)</CODE></A>, |
---|
| 997 | <A HREF="../../../../org/apache/solr/util/AbstractSolrTestCase.html#doc(java.lang.String...)"><CODE>doc(java.lang.String...)</CODE></A></DL> |
---|
| 998 | </DD> |
---|
| 999 | </DL> |
---|
| 1000 | <HR> |
---|
| 1001 | |
---|
| 1002 | <A NAME="adoc(int, java.lang.String...)"><!-- --></A><H3> |
---|
| 1003 | adoc</H3> |
---|
| 1004 | <PRE> |
---|
| 1005 | public <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>adoc</B>(int commitWithin, |
---|
| 1006 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>... fieldsAndValues)</PRE> |
---|
| 1007 | <DL> |
---|
| 1008 | <DD>Generates a simple <add><doc>... XML String with the |
---|
| 1009 | commitWithin attribute. |
---|
| 1010 | <P> |
---|
| 1011 | <DD><DL> |
---|
| 1012 | <DT><B>Parameters:</B><DD><CODE>commitWithin</CODE> - the value of the commitWithin attribute<DD><CODE>fieldsAndValues</CODE> - 0th and Even numbered args are fields names odds are field values.<DT><B>See Also:</B><DD><A HREF="../../../../org/apache/solr/util/AbstractSolrTestCase.html#add(org.apache.solr.util.AbstractSolrTestCase.Doc, java.lang.String...)"><CODE>add(org.apache.solr.util.AbstractSolrTestCase.Doc, java.lang.String...)</CODE></A>, |
---|
| 1013 | <A HREF="../../../../org/apache/solr/util/AbstractSolrTestCase.html#doc(java.lang.String...)"><CODE>doc(java.lang.String...)</CODE></A></DL> |
---|
| 1014 | </DD> |
---|
| 1015 | </DL> |
---|
| 1016 | <HR> |
---|
| 1017 | |
---|
| 1018 | <A NAME="adoc(org.apache.solr.common.SolrInputDocument)"><!-- --></A><H3> |
---|
| 1019 | adoc</H3> |
---|
| 1020 | <PRE> |
---|
| 1021 | public <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>adoc</B>(org.apache.solr.common.SolrInputDocument sdoc)</PRE> |
---|
| 1022 | <DL> |
---|
| 1023 | <DD>Generates a simple <add><doc>... XML String with no options |
---|
| 1024 | <P> |
---|
| 1025 | <DD><DL> |
---|
| 1026 | </DL> |
---|
| 1027 | </DD> |
---|
| 1028 | </DL> |
---|
| 1029 | <HR> |
---|
| 1030 | |
---|
| 1031 | <A NAME="add(org.apache.solr.util.AbstractSolrTestCase.Doc, java.lang.String...)"><!-- --></A><H3> |
---|
| 1032 | add</H3> |
---|
| 1033 | <PRE> |
---|
| 1034 | public <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>add</B>(<A HREF="../../../../org/apache/solr/util/AbstractSolrTestCase.Doc.html" title="class in org.apache.solr.util">AbstractSolrTestCase.Doc</A> doc, |
---|
| 1035 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>... args)</PRE> |
---|
| 1036 | <DL> |
---|
| 1037 | <DD>Generates an <add><doc>... XML String with options |
---|
| 1038 | on the add. |
---|
| 1039 | <P> |
---|
| 1040 | <DD><DL> |
---|
| 1041 | <DT><B>Parameters:</B><DD><CODE>doc</CODE> - the Document to add<DD><CODE>args</CODE> - 0th and Even numbered args are param names, Odds are param values.<DT><B>See Also:</B><DD><A HREF="../../../../org/apache/solr/util/AbstractSolrTestCase.html#add(org.apache.solr.util.AbstractSolrTestCase.Doc, java.lang.String...)"><CODE>add(org.apache.solr.util.AbstractSolrTestCase.Doc, java.lang.String...)</CODE></A>, |
---|
| 1042 | <A HREF="../../../../org/apache/solr/util/AbstractSolrTestCase.html#doc(java.lang.String...)"><CODE>doc(java.lang.String...)</CODE></A></DL> |
---|
| 1043 | </DD> |
---|
| 1044 | </DL> |
---|
| 1045 | <HR> |
---|
| 1046 | |
---|
| 1047 | <A NAME="delI(java.lang.String, java.lang.String...)"><!-- --></A><H3> |
---|
| 1048 | delI</H3> |
---|
| 1049 | <PRE> |
---|
| 1050 | public <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>delI</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> id, |
---|
| 1051 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>... args)</PRE> |
---|
| 1052 | <DL> |
---|
| 1053 | <DD>Generates a <delete>... XML string for an ID |
---|
| 1054 | <P> |
---|
| 1055 | <DD><DL> |
---|
| 1056 | <DT><B>See Also:</B><DD><A HREF="../../../../org/apache/solr/util/TestHarness.html#deleteById(java.lang.String, java.lang.String...)"><CODE>TestHarness.deleteById(java.lang.String, java.lang.String...)</CODE></A></DL> |
---|
| 1057 | </DD> |
---|
| 1058 | </DL> |
---|
| 1059 | <HR> |
---|
| 1060 | |
---|
| 1061 | <A NAME="delQ(java.lang.String, java.lang.String...)"><!-- --></A><H3> |
---|
| 1062 | delQ</H3> |
---|
| 1063 | <PRE> |
---|
| 1064 | public <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>delQ</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> q, |
---|
| 1065 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>... args)</PRE> |
---|
| 1066 | <DL> |
---|
| 1067 | <DD>Generates a <delete>... XML string for an query |
---|
| 1068 | <P> |
---|
| 1069 | <DD><DL> |
---|
| 1070 | <DT><B>See Also:</B><DD><A HREF="../../../../org/apache/solr/util/TestHarness.html#deleteByQuery(java.lang.String, java.lang.String...)"><CODE>TestHarness.deleteByQuery(java.lang.String, java.lang.String...)</CODE></A></DL> |
---|
| 1071 | </DD> |
---|
| 1072 | </DL> |
---|
| 1073 | <HR> |
---|
| 1074 | |
---|
| 1075 | <A NAME="doc(java.lang.String...)"><!-- --></A><H3> |
---|
| 1076 | doc</H3> |
---|
| 1077 | <PRE> |
---|
| 1078 | public <A HREF="../../../../org/apache/solr/util/AbstractSolrTestCase.Doc.html" title="class in org.apache.solr.util">AbstractSolrTestCase.Doc</A> <B>doc</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>... fieldsAndValues)</PRE> |
---|
| 1079 | <DL> |
---|
| 1080 | <DD>Generates a simple <doc>... XML String with no options |
---|
| 1081 | <P> |
---|
| 1082 | <DD><DL> |
---|
| 1083 | <DT><B>Parameters:</B><DD><CODE>fieldsAndValues</CODE> - 0th and Even numbered args are fields names, Odds are field values.<DT><B>See Also:</B><DD><A HREF="../../../../org/apache/solr/util/TestHarness.html#makeSimpleDoc(java.lang.String...)"><CODE>TestHarness.makeSimpleDoc(java.lang.String...)</CODE></A></DL> |
---|
| 1084 | </DD> |
---|
| 1085 | </DL> |
---|
| 1086 | <HR> |
---|
| 1087 | |
---|
| 1088 | <A NAME="req(java.lang.String...)"><!-- --></A><H3> |
---|
| 1089 | req</H3> |
---|
| 1090 | <PRE> |
---|
| 1091 | public org.apache.solr.request.SolrQueryRequest <B>req</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>... q)</PRE> |
---|
| 1092 | <DL> |
---|
| 1093 | <DD>Generates a SolrQueryRequest using the LocalRequestFactory |
---|
| 1094 | <P> |
---|
| 1095 | <DD><DL> |
---|
| 1096 | <DT><B>See Also:</B><DD><A HREF="../../../../org/apache/solr/util/AbstractSolrTestCase.html#lrf"><CODE>lrf</CODE></A></DL> |
---|
| 1097 | </DD> |
---|
| 1098 | </DL> |
---|
| 1099 | <HR> |
---|
| 1100 | |
---|
| 1101 | <A NAME="req(java.lang.String[], java.lang.String...)"><!-- --></A><H3> |
---|
| 1102 | req</H3> |
---|
| 1103 | <PRE> |
---|
| 1104 | public org.apache.solr.request.SolrQueryRequest <B>req</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[] params, |
---|
| 1105 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>... moreParams)</PRE> |
---|
| 1106 | <DL> |
---|
| 1107 | <DD>Generates a SolrQueryRequest using the LocalRequestFactory |
---|
| 1108 | <P> |
---|
| 1109 | <DD><DL> |
---|
| 1110 | <DT><B>See Also:</B><DD><A HREF="../../../../org/apache/solr/util/AbstractSolrTestCase.html#lrf"><CODE>lrf</CODE></A></DL> |
---|
| 1111 | </DD> |
---|
| 1112 | </DL> |
---|
| 1113 | <HR> |
---|
| 1114 | |
---|
| 1115 | <A NAME="recurseDelete(java.io.File)"><!-- --></A><H3> |
---|
| 1116 | recurseDelete</H3> |
---|
| 1117 | <PRE> |
---|
| 1118 | public static boolean <B>recurseDelete</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</A> f)</PRE> |
---|
| 1119 | <DL> |
---|
| 1120 | <DD><DL> |
---|
| 1121 | </DL> |
---|
| 1122 | </DD> |
---|
| 1123 | </DL> |
---|
| 1124 | <HR> |
---|
| 1125 | |
---|
| 1126 | <A NAME="getFile(java.lang.String)"><!-- --></A><H3> |
---|
| 1127 | getFile</H3> |
---|
| 1128 | <PRE> |
---|
| 1129 | public static <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</A> <B>getFile</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name) |
---|
| 1130 | throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE> |
---|
| 1131 | <DL> |
---|
| 1132 | <DD><DL> |
---|
| 1133 | |
---|
| 1134 | <DT><B>Throws:</B> |
---|
| 1135 | <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE><DT><B>See Also:</B><DD><A HREF="../../../../org/apache/solr/SolrTestCaseJ4.html#getFile(java.lang.String)"><CODE>SolrTestCaseJ4.getFile(java.lang.String)</CODE></A></DL> |
---|
| 1136 | </DD> |
---|
| 1137 | </DL> |
---|
| 1138 | <!-- ========= END OF CLASS DATA ========= --> |
---|
| 1139 | <HR> |
---|
| 1140 | |
---|
| 1141 | |
---|
| 1142 | <!-- ======= START OF BOTTOM NAVBAR ====== --> |
---|
| 1143 | <A NAME="navbar_bottom"><!-- --></A> |
---|
| 1144 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
---|
| 1145 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
---|
| 1146 | <TR> |
---|
| 1147 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
---|
| 1148 | <A NAME="navbar_bottom_firstrow"><!-- --></A> |
---|
| 1149 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
---|
| 1150 | <TR ALIGN="center" VALIGN="top"> |
---|
| 1151 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
---|
| 1152 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
---|
| 1153 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
---|
| 1154 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/AbstractSolrTestCase.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
---|
| 1155 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
---|
| 1156 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
---|
| 1157 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
---|
| 1158 | </TR> |
---|
| 1159 | </TABLE> |
---|
| 1160 | </TD> |
---|
| 1161 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
---|
| 1162 | </EM> |
---|
| 1163 | </TD> |
---|
| 1164 | </TR> |
---|
| 1165 | |
---|
| 1166 | <TR> |
---|
| 1167 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
| 1168 | PREV CLASS |
---|
| 1169 | <A HREF="../../../../org/apache/solr/util/AbstractSolrTestCase.Doc.html" title="class in org.apache.solr.util"><B>NEXT CLASS</B></A></FONT></TD> |
---|
| 1170 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
| 1171 | <A HREF="../../../../index.html?org/apache/solr/util/AbstractSolrTestCase.html" target="_top"><B>FRAMES</B></A> |
---|
| 1172 | <A HREF="AbstractSolrTestCase.html" target="_top"><B>NO FRAMES</B></A> |
---|
| 1173 | <SCRIPT type="text/javascript"> |
---|
| 1174 | <!-- |
---|
| 1175 | if(window==top) { |
---|
| 1176 | document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
---|
| 1177 | } |
---|
| 1178 | //--> |
---|
| 1179 | </SCRIPT> |
---|
| 1180 | <NOSCRIPT> |
---|
| 1181 | <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
---|
| 1182 | </NOSCRIPT> |
---|
| 1183 | |
---|
| 1184 | |
---|
| 1185 | </FONT></TD> |
---|
| 1186 | </TR> |
---|
| 1187 | <TR> |
---|
| 1188 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
| 1189 | SUMMARY: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
---|
| 1190 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
| 1191 | DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
---|
| 1192 | </TR> |
---|
| 1193 | </TABLE> |
---|
| 1194 | <A NAME="skip-navbar_bottom"></A> |
---|
| 1195 | <!-- ======== END OF BOTTOM NAVBAR ======= --> |
---|
| 1196 | |
---|
| 1197 | <HR> |
---|
| 1198 | |
---|
| 1199 | <address>Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.</address> |
---|
| 1200 | <script src='../../../../prettify.js' type='text/javascript'></script> |
---|
| 1201 | <script type='text/javascript'> |
---|
| 1202 | (function(){ |
---|
| 1203 | var oldonload = window.onload; |
---|
| 1204 | if (typeof oldonload != 'function') { |
---|
| 1205 | window.onload = prettyPrint; |
---|
| 1206 | } else { |
---|
| 1207 | window.onload = function() { |
---|
| 1208 | oldonload(); |
---|
| 1209 | prettyPrint(); |
---|
| 1210 | } |
---|
| 1211 | } |
---|
| 1212 | })(); |
---|
| 1213 | </script> |
---|
| 1214 | |
---|
| 1215 | </BODY> |
---|
| 1216 | </HTML> |
---|