mirror of https://github.com/apache/lucene.git
revert r1023266: maybe openjdk doesnt have scripts this needs... perhaps use Assume later in case you have the support
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1023272 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
777cf3a1e2
commit
f0e36d867b
|
@ -35,6 +35,8 @@ import java.util.Map;
|
|||
* Test for ScriptTransformer
|
||||
* </p>
|
||||
* <p/>
|
||||
* All tests in this have been ignored because script support is only available
|
||||
* in Java 1.6+
|
||||
*
|
||||
* @version $Id$
|
||||
* @since solr 1.3
|
||||
|
@ -42,6 +44,7 @@ import java.util.Map;
|
|||
public class TestScriptTransformer extends AbstractDataImportHandlerTestCase {
|
||||
|
||||
@Test
|
||||
@Ignore
|
||||
public void testBasic() {
|
||||
String script = "function f1(row,context){"
|
||||
+ "row.put('name','Hello ' + row.get('name'));" + "return row;\n" + "}";
|
||||
|
@ -68,6 +71,7 @@ public class TestScriptTransformer extends AbstractDataImportHandlerTestCase {
|
|||
}
|
||||
|
||||
@Test
|
||||
@Ignore
|
||||
public void testOneparam() {
|
||||
|
||||
String script = "function f1(row){"
|
||||
|
@ -83,6 +87,7 @@ public class TestScriptTransformer extends AbstractDataImportHandlerTestCase {
|
|||
}
|
||||
|
||||
@Test
|
||||
@Ignore
|
||||
public void testReadScriptTag() throws Exception {
|
||||
DocumentBuilder builder = DocumentBuilderFactory.newInstance()
|
||||
.newDocumentBuilder();
|
||||
|
@ -94,6 +99,7 @@ public class TestScriptTransformer extends AbstractDataImportHandlerTestCase {
|
|||
}
|
||||
|
||||
@Test
|
||||
@Ignore
|
||||
public void testCheckScript() throws Exception {
|
||||
DocumentBuilder builder = DocumentBuilderFactory.newInstance()
|
||||
.newDocumentBuilder();
|
||||
|
|
Loading…
Reference in New Issue