IPM
All Classes Namespaces Functions Variables Pages
Test Class Reference
Inheritance diagram for Test:
Inheritance graph

Public Member Functions

 OnGetUniqueName (pUniqueName)
 Returns a unique name for this resource. More...
 
_.Library.String OnItemRelativePath (_.Library.String pItemName)
 Returns the path relative to the module root for item pItemName within this resource.
 
_.Library.Status OnPhase (_.Library.String pPhase, pParams, _.Library.Boolean pResourceHandled)
 Called as phase pPhase is executed for the resource. More...
 
- Public Member Functions inherited from Abstract
 OnGetStudioProject (_.Studio.Project pProject, _.Library.Boolean pHandled)
 Subclasses may override to customize the studio project. More...
 

Public Attributes

 Class
 Class containing unit tests - this will be mapped properly on development systems, and unit tests won't be deleted in the "test" phase. More...
 
 ExportFlags
 Flags/qualifiers to export items with. More...
 
 Format
 Export format. More...
 
 ManagerClass
 Class extending UnitTest.Manager to use to run unit tests. More...
 
 Package
 Package containing unit tests - this will be mapped properly on development systems, and unit tests won't be deleted in the "test" phase if any classes in it exist. More...
 
 Phase
 Phase in which the unit tests run - "test" (dev namespace), "verify" (separate, clean namespace), or "test,verify" (to run in both cases). More...
 
- Public Attributes inherited from Abstract
 Params
   More...
 

Static Public Attributes

 ATTRIBUTES = None
 Comma-separated list of resource attribute names that this processor uses.
 
 DESCRIPTION = None
 Description of resource processor class (shown in UI)
 
- Static Public Attributes inherited from Abstract
 ATTRIBUTES = None
 Comma-separated list of resource attribute names that this processor uses.
 
 DESCRIPTION = None
 Description of resource processor class (shown in UI)
 

Private Attributes

 __EmbeddedProcessor
 Embedded processor to handle unit test resources as a package. More...
 

Member Function Documentation

◆ OnGetUniqueName()

OnGetUniqueName (   pUniqueName)

Returns a unique name for this resource.

Default implementation, leaving pUniqueName undefined, reverts to default behavior. An empty string indicates guaranteed uniqueness (useful for folders relative to module root)

Reimplemented from Abstract.

◆ OnPhase()

_.Library.Status OnPhase ( _.Library.String  pPhase,
  pParams,
_.Library.Boolean  pResourceHandled 
)

Called as phase pPhase is executed for the resource.

If pResourceHandled is set to true,

then the default behavior for that resource will be bypassed in the current phase. Currently, this is only used in the Verify phase, because of different handling of intermediate error statuses. TODO: Implement for standard database resources (.INC, .CLS, etc.)

Reimplemented from Abstract.

Member Data Documentation

◆ Class

Class

Class containing unit tests - this will be mapped properly on development systems, and unit tests won't be deleted in the "test" phase.

 

◆ __EmbeddedProcessor

__EmbeddedProcessor
private

Embedded processor to handle unit test resources as a package.

 

◆ ExportFlags

ExportFlags

Flags/qualifiers to export items with.

 

◆ Format

Format

Export format.

 

◆ ManagerClass

ManagerClass

Class extending UnitTest.Manager to use to run unit tests.

 

◆ Package

Package

Package containing unit tests - this will be mapped properly on development systems, and unit tests won't be deleted in the "test" phase if any classes in it exist.

 

◆ Phase

Phase

Phase in which the unit tests run - "test" (dev namespace), "verify" (separate, clean namespace), or "test,verify" (to run in both cases).