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

Quick Search    Search Deep

measurements.suites
Class AllLocationsMeasurement  view AllLocationsMeasurement download AllLocationsMeasurement.java

java.lang.Object
  extended byPerformanceTest
      extended bymeasurements.suites.AllLocationsMeasurement

public class AllLocationsMeasurement
extends PerformanceTest

JUnit performs a suite of measurements for local interceptions of a method using AllLocationsCrosscut. The test can be used both in native and in runes mode. In both native and runes mode, the test testLocalCall calls a number of RUNS time a void method. If RUNES in enabled, the following measurements are meaningfull

Version:
$Revision: 1.1.1.1 $

Nested Class Summary
static class AllLocationsMeasurement.TrapMethodAspect1
           
static class AllLocationsMeasurement.TrapMethodAspect2
           
 
Field Summary
(package private)  boolean useProse
           
(package private)  ch.ethz.prose.Aspect x1
           
(package private)  ch.ethz.prose.Aspect x2
           
 
Constructor Summary
AllLocationsMeasurement(java.lang.String name)
          Construct test with given name.
 
Method Summary
protected  void setUp()
          Set up fixture.
static junit.framework.Test suite()
          Test suite.
protected  void tearDown()
           
 void testLocalCallsFast()
           
 void testLocalCallsNormal()
           
 void theMethodToCall()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

x1

ch.ethz.prose.Aspect x1

x2

ch.ethz.prose.Aspect x2

useProse

final boolean useProse
Constructor Detail

AllLocationsMeasurement

public AllLocationsMeasurement(java.lang.String name)
Construct test with given name.

Method Detail

theMethodToCall

public void theMethodToCall()

setUp

protected void setUp()
Set up fixture.


tearDown

protected void tearDown()

testLocalCallsNormal

public void testLocalCallsNormal()

testLocalCallsFast

public void testLocalCallsFast()

suite

public static junit.framework.Test suite()
Test suite.