| 64 | } |
| 65 | |
| 66 | virtual void TearDown() { |
| 67 | pool_.Clear(); |
| 68 | tracker_->Close(); |
| 69 | tracker_.reset(); |
| 70 | test_env_.reset(); |
| 71 | runtime_state_ = nullptr; |
| 72 | } |
| 73 | |
| 74 | /// Helper to get frontend from 'test_env_'. |
| 75 | Frontend* frontend() const { return test_env_->exec_env()->frontend(); } |