michael@0: function TestCase(n, d, e, a) michael@0: function writeHeaderToLog( string ) {} michael@0: var SECTION = "15.1.2.4"; michael@0: for ( var CHARCODE = 128; CHARCODE < 256; CHARCODE++ ) { michael@0: new TestCase( SECTION, "%"+ToHexString(CHARCODE), escape(String.fromCharCode(CHARCODE))); michael@0: } michael@0: function ToHexString( n ) { michael@0: var hex = new Array(); michael@0: hex[hex.length] = n % 16; michael@0: var string =""; michael@0: for ( var index = 0 ; index < hex.length ; index++ ) { michael@0: switch ( hex[index] ) { michael@0: case 10: michael@0: string += "A"; michael@0: case 11: michael@0: } michael@0: } michael@0: }