Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

No commit message

  • Loading branch information...
commit 43f821ab77037a0343492dbf7ea5089bd069915e 1 parent e1fa2ee
@atesgoral authored
View
11 jsunity/samples/runSampleTestSuite.asp
@@ -1,11 +0,0 @@
-<%@LANGUAGE="JavaScript"%>
-<% Response.Buffer = true; %>
-<!--#include file="../jsunity.js"-->
-<!--#include file="sampleTestSuite.js"-->
-<% Response.Clear(); %>
-<pre>
-<%
-jsUnity.log = function (s) { Response.Write(s + "<br/>"); }
-jsUnity.run(sampleTestSuite);
-%>
-</pre>
View
13 jsunity/samples/runSampleTestSuite.html
@@ -1,13 +0,0 @@
-<html>
-<head>
- <title>Sample Test Suite Runner</title>
- <script type="text/javascript" src="../jsunity.js"></script>
- <script type="text/javascript" src="sampleTestSuite.js"></script>
-</head>
-<body>
- <script type="text/javascript">
- jsUnity.log = function (s) { document.write("<div>" + s + "</div>"); }
- jsUnity.run(sampleTestSuite);
- </script>
-</body>
-</html>
View
13 jsunity/samples/runSampleTestSuite.wsf
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<package>
-<job>
-<script language="JavaScript" src="../jsunity.js"/>
-<script language="JavaScript" src="sampleTestSuite.js"/>
-<script language="JavaScript">
-<![CDATA[
-jsUnity.log = function (s) { WScript.Echo(s); }
-jsUnity.run(sampleTestSuite);
-]]>
-</script>
-</job>
-</package>
View
19 jsunity/samples/sampleTestSuite.js
@@ -1,19 +0,0 @@
-//<%
-function sampleTestSuite() {
- function setUp() {
- jsUnity.log("set up");
- }
-
- function tearDown() {
- jsUnity.log("tear down");
- }
-
- function testLessThan() {
- jsUnity.assertions.assertTrue(1 < 2);
- }
-
- function testPi() {
- jsUnity.assertions.assertEquals(Math.PI, 22 / 7);
- }
-}
-//%>
Please sign in to comment.
Something went wrong with that request. Please try again.