blob: 88e0d4660c9b5c8dd4736ddd824e10029e894a06 [file] [log] [blame]
<html>
<head>
<meta charset='utf-8'>
<style>
.pass {
font-weight: bold;
color: green;
}
.fail {
font-weight: bold;
color: red;
}
</style>
<script>
if (window.testRunner)
testRunner.dumpAsText();
function SputnikError(message)
{
this.message = message;
}
SputnikError.prototype.toString = function ()
{
return 'SputnikError: ' + this.message;
};
var sputnikException;
function testPrint(msg)
{
var span = document.createElement("span");
document.getElementById("console").appendChild(span); // insert it first so XHTML knows the namespace
span.innerHTML = msg + '<br />';
}
function escapeHTML(text)
{
return text.toString().replace(/&/g, "&amp;").replace(/</g, "&lt;");
}
function printTestPassed(msg)
{
testPrint('<span><span class="pass">PASS</span> ' + escapeHTML(msg) + '</span>');
}
function printTestFailed(msg)
{
testPrint('<span><span class="fail">FAIL</span> ' + escapeHTML(msg) + '</span>');
}
function testFailed(msg)
{
throw new SputnikError(msg);
}
var successfullyParsed = false;
</script>
</head>
<body>
<p>S7.6_A4.2_T1</p>
<div id='console'></div>
<script>
try {
/**
* @name: S7.6_A4.2_T1;
* @section: 7.6;
* @assertion: Correct interpretation of RUSSIAN ALPHABET;
* @description: Check RUSSIAN CAPITAL ALPHABET;
*/
//CHECK#А-Я
\u0410 = 1;
if !== 1) {
testFailed('#А');
}
\u0411 = 1;
if !== 1) {
testFailed('#Б');
}
\u0412 = 1;
if !== 1) {
testFailed('#В');
}
\u0413 = 1;
if !== 1) {
testFailed('#Г');
}
\u0414 = 1;
if !== 1) {
testFailed('#Д');
}
\u0415 = 1;
if !== 1) {
testFailed('#Е');
}
\u0416 = 1;
if !== 1) {
testFailed('#Ж');
}
\u0417 = 1;
if !== 1) {
testFailed('#З');
}
\u0418 = 1;
if !== 1) {
testFailed('#И');
}
\u0419 = 1;
if !== 1) {
testFailed('#Й');
}
\u041A = 1;
if !== 1) {
testFailed('#К');
}
\u041B = 1;
if !== 1) {
testFailed('#Л');
}
\u041C = 1;
if !== 1) {
testFailed('#М');
}
\u041D = 1;
if !== 1) {
testFailed('#Н');
}
\u041E = 1;
if !== 1) {
testFailed('#О');
}
\u041F = 1;
if !== 1) {
testFailed('#П');
}
\u0420 = 1;
if !== 1) {
testFailed('#Р');
}
\u0421 = 1;
if !== 1) {
testFailed('#С');
}
\u0422 = 1;
if !== 1) {
testFailed('#Т');
}
\u0423 = 1;
if !== 1) {
testFailed('#У');
}
\u0424 = 1;
if !== 1) {
testFailed('#Ф');
}
\u0425 = 1;
if !== 1) {
testFailed('#Х');
}
\u0426 = 1;
if !== 1) {
testFailed('#Ц');
}
\u0427 = 1;
if !== 1) {
testFailed('#Ч');
}
\u0428 = 1;
if !== 1) {
testFailed('#Ш');
}
\u0429 = 1;
if !== 1) {
testFailed('#Щ');
}
\u042A = 1;
if !== 1) {
testFailed('#Ъ');
}
\u042B = 1;
if !== 1) {
testFailed('#Ы');
}
\u042C = 1;
if !== 1) {
testFailed('#Ь');
}
\u042D = 1;
if !== 1) {
testFailed('#Э');
}
\u042E = 1;
if !== 1) {
testFailed('#Ю');
}
\u042F = 1;
if !== 1) {
testFailed('#Я');
}
\u0401 = 1;
if !== 1) {
testFailed('#Ё');
}
} catch (ex) {
sputnikException = ex;
}
var successfullyParsed = true;
</script>
<script>
if (!successfullyParsed)
printTestFailed('successfullyParsed is not set');
else if (sputnikException)
printTestFailed(sputnikException);
else
printTestPassed("");
testPrint('<br /><span class="pass">TEST COMPLETE</span>');
</script>
</body>
</html>