| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 "base/file_util.h" | 5 #include "base/file_util.h" |
| 6 #include "base/path_service.h" | 6 #include "base/path_service.h" |
| 7 #include "base/string_util.h" | 7 #include "base/string_util.h" |
| 8 #include "chrome/common/chrome_paths.h" | 8 #include "chrome/common/chrome_paths.h" |
| 9 #include "chrome/common/resource_bundle.h" | 9 #include "chrome/common/resource_bundle.h" |
| 10 #include "chrome/test/v8_unit_test.h" | 10 #include "chrome/test/v8_unit_test.h" |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 } | 60 } |
| 61 | 61 |
| 62 TEST_F(GreasemonkeyApiTest, GetResourceText) { | 62 TEST_F(GreasemonkeyApiTest, GetResourceText) { |
| 63 TestFunction("testGetResourceText"); | 63 TestFunction("testGetResourceText"); |
| 64 } | 64 } |
| 65 | 65 |
| 66 TEST_F(GreasemonkeyApiTest, AddStyle) { | 66 TEST_F(GreasemonkeyApiTest, AddStyle) { |
| 67 TestFunction("testAddStyle"); | 67 TestFunction("testAddStyle"); |
| 68 } | 68 } |
| 69 | 69 |
| 70 /* | |
| 71 TEST_F(GreasemonkeyApiTest, XmlhttpRequest) { | 70 TEST_F(GreasemonkeyApiTest, XmlhttpRequest) { |
| 72 TestFunction("testXmlhttpRequest"); | 71 TestFunction("testXmlhttpRequest"); |
| 73 } | 72 } |
| 74 */ | |
| 75 | 73 |
| 76 TEST_F(GreasemonkeyApiTest, RegisterMenuCommand) { | 74 TEST_F(GreasemonkeyApiTest, RegisterMenuCommand) { |
| 77 TestFunction("testRegisterMenuCommand"); | 75 TestFunction("testRegisterMenuCommand"); |
| 78 } | 76 } |
| 79 | 77 |
| 80 TEST_F(GreasemonkeyApiTest, OpenInTab) { | 78 TEST_F(GreasemonkeyApiTest, OpenInTab) { |
| 81 TestFunction("testOpenInTab"); | 79 TestFunction("testOpenInTab"); |
| 82 } | 80 } |
| 83 | 81 |
| 84 TEST_F(GreasemonkeyApiTest, Log) { | 82 TEST_F(GreasemonkeyApiTest, Log) { |
| 85 TestFunction("testLog"); | 83 TestFunction("testLog"); |
| 86 } | 84 } |
| 87 | 85 |
| 88 #endif // #if defined(OSWIN) | 86 #endif // #if defined(OSWIN) |
| 89 | 87 |
| OLD | NEW |