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

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

Issue 1058283006: Update pubspecs and dependencies to get pkgbuild tests working. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 8 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_cloak_spec.dart
diff --git a/third_party/pkg/angular/test/directive/ng_cloak_spec.dart b/third_party/pkg/angular/test/directive/ng_cloak_spec.dart
deleted file mode 100644
index bbf35d6c9ee555fc79b26248d2a6df64903c938b..0000000000000000000000000000000000000000
--- a/third_party/pkg/angular/test/directive/ng_cloak_spec.dart
+++ /dev/null
@@ -1,49 +0,0 @@
-library ng_cloak_spec;
-
-import '../_specs.dart';
-
-main() {
- describe('NgCloak', () {
- TestBed _;
-
- beforeEach(inject((TestBed tb) => _ = tb));
-
-
- it('should get removed when an element is compiled', () {
- var element = $('<div ng-cloak></div>');
- expect(element.attr('ng-cloak')).toEqual('');
- _.compile(element);
- expect(element.attr('ng-cloak')).toBeNull();
- });
-
-
- it('should remove ngCloak class from a compiled element with attribute', () {
- var element = $('<div ng-cloak class="foo ng-cloak bar"></div>');
-
- expect(element.hasClass('foo')).toBe(true);
- expect(element.hasClass('ng-cloak')).toBe(true);
- expect(element.hasClass('bar')).toBe(true);
-
- _.compile(element);
-
- expect(element.hasClass('foo')).toBe(true);
- expect(element.hasClass('ng-cloak')).toBe(false);
- expect(element.hasClass('bar')).toBe(true);
- });
-
-
- it('should remove ngCloak class from a compiled element', () {
- var element = $('<div class="foo ng-cloak bar"></div>');
-
- expect(element.hasClass('foo')).toBe(true);
- expect(element.hasClass('ng-cloak')).toBe(true);
- expect(element.hasClass('bar')).toBe(true);
-
- _.compile(element);
-
- expect(element.hasClass('foo')).toBe(true);
- expect(element.hasClass('ng-cloak')).toBe(false);
- expect(element.hasClass('bar')).toBe(true);
- });
- });
-}
« no previous file with comments | « third_party/pkg/angular/test/directive/ng_class_spec.dart ('k') | third_party/pkg/angular/test/directive/ng_events_spec.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698