Java Doc for TestUpdateSimplifier.java in  » Testing » KeY » de » uka » ilkd » key » rule » 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 » Testing » KeY » de.uka.ilkd.key.rule 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   junit.framework.TestCase
      de.uka.ilkd.key.rule.TestUpdateSimplifier

TestUpdateSimplifier
public class TestUpdateSimplifier extends TestCase (Code)
Class used for testing the simultaneous update simplifier. ATTENTION: If assertSame is used, do not replace this test with assertEquals without thinking, as we test here also if the memory resources are wasted or not.


Field Summary
final public static  StringtestRules
    

Constructor Summary
public  TestUpdateSimplifier(String s)
    

Method Summary
public  TermcreateUpdateTerm(Location[] locations, Term[] subs)
     creates an update term where the given locations are updated this method requires detailed knowledge of the update structure as the subterms must have the correct order.
public static  voidmain(String[] args)
    
public  voidsetUp()
    
public  voidtearDown()
    
public  voidtestAnonymous1()
    
public  voidtestAnonymous2()
    
public  voidtestApplicationOnAttributeNoneSim()
    
public  voidtestApplicationOnAttributeSim()
    
public  voidtestApplyArrayAccessOnShadowedArray()
    
public  voidtestApplyAttributeOnShadowedAttribute()
    
public  voidtestApplyOnAttribute()
    
public  voidtestApplyShadowedAttributeOnAttribute()
    
public  voidtestAttributeEvaluateSubsFirst()
    
public  voidtestAttributeRule3()
    
public  voidtestAttributeRule4()
    
public  voidtestBaseArrayApplications()
    
public  voidtestBaseAttributeApplications()
    
public  voidtestBaseLocalVariableApplications()
    
public  voidtestBasicRules()
    
public  voidtestBugInUStarComputation()
    
public  voidtestDeletion()
    
public  voidtestDeletion10()
    
public  voidtestDeletion11()
    
public  voidtestDeletion12()
    
public  voidtestDeletion3()
    
public  voidtestDeletion4()
    
public  voidtestDeletion5()
    
public  voidtestDeletion6()
    
public  voidtestDeletion7()
    
public  voidtestDeletion8()
    
public  voidtestDeletion9()
    
public  voidtestDeletionStrategy()
    
public  voidtestHeapDependentFunctions1()
    
public  voidtestHeapDependentFunctions2()
    
public  voidtestMergeSingleUpdates()
    
public  voidtestNoDeletionIfAppliedOnNonRigidFunction()
    
public  voidtestQuantified1()
    
public  voidtestQuantified2()
    
public  voidtestQuantified3()
    
public  voidtestQuantified4()
    
public  voidtestQuantified5()
    
public  voidtestShadowOnShadowSameTransactionNr()
    
public  voidtestShadowedArraySimplificationRule()
    
public  voidtestSimultaneousArrayApplications()
    
public  voidtestSimultaneousUpdateEquality()
    
public  voidtestStaticAttributes()
    
public  voidxtestBugInDeleteTrivialUpdates()
    

Field Detail
testRules
final public static String testRules(Code)




Constructor Detail
TestUpdateSimplifier
public TestUpdateSimplifier(String s)(Code)




Method Detail
createUpdateTerm
public Term createUpdateTerm(Location[] locations, Term[] subs)(Code)
creates an update term where the given locations are updated this method requires detailed knowledge of the update structure as the subterms must have the correct order.
Parameters:
  locations - the Location operators of the update
Parameters:
  subs - the array of Term with the subterms of the locations to be updated, the values and the target term the above described update term



main
public static void main(String[] args)(Code)



setUp
public void setUp()(Code)



tearDown
public void tearDown()(Code)



testAnonymous1
public void testAnonymous1()(Code)



testAnonymous2
public void testAnonymous2()(Code)



testApplicationOnAttributeNoneSim
public void testApplicationOnAttributeNoneSim()(Code)



testApplicationOnAttributeSim
public void testApplicationOnAttributeSim()(Code)



testApplyArrayAccessOnShadowedArray
public void testApplyArrayAccessOnShadowedArray()(Code)



testApplyAttributeOnShadowedAttribute
public void testApplyAttributeOnShadowedAttribute()(Code)



testApplyOnAttribute
public void testApplyOnAttribute()(Code)



testApplyShadowedAttributeOnAttribute
public void testApplyShadowedAttributeOnAttribute()(Code)



testAttributeEvaluateSubsFirst
public void testAttributeEvaluateSubsFirst()(Code)



testAttributeRule3
public void testAttributeRule3()(Code)



testAttributeRule4
public void testAttributeRule4()(Code)



