Changeset 1259 in tests
- Timestamp:
- 04/14/2013 03:46:04 AM (12 years ago)
- Location:
- trunk/includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/factory.php
r1241 r1259 2 2 3 3 class WP_UnitTest_Factory { 4 5 /** 6 * @var WP_UnitTest_Factory_For_Post 7 */ 8 public $post; 9 10 /** 11 * @var WP_UnitTest_Factory_For_Attachment 12 */ 13 public $attachment; 14 15 /** 16 * @var WP_UnitTest_Factory_For_Comment 17 */ 18 public $comment; 19 20 /** 21 * @var WP_UnitTest_Factory_For_User 22 */ 23 public $user; 24 25 /** 26 * @var WP_UnitTest_Factory_For_Term 27 */ 28 public $term; 29 30 /** 31 * @var WP_UnitTest_Factory_For_Term 32 */ 33 public $category; 34 35 /** 36 * @var WP_UnitTest_Factory_For_Term 37 */ 38 public $tag; 39 40 /** 41 * @var WP_UnitTest_Factory_For_Blog 42 */ 43 public $blog; 44 4 45 function __construct() { 5 46 $this->post = new WP_UnitTest_Factory_For_Post( $this ); -
trunk/includes/testcase.php
r1221 r1259 7 7 8 8 protected static $forced_tickets = array(); 9 10 /** 11 * @var WP_UnitTest_Factory 12 */ 13 protected $factory; 9 14 10 15 function setUp() {
Note: See TracChangeset
for help on using the changeset viewer.