The Inbox: Tests-pre.347.mcz

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

The Inbox: Tests-pre.347.mcz

commits-2
Patrick Rein uploaded a new version of Tests to project The Inbox:
http://source.squeak.org/inbox/Tests-pre.347.mcz

==================== 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') -----
  expectedFailures
+
+ ^#(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') -----
  testSourceRangeAccessForBlueBookInjectInto
  "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!