1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123
|
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
<title>Haxe Tests</title>
<style>
body {
font-family: Verdana;
font-size: 9pt;
}
iframe {
border: 0; padding: 0; margin: 0;
width: 100%; height: 100%;
}
.label {
padding: 2px;
font-weight: bold;
background-color: #000000;
color: #ffffff;
text-align: center;
}
.window {
float:left;
border: 1px solid #000000;
margin: 0 4px 4px 0;
}
.window .cont {
width: 400px;
height: 300px;
overflow: auto;
font-family: monospace;
white-space: pre;
}
</style>
</head>
<body>
<p>Note : These tests need to be run from a local domain called <code>dev.unit-tests</code> which is running mod_neko in this directory.</p>
<div class="window">
<div class="label">JavaScript</div>
<div id="js_container" class="cont"><iframe src="unit-js.html"></iframe></div>
</div>
<div class="window">
<div class="label">Neko</div>
<div id="neko_container" class="cont"><iframe src="bin/unit.n"></iframe></div>
</div>
<div class="window">
<div class="label">Php</div>
<div id="php_container" class="cont"><iframe src="bin/php/index.php"></iframe></div>
</div>
<div class="window">
<div class="label">Flash 9</div>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
width="400"
height="300"
id="haxeFlash9"
align="middle">
<param name="movie" value="bin/unit9.swf"/>
<param name="allowScriptAccess" value="always" />
<param name="quality" value="high" />
<param name="scale" value="noscale" />
<param name="salign" value="lt" />
<param name="bgcolor" value="#ffffff"/>
<embed src="bin/unit9.swf"
bgcolor="#ffffff"
width="400"
height="300"
name="haxeFlash9"
quality="high"
align="middle"
allowScriptAccess="always"
type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer"
/>
</object>
</div>
<div class="window">
<div class="label">As3</div>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
width="400"
height="300"
id="haxeAs3"
align="middle">
<param name="movie" value="bin/unit9_as3.swf"/>
<param name="allowScriptAccess" value="always" />
<param name="quality" value="high" />
<param name="scale" value="noscale" />
<param name="salign" value="lt" />
<param name="bgcolor" value="#ffffff"/>
<embed src="bin/unit9_as3.swf"
bgcolor="#ffffff"
width="400"
height="300"
name="haxeAs3"
quality="high"
align="middle"
allowScriptAccess="always"
type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer"
/>
</object>
</div>
<div class="window">
<div class="label">CPP</div>
<div id="cpp_container" class="cont"><iframe src="bin/runexe.n?bin/cpp/Test-debug"></iframe></div>
</div>
<div class="window">
<div class="label">Java</div>
<div id="java_container" class="cont"><iframe src="bin/runjava.n"></iframe></div>
</div>
<div class="window">
<div class="label">C#</div>
<div id="csharp_container" class="cont"><iframe src="bin/runexe.n?bin/cs/bin/Test-debug"></iframe></div>
</div>
<div class="window">
<div class="label">C#-unsafe</div>
<div id="csharp_unsafe_container" class="cont"><iframe src="bin/runexe.n?cs_unsafe/bin/cs_unsafe"></iframe></div>
</div>
</body>
</html>
|