Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.puppycrawl.tools.checkstyle.checks
Class DescendantTokenCheckTest  view DescendantTokenCheckTest download DescendantTokenCheckTest.java

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bycom.puppycrawl.tools.checkstyle.BaseCheckTestCase
              extended bycom.puppycrawl.tools.checkstyle.checks.DescendantTokenCheckTest
All Implemented Interfaces:
junit.framework.Test

public class DescendantTokenCheckTest
extends com.puppycrawl.tools.checkstyle.BaseCheckTestCase


Nested Class Summary
 
Nested classes inherited from class com.puppycrawl.tools.checkstyle.BaseCheckTestCase
com.puppycrawl.tools.checkstyle.BaseCheckTestCase.BriefLogger
 
Field Summary
 
Fields inherited from class com.puppycrawl.tools.checkstyle.BaseCheckTestCase
mProps, mStream
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
DescendantTokenCheckTest()
           
 
Method Summary
 void testDefault()
           
 void testEmptyStatements()
           
 void testIllegalTokenDefault()
           
 void testIllegalTokenNative()
           
 void testMaximumDepth()
           
 void testMaximumNumber()
           
 void testMessage()
           
 void testMinimumDepth()
           
 void testMinimumNumber()
           
 void testMissingSwitchDefault()
           
 void testReturnFromCatch()
           
 void testReturnFromFinally()
           
 void testStringLiteralEquality()
           
 
Methods inherited from class com.puppycrawl.tools.checkstyle.BaseCheckTestCase
createCheckConfig, createChecker, createCheckerConfig, getPath, verify, verify, verify, verify
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescendantTokenCheckTest

public DescendantTokenCheckTest()
Method Detail

testDefault

public void testDefault()
                 throws java.lang.Exception

testMaximumNumber

public void testMaximumNumber()
                       throws java.lang.Exception

testMessage

public void testMessage()
                 throws java.lang.Exception

testMinimumNumber

public void testMinimumNumber()
                       throws java.lang.Exception

testMinimumDepth

public void testMinimumDepth()
                      throws java.lang.Exception

testMaximumDepth

public void testMaximumDepth()
                      throws java.lang.Exception

testEmptyStatements

public void testEmptyStatements()
                         throws java.lang.Exception

testMissingSwitchDefault

public void testMissingSwitchDefault()
                              throws java.lang.Exception

testStringLiteralEquality

public void testStringLiteralEquality()
                               throws java.lang.Exception

testIllegalTokenDefault

public void testIllegalTokenDefault()
                             throws java.lang.Exception

testIllegalTokenNative

public void testIllegalTokenNative()
                            throws java.lang.Exception

testReturnFromCatch

public void testReturnFromCatch()
                         throws java.lang.Exception

testReturnFromFinally

public void testReturnFromFinally()
                           throws java.lang.Exception