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
String
pretty
(
String
input)
public
void
testAbstract
()
public
void
testAnnotation
()
public
void
testAnnotationArrayInit
()
public
void
testAnnotationDef
()
public
void
testAnnotationFieldDef
()
public
void
testAnnotationMemberValuePair
()
public
void
testAnnotations
()
public
void
testArrayDeclarator
()
public
void
testAssign
()
public
void
testBand
()
public
void
testBandAssign
()
public
void
testBnot
()
public
void
testBor
()
public
void
testBorAssign
()
public
void
testBsr
()
public
void
testBsrAssign
()
public
void
testBxor
()
public
void
testBxorAssign
()
public
void
testCaseGroup
()
public
void
testClassDef
()
public
void
testClosedBlock
()
public
void
testCompareTo
()
public
void
testCtorCall
()
public
void
testCtorIdent
()
public
void
testDec
()
public
void
testDiv
()
public
void
testDivAssign
()
public
void
testDot
()
public
void
testDynamicMember
()
public
void
testElist
()
public
void
testEnumConstantDef
()
public
void
testEnumDef
()
public
void
testEqual
()
public
void
testEsc_FAILS
()
public
void
testExponent
()
public
void
testExpr_FAILS
()
public
void
testExtendsClause
()
public
void
testFinal
()
public
void
testForCondition
()
public
void
testForInIterable
()
public
void
testGe
()
public
void
testGt
()
public
void
testHexDigit
()
public
void
testHexDigitInUnicodeEscape_FAILS
()
public
void
testIdent
()
public
void
testImplementsClause
()
public
void
testImplicitParameters
()
public
void
testImport
()
public
void
testInc
()
public
void
testIndexOp
()
public
void
testInstanceInit
()
public
void
testInterfaceDef
()
public
void
testLabeledArg
()
public
void
testLabeledStat
()
public
void
testLand
()
public
void
testLe
()
public
void
testListConstructor
()
public
void
testLiteralAny
()
public
void
testLiteralAs
()
public
void
testLiteralAssert
()
public
void
testLiteralBoolean
()
public
void
testLiteralBreak
()
public
void
testLiteralByte
()
public
void
testLiteralCase
()
public
void
testLiteralCatch
()
public
void
testLiteralChar
()
public
void
testLiteralClass
()
public
void
testLiteralContinue
()
public
void
testLiteralDef
()
public
void
testLiteralDefault
()
public
void
testLiteralDouble
()
public
void
testLiteralElse
()
public
void
testLiteralEnum
()
public
void
testLiteralExtends
()
public
void
testLiteralFalse
()
public
void
testLiteralFinally
()
public
void
testLiteralFloat
()
public
void
testLiteralFor
()
public
void
testLiteralIf
()
public
void
testLiteralImplements
()
public
void
testLiteralImport
()
public
void
testLiteralIn
()
public
void
testLiteralInstanceOf
()
public
void
testLiteralInt
()
public
void
testLiteralInterface
()
public
void
testLiteralLong
()
public
void
testLiteralNative
()
public
void
testLiteralNew
()
public
void
testLiteralNull
()
public
void
testLiteralPackage
()
public
void
testLiteralPrivate
()
public
void
testLiteralProtected
()
public
void
testLiteralPublic
()
public
void
testLiteralReturn
()
public
void
testLiteralShort
()
public
void
testLiteralStatic
()
public
void
testLiteralSuper
()
public
void
testLiteralSwitch
()
public
void
testLiteralSynchronized
()
public
void
testLiteralThis
()
public
void
testLiteralThreadsafe
()
public
void
testLiteralThrow
()
public
void
testLiteralThrows
()
public
void
testLiteralTransient
()
public
void
testLiteralTrue
()
public
void
testLiteralTry
()
public
void
testLiteralVoid
()
public
void
testLiteralVolatile
()
public
void
testLiteralWhile
()
public
void
testLiteralWith
()
public
void
testLnot
()
public
void
testLor
()
public
void
testLparen_FAILS
()
public
void
testLt
()
public
void
testMapConstructor
()
public
void
testMemberPointer
()
public
void
testMethodCall
()
public
void
testMethodDef
()
public
void
testMinus
()
public
void
testMinusAssign
()
public
void
testMod
()
public
void
testModAssign
()
public
void
testModifiers
()
public
void
testNotEqual
()
public
void
testNumBigDecimal
()
public
void
testNumBigInt
()
public
void
testNumDouble
()
public
void
testNumFloat
()
public
void
testNumInt
()
public
void
testNumLong
()
public
void
testObjblock
()
public
void
testOptionalDot
()
public
void
testPackageDef
()
public
void
testParameterDef
()
public
void
testParameters
()
public
void
testPlus
()
public
void
testPlusAssign
()
public
void
testPostDec
()
public
void
testPostInc
()
public
void
testQuestion
()
public
void
testRangeExclusive
()
public
void
testRangeInclusive
()
public
void
testRegexFind
()
public
void
testRegexMatch
()
public
void
testRegexpLiteral
()
public
void
testRegexpLiteral_FAILS
()
public
void
testScopeEscape
()
public
void
testSelectSlot
()
public
void
testSl
()
public
void
testSlAssign
()
public
void
testSlist
()
public
void
testSpreadArg
()
public
void
testSpreadMapArg
()
public
void
testSr
()
public
void
testSrAssign
()
public
void
testStar
()
public
void
testStarAssign
()
public
void
testStarStar
()
public
void
testStarStarAssign
()
public
void
testStaticImport
()
public
void
testStaticInit
()
public
void
testStrictFp
()
public
void
testStringConstructor
()
public
void
testStringLiteral_FAILS
()
public
void
testSuperCtorCall
()
public
void
testType
()
public
void
testTypeArguments
()
public
void
testTypeLowerBounds
()
public
void
testTypeParameters
()
public
void
testTypeUpperBounds
()
public
void
testTypecast
()
public
void
testUnaryMinus
()
public
void
testUnaryPlus
()
public
void
testVariableDef
()
public
void
testVariableDef_FAILS
()
public
void
testVaribleParameterDef
()
public
void
testWildcardType
()
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.