lcsim/test/org/lcsim/conditions
diff -u -r1.1 -r1.2
--- ConditionsManagerTest.java 6 Jul 2005 00:43:13 -0000 1.1
+++ ConditionsManagerTest.java 6 Jul 2005 04:38:24 -0000 1.2
@@ -1,9 +1,3 @@
-/*
- * ConditionsReaderTest.java
- *
- * Created on July 5, 2005, 4:06 PM
- */
-
package org.lcsim.conditions;
import junit.framework.Test;
@@ -42,23 +36,8 @@
{
for ( String s : condNames )
{
- System.out.println("Looking up ConditionSet: " + s);
ConditionsSet cs = _mgr.getConditions(s);
-
- if ( cs == null )
- {
- throw new RuntimeException("ConditionSet not found: " + s);
- }
- else
- {
- System.out.println("Found ConditionSet: " + s);
-
- System.out.println("key=val pairs");
- for ( Object o : cs.keySet() )
- {
- System.out.println(o.toString() + "=" + cs.getString(o.toString()) );
- }
- }
+ assertTrue(cs instanceof ConditionsSet);
}
}
}