org.apache.pluto.testsuite.test
Class ExpectedResults

java.lang.Object
  extended by org.apache.pluto.testsuite.test.ExpectedResults

public class ExpectedResults
extends java.lang.Object

A Singleton which loads a properties file containing data expected by the tests in the testsuite.


Field Summary
static java.lang.String PROPERTY_FILENAME
          The file name of properties holding expected results.
 
Method Summary
static ExpectedResults getInstance()
          Returns the singleton expected results instance.
 java.lang.String getMajorVersion()
           
 java.lang.String getMappedSecurityRole()
           
 java.lang.String getMinorVersion()
           
 java.lang.String getPortalInfo()
           
 java.lang.String getServerInfo()
           
 java.lang.String getUnmappedSecurityRole()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROPERTY_FILENAME

public static final java.lang.String PROPERTY_FILENAME
The file name of properties holding expected results.

See Also:
Constant Field Values
Method Detail

getInstance

public static ExpectedResults getInstance()
                                   throws InvalidConfigurationException
Returns the singleton expected results instance.

Returns:
the singleton expected results instance.
Throws:
InvalidConfigurationException - if fail to read properties file.

getMajorVersion

public java.lang.String getMajorVersion()

getMinorVersion

public java.lang.String getMinorVersion()

getServerInfo

public java.lang.String getServerInfo()

getPortalInfo

public java.lang.String getPortalInfo()

getMappedSecurityRole

public java.lang.String getMappedSecurityRole()

getUnmappedSecurityRole

public java.lang.String getUnmappedSecurityRole()


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.