| 768 | |
| 769 | struct ProcessorRunTest : public ::testing::Test { |
| 770 | virtual void SetUp() override { |
| 771 | { |
| 772 | auto& vertex = builder.add_vertex([] { |
| 773 | return ::std::unique_ptr<GraphProcessor>(new HookedProcessor); |
| 774 | }); |
| 775 | vertex.option(&control); |
| 776 | vertex.named_emit("x").to("A"); |
| 777 | } |
| 778 | executor.initialize(4, 128); |
| 779 | builder.set_executor(executor); |
| 780 | builder.finish(); |
| 781 | graph = builder.build(); |
| 782 | a = graph->find_data("A"); |
| 783 | p = control.processor; |
| 784 | } |
| 785 | |
| 786 | ThreadPoolGraphExecutor executor; |
| 787 | GraphBuilder builder; |
nothing calls this directly
no test coverage detected