|
Version: 1.1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.Component java.awt.Container javax.swing.JComponent javax.swing.JPanel org.biomoby.service.dashboard.AbstractPanel org.biomoby.service.dashboard.MobyUnitTestingPanel
public class MobyUnitTestingPanel
This Panel uses the SimpleClient as a template panel and adds the functionality required to provide/perform unit tests on selected Moby services.
This panel has 2 parts to it.
The first part allows you (the user) to provide sample input and any or all of the following: an xpath xpression that when applied to the service outputs returns nodes, a regular expression that when applied to the service returns at least one match, or expected service output that when compared to the actual output contains exact DOM trees.
The second part allows you to test a service with either user entered test data or unit test data (if available) obtained from the service RDF provided by the service provider fetched from the signature URL.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JComponent |
---|
JComponent.AccessibleJComponent |
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.BaselineResizeBehavior |
Field Summary |
---|
Fields inherited from class org.biomoby.service.dashboard.AbstractPanel |
---|
clearIcon, confirmIcon, warningIcon |
Fields inherited from class javax.swing.JComponent |
---|
TOOL_TIP_TEXT_KEY, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
MobyUnitTestingPanel()
Default constructor. |
Method Summary | |
---|---|
JComponent |
getComponent(PropertyChannel aPropertyChannel)
Return a graphical representation of this panel. |
String |
getDescription()
Return a short description (few lines only) of this panel. |
String |
getName()
A name identifies a panel in the dashboard's tabs. |
void |
saveUnitTest()
Called when a user clicks on the save unit test button Obtains the selected services' signature url and parses it for the unit test information and fills out our ServiceInputPanel. |
Methods inherited from class org.biomoby.service.dashboard.AbstractPanel |
---|
confirm, confirm, createMenu, createMenuItem, createMenuItem, error, error, getHelp, getHelpURL, getIcon, getIconURL, getTitle, isMandatory, loadIcon, loadOnlyOnDemand, setEnabledMenuItem |
Methods inherited from class javax.swing.JPanel |
---|
getAccessibleContext, getUI, getUIClassID, setUI, updateUI |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MobyUnitTestingPanel()
Method Detail |
---|
public JComponent getComponent(PropertyChannel aPropertyChannel)
DashboardPanel
getComponent
in interface DashboardPanel
getComponent
in class AbstractPanel
aPropertyChannel
- is a shared storage for properties
public void saveUnitTest()
public String getName()
DashboardPanel
getName
in interface DashboardPanel
getName
in class AbstractPanel
DashboardPanel.getTitle()
public String getDescription()
DashboardPanel
getDescription
in interface DashboardPanel
getDescription
in class AbstractPanel
|
Version: 1.1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |