Changeset 3779 for trunk/tests/Orm

Show
Ignore:
Timestamp:
02/15/08 00:57:34 (11 months ago)
Author:
meus
Message:

added tests for Collection. also fixed a bug with serialization in collections. added copyright header to the two new testfiles

Location:
trunk/tests/Orm/Component
Files:
1 added
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/tests/Orm/Component/AccessTest.php

    r3777 r3779  
    11<?php 
     2/* 
     3 *  $Id: Doctrine.php 3754 2008-02-13 10:53:07Z romanb $ 
     4 * 
     5 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 
     6 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 
     7 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 
     8 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 
     9 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 
     10 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 
     11 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
     12 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 
     13 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
     14 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 
     15 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     16 * 
     17 * This software consists of voluntary contributions made by many individuals 
     18 * and is licensed under the LGPL. For more information, see 
     19 * <http://www.phpdoctrine.org>. 
     20 */ 
     21 
     22/** 
     23 * Doctrine 
     24 * the base class of Doctrine framework 
     25 * 
     26 * @package     Doctrine 
     27 * @author      Bjarte Stien Karlsen <doctrine@bjartek.org> 
     28 * @license     http://www.opensource.org/licenses/lgpl-license.php LGPL 
     29 * @link        www.phpdoctrine.com 
     30 * @since       1.0 
     31 * @version     $Revision: 3754 $ 
     32 */ 
    233require_once 'lib/DoctrineTestInit.php'; 
    334 
  • trunk/tests/Orm/Component/AllTests.php

    r3776 r3779  
    99require_once 'Orm/Component/TestTest.php'; 
    1010require_once 'Orm/Component/AccessTest.php'; 
     11require_once 'Orm/Component/CollectionTest.php'; 
    1112 
    1213class Orm_Component_AllTests 
     
    2324//        $suite->addTestSuite('Orm_Component_TestTest'); 
    2425                                $suite->addTestSuite('Orm_Component_AccessTest'); 
     26                                $suite->addTestSuite('Orm_Component_CollectionTest'); 
    2527 
    2628        return $suite;