blob: b3b423f9c0a3ccbbab5bef6b3996ddfd44e4049d [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.1_T1</p>
<div id='console'></div>
<script>
try {
/**
* @name: S7.6_A4.1_T1;
* @section: 7.6;
* @assertion: Correct interpretation of ENGLISH ALPHABET;
* @description: Check ENGLISH CAPITAL ALPHABET;
*/
//CHECK#A-Z
\u0041 = 1;
if (A !== 1) {
testFailed('#A');
}
\u0042 = 1;
if (B !== 1) {
testFailed('#B');
}
\u0043 = 1;
if (C !== 1) {
testFailed('#C');
}
\u0044 = 1;
if (D !== 1) {
testFailed('#D');
}
\u0045 = 1;
if (E !== 1) {
testFailed('#E');
}
\u0046 = 1;
if (F !== 1) {
testFailed('#F');
}
\u0047 = 1;
if (G !== 1) {
testFailed('#G');
}
\u0048 = 1;
if (H !== 1) {
testFailed('#H');
}
\u0049 = 1;
if (I !== 1) {
testFailed('#I');
}
\u004A = 1;
if (J !== 1) {
testFailed('#J');
}
\u004B = 1;
if (K !== 1) {
testFailed('#K');
}
\u004C = 1;
if (L !== 1) {
testFailed('#L');
}
\u004D = 1;
if (M !== 1) {
testFailed('#M');
}
\u004E = 1;
if (N !== 1) {
testFailed('#N');
}
\u004F = 1;
if (O !== 1) {
testFailed('#O');
}
\u0050 = 1;
if (P !== 1) {
testFailed('#P');
}
\u0051 = 1;
if (Q !== 1) {
testFailed('#Q');
}
\u0052 = 1;
if (R !== 1) {
testFailed('#R');
}
\u0053 = 1;
if (S !== 1) {
testFailed('#S');
}
\u0054 = 1;
if (T !== 1) {
testFailed('#T');
}
\u0055 = 1;
if (U !== 1) {
testFailed('#U');
}
\u0056 = 1;
if (V !== 1) {
testFailed('#V');
}
\u0057 = 1;
if (W !== 1) {
testFailed('#W');
}
\u0058 = 1;
if (X !== 1) {
testFailed('#X');
}
\u0059 = 1;
if (Y !== 1) {
testFailed('#Y');
}
\u005A = 1;
if (Z !== 1) {
testFailed('#Z');
}
} 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>