Advanced stubs

Component Testing for C

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 C

Native Code in Stubs

Specifying items that are not to be tested

Excluding a Parameter from a Stub

Stubbing functions that take arrays in _inout mode

Simulating Functions with _inout Mode Arrays

Stubbing functions that use type modifiers

Simulating Functions with Type Modifiers

Stubbing functions for which the number of parameters may vary

Simulating Functions with Varying Parameters

Stubbing functions that use const parameters

Simulating Functions with const Parameters

Stubbing functions that use void* parameters

Simulating Functions with void* Parameters

Stubbing functions that use char* parameters

Simulating Functions with char* Parameters