AllTests   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 16
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A suite() 0 8 1
1
<?php
2
/**
3
 * ValidForeignKey Behavior
4
 *
5
 * Licensed under The MIT License.
6
 * For full copyright and license information, please see the LICENSE.txt
7
 * Redistributions of files must retain the above copyright notice.
8
 *
9
 * @copyright Marc Würth
10
 * @author Marc Würth <[email protected]>
11
 * @license http://www.opensource.org/licenses/mit-license.php MIT License
12
 * @link https://github.com/ravage84/ValidForeignKeyBehavior
13
 */
14
15
/**
16
 * AllTests class
17
 *
18
 * This test group will run all tests.
19
 */
20
class AllTests extends PHPUnit_Framework_TestSuite {
21
22
/**
23
 * Defines tests for this suite
24
 *
25
 * @return PHPUnit_Framework_TestSuite
26
 */
27
	public static function suite() {
28
		$suite = new CakeTestSuite('All ValidForeignKeyBehavior tests');
29
30
		$path = dirname(__FILE__);
31
		$suite->addTestDirectory($path . DS . 'Model' . DS . 'Behavior');
32
33
		return $suite;
34
	}
35
}