mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-16 05:22:22 +00:00
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:
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);
|
||||
|
||||
Reference in new issue
Block a user