Java Doc for Engine.java in  » Testing » TT » U2 » T2 » 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 » TT » U2.T2 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   U2.T2.Engine

All known Subclasses:   U2.T2.RndEngine,
Engine
abstract public class Engine (Code)
Abstract class representing the general structure and parameters of a test engine; furthermore the class contains a bunch of utility static methods.


Field Summary
protected  ClassCUT
     The class under the test.
protected  intmaxExecLength
     Specify a maximum on the length of each execution.
protected  intmaxNumOfSteps
     Specify a maximum on the numbers of total execution steps generated by the engine.
protected  intmaxNumViolations
     The engine should stop if the number of violations found reaches maxNumViolations.
protected  intnumOfExecs
     Total number of executions generated.
protected  intnumOfRelevantChecks
     Total number of relevant checks.
protected  intnumOfSteps
     Total number of execution steps generated.
protected  intnumOfViolations
     Total number of violations found.
protected  Poolpool
     The object pool used by the engine.


Method Summary
public static  List<Constructor>getConsIPs(Class C)
     Get the constructors of a class that act as interface points.
public static  List<Field>getFieldsIPs(Class C)
     Get the fields of a class that act as interface points.
public static  List<Method>getMethsIPs(Class C)
     Get the methods of a class that act as interface points.
public static  HashMap<Method, Method>mk_specMap(Class C, List<Method> methods)
     Construct a mapping such that for any method m of the class C that has m_spec as its specification, we add the pair (m,m_spec) to the mapping.
abstract public  voidreport(PrintStream out)
     To report violating traces found by the engine.
abstract public  voidrunMe()
     Run the test engine.

Field Detail
CUT
protected Class CUT(Code)
The class under the test.



maxExecLength
protected int maxExecLength(Code)
Specify a maximum on the length of each execution. Default is 4.



maxNumOfSteps
protected int maxNumOfSteps(Code)
Specify a maximum on the numbers of total execution steps generated by the engine. Default is 500.



maxNumViolations
protected int maxNumViolations(Code)
The engine should stop if the number of violations found reaches maxNumViolations. Default is 1.



numOfExecs
protected int numOfExecs(Code)
Total number of executions generated.



numOfRelevantChecks
protected int numOfRelevantChecks(Code)
Total number of relevant checks.



numOfSteps
protected int numOfSteps(Code)
Total number of execution steps generated.



numOfViolations
protected int numOfViolations(Code)
Total number of violations found.



pool
protected Pool pool(Code)
The object pool used by the engine.





Method Detail
getConsIPs
public static List<Constructor> getConsIPs(Class C)(Code)
Get the constructors of a class that act as interface points. Currently these are the declared, non-private constructors of the class.



getFieldsIPs
public static List<Field> getFieldsIPs(Class C)(Code)
Get the fields of a class that act as interface points. Currently this is all public fields of its superclasses + its own declared non-private fields.



getMethsIPs
public static List<Method> getMethsIPs(Class C)(Code)
Get the methods of a class that act as interface points. Currently this is all public methods of its superclasses + its own declared non-private methods.



mk_specMap
public static HashMap<Method, Method> mk_specMap(Class C, List<Method> methods)(Code)
Construct a mapping such that for any method m of the class C that has m_spec as its specification, we add the pair (m,m_spec) to the mapping.



report
abstract public void report(PrintStream out)(Code)
To report violating traces found by the engine. It does nothing here, and should be overiden by subclass.



runMe
abstract public void runMe()(Code)
Run the test engine. It does nothing here, and should be overiden by subclass.



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