Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.
Source Code
subroutine test_add_primary_spec()type(StateRegistry),target::rtype(VirtualConnectionPt)::xinteger::statustype(ExtensionFamily),pointer::familytype(StateItemExtension),pointer::primaryclass(StateItemSpec),pointer::specr=StateRegistry('A')x=VirtualConnectionPt(state_intent='import',short_name='x')call r%add_primary_spec(x,MockItemSpec('x'),_RC)@assert_that(r%num_owned_items(),is(1))family=>r%get_extension_family(x,_RC)primary=>family%get_primary()@assert_that(associated(primary),is(true()))spec=>primary%get_spec()select type(spec)type is(MockItemSpec)@assert_that(spec%name,is('x'))class default@assert_that(1,is(0))end select end subroutine test_add_primary_spec