ThesaHelp: references e-f
Topic: object-oriented fields
Topic: state
Topic: object-oriented classes
Topic: inheritance of properties
Topic: consistency testing
Group: testing
| |
Reference
Edwards, S.H.,
"Representation inheritance: a safe form of "white box" code inheritance",
IEEE Transactions on Software engineering , 23, 2, pp. 83-92, February 1997.
Google
Quotations
84 ;;Quote: an object's methods interact indirectly through its state variables
| 84+;;Quote: a class' representation invariant captures its assumptions about what state variables mean and how they can change
| 84 ;;Quote: a class' abstraction relation gives the correspondence between its internal state and its intended conceptual value; e.g., does a stack grow up or down
| 84 ;;Quote: representation inheritance is white-box inheritance that conforms to representation invariants and abstraction relations
| 86 ;;Quote: use representation inheritance for efficient implementation of new operations; e.g., swap the tails of two lists without cross links or missed elements
| 89 ;;Quote: every class should include a method to test its representation invariant; use to test and stress test representation inheritance
| 90 ;;Quote: with white box inheritance, need to retest all inherited methods and all superclasses
| 90+;;Quote: with representation inheritance, do not need to retest the superclass; as long as its representation invariant and abstraction relation are correctly maintained
|
Related Topics
ThesaHelp: references e-f (168 items)
Topic: object-oriented fields (28 items)
Topic: state (35 items)
Topic: object-oriented classes (67 items)
Topic: inheritance of properties (24 items)
Topic: consistency testing (60 items)
Group: testing (18 topics, 557 quotes)
|