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

Side by Side Diff: chrome/browser/resources/chromeos/chromevox/common/spannable_test.unitjs

Issue 541403002: Rename ChromeVox tests and utilities for consistency. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkcr
Patch Set: Clarify comment in .gypi file. Created 6 years, 3 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Include test fixture. 5 // Include test fixture.
6 GEN_INCLUDE(['../testing/chromevox_unittest_base.js']); 6 GEN_INCLUDE(['../testing/chromevox_unittest_base.js']);
7 7
8 UnserializableSpan = function() {}; 8 UnserializableSpan = function() {};
9 9
10 StatelessSerializableSpan = function() {}; 10 StatelessSerializableSpan = function() {};
(...skipping 461 matching lines...) Expand 10 before | Expand all | Expand 10 after
472 assertUndefined(thawn.getSpanInstanceOf(UnserializableSpan)); 472 assertUndefined(thawn.getSpanInstanceOf(UnserializableSpan));
473 assertThat( 473 assertThat(
474 fresh.getSpanStart(freshStatelessSerializable), 474 fresh.getSpanStart(freshStatelessSerializable),
475 eqJSON(thawn.getSpanStart(thawnStatelessSerializable))); 475 eqJSON(thawn.getSpanStart(thawnStatelessSerializable)));
476 assertThat( 476 assertThat(
477 fresh.getSpanEnd(freshStatelessSerializable), 477 fresh.getSpanEnd(freshStatelessSerializable),
478 eqJSON(thawn.getSpanEnd(thawnStatelessSerializable))); 478 eqJSON(thawn.getSpanEnd(thawnStatelessSerializable)));
479 assertThat(freshNonStatelessSerializable, 479 assertThat(freshNonStatelessSerializable,
480 eqJSON(thawnNonStatelessSerializable)); 480 eqJSON(thawnNonStatelessSerializable));
481 }); 481 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698