| 326 | } |
| 327 | |
| 328 | void TestConfig::TestSchedulerConfig(const config::SchedulerConfig *scheduler_config) { |
| 329 | comm::proto::Addr expected_addr; |
| 330 | expected_addr.set_ip("127.0.0.1"); |
| 331 | expected_addr.set_port(6100); |
| 332 | expected_addr.set_paxos_port(0); |
| 333 | |
| 334 | // GetAllScheduler |
| 335 | { |
| 336 | shared_ptr<const config::proto::Scheduler> scheduler; |
| 337 | assert(comm::RetCode::RET_OK == scheduler_config->GetScheduler(scheduler)); |
| 338 | } |
| 339 | } |
| 340 | |
| 341 | |
| 342 | void TestConfig::TestLockConfig(const config::LockConfig *lock_config) { |
nothing calls this directly
no test coverage detected