Package org.andromda.cartridges.testsuite

Examples of org.andromda.cartridges.testsuite.FileComparator


            {
                final Failure failure = (Failure)iterator.next();
                final Throwable information = failure.information;
                if (information instanceof AssertionFailedError)
                {
                    FileComparator comparator = (FileComparator)failure.test;
                    this.reportWriter.println(ctr + ") " + comparator.getActualFile());
                }
            }
            this.reportWriter.println("-------------------------------------------------------------------------------");
            this.reportWriter.println();
        }

        for (final Iterator iterator = this.failures.iterator(); iterator.hasNext();)
        {
            final Failure failure = (Failure)iterator.next();
            FileComparator comparator = (FileComparator)failure.test;
            final Throwable information = failure.information;
            if (information instanceof AssertionFailedError)
            {
                this.reportWriter.println("FAILURE: " + comparator.getActualFile());
                this.reportWriter.println(failure.information.getMessage());
            }
            else
            {
                this.reportWriter.println("ERROR:");
View Full Code Here

TOP

Related Classes of org.andromda.cartridges.testsuite.FileComparator

Copyright © 2018 www.massapicom. 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.