PHPonTraxTest
[ class tree: PHPonTraxTest ] [ index: PHPonTraxTest ] [ all elements ]

Class: ActiveRecordTest

Source Location: /test/ActiveRecordTest.php

Class Overview

PHPUnit2_Framework_TestCase
   |
   --ActiveRecordTest

Test class for ActiveRecord


Methods



Class Details

[line 94]
Test class for ActiveRecord



[ Top ]


Class Methods


method main [line 102]

void main( )

Runs the test methods of this class.



Tags:

static:  
access:  public


[ Top ]

method setUp [line 112]

void setUp( )

Set the environment ActiveRecord expects



Tags:

access:  protected


[ Top ]

method tearDown [line 130]

void tearDown( )

This method is called after a test is executed.



Tags:

access:  protected


[ Top ]

method testAdd_error [line 432]

void testAdd_error( )

Test the add_error() method



Tags:

access:  public


[ Top ]

method testAfter_create [line 562]

void testAfter_create( )

Test the after_create() method



Tags:

access:  public
todo:  Implement testAfter_create()


[ Top ]

method testAfter_delete [line 571]

void testAfter_delete( )

Test the after_delete() method



Tags:

access:  public
todo:  Implement testAfter_delete()


[ Top ]

method testAfter_save [line 580]

void testAfter_save( )

Test the after_save() method



Tags:

access:  public
todo:  Implement testAfter_save()


[ Top ]

method testAfter_update [line 589]

void testAfter_update( )

Test the after_update() method



Tags:

access:  public
todo:  Implement testAfter_update()


[ Top ]

method testAfter_validation [line 598]

void testAfter_validation( )

Test the after_validation() method



Tags:

access:  public
todo:  Implement testAfter_validation()


[ Top ]

method testAfter_validation_on_create [line 607]

void testAfter_validation_on_create( )

Test the after_validation_on_create() method



Tags:

access:  public
todo:  Implement testAfter_validation_on_create()


[ Top ]

method testAfter_validation_on_update [line 616]

void testAfter_validation_on_update( )

Test the after_validation_on_update() method



Tags:

access:  public
todo:  Implement testAfter_validation_on_update()


[ Top ]

method testAvg_all [line 625]

void testAvg_all( )

Test the avg_all() method



Tags:

access:  public
todo:  Implement testAvg_all()


[ Top ]

method testBefore_create [line 634]

void testBefore_create( )

Test the before_create() method



Tags:

access:  public
todo:  Implement testBefore_create()


[ Top ]

method testBefore_delete [line 643]

void testBefore_delete( )

Test the before_delete() method



Tags:

access:  public
todo:  Implement testBefore_delete()


[ Top ]

method testBefore_save [line 652]

void testBefore_save( )

Test the before_save() method



Tags:

access:  public
todo:  Implement testBefore_save()


[ Top ]

method testBefore_update [line 661]

void testBefore_update( )

Test the before_update() method



Tags:

access:  public
todo:  Implement testBefore_update()


[ Top ]

method testBefore_validation [line 670]

void testBefore_validation( )

Test the before_validation() method



Tags:

access:  public
todo:  Implement testBefore_validation()


[ Top ]

method testBefore_validation_on_create [line 679]

void testBefore_validation_on_create( )

Test the before_validation_on_create() method



Tags:

access:  public
todo:  Implement testBefore_validation_on_create()


[ Top ]

method testBefore_validation_on_update [line 688]

void testBefore_validation_on_update( )

Test the before_validation_on_update() method



Tags:

access:  public
todo:  Implement testBefore_validation_on_update()


[ Top ]

method testBegin [line 697]

void testBegin( )

Test the begin() method



Tags:

access:  public
todo:  Implement testBegin()


[ Top ]

method testColumn_attribute_exists [line 706]

void testColumn_attribute_exists( )

Test the column_attribute_exists() method



Tags:

access:  public
todo:  Implement testColumn_attribute_exists()


[ Top ]

method testColumn_for_attribute [line 715]

