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

Unified Diff: tests/html/element_test.dart

Issue 20419002: Disable offset test until it is reproducible across machines. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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: tests/html/element_test.dart
diff --git a/tests/html/element_test.dart b/tests/html/element_test.dart
index a26d7c73cccad589eda42b769468cda7d399c92a..c360c8fb48b1f1fd85437a176ea9ba962e46409b 100644
--- a/tests/html/element_test.dart
+++ b/tests/html/element_test.dart
@@ -797,7 +797,8 @@ main() {
var quux = query('.quux');
var point = itema.offsetTo(itemii);
- expect(point.x, 40);
+ // TODO(efortuna): Make cross-machine reproducible.
+ /*expect(point.x, 40);
expect(point.y, inInclusiveRange(17, 20));
expect(baz.offsetTo(bar).x, 7000);
@@ -815,7 +816,7 @@ main() {
expect(point.y, inInclusiveRange(54, 60));
point = item1.offsetTo(itemii);
expect(point.x, 230);
- expect(point.y, inInclusiveRange(74, 80));
+ expect(point.y, inInclusiveRange(74, 80));*/
});
test('documentOffset', () {
@@ -828,7 +829,8 @@ main() {
var item1 = query('.item-1');
var itemii = query('.item-ii');
- expect(itema.documentOffset.x, 88);
+ // TODO(efortuna): Make cross-machine reproducible.
+ /*expect(itema.documentOffset.x, 88);
expect(itema.documentOffset.y, inInclusiveRange(119, 160));
expect(itemii.documentOffset.x, 48);
@@ -850,7 +852,7 @@ main() {
expect(qux.documentOffset.y, inInclusiveRange(221, 232));
expect(quux.documentOffset.x, 8);
- expect(quux.documentOffset.y, inInclusiveRange(221, 232));
+ expect(quux.documentOffset.y, inInclusiveRange(221, 232));*/
});
});
« 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