Java Doc for SourcePrinterTest.java in  » Scripting » groovy-1.0 » org » codehaus » groovy » antlr » treewalker » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Scripting » groovy 1.0 » org.codehaus.groovy.antlr.treewalker 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


groovy.util.GroovyTestCase
   org.codehaus.groovy.antlr.treewalker.SourcePrinterTest

SourcePrinterTest
public class SourcePrinterTest extends GroovyTestCase (Code)
Testcases for the antlr AST visitor that prints groovy source code.
author:
   Jeremy Rayner
version:
   $Revision: 4653 $




Method Summary
public  Stringpretty(String input)
    
public  voidtestAbstract()
    
public  voidtestAnnotation()
    
public  voidtestAnnotationArrayInit()
    
public  voidtestAnnotationDef()
    
public  voidtestAnnotationFieldDef()
    
public  voidtestAnnotationMemberValuePair()
    
public  voidtestAnnotations()
    
public  voidtestArrayDeclarator()
    
public  voidtestAssign()
    
public  voidtestBand()
    
public  voidtestBandAssign()
    
public  voidtestBnot()
    
public  voidtestBor()
    
public  voidtestBorAssign()
    
public  voidtestBsr()
    
public  voidtestBsrAssign()
    
public  voidtestBxor()
    
public  voidtestBxorAssign()
    
public  voidtestCaseGroup()
    
public  voidtestClassDef()
    
public  voidtestClosedBlock()
    
public  voidtestCompareTo()
    
public  voidtestCtorCall()
    
public  voidtestCtorIdent()
    
public  voidtestDec()
    
public  voidtestDiv()
    
public  voidtestDivAssign()
    
public  voidtestDot()
    
public  voidtestDynamicMember()
    
public  voidtestElist()
    
public  voidtestEnumConstantDef()
    
public  voidtestEnumDef()
    
public  voidtestEqual()
    
public  voidtestEsc_FAILS()
    
public  voidtestExponent()
    
public  voidtestExpr_FAILS()
    
public  voidtestExtendsClause()
    
public  voidtestFinal()
    
public  voidtestForCondition()
    
public  voidtestForInIterable()
    
public  voidtestGe()
    
public  voidtestGt()
    
public  voidtestHexDigit()
    
public  voidtestHexDigitInUnicodeEscape_FAILS()
    
public  voidtestIdent()
    
public  voidtestImplementsClause()
    
public  voidtestImplicitParameters()
    
public  voidtestImport()
    
public  voidtestInc()
    
public  voidtestIndexOp()
    
public  voidtestInstanceInit()
    
public  voidtestInterfaceDef()
    
public  voidtestLabeledArg()
    
public  voidtestLabeledStat()
    
public  voidtestLand()
    
public  voidtestLe()
    
public  voidtestListConstructor()
    
public  voidtestLiteralAny()
    
public  voidtestLiteralAs()
    
public  voidtestLiteralAssert()
    
public  voidtestLiteralBoolean()
    
public  voidtestLiteralBreak()
    
public  voidtestLiteralByte()
    
public  voidtestLiteralCase()
    
public  voidtestLiteralCatch()
    
public  voidtestLiteralChar()
    
public  voidtestLiteralClass()
    
public  voidtestLiteralContinue()
    
public  voidtestLiteralDef()
    
public  voidtestLiteralDefault()
    
public  voidtestLiteralDouble()
    
public  voidtestLiteralElse()
    
public  voidtestLiteralEnum()
    
public  voidtestLiteralExtends()
    
public  voidtestLiteralFalse()
    
public  voidtestLiteralFinally()
    
public  voidtestLiteralFloat()
    
public  voidtestLiteralFor()
    
public  voidtestLiteralIf()
    
public  voidtestLiteralImplements()
    
public  voidtestLiteralImport()
    
public  voidtestLiteralIn()
    
public  voidtestLiteralInstanceOf()
    
public  voidtestLiteralInt()
    
public  voidtestLiteralInterface()
    
public  voidtestLiteralLong()
    
public  voidtestLiteralNative()
    
public  voidtestLiteralNew()
    
public  voidtestLiteralNull()
    
public  voidtestLiteralPackage()
    
public  voidtestLiteralPrivate()
    
public  voidtestLiteralProtected()
    
