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

Side by Side Diff: ppapi/native_client/tests/ppapi_browser/ppb_pdf/ppapi_ppb_pdf.js

Issue 7778046: Update Native Client Authors to be Chromium Authors for the code moved from the (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Native Client Authors. All rights reserved. 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 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 function setupTests(tester, plugin) { 5 function setupTests(tester, plugin) {
6 // This function takes an array of messages and asserts that the nexe 6 // This function takes an array of messages and asserts that the nexe
7 // calls PostMessage with each of these messages, in order. 7 // calls PostMessage with each of these messages, in order.
8 function expectMessages(test, plugin, messages) { 8 function expectMessages(test, plugin, messages) {
9 test.assert(messages.length > 0, 'Must provide at least one message'); 9 test.assert(messages.length > 0, 'Must provide at least one message');
10 var listener = test.wrap(function(message) { 10 var listener = test.wrap(function(message) {
11 plugin.removeEventListener('message', listener, false); 11 plugin.removeEventListener('message', listener, false);
(...skipping 25 matching lines...) Expand all
37 addTest('TestGetFontTableForPrivateFontFile'); 37 addTest('TestGetFontTableForPrivateFontFile');
38 addTest('TestSearchString'); 38 addTest('TestSearchString');
39 addTest('TestDidStartLoading'); 39 addTest('TestDidStartLoading');
40 addTest('TestDidStopLoading'); 40 addTest('TestDidStopLoading');
41 addTest('TestUserMetricsRecordAction'); 41 addTest('TestUserMetricsRecordAction');
42 addTest('TestSetContentRestriction'); 42 addTest('TestSetContentRestriction');
43 addTest('TestHistogramPDFPageCount'); 43 addTest('TestHistogramPDFPageCount');
44 addTest('TestHasUnsupportedFeature'); 44 addTest('TestHasUnsupportedFeature');
45 addTest('TestSaveAs'); 45 addTest('TestSaveAs');
46 } 46 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698