Java Doc for ReducedModelTest.java in  » IDE » DrJava » edu » rice » cs » drjava » model » definitions » reducedmodel » 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.reducedmodel 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


edu.rice.cs.drjava.model.definitions.reducedmodel.BraceReductionTestCase
   edu.rice.cs.drjava.model.definitions.reducedmodel.ReducedModelTest

ReducedModelTest
final public class ReducedModelTest extends BraceReductionTestCase implements ReducedModelStates(Code)
Tests insertion and move and other non-delete functionality of the reduced model.
version:
   $Id: ReducedModelTest.java 4255 2007-08-28 19:17:37Z mgricken $




Method Summary
protected  ReducedModelControlsetUpExample()
    
public  voidtestBalanceBackward()
    
public  voidtestBalanceForward()
    
public  voidtestBasicBlockComment()
    
public  voidtestBreakBlockCommentWithStar()
    
public  voidtestBreakCloseBlockCommentWithStar()
    
public  voidtestComplexBraceInsertion()
     Test to ensure that a complex sequence of multi-lined Brace entries does not fail. Originally, the insertBraceInGap() had the chance of inserting at the beginning of a gap, in which case the gap to be split was actually never shrunk and a new gap of size 0 is added after the newly inserted Brace.
public  voidtestCrazyCase1()
    
public  voidtestCrazyCase2()
    
public  voidtestGetStateAtCurrent()
    
public  voidtestInsertBlockCommentEnd()
    
public  voidtestInsertBlockInsideBlockComment()
    
public  voidtestInsertBrace()
    
public  voidtestInsertBraceAndBreakBlockCommentStart()
    
public  voidtestInsertBraceAndBreakLineComment()
    
public  voidtestInsertBraceAtStartAndEnd()
     Put your documentation comment here.
public  voidtestInsertBraceInsideGap()
    
public  voidtestInsertBraces()
    
public  voidtestInsertGap()
     Put your documentation comment here.
public  voidtestInsertGap2()
    
public  voidtestInsertGapAfterGap()
     Put your documentation comment here.
public  voidtestInsertGapBeforeGap()
     Test that a gap inserted previous to a gap, unites with that gap.
public  voidtestInsertGapInsideGap()
     Inserts one gap inside of the other.
public  voidtestInsertMultipleBraces()
    
public  voidtestInsertNewlineChainReaction()
    
public  voidtestInsertNewlineEndLineComment()
    
public  voidtestInsertNewlineEndQuote()
    
public  voidtestInsertQuoteToQuoteBlock()
    
public  voidtestInsideComment()
    
public  voidtestInsideString()
    
public  voidtestLineCommentBreakCrazy()
    
public  voidtestMove()
    
public  voidtestMove0StaysPut()
    
public  voidtestMoveOnEmpty()
    
public  voidtestMoveWithinToken()
    
public  voidtestQuoteBreakComment2()
    
public  voidtestQuoteBreaksComment()
    
public  voidtestQuotesSimple()
    
public  voidtestQuotesWithGap()
    



Method Detail
setUpExample
protected ReducedModelControl setUpExample()(Code)
sets up example reduction for the following tests



testBalanceBackward
public void testBalanceBackward()(Code)
tests backwards balancer, e.g., ')' balances with '('



testBalanceForward
public void testBalanceForward()(Code)
tests forward balancer, e.g., '(' balances with ')'



testBasicBlockComment
public void testBasicBlockComment()(Code)
put your documentation comment here



testBreakBlockCommentWithStar
public void testBreakBlockCommentWithStar()(Code)
put your documentation comment here



testBreakCloseBlockCommentWithStar
public void testBreakCloseBlockCommentWithStar()(Code)
put your documentation comment here



testComplexBraceInsertion
public void testComplexBraceInsertion()(Code)
Test to ensure that a complex sequence of multi-lined Brace entries does not fail. Originally, the insertBraceInGap() had the chance of inserting at the beginning of a gap, in which case the gap to be split was actually never shrunk and a new gap of size 0 is added after the newly inserted Brace. This caused problems for brace-matching when new nested braces/parentheses piled up on top of each other.



