(element)
| 70 | '\n------\n'); |
| 71 | |
| 72 | function createTestDom(element) { |
| 73 | return goog.dom.createDom('div', {'style': 'width: 25em;'}, |
| 74 | goog.dom.createDom('div', |
| 75 | {'style': [ |
| 76 | 'margin: 0 0.5em;', |
| 77 | 'padding: 0;', |
| 78 | 'font-style: italic;', |
| 79 | 'color: gray;' |
| 80 | ].join('')}, |
| 81 | testName), |
| 82 | goog.dom.createDom('div', { |
| 83 | 'style': 'margin-bottom: 0.5em' |
| 84 | }, element)); |
| 85 | } |
| 86 | |
| 87 | function escapeText(text) { |
| 88 | return text.replace(/\n/g, '\\n');//.replace(/\s/g, '\\s'); |