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

Unified Diff: chrome/test/data/extensions/api_test/offers/component_extension/test.js

Issue 10086011: [Chrome OS ECHO]: Rename API and method names (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: address tbarzic's comments Created 8 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/data/extensions/api_test/offers/component_extension/manifest.json ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/extensions/api_test/offers/component_extension/test.js
diff --git a/chrome/test/data/extensions/api_test/offers/component_extension/test.js b/chrome/test/data/extensions/api_test/offers/component_extension/test.js
deleted file mode 100644
index 2eb4102a6f172e908d9f456629a5af4ab931fd0c..0000000000000000000000000000000000000000
--- a/chrome/test/data/extensions/api_test/offers/component_extension/test.js
+++ /dev/null
@@ -1,23 +0,0 @@
-// Copyright (c) 2012 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.
-
-chrome.test.runTests([
- function getCouponCodeTest() {
- var expected_code = "";
- // TODO(gauravsh): Mock out StatisticsProvider to make getCouponCode()
- // return a well known value for brower_tests.
- chrome.offersPrivate.getCouponCode("COUPON_CODE",
- chrome.test.callbackPass(function(result) {
- chrome.test.assertTrue(result == expected_code);
- }));
- chrome.offersPrivate.getCouponCode("GROUP_CODE",
- chrome.test.callbackPass(function(result) {
- chrome.test.assertTrue(result == expected_code);
- }));
- chrome.offersPrivate.getCouponCode("INVALID_CODE",
- chrome.test.callbackPass(function(result) {
- chrome.test.assertTrue(result == "");
- }));
- }
-]);
« no previous file with comments | « chrome/test/data/extensions/api_test/offers/component_extension/manifest.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698