Java Doc for QuiltTest.java in  » Test-Coverage » Quilt » org » quilt » framework » 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 » Test Coverage » Quilt » org.quilt.framework 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.quilt.framework.QuiltTest

All known Subclasses:   org.quilt.runner.Runner,  org.quilt.runner.MockTestRunner,  org.quilt.frontend.ant.BatchTest,
QuiltTest
public class QuiltTest implements Cloneable(Code)
Parameters for controlling an individual task. These are and must be compatible with names used in Ant build.xml build control files. Most are set by methods whose name is derived from the variable name -- for example fork is set by setFork(b).



Constructor Summary
public  QuiltTest()
    
public  QuiltTest(String name)
     Single-arg constructor.

Method Summary
public  voidaddFormatter(FmtSelector elem)
    
public  voidaddFormattersTo(Vector v)
     Add this test's formatters to a vector.
public  Objectclone()
     Clones, resetting the error/failure/run counts and runTime to zero.
public  longerrorCount()
    
public  longfailureCount()
    
public  booleangetCheckCoverage()
    
public  StringgetCheckExcludes()
    
public  String[]getCheckExcludesArray()
    
public  StringgetCheckIncludes()
    
public  String[]getCheckIncludesArray()
    
public  StringgetErrorProperty()
    
public  StringgetFailureProperty()
    
public  booleangetFiltertrace()
    
public  booleangetFork()
    
public  VectorgetFormatters()
    
public  booleangetHaltOnError()
    
public  booleangetHaltOnFailure()
    
public  StringgetIfProperty()
    
public  booleangetMockTestRun()
    
public  StringgetName()
    
public  StringgetOutfile()
    
public  PropertiesgetProperties()
    
public  longgetRunTime()
    
public  booleangetShowOutput()
    
public  StringgetTodir()
    
public  StringgetUnlessProperty()
    
public  longrunCount()
    
public  booleanrunMe(Project p)
     Run this test if project properties permit.
Parameters:
  p - The project that the QuiltTask is part of.
public  voidsetCheckCoverage(boolean b)
    
public  voidsetCheckExcludes(String val)
    
public  voidsetCheckIncludes(String val)
    
public  voidsetCounts(long runs, long failures, long errors)
    
public  voidsetErrorProperty(String eP)
    
public  voidsetFailureProperty(String fP)
    
public  voidsetFiltertrace(boolean b)
    
public  voidsetFork(boolean b)
    
public  voidsetHaltOnError(boolean b)
    
public  voidsetHaltOnFailure(boolean b)
    
public  voidsetIf(String name)
    
public  voidsetMockTestRun(boolean b)
    
public  voidsetName(String val)
    
public  voidsetOutfile(String val)
    
public  voidsetProperties(Hashtable val)
     Replace the test's Properties.
public  voidsetRunTime(long val)
    
public  voidsetShowOutput(boolean b)
    
public  voidsetTodir(File dir)
    
public  voidsetUnless(String name)
    
public  StringtoString()
    


Constructor Detail
QuiltTest
public QuiltTest()(Code)
No-arg constructor used by clone()



QuiltTest
public QuiltTest(String name)(Code)
Single-arg constructor.
Parameters:
  name - Full class name of test to be run.




Method Detail
addFormatter
public void addFormatter(FmtSelector elem)(Code)



addFormattersTo
public void addFormattersTo(Vector v)(Code)
Add this test's formatters to a vector. A convenience method with a mildly confusing name. Inherited from JUnitTask.



clone
public Object clone()(Code)
Clones, resetting the error/failure/run counts and runTime to zero. An Object, a copy of this QuiltTest.



errorCount
public long errorCount()(Code)



failureCount
public long failureCount()(Code)



getCheckCoverage
public boolean getCheckCoverage()(Code)



getCheckExcludes
public String getCheckExcludes()(Code)



getCheckExcludesArray
public String[] getCheckExcludesArray()(Code)



getCheckIncludes
public String getCheckIncludes()(Code)



getCheckIncludesArray
public String[] getCheckIncludesArray()(Code)



getErrorProperty
public String getErrorProperty()(Code)



getFailureProperty
public String getFailureProperty()(Code)



getFiltertrace
public boolean getFiltertrace()(Code)



getFork
public boolean getFork()(Code)



getFormatters
public Vector getFormatters()(Code)



getHaltOnError
public boolean getHaltOnError()(Code)



getHaltOnFailure
public boolean getHaltOnFailure()(Code)



getIfProperty
public String getIfProperty()(Code)



getMockTestRun
public boolean getMockTestRun()(Code)



getName
public String getName()(Code)



getOutfile
public String getOutfile()(Code)



getProperties
public Properties getProperties()(Code)
A reference to the test's Properties



getRunTime
public long getRunTime()(Code)



getShowOutput
public boolean getShowOutput()(Code)



getTodir
public String getTodir()(Code)



getUnlessProperty
public String getUnlessProperty()(Code)



runCount
public long runCount()(Code)



runMe
public boolean runMe(Project p)(Code)
Run this test if project properties permit.
Parameters:
  p - The project that the QuiltTask is part of. True if this test should be run, false otherwise.



setCheckCoverage
public void setCheckCoverage(boolean b)(Code)



setCheckExcludes
public void setCheckExcludes(String val)(Code)



setCheckIncludes
public void setCheckIncludes(String val)(Code)



setCounts
public void setCounts(long runs, long failures, long errors)(Code)



setErrorProperty
public void setErrorProperty(String eP)(Code)



setFailureProperty
public void setFailureProperty(String fP)(Code)



setFiltertrace
public void setFiltertrace(boolean b)(Code)



setFork
public void setFork(boolean b)(Code)



setHaltOnError
public void setHaltOnError(boolean b)(Code)



setHaltOnFailure
public void setHaltOnFailure(boolean b)(Code)



setIf
public void setIf(String name)(Code)



setMockTestRun
public void setMockTestRun(boolean b)(Code)



setName
public void setName(String val)(Code)



setOutfile
public void setOutfile(String val)(Code)



setProperties
public void setProperties(Hashtable val)(Code)
Replace the test's Properties. This is quite different from the method in JUnitTask, which seems to contain errors.
Parameters:
  val - Hashtable containing new values.



setRunTime
public void setRunTime(long val)(Code)



setShowOutput
public void setShowOutput(boolean b)(Code)



setTodir
public void setTodir(File dir)(Code)



setUnless
public void setUnless(String name)(Code)



toString
public String toString()(Code)



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.