From 71de8837d26baf952954af2accfb1362e79a852b Mon Sep 17 00:00:00 2001 From: Scott Fennell Date: Thu, 4 Aug 2022 12:27:21 -0500 Subject: [PATCH] add MockExecutive.hh --- include/trick/IExecutive.hh | 2 +- trick_source/sim_services/Executive/test/MockExecutive.hh | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 trick_source/sim_services/Executive/test/MockExecutive.hh diff --git a/include/trick/IExecutive.hh b/include/trick/IExecutive.hh index 72cf3734..569bcb26 100644 --- a/include/trick/IExecutive.hh +++ b/include/trick/IExecutive.hh @@ -45,7 +45,7 @@ namespace Trick { class IExecutive : public Trick::Scheduler { public: /** gets #except_return */ - virtual int get_except_return() const; + virtual int get_except_return() const = 0; // protected: // /** Attempts to attach a debugger in the event a signal shuts down the simulation.\n */ diff --git a/trick_source/sim_services/Executive/test/MockExecutive.hh b/trick_source/sim_services/Executive/test/MockExecutive.hh new file mode 100644 index 00000000..84f76081 --- /dev/null +++ b/trick_source/sim_services/Executive/test/MockExecutive.hh @@ -0,0 +1,5 @@ + +class MockExecutive: public IExecutive { + + +}; \ No newline at end of file