blob: 9147f1ffcfecd69a04e32ca72bd8891a610842af [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_T2</p>
<div id='console'></div>
<script>
try {
/**
* @name: S7.6_A4.2_T2;
* @section: 7.6;
* @assertion: Correct interpretation of RUSSIAN ALPHABET;
* @description: Check RUSSIAN SMALL ALPHABET;
*/
//CHECK#а-я
\u0430 = 1;
if !== 1) {
testFailed('#а');
}
\u0431 = 1;
if !== 1) {
testFailed('#б');
}
\u0432 = 1;
if !== 1) {
testFailed('#в');
}
\u0433 = 1;
if !== 1) {
testFailed('#г');
}
\u0434 = 1;
if !== 1) {
testFailed('#д');
}
\u0435 = 1;
if !== 1) {
testFailed('#е');
}
\u0436 = 1;
if !== 1) {
testFailed('#ж');
}
\u0437 = 1;
if !== 1) {
testFailed('#з');
}
\u0438 = 1;
if !== 1) {
testFailed('#и');
}
\u0439 = 1;
if !== 1) {
testFailed('#й');
}
\u043A = 1;
if !== 1) {
testFailed('#к');
}
\u043B = 1;
if !== 1) {
testFailed('#л');
}
\u043C = 1;
if !== 1) {
testFailed('#м');
}
\u043D = 1;
if !== 1) {
testFailed('#н');
}
\u043E = 1;
if !== 1) {
testFailed('#о');
}
\u043F = 1;
if (п !== 1) {
testFailed('#п');
}
\u0440 = 1;
if !== 1) {
testFailed('#р');
}
\u0441 = 1;
if !== 1) {
testFailed('#с');
}
\u0442 = 1;
if !== 1) {
testFailed('#т');
}
\u0443 = 1;
if !== 1) {
testFailed('#у');
}
\u0444 = 1;
if !== 1) {
testFailed('#ф');
}
\u0445 = 1;
if !== 1) {
testFailed('#х');
}
\u0446 = 1;
if !== 1) {
testFailed('#ц');
}
\u0447 = 1;
if !== 1) {
testFailed('#ч');
}
\u0448 = 1;
if !== 1) {
testFailed('#ш');
}
\u0449 = 1;
if !== 1) {
testFailed('#щ');
}
\u044A = 1;
if !== 1) {
testFailed('#ъ');
}
\u044B = 1;
if !== 1) {
testFailed('#ы');
}
\u044C = 1;
if !== 1) {
testFailed('#ь');
}
\u044D = 1;
if !== 1) {
testFailed('#э');
}
\u044E = 1;
if !== 1) {
testFailed('#ю');
}
\u044F = 1;
if !== 1) {
testFailed('#я');
}
\u0451 = 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>