racket/collects/tests/gracket
2012-01-09 16:08:28 -07:00
..
.gitignore
auto.rktl
blits.rkt
button-steps.txt
cache-image8.mre
canvas-steps.txt
checkbox-steps.txt
choice-list-steps.txt
combo-steps.txt cocoa and gtk: fix combo% `on-popup' method 2010-11-05 15:54:56 -06:00
dc.rktl speed up mult/unmult in `{get,set}-argb-pixels' 2011-08-26 09:13:28 -06:00
draw-info.txt
draw-mem.rkt make draw-mem test more reliable 2012-01-09 16:08:28 -07:00
draw.rkt fix `text-outline' test to include a curve 2011-12-26 06:27:22 -06:00
editor.rktl add a test for undo-clickback repair 2011-08-26 06:07:57 -06:00
flush-stress.rkt manual tests for refresh behavior 2010-11-12 20:47:07 -07:00
frame-steps.txt
gauge-steps.txt
gui-main.rktl
gui.rktl
image-snip-unmarshalling.rkt adjust the wxme reader so that it now creates image-snip%s when it finds image-snips in file 2011-02-02 20:26:52 -06:00
info.rkt Remove a bunch of no-longer-needed `compile-omit-paths', and move the 2011-08-29 16:33:12 -04:00
item.rkt add on-subwindow-focus' to window<%>' 2012-01-07 21:17:12 -07:00
loadtest.rktl
media3.mre
media6.mre
media8.mre
mediastream.example
mem.rkt ".ss" -> ".rkt" scan done. 2011-07-02 10:37:53 -04:00
menu-steps.txt
nruter.xbm
paramz.rktl some fixes prompted by the test suite 2010-11-05 15:54:48 -06:00
png.rktl
prog6.mre
prog8.mre
radiobox-steps.txt
random.rktl Recketizing much in `net/*', mass ".ss" -> ".rkt" conversion in .scrbl files. 2011-06-20 04:27:14 -04:00
README
record-dc.rkt for record-dc%', record initial configuration after each erase' 2011-12-25 19:26:39 -06:00
showkey.rkt cocoa mouse event and cursor fixes 2010-11-05 15:54:22 -06:00
sixlib.rktl
slider-steps.txt
test-editor-admin.rkt
testbox6.mre
testbox8.mre
testing.rktl The new error messages now pass the tests/language-test.rkt suite 2011-07-06 00:19:26 -04:00
text-scale.rktl
unflushed-circle.rkt manual tests for refresh behavior 2010-11-12 20:47:07 -07:00
windowing.rktl avoid `racket/gui' tests that can't work on X 2011-12-18 07:27:32 -07:00
wxme-doc-random.rkt
wxme-random.rkt
wxme.rkt add missing test for text% tab fix 2011-10-13 06:03:10 -06:00

The "item.rkt" test (use `require') creates a frame to select among
several types of control-testing frames. Click the `Get Instructions'
button in the top-left for more information.

---------------------------------------------------------------------------

The "draw.rkt" test (use load/cd) tests drawing commands. Click the
"What Should I See?" button for further details.

---------------------------------------------------------------------------

The "mem.rktl" test is loaded at startup:
  gracket -r mem.rktl
Creates a lot of frames and instance of other objects, reporting
memory information along the way. At the end, before the last memory
dump, objects that are still allocated are displayed like this:
  (frame (1 . 5))
This means that the frame allocated by thread #1 at cycle 5
(counting down from some number) hasn't been garbage-collected.
If there's a few of these lines (around 10), that's ok.
A large number of lines (say, 50) indicates a GC problem.

---------------------------------------------------------------------------

[Out of date:]
The "random.rktl" test is a randomized test of the GRacket classes that tests
GRacket's stability. Load "random.rktl", and then run
  (init)
This attempts to create instances of classes using random
intialization arguments. (init) can be run any number of times. 
(2 is a good number) Then run
  (call-all-random) 
This calls every method of every class (skipping some "dangerous" ones
that modify the file system) with a random instance and with random
arguments.

To avoid testing much of the wxMedia toolbox, which is likely to be
platform-independent, (define skip-media? #t) before loading
"random.rktl".


==================================================
Old Stuff
==================================================

---------------------------------------------------------------------------

The "imred.rktl" test is used to check for memory leaks in a loop
invoking the gracket system. Call the `go' procedure with a list
of symbol flags:
  'force not included:
     Use the current eventspaces; expects mred:run-exit-callbacks
     to terminate everything properly
  'force included:
     Use a new eventspace; don't run mred:run-exit-callbacks and
     call wx:kill-eventspace instead.
  'console included:
     Open a GRacket console
  'thread included:
     Spawn a sleeping-and-looping thread during each invocation.
     Also tests semaphore-callback (because it has to)
  'eventspace included:
     Create a new sub-eventspace during each invocation with
     a wx:frame% shown

---------------------------------------------------------------------------

"startup" tests the startup flags of gracket.
run "run.rktl" from that directory.

---------------------------------------------------------------------------

"frame-edit.rktl" checks that various frames match with various
edits. Under construction.

---------------------------------------------------------------------------

"gui.rktl" tests:
 - save prompting (before closing unsaved files) and
 - autosaving 

evaluate `(load "gui.rktl")' in the console to run.

It also overwrites the file "tmp.rktd" in the testing directory.

---------------------------------------------------------------------------