org.testng.internal
Class Constants

java.lang.Object
  extended by org.testng.internal.Constants

public class Constants
extends java.lang.Object

Constants used by TestNG

Author:
Cedric Beust, May 2, 2004

Field Summary
static java.lang.String PROP_OUTPUT_DIR
           
 
Constructor Summary
Constants()
           
 
Method Summary
static java.lang.String displayStatus(int status)
           
static boolean getBooleanPropertyValue(java.util.Properties properties, java.lang.String propertyName)
           
static java.lang.String getDefaultValueFor(java.lang.String propertyName)
           
static int getIntegerPropertyValue(java.util.Properties properties, java.lang.String propertyName)
           
static java.lang.String getPropertyValue(java.util.Properties p, java.lang.String propertyName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROP_OUTPUT_DIR

public static final java.lang.String PROP_OUTPUT_DIR
See Also:
Constant Field Values
Constructor Detail

Constants

public Constants()
Method Detail

getPropertyValue

public static java.lang.String getPropertyValue(java.util.Properties p,
                                                java.lang.String propertyName)

getBooleanPropertyValue

public static boolean getBooleanPropertyValue(java.util.Properties properties,
                                              java.lang.String propertyName)

getIntegerPropertyValue

public static int getIntegerPropertyValue(java.util.Properties properties,
                                          java.lang.String propertyName)

getDefaultValueFor

public static java.lang.String getDefaultValueFor(java.lang.String propertyName)

displayStatus

public static java.lang.String displayStatus(int status)
Parameters:
status -
Returns:


Copyright © 2010. All Rights Reserved.