-
Notifications
You must be signed in to change notification settings - Fork 5
/
ProductTest.php
executable file
·93 lines (67 loc) · 1.69 KB
/
ProductTest.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
<?php
require_once 'db_pdo_fetch_class.php';
require_once 'PHPUnit/Framework/TestCase.php';
/**
* Product test case.
*/
class ProductTest extends PHPUnit_Framework_TestCase {
/**
*
* @var Product
*/
private $Product;
/**
* Prepares the environment before running a test.
*/
protected function setUp() {
parent::setUp ();
// TODO Auto-generated ProductTest::setUp()
$this->Product = new Product(/* parameters */);
}
/**
* Cleans up the environment after running a test.
*/
protected function tearDown() {
// TODO Auto-generated ProductTest::tearDown()
$this->Product = null;
parent::tearDown ();
}
/**
* Constructs the test case.
*/
public function __construct() {
// TODO Auto-generated constructor
}
/**
* Tests Product->__construct()
*/
public function test__construct() {
// TODO Auto-generated ProductTest->test__construct()
$this->markTestIncomplete ( "__construct test not implemented" );
$this->Product->__construct(/* parameters */);
}
/**
* Tests Product->__set()
*/
public function test__set() {
// TODO Auto-generated ProductTest->test__set()
$this->markTestIncomplete ( "__set test not implemented" );
$this->Product->__set(/* parameters */);
}
/**
* Tests Product->__get()
*/
public function test__get() {
// TODO Auto-generated ProductTest->test__get()
$this->markTestIncomplete ( "__get test not implemented" );
$this->Product->__get(/* parameters */);
}
/**
* Tests Product->calc()
*/
public function testCalc() {
// TODO Auto-generated ProductTest->testCalc()
$this->markTestIncomplete ( "calc test not implemented" );
$this->Product->calc(/* parameters */);
}
}