예제 #1
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');
예제 #2
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';
예제 #3
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');
예제 #4
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');
예제 #5
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';