[squeak-dev] The Trunk: Tests-pre.347.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Feb 13 20:31:21 UTC 2019

Nicolas Cellier uploaded a new version of Tests to project The Trunk:

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

Name: Tests-pre.347
Author: pre
Time: 23 July 2016, 2:20:08.768962 pm
UUID: 8272055d-5600-c34b-aac4-9c29a9fda5e5
Ancestors: Tests-pre.346

Adds a Compiler test to the list of expected failures as it can not currently work in an image only using the V3PlusClosures encoder. The test is expected to be executable in an image which uses the V3Encoder.

=============== Diff against Tests-pre.346 ===============

Item was changed:
  ----- Method: ClosureCompilerTest>>expectedFailures (in category 'failures') -----
+ 	^#(testDebuggerTempAccess testInjectIntoDecompilations testInjectIntoDecompiledDebugs)  ,
+ 	(({CompiledMethod classPool at: #SecondaryBytecodeSetEncoderClass .
+ 	   CompiledMethod classPool at: #PrimaryBytecodeSetEncoderClass}
+ 		includes: EncoderForV3)
+ 			ifFalse: [#(testSourceRangeAccessForBlueBookInjectInto)]
+ 			ifTrue: [#()])
+ 	!
- 	^#(testDebuggerTempAccess testInjectIntoDecompilations testInjectIntoDecompiledDebugs)!

Item was changed:
  ----- Method: ClosureCompilerTest>>testSourceRangeAccessForBlueBookInjectInto (in category 'tests') -----
  	"Test debugger source range selection for inject:into: for a version compiled with closures"
  	"self new testSourceRangeAccessForBlueBookInjectInto"
  	| source method |
+ 	[source := (Collection sourceCodeAt: #inject:into:) asString.
- 	source := (Collection sourceCodeAt: #inject:into:) asString.
  	method := (Parser new
  						encoderClass: EncoderForV3;
  						parse: source
  						class: Collection)
  					generate: (Collection compiledMethodAt: #inject:into:) trailer.
+ 	self supportTestSourceRangeAccessForInjectInto: method source: source.]
+ 		on: Error
+ 		do: [:e | self fail: e.]!
- 	self supportTestSourceRangeAccessForInjectInto: method source: source!

More information about the Squeak-dev mailing list