提交 9ea7ab43 编写于 作者: J jglick

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
上级 2b22e63d
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册