[ Index ]

PHP Cross Reference of Web Application Component Toolkit

title

Body

[close]

/tests/cases/examples/tags/list/ -> separator.test.php (source)

   1  <?php
   2  /**
   3   * @package WACT_TESTS
   4   * @version $Id: separator.test.php,v 1.1 2004/11/24 00:17:57 jeffmoore Exp $
   5   */
   6  
   7  /**
   8   * @package WACT_TESTS
   9   */
  10  class ExamplesTagsListSeparatorTestCase extends WACTWebTestCase {
  11      function ExamplesTagsListSeparatorTestCase($name = 'WebTestCase') {
  12          $this->WACTWebTestCase($name);
  13      }
  14  
  15      function testExists() {
  16          $this->assertTrue($this->get(WACT_EXAMPLES_HTTP_PATH . '/tags/list/separator.php'));
  17          $this->assertNormalPage();
  18          $this->assertWantedPattern('/'.
  19              'Washington, George\s+<HR>\s+' . 
  20              'Hamilton, Alexander\s+<HR>\s+' . 
  21              'Franklin, Benjamin' . 
  22              '/i');
  23      }
  24  
  25  }
  26  ?>


Generated: Sun Nov 28 19:36:09 2004 Cross-referenced by PHPXref 0.5