Change behavior of Section_ENV to require running (fixes #19)
commitfdfe67a71a5d35b4d65fcf12650e1b658649618d
authortswicegood <tswicegood@54d25d7b-d40e-47af-a99d-8d4037bc02b6>
Fri, 11 Jan 2008 16:58:49 +0000 (11 16:58 +0000)
committertswicegood <tswicegood@54d25d7b-d40e-47af-a99d-8d4037bc02b6>
Fri, 11 Jan 2008 16:58:49 +0000 (11 16:58 +0000)
treec6e94b8410c24837e8d573c13253de09eddaf646
parent9d38d4a5a056d870d4accbc9e67d51e4a8c15fa8
Change behavior of Section_ENV to require running (fixes #19)

After run() is called, all variables are available.  This allows code to be run as
a PHP file to allow dynamic variables to be inserted into the ENV.

git-svn-id: https://svn.phpt.info/Core/trunk@633 54d25d7b-d40e-47af-a99d-8d4037bc02b6
src/PHPT/Section/ENV.php
tests/Section/Env/basic-usage.phpt
tests/Section/Env/can-be-instantiated-with-no-parameters.phpt
tests/Section/Env/evals-as-if-in-same-directory-as-test.phpt [new file with mode: 0644]
tests/Section/Env/merges-with-env-superglobal.phpt
tests/Section/Env/path-translated-should-equal-filename-of-case-that-runs-env.phpt
tests/Section/Env/script-filename-should-equal-filename-of-case-that-runs-env.phpt
tests/Section/Env/will-eval-if-possible.phpt