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

Class: PMO_MyObject_Test

Source Location: /fichiers/v0.15/PMO_tests/tests/PMO_MyObject_Test.php

Class Overview

UnitTestCase
   |
   --PMO_MyTest
      |
      --PMO_MyObject_Test

Tests the PMO_MyObject class


Methods


Inherited Methods

Class: PMO_MyTest

PMO_MyTest::__construct()
PMO_MyTest::resetSqliteActor()
destroys and recretes the sqlite table actor
PMO_MyTest::setConfig()
this is used to set a database for inserts/updates/deletes we want to keep sakila pristine so we know in advance what data we have
PMO_MyTest::setData()
loads the sql to drop and recreate the sqlite actor tab,e
PMO_MyTest::setUp()
PMO_MyTest::tearDown()

Class Details

[line 62]
Tests the PMO_MyObject class

This will test everything PMO_MyObject is supposed to do




[ Top ]


Class Methods


constructor __construct [line 65]

PMO_MyObject_Test __construct( )

constructor calls parent contructor.



Overrides PMO_MyTest::__construct() (parent method not documented)

[ Top ]

method test_all_columns_are_present [line 100]

void test_all_columns_are_present( )



[ Top ]

method test_delete_the_new_actor [line 170]

void test_delete_the_new_actor( )



[ Top ]

method test_insert_new_actor [line 149]

void test_insert_new_actor( )



[ Top ]

method test_load_and_save [line 129]

void test_load_and_save( )



[ Top ]

method test_load_many_objects [line 84]

void test_load_many_objects( )



[ Top ]

method test_load_object [line 70]

void test_load_object( )



[ Top ]


Documentation generated on Wed, 15 Oct 2008 09:17:35 -0400 by phpDocumentor 1.4.1