Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.xpn.xwiki.test
Class MonitorTest  view MonitorTest download MonitorTest.java

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bycom.xpn.xwiki.test.HibernateTestCase
              extended bycom.xpn.xwiki.test.MonitorTest
All Implemented Interfaces:
junit.framework.Test

public class MonitorTest
extends HibernateTestCase


Nested Class Summary
 class MonitorTest.MonitorTestThread
           
 
Field Summary
private  java.lang.String action
           
private  java.lang.String action2
           
private  com.xpn.xwiki.XWikiContext context2
           
private  java.lang.String page
           
private  java.lang.String page2
           
private  java.lang.String surl
           
private  java.lang.String surl2
           
 
Fields inherited from class com.xpn.xwiki.test.HibernateTestCase
HIB_LOCATION
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
MonitorTest()
           
 
Method Summary
 void setUp()
          Sets up the fixture, for example, open a network connection.
 void testGetMonitorData()
           
 void testGetMonitorDataWithThread(com.xpn.xwiki.monitor.api.MonitorPlugin monitor, int test, long duration1, long duration2)
           
 void testGetMonitorDataWithThread1()
           
 void testGetMonitorDataWithThread2()
           
 void testGetPlugin()
           
 void testMonitorData()
           
 void testMonitorDataWithoutTimerDetails()
           
 void testMonitorDataWithTimerDetails()
           
 
Methods inherited from class com.xpn.xwiki.test.HibernateTestCase
cleanUp, cleanUp, getXWiki, getXWikiConfig, getXWikiContext, runSQL, tearDown
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

surl

private java.lang.String surl

page

private java.lang.String page

action

private java.lang.String action

context2

private com.xpn.xwiki.XWikiContext context2

surl2

private java.lang.String surl2

page2

private java.lang.String page2

action2

private java.lang.String action2
Constructor Detail

MonitorTest

public MonitorTest()
Method Detail

setUp

public void setUp()
           throws java.lang.Exception
Description copied from class: junit.framework.TestCase
Sets up the fixture, for example, open a network connection. This method is called before a test is executed.

Overrides:
setUp in class HibernateTestCase

testMonitorData

public void testMonitorData()
                     throws java.net.MalformedURLException

testMonitorDataWithTimerDetails

public void testMonitorDataWithTimerDetails()
                                     throws java.net.MalformedURLException

testMonitorDataWithoutTimerDetails

public void testMonitorDataWithoutTimerDetails()
                                        throws java.net.MalformedURLException

testGetPlugin

public void testGetPlugin()

testGetMonitorData

public void testGetMonitorData()
                        throws java.net.MalformedURLException

testGetMonitorDataWithThread

public void testGetMonitorDataWithThread(com.xpn.xwiki.monitor.api.MonitorPlugin monitor,
                                         int test,
                                         long duration1,
                                         long duration2)
                                  throws java.net.MalformedURLException

testGetMonitorDataWithThread1

public void testGetMonitorDataWithThread1()
                                   throws java.net.MalformedURLException

testGetMonitorDataWithThread2

public void testGetMonitorDataWithThread2()
                                   throws java.net.MalformedURLException