public  voidtestLiteralPublic()
    
public  voidtestLiteralReturn()
    
public  voidtestLiteralShort()
    
public  voidtestLiteralStatic()
    
public  voidtestLiteralSuper()
    
public  voidtestLiteralSwitch()
    
public  voidtestLiteralSynchronized()
    
public  voidtestLiteralThis()
    
public  voidtestLiteralThreadsafe()
    
public  voidtestLiteralThrow()
    
public  voidtestLiteralThrows()
    
public  voidtestLiteralTransient()
    
public  voidtestLiteralTrue()
    
public  voidtestLiteralTry()
    
public  voidtestLiteralVoid()
    
public  voidtestLiteralVolatile()
    
public  voidtestLiteralWhile()
    
public  voidtestLiteralWith()
    
public  voidtestLnot()
    
public  voidtestLor()
    
public  voidtestLparen_FAILS()
    
public  voidtestLt()
    
public  voidtestMapConstructor()
    
public  voidtestMemberPointer()
    
public  voidtestMethodCall()
    
public  voidtestMethodDef()
    
public  voidtestMinus()
    
public  voidtestMinusAssign()
    
public  voidtestMod()
    
public  voidtestModAssign()
    
public  voidtestModifiers()
    
public  voidtestNotEqual()
    
public  voidtestNumBigDecimal()
    
public  voidtestNumBigInt()
    
public  voidtestNumDouble()
    
public  voidtestNumFloat()
    
public  voidtestNumInt()
    
public  voidtestNumLong()
    
public  voidtestObjblock()
    
public  voidtestOptionalDot()
    
public  voidtestPackageDef()
    
public  voidtestParameterDef()
    
public  voidtestParameters()
    
public  voidtestPlus()
    
public  voidtestPlusAssign()
    
public  voidtestPostDec()
    
public  voidtestPostInc()
    
public  voidtestQuestion()
    
public  voidtestRangeExclusive()
    
public  voidtestRangeInclusive()
    
public  voidtestRegexFind()
    
public  voidtestRegexMatch()
    
public  voidtestRegexpLiteral()
    
public  voidtestRegexpLiteral_FAILS()
    
public  voidtestScopeEscape()
    
public  voidtestSelectSlot()
    
public  voidtestSl()
    
public  voidtestSlAssign()
    
public  voidtestSlist()
    
public  voidtestSpreadArg()
    
public  voidtestSpreadMapArg()
    
public  voidtestSr()
    
public  voidtestSrAssign()
    
public  voidtestStar()
    
public  voidtestStarAssign()
    
public  voidtestStarStar()
    
public  voidtestStarStarAssign()
    
public  voidtestStaticImport()
    
public  voidtestStaticInit()
    
public  voidtestStrictFp()
    
public  voidtestStringConstructor()
    
public  voidtestStringLiteral_FAILS()
    
public  voidtestSuperCtorCall()
    
public  voidtestType()
    
public  voidtestTypeArguments()
    
public  voidtestTypeLowerBounds()
    
public  voidtestTypeParameters()
    
public  voidtestTypeUpperBounds()
    
public  voidtestTypecast()
    
public  voidtestUnaryMinus()
    
public  voidtestUnaryPlus()
    
public  voidtestVariableDef()
    
public  voidtestVariableDef_FAILS()
    
public  voidtestVaribleParameterDef()
    
public  voidtestWildcardType()
    



Method Detail
pretty
public String pretty(String input) throws Exception(Code)



testAbstract
public void testAbstract() throws Exception(Code)



testAnnotation
public void testAnnotation() throws Exception(Code)



testAnnotationArrayInit
public void testAnnotationArrayInit() throws Exception(Code)



testAnnotationDef
public void testAnnotationDef() throws Exception(Code)



testAnnotationFieldDef
public void testAnnotationFieldDef() throws Exception(Code)



testAnnotationMemberValuePair
public void testAnnotationMemberValuePair() throws Exception(Code)



testAnnotations
public void testAnnotations() throws Exception(Code)



testArrayDeclarator
public void testArrayDeclarator() throws Exception(Code)



testAssign
public void testAssign() throws Exception(Code)



testBand
public void testBand() throws Exception(Code)



testBandAssign
public void testBandAssign() throws Exception(Code)



