Functions | |
| def | findInProj |
| def | folder |
| def | kind |
| def | role |
| def | new |
| def | subtype |
| def | instantiate |
| def | newObjInFold |
| def | subtypeInFold |
| def | instantiateInFold |
| def | newFolder |
| def | connect |
| def | connectRefP |
| def | creaP |
| def | saveP |
| def | populate |
| def GPyUnit::Regr::Mga::utils::Builder::connect | ( | p, | ||
| cont, | ||||
| s, | ||||
| d, | ||||
| role_str | ||||
| ) |
Helper method connecting plain fcos/ports, when no references are involved
Definition at line 94 of file Builder.py.
| def GPyUnit::Regr::Mga::utils::Builder::connectRefP | ( | p, | ||
| cont, | ||||
| s, | ||||
| d, | ||||
| r1, | ||||
| r2, | ||||
| role_str | ||||
| ) |
Helper method connecting ports. s: source fco/port d: destination fco/port r1: modelreference, 'containing' s r2: modelreference, 'containing' d r1 or r2 might be 0, when that end of the connection is an fco or modelport (no reference involved)
Definition at line 100 of file Builder.py.
| def GPyUnit::Regr::Mga::utils::Builder::creaP | ( | mganame, | ||
| parad | ||||
| ) |
Definition at line 117 of file Builder.py.
| def GPyUnit::Regr::Mga::utils::Builder::findInProj | ( | project, | ||
obj_name = "", |
||||
obj_kind = "" | ||||
| ) |
Returns an object in project, satisfying the obj_name and obj_kind criteria, if speficied
Definition at line 6 of file Builder.py.
| def GPyUnit::Regr::Mga::utils::Builder::folder | ( | project, | ||
| kind | ||||
| ) |
Returns an IMgaMetaFolder pointer, based on the folder kind given
Definition at line 30 of file Builder.py.
| def GPyUnit::Regr::Mga::utils::Builder::instantiate | ( | p, | ||
| cont, | ||||
| type | ||||
| ) |
Instantiates an fco from type, in the same role as type in container model specified
Definition at line 73 of file Builder.py.
| def GPyUnit::Regr::Mga::utils::Builder::instantiateInFold | ( | p, | ||
| cont, | ||||
| type | ||||
| ) |
Instantiates an fco from type, in the folder specified
Definition at line 85 of file Builder.py.
| def GPyUnit::Regr::Mga::utils::Builder::kind | ( | project, | ||
| kind | ||||
| ) |
Returns an IMgaMetaFCO pointer, based on the kind given
Definition at line 40 of file Builder.py.
| def GPyUnit::Regr::Mga::utils::Builder::new | ( | p, | ||
| cont, | ||||
| role_str | ||||
| ) |
Creates an fco, in role_str role in container model specified
Definition at line 65 of file Builder.py.
| def GPyUnit::Regr::Mga::utils::Builder::newFolder | ( | p, | ||
| parent, | ||||
| folder_kind_str | ||||
| ) |
Creates a folder_kind_str folder in parent
Definition at line 89 of file Builder.py.
| def GPyUnit::Regr::Mga::utils::Builder::newObjInFold | ( | p, | ||
| fold, | ||||
| kind_str | ||||
| ) |
Creates an object in a folder/rootfolder, based on kind_str
Definition at line 77 of file Builder.py.
| def GPyUnit::Regr::Mga::utils::Builder::populate | ( | p | ) |
Sample: The way the tester could build up a model needed for a test
Definition at line 138 of file Builder.py.
| def GPyUnit::Regr::Mga::utils::Builder::role | ( | project, | ||
| model, | ||||
| role_str | ||||
| ) |
Returns an IMgaMetaRole pointer, based on role_str and the container model (IMgaFCO) given
Definition at line 50 of file Builder.py.
| def GPyUnit::Regr::Mga::utils::Builder::saveP | ( | project | ) |
Definition at line 130 of file Builder.py.
| def GPyUnit::Regr::Mga::utils::Builder::subtype | ( | p, | ||
| cont, | ||||
| base | ||||
| ) |
Creates a derived fco from base, in the same role as base in container model specified
Definition at line 69 of file Builder.py.
| def GPyUnit::Regr::Mga::utils::Builder::subtypeInFold | ( | p, | ||
| cont, | ||||
| base | ||||
| ) |
Creates a derived fco from base, in the folder specified
Definition at line 81 of file Builder.py.
1.6.3