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

Unified Diff: runtime/observatory/tests/observatory_ui/mocks/repositories/notification.dart

Issue 2751423005: Run dartfmt on all files under runtime. (Closed)
Patch Set: Run dartfmt on all files under runtime. Created 3 years, 9 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: runtime/observatory/tests/observatory_ui/mocks/repositories/notification.dart
diff --git a/runtime/observatory/tests/observatory_ui/mocks/repositories/notification.dart b/runtime/observatory/tests/observatory_ui/mocks/repositories/notification.dart
index f03cd27257eab33f552fa96e61df31445c3a7bad..8855d92fe77579e70c55658e6baf989d6c6c062b 100644
--- a/runtime/observatory/tests/observatory_ui/mocks/repositories/notification.dart
+++ b/runtime/observatory/tests/observatory_ui/mocks/repositories/notification.dart
@@ -27,7 +27,6 @@ class NotificationRepositoryMock implements M.NotificationRepository {
bool deleteInvoked = false;
bool deleteAllInvoked = false;
-
void add(M.Notification notification) {
addInvoked = true;
if (_add != null) _add(notification);
@@ -43,16 +42,19 @@ class NotificationRepositoryMock implements M.NotificationRepository {
if (_add != null) _delete(notification);
}
- void deleteAll() { deleteAllInvoked = true; }
+ void deleteAll() {
+ deleteAllInvoked = true;
+ }
void triggerChangeEvent() {
_onChange.add(new NotificationChangeEventMock(repository: this));
}
- NotificationRepositoryMock({Iterable<M.Notification> list : const [],
+ NotificationRepositoryMock(
+ {Iterable<M.Notification> list: const [],
NotificationRepositoryMockCallback add,
NotificationRepositoryMockCallback delete})
- : _list = list,
- _add = add,
- _delete = delete;
+ : _list = list,
+ _add = add,
+ _delete = delete;
}

Powered by Google App Engine
This is Rietveld 408576698