OLD | NEW |
1 // Copyright (c) 2006-2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Single threaded tests of RendererNetPredictor functionality. | 5 // Single threaded tests of RendererNetPredictor functionality. |
6 | 6 |
7 #include "chrome/renderer/net/renderer_net_predictor.h" | 7 #include "chrome/renderer/net/renderer_net_predictor.h" |
8 #include "testing/gtest/include/gtest/gtest.h" | 8 #include "testing/gtest/include/gtest/gtest.h" |
9 | 9 |
10 #include <algorithm> | 10 #include <algorithm> |
11 | 11 |
(...skipping 15 matching lines...) Expand all Loading... |
27 EXPECT_TRUE(TESTNAME(N2)); | 27 EXPECT_TRUE(TESTNAME(N2)); |
28 | 28 |
29 EXPECT_FALSE(TESTNAME(A)); | 29 EXPECT_FALSE(TESTNAME(A)); |
30 EXPECT_FALSE(TESTNAME(B)); | 30 EXPECT_FALSE(TESTNAME(B)); |
31 EXPECT_FALSE(TESTNAME(C)); | 31 EXPECT_FALSE(TESTNAME(C)); |
32 | 32 |
33 #undef TESTNAME | 33 #undef TESTNAME |
34 } | 34 } |
35 | 35 |
36 } // namespace anonymous | 36 } // namespace anonymous |
OLD | NEW |