ObjectOriented Implementation and Integration Phases - PowerPoint PPT Presentation

1 / 7
About This Presentation
Title:

ObjectOriented Implementation and Integration Phases

Description:

Previous discussion on the following issues relating to structured design ... of client objects that use new or redefined methods of a subclass must be tseted. ... – PowerPoint PPT presentation

Number of Views:18
Avg rating:3.0/5.0
Slides: 8
Provided by: wilhelmin
Category:

less

Transcript and Presenter's Notes

Title: ObjectOriented Implementation and Integration Phases


1
Object-OrientedImplementation and Integration
Phases
  • Chapter 14, Section 12
  • Chapter 15, Section 14

2
Implementation Issues
  • Previous discussion on the following issues
    relating to structured design implementation is
    equally applicable to OO implementation
  • Choice of programming language
  • Good programming practices
  • Coding standard
  • Module reuse
  • Module test case selection and testing techniques

3
Testing IssuesSpecific to Objects (1)
  • How do you test a class and its objects
    (instantiations of the class)?
  • Class abstract use non-execution based testing
  • Objects executing code use execution-based
    testing

4
Testing IssuesSpecific to Objects (2)
  • How do you test private data members of a class?
  • Need to send multiple messages to an object to
    test private data members
  • When certain actions are missing and these
    actions are needed to test private data members,
    define the actions but use
  • ifdef Debug
  • ltsome actiongt
  • endif
  • so that these actions are accessible only when
    debugging

5
Testing IssuesSpecific to Objects (3)
  • How do you test for inherited methods?
  • Any new or redefined methods of a subclass must
    be tested
  • Any method of client objects that use new or
    redefined methods of a subclass must be tseted.

6
Implementation and Integration of Objects (1)
  • How do you identify logic and operation modules
    in a OO design?
  • Hybrid OO language (C)
  • Objects corresponds to the operation modules
  • Non-object modules corresponds to the logic
    modules
  • Pure OO language (Java)
  • Objects corresponds to the operation modules
  • Class methods (static methods) corresponds to
    logic modules

7
Implementation and Integration of Objects (2)
  • Once logic and operational modules have been
    identified, implementation can proceed using
    top-down, bottom-up and sandwich implementation
    and integration techniques as previously
    discussed.
Write a Comment
User Comments (0)
About PowerShow.com