The PHP-CLI API - Test Environment Toolkit - The Open Group
Recommend Documents
The GUI serves as a central manage- ment console from which a user can define the attributes of each replica node (Figure 2) and the network topology.
Programs Sample Job Descriptions ... Vice President of Regional Programs and Operations ...... accounting software packa
Experience using accounting and contact management software. 1. Sample qualitative requirements. ⢠Strong sense of own
This API-20E test strip (from bioMerieux, Inc.) is used to identify the enteric gram
negative rods (although API makes a variety of other test strips for yeast, Staph, ...
apps have been developed. 269 billion downloads in 2015. 1.6m apps. 1.5m ... Android users have the choice of... Apple u
Items 1 - 14 - During the course of writing and editing this toolkit, the team sought ...... For example, in 1998 the Florida ...... of Site B, (d) auto-repair shop.
The wrapper is designed to be built on top of the OpenCL 1.1 C API and is not a
... The C++ API corresponds closely to the underlying C API and introduces no ...
Feb 17, 2010 - on the Gamsworld website [13], which offers test sets and tools for comparing .... the best solver for global optimization is currently Baron.
Traffic differentiating is provided by means of an Deficit Weighted ..... ADRR enhances the Deficit Round Robin (DRR) discipline by taking into account the ...
Jun 6, 2011 - Through the open design of the Connectome Viewer, we encourage the use of the many libraries available in the scientific Python com- munity.
Mouna Seri and William H. Sanders. University of Illinois at Urbana-Champaign. Urbana, IL 61801, USA .... Addison-Wesley Longman, 2003. [7] F. B. Schneider.
May 26, 2011 - You may also download this documentation in other formats. .... syntax has been modified to be more clear
May 26, 2011 - If you try to save a Scala List or Seq to MongoDB, we automatically convert .... We also provide a builde
By embracing the concept of Open Streets, we can all create shared spaces that embody respect, and help ... stakeholders
In which area and street do we want to host an Open Streets Day? ... a good place to introduce the ..... Post transport
features, such as movie ratings and box office, that are very likely to describe ..... Predicting a review class of a movie that is yet to come out, i.e. it does not have.
NIST THERMODYNAMICS RESEARCH .... can't be fitted as part of the process. Today's force fields mostly use indirect chemical ..... Victoria Lim, Jessica Maat, Jordan Ehrman, Josh Fass, Andrea Rizzi, Kyle A. Beauchamp, David R. Slochower ...
Feb 11, 2013 - Information Security Standards .... as CIO for one of the biggest banks in North Africa (Wahda Bank / Lib
vendors to position their services and software against these benchmarks. ..... may require bespoke code and adapters, l
much easier to use by application developers than the generic Transport API. ..... This method is provided to ease the d
Allen Brown, President and CEO, The Open Group. TOGAF and The Open Group
certification logo are trademarks of The Open Group. The certification logo may ...
Feb 1, 2012 - 10. Evergreen and Koha Top Candidates. For Libraries Looking to .... book reviews and do interesting thing
Feb 14, 2013 - Cloud Computing. Information Security Standards. Effective Enterprise. Architecture Tooling. Conference K
Feb 1, 2012 - Some existing Evergreen consortia offering hosting services ..... http://www.niso.org/apps/group_public/do
The PHP-CLI API - Test Environment Toolkit - The Open Group
test set code include “phptet.php”. Mar-05. TETware training course. 7-67.
Interface to the user-written code. ○ The PHP-CLI binding uses the TET dynamic.
Mar-05
7.6 - The PHP-CLI API l
l
l
The PHP-CLI API provides a binding to the TET C API All the functions provided by the API are referenced from a single PHP module phptet.php This module must be included at the start of the test set code include “phptet.php”
Mar-05
TETware training course
7-66
Interface to the user-written code l
The PHP-CLI binding uses the TET dynamic interfaces, so unlike the Shell and Perl APIs you do not need to setup an iclist for the TCM to communicate with the code • Thereby simplifying the writing of test code
The test set is contained in a single file consisting of an optional startup and cleanup function and a series of test functions.
Mar-05
TETware training course
7-68
Defining the startup and cleanup functions l
At the start of the test set are the optional startup and cleanup functions: function startup() { tet_infoline(“Test startup”); } function cleanup() { tet_infoline(“Test cleanup”); }
TET Globals must be declared before being referenced in a test function function test1() { global $tet_thistest; global $tet_pname; tet_infoline(“This test is “ . $tet_thistest); tet_infoline(“This testset is “ . $tet_pname); }
Mar-05
TETware training course
7-74
PHP-CLI API Features - Handling Errors l
Errors are handled through return values test1() { $var = tet_getvar(“MY_VAR”); if ($var == “”) { tet_infoline(“Parameter MY_VAR is missing”); return; } }
The PHP-CLI TET API wrapper is generated using the SWIG toolkit that has some limitations which mean that not all the TET C API features are presently available in PhpTET API, e.g. varargs (tet_printf())
Mar-05
TETware training course
7-76
Building the phptet Module l
l l
Need to have installed a supported version of TET and PHP Set TET_ROOT in the environment Check the settings of parameters in the Makefile • PHP_DIR - Location of the PHP include directory
Edit the php.ini file Set include_path to the location of the phptet modules (phptet.php and phptet_dyn.php) Set extension_dir to the location of the shared library (php_tet.so) See the README for more detailed instructions