void testColumn_for_attribute( )

Test the column_for_attribute() method



Tags:

access:  public
todo:  Implement testColumn_for_attribute()


[ Top ]

method testCommit [line 724]

void testCommit( )

Test the commit() method



Tags:

access:  public
todo:  Implement testCommit()


[ Top ]

method testCount_all [line 733]

void testCount_all( )

Test the count_all() method



Tags:

access:  public
todo:  Implement testCount_all()


[ Top ]

method testCreate [line 742]

void testCreate( )

Test the create() method



Tags:

access:  public
todo:  Implement testCreate()


[ Top ]

method testDelete [line 751]

void testDelete( )

Test the delete() method



Tags:

access:  public
todo:  Implement testDelete()


[ Top ]

method testDelete_all [line 760]

void testDelete_all( )

Test the delete_all() method



Tags:

access:  public
todo:  Implement testDelete_all()


[ Top ]

method testEstablish_connection [line 769]

void testEstablish_connection( )

Test the establish_connection() method



Tags:

access:  public
todo:  Implement testEstablish_connection()


[ Top ]

method testFind [line 523]

void testFind( )

Test the find() method



Tags:

access:  public
todo:  Tests for limit, joins parameters


[ Top ]

method testFind_all [line 450]

void testFind_all( )

Test the find_all() method



Tags:

access:  public
todo:  Tests for limit, joins parameters


[ Top ]

method testFind_by [line 777]

void testFind_by( )

Test the find_by_*() and find_all_by_*() methods



Tags:

access:  public


[ Top ]

method testFind_by_sql [line 810]

void testFind_by_sql( )

Test the find_by_sql() method



Tags:

access:  public
todo:  Implement testFind_by_sql()


[ Top ]

method testFind_first [line 507]

void testFind_first( )

Test the find_first() method



Tags:

access:  public
todo:  Tests for joins parameter


[ Top ]

method testGet_association [line 819]

void testGet_association( )

Test the get_association() method



Tags:

access:  public
todo:  Implement testGet_association()


[ Top ]

method testGet_attributes [line 159]

void testGet_attributes( )

Test the get_attributes() method



Tags:

access:  public


[ Top ]

method testGet_errors [line 828]

void testGet_errors( )

Test the get_errors() method



Tags:

access:  public
todo:  Implement testGet_errors()


[ Top ]

method testGet_errors_as_string [line 837]

void testGet_errors_as_string( )

Test the get_errors_as_string() method



Tags:

access:  public
todo:  Implement testGet_errors_as_string()


[ Top ]

method testGet_insert_id [line 297]

void testGet_insert_id( )

Test the get_insert_id() method



Tags:

access:  public


[ Top ]

method testGet_primary_key_conditions [line 324]

void testGet_primary_key_conditions( )

Test the get_primary_key_conditions() method



Tags:

access:  public


[ Top ]

method testGet_updates_sql [line 349]

void testGet_updates_sql( )

Test the get_updates_sql() method



Tags:

access:  public


[ Top ]

method testIs_error [line 308]

void testIs_error( )

Test the is_error() method



Tags:

access:  public


[ Top ]

method testIs_new_record [line 846]

void testIs_new_record( )

Test the is_new_record() method



Tags:

access:  public
todo:  Implement testIs_new_record()


[ Top ]

method testLimit_select [line 855]

void testLimit_select( )

Test the limit_select() method



Tags:

access:  public
todo:  Implement testLimit_select()


[ Top ]

method testLoad [line 864]

void testLoad( )

Test the load() method



Tags:

access:  public
todo:  Implement testLoad()


[ Top ]

method testLog_query [line 873]

void testLog_query( )

Test the log_query() method



Tags:

access:  public
todo:  Implement testLog_query()


[ Top ]

method testMax_all [line 882]

void testMax_all( )

Test the max_all() method



Tags:

access:  public
todo:  Implement testMax_all()


[ Top ]

method testMin_all [line 891]

void testMin_all( )

