Java Doc for IndentTest.java in » IDE » DrJava » edu » rice » cs » drjava » model » definitions » 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
»
IDE
»
DrJava
»
edu.rice.cs.drjava.model.definitions
Source Cross Reference
Class Diagram
Java Document (Java Doc)
edu.rice.cs.drjava
.DrJavaTestCase
edu.rice.cs.drjava.model.definitions
.IndentTest
IndentTest
final
public
class IndentTest extends
DrJavaTestCase
(Code)
Test the tab/enter/squiggly indenting functionality.
version:
$Id: IndentTest.java 4255 2007-08-28 19:17:37Z mgricken $
Field Summary
protected
DefinitionsDocument
doc
static
String
noBrace
static
String
openBracket
static
String
openParen
static
String
openSquiggly
Constructor Summary
public
IndentTest
(
String
name)
Tests the indent operation.
Method Summary
public
void
setUp
()
Sets up the member bindings common to all tests.
public
static Test
suite
()
Builds the suite of tests for Indent.class.
public
void
testAfterBlockComment
()
public
void
testAfterBlockComment2
()
public
void
testAfterBlockComment3
()
public
void
testAfterBlockComment4
()
public
void
testAnnotationsAfterDefinition
()
Tests that annotations do not change the indent level of the lines following.
public
void
testAnnotationsAfterOpenCurly
()
Tests that annotations do not change the indent level of the lines following.
public
void
testAnonymousInnerClass
()
Regression test for arrays.
public
void
testBlockIndent
()
public
void
testBlockIndent2
()
Regression test for bug in drjava-20010802-1020: Indent block on a file containing just " x;\n y;\n" would throw an exception.
public
void
testEndBrace
()
public
void
testEndOfBlockComment
()
public
void
testEnter
()
public
void
testEnter2
()
public
void
testFor
()
public
void
testFor2
()
public
void
testIgnoreBraceOnSameLine
()
public
void
testIndentArray
()
Regression test for arrays.
public
void
testIndentBraces
()
Regression test for braces.
public
void
testIndentComments
()
Regression test for comment portion of indent tree.
public
void
testIndentCommonCases
()
Regression test for common cases.
public
void
testIndentInfoBlockComments
()
public
void
testIndentInfoBlockComments2
()
public
void
testIndentInfoBlockComments3
()
public
void
testIndentInfoBlockComments4
()
public
void
testIndentInfoBracket
()
public
void
testIndentInfoParen
()
public
void
testIndentInfoPrevNewline
()
public
void
testIndentInfoSquiggly
()
public
void
testIndentInsideCommentBlock
()
public
void
testIndentParenPhrases
()
Regression test for paren phrases.
public
void
testIndentSwitch
()
Regression test for switch statements.
public
void
testIndentTernary
()
Regression test for ternary operators.
public
void
testIndentingCorrectLine
()
public
void
testInsideClass
()
public
void
testInsideClassWithBraceSets
()
public
void
testLiveUpdateOfIndentLevel
()
public
void
testMotion
()
public
void
testMultiLineStarInsertFirstLine
()
Test case for SourceForge bug# 681203.
public
void
testMultiLineStarInsertLaterLine
()
Test case for SourceForge bug# 681203.
public
void
testNestedIfInSwitch
()
public
void
testNextCharIsNewline
()
public
void
testNotRecognizeComments
()
public
void
testNotRecognizeComments2
()
public
void
testNothingToIndentOn
()
public
void
testOpenBracket
()
public
void
testOpenParen
()
public
void
testPrintString
()
public
void
testSecondLineProblem
()
public
void
testSecondLineProblem2
()
public
void
testSkippingBraces
()
public
void
testSkippingComments
()
public
void
testSkippingCommentsBraceAtBeginning
()
public
void
testSmallFileProblem
()
public
void
testSpaceBrace
()
public
void
testSquigglyAlignment
()
public
void
testStartBrace
()
public
void
testStartSimple
()
public
void
testStartSpaceIndent
()
public
void
testWeird
()
public
void
testWierd2
()
Field Detail
doc
protected
DefinitionsDocument
doc
(Code)
noBrace
static
String
noBrace
(Code)
openBracket
static
String
openBracket
(Code)
openParen
static
String
openParen
(Code)
openSquiggly
static
String
openSquiggly
(Code)
Constructor Detail
IndentTest
public
IndentTest(
String
name)
(Code)
Tests the indent operation.
Parameters:
name -
Method Detail
setUp
public
void setUp() throws
Exception
(Code)
Sets up the member bindings common to all tests.
suite
public
static Test suite()
(Code)
Builds the suite of tests for Indent.class. the suite.
testAfterBlockComment
public
void testAfterBlockComment() throws
BadLocationException
(Code)
put your documentation comment here
exception:
BadLocationException
-
testAfterBlockComment2
public
void testAfterBlockComment2() throws
BadLocationException
(Code)
put your documentation comment here
exception:
BadLocationException
-
testAfterBlockComment3
public
void testAfterBlockComment3() throws
BadLocationException
(Code)
put your documentation comment here
exception:
BadLocationException
-
testAfterBlockComment4
public
void testAfterBlockComment4() throws
BadLocationException
(Code)
put your documentation comment here
exception:
BadLocationException
-
testAnnotationsAfterDefinition
public
void testAnnotationsAfterDefinition() throws
BadLocationException
(Code)
Tests that annotations do not change the indent level of the lines following.
throws:
BadLocationException
-
testAnnotationsAfterOpenCurly
public
void testAnnotationsAfterOpenCurly() throws
BadLocationException
(Code)
Tests that annotations do not change the indent level of the lines following.
throws:
BadLocationException
-
testAnonymousInnerClass
public
void testAnonymousInnerClass() throws
BadLocationException
(Code)
Regression test for arrays.
testBlockIndent
public
void testBlockIndent() throws
BadLocationException
(Code)
put your documentation comment here
exception:
BadLocationException
-
testBlockIndent2
public
void testBlockIndent2() throws
BadLocationException
(Code)
Regression test for bug in drjava-20010802-1020: Indent block on a file containing just " x;\n y;\n" would throw an exception.
exception:
BadLocationException
-
testEndBrace
public
void testEndBrace() throws
BadLocationException
(Code)
put your documentation comment here
exception:
BadLocationException
-
testEndOfBlockComment
public
void testEndOfBlockComment() throws
BadLocationException
(Code)
put your documentation comment here
exception:
BadLocationException
-
testEnter
public
void testEnter() throws
BadLocationException
(Code)
put your documentation comment here
exception:
BadLocationException
-
testEnter2
public
void testEnter2() throws
BadLocationException
(Code)
put your documentation comment here
exception:
BadLocationException
-
testFor
public
void testFor() throws
BadLocationException
(Code)
put your documentation comment here
exception:
BadLocationException
-
testFor2
public
void testFor2() throws
BadLocationException
(Code)
put your documentation comment here
exception:
BadLocationException
-
testIgnoreBraceOnSameLine
public
void testIgnoreBraceOnSameLine() throws
BadLocationException
(Code)
put your documentation comment here
exception:
BadLocationException
-
testIndentArray
public
void testIndentArray() throws
BadLocationException
(Code)
Regression test for arrays.
testIndentBraces
public
void testIndentBraces() throws
BadLocationException
(Code)
Regression test for braces.
testIndentComments
public
void testIndentComments() throws
BadLocationException
(Code)
Regression test for comment portion of indent tree.
testIndentCommonCases
public
void testIndentCommonCases() throws
BadLocationException
(Code)
Regression test for common cases.
testIndentInfoBlockComments
public
void testIndentInfoBlockComments() throws
BadLocationException
(Code)
put your documentation comment here
exception:
BadLocationException
-
testIndentInfoBlockComments2
public
void testIndentInfoBlockComments2() throws
BadLocationException
(Code)
put your documentation comment here
exception:
BadLocationException
-
testIndentInfoBlockComments3
public
void testIndentInfoBlockComments3() throws
BadLocationException
(Code)
put your documentation comment here
exception:
BadLocationException
-
testIndentInfoBlockComments4
public
void testIndentInfoBlockComments4() throws
BadLocationException
(Code)
put your documentation comment here
exception:
BadLocationException
-
testIndentInfoBracket
public
void testIndentInfoBracket() throws
BadLocationException
(Code)
put your documentation comment here
exception:
BadLocationException
-
testIndentInfoParen
public
void testIndentInfoParen() throws
BadLocationException
(Code)
put your documentation comment here
exception:
BadLocationException
-
testIndentInfoPrevNewline
public
void testIndentInfoPrevNewline() throws
BadLocationException
(Code)
put your documentation comment here
exception:
BadLocationException
-
testIndentInfoSquiggly
public
void testIndentInfoSquiggly() throws
BadLocationException
(Code)
put your documentation comment here
exception:
BadLocationException
-
testIndentInsideCommentBlock
public
void testIndentInsideCommentBlock() throws
BadLocationException
(Code)
put your documentation comment here
exception:
BadLocationException
-
testIndentParenPhrases
public
void testIndentParenPhrases() throws
BadLocationException
(Code)
Regression test for paren phrases.
testIndentSwitch
public
void testIndentSwitch() throws
BadLocationException
(Code)
Regression test for switch statements.
testIndentTernary
public
void testIndentTernary() throws
BadLocationException
(Code)
Regression test for ternary operators.
testIndentingCorrectLine
public
void testIndentingCorrectLine() throws
BadLocationException
(Code)
testInsideClass
public
void testInsideClass() throws
BadLocationException
(Code)
put your documentation comment here
exception:
BadLocationException
-
testInsideClassWithBraceSets
public
void testInsideClassWithBraceSets() throws
BadLocationException
(Code)
put your documentation comment here
exception:
BadLocationException
-
testLiveUpdateOfIndentLevel
public
void testLiveUpdateOfIndentLevel() throws
BadLocationException
(Code)
testMotion
public
void testMotion() throws
BadLocationException
(Code)
put your documentation comment here
exception:
BadLocationException
-
testMultiLineStarInsertFirstLine
public
void testMultiLineStarInsertFirstLine() throws
BadLocationException
(Code)
Test case for SourceForge bug# 681203.
testMultiLineStarInsertLaterLine
public
void testMultiLineStarInsertLaterLine() throws
BadLocationException
(Code)
Test case for SourceForge bug# 681203.
testNestedIfInSwitch
public
void testNestedIfInSwitch() throws
BadLocationException
(Code)
tests that an if statment nested in a switch will be indented properly
throws:
BadLocationException
-
testNextCharIsNewline
public
void testNextCharIsNewline() throws
BadLocationException
(Code)
put your documentation comment here
exception:
BadLocationException
-
testNotRecognizeComments
public
void testNotRecognizeComments() throws
BadLocationException
(Code)
put your documentation comment here
exception:
BadLocationException
-
testNotRecognizeComments2
public
void testNotRecognizeComments2() throws
BadLocationException
(Code)
put your documentation comment here
exception:
BadLocationException
-
testNothingToIndentOn
public
void testNothingToIndentOn() throws
BadLocationException
(Code)
put your documentation comment here
exception:
BadLocationException
-
testOpenBracket
public
void testOpenBracket() throws
BadLocationException
(Code)
put your documentation comment here
exception:
BadLocationException
-
testOpenParen
public
void testOpenParen() throws
BadLocationException
(Code)
put your documentation comment here
exception:
BadLocationException
-
testPrintString
public
void testPrintString() throws
BadLocationException
(Code)
put your documentation comment here
exception:
BadLocationException
-
testSecondLineProblem
public
void testSecondLineProblem() throws
BadLocationException
(Code)
put your documentation comment here
exception:
BadLocationException
-
testSecondLineProblem2
public
void testSecondLineProblem2() throws
BadLocationException
(Code)
put your documentation comment here
exception:
BadLocationException
-
testSkippingBraces
public
void testSkippingBraces() throws
BadLocationException
(Code)
put your documentation comment here
exception:
BadLocationException
-
testSkippingComments
public
void testSkippingComments() throws
BadLocationException
(Code)
put your documentation comment here
exception:
BadLocationException
-
testSkippingCommentsBraceAtBeginning
public
void testSkippingCommentsBraceAtBeginning() throws
BadLocationException
(Code)
put your documentation comment here
exception:
BadLocationException
-
testSmallFileProblem
public
void testSmallFileProblem() throws
BadLocationException
(Code)
put your documentation comment here
exception:
BadLocationException
-
testSpaceBrace
public
void testSpaceBrace() throws
BadLocationException
(Code)
put your documentation comment here
exception:
BadLocationException
-
testSquigglyAlignment
public
void testSquigglyAlignment() throws
BadLocationException
(Code)
put your documentation comment here
exception:
BadLocationException
-
testStartBrace
public
void testStartBrace() throws
BadLocationException
(Code)
put your documentation comment here
exception:
BadLocationException
-
testStartSimple
public
void testStartSimple() throws
BadLocationException
(Code)
put your documentation comment here
exception:
BadLocationException
-
testStartSpaceIndent
public
void testStartSpaceIndent() throws
BadLocationException
(Code)
put your documentation comment here
exception:
BadLocationException
-
testWeird
public
void testWeird() throws
BadLocationException
(Code)
put your documentation comment here
exception:
BadLocationException
-
testWierd2
public
void testWierd2() throws
BadLocationException
(Code)
put your documentation comment here
exception:
BadLocationException
-
Fields inherited from
edu.rice.cs.drjava.DrJavaTestCase
final
public
static
String
TEST_DRJAVA_CONFIG_PROPERTY
(Code)
(Java Doc)
Methods inherited from
edu.rice.cs.drjava.DrJavaTestCase
protected
void setUp() throws
Exception
(Code)
(Java Doc)
protected
void tearDown() throws
Exception
(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.