Chromium Code Reviews

Unified Diff: tracing/tracing/ui/brushing_state_test.html

Issue 1429863004: Actually fix analysis link hovering (Closed) Base URL: https://github.com/catapult-project/catapult.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: tracing/tracing/ui/brushing_state_test.html
diff --git a/tracing/tracing/ui/brushing_state_test.html b/tracing/tracing/ui/brushing_state_test.html
index 564154ac75e305881b1ea6b822a2067f5a8ed0a2..d0480738bd7611a50edf82bb3cba4deb144dbad5 100644
--- a/tracing/tracing/ui/brushing_state_test.html
+++ b/tracing/tracing/ui/brushing_state_test.html
@@ -55,8 +55,8 @@ tr.b.unittest.testSuite(function() {
bs.analysisLinkHoveredEvents = new EventSet([m.sA, m.sB]);
bs.applyToModelSelectionState(m);
- assert.equal(m.sA.selectionState, SelectionState.SELECTED);
- assert.equal(m.sB.selectionState, SelectionState.HIGHLIGHTED);
+ assert.equal(m.sA.selectionState, SelectionState.BRIGHTENED1);
+ assert.equal(m.sB.selectionState, SelectionState.BRIGHTENED0);
bs.unapplyFromModelSelectionState();
assert.equal(m.sA.selectionState, SelectionState.NONE);
});
@@ -69,9 +69,9 @@ tr.b.unittest.testSuite(function() {
bs.findMatches = new EventSet([m.sA, m.sB]);
bs.applyToModelSelectionState(m);
- assert.equal(m.sA.selectionState, SelectionState.SELECTED);
- assert.equal(m.sB.selectionState, SelectionState.HIGHLIGHTED);
- assert.equal(m.sC.selectionState, SelectionState.DIMMED);
+ assert.equal(m.sA.selectionState, SelectionState.BRIGHTENED0);
+ assert.equal(m.sB.selectionState, SelectionState.DIMMED1);
+ assert.equal(m.sC.selectionState, SelectionState.DIMMED0);
bs.unapplyFromModelSelectionState();
assert.equal(m.sA.selectionState, SelectionState.NONE);
assert.equal(m.sB.selectionState, SelectionState.NONE);
« no previous file with comments | « tracing/tracing/ui/brushing_state.html ('k') | tracing/tracing/ui/extras/chrome/cc/layer_tree_quad_stack_view.html » ('j') | no next file with comments »

Powered by Google App Engine