UnitTestHarness  1.0
Unit Testing Tool
 All Data Structures Namespaces Files Functions Variables Pages
handleWinCCOAProject Namespace Reference

Functions

def checkWccoaInstalled
 Exits if WinCC-OA is not installed. More...
 
def useExisitingProject
 Checks that the given project is registered. More...
 
def setupForCleanProject
 Creates a clean project, adds the installation tool and installs the fw components (including the unit testing component). More...
 
def getTestResultsFromProject
 Copies the results from the project into the $UNITTEST/Results directory. More...
 
def deleteProject
 Deletes the given project. More...
 
def stopAllProjects
 

Function Documentation

def handleWinCCOAProject.checkWccoaInstalled ( )

Exits if WinCC-OA is not installed.

def handleWinCCOAProject.deleteProject (   projectPath)

Deletes the given project.

Parameters
projectPathString
def handleWinCCOAProject.getTestResultsFromProject (   projectPath,
  useExistingProject 
)

Copies the results from the project into the $UNITTEST/Results directory.

Parameters
projectPathString
def handleWinCCOAProject.setupForCleanProject (   projectPath,
  componentsToInstall,
  componentDirectories 
)

Creates a clean project, adds the installation tool and installs the fw components (including the unit testing component).

Parameters
projectPathString
componentsToInstallString[], A list of the components that should be installed into the project.
componentDirectoriesString[], A list of directories where the components have been downloaded to.
def handleWinCCOAProject.stopAllProjects ( )
def handleWinCCOAProject.useExisitingProject (   projectPath)

Checks that the given project is registered.

Starts the project if it is not already running.

Parameters
projectPathString