testBnot
public void testBnot() throws Exception(Code)



testBor
public void testBor() throws Exception(Code)



testBorAssign
public void testBorAssign() throws Exception(Code)



testBsr
public void testBsr() throws Exception(Code)



testBsrAssign
public void testBsrAssign() throws Exception(Code)



testBxor
public void testBxor() throws Exception(Code)



testBxorAssign
public void testBxorAssign() throws Exception(Code)



testCaseGroup
public void testCaseGroup() throws Exception(Code)



testClassDef
public void testClassDef() throws Exception(Code)



testClosedBlock
public void testClosedBlock() throws Exception(Code)



testCompareTo
public void testCompareTo() throws Exception(Code)



testCtorCall
public void testCtorCall() throws Exception(Code)



testCtorIdent
public void testCtorIdent() throws Exception(Code)



testDec
public void testDec() throws Exception(Code)



testDiv
public void testDiv() throws Exception(Code)



testDivAssign
public void testDivAssign() throws Exception(Code)



testDot
public void testDot() throws Exception(Code)



testDynamicMember
public void testDynamicMember() throws Exception(Code)



testElist
public void testElist() throws Exception(Code)



testEnumConstantDef
public void testEnumConstantDef() throws Exception(Code)



testEnumDef
public void testEnumDef() throws Exception(Code)



testEqual
public void testEqual() throws Exception(Code)



testEsc_FAILS
public void testEsc_FAILS() throws Exception(Code)



testExponent
public void testExponent() throws Exception(Code)



testExpr_FAILS
public void testExpr_FAILS() throws Exception(Code)



testExtendsClause
public void testExtendsClause() throws Exception(Code)



testFinal
public void testFinal() throws Exception(Code)



testForCondition
public void testForCondition() throws Exception(Code)



testForInIterable
public void testForInIterable() throws Exception(Code)



testGe
public void testGe() throws Exception(Code)



testGt
public void testGt() throws Exception(Code)



testHexDigit
public void testHexDigit() throws Exception(Code)



testHexDigitInUnicodeEscape_FAILS
public void testHexDigitInUnicodeEscape_FAILS() throws Exception(Code)



testIdent
public void testIdent() throws Exception(Code)



testImplementsClause
public void testImplementsClause() throws Exception(Code)



testImplicitParameters
public void testImplicitParameters() throws Exception(Code)



testImport
public void testImport() throws Exception(Code)



testInc
public void testInc() throws Exception(Code)



testIndexOp
public void testIndexOp() throws Exception(Code)



testInstanceInit
public void testInstanceInit() throws Exception(Code)



testInterfaceDef
public void testInterfaceDef() throws Exception(Code)



testLabeledArg
public void testLabeledArg() throws Exception(Code)



testLabeledStat
public void testLabeledStat() throws Exception(Code)



testLand
public void testLand() throws Exception(Code)



testLe
public void testLe() throws Exception(Code)



testListConstructor
public void testListConstructor() throws Exception(Code)



testLiteralAny
public void testLiteralAny() throws Exception(Code)



testLiteralAs
public void testLiteralAs() throws Exception(Code)



testLiteralAssert
public void testLiteralAssert() throws Exception(Code)



testLiteralBoolean
public void testLiteralBoolean() throws Exception(Code)



testLiteralBreak
public void testLiteralBreak() throws Exception(Code)



testLiteralByte
public void testLiteralByte() throws Exception(Code)



testLiteralCase
public void testLiteralCase() throws Exception(Code)



testLiteralCatch
public void testLiteralCatch() throws Exception(Code)



testLiteralChar
public void testLiteralChar() throws Exception(Code)



testLiteralClass
public void testLiteralClass() throws Exception(Code)



testLiteralContinue
public void testLiteralContinue() throws Exception(Code)



testLiteralDef
public void testLiteralDef() throws Exception(Code)



testLiteralDefault
public void testLiteralDefault() throws Exception(Code)



testLiteralDouble
public void testLiteralDouble() throws Exception(Code)



testLiteralElse
public void testLiteralElse() throws Exception(Code)



testLiteralEnum
public void testLiteralEnum() throws Exception(Code)



testLiteralExtends
public void testLiteralExtends() throws Exception(Code)



