public class

TestJmxFilter

extends TestCase
java.lang.Object
   ↳ junit.framework.Assert
     ↳ junit.framework.TestCase
       ↳ com.atlassian.confluence.jmx.TestJmxFilter

Summary

Public Constructors
TestJmxFilter()
Public Methods
void testFilterDoesNothingAfterInitialized()
void testFilterIsCorrectlySetFirstTime()
void testFilterRecordsRequestCounts()
void testFilterRecordsTimesCorrectlyForLessThanTenRequests()
void testFilterRecordsTimesCorrectlyForLongerThanTenSeconds()
void testFilterRecordsTimesCorrectlyForMoreThanTenRequests()
Protected Methods
void setUp()
void tearDown()
[Expand]
Inherited Methods
From class junit.framework.TestCase
From class junit.framework.Assert
From class java.lang.Object
From interface junit.framework.Test

Public Constructors

public TestJmxFilter ()

Public Methods

public void testFilterDoesNothingAfterInitialized ()

Throws
IOException
MalformedObjectNameException
ServletException

public void testFilterIsCorrectlySetFirstTime ()

Throws
MalformedObjectNameException
ServletException

public void testFilterRecordsRequestCounts ()

Throws
IOException
MalformedObjectNameException
ServletException

public void testFilterRecordsTimesCorrectlyForLessThanTenRequests ()

Throws
IOException
MalformedObjectNameException
ServletException

public void testFilterRecordsTimesCorrectlyForLongerThanTenSeconds ()

Throws
IOException
MalformedObjectNameException
ServletException

public void testFilterRecordsTimesCorrectlyForMoreThanTenRequests ()

Throws
IOException
MalformedObjectNameException
ServletException

Protected Methods

protected void setUp ()

Throws
Exception

protected void tearDown ()

Throws
Exception