testBaseArrayApplications
public void testBaseArrayApplications()(Code)
tests the application of
  • {a[i] := t} a[i]
  • {a[i] := t} a[j]
  • {a[i] := t} b[i] (a compatible to b)
  • {a[i] := t} b[j] (a compatible to b)
  • {a[i] := t} c[j] (a not compatible to c)
  • {a[i] := t} o.a
  • {a[i] := t} i



testBaseAttributeApplications
public void testBaseAttributeApplications()(Code)
tests the application of
  • {o.a := t} o.a
  • {o.a := t} u.a (u compatible to o)
  • {o.a := t} r.a (r not compatible to o)
  • {o.a := t} i
  • {o.a := t} a[i]



testBaseLocalVariableApplications
public void testBaseLocalVariableApplications()(Code)
tests the application of
  • {o := t} o
  • {o := t} u
  • {o := t} o.a
  • {o := t} u.a
  • {o := t} r.a
  • {a := b} a[i]
  • {a := b} c[i]
  • {i := j} a[i]



testBasicRules
public void testBasicRules()(Code)



testBugInUStarComputation
public void testBugInUStarComputation()(Code)



testDeletion
public void testDeletion()(Code)



testDeletion10
public void testDeletion10()(Code)



testDeletion11
public void testDeletion11()(Code)



testDeletion12
public void testDeletion12()(Code)



testDeletion3
public void testDeletion3()(Code)



testDeletion4
public void testDeletion4()(Code)



testDeletion5
public void testDeletion5()(Code)



testDeletion6
public void testDeletion6()(Code)



testDeletion7
public void testDeletion7()(Code)



testDeletion8
public void testDeletion8()(Code)



testDeletion9
public void testDeletion9()(Code)



testDeletionStrategy
public void testDeletionStrategy()(Code)



testHeapDependentFunctions1
public void testHeapDependentFunctions1()(Code)



testHeapDependentFunctions2
public void testHeapDependentFunctions2()(Code)



testMergeSingleUpdates
public void testMergeSingleUpdates()(Code)
tests the application of
  • {a := b} {a[i] := o} <> true
  • {i := j} {a[i] := o} <> true
  • {a[i] := t} {a[i] := o} <> true
  • {a[i] := t} {b[i] := o} <> true (a, b compatible)
  • {a[i] := t} {c[i] := o} <> true (a, c not compatible)
  • {a[i] := t} {o := a[i]} <> true
  • {a[i] := t} {o := a[j]} <> true
  • {o.a := t} {o.a := o } <> true
  • {o.a := t} {o.a.a := o} <> true
  • {o.a := t} {o.a.a := o.a} <> true
  • {o.a := t} {u.a := u.a} <> true
  • {o.a := t} {r.a := r.a} <> true
  • {o.a := t} {r.a.a := o} <> true



testNoDeletionIfAppliedOnNonRigidFunction
public void testNoDeletionIfAppliedOnNonRigidFunction()(Code)



testQuantified1
public void testQuantified1()(Code)



testQuantified2
public void testQuantified2()(Code)



testQuantified3
public void testQuantified3()(Code)



testQuantified4
public void testQuantified4()(Code)



testQuantified5
public void testQuantified5()(Code)



testShadowOnShadowSameTransactionNr
public void testShadowOnShadowSameTransactionNr()(Code)



testShadowedArraySimplificationRule
public void testShadowedArraySimplificationRule()(Code)



testSimultaneousArrayApplications
public void testSimultaneousArrayApplications()(Code)
tests the application of
  • {a[i] := t, a[j] :=u} a[i]
  • {a[j] := t, a[i] :=u} a[i]
  • {a[j] := t, a[i] := o, a[m] := u} a[i]
  • {a[i] := u, a[m] := u} a[i]



testSimultaneousUpdateEquality
public void testSimultaneousUpdateEquality()(Code)



testStaticAttributes
public void testStaticAttributes()(Code)
tests the application of
  • {o.spv:=u, t.spv:=i} u.spv



xtestBugInDeleteTrivialUpdates
public void xtestBugInDeleteTrivialUpdates()(Code)




Methods inherited from java.lang.Object
protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object o)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
public int hashCode()(Code)(Java Doc)
final public void notify() throws IllegalMonitorStateException(Code)(Java Doc)
final public void notifyAll() throws IllegalMonitorStateException(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final public void wait() throws IllegalMonitorStateException, InterruptedException(Code)(Java Doc)
final public void wait(long ms) throws IllegalMonitorStateException, InterruptedException(Code)(Java Doc)
final public void wait(long ms, int ns) throws IllegalMonitorStateException, InterruptedException(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.