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

Unified Diff: tracing/tracing/ui/base/tab_view_test.html

Issue 2158303003: [polymer] Delete tests about tab view subview restrictions (Closed) Base URL: git@github.com:catapult-project/catapult.git@polymer10-migration
Patch Set: Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/ui/base/tab_view_test.html
diff --git a/tracing/tracing/ui/base/tab_view_test.html b/tracing/tracing/ui/base/tab_view_test.html
index 90422044df740392d4e6d9155d210a0e7c048e52..ea7d408275a86d80cd5337ed7583223fee3e6b87 100644
--- a/tracing/tracing/ui/base/tab_view_test.html
+++ b/tracing/tracing/ui/base/tab_view_test.html
@@ -86,34 +86,6 @@ tr.b.unittest.testSuite(function() {
this.addHTMLOutput(tabView);
});
- test('addSubView_throwsWithNonHtmlElement', function() {
- var tabView = document.createElement('tr-ui-a-tab-view');
-
- assert.throws(function() {
- tabView.addSubView(1);
- }, 'Sub-view being added must be a registered Polymer element with the ' +
- 'sub-view behavior');
- });
-
- test('addSubView_throwsWithNonPolymerHtmlElement', function() {
- var tabView = document.createElement('tr-ui-a-tab-view');
-
- assert.throws(function() {
- tabView.addSubView(document.createElement('p'));
- }, 'Sub-view being added must be a registered Polymer element with the ' +
- 'sub-view behavior');
- });
-
- test('addSubView_throwsWithNonAnalysisViewPolymerElement', function() {
- var tabView = document.createElement('tr-ui-a-tab-view');
-
- assert.throws(function() {
- tabView.addSubView(
- document.createElement('tr-ui-b-tab-view-test-non-sub-view'));
- }, 'Sub-view being added must be a registered Polymer element with the ' +
- 'sub-view behavior');
- });
-
test('clearSubViews_selectedSubViewNullAfter', function() {
var tabView = document.createElement('tr-ui-a-tab-view');
tabView.label = '3 items selected.';
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698