Marcel Taeumel uploaded a new version of FFI-PoolsTests to project FFI:
http://source.squeak.org/FFI/FFI-PoolsTests-mt.7.mcz ==================== Summary ==================== Name: FFI-PoolsTests-mt.7 Author: mt Time: 27 May 2020, 11:12:23.024317 am UUID: d45a1c07-7c94-5240-9827-f66e61c613df Ancestors: FFI-PoolsTests-eem.6 Complements FFI-Kernel-mt.75. Fixes typo "Genreator" -> "Generator". =============== Diff against FFI-PoolsTests-eem.6 =============== Item was changed: ----- Method: FFIExternalSharedPoolTest>>platformClass (in category 'defaults') ----- platformClass + ^ FFIPlatformDescription! - ^ FFIExternalSharedPoolPlatform! Item was changed: ----- Method: FFIExternalSharedPoolTest>>testInheritance (in category 'tests') ----- testInheritance | sharedPool definitions defaultDefinition emptyDefinition overrideDefinition | sharedPool := FFITestInheritanceExternalSharedPool. definitions := sharedPool resolvedDefinitions. self assert: definitions size equals: 3. defaultDefinition := definitions detect: [:each | each isDefault]. emptyDefinition := definitions detect: [:each | each name = #empty]. overrideDefinition := definitions detect: [:each | each name = #override]. self assertIsDefaultDefinition: defaultDefinition for: sharedPool. self deny: emptyDefinition isDefault; assert: emptyDefinition inheritsFrom isNil; assert: emptyDefinition cCompiler equals: defaultDefinition cCompiler; assert: emptyDefinition cFlags equals: defaultDefinition cFlags; assert: emptyDefinition cHeaders equals: defaultDefinition cHeaders; assert: emptyDefinition platform equals: defaultDefinition platform; assert: emptyDefinition programGeneratorClass equals: defaultDefinition programGeneratorClass; assert: emptyDefinition variablesAndTypes equals: defaultDefinition variablesAndTypes. self deny: overrideDefinition isDefault; assert: overrideDefinition inheritsFrom equals: #empty; assert: overrideDefinition cCompiler equals: 'testCompiler'; assert: overrideDefinition cFlags equals: 'testFlags'; assert: overrideDefinition cHeaders equals: #('<testHeader.h>' '"testLocalHeader.h"' '<testImplicitGlobalHeader.h>'); assert: overrideDefinition platform equals: self newTestPlatform; assert: overrideDefinition programGeneratorClass + equals: FFITestExternalSharedPoolProgramGenerator; - equals: FFITestExternalSharedPoolProgramGenreator; assert: overrideDefinition variablesAndTypes equals: (Dictionary withAll: {#One -> Float. #Two -> Integer}).! Item was added: + FFIExternalSharedPoolProgramGenerator subclass: #FFITestExternalSharedPoolProgramGenerator + instanceVariableNames: '' + classVariableNames: '' + poolDictionaries: '' + category: 'FFI-PoolsTests'! + + !FFITestExternalSharedPoolProgramGenerator commentStamp: 'monty 4/1/2018 07:47' prior: 0! + A stub used during testing.! Item was removed: - FFIExternalSharedPoolProgramGenerator subclass: #FFITestExternalSharedPoolProgramGenreator - instanceVariableNames: '' - classVariableNames: '' - poolDictionaries: '' - category: 'FFI-PoolsTests'! - - !FFITestExternalSharedPoolProgramGenreator commentStamp: 'monty 4/1/2018 07:47' prior: 0! - A stub used during testing.! |
Free forum by Nabble | Edit this page |