Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(196)

Side by Side Diff: third_party/WebKit/Source/platform/weborigin/KnownPortsTest.cpp

Issue 1859383002: Add more layout tests for DocumentWriteEvaluator (copied) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698