| OLD | NEW | 
|   1 #library('DocumentTest'); |   1 #library('DocumentTest'); | 
|   2 #import('../../../../lib/unittest/unittest.dart'); |   2 #import('../../lib/unittest/unittest.dart'); | 
|   3 #import('../../../../lib/unittest/dom_config.dart'); |   3 #import('../../lib/unittest/dom_config.dart'); | 
|   4 #import('dart:dom'); |   4 #import('dart:dom'); | 
|   5  |   5  | 
|   6 main() { |   6 main() { | 
|   7   useDomConfiguration(); |   7   useDomConfiguration(); | 
|   8  |   8  | 
|   9   test('CreateElement', () { |   9   test('CreateElement', () { | 
|  10     // FIXME: nifty way crashes, do it boring way. |  10     // FIXME: nifty way crashes, do it boring way. | 
|  11     Expect.isTrue(document.createElement('span') is HTMLElement); |  11     Expect.isTrue(document.createElement('span') is HTMLElement); | 
|  12     Expect.isTrue(document.createElement('div') is HTMLDivElement); |  12     Expect.isTrue(document.createElement('div') is HTMLDivElement); | 
|  13     Expect.isTrue(document.createElement('a') is HTMLAnchorElement); |  13     Expect.isTrue(document.createElement('a') is HTMLAnchorElement); | 
|  14     Expect.isTrue(document.createElement('bad_name') is HTMLUnknownElement); |  14     Expect.isTrue(document.createElement('bad_name') is HTMLUnknownElement); | 
|  15   }); |  15   }); | 
|  16  |  16  | 
|  17   test('DocumentURL', () { |  17   test('DocumentURL', () { | 
|  18     // URL is something like ..._client_dom_DocumentTest.dartfrogium.html |  18     // URL is something like ..._client_dom_DocumentTest.dartfrogium.html | 
|  19     Expect.isTrue(document.URL.endsWith('.html')); |  19     Expect.isTrue(document.URL.endsWith('.html')); | 
|  20     Expect.isTrue(document.URL.indexOf('DocumentTest') > 0); |  20     Expect.isTrue(document.URL.indexOf('document_test') > 0); | 
|  21   }); |  21   }); | 
|  22 } |  22 } | 
| OLD | NEW |