1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-12 17:44:37 +02:00

Preparation for merge with e107 repository

Moved all test files to e107_tests subdirectory
This commit is contained in:
Deltik
2019-11-27 11:18:53 -06:00
parent a07bc04280
commit e49ee50d31
206 changed files with 5 additions and 10 deletions

View File

@@ -0,0 +1,135 @@
<?php
/**
* Created by PhpStorm.
* User: Wiz
* Date: 2/10/2019
* Time: 2:21 PM
*/
class e107_db_debugTest extends \Codeception\Test\Unit
{
/** @var e107_db_debug */
protected $dbg;
protected function _before()
{
try
{
$this->dbg = $this->make('e107_db_debug');
}
catch(Exception $e)
{
$this->assertTrue(false, "Couldn't load e107_db_debug object");
}
}
/*
public function testShowIf()
{
}
public function testShow_Log()
{
}
public function testShow_Includes()
{
}
public function testSave()
{
}
public function testShow_DEPRECATED()
{
}*/
public function testLog()
{
$res = $this->dbg->log('hello world');
$this->assertTrue($res, 'db_debug->log() method returned false.');
$result = $this->dbg->Show_Log();
$this->assertContains('e107_db_debugTest->testLog()',$result);
}
/*
public function testLogCode()
{
}
public function testLogDeprecated()
{
}
public function test__construct()
{
}
public function testE107_db_debug()
{
}
public function testShow_SQL_Details()
{
}
public function testShow_SC_BB()
{
}
public function testShow_All()
{
}
public function testCountLabel()
{
}
public function testMark_Time()
{
}
public function testMark_Query()
{
}
public function testShow_Performance()
{
}
public function testShow_PATH()
{
}
public function testDump()
{
}
*/
}