Commit Graph

33 Commits

Author SHA1 Message Date
Eli Barzilay
672910f27b Lots of bad TAB eliminations.
I started from tabs that are not on the beginning of lines, and in
several places I did further cleanings.

If you're worried about knowing who wrote some code, for example, if you
get to this commit in "git blame", then note that you can use the "-w"
flag in many git commands to ignore whitespaces.  For example, to see
per-line authors, use "git blame -w <file>".  Another example: to see
the (*much* smaller) non-whitespace changes in this (or any other)
commit, use "git log -p -w -1 <sha1>".
2012-11-07 11:22:20 -05:00
Kathy Gray
7758f508c5 Addition of define-wish to the teaching languages and corresponding addition of support for wishes in test reports and check-expects 2011-02-21 12:46:39 +00:00
Robby Findler
1b29fd590b adjusted test-engine to use the framework preferences library so that drracket still starts up when there is a locked preference file under windows 2011-01-20 14:08:33 -06:00
Mike Sperber
02cde446cc Unbreak source locations for errors off the REPL in teaching languages.
Make sure we notice when the error source is the REPL, not the
definitions.
2010-10-08 15:25:44 +02:00
John Clements
a095ebc326 added format arg to printf to avoid corner-case printf bugs, rackety changes 2010-09-17 10:19:32 -07:00
Jay McCarthy
01a41a812e Closing pr11216. Adding one armed check-error to teaching languages.
[It will not bother me if we revert this commit. I liked SK's idea and found it easy to implement. I wonder if others will be worried that it is easy to unintentionally leave off the second argument to check-error. I also wonder if it is problematic to add new string constants, like I've done.]

Here is an example:

(check-error (/ 1 0) "/: division by zero")
(check-error (/ 1 0) "divide by zero")
(check-error (/ 1 0))
(check-error 1)

Here is the output:

Ran 4 tests.
2 of the 4 tests failed.

No signature violations.

Check failures:
	check-error encountered the following error instead of the expected divide by zero
   :: /: division by zero
in ex.rkt, line 2, column 0
	check-error expected an error, but instead received the value 1.
in ex.rkt, line 4, column 0
2010-09-16 21:00:05 -06:00
Kathy Gray
d3cab0a2ca Refocus window on clicking the error source. 2010-08-23 14:37:43 +01:00
Mike Sperber
faf8ec358f Rename DMdA/HtDP "contract" to "signature". 2010-06-28 14:58:16 +02:00
Mike Sperber
7269b2a1c1 Fix one of the test-outcome messages. 2010-06-09 10:46:56 +02:00
Mike Sperber
799d356871 Merge deinprogramm/contract/contract-test-display into test-engine/test-display.scm. 2010-05-20 16:57:46 +02:00
Mike Sperber
5f443141f1 String constants for the remaining untranslated test-engine messages 2010-05-20 16:05:15 +02:00
Kathy Gray
f300ba967a Changed syntax of check-member-of so that it will work in htdp-beginner
Updated docs to reflect this

svn: r16065
2009-09-18 14:19:50 +00:00
Kathy Gray
fcbe2cd7d3 Adding check-member-of and check-range
svn: r16045
2009-09-17 15:50:57 +00:00
Kathy Gray
07b104e939 Remove trace error and broken implementation
svn: r15956
2009-09-10 14:03:26 +00:00
Kathy Gray
c1cc6328a5 Removed write to display-reason
svn: r14920
2009-05-22 15:23:29 +00:00
Mike Sperber
1408502378 Translate the messages from the test engine.
This requires some refactoring to move the relevant message generation
to test-display.scm.

svn: r14668
2009-04-30 12:32:02 +00:00
Robby Findler
119b5bf0fa added the usual menus to the test window; also 'open' on the mac and drag and drop now work properly
svn: r12642
2008-11-30 04:47:23 +00:00
Kathy Gray
cc25f3852f Corrected bug in test display and custodians shutting down windows. (Had accidentally put the gui actions back on the user's eventspace)
Commit is for the release

svn: r12493
2008-11-18 17:10:19 +00:00
Kathy Gray
59609e8910 This commit should affect the 4.1.2 release; it removes the buggy bug-fix.
svn: r12115
2008-10-24 13:12:42 +00:00
Kathy Gray
20e8888dad Turned blank window into a window with sensible content instead
svn: r12037
2008-10-14 16:44:20 +00:00
Kathy Gray
c8dce8dccd Erase the contents of a test report after success.
svn: r12035
2008-10-14 16:29:24 +00:00
Kathy Gray
0f01d3202d Turning on exceptions in check-expect
svn: r11385
2008-08-22 14:25:53 +00:00
Kathy Gray
bd12705f83 svn: r11380 2008-08-22 12:25:03 +00:00
Kathy Gray
488bbd3829 Added string-constants for test-engine menu items.
Moved Enable/disable to language-X menu, and updated docs

Sending old test window support to the 'attic'

svn: r9824
2008-05-13 15:50:25 +00:00
Kathy Gray
bb90917e8c Correcting a bug that lost checks not in methods
Changing menu dialogs style, and placement for Dock

svn: r9817
2008-05-12 21:24:19 +00:00
Kathy Gray
a48f4923b6 Puts the test display on drscheme's eventspace, even when we don't have a rep yet
Doesn't make a link when there's no editor to link to

svn: r9636
2008-05-03 23:17:59 +00:00
Kathy Gray
2d12ca4a62 Display correction
svn: r9466
2008-04-24 22:55:40 +00:00
Kathy Gray
c15f41f948 Integrating support for enabling/disabling testing
Including support for language-level appropriate printing

svn: r9331
2008-04-16 15:59:14 +00:00
Kathy Gray
9ad02ea7d9 Adding test menu item
svn: r9319
2008-04-15 15:30:15 +00:00
Kathy Gray
cec232b83f Decouple depnendce on mred
svn: r9208
2008-04-08 21:30:38 +00:00
Eli Barzilay
22f506d718 formatting, v4-isms, props, etc
svn: r9168
2008-04-05 16:10:01 +00:00
Kathy Gray
4047d38184 Slight bug fix for path display
svn: r9162
2008-04-04 12:10:33 +00:00
Kathy Gray
7a6dff6d19 Merging testing branch (kathyg/test-harnessv4-2) onto trunk: -r8903:9138
svn: r9160
2008-04-04 11:30:36 +00:00