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

Diff of /contributions/modules/hidden/hidden.test

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

revision 1.3, Thu Dec 18 15:29:07 2008 UTC revision 1.3.2.1, Fri Mar 13 11:44:09 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: hidden.test,v 1.2 2008/12/13 18:42:43 ekes Exp $  // $Id: hidden.test,v 1.3 2008/12/18 15:29:07 ekes Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 832  class HiddenAdminPagesTestCase extends H Line 832  class HiddenAdminPagesTestCase extends H
832    
833      $this->assertText($text_filter['title']);      $this->assertText($text_filter['title']);
834      // not certain of hfid but there is only one      // not certain of hfid but there is only one
835      $enable = '<a href="'. url('admin/content/hidden/filters/enable/') .'\d+">';      $enable = '@'. url('admin/content/hidden/filters/enable/') .'\d+@';
836      $disable = '<a href="'. url('admin/content/hidden/filters/disable/') .'\d+">';      $disable = '@'. url('admin/content/hidden/filters/disable/') .'\d+@';
837      $edit = '<a href="'. url('admin/content/hidden/filters/edit/'). '\d+">';      $edit = '@'. url('admin/content/hidden/filters/edit/'). '\d+@';
838      // check links as enabling and disabling sole filter      // check links as enabling and disabling sole filter
839      $this->assertPattern($disable, t('Disable link visible'));      $this->assertPattern($disable, t('Disable link visible'));
840      $this->assertPattern($edit, t('Edit link visible'));      $this->assertPattern($edit, t('Edit link visible'));

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.3.2.1

  ViewVC Help
Powered by ViewVC 1.1.2