Avoid printing a stack trace when the test is in fact passing.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15044 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
jglick committed 2009-02-05 21:38:24 +00:00
1 parent 2b22e63d47
commit 9ea7ab433c
1 file changed
+6
@@ -3,12 +3,18 @@ package hudson.util;
import junit.framework.TestCase;
import com.thoughtworks.xstream.XStream;
import com.thoughtworks.xstream.converters.ConversionException;
import java.util.logging.Level;
import java.util.logging.Logger;
/**
* @author Kohsuke Kawaguchi
*/
public class RobustReflectionConverterTest extends TestCase {
static {
Logger.getLogger(RobustReflectionConverter.class.getName()).setLevel(Level.OFF);
}
public void testRobustUnmarshalling() {
Point p = read(new XStream2());
assertEquals(p.x,1);