| OLD | NEW |
| 1 // Copyright 2014 The Chromium OS 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 "request.h" | 5 #include "request.h" |
| 6 | 6 |
| 7 #include <limits> | 7 #include <limits> |
| 8 #include <sstream> | 8 #include <sstream> |
| 9 | 9 |
| 10 #include "testing/gtest/gtest.h" | 10 #include "testing/gtest/gtest.h" |
| 11 | 11 |
| (...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 149 | 149 |
| 150 EXPECT_TRUE(error.Get(request::key::kFileSystemId).is_string()); | 150 EXPECT_TRUE(error.Get(request::key::kFileSystemId).is_string()); |
| 151 EXPECT_EQ(kFileSystemId, error.Get(request::key::kFileSystemId).AsString()); | 151 EXPECT_EQ(kFileSystemId, error.Get(request::key::kFileSystemId).AsString()); |
| 152 | 152 |
| 153 EXPECT_TRUE(error.Get(request::key::kRequestId).is_string()); | 153 EXPECT_TRUE(error.Get(request::key::kRequestId).is_string()); |
| 154 EXPECT_EQ(kRequestId, error.Get(request::key::kRequestId).AsString()); | 154 EXPECT_EQ(kRequestId, error.Get(request::key::kRequestId).AsString()); |
| 155 | 155 |
| 156 EXPECT_TRUE(error.Get(request::key::kError).is_string()); | 156 EXPECT_TRUE(error.Get(request::key::kError).is_string()); |
| 157 EXPECT_EQ(kError, error.Get(request::key::kError).AsString()); | 157 EXPECT_EQ(kError, error.Get(request::key::kError).AsString()); |
| 158 } | 158 } |
| OLD | NEW |