Test the min_all() method



Tags:

access:  public
todo:  Implement testMin_all()


[ Top ]

method testPage_list [line 900]

void testPage_list( )

Test the page_list() method



Tags:

access:  public
todo:  Implement testPage_list()


[ Top ]

method testQuery [line 286]

void testQuery( )

Test the query() method



Tags:

access:  public


[ Top ]

method testQuoted_attributes [line 221]

void testQuoted_attributes( )

Test the quoted_attributes() method



Tags:

access:  public
todo:  Figure out how to test timestamp updating


[ Top ]

method testRaise [line 909]

void testRaise( )

Test the raise() method



Tags:

access:  public
todo:  Implement testRaise()


[ Top ]

method testReload [line 918]

void testReload( )

Test the reload() method



Tags:

access:  public
todo:  Implement testReload()


[ Top ]

method testRollback [line 927]

void testRollback( )

Test the rollback() method



Tags:

access:  public
todo:  Implement testRollback()


[ Top ]

method testSave [line 380]

void testSave( )

Test the save() method



Tags:

access:  public
todo:  Write test of save() of existing row


[ Top ]

method testSave_without_validation [line 936]

void testSave_without_validation( )

Test the save_without_validation() method



Tags:

access:  public
todo:  Implement testSave_without_validation()


[ Top ]

method testSend [line 945]

void testSend( )

Test the send() method



Tags:

access:  public
todo:  Implement testSend()


[ Top ]

method testSet_content_columns [line 954]

void testSet_content_columns( )

Test the set_content_columns() method



Tags:

access:  public
todo:  Implement testSet_content_columns()


[ Top ]

method testSet_table_name_using_class_name [line 963]

void testSet_table_name_using_class_name( )

Test the set_table_name_using_class_name() method



Tags:

access:  public
todo:  Implement testSet_table_name_using_class_name()


[ Top ]

method testSum_all [line 972]

void testSum_all( )

Test the sum_all() method



Tags:

access:  public
todo:  Implement testSum_all()


[ Top ]

method testUpdate [line 981]

void testUpdate( )

Test the update() method



Tags:

access:  public
todo:  Implement testUpdate()


[ Top ]

method testUpdate_all [line 990]

void testUpdate_all( )

Test the update_all() method



Tags:

access:  public
todo:  Implement testUpdate_all()


[ Top ]

method testUpdate_attributes [line 198]

void testUpdate_attributes( )

Test the update_attributes() method



Tags:

access:  public
todo:  Figure out the datetime thing and how to test it


[ Top ]

method testValid [line 999]

void testValid( )

Test the valid() method



Tags:

access:  public
todo:  Implement testValid()


[ Top ]

method testValidate [line 1008]

void testValidate( )

Test the validate() method



Tags:

access:  public
todo:  Implement testValidate()


[ Top ]

method testValidate_model_attributes [line 267]

void testValidate_model_attributes( )

Test the validate_model_attributes() method



Tags:

access:  public


[ Top ]

method testValidate_on_create [line 1017]

void testValidate_on_create( )

Test the validate_on_create() method



Tags:

access:  public
todo:  Implement testValidate_on_create()


[ Top ]

method testValidate_on_update [line 1026]

void testValidate_on_update( )

Test the validate_on_update() method



Tags:

access:  public
todo:  Implement testValidate_on_update()


[ Top ]

method test__call [line 1035]

void test__call( )

Test the __call() method



Tags:

access:  public
todo:  Implement test__call()


[ Top ]

method test__construct [line 136]

void test__construct( )

Test constructor



Tags:

access:  public


[ Top ]

method test__get [line 1044]

void test__get( )

Test the __get() method



Tags:

access:  public
todo:  Implement test__get()


[ Top ]

method test__set [line 1053]

void test__set( )

Test the __set() method



Tags:

access:  public
todo:  Implement test__set()


[ Top ]


Documentation generated on Thu, 04 May 2006 19:47:07 -0600 by phpDocumentor 1.3.0RC4