Skip to content

Commit

Permalink
Merge pull request #565 from MarcusDenker/555-use-classbuilder-direct…
Browse files Browse the repository at this point in the history
…ly-StDebuggerExtensionGeneratorForTests-classgenerateTestClass

555-use-classbuilder-directly-StDebuggerExtensionGeneratorForTests-classgenerateTestClass
  • Loading branch information
jecisc authored Jul 27, 2023
2 parents f0e5a12 + 1485a5a commit 69e3a3e
Showing 1 changed file with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down

0 comments on commit 69e3a3e

Please sign in to comment.