|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.symbian.et.test.environment.TestDriverConfig
File-based implementation of a TestDriver config file. This is not compatible with TD v1.0
Field Summary | |
private static java.lang.String |
BLDMAKE
Run Bldmake true or false. |
private static java.lang.String |
CERT
Location of certificate to sign SIS files. |
private static java.lang.String |
CLEAN
Run clean on bldmake and abld, true or false. |
private static java.lang.String |
COPYRIGHT
Copyright of TestDriver. |
private static java.lang.String |
ENTRY_POINT_ADDRESS
The entry point address for TestDriver to run. |
private static java.lang.String |
EPOCROOT
EPOCROOT of TestDriver. |
private static int |
iRunNumber
|
private static java.io.File |
iSystemPrefFile
|
private static java.lang.String |
iTefHtmlResultLocation
|
private static java.lang.String |
iTefXmlResultLocation
|
private static java.io.File |
iUserPrefFile
|
private static java.lang.String |
KEY
Location of key to sign SIS files. |
private static java.lang.String |
NAME
Name of the TestDriver program. |
private static java.lang.String |
NODENAME
Name of the preferences node. |
private static java.lang.String |
PLATFORM
Default Platform. |
private static java.lang.String |
PLATSEC
Platform Security (PlatSec) true or false. |
private static java.lang.String |
REPOSITORYROOT
Repository Root of TestDriver. |
private static java.lang.String |
RESULTSROOT
Result Root of TestDriver. |
private static java.lang.String |
RUN_NUMBER
The current run number. |
private static java.lang.String |
SOURCEROOT
Source Root of TestDriver. |
private static java.util.prefs.Preferences |
SYSTEMPREFERENCES
The preferences that are system dependent. |
private static java.lang.String |
TEST_EXECUTE_DEPENDENCIES
|
private static java.lang.String |
TESTDRIVER
Testdriver prefix. |
private static TestDriverConfig |
TESTDRIVERCONFIG
Singleton reference to TestDriverConfig. |
private static java.lang.String |
TESTEXECUTE
TestExecute true or false. |
private static java.lang.String |
TRANSPORT
Default Transport. |
private static java.util.prefs.Preferences |
USERPREFERENCES
The preferences that are user dependent. |
private static java.lang.String |
VARIANT
Default Variant. |
private static java.lang.String |
VERSION
Version number of TestDriver. |
private static java.lang.String |
VERSION_NUMBER
Version of pgroam. |
private static java.lang.String |
XMLROOT
XML Root of TestDriver. |
private static int |
YEAR
Year of Copyright. |
Constructor Summary | |
private |
TestDriverConfig(java.io.File aUserPrefFile,
java.io.File aSystemPrefFile)
Standard constructor for TestDriverConfig. |
Method Summary | |
static java.io.File |
getCert()
|
static java.lang.String |
getEntryPointAddress()
|
static java.io.File |
getEpocroot()
|
static TestDriverConfig |
getInstance(java.io.File aUserPrefFile,
java.io.File aSystemPrefFile)
|
static java.io.File |
getKey()
|
static java.lang.String |
getNameYearVersion()
|
static java.lang.String |
getPlatform()
|
static java.io.File |
getRepository()
|
static java.lang.String |
getResultHtmlFileLocation()
|
static java.lang.String |
getResultroot()
|
static java.lang.String |
getResultXmlFileLocation()
|
static int |
getRunNumber()
|
static java.io.File |
getSourceroot()
|
static java.lang.String[] |
getTestExecuteDependencies()
This method gets the list of dependencies for the Test Execute Framework (TEF). |
static java.lang.String |
getTransport()
|
static java.lang.String |
getVariant()
|
static java.io.File |
getXmlroot()
|
static void |
incrementRunNumber()
Increments the run number by 1. |
static boolean |
isBldmake()
|
static boolean |
isClean()
|
static boolean |
isPlatsec()
|
static boolean |
isTestExecute()
|
static void |
setBldmake(boolean aBldmake)
|
static void |
setCert(java.io.File aCert)
|
static void |
setClean(boolean aClean)
|
static void |
setEntryPointAddress(java.lang.String aEntryPointAddress)
|
static void |
setEpocroot(java.io.File aEpocroot)
|
static void |
setKey(java.io.File aKey)
|
static void |
setPlatform(java.lang.String aPlatform)
|
static void |
setPlatsec(boolean aPlatsec)
|
static void |
setRepositoryroot(java.lang.String aRepositoryroot)
|
static void |
setResultroot(java.lang.String aResultsroot)
|
static void |
setSourceroot(java.lang.String aSourceroot)
|
static void |
setTestExecute(boolean aTestexecute)
|
static void |
setTransport(java.lang.String aTransport)
|
static void |
setVariant(java.lang.String aVariant)
|
static void |
setXmlroot(java.lang.String aXmlroot)
|
static void |
storeTestDriverConfig()
Save the Configuration settings to a file. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final java.lang.String TESTDRIVER
private static final java.lang.String BLDMAKE
private static final java.lang.String CERT
private static final java.lang.String CLEAN
private static final java.lang.String COPYRIGHT
private static final java.lang.String ENTRY_POINT_ADDRESS
private static final java.lang.String EPOCROOT
private static final java.lang.String KEY
private static final java.lang.String NAME
private static java.lang.String NODENAME
private static final java.lang.String PLATFORM
private static final java.lang.String PLATSEC
private static final java.lang.String REPOSITORYROOT
private static final java.lang.String RESULTSROOT
private static final java.lang.String RUN_NUMBER
private static final java.lang.String SOURCEROOT
private static java.util.prefs.Preferences SYSTEMPREFERENCES
private static TestDriverConfig TESTDRIVERCONFIG
private static final java.lang.String TESTEXECUTE
private static final java.lang.String TRANSPORT
private static java.util.prefs.Preferences USERPREFERENCES
private static final java.lang.String VARIANT
private static final java.lang.String VERSION
private static final java.lang.String VERSION_NUMBER
private static final java.lang.String XMLROOT
private static final int YEAR
private static final java.lang.String TEST_EXECUTE_DEPENDENCIES
private static java.io.File iUserPrefFile
private static java.io.File iSystemPrefFile
private static java.lang.String iTefHtmlResultLocation
private static java.lang.String iTefXmlResultLocation
private static int iRunNumber
Constructor Detail |
private TestDriverConfig(java.io.File aUserPrefFile, java.io.File aSystemPrefFile) throws java.io.IOException, java.lang.IllegalArgumentException
aUserPrefFile
- Location on the file system where User TestDriver
configuration settings are saved.aSystemPrefFile
- Location on the file system where System TestDriver
configuration settings are saved.
java.lang.IllegalArgumentException
- If there is a problem loading or creating the Configuration
file.
java.io.IOException
Method Detail |
public static TestDriverConfig getInstance(java.io.File aUserPrefFile, java.io.File aSystemPrefFile) throws java.io.IOException, java.lang.IllegalArgumentException
aUserPrefFile
- The user preferences XML file.aSystemPrefFile
- The systems preference XML file.
java.io.IOException
- If the preferences setup fails.
java.lang.IllegalArgumentException
public static void storeTestDriverConfig() throws java.io.IOException
java.io.IOException
- If the saving doesn't work.public static java.io.File getCert()
public static java.lang.String getEntryPointAddress()
public static java.io.File getEpocroot()
public static java.io.File getKey()
public static java.lang.String getNameYearVersion()
public static java.lang.String getPlatform()
public static java.io.File getRepository()
public static java.lang.String getResultHtmlFileLocation() throws java.io.IOException
java.io.IOException
public static java.lang.String getResultXmlFileLocation() throws java.io.IOException
java.io.IOException
public static java.lang.String getResultroot()
public static int getRunNumber()
public static java.io.File getSourceroot()
public static boolean isTestExecute()
true
if testexecute should be installed,
false
otherwise.public static java.lang.String[] getTestExecuteDependencies()
public static java.lang.String getTransport()
public static java.lang.String getVariant()
public static java.io.File getXmlroot()
public static void incrementRunNumber() throws java.io.IOException
java.io.IOException
public static boolean isBldmake()
true
if bldmake
should be run,
false
otherwise.public static boolean isClean()
true
if clean should be run on
bldmake
and abld
,
false
otherwise.public static boolean isPlatsec()
true
if PlatSec is on, false
otherwise.public static void setBldmake(boolean aBldmake) throws java.io.IOException
aBldmake
- true
if bldmake
should be run,
false
otherwise.
java.io.IOException
public static void setCert(java.io.File aCert) throws java.io.IOException
aCert
- The certificate to sign the SIS package with.
java.io.IOException
public static void setClean(boolean aClean) throws java.io.IOException
aClean
- true
if clean should be run on
bldmake
and abld
,
false
otherwise.
java.io.IOException
public static void setEntryPointAddress(java.lang.String aEntryPointAddress) throws java.io.IOException
aEntryPointAddress
- The entry point address to set to.
java.io.IOException
public static void setEpocroot(java.io.File aEpocroot) throws java.io.IOException, java.lang.IllegalArgumentException
aEpocroot
- The epoc root directory.
java.io.IOException
java.lang.IllegalArgumentException
public static void setKey(java.io.File aKey) throws java.io.IOException
aKey
- The key to sign the SIS package with.
java.io.IOException
public static void setPlatform(java.lang.String aPlatform) throws java.lang.IllegalArgumentException, java.io.IOException
aPlatform
- The platform to build to.
java.lang.IllegalArgumentException
java.io.IOException
public static void setPlatsec(boolean aPlatsec) throws java.io.IOException
aPlatsec
- true
if PlatSec is on, false
otherwise.
java.io.IOException
public static void setRepositoryroot(java.lang.String aRepositoryroot) throws java.io.IOException
aRepositoryroot
- The repository root directory.
java.io.IOException
public static void setResultroot(java.lang.String aResultsroot) throws java.io.IOException
aResultsroot
- The result directory of the source code.
java.io.IOException
public static void setSourceroot(java.lang.String aSourceroot) throws java.io.IOException
aSourceroot
- The root directory for the source code.
java.io.IOException
public static void setTestExecute(boolean aTestexecute) throws java.io.IOException
aTestexecute
- true
if testexecute should be installed,
false
otherwise.
java.io.IOException
public static void setTransport(java.lang.String aTransport) throws java.lang.IllegalArgumentException, java.io.IOException
aTransport
- The transport to use with STAT / JStat.
java.lang.IllegalArgumentException
java.io.IOException
public static void setVariant(java.lang.String aVariant) throws java.lang.IllegalArgumentException, java.io.IOException
aVariant
- The default variant.
java.lang.IllegalArgumentException
java.io.IOException
public static void setXmlroot(java.lang.String aXmlroot) throws java.io.IOException
aXmlroot
- The xml root directory to set.
java.io.IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |