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

Side by Side Diff: native_client_sdk/src/libraries/nacl_io_test/path_test.cc

Issue 19673003: [NaCl SDK] Consistent use of copyright header. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 | Annotate | Revision Log
OLDNEW
1 /* Copyright (c) 2012 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 */
5 4
6 #include <fcntl.h> 5 #include <fcntl.h>
7 #include "nacl_io/kernel_proxy.h" 6 #include "nacl_io/kernel_proxy.h"
8 #include "nacl_io/path.h" 7 #include "nacl_io/path.h"
9 8
10 #include "gtest/gtest.h" 9 #include "gtest/gtest.h"
11 10
12 using namespace nacl_io; 11 using namespace nacl_io;
13 12
14 TEST(PathTest, SanityChecks) { 13 TEST(PathTest, SanityChecks) {
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 EXPECT_EQ("/an/absolute/path", p.Range(0, 4)); 251 EXPECT_EQ("/an/absolute/path", p.Range(0, 4));
253 EXPECT_EQ("an/absolute/path", p.Range(1, 4)); 252 EXPECT_EQ("an/absolute/path", p.Range(1, 4));
254 EXPECT_EQ("absolute/path", p.Range(2, 4)); 253 EXPECT_EQ("absolute/path", p.Range(2, 4));
255 EXPECT_EQ("path", p.Range(3, 4)); 254 EXPECT_EQ("path", p.Range(3, 4));
256 255
257 EXPECT_EQ("/an/absolute", p.Range(0, 3)); 256 EXPECT_EQ("/an/absolute", p.Range(0, 3));
258 EXPECT_EQ("an/absolute", p.Range(1, 3)); 257 EXPECT_EQ("an/absolute", p.Range(1, 3));
259 EXPECT_EQ("absolute", p.Range(2, 3)); 258 EXPECT_EQ("absolute", p.Range(2, 3));
260 } 259 }
261 260
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698