| 339 | public: |
| 340 | |
| 341 | TestController() |
| 342 | : log(LogTestController::getInstance()) { |
| 343 | core::FlowConfiguration::initialize_static_functions(); |
| 344 | minifi::setDefaultDirectory("./"); |
| 345 | log.reset(); |
| 346 | utils::IdGenerator::getIdGenerator()->initialize(std::make_shared<minifi::Properties>()); |
| 347 | flow_version_ = std::make_shared<minifi::state::response::FlowVersion>("test", "test", "test"); |
| 348 | } |
| 349 | |
| 350 | std::shared_ptr<TestPlan> createPlan(std::shared_ptr<minifi::Configure> configuration = nullptr, const char* state_dir = nullptr) { |
| 351 | if (configuration == nullptr) { |
nothing calls this directly
no test coverage detected