Source Code Cross Referenced for ITestContext.java in  » Testing » testng » org » testng » 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 » testng » org.testng 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        package org.testng;
002:
003:        import java.io.Serializable;
004:        import java.util.Collection;
005:        import java.util.Date;
006:
007:        /**
008:         * This class defines a test context which contains all the information
009:         * for a given test run.  An instance of this context is passed to the
010:         * test listeners so they can query information about their
011:         * environment.
012:         *
013:         * @author Cedric Beust, Aug 6, 2004
014:         * @author <a href='mailto:the_mindstorm@evolva.ro'>Alexandru Popescu</a>
015:         */
016:        public interface ITestContext extends Serializable {
017:
018:            /**
019:             * The name of this test.
020:             */
021:            public String getName();
022:
023:            /**
024:             * Return a context attribute
025:             * @param name The name of the attribute to return
026:             */
027:            public Object getAttribute(String name);
028:
029:            /**
030:             * Set a custom attribute in the current context
031:             */
032:            public void setAttribute(String name, Object value);
033:
034:            /**
035:             * When this test started running.
036:             */
037:            public Date getStartDate();
038:
039:            /**
040:             * When this test stopped running.
041:             */
042:            public Date getEndDate();
043:
044:            /**
045:             * @return A list of all the tests that run successfully.
046:             */
047:            public IResultMap getPassedTests();
048:
049:            /**
050:             * @return A list of all the tests that were skipped
051:             */
052:            public IResultMap getSkippedTests();
053:
054:            /**
055:             * @return A list of all the tests that failed but are being ignored because
056:             * annotated with a successPercentage.
057:             */
058:            public IResultMap getFailedButWithinSuccessPercentageTests();
059:
060:            /**
061:             * @return A map of all the tests that passed, indexed by
062:             * their ITextMethor.
063:             * 
064:             * @see org.testng.ITestNGMethod
065:             */
066:            public IResultMap getFailedTests();
067:
068:            /**
069:             * @return All the groups that are included for this test run.
070:             */
071:            public String[] getIncludedGroups();
072:
073:            /**
074:             * @return All the groups that are excluded for this test run.
075:             */
076:            public String[] getExcludedGroups();
077:
078:            /**
079:             * @return Where the reports will be generated.
080:             */
081:            public String getOutputDirectory();
082:
083:            /** 
084:             * @return The Suite object that was passed to the runner
085:             * at start-up.
086:             */
087:            public ISuite getSuite();
088:
089:            /**
090:             * @return All the test methods that were run.
091:             */
092:            public ITestNGMethod[] getAllTestMethods();
093:
094:            /**
095:             * @return The host where this test was run, or null if it was run locally.  The
096:             * returned string has the form:  host:port
097:             */
098:            public String getHost();
099:
100:            /**
101:             * @return All the methods that were not included in this test run.
102:             */
103:            public Collection<ITestNGMethod> getExcludedMethods();
104:
105:            /**
106:             * Retrieves information about the successful configuration method invocations.
107:             * @return
108:             */
109:            public IResultMap getPassedConfigurations();
110:
111:            /**
112:             * Retrieves information about the skipped configuration method invocations.
113:             * @return
114:             */
115:            public IResultMap getSkippedConfigurations();
116:
117:            /**
118:             * Retrieves information about the failed configuration method invocations.
119:             * @return
120:             */
121:            public IResultMap getFailedConfigurations();
122:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.