Initial commit
This commit is contained in:
86
tests/TestCase/Model/Table/BudgetTableTest.php
Normal file
86
tests/TestCase/Model/Table/BudgetTableTest.php
Normal file
@@ -0,0 +1,86 @@
|
||||
<?php
|
||||
namespace App\Test\TestCase\Model\Table;
|
||||
|
||||
use App\Model\Table\BudgetTable;
|
||||
use Cake\ORM\TableRegistry;
|
||||
use Cake\TestSuite\TestCase;
|
||||
|
||||
/**
|
||||
* App\Model\Table\BudgetTable Test Case
|
||||
*/
|
||||
class BudgetTableTest extends TestCase
|
||||
{
|
||||
|
||||
/**
|
||||
* Test subject
|
||||
*
|
||||
* @var \App\Model\Table\BudgetTable
|
||||
*/
|
||||
public $Budget;
|
||||
|
||||
/**
|
||||
* Fixtures
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
public $fixtures = [
|
||||
'app.budget',
|
||||
'app.wl_schooltypes',
|
||||
'app.wl_budgets',
|
||||
'app.wl_wertelistes'
|
||||
];
|
||||
|
||||
/**
|
||||
* setUp method
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function setUp()
|
||||
{
|
||||
parent::setUp();
|
||||
$config = TableRegistry::exists('Budget') ? [] : ['className' => BudgetTable::class];
|
||||
$this->Budget = TableRegistry::get('Budget', $config);
|
||||
}
|
||||
|
||||
/**
|
||||
* tearDown method
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function tearDown()
|
||||
{
|
||||
unset($this->Budget);
|
||||
|
||||
parent::tearDown();
|
||||
}
|
||||
|
||||
/**
|
||||
* Test initialize method
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function testInitialize()
|
||||
{
|
||||
$this->markTestIncomplete('Not implemented yet.');
|
||||
}
|
||||
|
||||
/**
|
||||
* Test validationDefault method
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function testValidationDefault()
|
||||
{
|
||||
$this->markTestIncomplete('Not implemented yet.');
|
||||
}
|
||||
|
||||
/**
|
||||
* Test buildRules method
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function testBuildRules()
|
||||
{
|
||||
$this->markTestIncomplete('Not implemented yet.');
|
||||
}
|
||||
}
|
||||
87
tests/TestCase/Model/Table/SchoolsTableTest.php
Normal file
87
tests/TestCase/Model/Table/SchoolsTableTest.php
Normal file
@@ -0,0 +1,87 @@
|
||||
<?php
|
||||
namespace App\Test\TestCase\Model\Table;
|
||||
|
||||
use App\Model\Table\SchoolsTable;
|
||||
use Cake\ORM\TableRegistry;
|
||||
use Cake\TestSuite\TestCase;
|
||||
|
||||
/**
|
||||
* App\Model\Table\SchoolsTable Test Case
|
||||
*/
|
||||
class SchoolsTableTest extends TestCase
|
||||
{
|
||||
|
||||
/**
|
||||
* Test subject
|
||||
*
|
||||
* @var \App\Model\Table\SchoolsTable
|
||||
*/
|
||||
public $Schools;
|
||||
|
||||
/**
|
||||
* Fixtures
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
public $fixtures = [
|
||||
'app.schools',
|
||||
'app.budget',
|
||||
'app.wl_schooltypes',
|
||||
'app.wl_budgets',
|
||||
'app.wl_wertelistes'
|
||||
];
|
||||
|
||||
/**
|
||||
* setUp method
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function setUp()
|
||||
{
|
||||
parent::setUp();
|
||||
$config = TableRegistry::exists('Schools') ? [] : ['className' => SchoolsTable::class];
|
||||
$this->Schools = TableRegistry::get('Schools', $config);
|
||||
}
|
||||
|
||||
/**
|
||||
* tearDown method
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function tearDown()
|
||||
{
|
||||
unset($this->Schools);
|
||||
|
||||
parent::tearDown();
|
||||
}
|
||||
|
||||
/**
|
||||
* Test initialize method
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function testInitialize()
|
||||
{
|
||||
$this->markTestIncomplete('Not implemented yet.');
|
||||
}
|
||||
|
||||
/**
|
||||
* Test validationDefault method
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function testValidationDefault()
|
||||
{
|
||||
$this->markTestIncomplete('Not implemented yet.');
|
||||
}
|
||||
|
||||
/**
|
||||
* Test buildRules method
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function testBuildRules()
|
||||
{
|
||||
$this->markTestIncomplete('Not implemented yet.');
|
||||
}
|
||||
}
|
||||
75
tests/TestCase/Model/Table/WlBudgetsTableTest.php
Normal file
75
tests/TestCase/Model/Table/WlBudgetsTableTest.php
Normal file
@@ -0,0 +1,75 @@
|
||||
<?php
|
||||
namespace App\Test\TestCase\Model\Table;
|
||||
|
||||
use App\Model\Table\WlBudgetsTable;
|
||||
use Cake\ORM\TableRegistry;
|
||||
use Cake\TestSuite\TestCase;
|
||||
|
||||
/**
|
||||
* App\Model\Table\WlBudgetsTable Test Case
|
||||
*/
|
||||
class WlBudgetsTableTest extends TestCase
|
||||
{
|
||||
|
||||
/**
|
||||
* Test subject
|
||||
*
|
||||
* @var \App\Model\Table\WlBudgetsTable
|
||||
*/
|
||||
public $WlBudgets;
|
||||
|
||||
/**
|
||||
* Fixtures
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
public $fixtures = [
|
||||
'app.wl_budgets',
|
||||
'app.budget',
|
||||
'app.wl_schooltypes'
|
||||
];
|
||||
|
||||
/**
|
||||
* setUp method
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function setUp()
|
||||
{
|
||||
parent::setUp();
|
||||
$config = TableRegistry::exists('WlBudgets') ? [] : ['className' => WlBudgetsTable::class];
|
||||
$this->WlBudgets = TableRegistry::get('WlBudgets', $config);
|
||||
}
|
||||
|
||||
/**
|
||||
* tearDown method
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function tearDown()
|
||||
{
|
||||
unset($this->WlBudgets);
|
||||
|
||||
parent::tearDown();
|
||||
}
|
||||
|
||||
/**
|
||||
* Test initialize method
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function testInitialize()
|
||||
{
|
||||
$this->markTestIncomplete('Not implemented yet.');
|
||||
}
|
||||
|
||||
/**
|
||||
* Test validationDefault method
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function testValidationDefault()
|
||||
{
|
||||
$this->markTestIncomplete('Not implemented yet.');
|
||||
}
|
||||
}
|
||||
73
tests/TestCase/Model/Table/WlDstTypTableTest.php
Normal file
73
tests/TestCase/Model/Table/WlDstTypTableTest.php
Normal file
@@ -0,0 +1,73 @@
|
||||
<?php
|
||||
namespace App\Test\TestCase\Model\Table;
|
||||
|
||||
use App\Model\Table\WlDstTypTable;
|
||||
use Cake\ORM\TableRegistry;
|
||||
use Cake\TestSuite\TestCase;
|
||||
|
||||
/**
|
||||
* App\Model\Table\WlDstTypTable Test Case
|
||||
*/
|
||||
class WlDstTypTableTest extends TestCase
|
||||
{
|
||||
|
||||
/**
|
||||
* Test subject
|
||||
*
|
||||
* @var \App\Model\Table\WlDstTypTable
|
||||
*/
|
||||
public $WlDstTyp;
|
||||
|
||||
/**
|
||||
* Fixtures
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
public $fixtures = [
|
||||
'app.wl_dst_typ'
|
||||
];
|
||||
|
||||
/**
|
||||
* setUp method
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function setUp()
|
||||
{
|
||||
parent::setUp();
|
||||
$config = TableRegistry::exists('WlDstTyp') ? [] : ['className' => WlDstTypTable::class];
|
||||
$this->WlDstTyp = TableRegistry::get('WlDstTyp', $config);
|
||||
}
|
||||
|
||||
/**
|
||||
* tearDown method
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function tearDown()
|
||||
{
|
||||
unset($this->WlDstTyp);
|
||||
|
||||
parent::tearDown();
|
||||
}
|
||||
|
||||
/**
|
||||
* Test initialize method
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function testInitialize()
|
||||
{
|
||||
$this->markTestIncomplete('Not implemented yet.');
|
||||
}
|
||||
|
||||
/**
|
||||
* Test validationDefault method
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function testValidationDefault()
|
||||
{
|
||||
$this->markTestIncomplete('Not implemented yet.');
|
||||
}
|
||||
}
|
||||
76
tests/TestCase/Model/Table/WlSchooltypesTableTest.php
Normal file
76
tests/TestCase/Model/Table/WlSchooltypesTableTest.php
Normal file
@@ -0,0 +1,76 @@
|
||||
<?php
|
||||
namespace App\Test\TestCase\Model\Table;
|
||||
|
||||
use App\Model\Table\WlSchooltypesTable;
|
||||
use Cake\ORM\TableRegistry;
|
||||
use Cake\TestSuite\TestCase;
|
||||
|
||||
/**
|
||||
* App\Model\Table\WlSchooltypesTable Test Case
|
||||
*/
|
||||
class WlSchooltypesTableTest extends TestCase
|
||||
{
|
||||
|
||||
/**
|
||||
* Test subject
|
||||
*
|
||||
* @var \App\Model\Table\WlSchooltypesTable
|
||||
*/
|
||||
public $WlSchooltypes;
|
||||
|
||||
/**
|
||||
* Fixtures
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
public $fixtures = [
|
||||
'app.wl_schooltypes',
|
||||
'app.budget',
|
||||
'app.schools',
|
||||
'app.wl_budgets'
|
||||
];
|
||||
|
||||
/**
|
||||
* setUp method
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function setUp()
|
||||
{
|
||||
parent::setUp();
|
||||
$config = TableRegistry::exists('WlSchooltypes') ? [] : ['className' => WlSchooltypesTable::class];
|
||||
$this->WlSchooltypes = TableRegistry::get('WlSchooltypes', $config);
|
||||
}
|
||||
|
||||
/**
|
||||
* tearDown method
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function tearDown()
|
||||
{
|
||||
unset($this->WlSchooltypes);
|
||||
|
||||
parent::tearDown();
|
||||
}
|
||||
|
||||
/**
|
||||
* Test initialize method
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function testInitialize()
|
||||
{
|
||||
$this->markTestIncomplete('Not implemented yet.');
|
||||
}
|
||||
|
||||
/**
|
||||
* Test validationDefault method
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function testValidationDefault()
|
||||
{
|
||||
$this->markTestIncomplete('Not implemented yet.');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user