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

Unified Diff: pkg/polymer/test/build/all_phases_test.dart

Issue 27618002: package:observe fix various api issues (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
Index: pkg/polymer/test/build/all_phases_test.dart
diff --git a/pkg/polymer/test/build/all_phases_test.dart b/pkg/polymer/test/build/all_phases_test.dart
index e977893cc0920f2afa41b7a67e3928bfcd3834a8..c8ffe1396d2a734ec040d85fa6463f4dbb183746 100644
--- a/pkg/polymer/test/build/all_phases_test.dart
+++ b/pkg/polymer/test/build/all_phases_test.dart
@@ -181,7 +181,7 @@ String _sampleObservable(String className, String fieldName) => '''
library ${className}_$fieldName;
import 'package:observe/observe.dart';
-class $className extends ObservableBase {
+class $className extends Observable {
@observable int $fieldName;
$className(this.$fieldName);
}
@@ -190,7 +190,7 @@ class $className extends ObservableBase {
String _sampleObservableOutput(String className, String field) =>
"library ${className}_$field;\n"
"import 'package:observe/observe.dart';\n\n"
- "class $className extends ChangeNotifierBase {\n"
+ "class $className extends ChangeNotifier {\n"
" @reflectable @observable int get $field => __\$$field; "
"int __\$$field; "
"@reflectable set $field(int value) { "

Powered by Google App Engine
This is Rietveld 408576698