FOSSology
4.4.0
Open Source License Compliance by Open Source Software
|
Public Member Functions | |
__construct ($srcPath=NULL) | |
checkOutTot () | |
check out the top of trunk fossology sources. Uses attribute set by the constructor. More... | |
foPostinstall () | |
makeInstall () | |
makeSrcs () | |
schedulerTest () | |
setSrcPath ($path) | |
startScheduler () | |
stopScheduler () | |
svnUpdate () | |
Public Attributes | |
$srcPath | |
Protected Member Functions | |
checkFop () | |
checks the output file from a fo-postinstall for the strings FATAL, error and Error. Assumes fop.out file is in the cwd. More... | |
Private Member Functions | |
checkScheduler () | |
getSchedPid () | |
Private Attributes | |
$NotRunning = FALSE | |
$Running = TRUE | |
$schedulerPid = -1 | |
Test Run class for nightly regression tests
This class provides the methods needed to automate nightly regressions tests for fossology using thi UI test suite.
Created on Dec 18, 2008
Definition at line 17 of file TestRun.php.
TestRun::__construct | ( | $srcPath = NULL | ) |
constructor
string | $srcPath | optional path to the fossology sources. If fossology is being checked out for the first time, the path should not include fossology, that will get created as part of the checkout. For example, /home/testdir/tryit/. Or this path indicates where fossology is located (if not using the default location). In this case fossology should be included in the path. For example, /home/mydir/fossology. |
Definition at line 38 of file TestRun.php.
|
protected |
checks the output file from a fo-postinstall for the strings FATAL, error and Error. Assumes fop.out file is in the cwd.
checkFop
Definition at line 59 of file TestRun.php.
TestRun::checkOutTot | ( | ) |
check out the top of trunk fossology sources. Uses attribute set by the constructor.
Definition at line 87 of file TestRun.php.
|
private |
checkScheduler
Check to see if the scheduler is running, if so stop it:
Definition at line 117 of file TestRun.php.
TestRun::startScheduler | ( | ) |
startScheduler
Check to see if the scheduler is running, if so stop it:
Definition at line 223 of file TestRun.php.
TestRun::stopScheduler | ( | ) |
stopScheduler
\breief Check to see if the scheduler is running, if so stop it:
Definition at line 247 of file TestRun.php.
TestRun::svnUpdate | ( | ) |
svnUpdate
run a svn update at $this->srcPath/fossology
return boolean
Definition at line 273 of file TestRun.php.