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

Unified Diff: third_party/pkg/angular/test/bootstrap_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/bootstrap_spec.dart
diff --git a/third_party/pkg/angular/test/bootstrap_spec.dart b/third_party/pkg/angular/test/bootstrap_spec.dart
deleted file mode 100644
index df76e0a3b6006c6f8b708d3d312ec69035944c87..0000000000000000000000000000000000000000
--- a/third_party/pkg/angular/test/bootstrap_spec.dart
+++ /dev/null
@@ -1,29 +0,0 @@
-library bootstrap_spec;
-
-import '_specs.dart';
-
-main() => describe('bootstrap', () {
- BodyElement body = window.document.querySelector('body');
-
- it('should default to whole page', () {
- body.innerHtml = '<div>{{"works"}}</div>';
- ngBootstrap();
- expect(body.innerHtml).toEqual('<div>works</div>');
- });
-
- it('should compile starting at ng-app node', () {
- body.setInnerHtml(
- '<div>{{ignor me}}<div ng-app ng-bind="\'works\'"></div></div>',
- treeSanitizer: new NullTreeSanitizer());
- ngBootstrap();
- expect(body.text).toEqual('{{ignor me}}works');
- });
-
- it('should compile starting at ng-app node', () {
- body.setInnerHtml(
- '<div>{{ignor me}}<div ng-bind="\'works\'"></div></div>',
- treeSanitizer: new NullTreeSanitizer());
- ngBootstrap(element:body.querySelector('div[ng-bind]'));
- expect(body.text).toEqual('{{ignor me}}works');
- });
-});

Powered by Google App Engine
This is Rietveld 408576698