/[drupal]/contributions/modules/content_refresh/content_refresh.test
ViewVC logotype

Contents of /contributions/modules/content_refresh/content_refresh.test

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download) (as text)
Fri Sep 5 20:28:47 2008 UTC (14 months, 2 weeks ago) by yaph
Branch: MAIN
CVS Tags: DRUPAL-6--1-1-DEV, DRUPAL-6--1-4, DRUPAL-6--1-5, DRUPAL-6--1-0, DRUPAL-6--1-1, DRUPAL-6--1-2, DRUPAL-6--1-3, HEAD
Branch point for: DRUPAL-6--1
File MIME type: text/x-php
Added a test script skeleton
1 <?php
2 // $Id$
3
4 class ContentRefreshTestCase extends DrupalWebTestCase {
5 /**
6 * Implementation of getInfo().
7 */
8 function getInfo() {
9 return array(
10 'name' => t('Content Refresh functionality'),
11 'description' => t('Add, edit and delete content to test whether cache clearing works.'),
12 'group' => t('Content Refresh'),
13 );
14 }
15
16 /**
17 * Implementation of setUp().
18 */
19 function setUp() {
20 parent::setUp();
21
22 // Create and login user
23 $editor_user = $this->drupalCreateUser(
24 array('create page content',
25 'edit any page content',
26 'delete any page content',
27 'post comments')
28 );
29
30 $this->drupalLogin($editor_user);
31 }
32
33 /**
34 * Test ...
35 */
36 function testCommentAdd() {
37
38 }
39
40 /**
41 * Test ...
42 */
43 function testContentAdd() {
44
45 }
46
47 /**
48 * Test ...
49 */
50 function testContentEdit() {
51
52 }
53
54 /**
55 * Test ...
56 */
57 function testContentDelete() {
58
59 }
60 }

  ViewVC Help
Powered by ViewVC 1.1.2