File tree Expand file tree Collapse file tree 7 files changed +8
-8
lines changed
packages/SwaLint-Tests.package
SLPlugInTestExtended.class
SLSmallLintPlugInTest.class Expand file tree Collapse file tree 7 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 77
88 testDictionary := (Dictionary new ).
99 testRunner := SLTestRunner new
10- testEnvironment: ( SLTestCase dummyEnvironment copy) ;
10+ testEnvironment: self class dummyEnvironment copy;
1111 testDictionary: testDictionary.
1212
1313 self resetTestSystem
Original file line number Diff line number Diff line change 88 "plugIn:" : " MB 7/22/2014 12:25" ,
99 "plugInClass" : " MB 7/22/2014 12:25" ,
1010 "resetTestSystem" : " MT 7/23/2014 22:36" ,
11- "setUp" : " ct 12/22/2024 05:08 " } }
11+ "setUp" : " ct 10/4/2025 02:43 " } }
Original file line number Diff line number Diff line change 11running
22setUp
33
4- testRunner := SLTestRunner new testEnvironment: ( SLTestCase dummyEnvironment copy) .
4+ testRunner := SLTestRunner new testEnvironment: self class dummyEnvironment copy.
Original file line number Diff line number Diff line change 33 },
44 "instance" : {
55 "printResults:expected:if:" : " AT 2/7/2008 07:53" ,
6- "setUp" : " ct 12/22/2024 05:08 " ,
6+ "setUp" : " ct 10/4/2025 02:43 " ,
77 "test:on:expectedResults:" : " NR 1/16/2008 18:11" ,
88 "test:on:expectedResults:debug:" : " BD 6/21/2018 14:25" } }
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ testRuleFor
44 | plugin rule |
55 plugin := SLSmallLintPlugIn new .
66 rule := plugin ruleFor:
7- (SLTestCase dummyEnvironment testDataFor: #smallLintClassInstVarNotInitialized ).
7+ (self class dummyEnvironment testDataFor: #smallLintClassInstVarNotInitialized ).
88
99 self assert: [
1010 rule name = ' Has class instance variables but no initialize method' ].
Original file line number Diff line number Diff line change 5858 "testReturnInEnsure" : " LS 6/16/2018 14:18" ,
5959 "testReturnsBooleanAndOther" : " LS 6/16/2018 14:18" ,
6060 "testReturnsIfTrue" : " LS 6/16/2018 14:18" ,
61- "testRuleFor" : " NA 7/29/2015 16:42 " ,
61+ "testRuleFor" : " ct 10/4/2025 02:43 " ,
6262 "testSearchingLiteral" : " LS 6/16/2018 14:19" ,
6363 "testSendsDifferentSuper" : " LS 6/16/2018 14:19" ,
6464 "testSendsUnknownMessageToGlobal" : " LS 6/16/2018 14:19" ,
Original file line number Diff line number Diff line change 11{
22 "category" : " SwaLint-Tests" ,
33 "classinstvars" : [
4- " DummyEnvironment" ],
5- "classvars" : [
64 ],
5+ "classvars" : [
6+ " DummyEnvironment" ],
77 "commentStamp" : " NR 1/28/2008 17:09" ,
88 "instvars" : [
99 ],
You can’t perform that action at this time.
0 commit comments