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

Side by Side Diff: media/test/data/eme_player_js/file_io_test_player.js

Issue 408993002: Have media content and chrome browser tests load data from media/test/data (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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
« no previous file with comments | « media/test/data/eme_player_js/eme_app.js ('k') | media/test/data/eme_player_js/fps_observer.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 // File IO test player is used to test File IO CDM functionality. 5 // File IO test player is used to test File IO CDM functionality.
6 function FileIOTestPlayer(video, testConfig) { 6 function FileIOTestPlayer(video, testConfig) {
7 this.video = video; 7 this.video = video;
8 this.testConfig = testConfig; 8 this.testConfig = testConfig;
9 } 9 }
10 10
(...skipping 14 matching lines...) Expand all
25 } 25 }
26 var result_index = FILE_IO_TEST_RESULT_HEADER.length; 26 var result_index = FILE_IO_TEST_RESULT_HEADER.length;
27 var success = String.fromCharCode(message.message[result_index]) == 1; 27 var success = String.fromCharCode(message.message[result_index]) == 1;
28 Utils.timeLog('CDM file IO test: ' + (success ? 'Success' : 'Fail')); 28 Utils.timeLog('CDM file IO test: ' + (success ? 'Success' : 'Fail'));
29 if (success) 29 if (success)
30 Utils.setResultInTitle(FILE_IO_TEST_SUCCESS); 30 Utils.setResultInTitle(FILE_IO_TEST_SUCCESS);
31 else 31 else
32 Utils.failTest('File IO CDM message fail status.'); 32 Utils.failTest('File IO CDM message fail status.');
33 } 33 }
34 }; 34 };
OLDNEW
« no previous file with comments | « media/test/data/eme_player_js/eme_app.js ('k') | media/test/data/eme_player_js/fps_observer.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698