diff options
Diffstat (limited to 'contexts/data/lib/closure-library/closure/goog/testing/benchmarks/jsbinarysizetoolbar_test.html')
-rw-r--r-- | contexts/data/lib/closure-library/closure/goog/testing/benchmarks/jsbinarysizetoolbar_test.html | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/contexts/data/lib/closure-library/closure/goog/testing/benchmarks/jsbinarysizetoolbar_test.html b/contexts/data/lib/closure-library/closure/goog/testing/benchmarks/jsbinarysizetoolbar_test.html deleted file mode 100644 index 8676153..0000000 --- a/contexts/data/lib/closure-library/closure/goog/testing/benchmarks/jsbinarysizetoolbar_test.html +++ /dev/null @@ -1,49 +0,0 @@ -<!DOCTYPE html> -<html> -<!-- -Copyright 2010 The Closure Library Authors. All Rights Reserved. - -Use of this source code is governed by the Apache License, Version 2.0. -See the COPYING file for details. ---> -<head> -<meta http-equiv="X-UA-Compatible" content="IE=edge"> - <title>Closure Unit Test - goog._jsbinarysize.toolbar</title> - <script src="../../base.js"></script> - <script src="jsbinarysizetoolbar.js"></script> - <script> - goog.require("goog.testing.jsunit"); - </script> - <link rel="stylesheet" type="text/css" href="../../demos/css/demo.css"> - <link rel="stylesheet" type="text/css" href="../../demos/css/menus.css"> - <link rel="stylesheet" type="text/css" href="../../demos/css/toolbar.css"> - <script> - function setUp() { - goog.dom.getElement('toolbar').innerHTML = ''; - } - - function tearDown() { - goog.dom.getElement('toolbar').innerHTML = ''; - } - - function testDrawToolbar() { - drawToolbar(); - var toolbarElem = goog.dom.getElement('toolbar').firstChild - assertNotNull("Toolbar container was not rendered", toolbarElem); - assertEquals("Toolbar does not have expected number of children", 3, - toolbarElem.childNodes.length); - - - } - </script> -</head> -<body> -<fieldset> - <legend>Toolbar should be rendered here <button onclick="drawToolbar()"> - render</button></legend> - - <div id="toolbar"></div> -</fieldset> -</body> - -</html> |