Task #2623

Clean up Data Mapper test case

Added by Robert Lemke almost 11 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Should have
Category:
FLOW3 Persistence
Target version:
-
Start date:
2009-02-12
Due date:
% Done:

0%

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 (diff)
Added by Robert Lemke almost 11 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 10 years ago

  • Status changed from New to Resolved

Fixed as of r1972...

#2 Updated by Robert Lemke over 8 years ago

  • Target version deleted (197)

Also available in: Atom PDF