[Clirr-devel] CVS: clirr/src/test/net/sf/clirr/checks ClassHierarchyCheckTest.java,1.3,1.4
Status: Alpha
Brought to you by:
lkuehne
From: Simon K. <s_k...@us...> - 2004-07-02 02:51:19
|
Update of /cvsroot/clirr/clirr/src/test/net/sf/clirr/checks In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18204 Modified Files: ClassHierarchyCheckTest.java Log Message: Use ExpectedDiff class Index: ClassHierarchyCheckTest.java =================================================================== RCS file: /cvsroot/clirr/clirr/src/test/net/sf/clirr/checks/ClassHierarchyCheckTest.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- ClassHierarchyCheckTest.java 27 Jun 2004 14:39:19 -0000 1.3 +++ ClassHierarchyCheckTest.java 2 Jul 2004 02:51:11 -0000 1.4 @@ -1,7 +1,6 @@ package net.sf.clirr.checks; import net.sf.clirr.framework.ClassChangeCheck; -import net.sf.clirr.event.ApiDifference; import net.sf.clirr.event.Severity; /** @@ -11,10 +10,10 @@ { public void testHierarchyChangesAreReported() throws Exception { - ApiDifference[] expected = new ApiDifference[] { - new ApiDifference("Added java.util.NoSuchElementException to the list of superclasses of testlib.ApplicationException", Severity.WARNING, "testlib.ApplicationException", null, null), - new ApiDifference("Removed java.awt.event.MouseAdapter from the list of superclasses of testlib.ChangingHierarchy", Severity.ERROR, "testlib.ChangingHierarchy", null, null), - new ApiDifference("Added java.awt.event.WindowAdapter to the list of superclasses of testlib.ChangingHierarchy", Severity.INFO, "testlib.ChangingHierarchy", null, null), + ExpectedDiff[] expected = new ExpectedDiff[] { + new ExpectedDiff("Added java.util.NoSuchElementException to the list of superclasses", Severity.WARNING, "testlib.ApplicationException", null, null), + new ExpectedDiff("Removed java.awt.event.MouseAdapter from the list of superclasses", Severity.ERROR, "testlib.ChangingHierarchy", null, null), + new ExpectedDiff("Added java.awt.event.WindowAdapter to the list of superclasses", Severity.INFO, "testlib.ChangingHierarchy", null, null), }; verify(expected); } |