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

Side by Side Diff: mojo/services/files/public/c/tests/real_errno_impl_unittest.cc

Issue 1388413005: Move //mojo/services/X/public/... to //mojo/services/X/... (part 1). (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 2 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "files/public/c/lib/real_errno_impl.h"
6
7 #include <errno.h>
8
9 #include "testing/gtest/include/gtest/gtest.h"
10
11 namespace mojio {
12 namespace {
13
14 TEST(RealErrnoImplTest, GetSet) {
15 RealErrnoImpl errno_impl;
16
17 errno = 123;
18 EXPECT_EQ(123, errno_impl.Get());
19
20 errno_impl.Set(456);
21 EXPECT_EQ(456, errno);
22 }
23
24 } // namespace
25 } // namespace mojio
OLDNEW
« no previous file with comments | « mojo/services/files/public/c/tests/mojio_unistd_unittest.cc ('k') | mojo/services/files/public/c/tests/test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698