org.apache.jackrabbit.oak.performance
Class SetPropertyTest

java.lang.Object
  extended by org.apache.jackrabbit.oak.performance.AbstractTest
      extended by org.apache.jackrabbit.oak.performance.SetPropertyTest

public class SetPropertyTest
extends AbstractTest

Test for measuring the performance of setting a single property and saving the change.


Constructor Summary
SetPropertyTest()
           
 
Method Summary
 void afterSuite()
          Run after all iterations of this test have been executed.
 void afterTest()
           
 void beforeSuite()
          Run before any iterations of this test get executed.
 void beforeTest()
           
 void runTest()
           
 
Methods inherited from class org.apache.jackrabbit.oak.performance.AbstractTest
addBackgroundJob, execute, failOnRepositoryVersions, getCredentials, getRepository, getScale, loginReader, loginWriter, setUp, tearDown, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SetPropertyTest

public SetPropertyTest()
Method Detail

beforeSuite

public void beforeSuite()
                 throws javax.jcr.RepositoryException
Description copied from class: AbstractTest
Run before any iterations of this test get executed. Subclasses can override this method to set up static test content.

Overrides:
beforeSuite in class AbstractTest
Throws:
javax.jcr.RepositoryException

beforeTest

public void beforeTest()
                throws javax.jcr.RepositoryException
Overrides:
beforeTest in class AbstractTest
Throws:
javax.jcr.RepositoryException

runTest

public void runTest()
             throws Exception
Specified by:
runTest in class AbstractTest
Throws:
Exception

afterTest

public void afterTest()
               throws javax.jcr.RepositoryException
Overrides:
afterTest in class AbstractTest
Throws:
javax.jcr.RepositoryException

afterSuite

public void afterSuite()
                throws javax.jcr.RepositoryException
Description copied from class: AbstractTest
Run after all iterations of this test have been executed. Subclasses can override this method to clean up static test content.

Overrides:
afterSuite in class AbstractTest
Throws:
javax.jcr.RepositoryException


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.