Development

Changeset 12037

You must first sign up to be able to contribute.

Changeset 12037

Show
Ignore:
Timestamp:
10/07/08 16:15:41 (5 years ago)
Author:
blacksun
Message:

reorganized comments

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/sfModerationPlugin/test/unit/all/sfModerationBasicFeaturesTest.php

    r12026 r12037  
    99 */ 
    1010 
    11 /** 
    12  * Unit tests for the sfModerationPlugin plugin. 
    13  * 
    14  * Despite running unit tests, we use the functional tests bootstrap to take advantage of propel 
    15  * classes autoloading... 
    16  *  
    17  * In order to run the tests in your context, you have to copy this file in a symfony test directory 
    18  * and configure it appropriately (see the "configuration" section at the beginning of the file) 
    19  *   
    20  * @author   Francois Zaninotto <francois.zaninotto@symfony-project.com> 
    21  */ 
    2211include dirname(__FILE__).'/../bootstrap.php'; 
    2312 
     
    221210$common_columns = array_intersect($watch_columns, $test_watch_columns); 
    222211$t->is(count($common_columns), count($test_watch_columns), 'getWatchedColumns() includes all config watched columns'); 
    223 $t->ok(in_array($test_status_column, $watch_columns), 'getWatchedColumns() includes config watched columns'); 
    224 $t->ok(in_array($test_comment_column, $watch_columns), 'getWatchedColumns() includes config watched columns'); 
     212$t->ok(in_array($test_status_column, $watch_columns), 'getWatchedColumns() includes config status column'); 
     213$t->ok(in_array($test_comment_column, $watch_columns), 'getWatchedColumns() includes config comment column'); 
    225214if (constant($test_peer_class.'::EXTRA')) 
    226215{ 
  • plugins/sfModerationPlugin/test/unit/all/sfModerationCommentTest.php

    r11988 r12037  
    11<?php 
    2 /* 
     2/** 
    33 * This file is part of the sfModerationPlugin package. 
    44 *  
     
    99 */ 
    1010 
    11 /** 
    12  * Unit tests for the sfModerationPlugin plugin. 
    13  * 
    14  * Despite running unit tests, we use the functional tests bootstrap to take advantage of propel 
    15  * classes autoloading... 
    16  *  
    17  * In order to run the tests in your context, you have to copy this file in a symfony test directory 
    18  * and configure it appropriately (see the "configuration" section at the beginning of the file) 
    19  *   
    20  * @author   Francois Zaninotto <francois.zaninotto@symfony-project.com> 
    21  */ 
    2211include dirname(__FILE__).'/../bootstrap.php'; 
    2312 
  • plugins/sfModerationPlugin/test/unit/bootstrap.php

    r11988 r12037  
    11<?php 
     2 
     3/** 
     4 * Despite running unit tests, we use the functional tests bootstrap to take advantage of propel 
     5 * classes autoloading... 
     6 */ 
    27 
    38// Autofind the first available app environment 
  • plugins/sfModerationPlugin/test/unit/sfPropelModerationBehaviorTest.php

    r11988 r12037  
    1212 * Unit tests for the sfModerationPlugin plugin. 
    1313 * 
    14  * Despite running unit tests, we use the functional tests bootstrap to take advantage of propel 
    15  * classes autoloading... 
    16  *  
    1714 * In order to run the tests in your context, you have to copy this file in a symfony test directory 
    1815 * and configure it appropriately (see the "configuration" section at the beginning of the file)