OLD | NEW |
---|---|
(Empty) | |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | |
2 # Use of this source code is governed by a BSD-style license that can be | |
3 # found in the LICENSE file. | |
4 | |
5 from telemetry.core import exceptions | |
6 from telemetry import decorators | |
7 from telemetry.testing import tab_test_case | |
8 | |
9 class TabStackTraceTest(tab_test_case.TabTestCase): | |
10 | |
11 # Currently stack traces do not work on windows: http://crbug.com/476110 | |
12 # Linux stack traces depends on fission support: http://crbug.com/405623 | |
13 @decorators.Enabled('mac') | |
nednguyen
2015/12/17 02:26:54
Add: @decorators.Isolated so that this test is not
David Yen
2015/12/21 17:47:50
Hmm, I've added this now but that's a little bit w
| |
14 def testCrashSymbols(self): | |
15 try: | |
nednguyen
2015/12/17 02:26:54
Maybe you need to clear out/Release/Chromium.app/C
David Yen
2015/12/21 17:47:50
That file is part of the executable so that should
| |
16 self._tab.Navigate('chrome://crash', timeout=5) | |
17 except exceptions.DevtoolsTargetCrashException as e: | |
18 self.assertTrue('CrashIntentionally' in '\n'.join(e.stack_trace)) | |
nednguyen
2015/12/17 01:52:45
self.assertIn('CrashIntentionally', '\n'.join(e.st
David Yen
2015/12/21 17:47:50
Done.
| |
OLD | NEW |