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

Side by Side Diff: mojo/public/cpp/bindings/tests/string_unittest.cc

Issue 1410053006: Move third_party/mojo/src/mojo/public to mojo/public (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 5 years, 1 month 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "mojo/public/cpp/bindings/string.h"
5 #include "testing/gtest/include/gtest/gtest.h" 6 #include "testing/gtest/include/gtest/gtest.h"
6 #include "third_party/mojo/src/mojo/public/cpp/bindings/string.h"
7 7
8 namespace mojo { 8 namespace mojo {
9 namespace test { 9 namespace test {
10 10
11 TEST(StringTest, DefaultIsNull) { 11 TEST(StringTest, DefaultIsNull) {
12 String s; 12 String s;
13 EXPECT_TRUE(s.is_null()); 13 EXPECT_TRUE(s.is_null());
14 } 14 }
15 15
16 TEST(StringTest, ConstructedWithNULL) { 16 TEST(StringTest, ConstructedWithNULL) {
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 EXPECT_FALSE(null < null2); 84 EXPECT_FALSE(null < null2);
85 EXPECT_FALSE(null2 < null); 85 EXPECT_FALSE(null2 < null);
86 86
87 String real("real"); 87 String real("real");
88 EXPECT_TRUE(null < real); 88 EXPECT_TRUE(null < real);
89 EXPECT_FALSE(real < null); 89 EXPECT_FALSE(real < null);
90 } 90 }
91 91
92 } // namespace test 92 } // namespace test
93 } // namespace mojo 93 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/public/cpp/bindings/tests/serialization_warning_unittest.cc ('k') | mojo/public/cpp/bindings/tests/struct_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698