You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
setUp
super setUp.
package :=RPackageOrganizer default createPackageNamed:'Package-Test-For-Chanel'.
extensionPackage :=RPackageOrganizer default createPackageNamed:'ExtensionPackage-Test-For-Chanel'.
"We only save the formatter if it is not the one used in the tests. The reason is that, while debugging a test, if it fails and is rerun, the set up is runned twice and the formatter used in tests will be saved in `previousFormatter`. With this guard, we avoid this case."RBProgramNode formatterClass =RBSimpleFormatterifFalse: [ previousFormater :=RBProgramNode formatterClass.
RBProgramNodeformatterClass:RBSimpleFormatter ]
as
setUp
super setUp.
package :=RPackageOrganizer default createPackageNamed:'Package-Test-For-Chanel'.
extensionPackage :=RPackageOrganizer default createPackageNamed:'ExtensionPackage-Test-For-Chanel'.
"We only save the formatter if it is not the one used in the tests. The reason is that, while debugging a test, if it fails and is rerun, the set up is runned twice and the formatter used in tests will be saved in `previousFormatter`. With this guard, we avoid this case."RBProgramNode formatterClass =RBSimpleFormatterifTrue: [ ^self ].
previousFormater :=RBProgramNode formatterClass.
RBProgramNodeformatterClass:RBSimpleFormatter
The text was updated successfully, but these errors were encountered:
For example, would rewrite
as
The text was updated successfully, but these errors were encountered: