Advanced Stubs

Component Testing for Ada

This section covers some of the more complex notions when dealing with stub simulations in Component Testing for Ada.

 

To learn about

See

Writing complex stubs in Ada

Native Code in Stubs

Specifying items that are not to be tested

Excluding a Parameter from a Stub

Defining stubs of generic Ada units

Simulating Generic Units

Stubbing functions that take arrays in _inout mode

Simulating Functions with _inout Mode Arrays

Stubbing functions for which the number of parameters may vary

Simulating Functions with Varying Parameters

Defining a stub in a separate body

Separate Body Stub