Skip to content

Commit

Permalink
moved up class methods
Browse files Browse the repository at this point in the history
  • Loading branch information
Durieux Pol committed Feb 21, 2024
1 parent ab2b553 commit 1e836a0
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 36 deletions.
18 changes: 0 additions & 18 deletions src/MuTalk-Model/MTPragmaRejectionTestFilter.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,6 @@ Class {
#tag : 'Test filters'
}

{ #category : 'instance creation' }
MTPragmaRejectionTestFilter class >> for: aPragmaSelector [

^ self new
condition: aPragmaSelector;
pragmaArguments: #( );
yourself
]

{ #category : 'instance creation' }
MTPragmaRejectionTestFilter class >> for: aPragmaSelector arguments: pragmaArguments [

^ self new
condition: aPragmaSelector;
pragmaArguments: pragmaArguments;
yourself
]

{ #category : 'enumerating' }
MTPragmaRejectionTestFilter >> filterTests: aTestCaseCollection [

Expand Down
18 changes: 0 additions & 18 deletions src/MuTalk-Model/MTPragmaSelectionTestFilter.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,6 @@ Class {
#tag : 'Test filters'
}

{ #category : 'instance creation' }
MTPragmaSelectionTestFilter class >> for: aPragmaSelector [

^ self new
condition: aPragmaSelector;
pragmaArguments: #( );
yourself
]

{ #category : 'instance creation' }
MTPragmaSelectionTestFilter class >> for: aPragmaSelector arguments: pragmaArguments [

^ self new
condition: aPragmaSelector;
pragmaArguments: pragmaArguments;
yourself
]

{ #category : 'enumerating' }
MTPragmaSelectionTestFilter >> filterTests: aTestCaseCollection [

Expand Down
15 changes: 15 additions & 0 deletions src/MuTalk-Model/MTPragmaTestFilter.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,21 @@ Class {
#tag : 'Test filters'
}

{ #category : 'instance creation' }
MTPragmaTestFilter class >> for: aPragmaSelector [

^ self for: aPragmaSelector arguments: #( )
]

{ #category : 'instance creation' }
MTPragmaTestFilter class >> for: aPragmaSelector arguments: pragmaArguments [

^ self new
condition: aPragmaSelector;
pragmaArguments: pragmaArguments;
yourself
]

{ #category : 'testing' }
MTPragmaTestFilter class >> isAbstract [

Expand Down

0 comments on commit 1e836a0

Please sign in to comment.