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

Unified Diff: third_party/pkg/angular/test/directive/ng_events_spec.dart

Issue 148453003: Updating Angular version (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 11 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: third_party/pkg/angular/test/directive/ng_events_spec.dart
diff --git a/third_party/pkg/angular/test/directive/ng_events_spec.dart b/third_party/pkg/angular/test/directive/ng_events_spec.dart
index 12be0996bb904eea7adcd9d826d927d46ee672be..82a526c2118ad7ac74fe9f9db14cd8a4f3ea693d 100644
--- a/third_party/pkg/angular/test/directive/ng_events_spec.dart
+++ b/third_party/pkg/angular/test/directive/ng_events_spec.dart
@@ -23,21 +23,36 @@ void addTest(String name, [String eventType='MouseEvent', String eventName]) {
}
main() {
+ addTest('abort');
+ addTest('beforecopy');
+ addTest('beforecopy');
+ addTest('beforecut');
+ addTest('beforepaste');
addTest('blur');
addTest('change');
addTest('click');
addTest('contextmenu');
+ addTest('copy');
+ addTest('cut');
// The event name differs from the ng- directive name.
addTest('doubleclick', 'MouseEvent', 'dblclick');
+ addTest('drag');
+ addTest('dragend');
addTest('dragenter');
addTest('dragleave');
addTest('dragover');
addTest('dragstart');
addTest('drop');
+ addTest('error');
addTest('focus');
+ //addTest('fullscreenchange');
+ //addTest('fullscreenerror');
+ addTest('input');
+ addTest('invalid');
addTest('keydown', 'KeyboardEvent');
addTest('keypress', 'KeyboardEvent');
addTest('keyup', 'KeyboardEvent');
+ addTest('load');
addTest('mousedown');
addTest('mouseenter');
addTest('mouseleave');
@@ -46,11 +61,21 @@ main() {
addTest('mouseover');
addTest('mouseup');
addTest('mousewheel', 'MouseEvent', 'wheel');
+ addTest('paste');
+ addTest('reset');
addTest('scroll');
+ addTest('search');
+ addTest('select');
+ addTest('selectstart');
+ //addTest('speechchange');
+ addTest('submit');
// These should be of type TouchEvent but that causes the tests to fail.
// They pass as a MouseEvent.
- addTest('touchcancel'/*, 'TouchEvent'*/);
+ //addTest('touchcancel'/*, 'TouchEvent'*/);
+ addTest('touchenter'/*, 'TouchEvent'*/);
+ addTest('touchleave'/*, 'TouchEvent'*/);
addTest('touchend'/*, 'TouchEvent'*/);
addTest('touchmove'/*, 'TouchEvent'*/);
addTest('touchstart'/*, 'TouchEvent'*/);
+ addTest('transitionend');
}

Powered by Google App Engine
This is Rietveld 408576698