org.apache.jackrabbit.tck
Class Tester

java.lang.Object
  extended byorg.apache.jackrabbit.tck.Tester

public class Tester
extends java.lang.Object

The Tester starts the all tests and saves all tests.


Constructor Summary
Tester(TestFinder tests, TckTestRunner runner, javax.servlet.jsp.JspWriter writer, java.util.Map excludeList)
          The constructor...
 
Method Summary
 int getNumberOfExecutedTests()
          Returns the number of executed tests
 java.util.Map run()
          Calling this method starts the testing.
 void setfinishedSuiteString(java.lang.String line)
           
 void storeResults(javax.jcr.Node node)
          This method stores the result underneath the passed node in this structure:
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Tester

public Tester(TestFinder tests,
              TckTestRunner runner,
              javax.servlet.jsp.JspWriter writer,
              java.util.Map excludeList)
The constructor...

Parameters:
tests - All tests found using TestFinder
Method Detail

run

public java.util.Map run()
Calling this method starts the testing. All test results will be stored in the results hashmap for further use.

Returns:
the result list (map)

setfinishedSuiteString

public void setfinishedSuiteString(java.lang.String line)

storeResults

public void storeResults(javax.jcr.Node node)
                  throws javax.jcr.RepositoryException,
                         javax.jcr.nodetype.ConstraintViolationException,
                         javax.jcr.InvalidItemStateException,
                         javax.jcr.AccessDeniedException
This method stores the result underneath the passed node in this structure:
 node
  + suite name 1
    + test 1
    + test 2
    ...
  + suite name 2
    + test a
    + test b
    ...
  ....
 

Parameters:
node - parent Node for storage
Throws:
javax.jcr.RepositoryException
javax.jcr.nodetype.ConstraintViolationException
javax.jcr.InvalidItemStateException
javax.jcr.AccessDeniedException

getNumberOfExecutedTests

public int getNumberOfExecutedTests()
Returns the number of executed tests

Returns:
number of executed tests


Copyright © -2005 . All Rights Reserved.