Default Classes for WP-Gistpen
James DiGioia
<?phpnamespace WP_Gistpen;/*** This is the class description.** @package WP_Gistpen* @author James DiGioia <jamesorodig@gmail.com>* @link https://jamesdigioia.com/wp-gistpen/* @since [current version]*/class Boilerplate {/*** The ID of this plugin.** @since [current version]* @access private* @var string $plugin_name The ID of this plugin.*/private $plugin_name;/*** The version of this plugin.** @since [current version]* @access private* @var string $version The current version of this plugin.*/private $version;/*** Initialize the class and set its properties.** @since [current version]* @var string $plugin_name The name of this plugin.* @var string $version The version of this plugin.*/public function __construct( $plugin_name, $version ) {$this->plugin_name = $plugin_name;$this->version = $version;}}
class.php
<?phpclass WP_Gistpen_Sample_Test extends WP_Gistpen_UnitTestCase {function setUp() {parent::setUp();}function test_sample() {// replace this with some actual testing code$this->markTestIncomplete( "This test is incomplete." );}function tearDown() {parent::tearDown();}}
test.php