Skip to content

Commit

Permalink
Cleaning dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
guillep committed Sep 7, 2023
1 parent 4b1754a commit 8e1a5a2
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
8 changes: 5 additions & 3 deletions src/BaselineOfMethodProxies/BaselineOfMethodProxies.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,15 @@ BaselineOfMethodProxies >> baseline: spec [

<baseline>
spec for: #common do: [
spec package: #MethodProxies;
spec
package: #MethodProxies;
package: #'MethodProxies-Tests'
with: [ spec requires: #( #MethodProxies ) ];
with: [ spec requires: #( #MethodProxies #MethodProxiesExamples ) ];
package: #MethodProxiesExamples
with: [ spec requires: #( #MethodProxies ) ];
package: #'MethodProxiesExamples-Tests'
with: [ spec requires: #( #MethodProxiesExamples ) ].
with: [
spec requires: #( #'MethodProxies-Tests' ) ].

spec
group: 'Core' with: #( #MethodProxies );
Expand Down
2 changes: 1 addition & 1 deletion src/MethodProxies-Tests/MpMethodProxyTest.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ MpMethodProxyTest >> testExceptionsAfterInstrumentationFlow [
MpMethodProxyTest >> testExceptionsDuringInstrumentationDoNotBreakInstrumentation [
"Managing exceptions in the wrapper"
| w |
w := MpMethodProxy onMethod: MpClassB >> #methodTwo handler: MpFailingHandlerMock new.
w := MpMethodProxy onMethod: MpClassB >> #methodTwo handler: MpFailingBeforeHandler new.

self installMethodProxy: w.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ I'm an example handler for testing purposes that fails on before.
I'm used to check that the infrastructure does not collapse when a handler fails
"
Class {
#name : #MpFailingHandlerMock,
#name : #MpFailingBeforeHandler,
#superclass : #MpHandler,
#category : #MethodProxiesExamples
}

{ #category : #evaluating }
MpFailingHandlerMock >> beforeMethod [
MpFailingBeforeHandler >> beforeMethod [

self error: 'error during instrumentation'
]
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Class {
#name : #MpMockMethodProxyHandler,
#superclass : #MpHandler,
#category : #'MethodProxies-Tests'
#category : #MethodProxiesExamples
}

{ #category : #evaluating }
Expand Down

0 comments on commit 8e1a5a2

Please sign in to comment.