net.sourceforge.groboutils.autodoc.v1.testserver

Home
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
26.ERP CRM Financial
27.ESB
28.Forum
29.Game
30.GIS
31.Graphic 3D
32.Graphic Library
33.Groupware
34.HTML Parser
35.IDE
36.IDE Eclipse
37.IDE Netbeans
38.Installer
39.Internationalization Localization
40.Inversion of Control
41.Issue Tracking
42.J2EE
43.J2ME
44.JBoss
45.JMS
46.JMX
47.Library
48.Mail Clients
49.Music
50.Natural Language Processing
51.Net
52.Parser
53.PDF
54.Portal
55.Profiler
56.Project Management
57.Report
58.RSS RDF
59.Rule Engine
60.Science
61.Scripting
62.Search Engine
63.Security
64.Sevlet Container
65.Source Control
66.Swing Library
67.Template Engine
68.Test Coverage
69.Testing
70.UML
71.Web Crawler
72.Web Framework
73.Web Mail
74.Web Server
75.Web Services
76.Web Services apache cxf 2.2.6
77.Web Services AXIS2
78.Wiki Engine
79.Workflow Engines
80.XML
81.XML UI
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.
w__w__w__.___j_a_v__a___2___s_._co__m | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.