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

Unified Diff: pkg/polymer/test/prop_attr_reflection_test.dart

Issue 34213002: Fix prop_attr_reflection_test in drt/dartium (fixes issue 14295) (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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 | « pkg/pkg.status ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/polymer/test/prop_attr_reflection_test.dart
diff --git a/pkg/polymer/test/prop_attr_reflection_test.dart b/pkg/polymer/test/prop_attr_reflection_test.dart
index 2ca8f4231fa2e482b2033174518a936e37230564..e429114ae1757107aba7a1105e96e393a8912aa1 100644
--- a/pkg/polymer/test/prop_attr_reflection_test.dart
+++ b/pkg/polymer/test/prop_attr_reflection_test.dart
@@ -37,6 +37,7 @@ Future onAttributeChange(Element node) {
observer.disconnect();
completer.complete();
})..observe(node, attributes: true);
+ Platform.flush();
Siggi Cherem (dart-lang) 2013/10/22 01:40:31 Not sure if you prefer to fix this in some other w
Jennifer Messerly 2013/10/22 05:51:51 yeah, this is fine ... however, out of curiosity w
return completer.future;
}
@@ -52,9 +53,9 @@ main() {
Polymer.register('x-compose', XCompose);
test('property attribute reflection', () {
- var xcompose = query('x-compose').xtag;
- var xfoo = query('x-foo').xtag;
- var xbar = query('x-bar').xtag;
+ var xcompose = query('x-compose');
+ var xfoo = query('x-foo');
+ var xbar = query('x-bar');
xfoo.foo = 5;
return onAttributeChange(xfoo).then((_) {
expect(xcompose.$['bar'].attributes.containsKey('zim'), false,
« no previous file with comments | « pkg/pkg.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698