testCrazyCase1
public void testCrazyCase1()(Code)
put your documentation comment here



testCrazyCase2
public void testCrazyCase2()(Code)
Test sequences of inserts



testGetStateAtCurrent
public void testGetStateAtCurrent()(Code)
put your documentation comment here



testInsertBlockCommentEnd
public void testInsertBlockCommentEnd()(Code)
put your documentation comment here



testInsertBlockInsideBlockComment
public void testInsertBlockInsideBlockComment()(Code)
put your documentation comment here



testInsertBrace
public void testInsertBrace()(Code)
put your documentation comment here



testInsertBraceAndBreakBlockCommentStart
public void testInsertBraceAndBreakBlockCommentStart()(Code)
Tests the reduced model's ability to insert braces correctly



testInsertBraceAndBreakLineComment
public void testInsertBraceAndBreakLineComment()(Code)
put your documentation comment here



testInsertBraceAtStartAndEnd
public void testInsertBraceAtStartAndEnd()(Code)
Put your documentation comment here.



testInsertBraceInsideGap
public void testInsertBraceInsideGap()(Code)



testInsertBraces
public void testInsertBraces()(Code)
tests inserting braces



testInsertGap
public void testInsertGap()(Code)
Put your documentation comment here.



testInsertGap2
public void testInsertGap2()(Code)
tests inserting gaps



testInsertGapAfterGap
public void testInsertGapAfterGap()(Code)
Put your documentation comment here.



testInsertGapBeforeGap
public void testInsertGapBeforeGap()(Code)
Test that a gap inserted previous to a gap, unites with that gap.



testInsertGapInsideGap
public void testInsertGapInsideGap()(Code)
Inserts one gap inside of the other.



testInsertMultipleBraces
public void testInsertMultipleBraces()(Code)



testInsertNewlineChainReaction
public void testInsertNewlineChainReaction()(Code)
put your documentation comment here



testInsertNewlineEndLineComment
public void testInsertNewlineEndLineComment()(Code)
put your documentation comment here



testInsertNewlineEndQuote
public void testInsertNewlineEndQuote()(Code)
put your documentation comment here



testInsertQuoteToQuoteBlock
public void testInsertQuoteToQuoteBlock()(Code)
put your documentation comment here



testInsideComment
public void testInsideComment()(Code)
tests the function to test if something is inside comments



testInsideString
public void testInsideString()(Code)
tests the function to test if something is inside quotes



testLineCommentBreakCrazy
public void testLineCommentBreakCrazy()(Code)
put your documentation comment here



testMove
public void testMove()(Code)
tests the cursor movement function



testMove0StaysPut
public void testMove0StaysPut()(Code)
put your documentation comment here



testMoveOnEmpty
public void testMoveOnEmpty()(Code)
put your documentation comment here



testMoveWithinToken
public void testMoveWithinToken()(Code)
put your documentation comment here



testQuoteBreakComment2
public void testQuoteBreakComment2()(Code)
put your documentation comment here



testQuoteBreaksComment
public void testQuoteBreaksComment()(Code)
put your documentation comment here



testQuotesSimple
public void testQuotesSimple()(Code)
put your documentation comment here



testQuotesWithGap
public void testQuotesWithGap()(Code)
put your documentation comment here



Fields inherited from edu.rice.cs.drjava.model.definitions.reducedmodel.BraceReductionTestCase
protected volatile ReducedModelControl model0(Code)(Java Doc)
protected volatile ReducedModelControl model1(Code)(Java Doc)
protected volatile ReducedModelControl model2(Code)(Java Doc)

Methods inherited from edu.rice.cs.drjava.model.definitions.reducedmodel.BraceReductionTestCase
protected void insertGap(BraceReduction model, int size)(Code)(Java Doc)
protected void setUp() throws Exception(Code)(Java Doc)
ReducedModelState stateOfCurrentToken(BraceReduction br)(Code)(Java Doc)

w___ww___.j__a___v___a___2_s.__c_o___m_ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.