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

Unified Diff: chrome/test/functional/media/media_track.py

Issue 9666032: Cleanup deprecated PyAuto media tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update year. Created 8 years, 9 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/functional/media/media_test_runner.py ('k') | chrome/test/functional/media/pyauto_media.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/functional/media/media_track.py
diff --git a/chrome/test/functional/media/media_track.py b/chrome/test/functional/media/media_track.py
deleted file mode 100755
index 59ec3f88cca4646cef4b11929becadfc303033ba..0000000000000000000000000000000000000000
--- a/chrome/test/functional/media/media_track.py
+++ /dev/null
@@ -1,54 +0,0 @@
-#!/usr/bin/env python
-# Copyright (c) 2011 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.
-
-"""Simple test for HTML5 media tag to test track (caption) functionality.
-
-This PyAuto powered script plays media (video or audio) files using the HTML5
-tag embedded in an HTML file (specified in the GetPlayerHTMLFileName() method)
-and tests track (caption) fuctionality. The parameters needed to run this test
-are passed in the form of environment variables (such as the number of runs).
-media_perf_runner.py is used for generating these variables
-(PyAuto does not support direct parameters).
-"""
-import os
-import time
-
-from media_test_base import MediaTestBase
-from media_test_env_names import MediaTestEnvNames
-import pyauto_media
-from ui_perf_test_utils import UIPerfTestUtils
-
-
-class MediaPlaybackTimeTest(MediaTestBase):
- """Test class to record playback time."""
-
- def testHTML5MediaTag(self):
- """Test the HTML5 media tag."""
- MediaTestBase.ExecuteTest(self)
-
- def PostAllRunsProcess(self):
- """A method to execute after all runs.
-
- This is an overridden method. Currently, noop.
- """
- pass
-
- def PostEachRunProcess(self, unused_run_counter):
- """A method to execute after each run.
-
- This is an overridden method. Currently noop.
-
- Args:
- unused_run_counter: counter for each run.
- """
- pass
-
- def GetPlayerHTMLFileName(self):
- """A method to get the player HTML file name."""
- return 'media_track.html'
-
-
-if __name__ == '__main__':
- pyauto_media.Main()
« no previous file with comments | « chrome/test/functional/media/media_test_runner.py ('k') | chrome/test/functional/media/pyauto_media.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698