[ Index ]

PHP Cross Reference of Web Application Component Toolkit

title

Body

[close]

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

   1  <?php
   2  /**
   3   * @package WACT_TESTS
   4   * @version $Id: source.test.php,v 1.1 2004/11/26 23:07:07 quipo Exp $
   5   */
   6  
   7  /**
   8   * @package WACT_TESTS
   9   */
  10  class ExamplesTagsSourceTestCase extends WACTWebTestCase {
  11      function ExamplesTagsSourceTestCase($name = 'WebTestCase') {
  12          $this->WACTWebTestCase($name);
  13      }
  14  
  15      function testExists() {
  16          $this->assertTrue($this->get(WACT_EXAMPLES_HTTP_PATH . '/tags/dev/source.php'));
  17          $this->assertNormalPage();
  18          $this->assertWantedPattern('/Source Dump:/');
  19          $this->assertWantedPattern('/Component:/');
  20          $this->assertWantedPattern('/prepare/');
  21          $this->assertWantedPattern('/children/');
  22          $this->assertNoUnWantedPattern('/<dev:source>/');
  23          $this->assertNoUnWantedPattern('/<list:LIST id=\'ListExample1\'>/');
  24      }
  25  
  26  }
  27  ?>


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