[ Index ]

PHP Cross Reference of Limb3

title

Body

[close]

/active_record/tests/cases/ -> lmbActiveRecordTest.class.php (summary)

(no description)

File Size: 750 lines (25 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 6 classes

TestOneTableObject:: (0 methods):

TestOneTableObjectFailing:: (1 method):
  _onAfterSave()

TestOneTableObjectWithCustomDestroy:: (1 method):
  destroy()

TestOneTableObjectWithHooks:: (12 methods):
  _onValidate()
  _onBeforeUpdate()
  _onBeforeCreate()
  _onBeforeSave()
  _onAfterSave()
  _onSave()
  _onUpdate()
  _onCreate()
  _onAfterUpdate()
  _onAfterCreate()
  _onBeforeDestroy()
  _onAfterDestroy()

TestOneTableObjectWithSortParams:: (0 methods):

lmbActiveRecordTest:: (52 methods):
  setUp()
  tearDown()
  _cleanUp()
  testSaveNewRecord()
  testDontCreateNewRecordTwice()
  testIsNew()
  testDetach()
  testSaveUpdate()
  testProperOrderOfCreateHooksCalls()
  testProperOrderOfUpdateHooksCalls()
  testProperOrderOfDestroyHooksCalls()
  testFindById()
  testFindByIdThrowsExceptionIfNotFound()
  testFindByIdReturnsNullIfNotFound()
  testLoadById()
  testPassingIntToConstructorLoadsObject()
  tesFindFirst()
  tesFindFirstConvertStringToCriteria()
  tesFindFirstConvertObjectToCriteria()
  tesFindFirstConvertArrayToCriteria()
  testFindFirstWithSortParams()
  testFindFirstWithDefaultSortParams()
  testFindOneAlias()
  testFindAllRecordsNoCriteria()
  testFildAllRecordsWithCriteria()
  testFindAllNoCriteria()
  testFindAllWithCriteria()
  testFindConvertObjectToCriteria()
  testFindConvertStringToCriteria()
  testFindConvertArrayToCriteria()
  testFindWithIntegerCallsFindById()
  testFindWithIntegerDoesNotThrowException()
  testFindByThrowsExceptionIfMagicParamsIsNull()
  testFindAllWithSortParams()
  testFindAllWithDefaultSortParams()
  testFindBySql()
  testFindFirstBySql()
  testFindByIds()
  testFetchByIdsReturnEmptyIteratorIfNoIds()
  testGetDatasetActsAsStaticFind()
  testDelete()
  testDeleteCallsDestroy()
  testDeleteByCriteria()
  testDeleteRaw()
  testDeleteRawDoesntCallDestroy()
  testDeleteRawByCriteria()
  testUpdateRawAllWithArraySet()
  testUpdateRawAllWithRawValues()
  testUpdateRawWithCriteria()
  testGetTableName()
  _initActiveRecordWithData()
  _initActiveRecordWithDataAndSave()


Class: TestOneTableObject  - X-Ref

Class: TestOneTableObjectFailing  - X-Ref

_onAfterSave()   X-Ref
No description

Class: TestOneTableObjectWithCustomDestroy  - X-Ref

destroy()   X-Ref
No description

Class: TestOneTableObjectWithHooks  - X-Ref

_onValidate()   X-Ref
No description

_onBeforeUpdate()   X-Ref
No description

_onBeforeCreate()   X-Ref
No description

_onBeforeSave()   X-Ref
No description

_onAfterSave()   X-Ref
No description

_onSave()   X-Ref
No description

_onUpdate()   X-Ref
No description

_onCreate()   X-Ref
No description

_onAfterUpdate()   X-Ref
No description

_onAfterCreate()   X-Ref
No description

_onBeforeDestroy()   X-Ref
No description

_onAfterDestroy()   X-Ref
No description

Class: TestOneTableObjectWithSortParams  - X-Ref

Class: lmbActiveRecordTest  - X-Ref

setUp()   X-Ref
No description

tearDown()   X-Ref
No description

_cleanUp()   X-Ref
No description

testSaveNewRecord()   X-Ref
No description

testDontCreateNewRecordTwice()   X-Ref
No description

testIsNew()   X-Ref
No description

testDetach()   X-Ref
No description

testSaveUpdate()   X-Ref
No description

testProperOrderOfCreateHooksCalls()   X-Ref
No description

testProperOrderOfUpdateHooksCalls()   X-Ref
No description

testProperOrderOfDestroyHooksCalls()   X-Ref
No description

testFindById()   X-Ref
No description

testFindByIdThrowsExceptionIfNotFound()   X-Ref
No description

testFindByIdReturnsNullIfNotFound()   X-Ref
No description

testLoadById()   X-Ref
No description

testPassingIntToConstructorLoadsObject()   X-Ref
No description

tesFindFirst()   X-Ref
No description

tesFindFirstConvertStringToCriteria()   X-Ref
No description

tesFindFirstConvertObjectToCriteria()   X-Ref
No description

tesFindFirstConvertArrayToCriteria()   X-Ref
No description

testFindFirstWithSortParams()   X-Ref
No description

testFindFirstWithDefaultSortParams()   X-Ref
No description

testFindOneAlias()   X-Ref
No description

testFindAllRecordsNoCriteria()   X-Ref
No description

testFildAllRecordsWithCriteria()   X-Ref
No description

testFindAllNoCriteria()   X-Ref
No description

testFindAllWithCriteria()   X-Ref
No description

testFindConvertObjectToCriteria()   X-Ref
No description

testFindConvertStringToCriteria()   X-Ref
No description

testFindConvertArrayToCriteria()   X-Ref
No description

testFindWithIntegerCallsFindById()   X-Ref
No description

testFindWithIntegerDoesNotThrowException()   X-Ref
No description

testFindByThrowsExceptionIfMagicParamsIsNull()   X-Ref
No description

testFindAllWithSortParams()   X-Ref
No description

testFindAllWithDefaultSortParams()   X-Ref
No description

testFindBySql()   X-Ref
No description

testFindFirstBySql()   X-Ref
No description

testFindByIds()   X-Ref
No description

testFetchByIdsReturnEmptyIteratorIfNoIds()   X-Ref
No description

testGetDatasetActsAsStaticFind()   X-Ref
No description

testDelete()   X-Ref
No description

testDeleteCallsDestroy()   X-Ref
No description

testDeleteByCriteria()   X-Ref
No description

testDeleteRaw()   X-Ref
No description

testDeleteRawDoesntCallDestroy()   X-Ref
No description

testDeleteRawByCriteria()   X-Ref
No description

testUpdateRawAllWithArraySet()   X-Ref
No description

testUpdateRawAllWithRawValues()   X-Ref
No description

testUpdateRawWithCriteria()   X-Ref
No description

testGetTableName()   X-Ref
No description

_initActiveRecordWithData($object)   X-Ref
No description

_initActiveRecordWithDataAndSave($object)   X-Ref
No description



Generated: Mon Sep 8 04:35:41 2008 Cross-referenced by PHPXref 0.7