lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yo...@apache.org
Subject svn commit: r925891 - /lucene/solr/branches/newtrunk/solr/contrib/dataimporthandler/src/test/java/org/apache/solr/handler/dataimport/TestVariableResolver.java
Date Sun, 21 Mar 2010 20:51:55 GMT
Author: yonik
Date: Sun Mar 21 20:51:55 2010
New Revision: 925891

URL: http://svn.apache.org/viewvc?rev=925891&view=rev
Log:
tests: kill prints

Modified:
    lucene/solr/branches/newtrunk/solr/contrib/dataimporthandler/src/test/java/org/apache/solr/handler/dataimport/TestVariableResolver.java

Modified: lucene/solr/branches/newtrunk/solr/contrib/dataimporthandler/src/test/java/org/apache/solr/handler/dataimport/TestVariableResolver.java
URL: http://svn.apache.org/viewvc/lucene/solr/branches/newtrunk/solr/contrib/dataimporthandler/src/test/java/org/apache/solr/handler/dataimport/TestVariableResolver.java?rev=925891&r1=925890&r2=925891&view=diff
==============================================================================
--- lucene/solr/branches/newtrunk/solr/contrib/dataimporthandler/src/test/java/org/apache/solr/handler/dataimport/TestVariableResolver.java
(original)
+++ lucene/solr/branches/newtrunk/solr/contrib/dataimporthandler/src/test/java/org/apache/solr/handler/dataimport/TestVariableResolver.java
Sun Mar 21 20:51:55 2010
@@ -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"));
 



Mime
View raw message