testLiteralFalse
public void testLiteralFalse() throws Exception(Code)



testLiteralFinally
public void testLiteralFinally() throws Exception(Code)



testLiteralFloat
public void testLiteralFloat() throws Exception(Code)



testLiteralFor
public void testLiteralFor() throws Exception(Code)



testLiteralIf
public void testLiteralIf() throws Exception(Code)



testLiteralImplements
public void testLiteralImplements() throws Exception(Code)



testLiteralImport
public void testLiteralImport() throws Exception(Code)



testLiteralIn
public void testLiteralIn() throws Exception(Code)



testLiteralInstanceOf
public void testLiteralInstanceOf() throws Exception(Code)



testLiteralInt
public void testLiteralInt() throws Exception(Code)



testLiteralInterface
public void testLiteralInterface() throws Exception(Code)



testLiteralLong
public void testLiteralLong() throws Exception(Code)



testLiteralNative
public void testLiteralNative() throws Exception(Code)



testLiteralNew
public void testLiteralNew() throws Exception(Code)



testLiteralNull
public void testLiteralNull() throws Exception(Code)



testLiteralPackage
public void testLiteralPackage() throws Exception(Code)



testLiteralPrivate
public void testLiteralPrivate() throws Exception(Code)



testLiteralProtected
public void testLiteralProtected() throws Exception(Code)



testLiteralPublic
public void testLiteralPublic() throws Exception(Code)



testLiteralReturn
public void testLiteralReturn() throws Exception(Code)



testLiteralShort
public void testLiteralShort() throws Exception(Code)



testLiteralStatic
public void testLiteralStatic() throws Exception(Code)



testLiteralSuper
public void testLiteralSuper() throws Exception(Code)



testLiteralSwitch
public void testLiteralSwitch() throws Exception(Code)



testLiteralSynchronized
public void testLiteralSynchronized() throws Exception(Code)



testLiteralThis
public void testLiteralThis() throws Exception(Code)



testLiteralThreadsafe
public void testLiteralThreadsafe() throws Exception(Code)



testLiteralThrow
public void testLiteralThrow() throws Exception(Code)



testLiteralThrows
public void testLiteralThrows() throws Exception(Code)



testLiteralTransient
public void testLiteralTransient() throws Exception(Code)



testLiteralTrue
public void testLiteralTrue() throws Exception(Code)



testLiteralTry
public void testLiteralTry() throws Exception(Code)



testLiteralVoid
public void testLiteralVoid() throws Exception(Code)



testLiteralVolatile
public void testLiteralVolatile() throws Exception(Code)



testLiteralWhile
public void testLiteralWhile() throws Exception(Code)



testLiteralWith
public void testLiteralWith() throws Exception(Code)



testLnot
public void testLnot() throws Exception(Code)



testLor
public void testLor() throws Exception(Code)



testLparen_FAILS
public void testLparen_FAILS() throws Exception(Code)



testLt
public void testLt() throws Exception(Code)



testMapConstructor
public void testMapConstructor() throws Exception(Code)



testMemberPointer
public void testMemberPointer() throws Exception(Code)



testMethodCall
public void testMethodCall() throws Exception(Code)



testMethodDef
public void testMethodDef() throws Exception(Code)



testMinus
public void testMinus() throws Exception(Code)



testMinusAssign
public void testMinusAssign() throws Exception(Code)



testMod
public void testMod() throws Exception(Code)



testModAssign
public void testModAssign() throws Exception(Code)



testModifiers
public void testModifiers() throws Exception(Code)



testNotEqual
public void testNotEqual() throws Exception(Code)



testNumBigDecimal
public void testNumBigDecimal() throws Exception(Code)



testNumBigInt
public void testNumBigInt() throws Exception(Code)



testNumDouble
public void testNumDouble() throws Exception(Code)



testNumFloat
public void testNumFloat() throws Exception(Code)



testNumInt
public void testNumInt() throws Exception(Code)



testNumLong
public void testNumLong() throws Exception(Code)



testObjblock
public void testObjblock() throws Exception(Code)



testOptionalDot
public void testOptionalDot() throws Exception(Code)



testPackageDef
public void testPackageDef() throws Exception(Code)



testParameterDef
public void testParameterDef() throws Exception(Code)



testParameters
public void testParameters() throws Exception(Code)



