Show
Ignore:
Timestamp:
08/07/08 13:36:59 (4 months ago)
Author:
ron
Message:

Added support to disable tables and columns in schema, closes #669

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/generator/test/classes/propel/GeneratedObjectTest.php

    r1068 r1074  
    10201020                $this->assertFalse($bookreader->isNew() ); 
    10211021        } 
     1022        /** 
     1023         * Checks if the disabling of tables works 
     1024         */ 
     1025        public function testDisableTable() 
     1026        { 
     1027                $this->assertFalse(class_exists("BookstoreNonExistingTable") ); 
     1028        } 
     1029        /** 
     1030         * Checks if the disabling of columns works 
     1031         */ 
     1032        public function testDisableColumn() 
     1033        { 
     1034                $this->assertNull(constant("BookstoreNonExistingTableFkPeer::BOOKSTORE_NON_EXISTING_TABLE_ID") ); 
     1035        } 
    10221036}