pixmicat

Subversion Repositories:
Compare Path: Rev
With Path: Rev
/ @ 882  →  / @ 883
File deleted
\ No newline at end of file
/PIO/TestCase/prerequire.php
/PIO/TestCase/LanguageTest.php
@@ -1,5 +1,4 @@
<?php
require_once dirname(__FILE__).'/prerequire.php';
require_once ROOTPATH.'lib/lib_compatible.php';
 
class LanguageTest extends PHPUnit_Framework_TestCase {
/PIO/TestCase/PMCLibraryTest.php
@@ -1,6 +1,4 @@
<?php
require_once dirname(__FILE__).'/prerequire.php';
 
class PMCLibraryTest extends PHPUnit_Framework_TestCase {
public function testGetPIOInstance() {
$PIO1 = PMCLibrary::getPIOInstance();
/PIO/TestCase/ModuleHelperTest.php
@@ -1,6 +1,4 @@
<?php
require_once dirname(__FILE__).'/prerequire.php';
 
class mod_test extends ModuleHelper {
public function __construct($PMS) {
parent::__construct($PMS);
@@ -38,8 +36,10 @@
public function testAttachLanguage() {
$this->attachLanguage(
array(
'ABB' => '001',
'BBC' => '002 %s'
'en_US' => array(
'ABB' => '001',
'BBC' => '002 %s'
)
)
);
}
@@ -47,8 +47,10 @@
public function testAttachLanguageAnd_T() {
$this->attachLanguage(
array(
'var01' => '001',
'var02' => '002 %s'
'en_US' => array(
'var01' => '001',
'var02' => '002 %s'
)
)
);
return $this->_T('var02', 'Tom');
/PIO/TestCase/FlagHelperTest.php
@@ -1,6 +1,4 @@
<?php
require_once dirname(__FILE__).'/prerequire.php';
 
class FlagHelperTest extends PHPUnit_Framework_TestCase {
public static function setUpBeforeClass() {
// Let the system load lib_pio (FlagHelper)
/PIO/TestCase/runAllTest.bat
@@ -1,4 +1,4 @@
@ECHO OFF
set PHPDIR=..\..\..\php
%PHPDIR%\php phpunit.phar --no-globals-backup --verbose %1 %2 %~dp0
set PHPDIR=D:\XAMPP\php
%PHPDIR%\php phpunit.phar -c phpunit.xml %1 %2
pause
New file
/PIO/TestCase/Bootstrap.php
@@ -0,0 +1,4 @@
<?php
define('PHP_SELF', 'pixmicat.php');
require dirname(__FILE__).'/../config.php';
require ROOTPATH.'lib/pmclibrary.php';
/PIO/TestCase/LoggerInjectorTest.php
@@ -1,6 +1,4 @@
<?php
require_once dirname(__FILE__).'/prerequire.php';
 
class TempClass {
public function printMessage($msg) {
return "Hello, $msg!";
/PIO/TestCase/LoggerInterceptorTest.php
@@ -1,6 +1,4 @@
<?php
require_once dirname(__FILE__).'/prerequire.php';
 
class LoggerInterceptorTest extends PHPUnit_Framework_TestCase {
public function testInstance() {
$obj = new LoggerInterceptor(PMCLibrary::getLoggerInstance('Test'));
/PIO/TestCase/LoggerTest.php
@@ -1,6 +1,4 @@
<?php
require_once dirname(__FILE__).'/prerequire.php';
 
class LoggerTest extends PHPUnit_Framework_TestCase {
public $Logger;
 
/PIO/TestCase/PMSTest.php
@@ -1,6 +1,4 @@
<?php
require_once dirname(__FILE__).'/prerequire.php';
 
class PMSTest extends PHPUnit_Framework_TestCase {
public $PMS;