From 1485a5abec591f13cf59c8d714e600049af58ca5 Mon Sep 17 00:00:00 2001 From: Marcus Denker Date: Wed, 12 Jul 2023 11:30:47 +0200 Subject: [PATCH] fixes #555 --- ...ebuggerExtensionGeneratorForTests.class.st | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/NewTools-Debugger-Tests/StDebuggerExtensionGeneratorForTests.class.st b/src/NewTools-Debugger-Tests/StDebuggerExtensionGeneratorForTests.class.st index e0515e81b..38fd3278b 100644 --- a/src/NewTools-Debugger-Tests/StDebuggerExtensionGeneratorForTests.class.st +++ b/src/NewTools-Debugger-Tests/StDebuggerExtensionGeneratorForTests.class.st @@ -11,16 +11,16 @@ Class { { #category : #running } StDebuggerExtensionGeneratorForTests class >> generateTestClass [ - SpPresenter - subclass: #TStDebuggerExtensionTestClass - uses: TStDebuggerExtension - instanceVariableNames: '' - classVariableNames: '' - package: 'NewTools-Debugger-Tests-Model'. - Smalltalk compiler - class: (Smalltalk at: #TStDebuggerExtensionTestClass) class; - source: 'defaultLayout ^ SpBoxLayout newVertical'; - compile + self classInstaller make: [ :builder | + builder + name: #TStDebuggerExtensionTestClass; + traitComposition: TStDebuggerExtension; + superclass: SpPresenter; + category: 'NewTools-Debugger-Tests-Model'. ]. + + self testClass class compile: 'defaultLayout ^ SpBoxLayout newVertical'. + self testClass class compile: 'isOnlyForTests ^ true'. + self testClass compile: 'debuggerExtensionToolName ^ ''TStDebuggerExtensionTestClass'''. ] { #category : #running }