testPlus
public void testPlus() throws Exception(Code)



testPlusAssign
public void testPlusAssign() throws Exception(Code)



testPostDec
public void testPostDec() throws Exception(Code)



testPostInc
public void testPostInc() throws Exception(Code)



testQuestion
public void testQuestion() throws Exception(Code)



testRangeExclusive
public void testRangeExclusive() throws Exception(Code)



testRangeInclusive
public void testRangeInclusive() throws Exception(Code)



testRegexFind
public void testRegexFind() throws Exception(Code)



testRegexMatch
public void testRegexMatch() throws Exception(Code)



testRegexpLiteral
public void testRegexpLiteral() throws Exception(Code)



testRegexpLiteral_FAILS
public void testRegexpLiteral_FAILS() throws Exception(Code)



testScopeEscape
public void testScopeEscape() throws Exception(Code)



testSelectSlot
public void testSelectSlot() throws Exception(Code)



testSl
public void testSl() throws Exception(Code)



testSlAssign
public void testSlAssign() throws Exception(Code)



testSlist
public void testSlist() throws Exception(Code)



testSpreadArg
public void testSpreadArg() throws Exception(Code)



testSpreadMapArg
public void testSpreadMapArg() throws Exception(Code)



testSr
public void testSr() throws Exception(Code)



testSrAssign
public void testSrAssign() throws Exception(Code)



testStar
public void testStar() throws Exception(Code)



testStarAssign
public void testStarAssign() throws Exception(Code)



testStarStar
public void testStarStar() throws Exception(Code)



testStarStarAssign
public void testStarStarAssign() throws Exception(Code)



testStaticImport
public void testStaticImport() throws Exception(Code)



testStaticInit
public void testStaticInit() throws Exception(Code)



testStrictFp
public void testStrictFp() throws Exception(Code)



testStringConstructor
public void testStringConstructor() throws Exception(Code)



testStringLiteral_FAILS
public void testStringLiteral_FAILS() throws Exception(Code)



testSuperCtorCall
public void testSuperCtorCall() throws Exception(Code)



testType
public void testType() throws Exception(Code)



testTypeArguments
public void testTypeArguments() throws Exception(Code)



testTypeLowerBounds
public void testTypeLowerBounds() throws Exception(Code)



testTypeParameters
public void testTypeParameters() throws Exception(Code)



testTypeUpperBounds
public void testTypeUpperBounds() throws Exception(Code)



testTypecast
public void testTypecast() throws Exception(Code)



testUnaryMinus
public void testUnaryMinus() throws Exception(Code)



testUnaryPlus
public void testUnaryPlus() throws Exception(Code)



testVariableDef
public void testVariableDef() throws Exception(Code)



testVariableDef_FAILS
public void testVariableDef_FAILS() throws Exception(Code)



testVaribleParameterDef
public void testVaribleParameterDef() throws Exception(Code)



testWildcardType
public void testWildcardType() throws Exception(Code)



Fields inherited from groovy.util.GroovyTestCase
protected static Logger log(Code)(Java Doc)

Methods inherited from groovy.util.GroovyTestCase
protected void assertArrayEquals(Object[] expected, Object[] value)(Code)(Java Doc)
protected void assertContains(char expected, char[] array)(Code)(Java Doc)
protected void assertContains(int expected, int[] array)(Code)(Java Doc)
protected void assertInspect(Object value, String expected)(Code)(Java Doc)
protected void assertLength(int length, char[] array)(Code)(Java Doc)
protected void assertLength(int length, int[] array)(Code)(Java Doc)
protected void assertLength(int length, Object[] array)(Code)(Java Doc)
protected void assertScript(String script) throws Exception(Code)(Java Doc)
protected void assertToString(Object value, String expected)(Code)(Java Doc)
protected String fixEOLs(String value)(Code)(Java Doc)
public String getMethodName()(Code)(Java Doc)
public String getName()(Code)(Java Doc)
protected String getTestClassName()(Code)(Java Doc)
public static boolean notYetImplemented(TestCase caller)(Code)(Java Doc)
public boolean notYetImplemented()(Code)(Java Doc)
protected String shouldFail(Closure code)(Code)(Java Doc)
protected String shouldFail(Class clazz, Closure code)(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.