The Trunk: ToolsTests-ar.4.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: ToolsTests-ar.4.mcz

commits-2
Andreas Raab uploaded a new version of ToolsTests to project The Trunk:
http://source.squeak.org/trunk/ToolsTests-ar.4.mcz

==================== Summary ====================

Name: ToolsTests-ar.4
Author: ar
Time: 5 April 2010, 9:10:18.12 pm
UUID: a9ffac5e-c245-b544-82ca-0bdc36f6b027
Ancestors: ToolsTests-ul.3

Remove testDebuggerUnwindWithStep because it relied on a particular implementation of Semaphore>>critical: which has changed. The test simply can't work in the way it's been written.

=============== Diff against ToolsTests-ul.3 ===============

Item was removed:
- ----- Method: DebuggerUnwindBug>>testUnwindDebuggerWithStep (in category 'as yet unclassified') -----
- testUnwindDebuggerWithStep
- "test if unwind blocks work properly when a debugger is closed"
- | sema process debugger top |
- sema := Semaphore forMutualExclusion.
- self assert: sema isSignaled.
- process := [sema critical:[sema wait]] forkAt: Processor userInterruptPriority.
- self deny: sema isSignaled.
-
- "everything set up here - open a debug notifier"
- debugger := Debugger openInterrupt: 'test' onProcess: process.
- "get into the debugger"
- debugger debug.
- top := debugger topView.
- "set top context"
- debugger toggleContextStackIndex: 1.
- "do single step"
- debugger doStep.
- "close debugger"
- top delete.
-
- "and see if unwind protection worked"
- self assert: sema isSignaled.!