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

Unified Diff: third_party/pkg/js/test/js_wrapping/browser_tests.html

Issue 124053002: Adding Angular and dependent packages for testing (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 12 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/js/test/js_wrapping/browser_tests.html
diff --git a/third_party/pkg/js/test/js_wrapping/browser_tests.html b/third_party/pkg/js/test/js_wrapping/browser_tests.html
new file mode 100644
index 0000000000000000000000000000000000000000..454dafb57b5a9d852d6b4e15a2fb32dec0e02449
--- /dev/null
+++ b/third_party/pkg/js/test/js_wrapping/browser_tests.html
@@ -0,0 +1,33 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <title>Some Tests</title>
+ <style type="text/css">
+ .unittest-table { font-family: monospace; border: 1px; }
+ .unittest-pass { background: #6b3;}
+ .unittest-fail { background: #d55;}
+ .unittest-error { background: #a11;}
+ .unittest-xml-log {opacity:0; color: white;}
+ .test-area { display: none; }
+ body { overflow: visible; }
+ </style>
+</head>
+<body>
+ <h1>Loading and running tests</h1>
+<script>
+
+function Person(firstname, lastname){
+ this.firstname = firstname;
+ this.lastname = lastname;
+ this.father = null;
+ this.children = [];
+};
+Person.prototype.sayHello = function() { return "Hello, I'm " + this.firstname + " " + this.lastname; };
+
+</script>
+ <script src="packages/unittest/test_controller.js"></script>
+ <script type="application/dart" src="browser_tests.dart"></script>
+ <script src="packages/browser/dart.js"></script>
+ <script src="packages/browser/interop.js"></script>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698