Chromium Code Reviews| Index: net/http/http_auth_handler_factory_unittest.cc |
| diff --git a/net/http/http_auth_handler_factory_unittest.cc b/net/http/http_auth_handler_factory_unittest.cc |
| index 81c4af68c87ab41efba151bbd11cddb987444b38..bb3dbf970b2820021a51dd1b4cf1f64bf56f7248 100644 |
| --- a/net/http/http_auth_handler_factory_unittest.cc |
| +++ b/net/http/http_auth_handler_factory_unittest.cc |
| @@ -164,6 +164,7 @@ TEST(HttpAuthHandlerFactoryTest, DefaultFactory) { |
| EXPECT_TRUE(handler->encrypts_identity()); |
| EXPECT_TRUE(handler->is_connection_based()); |
| } |
| +#if defined(USE_KERBEROS) |
| { |
| scoped_ptr<HttpAuthHandler> handler; |
| int rv = http_auth_handler_factory->CreateAuthHandlerFromString( |
| @@ -180,6 +181,7 @@ TEST(HttpAuthHandlerFactoryTest, DefaultFactory) { |
| EXPECT_TRUE(handler->encrypts_identity()); |
| EXPECT_TRUE(handler->is_connection_based()); |
| } |
|
wtc
2011/08/12 17:21:51
Add a #else block here to perform a negative test.
Paweł Hajdan Jr.
2011/08/12 18:14:42
Done.
|
| +#endif // defined(USE_KERBEROS) |
| } |
| } // namespace net |