Skip to Main Content
Component- Oriented Development and Assembly
book

Component- Oriented Development and Assembly

by Piram Manickam, S. Sangeetha, S. V. Subrahmanya
December 2013
Intermediate to advanced content levelIntermediate to advanced
298 pages
7h 27m
English
Auerbach Publications
Content preview from Component- Oriented Development and Assembly
208
ComPonent-oriented develoPment and assemblY
As an example, consider the TableBiz component that was validated in the last
section. As already discussed, this component provides the ITableBiz interface.
In the verification of internal implementation, one needs to test all the operations
defined in the ITableBiz interface. For illustration purposes, we present the test-
ing technique for one of the operations defined in the ITableBiz interface: the
occupyTable() operation. is operation is implemented in the class TableBiz.
e code snippet of the implementation is given below:
pub lic void occupyTable(Table table, int noOfGuests, String
waiter)
throws Exception {
if (table = = null) {
thr ow new Exception("Cannot checkin -
Invalid Table"); ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Large-Scale, Component-Based Development

Large-Scale, Component-Based Development

Alan W. Brown

Publisher Resources

ISBN: 9781466580992