function setUp()
 {
     parent::setUp();
     if (!extension_loaded('gd')) {
         self::markTestSkipped('JPEG conversion tests requires GD extension');
     }
 }
 function setUp()
 {
     parent::setUp();
     if (!extension_loaded('gd')) {
         self::markTestSkipped('Image resizing tests requires GD extension');
     }
 }
 function setUp()
 {
     global $wpdb;
     $wpdb->query("TRUNCATE TABLE {$wpdb->posts}");
     $wpdb->query("ALTER TABLE {$wpdb->posts} AUTO_INCREMENT = 1");
     parent::setUp();
 }