org.apache.jackrabbit.oak.performance
Class LoginTest

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

public class LoginTest
extends AbstractTest


Constructor Summary
LoginTest()
           
 
Method Summary
 void afterTest()
           
 void runTest()
           
 void setUp(javax.jcr.Repository repository, javax.jcr.Credentials credentials)
          Prepares this performance benchmark.
 
Methods inherited from class org.apache.jackrabbit.oak.performance.AbstractTest
addBackgroundJob, afterSuite, beforeSuite, beforeTest, execute, failOnRepositoryVersions, getCredentials, getRepository, getScale, loginReader, loginWriter, tearDown, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LoginTest

public LoginTest()
Method Detail

setUp

public void setUp(javax.jcr.Repository repository,
                  javax.jcr.Credentials credentials)
           throws Exception
Description copied from class: AbstractTest
Prepares this performance benchmark.

Overrides:
setUp in class AbstractTest
Parameters:
repository - the repository to use
credentials - credentials of a user with write access
Throws:
Exception - if the benchmark can not be prepared

runTest

public void runTest()
             throws javax.jcr.RepositoryException
Specified by:
runTest in class AbstractTest
Throws:
javax.jcr.RepositoryException

afterTest

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


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