Welcome to mirror list, hosted at ThFree Co, Russian Federation.

ChangeLog « jsunit « Test « System.Web « class « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: bf21426956a38e416a1cc800791385b2fddc67a4 (plain)
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
2005-08-11  Chris Toshok  <toshok@ximian.com>

	* jsunit.js (Assert): no reason to have a prototype for
	this.. just define a variable named Assert and add it to the
	script's context.

2005-08-11  Chris Toshok  <toshok@ximian.com>

	* jsunit.js (jsunit_RunTestForPage): set the failure_span
	innerHTML explicitly to "0 tests" to initialize it.
	(jsunit_RunTestForPageStep): use update_failures_span here to set
	the innerhtml to whatever our results currently are.
	(update_failures_span): new function, basically just set the text
	and background of the span.

2005-08-04  Chris Toshok  <toshok@ximian.com>

	* jsunit.js: add expected failure output.  add some (for now)
	disabled netscape.security handling for UniversalBrowserRead (so
	we can do testing of remote pages.)

2005-08-03  Chris Toshok  <toshok@ximian.com>

	* jsunit.js: Mucho improvements.

2005-08-02  Chris Toshok  <toshok@ximian.com>

	* jsunit.js (JSUnit_Click): fix typo.
	(checkReadyState): fix c&p error.
	(jsunit_RunTestPageStep): initialize both test_scripts.waiting and
	test_run.waiting before we fire off the load(s).
	(jsunit_FindTestFixture): new function to locate the test fixture
	on either page, and set top.test_fixture and
	top.test_fixture_context accordingly.
	(jsunit_RunTestsForPage): use jsunit_FindTestFixture.
	(jsunit_RunTestsForPageStep): same.
	(test_run_onload): remove the extraneous if-check
	(test_scripts_onload): same.

2005-08-01  Chris Toshok  <toshok@ximian.com>

	* jsunit.js (jsunit_RunTestForPageStep): add the public api to
	whatever script context we're using for TestFixture.  We need this
	here because pages that do postbacks but include the testfixture
	in the main page will get their context reset on the page load.

2005-08-01  Chris Toshok  <toshok@ximian.com>

	* jsunit.js: make the script: property on JSUnit_TestPages
	optional, and look for the TestFixture in the test_run page (so
	you can write html + tests all in one file).
	(JSUnit_Click): fix an "uh oh" alert.

2005-07-27  Chris Toshok  <toshok@ximian.com>

	* jsunit.js (Assert): when we fail due to an exception, use
	e.message which works on both ff and IE.
	
2005-07-27  Chris Toshok  <toshok@ximian.com>

	* jsunit.js: add a Trace object/window so we can get debug spew
	without window.alert.  Also, implement the readyState polling page
	loading hack for IE so we can remove all the onload handlers from
	.aspx/-script.html files in jsunit-tests (hurray).

2005-07-26  Chris Toshok  <toshok@ximian.com>

	* jsunit.js: add some better status messages.

2005-07-25  Chris Toshok  <toshok@ximian.com>

	* jsunit.js (JSUnit_Click): if el == null return early.
	(jsunit_RunTestForPageStep): wrap the call to testfunc() in a try
	block so we can add some failure text instead of making the user
	look at the JS console.

2005-07-25  Chris Toshok  <toshok@ximian.com>

	* jsunit-results.html: change the status span's id to status_text.

	* jsunit.js (encode): new function, to replace < with &lt;, > with
	&gt;, \n with \\n, etc, so when we output error strings we can see
	the actual html.
	(string_charcode_diff): return a string detailing the first index
	at which two strings differ.
	(Assert): encode all the strings we pass to test_failed.  Also on
	AreEqual and AreEqualCase, replace \r\n with \n (since mozilla
	seems to do this automatically, while IE doesn't), and also call
	string_charcode_diff.
	(JSUnit_*) change the state span's id to status_text so it works
	on IE, and widen the testcase tables.
	
2005-07-24  Chris Toshok  <toshok@ximian.com>

	* jsunit.js (JSUnit_GetAttribute): add optional id argument.
	defaults to using the bound element.
	
	* README: more docs, list out the convenience functions and some
	info about how to handle page loading.