forked from JDGrimes/wp-plugin-uninstall-tester
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbootstrap.php
49 lines (41 loc) · 1.12 KB
/
bootstrap.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
<?php
/**
* Bootstrap to load the classes.
*
* Include this in the bootstrap for your plugin tests.
*
* @package WP_Plugin_Uninstall_Tester
* @since 0.1.0
*/
/**
* The directory path of the uninstall tester tools.
*
* @since 0.2.0
*
* @type string
*/
define( 'WP_PLUGIN_UNINSTALL_TESTER_DIR', dirname( __FILE__ ) );
/**
* The commandline options parser.
*/
require_once WP_PLUGIN_UNINSTALL_TESTER_DIR . '/includes/wp-plugin-uninstall-tester-phpunit-util-getopt.php';
/**
* General functions.
*/
require_once WP_PLUGIN_UNINSTALL_TESTER_DIR . '/includes/functions.php';
/**
* The plugin install/uninstall test case.
*/
require_once WP_PLUGIN_UNINSTALL_TESTER_DIR . '/includes/wp-plugin-uninstall-unittestcase.php';
/**
* Table exists constraint.
*/
require_once WP_PLUGIN_UNINSTALL_TESTER_DIR . '/includes/constraints/is-table-existant.php';
/**
* Table non-existant constraint.
*/
require_once WP_PLUGIN_UNINSTALL_TESTER_DIR . '/includes/constraints/table-is-non-existant.php';
/**
* No rows with prefix constraint.
*/
require_once WP_PLUGIN_UNINSTALL_TESTER_DIR . '/includes/constraints/no-rows-with-prefix.php';