Created
February 16, 2015 01:10
-
-
Save mAAdhaTTah/b266967dd649351cf716 to your computer and use it in GitHub Desktop.
Default Classes for WP-Gistpen
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace WP_Gistpen; | |
/** | |
* This is the class description. | |
* | |
* @package WP_Gistpen | |
* @author James DiGioia <jamesorodig@gmail.com> | |
* @link http://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; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class 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(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment