| 28 | #endif |
| 29 | |
| 30 | TEST(lagi_path, invalid_token_name_throws_internal_error) { |
| 31 | Path p; |
| 32 | |
| 33 | // These are InternalError because the tokens are currently always hardcoded |
| 34 | EXPECT_THROW(p.SetToken("no ?", "path"), agi::InternalError); |
| 35 | EXPECT_THROW(p.SetToken("?bad", "path"), agi::InternalError); |
| 36 | } |
| 37 | |
| 38 | TEST(lagi_path, relative_path_clears_token) { |
| 39 | Path p; |
nothing calls this directly
no test coverage detected