| Index: chrome/browser/google_apis/drive_api_util_unittest.cc
|
| diff --git a/chrome/browser/google_apis/drive_api_util_unittest.cc b/chrome/browser/google_apis/drive_api_util_unittest.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..0577c6c106496ebfc70c4e183895c41492be847b
|
| --- /dev/null
|
| +++ b/chrome/browser/google_apis/drive_api_util_unittest.cc
|
| @@ -0,0 +1,21 @@
|
| +// Copyright 2013 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "chrome/browser/google_apis/drive_api_util.h"
|
| +
|
| +#include "testing/gtest/include/gtest/gtest.h"
|
| +
|
| +namespace google_apis {
|
| +namespace drive {
|
| +namespace util {
|
| +
|
| +TEST(DriveApiUtilTest, EscapeQueryStringValue) {
|
| + EXPECT_EQ("abcde", EscapeQueryStringValue("abcde"));
|
| + EXPECT_EQ("\\'", EscapeQueryStringValue("'"));
|
| + EXPECT_EQ("\\'abcde\\'", EscapeQueryStringValue("'abcde'"));
|
| +}
|
| +
|
| +} // namespace util
|
| +} // namespace drive
|
| +} // namespace google_apis
|
|
|