|  |  |  | 
|---|
|  |  |  | setUp(); | 
|---|
|  |  |  | svgedit.select.init(mockConfig, mockFactory); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | function tearDown() { | 
|---|
|  |  |  | while (sandbox.hasChildNodes()) { | 
|---|
|  |  |  | sandbox.removeChild(sandbox.firstChild); | 
|---|
|  |  |  | 
|---|
|  |  |  | equals(typeof svgedit.select.init, typeof function(){}); | 
|---|
|  |  |  | equals(typeof svgedit.select.getSelectorManager, typeof function(){}); | 
|---|
|  |  |  | }); | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | test('Test Selector DOM structure', function() { | 
|---|
|  |  |  | expect(26); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | tearDown(); | 
|---|
|  |  |  | }); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | }); | 
|---|
|  |  |  | </script> | 
|---|
|  |  |  | </head> | 
|---|
|  |  |  | <body> | 
|---|
|  |  |  | }); | 
|---|
|  |  |  | </script> | 
|---|
|  |  |  | </head> | 
|---|
|  |  |  | <body> | 
|---|
|  |  |  | <h1 id='qunit-header'>Unit Tests for select.js</h1> | 
|---|
|  |  |  | <h2 id='qunit-banner'></h2> | 
|---|
|  |  |  | <h2 id='qunit-userAgent'></h2> | 
|---|
|  |  |  | <ol id='qunit-tests'> | 
|---|
|  |  |  | </ol> | 
|---|
|  |  |  | <div id='sandbox'></div> | 
|---|
|  |  |  | </body> | 
|---|
|  |  |  | </body> | 
|---|
|  |  |  | </html> | 
|---|