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

Quick Search    Search Deep

measurements.suites
Class CrosscutMeasurement  view CrosscutMeasurement download CrosscutMeasurement.java

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

public class CrosscutMeasurement
extends PerformanceTest

Performance testcase for measuring a simulation of runes.

In this testcase,the column RUNS (the fifths) represents the time needed to dispatch a faked Breakpoint implementation event.

Version:
$Revision: 1.1.1.1 $

Nested Class Summary
static class CrosscutMeasurement.MeasurementExtension
           
static class CrosscutMeasurement.TestAspect
           
 
Field Summary
 java.lang.String stringToBeAccessedOrModified
           
(package private)  CrosscutMeasurement.TestAspect testAspect
           
 int toBeAccessedOrModified
           
(package private)  boolean useProse
           
 
Constructor Summary
CrosscutMeasurement(java.lang.String name)
          Construct test with given name.
 
Method Summary
protected  void setUp()
           
static void staticVoidMethod()
           
static junit.framework.Test suite()
          Test suite.
protected  void tearDown()
           
 void testAllFieldsAccess()
          Test the time needed to simulate the dispatching of a join-point to a all locations listener.
 void testAllFieldsIntModifications()
           
 void testAllFieldsStringModifications()
           
 void testAllLocationFast()
           
 void testAllLocationLong()
           
 void testAllLocationShort()
          Test the time needed to simulate the dispatching of a join-point to a all locations listener.
 void testConcreteConcreteLong()
           
 void testConcreteConcreteShort()
           
 void testConcreteConcreteStaticShort()
          Test the time needed to simulate the dispatching of a join-point to a all locations listener.
 void testConcreteWildcardLong()
           
 void testNotOptimized()
          Test the time needed to simulate the dispatching of a join-point to a all locations listener.
 void testWildcardConcreteShort()
           
 void testWildcardWildcardLong()
           
 void voidMethod()
           
 void voidMethodLong(java.lang.String a, java.lang.String b)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

toBeAccessedOrModified

public int toBeAccessedOrModified

stringToBeAccessedOrModified

public java.lang.String stringToBeAccessedOrModified

useProse

final boolean useProse

testAspect

CrosscutMeasurement.TestAspect testAspect
Constructor Detail

CrosscutMeasurement

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

Method Detail

staticVoidMethod

public static void staticVoidMethod()

voidMethod

public void voidMethod()

voidMethodLong

public void voidMethodLong(java.lang.String a,
                           java.lang.String b)

setUp

protected void setUp()
              throws java.lang.Exception

tearDown

protected void tearDown()
                 throws ch.ethz.prose.SystemTeardownException

testAllLocationShort

public void testAllLocationShort()
Test the time needed to simulate the dispatching of a join-point to a all locations listener.


testAllLocationLong

public void testAllLocationLong()

testAllLocationFast

public void testAllLocationFast()

testWildcardWildcardLong

public void testWildcardWildcardLong()

testConcreteWildcardLong

public void testConcreteWildcardLong()

testWildcardConcreteShort

public void testWildcardConcreteShort()

testConcreteConcreteShort

public void testConcreteConcreteShort()

testConcreteConcreteStaticShort

public void testConcreteConcreteStaticShort()
Test the time needed to simulate the dispatching of a join-point to a all locations listener.


testConcreteConcreteLong

public void testConcreteConcreteLong()

testNotOptimized

public void testNotOptimized()
Test the time needed to simulate the dispatching of a join-point to a all locations listener.


testAllFieldsAccess

public void testAllFieldsAccess()
Test the time needed to simulate the dispatching of a join-point to a all locations listener.


testAllFieldsIntModifications

public void testAllFieldsIntModifications()

testAllFieldsStringModifications

public void testAllFieldsStringModifications()

suite

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