The Inbox: ShoutTests-ct.33.mcz

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

The Inbox: ShoutTests-ct.33.mcz

commits-2
Christoph Thiede uploaded a new version of ShoutTests to project The Inbox:
http://source.squeak.org/inbox/ShoutTests-ct.33.mcz

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

Name: ShoutTests-ct.33
Author: ct
Time: 12 January 2020, 3:05:47.066555 am
UUID: 1fcee68f-bdaf-cc45-9377-198b375328b1
Ancestors: ShoutTests-ct.32

Tests ShoutCore-ct.78

=============== Diff against ShoutTests-ct.32 ===============

Item was added:
+ ----- Method: SHParserST80Test>>testContextDependentStylingSeries (in category 'tests') -----
+ testContextDependentStylingSeries
+
+ | context parser |
+ parser := SHParserST80 new.
+ parser parseAMethod: false.
+ context := thisContext copy.
+
+ parser rangesIn: '' classOrMetaClass: nil class workspace: nil  environment: nil context: context.
+ parser initializeInstanceVariables.
+ self assert: #(context parser) equals: parser activeTemporaries flatten.
+
+ context
+ instVarNamed: #closureOrNil put: nil;
+ privRefreshWith: (context receiver class compilerClass new
+ compile: (context method getSource copyReplaceAll: 'parser' with: 'anotherParser')
+ in: nil class
+ notifying: nil
+ ifFail: [self error]) generateWithTempNames;
+ singleRelease.
+ parser initializeInstanceVariables.
+ self assert: #(context anotherParser) equals: parser activeTemporaries flatten.!