net.sourceforge.groboutils.autodoc.v1.testserver

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 » GroboUtils » net.sourceforge.groboutils.autodoc.v1.testserver 
net.sourceforge.groboutils.autodoc.v1.testserver
net.sourceforge.groboutils.autodoc.v1.testserver Abstract framework to aid subcomponents of the AutoDoc facility to interact between the JUnit testing suite and a implementation-specific server, which receives corrolated events from the AutoDoc and JUnit systems. This framework is itself not specific to JUnit, but it was designed with the JUnit-style events in mind.

Overview

This framework consists of six different classes which work together to allow for proper integration between JUnit and AutoDoc, and the implementation-specific "recorder", or server as it is referenced in this framework.

The Server interface is where the implementation-specific recorder receives data from the framework. It receives an event with framework-specific data, which has been collected over all the calls to the framework during a single JUnit test.

The Monitor interface handles the calls from both the JUnit and AutoDoc frameworks. It acts as a singleton for each JUnit test.

The MonitorFinder is a non-singleton which knows how to discover the pseudo-singleton Monitor, which is shared between the particular JUnit and AutoDoc framework instances.

The unit of test events is contained in the interface TestData. This is created by a TestDataFactory, a framework implementation specific factory in charge of creating TestData instances for the implementation classes to interact through.

The Monitor acts as a singleton for each individual test by having one TestInfo for each test, in order to uniquely identify the tests. The TestCorrelate abstract class provides functionality to create a TestInfo instance, and integrate it with the TestData through a MonitorFinder.

Java Source File NameTypeComment
AbstractWriterServer.javaClass An interface which corresponds to a part of the framework that knows how to deal with the framework's TestData.
AbstractWriterServerUTest.javaClass Tests the AbstractWriterServer abstract class.
AbstractWriterServerUTestI.javaClass Tests the AbstractWriterServer abstract class.
DefaultMonitor.javaClass This implemenation of Monitor uses a Hashtable to store the test data.
DefaultMonitorUTest.javaClass Tests the DefaultMonitor class.
DefaultTestData.javaClass A simple implementation of TestData which only knows about TestInfo.
DefaultTestDataUTest.javaClass Tests the DefaultTestData class.
DefaultTestInfo.javaClass An implementation of TestInfo which is specific to JUnit.
DefaultTestInfoUTest.javaClass Tests the DefaultTestInfo class.
Monitor.javaInterface Monitors the state of multiple tests through the creation, retrieval, and sending to a server of the TestData for a specific test.
MonitorFinder.javaInterface Generic interface in charge of discovering a specific pseudo-singleton type of Monitor.
MonitorFinderUTestI.javaClass Tests the MonitorFinder interface.
MonitorUTestI.javaClass Tests the Monitor interface.
Server.javaInterface An interface which corresponds to a part of the framework that knows how to deal with the framework's TestData.
ServerUTestI.javaClass Tests the Server interface.
TestCorrelate.javaClass Helper method to aid in the use of Monitors and TestData.
TestCorrelateUTestI.javaClass Tests the TestCorrelate interface.
TestData.javaInterface An interface used to briefly describe a test and the gathered data associated for the test in a particular framework.
TestDataFactory.javaInterface A factory in charge of creating a specific TestData instance from a TestInfo unique identifier.
TestDataFactoryUTestI.javaClass Tests the TestDataFactory interface.
TestDataUTestI.javaClass Tests the TestData interface.
TestInfo.javaInterface Information about a test which can uniquely identify a specific test.
TestInfoUTestI.javaClass Tests the TestInfo interface.
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.