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:
Yonik Seeley 2010-03-21 20:51:55 +00:00
parent 2b950ebea5
commit 4abb609eb8
1 changed files with 4 additions and 3 deletions

View File

@ -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"));