MCPcopy
hub / github.com/SeleniumHQ/selenium / getNameHtml

Function getNameHtml

third_party/js/qunit/qunit.js:7078–7085  ·  view source on GitHub ↗
(name, module)

Source from the content-addressed store, hash-verified

7076 }
7077 });
7078 function getNameHtml(name, module) {
7079 var nameHtml = '';
7080 if (module) {
7081 nameHtml = "<span class='module-name'>" + escapeText(module) + '</span>: ';
7082 }
7083 nameHtml += "<span class='test-name'>" + escapeText(name) + '</span>';
7084 return nameHtml;
7085 }
7086 function getProgressHtml(stats) {
7087 return [stats.completed, ' / ', stats.defined, ' tests completed.<br />'].join('');
7088 }

Callers 2

appendTestFunction · 0.85
qunit.jsFile · 0.85

Calls 1

escapeTextFunction · 0.70

Tested by

no test coverage detected