src/php/Prose/FromTestEnvironment.php 1 location
|
@@ 92-104 (lines=13) @@
|
| 89 |
|
return $value; |
| 90 |
|
} |
| 91 |
|
|
| 92 |
|
public function getName() |
| 93 |
|
{ |
| 94 |
|
// what are we doing? |
| 95 |
|
$log = usingLog()->startAction("get current test environment name"); |
| 96 |
|
|
| 97 |
|
// get the details |
| 98 |
|
$config = $this->st->getConfig(); |
| 99 |
|
$value = $config->getData('target.name'); |
| 100 |
|
|
| 101 |
|
// all done |
| 102 |
|
$log->endAction($value); |
| 103 |
|
return $value; |
| 104 |
|
} |
| 105 |
|
|
| 106 |
|
public function getOption($optionName) |
| 107 |
|
{ |
src/php/Prose/FromStoryplayer.php 1 location
|
@@ 217-229 (lines=13) @@
|
| 214 |
|
return $value; |
| 215 |
|
} |
| 216 |
|
|
| 217 |
|
public function getConfig() |
| 218 |
|
{ |
| 219 |
|
// what are we doing? |
| 220 |
|
$log = usingLog()->startAction("get the storyplayer.json config"); |
| 221 |
|
|
| 222 |
|
// get the details |
| 223 |
|
$config = $this->st->getActiveConfig(); |
| 224 |
|
$retval = $config->getData("storyplayer"); |
| 225 |
|
|
| 226 |
|
// all done |
| 227 |
|
$log->endAction($retval); |
| 228 |
|
return $retval; |
| 229 |
|
} |
| 230 |
|
} |
| 231 |
|
|
src/php/Prose/FromConfig.php 1 location
|
@@ 87-99 (lines=13) @@
|
| 84 |
|
return $value; |
| 85 |
|
} |
| 86 |
|
|
| 87 |
|
public function getAll() |
| 88 |
|
{ |
| 89 |
|
// what are we doing? |
| 90 |
|
$log = usingLog()->startAction("get the full active config"); |
| 91 |
|
|
| 92 |
|
// get the details |
| 93 |
|
$config = $this->st->getActiveConfig(); |
| 94 |
|
$retval = $config->getData(""); |
| 95 |
|
|
| 96 |
|
// all done |
| 97 |
|
$log->endAction($retval); |
| 98 |
|
return $retval; |
| 99 |
|
} |
| 100 |
|
|
| 101 |
|
public function getModuleSetting($settingPath) |
| 102 |
|
{ |
src/php/Prose/FromSystemUnderTest.php 1 location
|
@@ 251-263 (lines=13) @@
|
| 248 |
|
return $value; |
| 249 |
|
} |
| 250 |
|
|
| 251 |
|
public function getConfig() |
| 252 |
|
{ |
| 253 |
|
// what are we doing? |
| 254 |
|
$log = usingLog()->startAction("get the system under test config"); |
| 255 |
|
|
| 256 |
|
// get the details |
| 257 |
|
$config = $this->st->getActiveConfig(); |
| 258 |
|
$retval = $config->getData("systemundertest"); |
| 259 |
|
|
| 260 |
|
// all done |
| 261 |
|
$log->endAction($retval); |
| 262 |
|
return $retval; |
| 263 |
|
} |
| 264 |
|
} |
| 265 |
|
|
src/php/StoryplayerInternals/SPv2/Modules/RuntimeTable/FromRuntimeTables.php 1 location
|
@@ 65-77 (lines=13) @@
|
| 62 |
|
* |
| 63 |
|
* @return BaseObject |
| 64 |
|
*/ |
| 65 |
|
public function getAllTables() |
| 66 |
|
{ |
| 67 |
|
// what are we doing? |
| 68 |
|
$log = Log::usingLog()->startAction("get all the current runtime tables"); |
| 69 |
|
|
| 70 |
|
// get the runtime config |
| 71 |
|
$runtimeConfig = $this->st->getRuntimeConfig(); |
| 72 |
|
$runtimeConfigManager = $this->st->getRuntimeConfigManager(); |
| 73 |
|
|
| 74 |
|
// all done |
| 75 |
|
$log->endAction(); |
| 76 |
|
return $runtimeConfigManager->getAllTables($runtimeConfig); |
| 77 |
|
} |
| 78 |
|
} |
| 79 |
|
|