[ Index ]

PHP Cross Reference of Web Application Component Toolkit

title

Body

[close]

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

   1  <?php
   2  /**
   3   * @package WACT_TESTS
   4   * @version $Id: bbcode.test.php,v 1.1 2004/11/26 22:14:19 quipo Exp $
   5   */
   6  
   7  /**
   8   * @package WACT_TESTS
   9   */
  10  class ExamplesTagsBBCodeTestCase extends WACTWebTestCase {
  11      function ExamplesTagsBBCodeTestCase($name = 'WebTestCase') {
  12          $this->WACTWebTestCase($name);
  13      }
  14  
  15      function testExists() {
  16          $this->assertTrue($this->get(WACT_EXAMPLES_HTTP_PATH . '/tags/html_macro/bbcode.php'));
  17          $this->assertNormalPage();
  18          $this->assertWantedPattern('/This is a <strong>BBCode<\/strong> example powered by <a href/');
  19          $this->assertNoUnWantedPattern('/<html:bbcode id="MyBBCode">/');
  20      }
  21  
  22  }
  23  ?>


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