Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
exceptions
deprecationExceptionSet
"Answer the exception set that should considered besides WADeprecation."
^ ExceptionSet new
add: Deprecation;
yourself
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
exceptions
deprecationExceptionSet
"Answer the exception set that should considered besides WADeprecation."
^ ExceptionSet new
add: Deprecation;
yourself
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
exceptions
deprecationExceptionSet
"Answer the exception set that should considered besides WADeprecation."
^ ExceptionSet new
add: Deprecation;
yourself
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
tests
testDeprecationExceptionSet
| value |
value := [
"intentially send Pharo instead of Grease deprecation message"
self deprecated: 'test'.
'failed' ]
on: GRDeprecatedApiNotification, GRPlatform current deprecationExceptionSet
do: [ :e | 'passed' ].
self assert: value = 'passed'