[Pkg] FFI: FFI-CallbacksTests-mt.5.mcz

commits at source.squeak.org commits at source.squeak.org
Thu Aug 12 07:54:11 UTC 2021


Marcel Taeumel uploaded a new version of FFI-CallbacksTests to project FFI:
http://source.squeak.org/FFI/FFI-CallbacksTests-mt.5.mcz

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

Name: FFI-CallbacksTests-mt.5
Author: mt
Time: 12 August 2021, 9:53:31.139222 am
UUID: 618d3b35-9052-d947-852e-1be522531e68
Ancestors: FFI-CallbacksTests-mt.4

Adds test for recent bugfixes.

=============== Diff against FFI-CallbacksTests-mt.4 ===============

Item was added:
+ ----- Method: FFICallbackTests>>test10CompilationOrder (in category 'tests') -----
+ test10CompilationOrder
+ 
+ 	| order target requirements |
+ 	order := ExternalStructure allStructuresInCompilationOrder readStream.
+ 	target := #FFICallbackContext.
+ 	requirements := #( FFICallbackResult FFICallback ).
+ 	requirements, {target} do: [:nextClassName |
+ 		[order peek name ~= nextClassName] whileTrue: [
+ 			self
+ 				assert: order next name ~= target
+ 				description: 'Could not find expected compilation order for ', target;
+ 				deny: order atEnd
+ 				description: 'Compilation units missing!!'].
+ 		order reset].!



More information about the Packages mailing list