40 type(model_state_type) :: current_state
41 type(list_type) :: component_descriptions
42 type(map_type) :: registered_components
44 registered_components = get_all_registered_components()
45 call assert_equals(0,c_size(registered_components),
"Test there are not components in the registry")
47 call add_component(component_descriptions, fftsolver_get_descriptor())
48 call fill_registry_with_components(current_state%options_database, component_descriptions)
50 registered_components = get_all_registered_components()
51 call assert_equals(1,c_size(registered_components),
"Test there is only 1 component in the registry")