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

Unified Diff: chrome/test/data/extensions/api_test/cast_streaming/bad_logging.js

Issue 374553002: VAVEA: Turn VAAPI encoder flag into a kill switch. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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
Index: chrome/test/data/extensions/api_test/cast_streaming/bad_logging.js
diff --git a/chrome/test/data/extensions/api_test/cast_streaming/bad_logging.js b/chrome/test/data/extensions/api_test/cast_streaming/bad_logging.js
index a7862b2bfcd0fd3640ce3af1e4033c8cd9f00862..632df0d1a9278d605633c464e74e22b800b6ec78 100644
--- a/chrome/test/data/extensions/api_test/cast_streaming/bad_logging.js
+++ b/chrome/test/data/extensions/api_test/cast_streaming/bad_logging.js
@@ -29,8 +29,8 @@ chrome.test.runTests([
var expectEmptyLogs = function(rawEvents) {
chrome.test.assertEq(0, rawEvents.byteLength);
}
- chrome.test.assertEq(audioParams.payload.codecName, "OPUS");
- chrome.test.assertEq(videoParams.payload.codecName, "VP8");
+ chrome.test.assertTrue(!!audioParams.payload.codecName);
+ chrome.test.assertTrue(!!videoParams.payload.codecName);
udpTransport.setDestination(udpId,
{address: "127.0.0.1", port: 2344});
rtpStream.onStarted.addListener(
@@ -55,8 +55,8 @@ chrome.test.runTests([
rtpStream.destroy(audioId);
rtpStream.destroy(videoId);
udpTransport.destroy(udpId);
- chrome.test.assertEq(audioParams.payload.codecName, "OPUS");
- chrome.test.assertEq(videoParams.payload.codecName, "VP8");
+ chrome.test.assertTrue(!!audioParams.payload.codecName);
+ chrome.test.assertTrue(!!videoParams.payload.codecName);
chrome.test.succeed();
}.bind(null, stream, audioId, videoId, udpId));
rtpStream.start(audioId, audioParams);
« no previous file with comments | « chrome/browser/chromeos/login/chrome_restart_request.cc ('k') | chrome/test/data/extensions/api_test/cast_streaming/basics.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698