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
213
testing ComPonent-oriented soFtware
At the end of these sequences of operations, we expect to get 20 as a return value
from the getNoOfTables() operation. To perform this test, we use a test driver
component similar to those used in the last two sections. e test driver component’s
activate() method calls on the test case implementation methods. e test case
implementation code for the current test case is presented below:
private void testCase1() {
System.out.println("\n— — — — — — — — — — -");
System.out.println("Executing Test Case 1");
try {
System.out.println("Calling reconfigureTables(20)");
tableBiz.reconfigureTables(20);
Sys tem.out.println("Calling getNoOfTables() and it
returned " +
tableBiz.getNoOfTables()); ...
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