Task #2623

Clean up Data Mapper test case

Added by Robert Lemke over 6 years ago. Updated about 4 years ago.

Status:Resolved Start date:2009-02-12
Priority:Should have Due date:
Assigned To:Karsten Dambekalns % Done:

0%

Category:FLOW3 Persistence
Target version:-
Sprint:

Description

The tests in the data mapper cover too many methods at once - basically it's functional tests for the whole class (and some others) by calling the map() method.

Please split up the tests so they only focus on one method at once and mock the others (ie. work with a mocked DataMapper in the first place).

see thawPropertiesSetsPropertyValues()

Associated revisions

Revision 69d850aa
Added by Robert Lemke over 6 years ago

  • FLOW3: (Object) In the Object Builder renamed createSkeleton() to createEmptyObject and all *SetterProperties() method to *Propertiers().
  • FLOW3: (Object) Moved the thawProperties() method to the TYPO3CR package
  • TYPO3CR: Cleaned up (a bit) the Data Mapper test case. Needs more work! Refs #2623

History

#1 Updated by Karsten Dambekalns over 6 years ago

  • Status changed from New to Resolved

Fixed as of r1972...

#2 Updated by Robert Lemke about 4 years ago

  • Target version deleted (197)

Also available in: Atom PDF