Skip to content

Commit

Permalink
Remove unused function from SST test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
dANW34V3R committed Jun 4, 2024
1 parent b09b0de commit 08376f1
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions sst/test/include/framework/runner.hh
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,6 @@ class Runner {
Runner() {}
/** Method used to run the test(s) inside a runner. */
virtual void run(){};
/**
* Returns the current executing TestContext.
* The TestContext for a Group changes everytime a new test is run
*/
// TODO commented out as seemingly unused and causing warnings due to return
// of a stack variable. This needs to be rewritten
// virtual std::unique_ptr<TestContext>& getCurrContext() {
// std::unique_ptr<TestContext> ptr = std::make_unique<TestContext>();
// return ptr;
// };
};

/** GroupConfig used to provide configuration options to a Group. */
Expand Down Expand Up @@ -180,10 +170,6 @@ class Group : public Runner {
return true;
};

// TODO remove this as implements broken function
/** Returns the TestContext of the current executing test case. */
std::unique_ptr<TestContext>& getCurrContext() { return ctx_; };

/**
* This method returns a reference of GroupConfig. This method gets overriden
* by TEST_GROUP Macro with the config defined in the source code.
Expand Down

0 comments on commit 08376f1

Please sign in to comment.