| # Copyright (c) 2012 The Chromium OS Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| AUTHOR = "Chrome OS Team" |
| NAME = "realtimecomm_GTalkPlayground with performance constraints" |
| PURPOSE = "Verify that Google Talk Plugin executes." |
| CRITERIA = """ |
| This test will fail if one of the conditions occurs: |
| - the runtime is less than 5 minutes |
| - the number of video streams is not 2 |
| - the video framerate is less than 5 fps |
| """ |
| TIME = "MEDIUM" |
| TEST_CATEGORY = "GTalk" |
| TEST_CLASS = "realtimecomm" |
| TEST_TYPE = "client" |
| |
| DOC = """ |
| This test depends upon the Chrome browser, and will also gather cpu usage |
| data during the test. The test will execute GTalk for 5 minutes, and capture |
| framerate data during this time. A very low framerate indicates a likely |
| hang or crash. |
| """ |
| |
| job.run_test('realtimecomm_GTalkPlayground', |
| constraints=[ |
| 'fps_gtalk_down >= 20.0', |
| 'fps_gtalk_up >= 20.0', |
| ]) |