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

Side by Side Diff: chrome/test/data/extensions/api_test/i18n/test.js

Issue 8758008: Move another block of extension tests to manifest_version 2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years 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) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
1 // i18n api test 5 // i18n api test
2 // browser_tests.exe --gtest_filter=ExtensionApiTest.I18N --lib=browser_tests 6 // browser_tests.exe --gtest_filter=ExtensionApiTest.I18N --lib=browser_tests
3 7
4 var testCallback = chrome.test.testCallback; 8 var testCallback = chrome.test.testCallback;
5 var callbackPass = chrome.test.callbackPass; 9 var callbackPass = chrome.test.callbackPass;
6 10
7 chrome.test.getConfig(function(config) { 11 chrome.test.getConfig(function(config) {
8 12
9 var TEST_FILE_URL = "http://localhost:PORT/files/extensions/test_file.html" 13 var TEST_FILE_URL = "http://localhost:PORT/files/extensions/test_file.html"
10 .replace(/PORT/, config.testServer.port); 14 .replace(/PORT/, config.testServer.port);
(...skipping 26 matching lines...) Expand all
37 } 41 }
38 ); 42 );
39 chrome.test.log("Creating tab..."); 43 chrome.test.log("Creating tab...");
40 chrome.tabs.create({ 44 chrome.tabs.create({
41 url: TEST_FILE_URL 45 url: TEST_FILE_URL
42 }); 46 });
43 chrome.test.succeed(); 47 chrome.test.succeed();
44 } 48 }
45 ]); 49 ]);
46 }); 50 });
OLDNEW
« no previous file with comments | « chrome/test/data/extensions/api_test/i18n/test.html ('k') | chrome/test/data/extensions/api_test/idle/manifest.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698