net.sf.jbenchmark
Class AssertResponseSize

java.lang.Object
  extended bynet.sf.jbenchmark.AssertResponseSize
All Implemented Interfaces:
Assertion

public class AssertResponseSize
extends java.lang.Object
implements Assertion

Asserts that an HTTP request is of the expected size.

Version:
$Id: AssertResponseSize.java,v 1.2 2004/02/05 09:25:23 dcotterill Exp $
Author:
Adam Murdoch

Constructor Summary
AssertResponseSize()
           
 
Method Summary
 void checkResult(TestResult result)
          Check the results of a test.
 void setMax(long maxSize)
          Sets the maximum size.
 void setMin(long minSize)
          Sets the minimum size.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssertResponseSize

public AssertResponseSize()
Method Detail

setMin

public void setMin(long minSize)
Sets the minimum size.


setMax

public void setMax(long maxSize)
Sets the maximum size.


checkResult

public void checkResult(TestResult result)
                 throws java.lang.Exception
Check the results of a test.

Specified by:
checkResult in interface Assertion
Throws:
java.lang.Exception