/[drupal]/contributions/modules/nd/tests/nd.buildmodes.test
ViewVC logotype

Diff of /contributions/modules/nd/tests/nd.buildmodes.test

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

revision 1.1.2.9, Sun Oct 18 15:48:58 2009 UTC revision 1.1.2.10, Tue Oct 20 18:41:48 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: nd.buildmodes.test,v 1.1.2.8 2009/10/13 09:52:49 swentel Exp $  // $Id: nd.buildmodes.test,v 1.1.2.9 2009/10/18 15:48:58 swentel Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 12  class NodeDisplaysBuildModes extends Dru Line 12  class NodeDisplaysBuildModes extends Dru
12     */     */
13    function getInfo() {    function getInfo() {
14      return array(      return array(
15        'name' => t('Build modes'),        'name' => t('ND build modes'),
16        'description' => t('Test for build modes.'),        'description' => t('Tests for ND build modes.'),
17        'group' => t('Node Displays'),        'group' => t('Display suite'),
18      );      );
19    }    }
20    
# Line 22  class NodeDisplaysBuildModes extends Dru Line 22  class NodeDisplaysBuildModes extends Dru
22     * Implementation of setUp().     * Implementation of setUp().
23     */     */
24    function setUp() {    function setUp() {
25      parent::setUp('nd', 'search');      parent::setUp('ds', 'nd');
26    }    }
27    
28    /**    /**
# Line 60  class NodeDisplaysBuildModes extends Dru Line 60  class NodeDisplaysBuildModes extends Dru
60      $edit = array(      $edit = array(
61        'title[full][region]' => 'header',        'title[full][region]' => 'header',
62      );      );
63      $this->drupalPost('admin/ds/layout/page/display', $edit, t('Save'));      $this->drupalPost('admin/ds/layout/page', $edit, t('Save'));
64      $edit = array(      $edit = array(
65        'title[teaser][region]' => 'header',        'title[teaser][region]' => 'header',
66      );      );
67      $this->drupalPost('admin/ds/layout/page/display/teaser', $edit, t('Save'));      $this->drupalPost('admin/ds/layout/page/teaser', $edit, t('Save'));
68      // Story display settings.      // Story display settings.
69      $edit = array(      $edit = array(
70        'title[full][region]' => 'header',        'title[full][region]' => 'header',
71      );      );
72      $this->drupalPost('admin/ds/layout/story/display', $edit, t('Save'));      $this->drupalPost('admin/ds/layout/story', $edit, t('Save'));
73      $edit = array(      $edit = array(
74        'title[teaser][region]' => 'header',        'title[teaser][region]' => 'header',
75      );      );
76      $this->drupalPost('admin/ds/layout/story/display/teaser', $edit, t('Save'));      $this->drupalPost('admin/ds/layout/story/teaser', $edit, t('Save'));
77    
78      // Create page & story node.      // Create page & story node.
79      $page_node = $this->drupalCreateNode();      $page_node = $this->drupalCreateNode();

Legend:
Removed from v.1.1.2.9  
changed lines
  Added in v.1.1.2.10

  ViewVC Help
Powered by ViewVC 1.1.2