Stevie Strickland
30864fc1d0
I dunno why, but this reads much better to me.
...
svn: r18200
2010-02-20 00:08:49 +00:00
Stevie Strickland
95438db40f
Add set-field!. Because it's useful, because we have get-field, so why
...
not it, and because it's an easy way to later test external field contracts.
svn: r18199
2010-02-19 23:55:39 +00:00
Sam Tobin-Hochstadt
33c18b3985
providing static struct information to untyped code works
...
svn: r18198
2010-02-19 23:27:06 +00:00
Sam Tobin-Hochstadt
d9fabc314b
add map/values from carl, and `debug' prints exceptions
...
svn: r18197
2010-02-19 23:25:14 +00:00
Robby Findler
f7447ee6ae
added alt-1 thru alt-9 as keyboard shortcuts to switch between tabs
...
svn: r18196
2010-02-19 23:15:29 +00:00
Stevie Strickland
de859a8879
Fix up Sam's use of make-provide/contract-transformer after Robby's change
...
to it for bug 10645.
svn: r18195
2010-02-19 21:57:03 +00:00
Jay McCarthy
7d1a739df5
Adding comments and specs to parser.
...
Clarifying comments in marshaller. Supporting small numbers, small symbols, small marshalleds, small (proper) lists, small svectors, all-from-module long form
Improving inequality detector in tester: regexps and uninterned symbols
Correcting doc contract
svn: r18194
2010-02-19 19:47:15 +00:00
Robby Findler
7aa6ea4c76
PR 10645
...
svn: r18193
2010-02-19 19:43:14 +00:00
James Swaine
9170687148
moved futures random tests into /collects/tests/future
...
svn: r18192
2010-02-19 19:26:55 +00:00
James Swaine
cb12a81daf
added test notes to futures test suite
...
svn: r18191
2010-02-19 19:21:03 +00:00
James Swaine
a7332c09a2
moved futures tests to collects/tests/future directory
...
svn: r18190
2010-02-19 19:17:59 +00:00
Stevie Strickland
e9264b1fac
Syncing up before class.
...
svn merge ^/trunk
svn: r18188
2010-02-19 16:43:03 +00:00
Robby Findler
47b5892c92
probable fix to problems with this file (make sure find-relative-path's first argument is a directory)
...
svn: r18187
2010-02-19 15:29:54 +00:00
Robby Findler
94880b4733
changed some one-of/c's to or/c's
...
svn: r18185
2010-02-19 15:03:12 +00:00
Eli Barzilay
94666a89cd
Welcome to a new PLT day.
...
svn: r18183
2010-02-19 08:50:39 +00:00
Ryan Culpepper
cb16dde709
macro-debugger: some work on syntax snips
...
svn: r18182
2010-02-19 05:45:54 +00:00
Stevie Strickland
6777fc31a3
Rewrite this a little to make it clear that we're now only checking the
...
super class's beta-methods vector to make sure this is even an overrideable
method.
svn: r18181
2010-02-19 04:59:05 +00:00
Stevie Strickland
55d39b0035
It was a good thing I decided to add some super/inner mixed examples here,
...
because it pointed out a bug in my implementation where we weren't getting
the right version of the super method (which gets the projection).
svn: r18180
2010-02-19 04:40:10 +00:00
Stevie Strickland
5cc68fdd0f
In some ways, I'm still trying to decide exactly what some of these forms mean.
...
For example, if we're in the java part of a beta-java chain, can we still add
an inner contract? If so, it should affect each java-style overriding method
until we reach the next beta-style augmenting method.
It can just be confusing, because one might thing that inner in a
contract => needs an augmenting method in the subclass, super => needs
an overriding method in the subclass. The latter is true, since only
the next immediate method can reach the super class's implementation,
but inner jumps to the next augmenting method, so the former isn't
necessarily true.
svn: r18179
2010-02-19 04:27:44 +00:00
Matthias Felleisen
982820fba2
fixed double-def of empty-scene
...
svn: r18177
2010-02-19 01:06:11 +00:00
Stevie Strickland
b59955bc01
Ah, that'd be the issue. THE TESTS WERE WRONG. All's well, and I've even
...
added a couple more tests to make sure we apply the projections in the right
order.
svn: r18176
2010-02-19 00:34:27 +00:00
Stevie Strickland
7fe863e792
Inner tests! They almost all fail! BUT WE SHALL CHANGE THAT.
...
svn: r18175
2010-02-19 00:09:47 +00:00
Stevie Strickland
2b92ea9225
Start inner projections work. Next, test cases, then I'll fix the test
...
cases by implementing the rest.
svn: r18174
2010-02-18 23:54:56 +00:00
Stevie Strickland
da7473b867
TEST DRIVEN DEVELOPMENT.
...
svn: r18173
2010-02-18 23:35:58 +00:00
Stevie Strickland
6fcb61cc11
Add some test cases for super.
...
svn: r18172
2010-02-18 23:34:35 +00:00
Stevie Strickland
f8d5234148
Simplify the test case. Also, spam both my and Sam's inboxes.
...
svn: r18171
2010-02-18 23:24:15 +00:00
Stevie Strickland
38522f0dca
A tricky case, this.
...
svn: r18170
2010-02-18 23:22:51 +00:00
Stevie Strickland
301ac0e5f3
The simplest of all the contract features to handle.
...
svn: r18169
2010-02-18 23:17:48 +00:00
Stevie Strickland
cc52bcd197
Start throwing in higher-order checks.
...
svn: r18168
2010-02-18 23:09:42 +00:00
Stevie Strickland
8d9eda1459
I think that finishes all the first order tests.
...
svn: r18167
2010-02-18 22:53:35 +00:00
Ryan Culpepper
b68494250f
scheme/pretty: added quasisyntax reader macro
...
macro-debugger: added change layout menu items
svn: r18166
2010-02-18 22:53:11 +00:00
Stevie Strickland
b15dd9e689
You'll gasp, you'll cheer, you'll scream! MORE TESTS.
...
svn: r18165
2010-02-18 22:44:58 +00:00
Stevie Strickland
ce04db35a0
Rename tests to be more specific, start inner tests, fix introduced bug.
...
svn: r18164
2010-02-18 22:27:34 +00:00
Stevie Strickland
690b82da14
Check lots of crazy special cases for super contracts.
...
svn: r18163
2010-02-18 22:16:29 +00:00
Stevie Strickland
a7d8507e3c
Actually, these have slightly different conditions. super contracts require
...
an overrideable method (augride is okay), whereas override contracts require
a method which has never been augmentable (i.e. no pubments or overments).
svn: r18162
2010-02-18 22:11:01 +00:00
Stevie Strickland
87c5e94fc3
Filter out overrideable checks for both super and override contracts, add
...
check against final methods (and change check for augmentable ones).
svn: r18161
2010-02-18 22:06:41 +00:00
Stevie Strickland
7abafad8b1
Tests of super contracts. Failing test here, because we're not checking for
...
non-final public methods when adding super (or later, override) contracts.
We should check for that in both cases, as the contract suggests that the
method in question is overrideable.
svn: r18160
2010-02-18 21:54:27 +00:00
Stevie Strickland
0971d37b70
Add first order checks for public fields and methods for both class/c
...
and object/c.
svn: r18159
2010-02-18 21:50:55 +00:00
Stevie Strickland
6e462ecb38
Forgot to quote the test expressions, which showed up once I added a
...
testcase for a blame error.
svn: r18158
2010-02-18 21:42:20 +00:00
Stevie Strickland
eeb2b52731
Start the MASSIVE TESTSUITE.
...
svn: r18157
2010-02-18 21:37:55 +00:00
Sam Tobin-Hochstadt
d9f24d94e7
disable contracts
...
svn: r18156
2010-02-18 21:25:06 +00:00
Jay McCarthy
fb73b168d1
Adding testing for zo parser/marshaller/decompiler
...
svn: r18155
2010-02-18 21:07:05 +00:00
Robby Findler
8424dea37b
avoid doing mac os x-specific tests unless under mac os x
...
svn: r18154
2010-02-18 20:36:03 +00:00
Stevie Strickland
126c3958b2
Add in different method tables for super calls and internal dynamic dispatch.
...
Eventually the latter will become a table to vectors of methods instead, but
until I start handling override/augment contracts, we can use the simplified
version.
svn: r18153
2010-02-18 19:50:59 +00:00
Stevie Strickland
ebb065aca8
Before I start moving stuff over today...
...
svn merge ^/trunk
svn: r18152
2010-02-18 19:45:16 +00:00
Kevin Tew
202c056c53
tests file.ss use random port
...
svn: r18151
2010-02-18 18:54:53 +00:00
Jay McCarthy
25dbc6a418
Test cleanup
...
svn: r18150
2010-02-18 16:14:41 +00:00
Robby Findler
b51f3e0940
more debugging information printed
...
svn: r18148
2010-02-18 13:54:39 +00:00
Eli Barzilay
3ec0cb2731
Welcome to a new PLT day.
...
svn: r18146
2010-02-18 08:50:32 +00:00
Stevie Strickland
b18283b626
Keeping up with trunk.
...
svn merge ^/trunk
svn: r18145
2010-02-18 04:34:09 +00:00