Lines Matching defs:interface

122 /// Mapping of interface names to interface definitions.
123 typedef std::map< std::string, std::shared_ptr< scheduler::interface > >
127 /// Mapping of interface names to interface definitions.
201 /// Test program-specific execution interface.
202 const std::shared_ptr< scheduler::interface > interface;
238 /// \param interface_ Test program-specific execution interface.
242 const std::shared_ptr< scheduler::interface > interface_,
246 interface(interface_), user_config(user_config_), pid(pid_)
337 /// want the interface hooks to receive a test_program as their argument.
369 std::shared_ptr< scheduler::interface > _interface;
380 /// \param interface Interface of the test program to execute.
384 const std::shared_ptr< scheduler::interface > interface,
387 _interface(interface),
407 std::shared_ptr< scheduler::interface > _interface;
463 /// \param interface Interface of the test program to execute.
468 const std::shared_ptr< scheduler::interface > interface,
472 _interface(interface),
504 std::shared_ptr< scheduler::interface > _interface;
518 /// \param interface Interface of the test program to execute.
523 const std::shared_ptr< scheduler::interface > interface,
527 _interface(interface),
583 /// Obtains the right scheduler interface for a given test program.
585 /// \param name The name of the interface of the test program.
587 /// \return An scheduler interface.
588 std::shared_ptr< scheduler::interface >
601 scheduler::interface::exec_cleanup(
609 UNREACHABLE_MSG("exec_cleanup not implemented for an interface that "
642 /// \param interface_name_ Name of the test program interface.
1045 const std::shared_ptr< scheduler::interface > interface =
1052 run_test_cleanup(interface, test_program, test_case_name,
1160 /// Checks if the given interface name is valid.
1162 /// \param name The name of the interface to validate.
1164 /// \throw engine::error If the given interface is not supported.
1169 throw engine::error(F("Unsupported test interface '%s'") % name);
1173 /// Registers a new interface.
1175 /// \param name The name of the interface. Must not have yet been registered.
1179 const std::shared_ptr< interface > spec)
1188 /// \return A collection of interface names.
1234 const std::shared_ptr< scheduler::interface > interface = find_interface(
1239 list_test_cases(interface, test_program, user_config),
1243 const model::test_cases_map test_cases = interface->parse_list(
1289 const std::shared_ptr< scheduler::interface > interface = find_interface(
1304 run_test_program(interface, test_program, test_case_name,
1310 test_program, test_case_name, interface, user_config, handle.pid()));
1386 result = test_data->interface->compute_result(
1568 // or sockets. We need a better interface for this whole thing.
1630 // TODO(jmmv): This is a hack that exists for the ATF interface only, so it