Package hudson.plugins.analysis.util.model

Examples of hudson.plugins.analysis.util.model.AnnotationStream.fromXML()


        xstream.alias("bug", Bug.class);

        InputStream stream = BugsDifferencerTest.class.getResourceAsStream("issue-6669-1.xml");
        FileAnnotation[] current;
        try {
            current = (FileAnnotation[])xstream.fromXML(stream);
            assertEquals("Wrong number of bugs", 2, current.length);
        }
        finally {
            IOUtils.closeQuietly(stream);
        }
View Full Code Here


        }
        stream = BugsDifferencerTest.class.getResourceAsStream("issue-6669-2.xml");

        FileAnnotation[] previous;
        try {
            previous = (FileAnnotation[])xstream.fromXML(stream);
            assertEquals("Wrong number of bugs", 2, previous.length);
        }
        finally {
            IOUtils.closeQuietly(stream);
        }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.