| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 #include "platform/weborigin/KnownPorts.h" | 5 #include "platform/weborigin/KnownPorts.h" |
| 6 | 6 |
| 7 #include "testing/gtest/include/gtest/gtest.h" | 7 #include "testing/gtest/include/gtest/gtest.h" |
| 8 | 8 |
| 9 namespace blink { | 9 namespace blink { |
| 10 | 10 |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 { 0, "foo"}, | 59 { 0, "foo"}, |
| 60 { 0, "http:"}, | 60 { 0, "http:"}, |
| 61 { 0, "HTTP"}, | 61 { 0, "HTTP"}, |
| 62 { 0, "Https"}, | 62 { 0, "Https"}, |
| 63 }; | 63 }; |
| 64 | 64 |
| 65 for (const TestCase& test : inputs) | 65 for (const TestCase& test : inputs) |
| 66 EXPECT_EQ(test.port, defaultPortForProtocol(test.protocol)); | 66 EXPECT_EQ(test.port, defaultPortForProtocol(test.protocol)); |
| 67 } | 67 } |
| 68 | 68 |
| 69 | |
| 70 } // namespace blink | 69 } // namespace blink |
| OLD | NEW |