mirror of https://github.com/apache/lucene.git
tests: kill prints
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/newtrunk@925891 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2b950ebea5
commit
4abb609eb8
|
@ -44,14 +44,15 @@ public class TestVariableResolver {
|
|||
|
||||
@Test
|
||||
public void testDefaults(){
|
||||
System.out.println(System.setProperty(TestVariableResolver.class.getName(),"hello"));
|
||||
System.out.println("s.gP()"+ System.getProperty(TestVariableResolver.class.getName()));
|
||||
// System.out.println(System.setProperty(TestVariableResolver.class.getName(),"hello"));
|
||||
System.setProperty(TestVariableResolver.class.getName(),"hello");
|
||||
// System.out.println("s.gP()"+ System.getProperty(TestVariableResolver.class.getName()));
|
||||
|
||||
HashMap m = new HashMap();
|
||||
m.put("hello","world");
|
||||
VariableResolverImpl vri = new VariableResolverImpl(m);
|
||||
Object val = vri.resolve(TestVariableResolver.class.getName());
|
||||
System.out.println("val = " + val);
|
||||
// System.out.println("val = " + val);
|
||||
Assert.assertEquals("hello", val);
|
||||
Assert.assertEquals("world",vri.resolve("hello"));
|
||||
|
||||
|
|
Loading…
Reference in New Issue