Unit Test Results

Designed for use with JUnit and Ant.

Class com.puppycrawl.tools.checkstyle.filters.SuppressionCommentFilterTest

NameTestsErrorsFailuresTime(s)
SuppressionCommentFilterTest9114.077

Tests

NameStatusTypeTime(s)
testMessageSuccess3.093
testEqualParenFailureerror message 3 expected:<...7:17: Name 'M2...> but was:<...2:17: Name 'L...>

junit.framework.ComparisonFailure: error message 3 expected:<...7:17: Name 'M2...> but was:<...2:17: Name 'L...> at com.puppycrawl.tools.checkstyle.BaseCheckTestCase.verify(Lcom.puppycrawl.tools.checkstyle.Checker;[Ljava.io.File;Ljava.lang.String;[Ljava.lang.String;)V(BaseCheckTestCase.java:119) at com.puppycrawl.tools.checkstyle.BaseCheckTestCase.verify(Lcom.puppycrawl.tools.checkstyle.Checker;Ljava.lang.String;Ljava.lang.String;[Ljava.lang.String;)V(BaseCheckTestCase.java:96) at com.puppycrawl.tools.checkstyle.BaseCheckTestCase.verify(Lcom.puppycrawl.tools.checkstyle.Checker;Ljava.lang.String;[Ljava.lang.String;)V(BaseCheckTestCase.java:87) at com.puppycrawl.tools.checkstyle.filters.SuppressionCommentFilterTest.verifySuppressed(Lcom.puppycrawl.tools.checkstyle.api.Configuration;[Ljava.lang.String;)V(SuppressionCommentFilterTest.java:183) at com.puppycrawl.tools.checkstyle.filters.SuppressionCommentFilterTest.testEqualParen()V(SuppressionCommentFilterTest.java:148) at jrockit.reflect.NativeMethodInvoker.invoke0(Ljava.lang.Object;ILjava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source) at jrockit.reflect.NativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source) at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
0.070
testExpansionErrorcannot initialize module com.puppycrawl.tools.checkstyle.filters.SuppressionCommentFilter - onCommentFormat and offCommentFormat have different paren counts.

com.puppycrawl.tools.checkstyle.api.CheckstyleException: cannot initialize module com.puppycrawl.tools.checkstyle.filters.SuppressionCommentFilter - onCommentFormat and offCommentFormat have different paren counts. at com.puppycrawl.tools.checkstyle.Checker.setupChild(Lcom.puppycrawl.tools.checkstyle.api.Configuration;)V(Checker.java:164) at com.puppycrawl.tools.checkstyle.api.AutomaticBean.configure(Lcom.puppycrawl.tools.checkstyle.api.Configuration;)V(AutomaticBean.java:203) at com.puppycrawl.tools.checkstyle.filters.SuppressionCommentFilterTest.createChecker(Lcom.puppycrawl.tools.checkstyle.api.Configuration;)Lcom.puppycrawl.tools.checkstyle.Checker;(SuppressionCommentFilterTest.java:206) at com.puppycrawl.tools.checkstyle.filters.SuppressionCommentFilterTest.verifySuppressed(Lcom.puppycrawl.tools.checkstyle.api.Configuration;[Ljava.lang.String;)V(SuppressionCommentFilterTest.java:183) at com.puppycrawl.tools.checkstyle.filters.SuppressionCommentFilterTest.testExpansion()V(SuppressionCommentFilterTest.java:131) at jrockit.reflect.NativeMethodInvoker.invoke0(Ljava.lang.Object;ILjava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source) at jrockit.reflect.NativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source) at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)Caused by: com.puppycrawl.tools.checkstyle.api.CheckstyleException: onCommentFormat and offCommentFormat have different paren counts. at com.puppycrawl.tools.checkstyle.filters.SuppressionCommentFilter.finishLocalSetup()V(SuppressionCommentFilter.java:524) at com.puppycrawl.tools.checkstyle.api.AutomaticBean.configure(Lcom.puppycrawl.tools.checkstyle.api.Configuration;)V(AutomaticBean.java:198) at com.puppycrawl.tools.checkstyle.Checker.setupChild(Lcom.puppycrawl.tools.checkstyle.api.Configuration;)V(Checker.java:143) ... 19 more
0.018
testOffFormatCheckSuccess0.013
testOffFormatSuccess0.011
testCheckCPPSuccess0.016
testCheckCSuccess0.011
testDefaultSuccess0.012
testNoneSuccess0.011
Properties »