aboutsummaryrefslogtreecommitdiffstats
path: root/test/BrowserTest.js
diff options
context:
space:
mode:
authorAndres Ornelas2010-05-26 15:21:58 -0700
committerAndres Ornelas2010-05-26 15:21:58 -0700
commitaedf12f25e42877a302a99d906e6397bde01dcce (patch)
treefd6ac4fe05668128937261093752b36c1bb02a6a /test/BrowserTest.js
parent0d41c86522ef912fe5bb7a02fd434080f9827c00 (diff)
downloadangular.js-aedf12f25e42877a302a99d906e6397bde01dcce.tar.bz2
added outstanding request queue
Diffstat (limited to 'test/BrowserTest.js')
-rw-r--r--test/BrowserTest.js25
1 files changed, 0 insertions, 25 deletions
diff --git a/test/BrowserTest.js b/test/BrowserTest.js
deleted file mode 100644
index 5254840a..00000000
--- a/test/BrowserTest.js
+++ /dev/null
@@ -1,25 +0,0 @@
-BrowserTest = TestCase('BrowserTest');
-
-BrowserTest.prototype.testUrlWatcher = function () {
- expectAsserts(2);
- var location = {href:"http://server", hash:""};
- var watcher = new Browser(location, {});
- watcher.delay = 1;
- watcher.watchUrl(function(url){
- assertEquals('http://getangular.test', url);
- });
- watcher.setTimeout = function(fn, delay){
- assertEquals(1, delay);
- location.href = "http://getangular.test";
- watcher.setTimeout = function(fn, delay) {
- };
- fn();
- };
- watcher.startUrlWatcher();
-};
-
-FunctionTest = TestCase("FunctionTest");
-
-FunctionTest.prototype.testEscapeHtml = function () {
- assertEquals("&lt;div&gt;&amp;amp;&lt;/div&gt;", escapeHtml('<div>&amp;</div>'));
-};