예제 #1
0
파일: Xsl.php 프로젝트: wikidi/envtesting
<?php

namespace envtests\library;

/**
 * Check XSL support
 *
 * @see http://cz2.php.net/manual/en/book.xsl.php
 * @author Roman Ozana <*****@*****.**>
 */
\envtesting\Assert::true(\envtesting\Check::lib('xsl'), 'XLS library not found');
예제 #2
0
파일: Intl.php 프로젝트: wikidi/envtesting
<?php

namespace envtests\library;

/**
 * Check Internationalization Functions is loaded
 *
 * @see http://php.net/manual/en/book.intl.php
 * @author Roman Ozana <*****@*****.**>
 */
\envtesting\Assert::true(\envtesting\Check::lib('intl', 'intl_error_name'), 'intl library not found');
예제 #3
0
파일: Gd.php 프로젝트: wikidi/envtesting
<?php

namespace envtests\library;

/**
 * Check GD library is loaded
 *
 * @see http://php.net/manual/en/book.image.php
 * @author Roman Ozana <*****@*****.**>
 */
\envtesting\Assert::true(\envtesting\Check::lib('gd', 'gd_info'), 'GD library not found');
예제 #4
0
파일: Zlib.php 프로젝트: wikidi/envtesting
<?php

namespace envtests\library;

/**
 * Check Zlib Compression support
 *
 * @see http://cz2.php.net/manual/en/book.zlib.php
 * @author Roman Ozana <*****@*****.**>
 */
\envtesting\Assert::true(\envtesting\Check::lib('zlib', 'gzopen'), 'zlib library not found');
예제 #5
0
 public static function notDisplayErrors()
 {
     Assert::true(Check::ini('display_errors', '0'), 'display_errors is ON !!!');
     return 'display_errors is OFF';
 }
예제 #6
0
파일: Bzip2.php 프로젝트: wikidi/envtesting
<?php

namespace envtests\library;

/**
 * Check if bz2 library is loaded
 *
 * @see http://php.net/manual/en/book.bzip2.php
 * @author Roman Ozana <*****@*****.**>
 */
\envtesting\Assert::true(\envtesting\Check::lib('bz2', 'bzopen'), 'Bzip not found');
예제 #7
0
파일: Tidy.php 프로젝트: wikidi/envtesting
<?php

namespace envtests\library;

/**
 * Check if tidy is avaliable
 *
 * @see http://php.net/manual/en/book.tidy.php
 * @author Roman Ozana <*****@*****.**>
 */
\envtesting\Assert::true(\envtesting\Check::lib('tidy'), 'Tidy');
echo 'Tidy found';
예제 #8
0
<?php

namespace envtests\library;

/**
 * Check wordProb classes
 *
 * @author Roman Ozana <*****@*****.**>
 */
\envtesting\Assert::true(\envtesting\Check::cls('wikidi_webDataSearch_categorizer_wordProb_Client'), 'Class "wikidi_webDataSearch_categorizer_wordProb_Client" not found');
\envtesting\Assert::true(\envtesting\Check::cls('wikidi_webDataSearch_categorizer_wordProb_ClientFactory'), 'Class "wikidi_webDataSearch_categorizer_wordProb_ClientFactory" not found');
예제 #9
0
파일: Mysql.php 프로젝트: wikidi/envtesting
<?php

namespace envtests\library;

/**
 * Check if Original MySQL API is loaded
 *
 * @see http://php.net/manual/en/book.mysql.php
 * @author Roman Ozana <*****@*****.**>
 */
\envtesting\Assert::true(\envtesting\Check::lib('mysql', 'mysql_info'), 'mysql library not found');
예제 #10
0
<?php

namespace envtests\library;

/**
 * Check if memcache is loaded
 *
 * @see http://php.net/manual/en/book.memcache.php
 * @author Roman Ozana <*****@*****.**>
 */
\envtesting\Assert::true(\envtesting\Check::lib('memcache'), 'memcache library not found');
echo 'memcache found';
예제 #11
0
<?php

namespace envtests\library;

/**
 * Check if Sphinx Client is supported
 *
 * @see http://php.net/manual/en/book.sphinx.php
 * @author Roman Ozana <*****@*****.**>
 */
\envtesting\Assert::true(\envtesting\Check::cls('SphinxClient'), 'SphinxClient class not found');
예제 #12
0
<?php

namespace envtests\library;

/**
 * Check Gettext is loaded
 *
 * @see http://php.net/manual/en/book.gettext.php
 * @author Roman Ozana <*****@*****.**>
 */
\envtesting\Assert::true(\envtesting\Check::lib('gettext', 'gettext'), 'Gettext library not found');
echo 'Gettext found';
예제 #13
0
파일: Curl.php 프로젝트: wikidi/envtesting
<?php

namespace envtests\library;

/**
 * Check if curl library is loaded
 *
 * @see http://php.net/manual/en/book.curl.php
 * @author Roman Ozana <*****@*****.**>
 */
\envtesting\Assert::true(\envtesting\Check::lib('curl', 'curl_init'), 'Curl not found');
예제 #14
0
<?php

namespace envtests\library;

/**
 * Check if SimpleXml is supported
 *
 * @see http://php.net/manual/en/book.pdo.php
 * @author Roman Ozana <*****@*****.**>
 */
\envtesting\Assert::true(\envtesting\Check::lib('simplexml'), 'Simplexml library not found');
예제 #15
0
파일: Apc.php 프로젝트: wikidi/envtesting
<?php

namespace envtests\library;

/**
 * Check if APC library is loaded
 *
 * @see http://php.net/manual/en/book.apc.php
 * @author Roman Ozana <*****@*****.**>
 */
\envtesting\Assert::true(\envtesting\Check::lib('apc', 'apc_inc'), 'APC not found');
echo 'APC found';
예제 #16
0
파일: Pdo.php 프로젝트: wikidi/envtesting
<?php

namespace envtests\library;

/**
 * Check if PHP Data Objects (PDO) exists
 *
 * @see http://php.net/manual/en/book.pdo.php
 * @author Roman Ozana <*****@*****.**>
 */
\envtesting\Assert::true(\envtesting\Check::cls('PDO'), 'PDO class not found');
echo 'PDO found';
예제 #17
0
파일: Fann.php 프로젝트: wikidi/envtesting
<?php

namespace envtests\library;

/**
 * Check if fann server is loaded
 *
 * @author Roman Ozana <*****@*****.**>
 */
\envtesting\Assert::true(\envtesting\Check::cls('fann\\clients\\ServerProxy'), 'Fann class fann\\clients\\ServerProxy not exists');
예제 #18
0
파일: Mongo.php 프로젝트: wikidi/envtesting
<?php

namespace envtests\library;

/**
 * Check if MongoDB Native Driver is loaded
 *
 * @see http://php.net/manual/en/book.mongo.php
 * @author Roman Ozana <*****@*****.**>
 */
use envtesting\Assert;
use envtesting\Check;
Assert::true(Check::cls('MongoDB'), 'MongoDB class not found');
echo 'mongo found';