KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > puppycrawl > tools > checkstyle > checks > UpperEllCheckTest


1 package com.puppycrawl.tools.checkstyle.checks;
2
3 import com.puppycrawl.tools.checkstyle.BaseCheckTestCase;
4 import com.puppycrawl.tools.checkstyle.DefaultConfiguration;
5
6 public class UpperEllCheckTest
7     extends BaseCheckTestCase
8 {
9     public void testWithChecker()
10         throws Exception JavaDoc
11     {
12         final DefaultConfiguration checkConfig =
13             createCheckConfig(UpperEllCheck.class);
14         final String JavaDoc[] expected = {
15             "94:43: Should use uppercase 'L'.",
16         };
17         verify(checkConfig, getPath("InputSemantic.java"), expected);
18     }
19 }
20
Popular Tags