/[drupal]/contributions/modules/coder/scripts/coder_format/tests/CoderTestCase.php
ViewVC logotype

Contents of /contributions/modules/coder/scripts/coder_format/tests/CoderTestCase.php

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


Revision 1.2 - (show annotations) (download) (as text)
Sun Feb 24 19:40:50 2008 UTC (21 months ago) by sun
Branch: MAIN
CVS Tags: DRUPAL-7--1-0-BETA1, HEAD
Changes since 1.1: +12 -0 lines
File MIME type: text/x-php
Syncing HEAD with latest code in DRUPAL-6--1.
1 <?php
2 // $Id: CoderTestCase.php,v 1.1.2.1 2008/01/19 19:21:16 sun Exp $
3
4 require_once drupal_get_path('module', 'coder') .'/scripts/coder_format/coder_format.inc';
5
6 class CoderTestCase extends DrupalTestCase {
7 function assertFormat($input, $expect) {
8 $result = coder_format_string_all($input);
9 $this->assertIdentical($result, $input);
10 }
11 }
12

  ViewVC Help
Powered by ViewVC 1.1.2