From 9033b13171f6b41c78d87246bf02bd8691c9e232 Mon Sep 17 00:00:00 2001 From: badetitou Date: Thu, 12 Apr 2018 18:36:38 +0200 Subject: [PATCH 001/150] Removing last method from SmartTest-Calypso --- .../instance/isOnNautilusOrCalypso.st | 6 ---- .../SmTRules.extension/properties.json | 3 -- .../instance/isOnNautilusOrCalypso.st | 6 ++-- .../monticello.meta/categories.st | 28 +++++++++---------- 4 files changed, 18 insertions(+), 25 deletions(-) delete mode 100644 SmartTest-Calypso.package/SmTRules.extension/instance/isOnNautilusOrCalypso.st delete mode 100644 SmartTest-Calypso.package/SmTRules.extension/properties.json diff --git a/SmartTest-Calypso.package/SmTRules.extension/instance/isOnNautilusOrCalypso.st b/SmartTest-Calypso.package/SmTRules.extension/instance/isOnNautilusOrCalypso.st deleted file mode 100644 index 9d6bd94..0000000 --- a/SmartTest-Calypso.package/SmTRules.extension/instance/isOnNautilusOrCalypso.st +++ /dev/null @@ -1,6 +0,0 @@ -*SmartTest-Calypso -isOnNautilusOrCalypso - "20 items means at least Nautilus" - | he | - he := thisContext stack collect: [ :c | c methodClass asString ] . - ^ he anySatisfy: [:el | 'ClyNavigationEnvironment' match: el] \ No newline at end of file diff --git a/SmartTest-Calypso.package/SmTRules.extension/properties.json b/SmartTest-Calypso.package/SmTRules.extension/properties.json deleted file mode 100644 index defc7d5..0000000 --- a/SmartTest-Calypso.package/SmTRules.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "SmTRules" -} \ No newline at end of file diff --git a/SmartTest.package/SmTRules.class/instance/isOnNautilusOrCalypso.st b/SmartTest.package/SmTRules.class/instance/isOnNautilusOrCalypso.st index e95d88f..2aaade6 100644 --- a/SmartTest.package/SmTRules.class/instance/isOnNautilusOrCalypso.st +++ b/SmartTest.package/SmTRules.class/instance/isOnNautilusOrCalypso.st @@ -1,4 +1,6 @@ -testing +accessing isOnNautilusOrCalypso "20 items means at least Nautilus" - ^thisContext contextStack size < 30. \ No newline at end of file + | he | + he := thisContext stack collect: [ :c | c methodClass asString ] . + ^ he anySatisfy: [:el | 'ClyNavigationEnvironment' match: el] \ No newline at end of file diff --git a/SmartTest.package/monticello.meta/categories.st b/SmartTest.package/monticello.meta/categories.st index 910169e..a31fb80 100644 --- a/SmartTest.package/monticello.meta/categories.st +++ b/SmartTest.package/monticello.meta/categories.st @@ -1,15 +1,15 @@ SystemOrganization addCategory: #SmartTest! -SystemOrganization addCategory: 'SmartTest-Cache'! -SystemOrganization addCategory: 'SmartTest-Collector'! -SystemOrganization addCategory: 'SmartTest-Critiques'! -SystemOrganization addCategory: 'SmartTest-Event'! -SystemOrganization addCategory: 'SmartTest-Filter'! -SystemOrganization addCategory: 'SmartTest-Finder'! -SystemOrganization addCategory: 'SmartTest-Listener'! -SystemOrganization addCategory: 'SmartTest-Morph'! -SystemOrganization addCategory: 'SmartTest-Rules'! -SystemOrganization addCategory: 'SmartTest-Runner'! -SystemOrganization addCategory: 'SmartTest-Testing'! -SystemOrganization addCategory: 'SmartTest-Tests'! -SystemOrganization addCategory: 'SmartTest-Tests-Data'! -SystemOrganization addCategory: 'SmartTest-Tools'! +SystemOrganization addCategory: #'SmartTest-Cache'! +SystemOrganization addCategory: #'SmartTest-Collector'! +SystemOrganization addCategory: #'SmartTest-Critiques'! +SystemOrganization addCategory: #'SmartTest-Event'! +SystemOrganization addCategory: #'SmartTest-Filter'! +SystemOrganization addCategory: #'SmartTest-Finder'! +SystemOrganization addCategory: #'SmartTest-Listener'! +SystemOrganization addCategory: #'SmartTest-Morph'! +SystemOrganization addCategory: #'SmartTest-Rules'! +SystemOrganization addCategory: #'SmartTest-Runner'! +SystemOrganization addCategory: #'SmartTest-Testing'! +SystemOrganization addCategory: #'SmartTest-Tests'! +SystemOrganization addCategory: #'SmartTest-Tests-Data'! +SystemOrganization addCategory: #'SmartTest-Tools'! From 679c277be0e8f7f5ee9c861f6d4e2a1345154359 Mon Sep 17 00:00:00 2001 From: badetitou Date: Thu, 12 Apr 2018 18:38:47 +0200 Subject: [PATCH 002/150] Bring Calypso to SmartTest --- .../ClyOpenClassRelatedTestsCommand.class/README.md | 0 .../instance/buildTableCellIconFor..st | 0 .../instance/canBeExecutedInContext..st | 0 .../instance/description.st | 0 .../ClyOpenClassRelatedTestsCommand.class/instance/execute.st | 0 .../ClyOpenClassRelatedTestsCommand.class/properties.json | 2 +- .../ClyRunClassRelatedTestsCommand.class/README.md | 0 .../instance/canBeExecutedInContext..st | 0 .../instance/decorateTableCell.using..st | 0 .../instance/description.st | 0 .../ClyRunClassRelatedTestsCommand.class/instance/execute.st | 0 .../ClyRunClassRelatedTestsCommand.class/properties.json | 2 +- SmartTest.package/monticello.meta/categories.st | 1 + 13 files changed, 3 insertions(+), 2 deletions(-) rename {SmartTest-Calypso.package => SmartTest.package}/ClyOpenClassRelatedTestsCommand.class/README.md (100%) rename {SmartTest-Calypso.package => SmartTest.package}/ClyOpenClassRelatedTestsCommand.class/instance/buildTableCellIconFor..st (100%) rename {SmartTest-Calypso.package => SmartTest.package}/ClyOpenClassRelatedTestsCommand.class/instance/canBeExecutedInContext..st (100%) rename {SmartTest-Calypso.package => SmartTest.package}/ClyOpenClassRelatedTestsCommand.class/instance/description.st (100%) rename {SmartTest-Calypso.package => SmartTest.package}/ClyOpenClassRelatedTestsCommand.class/instance/execute.st (100%) rename {SmartTest-Calypso.package => SmartTest.package}/ClyOpenClassRelatedTestsCommand.class/properties.json (84%) rename {SmartTest-Calypso.package => SmartTest.package}/ClyRunClassRelatedTestsCommand.class/README.md (100%) rename {SmartTest-Calypso.package => SmartTest.package}/ClyRunClassRelatedTestsCommand.class/instance/canBeExecutedInContext..st (100%) rename {SmartTest-Calypso.package => SmartTest.package}/ClyRunClassRelatedTestsCommand.class/instance/decorateTableCell.using..st (100%) rename {SmartTest-Calypso.package => SmartTest.package}/ClyRunClassRelatedTestsCommand.class/instance/description.st (100%) rename {SmartTest-Calypso.package => SmartTest.package}/ClyRunClassRelatedTestsCommand.class/instance/execute.st (100%) rename {SmartTest-Calypso.package => SmartTest.package}/ClyRunClassRelatedTestsCommand.class/properties.json (83%) diff --git a/SmartTest-Calypso.package/ClyOpenClassRelatedTestsCommand.class/README.md b/SmartTest.package/ClyOpenClassRelatedTestsCommand.class/README.md similarity index 100% rename from SmartTest-Calypso.package/ClyOpenClassRelatedTestsCommand.class/README.md rename to SmartTest.package/ClyOpenClassRelatedTestsCommand.class/README.md diff --git a/SmartTest-Calypso.package/ClyOpenClassRelatedTestsCommand.class/instance/buildTableCellIconFor..st b/SmartTest.package/ClyOpenClassRelatedTestsCommand.class/instance/buildTableCellIconFor..st similarity index 100% rename from SmartTest-Calypso.package/ClyOpenClassRelatedTestsCommand.class/instance/buildTableCellIconFor..st rename to SmartTest.package/ClyOpenClassRelatedTestsCommand.class/instance/buildTableCellIconFor..st diff --git a/SmartTest-Calypso.package/ClyOpenClassRelatedTestsCommand.class/instance/canBeExecutedInContext..st b/SmartTest.package/ClyOpenClassRelatedTestsCommand.class/instance/canBeExecutedInContext..st similarity index 100% rename from SmartTest-Calypso.package/ClyOpenClassRelatedTestsCommand.class/instance/canBeExecutedInContext..st rename to SmartTest.package/ClyOpenClassRelatedTestsCommand.class/instance/canBeExecutedInContext..st diff --git a/SmartTest-Calypso.package/ClyOpenClassRelatedTestsCommand.class/instance/description.st b/SmartTest.package/ClyOpenClassRelatedTestsCommand.class/instance/description.st similarity index 100% rename from SmartTest-Calypso.package/ClyOpenClassRelatedTestsCommand.class/instance/description.st rename to SmartTest.package/ClyOpenClassRelatedTestsCommand.class/instance/description.st diff --git a/SmartTest-Calypso.package/ClyOpenClassRelatedTestsCommand.class/instance/execute.st b/SmartTest.package/ClyOpenClassRelatedTestsCommand.class/instance/execute.st similarity index 100% rename from SmartTest-Calypso.package/ClyOpenClassRelatedTestsCommand.class/instance/execute.st rename to SmartTest.package/ClyOpenClassRelatedTestsCommand.class/instance/execute.st diff --git a/SmartTest-Calypso.package/ClyOpenClassRelatedTestsCommand.class/properties.json b/SmartTest.package/ClyOpenClassRelatedTestsCommand.class/properties.json similarity index 84% rename from SmartTest-Calypso.package/ClyOpenClassRelatedTestsCommand.class/properties.json rename to SmartTest.package/ClyOpenClassRelatedTestsCommand.class/properties.json index 5931e70..5cab148 100644 --- a/SmartTest-Calypso.package/ClyOpenClassRelatedTestsCommand.class/properties.json +++ b/SmartTest.package/ClyOpenClassRelatedTestsCommand.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "BenoitVerhaeghe 7/3/2017 16:35", "super" : "ClyCritiqueCommand", - "category" : "SmartTest-Calypso", + "category" : "SmartTest-CalypsoExtension", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTest-Calypso.package/ClyRunClassRelatedTestsCommand.class/README.md b/SmartTest.package/ClyRunClassRelatedTestsCommand.class/README.md similarity index 100% rename from SmartTest-Calypso.package/ClyRunClassRelatedTestsCommand.class/README.md rename to SmartTest.package/ClyRunClassRelatedTestsCommand.class/README.md diff --git a/SmartTest-Calypso.package/ClyRunClassRelatedTestsCommand.class/instance/canBeExecutedInContext..st b/SmartTest.package/ClyRunClassRelatedTestsCommand.class/instance/canBeExecutedInContext..st similarity index 100% rename from SmartTest-Calypso.package/ClyRunClassRelatedTestsCommand.class/instance/canBeExecutedInContext..st rename to SmartTest.package/ClyRunClassRelatedTestsCommand.class/instance/canBeExecutedInContext..st diff --git a/SmartTest-Calypso.package/ClyRunClassRelatedTestsCommand.class/instance/decorateTableCell.using..st b/SmartTest.package/ClyRunClassRelatedTestsCommand.class/instance/decorateTableCell.using..st similarity index 100% rename from SmartTest-Calypso.package/ClyRunClassRelatedTestsCommand.class/instance/decorateTableCell.using..st rename to SmartTest.package/ClyRunClassRelatedTestsCommand.class/instance/decorateTableCell.using..st diff --git a/SmartTest-Calypso.package/ClyRunClassRelatedTestsCommand.class/instance/description.st b/SmartTest.package/ClyRunClassRelatedTestsCommand.class/instance/description.st similarity index 100% rename from SmartTest-Calypso.package/ClyRunClassRelatedTestsCommand.class/instance/description.st rename to SmartTest.package/ClyRunClassRelatedTestsCommand.class/instance/description.st diff --git a/SmartTest-Calypso.package/ClyRunClassRelatedTestsCommand.class/instance/execute.st b/SmartTest.package/ClyRunClassRelatedTestsCommand.class/instance/execute.st similarity index 100% rename from SmartTest-Calypso.package/ClyRunClassRelatedTestsCommand.class/instance/execute.st rename to SmartTest.package/ClyRunClassRelatedTestsCommand.class/instance/execute.st diff --git a/SmartTest-Calypso.package/ClyRunClassRelatedTestsCommand.class/properties.json b/SmartTest.package/ClyRunClassRelatedTestsCommand.class/properties.json similarity index 83% rename from SmartTest-Calypso.package/ClyRunClassRelatedTestsCommand.class/properties.json rename to SmartTest.package/ClyRunClassRelatedTestsCommand.class/properties.json index cefd7a6..2f0e45a 100644 --- a/SmartTest-Calypso.package/ClyRunClassRelatedTestsCommand.class/properties.json +++ b/SmartTest.package/ClyRunClassRelatedTestsCommand.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "BenoitVerhaeghe 7/3/2017 16:36", "super" : "ClyCritiqueCommand", - "category" : "SmartTest-Calypso", + "category" : "SmartTest-CalypsoExtension", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTest.package/monticello.meta/categories.st b/SmartTest.package/monticello.meta/categories.st index a31fb80..754f37d 100644 --- a/SmartTest.package/monticello.meta/categories.st +++ b/SmartTest.package/monticello.meta/categories.st @@ -1,5 +1,6 @@ SystemOrganization addCategory: #SmartTest! SystemOrganization addCategory: #'SmartTest-Cache'! +SystemOrganization addCategory: #'SmartTest-CalypsoExtension'! SystemOrganization addCategory: #'SmartTest-Collector'! SystemOrganization addCategory: #'SmartTest-Critiques'! SystemOrganization addCategory: #'SmartTest-Event'! From 08fb996a23f2d78f5b3631a3684b540fb9d6ce74 Mon Sep 17 00:00:00 2001 From: badetitou Date: Thu, 12 Apr 2018 18:43:09 +0200 Subject: [PATCH 003/150] Bug fix activated --- SmartTest.package/SmTRules.class/instance/activated.st | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SmartTest.package/SmTRules.class/instance/activated.st b/SmartTest.package/SmTRules.class/instance/activated.st index 4863674..23fa300 100644 --- a/SmartTest.package/SmTRules.class/instance/activated.st +++ b/SmartTest.package/SmTRules.class/instance/activated.st @@ -1,3 +1,3 @@ accessing activated - ^ Activated \ No newline at end of file + ^ self class activated \ No newline at end of file From bc2a65d09c67d36dd59d6f8fe437770b8c405669 Mon Sep 17 00:00:00 2001 From: badetitou Date: Thu, 12 Apr 2018 18:50:19 +0200 Subject: [PATCH 004/150] cacheValues -> currentCache --- ...ResarchTestsForStandardMethodWhileEmptyCache.st | 4 ++-- .../instance/testRunningTestMethod1ToBuildCache.st | 8 ++++---- .../instance/testRunningTestMethod2ToBuildCache.st | 14 +++++++------- .../instance/testRunningTestMethod5ToBuildCache.st | 10 +++++----- .../SmTCacheStrategy.class/instance/resetCache.st | 3 +++ .../SmartFinder.class/instance/cacheClass..st | 4 +++- .../SmartFinder.class/instance/cacheValues.st | 3 --- .../SmartFinder.class/instance/resetCache.st | 2 +- 8 files changed, 25 insertions(+), 23 deletions(-) create mode 100644 SmartTest.package/SmTCacheStrategy.class/instance/resetCache.st delete mode 100644 SmartTest.package/SmartFinder.class/instance/cacheValues.st diff --git a/SmartTest.package/SmTCacheBuilderTest.class/instance/testResarchTestsForStandardMethodWhileEmptyCache.st b/SmartTest.package/SmTCacheBuilderTest.class/instance/testResarchTestsForStandardMethodWhileEmptyCache.st index 250015e..e3ec8a2 100644 --- a/SmartTest.package/SmTCacheBuilderTest.class/instance/testResarchTestsForStandardMethodWhileEmptyCache.st +++ b/SmartTest.package/SmTCacheBuilderTest.class/instance/testResarchTestsForStandardMethodWhileEmptyCache.st @@ -2,8 +2,8 @@ tests testResarchTestsForStandardMethodWhileEmptyCache | testsFound | - self assert: smartFinder cacheValues isEmpty. + self assert: smartFinder currentCache isEmpty. testsFound := self searchTestMethodsFor: SmTClass >> #method2. - self assert: smartFinder cacheValues isEmpty. + self assert: smartFinder currentCache isEmpty. self assert: testsFound isEmpty. diff --git a/SmartTest.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod1ToBuildCache.st b/SmartTest.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod1ToBuildCache.st index 3048846..fb73e33 100644 --- a/SmartTest.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod1ToBuildCache.st +++ b/SmartTest.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod1ToBuildCache.st @@ -1,13 +1,13 @@ tests testRunningTestMethod1ToBuildCache - self assert: smartFinder cacheValues isEmpty. + self assert: smartFinder currentCache isEmpty. SmTClassTest run: #testMethod1. "Running the test fill the cache that is then no more empty but contains only the association between SmTClass>>method1 and SmTClassTest>>testMethod1" - self assert: smartFinder cacheValues isNotEmpty. - self assert: smartFinder cacheValues size equals: 2. + self assert: smartFinder currentCache isNotEmpty. + self assert: smartFinder currentCache size equals: 2. "Not sure about the format of the dictionnary." self - assert: (smartFinder cacheValues at: (RGMethodDefinition className: 'SmTClass' selector: #method1 isMetaSide: false)) + assert: (smartFinder currentCache at: (RGMethodDefinition className: 'SmTClass' selector: #method1 isMetaSide: false)) equals: {(RGMethodDefinition className: 'SmTClassTest' selector: #testMethod1 isMetaSide: false)} asSet \ No newline at end of file diff --git a/SmartTest.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod2ToBuildCache.st b/SmartTest.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod2ToBuildCache.st index cb72a4b..7f22f68 100644 --- a/SmartTest.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod2ToBuildCache.st +++ b/SmartTest.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod2ToBuildCache.st @@ -1,16 +1,16 @@ tests testRunningTestMethod2ToBuildCache - self assert: smartFinder cacheValues isEmpty. + self assert: smartFinder currentCache isEmpty. SmTClassTest run: #testMethod2. "Running the test fill the cache that is then no more empty but contains only the association between SmTClass>>methodi (with i = 1 to 4) and SmTClassTest>>testMethod2. The cache should contain 4 associations one per each method as key and testMethod2 asValue" - self assert: smartFinder cacheValues isNotEmpty. + self assert: smartFinder currentCache isNotEmpty. self - assert: smartFinder cacheValues size + assert: smartFinder currentCache size equals: 5. self assert: - (smartFinder cacheValues + (smartFinder currentCache at: (RGMethodDefinition className: 'SmTClass' selector: #method1 isMetaSide: false)) equals: {(RGMethodDefinition className: 'SmTClassTest' selector: #testMethod2 isMetaSide: false)} @@ -19,21 +19,21 @@ testRunningTestMethod2ToBuildCache "Not sure about the format of the dictionnary." self assert: - (smartFinder cacheValues + (smartFinder currentCache at: (RGMethodDefinition className: 'SmTClass' selector: #method2 isMetaSide: false)) equals: {(RGMethodDefinition className: 'SmTClassTest' selector: #testMethod2 isMetaSide: false)} asSet. self assert: - (smartFinder cacheValues + (smartFinder currentCache at: (RGMethodDefinition className: 'SmTClass' selector: #method3: isMetaSide: false)) equals: {(RGMethodDefinition className: 'SmTClassTest' selector: #testMethod2 isMetaSide: false)} asSet. self assert: - (smartFinder cacheValues + (smartFinder currentCache at: (RGMethodDefinition className: 'SmTClass' selector: #method4 isMetaSide: false)) equals: {(RGMethodDefinition className: 'SmTClassTest' selector: #testMethod2 isMetaSide: false)} diff --git a/SmartTest.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod5ToBuildCache.st b/SmartTest.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod5ToBuildCache.st index e1a569c..8288d0c 100644 --- a/SmartTest.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod5ToBuildCache.st +++ b/SmartTest.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod5ToBuildCache.st @@ -3,15 +3,15 @@ testRunningTestMethod5ToBuildCache "This test if SmTTestCoverage find the initialize call" - self assert: smartFinder cacheValues isEmpty. + self assert: smartFinder currentCache isEmpty. SmTClassTest run: #testMethod5. "Running the test fill the cache that is then no more empty but contains only the association between SmTClass>>method1 and SmTClassTest>>testMethod1" - self assert: smartFinder cacheValues isNotEmpty. - self assert: smartFinder cacheValues size equals: 2. + self assert: smartFinder currentCache isNotEmpty. + self assert: smartFinder currentCache size equals: 2. self - assert: (smartFinder cacheValues at: (RGMethodDefinition className: 'SmTClass2' selector: #initialize isMetaSide: false)) + assert: (smartFinder currentCache at: (RGMethodDefinition className: 'SmTClass2' selector: #initialize isMetaSide: false)) equals: {(RGMethodDefinition className: 'SmTClassTest' selector: #testMethod5 isMetaSide: false)} asSet. self - assert: (smartFinder cacheValues at: (RGMethodDefinition className: 'SmTClassTest' selector: #testMethod5 isMetaSide: false)) + assert: (smartFinder currentCache at: (RGMethodDefinition className: 'SmTClassTest' selector: #testMethod5 isMetaSide: false)) equals: {(RGMethodDefinition className: 'SmTClassTest' selector: #testMethod5 isMetaSide: false)} asSet \ No newline at end of file diff --git a/SmartTest.package/SmTCacheStrategy.class/instance/resetCache.st b/SmartTest.package/SmTCacheStrategy.class/instance/resetCache.st new file mode 100644 index 0000000..74c9ba7 --- /dev/null +++ b/SmartTest.package/SmTCacheStrategy.class/instance/resetCache.st @@ -0,0 +1,3 @@ +private +resetCache + cache removeAll \ No newline at end of file diff --git a/SmartTest.package/SmartFinder.class/instance/cacheClass..st b/SmartTest.package/SmartFinder.class/instance/cacheClass..st index e6d3c1c..c0b6d83 100644 --- a/SmartTest.package/SmartFinder.class/instance/cacheClass..st +++ b/SmartTest.package/SmartFinder.class/instance/cacheClass..st @@ -1,5 +1,7 @@ accessing cacheClass: aSmTCacheStrategy + | tmpCache | + tmpCache := self currentCache. cacheClass := aSmTCacheStrategy. - cacheClass cache: cache. + cacheClass cache: tmpCache. self smtFinder cache: cacheClass \ No newline at end of file diff --git a/SmartTest.package/SmartFinder.class/instance/cacheValues.st b/SmartTest.package/SmartFinder.class/instance/cacheValues.st deleted file mode 100644 index ce3bc81..0000000 --- a/SmartTest.package/SmartFinder.class/instance/cacheValues.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -cacheValues - ^ self cacheClass currentCache \ No newline at end of file diff --git a/SmartTest.package/SmartFinder.class/instance/resetCache.st b/SmartTest.package/SmartFinder.class/instance/resetCache.st index cbf29fd..61cb1ff 100644 --- a/SmartTest.package/SmartFinder.class/instance/resetCache.st +++ b/SmartTest.package/SmartFinder.class/instance/resetCache.st @@ -1,3 +1,3 @@ api resetCache - cache removeAll \ No newline at end of file + self cacheClass resetCache \ No newline at end of file From bcff30b0ec2abca0f29de591730f7b435b38382f Mon Sep 17 00:00:00 2001 From: badetitou Date: Thu, 12 Apr 2018 18:51:57 +0200 Subject: [PATCH 005/150] Update with Reneraku --- .../instance/displayCritique..st | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SmartTest.package/QANautilusPluginMorph.extension/instance/displayCritique..st b/SmartTest.package/QANautilusPluginMorph.extension/instance/displayCritique..st index a659709..34a9178 100644 --- a/SmartTest.package/QANautilusPluginMorph.extension/instance/displayCritique..st +++ b/SmartTest.package/QANautilusPluginMorph.extension/instance/displayCritique..st @@ -35,7 +35,7 @@ displayCritique: aCritique extent: 16 @ 16; borderWidth: 0; yourself) ]. - aCritique isCritic + aCritique isCritique ifTrue: [ listItem addMorphBack: (Morph new From 69a23446d4ba79c44197e5b7ed3ce32ee38eb3f0 Mon Sep 17 00:00:00 2001 From: badetitou Date: Thu, 12 Apr 2018 18:53:45 +0200 Subject: [PATCH 006/150] Remove SmartTest-Calypso from baseline And so baseline is useable --- .../BaselineOfSmartTest.class/instance/baseline..st | 4 +--- .../instance/defineDependencies..st | 7 ------- .../BaselineOfSmartTest.class/instance/preLoad.st | 5 ----- 3 files changed, 1 insertion(+), 15 deletions(-) delete mode 100644 BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/defineDependencies..st delete mode 100644 BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/preLoad.st diff --git a/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/baseline..st b/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/baseline..st index 63b7bfc..115bb05 100644 --- a/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/baseline..st +++ b/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/baseline..st @@ -9,7 +9,5 @@ baseline: spec spec repository: 'github://badetitou/SmartTest' ; package: 'SmartTest'; - package: 'SmartTest-Calypso'; group: 'default' - with: #('SmartTest'); - group: 'calypso' with: #('default' 'Calypso' 'SmartTest-Calypso') ] \ No newline at end of file + with: #('SmartTest')] \ No newline at end of file diff --git a/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/defineDependencies..st b/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/defineDependencies..st deleted file mode 100644 index e443f1c..0000000 --- a/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/defineDependencies..st +++ /dev/null @@ -1,7 +0,0 @@ -baselines -defineDependencies: spec - spec - configuration: 'Calypso' - with: [ spec - versionString: #stable; - repository: 'http://smalltalkhub.com/mc/Pharo/MetaRepoForPharo60/main' ] \ No newline at end of file diff --git a/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/preLoad.st b/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/preLoad.st deleted file mode 100644 index 0779eb8..0000000 --- a/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/preLoad.st +++ /dev/null @@ -1,5 +0,0 @@ -baselines -preLoad - "(CompilationContext bytecodeBackend = OpalEncoderForSistaV1) - ifFalse: [ CompilationContext bytecodeBackend: OpalEncoderForSistaV1. - Compiler recompileAll ]" \ No newline at end of file From 20cf7b5716c64655ad318a81cb401e3a5a84caae Mon Sep 17 00:00:00 2001 From: badetitou Date: Thu, 12 Apr 2018 18:55:41 +0200 Subject: [PATCH 007/150] Remove SmartTest-Calypso --- SmartTest-Calypso.package/.filetree | 5 ----- SmartTest-Calypso.package/monticello.meta/categories.st | 1 - SmartTest-Calypso.package/monticello.meta/initializers.st | 0 SmartTest-Calypso.package/monticello.meta/package | 1 - SmartTest-Calypso.package/properties.json | 1 - 5 files changed, 8 deletions(-) delete mode 100644 SmartTest-Calypso.package/.filetree delete mode 100644 SmartTest-Calypso.package/monticello.meta/categories.st delete mode 100644 SmartTest-Calypso.package/monticello.meta/initializers.st delete mode 100644 SmartTest-Calypso.package/monticello.meta/package delete mode 100644 SmartTest-Calypso.package/properties.json diff --git a/SmartTest-Calypso.package/.filetree b/SmartTest-Calypso.package/.filetree deleted file mode 100644 index 57a6797..0000000 --- a/SmartTest-Calypso.package/.filetree +++ /dev/null @@ -1,5 +0,0 @@ -{ - "separateMethodMetaAndSource" : false, - "noMethodMetaData" : true, - "useCypressPropertiesFile" : true -} \ No newline at end of file diff --git a/SmartTest-Calypso.package/monticello.meta/categories.st b/SmartTest-Calypso.package/monticello.meta/categories.st deleted file mode 100644 index 002630b..0000000 --- a/SmartTest-Calypso.package/monticello.meta/categories.st +++ /dev/null @@ -1 +0,0 @@ -SystemOrganization addCategory: #'SmartTest-Calypso'! diff --git a/SmartTest-Calypso.package/monticello.meta/initializers.st b/SmartTest-Calypso.package/monticello.meta/initializers.st deleted file mode 100644 index e69de29..0000000 diff --git a/SmartTest-Calypso.package/monticello.meta/package b/SmartTest-Calypso.package/monticello.meta/package deleted file mode 100644 index 6457950..0000000 --- a/SmartTest-Calypso.package/monticello.meta/package +++ /dev/null @@ -1 +0,0 @@ -(name 'SmartTest-Calypso') \ No newline at end of file diff --git a/SmartTest-Calypso.package/properties.json b/SmartTest-Calypso.package/properties.json deleted file mode 100644 index 6f31cf5..0000000 --- a/SmartTest-Calypso.package/properties.json +++ /dev/null @@ -1 +0,0 @@ -{ } \ No newline at end of file From 73e0b37256e78eaa180070020fa7dae1e8e295c4 Mon Sep 17 00:00:00 2001 From: badetitou Date: Thu, 12 Apr 2018 19:06:10 +0200 Subject: [PATCH 008/150] Change settings resetCache -> not broken one --- .../class/settingsOn..st | 16 --------- .../SmTRules.class/class/settingsOn..st | 15 +++++++- .../instance/initCache.st | 34 +++++++++++++++++++ .../instance/testResetCache.st | 7 ++++ .../monticello.meta/categories.st | 1 - 5 files changed, 55 insertions(+), 18 deletions(-) delete mode 100644 SmartTest.package/SmTCacheStrategy.class/class/settingsOn..st create mode 100644 SmartTest.package/SmartFinderTest.class/instance/initCache.st create mode 100644 SmartTest.package/SmartFinderTest.class/instance/testResetCache.st diff --git a/SmartTest.package/SmTCacheStrategy.class/class/settingsOn..st b/SmartTest.package/SmTCacheStrategy.class/class/settingsOn..st deleted file mode 100644 index 715378b..0000000 --- a/SmartTest.package/SmTCacheStrategy.class/class/settingsOn..st +++ /dev/null @@ -1,16 +0,0 @@ -settings -settingsOn: aBuilder - - (aBuilder group: #reset) - label: 'Reset Cache'; - target: self; - parent: #SmartTest; - dialog: [ SimpleButtonMorph new - target: SmTTestFinderStrategy; - label: 'Reset Current SmartTest Cache'; - actionSelector: #resetMethodToTestCache; - themeChanged; - yourself ]; - description: - 'Reset the cache of SmartTest - SmTTestFinderStrategy methodToTest' \ No newline at end of file diff --git a/SmartTest.package/SmTRules.class/class/settingsOn..st b/SmartTest.package/SmTRules.class/class/settingsOn..st index 5e9d623..09dfbf5 100644 --- a/SmartTest.package/SmTRules.class/class/settingsOn..st +++ b/SmartTest.package/SmTRules.class/class/settingsOn..st @@ -59,4 +59,17 @@ settingsOn: aBuilder actionSelector: #fillCache; themeChanged; yourself ]; - description: 'Fill the cache with selected package' ] \ No newline at end of file + description: 'Fill the cache with selected package' ]. + (aBuilder group: #reset) + label: 'Reset Cache'; + target: self; + parent: #SmartTest; + dialog: [ SimpleButtonMorph new + target: self testFinder; + label: 'Reset Current SmartTest Cache'; + actionSelector: #resetCache; + themeChanged; + yourself ]; + description: + 'Reset the cache of SmartTest + SmTTestFinderStrategy methodToTest' \ No newline at end of file diff --git a/SmartTest.package/SmartFinderTest.class/instance/initCache.st b/SmartTest.package/SmartFinderTest.class/instance/initCache.st new file mode 100644 index 0000000..766830e --- /dev/null +++ b/SmartTest.package/SmartFinderTest.class/instance/initCache.st @@ -0,0 +1,34 @@ +initialization +initCache + ^ {((RGMethodDefinition className: 'SmTClass' selector: #method1 isMetaSide: false) + -> + {(RGMethodDefinition className: 'SmTClassTest' selector: #testMethod1 isMetaSide: false). + (RGMethodDefinition className: 'SmTClassTest' selector: #testMethod2 isMetaSide: false). + (RGMethodDefinition + className: 'SmTInheritClassTest' + selector: #testMethod1 + isMetaSide: false)} asSet). + ((RGMethodDefinition className: 'SmTClass' selector: #method2 isMetaSide: false) + -> + {(RGMethodDefinition className: 'SmTClassTest' selector: #testMethod2 isMetaSide: false)} + asSet). + ((RGMethodDefinition className: 'SmTClass' selector: #method3: isMetaSide: false) + -> + {(RGMethodDefinition className: 'SmTClassTest' selector: #testMethod1 isMetaSide: false). + (RGMethodDefinition className: 'SmTClassTest' selector: #testMethod2 isMetaSide: false). + (RGMethodDefinition className: 'SmTClassTest' selector: #testMethod3 isMetaSide: false)} + asSet). + ((RGMethodDefinition className: 'SmTClass' selector: #method4 isMetaSide: false) + -> + {(RGMethodDefinition className: 'SmTClassTest' selector: #testMethod2 isMetaSide: false). + (RGMethodDefinition className: 'SmTClassTest' selector: #testMethod3 isMetaSide: false). + (RGMethodDefinition className: 'SmTClassTest' selector: #testMethod4 isMetaSide: false)} + asSet). + ((RGMethodDefinition className: 'SmTClass2' selector: #initialize isMetaSide: false) + -> + {(RGMethodDefinition className: 'SmTClassTest' selector: #testMethod5 isMetaSide: false)} + asSet). + ((RGMethodDefinition className: 'SmTClassTest' selector: #testMethod4 isMetaSide: false) + -> + {(RGMethodDefinition className: 'SmTClassTest' selector: #testMethod4 isMetaSide: false)} + asSet)} asDictionary \ No newline at end of file diff --git a/SmartTest.package/SmartFinderTest.class/instance/testResetCache.st b/SmartTest.package/SmartFinderTest.class/instance/testResetCache.st new file mode 100644 index 0000000..999d641 --- /dev/null +++ b/SmartTest.package/SmartFinderTest.class/instance/testResetCache.st @@ -0,0 +1,7 @@ +tests-api +testResetCache + self assert: smartFinder currentCache isEmpty . + smartFinder setCacheValues: self initCache. + self assert: smartFinder currentCache isNotEmpty . + smartFinder resetCache. + self assert: smartFinder currentCache isEmpty \ No newline at end of file diff --git a/SmartTest.package/monticello.meta/categories.st b/SmartTest.package/monticello.meta/categories.st index 754f37d..a31fb80 100644 --- a/SmartTest.package/monticello.meta/categories.st +++ b/SmartTest.package/monticello.meta/categories.st @@ -1,6 +1,5 @@ SystemOrganization addCategory: #SmartTest! SystemOrganization addCategory: #'SmartTest-Cache'! -SystemOrganization addCategory: #'SmartTest-CalypsoExtension'! SystemOrganization addCategory: #'SmartTest-Collector'! SystemOrganization addCategory: #'SmartTest-Critiques'! SystemOrganization addCategory: #'SmartTest-Event'! From 563d8ab4b262330e002b291eb616a4dc5127181d Mon Sep 17 00:00:00 2001 From: badetitou Date: Thu, 12 Apr 2018 19:11:25 +0200 Subject: [PATCH 009/150] SomeMistakes --- .../BaselineOfSmartTest.class/instance/baseline..st | 4 +--- SmartTest.package/monticello.meta/categories.st | 1 + 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/baseline..st b/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/baseline..st index 115bb05..df56072 100644 --- a/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/baseline..st +++ b/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/baseline..st @@ -3,9 +3,7 @@ baseline: spec spec for: #common - do: [ - spec preLoadDoIt: #preLoad. - self defineDependencies: spec. + do: [ spec repository: 'github://badetitou/SmartTest' ; package: 'SmartTest'; diff --git a/SmartTest.package/monticello.meta/categories.st b/SmartTest.package/monticello.meta/categories.st index a31fb80..754f37d 100644 --- a/SmartTest.package/monticello.meta/categories.st +++ b/SmartTest.package/monticello.meta/categories.st @@ -1,5 +1,6 @@ SystemOrganization addCategory: #SmartTest! SystemOrganization addCategory: #'SmartTest-Cache'! +SystemOrganization addCategory: #'SmartTest-CalypsoExtension'! SystemOrganization addCategory: #'SmartTest-Collector'! SystemOrganization addCategory: #'SmartTest-Critiques'! SystemOrganization addCategory: #'SmartTest-Event'! From 615e4f6c319cd92b814b0c41b86403e7f50f8c6d Mon Sep 17 00:00:00 2001 From: badetitou Date: Fri, 13 Apr 2018 17:44:31 +0200 Subject: [PATCH 010/150] Improve design of cache --- .../SmTCacheBuilderTest.class/instance/setUp.st | 2 +- SmartTest.package/SmTCacheStrategy.class/instance/at..st | 2 +- .../SmTCacheStrategy.class/instance/at.ifAbsent..st | 2 +- .../SmTCacheStrategy.class/instance/at.put..st | 2 +- .../SmTCacheStrategy.class/instance/cache..st | 2 +- .../instance/setUp.st | 2 +- SmartTest.package/SmTRules.class/class/cacheClass..st | 4 ---- SmartTest.package/SmTRules.class/class/cacheStrategy..st | 4 ++++ .../class/{cacheClass.st => cacheStrategy.st} | 2 +- SmartTest.package/SmTRules.class/class/settingsOn..st | 2 +- SmartTest.package/SmTRules.class/class/testFinder.st | 2 +- .../instance/setUp.st | 2 +- .../SmTTestCoverageFinderTest.class/instance/setUp.st | 2 +- .../instance/{cacheClass..st => cacheStrategy..st} | 2 +- .../instance/{cacheClass.st => cacheStrategy.st} | 2 +- .../SmartFinder.class/instance/autoUpdateCache..st | 2 +- .../SmartFinder.class/instance/cacheClass..st | 7 ------- SmartTest.package/SmartFinder.class/instance/cacheClass.st | 3 --- .../SmartFinder.class/instance/cacheStrategy..st | 7 +++++++ .../SmartFinder.class/instance/cacheStrategy.st | 3 +++ .../SmartFinder.class/instance/currentCache.st | 2 +- .../SmartFinder.class/instance/hasEmptyCache.st | 3 --- SmartTest.package/SmartFinder.class/instance/initialize.st | 1 - SmartTest.package/SmartFinder.class/instance/resetCache.st | 2 +- .../SmartFinder.class/instance/setCacheValues..st | 3 +-- SmartTest.package/SmartFinder.class/instance/smtFinder..st | 2 +- SmartTest.package/SmartFinder.class/instance/smtFinder.st | 2 +- SmartTest.package/SmartFinder.class/properties.json | 5 ++--- SmartTest.package/SmartFinderTest.class/instance/setUp.st | 2 +- .../instance/testChangeCacheClassFinder.st | 2 +- 30 files changed, 37 insertions(+), 43 deletions(-) delete mode 100644 SmartTest.package/SmTRules.class/class/cacheClass..st create mode 100644 SmartTest.package/SmTRules.class/class/cacheStrategy..st rename SmartTest.package/SmTRules.class/class/{cacheClass.st => cacheStrategy.st} (82%) rename SmartTest.package/SmTTestListener.class/instance/{cacheClass..st => cacheStrategy..st} (64%) rename SmartTest.package/SmTTestListener.class/instance/{cacheClass.st => cacheStrategy.st} (71%) delete mode 100644 SmartTest.package/SmartFinder.class/instance/cacheClass..st delete mode 100644 SmartTest.package/SmartFinder.class/instance/cacheClass.st create mode 100644 SmartTest.package/SmartFinder.class/instance/cacheStrategy..st create mode 100644 SmartTest.package/SmartFinder.class/instance/cacheStrategy.st delete mode 100644 SmartTest.package/SmartFinder.class/instance/hasEmptyCache.st diff --git a/SmartTest.package/SmTCacheBuilderTest.class/instance/setUp.st b/SmartTest.package/SmTCacheBuilderTest.class/instance/setUp.st index 3bffb3e..df3d786 100644 --- a/SmartTest.package/SmTCacheBuilderTest.class/instance/setUp.st +++ b/SmartTest.package/SmTCacheBuilderTest.class/instance/setUp.st @@ -4,7 +4,7 @@ setUp smartFinder filter: SmTDefaultClassPackagesFilter new. "the cache is initially empty" smartFinder autoUpdateCache: false. - smartFinder cacheClass: SmTBasicCacheStrategy new. + smartFinder cacheStrategy: SmTBasicCacheStrategy new. smartFinder resetCache. smartFinder smtFinder: SmTTestCoverageTestFinderStrategy new. smartFinder autoUpdateCache: true \ No newline at end of file diff --git a/SmartTest.package/SmTCacheStrategy.class/instance/at..st b/SmartTest.package/SmTCacheStrategy.class/instance/at..st index d47a8f2..3994dcf 100644 --- a/SmartTest.package/SmTCacheStrategy.class/instance/at..st +++ b/SmartTest.package/SmTCacheStrategy.class/instance/at..st @@ -1,3 +1,3 @@ -at +accessing at: aMethodReference self subclassResponsibility \ No newline at end of file diff --git a/SmartTest.package/SmTCacheStrategy.class/instance/at.ifAbsent..st b/SmartTest.package/SmTCacheStrategy.class/instance/at.ifAbsent..st index a6fefcd..9da5cfb 100644 --- a/SmartTest.package/SmTCacheStrategy.class/instance/at.ifAbsent..st +++ b/SmartTest.package/SmTCacheStrategy.class/instance/at.ifAbsent..st @@ -1,3 +1,3 @@ -at +accessing at: aCompiledMethod ifAbsent: aBlock ^ self subclassResponsibility \ No newline at end of file diff --git a/SmartTest.package/SmTCacheStrategy.class/instance/at.put..st b/SmartTest.package/SmTCacheStrategy.class/instance/at.put..st index 2dd4f56..752bcb6 100644 --- a/SmartTest.package/SmTCacheStrategy.class/instance/at.put..st +++ b/SmartTest.package/SmTCacheStrategy.class/instance/at.put..st @@ -1,3 +1,3 @@ -at +accessing at: aMethodReference put: aCacheElement self subclassResponsibility \ No newline at end of file diff --git a/SmartTest.package/SmTCacheStrategy.class/instance/cache..st b/SmartTest.package/SmTCacheStrategy.class/instance/cache..st index 86af1ab..392d234 100644 --- a/SmartTest.package/SmTCacheStrategy.class/instance/cache..st +++ b/SmartTest.package/SmTCacheStrategy.class/instance/cache..st @@ -1,3 +1,3 @@ -at +accessing cache: aDictionary cache := aDictionary \ No newline at end of file diff --git a/SmartTest.package/SmTFinderStrategyReflectivityTest.class/instance/setUp.st b/SmartTest.package/SmTFinderStrategyReflectivityTest.class/instance/setUp.st index bfc9bf3..d2a284a 100644 --- a/SmartTest.package/SmTFinderStrategyReflectivityTest.class/instance/setUp.st +++ b/SmartTest.package/SmTFinderStrategyReflectivityTest.class/instance/setUp.st @@ -5,6 +5,6 @@ setUp | initialCache | super setUp. initialCache := self initCache. - smartFinder cacheClass: SmTBasicCacheStrategy new. + smartFinder cacheStrategy: SmTBasicCacheStrategy new. smartFinder setCacheValues: initialCache. smartFinder smtFinder: SmTReflectivityTestFinderStrategy new \ No newline at end of file diff --git a/SmartTest.package/SmTRules.class/class/cacheClass..st b/SmartTest.package/SmTRules.class/class/cacheClass..st deleted file mode 100644 index 49c1648..0000000 --- a/SmartTest.package/SmTRules.class/class/cacheClass..st +++ /dev/null @@ -1,4 +0,0 @@ -settings -cacheClass: aSelector - self testFinder cacheClass: aSelector new. - ^ smTCache := aSelector \ No newline at end of file diff --git a/SmartTest.package/SmTRules.class/class/cacheStrategy..st b/SmartTest.package/SmTRules.class/class/cacheStrategy..st new file mode 100644 index 0000000..2b3db01 --- /dev/null +++ b/SmartTest.package/SmTRules.class/class/cacheStrategy..st @@ -0,0 +1,4 @@ +settings +cacheStrategy: aSelector + self testFinder cacheStrategy: aSelector new. + ^ smTCache := aSelector \ No newline at end of file diff --git a/SmartTest.package/SmTRules.class/class/cacheClass.st b/SmartTest.package/SmTRules.class/class/cacheStrategy.st similarity index 82% rename from SmartTest.package/SmTRules.class/class/cacheClass.st rename to SmartTest.package/SmTRules.class/class/cacheStrategy.st index 66f212b..712f025 100644 --- a/SmartTest.package/SmTRules.class/class/cacheClass.st +++ b/SmartTest.package/SmTRules.class/class/cacheStrategy.st @@ -1,3 +1,3 @@ settings -cacheClass +cacheStrategy ^ smTCache ifNil: [ smTCache := SmTBasicCacheStrategy ] \ No newline at end of file diff --git a/SmartTest.package/SmTRules.class/class/settingsOn..st b/SmartTest.package/SmTRules.class/class/settingsOn..st index 09dfbf5..97cb714 100644 --- a/SmartTest.package/SmTRules.class/class/settingsOn..st +++ b/SmartTest.package/SmTRules.class/class/settingsOn..st @@ -9,7 +9,7 @@ settingsOn: aBuilder parent: #SmartFinder; domainValues: (SmTTestFinderStrategy allSubclasses select: #isConcreteFinder); description: 'The finder defines how CORA searchs the relative test of a method'. - (aBuilder pickOne: #cacheClass) + (aBuilder pickOne: #cacheStrategy) label: 'SmartTest Cache'; target: self; parent: #SmartFinder; diff --git a/SmartTest.package/SmTRules.class/class/testFinder.st b/SmartTest.package/SmTRules.class/class/testFinder.st index 97132ee..752b452 100644 --- a/SmartTest.package/SmTRules.class/class/testFinder.st +++ b/SmartTest.package/SmTRules.class/class/testFinder.st @@ -1,7 +1,7 @@ instance creation testFinder ^ SmTSmartFinder ifNil: [ SmTSmartFinder := SmartFinder new - cacheClass: self cacheClass new; + cacheStrategy: self cacheStrategy new; filter: self filter new; testRunner: self runner; smtFinder: self finder new; diff --git a/SmartTest.package/SmTSendersFinderTestWithoutCache.class/instance/setUp.st b/SmartTest.package/SmTSendersFinderTestWithoutCache.class/instance/setUp.st index 82d485e..e918f63 100644 --- a/SmartTest.package/SmTSendersFinderTestWithoutCache.class/instance/setUp.st +++ b/SmartTest.package/SmTSendersFinderTestWithoutCache.class/instance/setUp.st @@ -1,5 +1,5 @@ initialization setUp super setUp. - smartFinder cacheClass: SmTNoCacheStrategy new. + smartFinder cacheStrategy: SmTNoCacheStrategy new. cache := SmTNoCacheStrategy new \ No newline at end of file diff --git a/SmartTest.package/SmTTestCoverageFinderTest.class/instance/setUp.st b/SmartTest.package/SmTTestCoverageFinderTest.class/instance/setUp.st index c0be323..2072771 100644 --- a/SmartTest.package/SmTTestCoverageFinderTest.class/instance/setUp.st +++ b/SmartTest.package/SmTTestCoverageFinderTest.class/instance/setUp.st @@ -5,6 +5,6 @@ setUp | initialCache | super setUp. initialCache := self initCache. - smartFinder cacheClass: (SmTBasicCacheStrategy new). + smartFinder cacheStrategy: (SmTBasicCacheStrategy new). smartFinder setCacheValues: initialCache. smartFinder smtFinder: SmTTestCoverageTestFinderStrategy new \ No newline at end of file diff --git a/SmartTest.package/SmTTestListener.class/instance/cacheClass..st b/SmartTest.package/SmTTestListener.class/instance/cacheStrategy..st similarity index 64% rename from SmartTest.package/SmTTestListener.class/instance/cacheClass..st rename to SmartTest.package/SmTTestListener.class/instance/cacheStrategy..st index 8e111ec..886d7f6 100644 --- a/SmartTest.package/SmTTestListener.class/instance/cacheClass..st +++ b/SmartTest.package/SmTTestListener.class/instance/cacheStrategy..st @@ -1,3 +1,3 @@ announcement handling -cacheClass: aCacheClass +cacheStrategy: aCacheClass cacheClass := aCacheClass \ No newline at end of file diff --git a/SmartTest.package/SmTTestListener.class/instance/cacheClass.st b/SmartTest.package/SmTTestListener.class/instance/cacheStrategy.st similarity index 71% rename from SmartTest.package/SmTTestListener.class/instance/cacheClass.st rename to SmartTest.package/SmTTestListener.class/instance/cacheStrategy.st index dfddbb4..505d110 100644 --- a/SmartTest.package/SmTTestListener.class/instance/cacheClass.st +++ b/SmartTest.package/SmTTestListener.class/instance/cacheStrategy.st @@ -1,3 +1,3 @@ announcement handling -cacheClass +cacheStrategy ^ cacheClass \ No newline at end of file diff --git a/SmartTest.package/SmartFinder.class/instance/autoUpdateCache..st b/SmartTest.package/SmartFinder.class/instance/autoUpdateCache..st index 52f863c..d9fde1a 100644 --- a/SmartTest.package/SmartFinder.class/instance/autoUpdateCache..st +++ b/SmartTest.package/SmartFinder.class/instance/autoUpdateCache..st @@ -1,5 +1,5 @@ accessing autoUpdateCache: aBoolean - self smtListener cacheClass: self cacheClass. + self smtListener cacheStrategy: self cacheStrategy. self smtListener smtDynamicFinder: self smtFinder. self smtListener class activated: aBoolean \ No newline at end of file diff --git a/SmartTest.package/SmartFinder.class/instance/cacheClass..st b/SmartTest.package/SmartFinder.class/instance/cacheClass..st deleted file mode 100644 index c0b6d83..0000000 --- a/SmartTest.package/SmartFinder.class/instance/cacheClass..st +++ /dev/null @@ -1,7 +0,0 @@ -accessing -cacheClass: aSmTCacheStrategy - | tmpCache | - tmpCache := self currentCache. - cacheClass := aSmTCacheStrategy. - cacheClass cache: tmpCache. - self smtFinder cache: cacheClass \ No newline at end of file diff --git a/SmartTest.package/SmartFinder.class/instance/cacheClass.st b/SmartTest.package/SmartFinder.class/instance/cacheClass.st deleted file mode 100644 index 6501899..0000000 --- a/SmartTest.package/SmartFinder.class/instance/cacheClass.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -cacheClass - ^ cacheClass ifNil: [ cacheClass := SmTBasicCacheStrategy new cache: cache ] \ No newline at end of file diff --git a/SmartTest.package/SmartFinder.class/instance/cacheStrategy..st b/SmartTest.package/SmartFinder.class/instance/cacheStrategy..st new file mode 100644 index 0000000..fd0a35a --- /dev/null +++ b/SmartTest.package/SmartFinder.class/instance/cacheStrategy..st @@ -0,0 +1,7 @@ +accessing +cacheStrategy: aSmTCacheStrategy + | tmpCache | + tmpCache := self currentCache. + cacheStrategy := aSmTCacheStrategy. + cacheStrategy cache: tmpCache. + self smtFinder cache: cacheStrategy \ No newline at end of file diff --git a/SmartTest.package/SmartFinder.class/instance/cacheStrategy.st b/SmartTest.package/SmartFinder.class/instance/cacheStrategy.st new file mode 100644 index 0000000..db09239 --- /dev/null +++ b/SmartTest.package/SmartFinder.class/instance/cacheStrategy.st @@ -0,0 +1,3 @@ +accessing +cacheStrategy + ^ cacheStrategy ifNil: [ cacheStrategy := SmTBasicCacheStrategy new cache: Dictionary new ] \ No newline at end of file diff --git a/SmartTest.package/SmartFinder.class/instance/currentCache.st b/SmartTest.package/SmartFinder.class/instance/currentCache.st index db747fa..2e7acd8 100644 --- a/SmartTest.package/SmartFinder.class/instance/currentCache.st +++ b/SmartTest.package/SmartFinder.class/instance/currentCache.st @@ -1,3 +1,3 @@ api currentCache - ^ self cacheClass currentCache \ No newline at end of file + ^ self cacheStrategy currentCache \ No newline at end of file diff --git a/SmartTest.package/SmartFinder.class/instance/hasEmptyCache.st b/SmartTest.package/SmartFinder.class/instance/hasEmptyCache.st deleted file mode 100644 index e52a2f9..0000000 --- a/SmartTest.package/SmartFinder.class/instance/hasEmptyCache.st +++ /dev/null @@ -1,3 +0,0 @@ -testing -hasEmptyCache - ^ cacheClass isNil \ No newline at end of file diff --git a/SmartTest.package/SmartFinder.class/instance/initialize.st b/SmartTest.package/SmartFinder.class/instance/initialize.st index 0e72793..061f7c5 100644 --- a/SmartTest.package/SmartFinder.class/instance/initialize.st +++ b/SmartTest.package/SmartFinder.class/instance/initialize.st @@ -1,4 +1,3 @@ initialization initialize - cache := Dictionary new. self shouldTryToFindTestForDynamic: false \ No newline at end of file diff --git a/SmartTest.package/SmartFinder.class/instance/resetCache.st b/SmartTest.package/SmartFinder.class/instance/resetCache.st index 61cb1ff..3ffe47b 100644 --- a/SmartTest.package/SmartFinder.class/instance/resetCache.st +++ b/SmartTest.package/SmartFinder.class/instance/resetCache.st @@ -1,3 +1,3 @@ api resetCache - self cacheClass resetCache \ No newline at end of file + self cacheStrategy resetCache \ No newline at end of file diff --git a/SmartTest.package/SmartFinder.class/instance/setCacheValues..st b/SmartTest.package/SmartFinder.class/instance/setCacheValues..st index 77ae2a4..6b99ca6 100644 --- a/SmartTest.package/SmartFinder.class/instance/setCacheValues..st +++ b/SmartTest.package/SmartFinder.class/instance/setCacheValues..st @@ -1,4 +1,3 @@ api setCacheValues: aDictionnary - cache := aDictionnary. - self cacheClass cache: cache. \ No newline at end of file + self cacheStrategy cache: aDictionnary. \ No newline at end of file diff --git a/SmartTest.package/SmartFinder.class/instance/smtFinder..st b/SmartTest.package/SmartFinder.class/instance/smtFinder..st index 43ad1a7..763196f 100644 --- a/SmartTest.package/SmartFinder.class/instance/smtFinder..st +++ b/SmartTest.package/SmartFinder.class/instance/smtFinder..st @@ -3,6 +3,6 @@ smtFinder: aSmTTestFinderStrategy smtFinder := aSmTTestFinderStrategy. smtFinder filter: self filter; - cache: self cacheClass; + cache: self cacheStrategy; shouldTryToFindTestForDynamic: self shouldTryToFindTestForDynamic. self testingStrategy finder: aSmTTestFinderStrategy \ No newline at end of file diff --git a/SmartTest.package/SmartFinder.class/instance/smtFinder.st b/SmartTest.package/SmartFinder.class/instance/smtFinder.st index 0b24bf6..a1116c9 100644 --- a/SmartTest.package/SmartFinder.class/instance/smtFinder.st +++ b/SmartTest.package/SmartFinder.class/instance/smtFinder.st @@ -3,6 +3,6 @@ smtFinder ^ smtFinder ifNil: [ smtFinder := SmTSenderTestFinderStrategy new filter: self filter; - cache: self cacheClass; + cache: self cacheStrategy; shouldTryToFindTestForDynamic: self shouldTryToFindTestForDynamic; yourself ] \ No newline at end of file diff --git a/SmartTest.package/SmartFinder.class/properties.json b/SmartTest.package/SmartFinder.class/properties.json index b5f5d7d..3f836c4 100644 --- a/SmartTest.package/SmartFinder.class/properties.json +++ b/SmartTest.package/SmartFinder.class/properties.json @@ -10,11 +10,10 @@ "testRunner", "testingStrategy", "smtFinder", - "cacheClass", + "cacheStrategy", "shouldTryToFindTestForDynamic", "autoUpdateCache", - "smtListener", - "cache" + "smtListener" ], "name" : "SmartFinder", "type" : "normal" diff --git a/SmartTest.package/SmartFinderTest.class/instance/setUp.st b/SmartTest.package/SmartFinderTest.class/instance/setUp.st index 88c7644..952a516 100644 --- a/SmartTest.package/SmartFinderTest.class/instance/setUp.st +++ b/SmartTest.package/SmartFinderTest.class/instance/setUp.st @@ -1,7 +1,7 @@ initialization setUp smartFinder := SmartFinder new - cacheClass: SmTBasicCacheStrategy new; + cacheStrategy: SmTBasicCacheStrategy new; filter: SmTDefaultNullPackagesFilter new; testRunner: SmTRunnerStrategyDebug; smtFinder: SmTSenderTestFinderStrategy new; diff --git a/SmartTest.package/SmartFinderTest.class/instance/testChangeCacheClassFinder.st b/SmartTest.package/SmartFinderTest.class/instance/testChangeCacheClassFinder.st index f03b107..3094e7e 100644 --- a/SmartTest.package/SmartFinderTest.class/instance/testChangeCacheClassFinder.st +++ b/SmartTest.package/SmartFinderTest.class/instance/testChangeCacheClassFinder.st @@ -3,5 +3,5 @@ testChangeCacheClassFinder | cacheTmp | smartFinder smtFinder. cacheTmp := SmTBasicCacheStrategy new. - smartFinder cacheClass: cacheTmp. + smartFinder cacheStrategy: cacheTmp. self assert: smartFinder smtFinder cache equals: cacheTmp \ No newline at end of file From 77a866151902a1b1d44c733618d459078f6bc680 Mon Sep 17 00:00:00 2001 From: badetitou Date: Fri, 13 Apr 2018 18:05:42 +0200 Subject: [PATCH 011/150] Menu re order --- .../class/settingsOn..st | 5 +++-- .../class/settingsOn..st | 3 +-- .../SmTRules.class/class/settingsOn..st | 19 +++++++++++++++---- .../class/settingsOn..st | 2 +- .../class/settingsOn..st | 5 +++-- 5 files changed, 23 insertions(+), 11 deletions(-) diff --git a/SmartTest.package/SmTBigButtonCollector.class/class/settingsOn..st b/SmartTest.package/SmTBigButtonCollector.class/class/settingsOn..st index 059e5bb..56bcaff 100644 --- a/SmartTest.package/SmTBigButtonCollector.class/class/settingsOn..st +++ b/SmartTest.package/SmTBigButtonCollector.class/class/settingsOn..st @@ -5,15 +5,16 @@ settingsOn: aBuilder parent: 'SmartTest'; target: self; order: 0.01; - label: 'SmartTest Collect ButtonActivated'; + label: 'SmartTest Collect Button'; description: 'Toogle to activate/disable the Big Button'. (aBuilder group: #reset) label: 'Big Button Reset Cache'; target: self; parent: #SmartTest; + order: 8; dialog: [ SimpleButtonMorph new target: self; - label: 'Reset Bg Button SmartTest Cache'; + label: 'Reset Collect Button Cache'; actionSelector: #reset; themeChanged; yourself ]; diff --git a/SmartTest.package/SmTDefaultPackagesFilter.class/class/settingsOn..st b/SmartTest.package/SmTDefaultPackagesFilter.class/class/settingsOn..st index 4f4f342..7cec5d9 100644 --- a/SmartTest.package/SmTDefaultPackagesFilter.class/class/settingsOn..st +++ b/SmartTest.package/SmTDefaultPackagesFilter.class/class/settingsOn..st @@ -1,5 +1,4 @@ settings settingsOn: aBuilder - (aBuilder group: #SmTFilter) - parent: #SmartTest \ No newline at end of file + (aBuilder group: #SmTFilter) parent: #SmartFinder; order: 0.6 \ No newline at end of file diff --git a/SmartTest.package/SmTRules.class/class/settingsOn..st b/SmartTest.package/SmTRules.class/class/settingsOn..st index 97cb714..325a9ba 100644 --- a/SmartTest.package/SmTRules.class/class/settingsOn..st +++ b/SmartTest.package/SmTRules.class/class/settingsOn..st @@ -3,13 +3,16 @@ settingsOn: aBuilder (aBuilder group: #SmartTest) with: [ (aBuilder group: #SmartFinder) + order: 7; with: [ (aBuilder pickOne: #finder) + order: 0; label: 'SmartTest finder'; target: self; parent: #SmartFinder; domainValues: (SmTTestFinderStrategy allSubclasses select: #isConcreteFinder); description: 'The finder defines how CORA searchs the relative test of a method'. (aBuilder pickOne: #cacheStrategy) + order: 2; label: 'SmartTest Cache'; target: self; parent: #SmartFinder; @@ -18,41 +21,45 @@ settingsOn: aBuilder 'To visualize the current cache SmTCacheSettings cache new currentCache'. (aBuilder pickOne: #runner) + order: 3; label: 'SmartTest test runner'; target: self; parent: #SmartFinder; domainValues: SmTRunnerStrategy allSubclasses; description: 'The test runner defines if the tests are run in a debug way or not'. (aBuilder pickOne: #strategy) + order: 1; label: 'SmartTest testing strategy'; target: self; parent: #SmartFinder; domainValues: SmTTestingStrategy allSubclasses; description: 'The testing strategy defines when SmartTest will run the test it has found.'. (aBuilder pickOne: #filter) + order: 0.5; label: 'SmartTest filter'; target: self; parent: #SmartFinder; domainValues: SmTDefaultPackagesFilter withAllSubclasses; description: 'The testing strategy defines when SmartTest will run the test it has found.' ]. (aBuilder group: #SmTActivationRenrakuOption) + order: 6; with: [ (aBuilder setting: #activated) target: self; order: 0.01; label: 'SmartTest Reneraku Integration Activated'; description: 'Toogle to activate/disable the reneraku integration of the plugin' ]. (aBuilder setting: #shouldTryToFindTestForDynamic) - parent: 'SmartTest'; + parent: 'Beta'; target: self; order: 0.04; label: 'Try to find for Dynamic '; description: 'When you click in a method, and have selected a Dynamix finder, we''''are updating the cache for it execution (BETA)'. - (aBuilder group: #reset) + (aBuilder group: #fill) label: 'Fill cache'; target: self; - parent: #SmartTest; + parent: #Beta; dialog: [ SimpleButtonMorph new target: self; label: 'Fill cache'; @@ -64,6 +71,7 @@ settingsOn: aBuilder label: 'Reset Cache'; target: self; parent: #SmartTest; + order: 9; dialog: [ SimpleButtonMorph new target: self testFinder; label: 'Reset Current SmartTest Cache'; @@ -72,4 +80,7 @@ settingsOn: aBuilder yourself ]; description: 'Reset the cache of SmartTest - SmTTestFinderStrategy methodToTest' \ No newline at end of file + SmTTestFinderStrategy methodToTest'. + (aBuilder group: #Beta) + parent: #SmartTest; + order: 10 \ No newline at end of file diff --git a/SmartTest.package/SmTTestListener.class/class/settingsOn..st b/SmartTest.package/SmTTestListener.class/class/settingsOn..st index 57fcf6c..87f61e3 100644 --- a/SmartTest.package/SmTTestListener.class/class/settingsOn..st +++ b/SmartTest.package/SmTTestListener.class/class/settingsOn..st @@ -2,7 +2,7 @@ initialization settingsOn: aBuilder (aBuilder setting: #activated) - parent: 'SmartTest'; + parent: #Beta; target: self; order: 0.04; label: 'AutoUpdate Cache'; diff --git a/SmartTest.package/SmTTestingStrategy.class/class/settingsOn..st b/SmartTest.package/SmTTestingStrategy.class/class/settingsOn..st index a8a5140..caf9378 100644 --- a/SmartTest.package/SmTTestingStrategy.class/class/settingsOn..st +++ b/SmartTest.package/SmTTestingStrategy.class/class/settingsOn..st @@ -2,9 +2,10 @@ protocol settingsOn: aBuilder (aBuilder group: #TestingStrategy) - parent: #SmartTest; + order: 1.5; + parent: #SmartFinder; with: [ (aBuilder setting: #defaultSizeOfResearchQueue) target: self; parent: #TestingStrategy; label: 'Size of the queue for the research of element'; - description: 'Size of the queue for the research of element.' ] \ No newline at end of file + description: '' ] \ No newline at end of file From 744010af20e572a795529be8db2c4972f39515d5 Mon Sep 17 00:00:00 2001 From: badetitou Date: Fri, 13 Apr 2018 18:51:23 +0200 Subject: [PATCH 012/150] Solf huge bug with Calypso extention for little windows (showing tests found) --- .../{instance => class}/canBeExecutedInContext..st | 4 +--- .../instance/buildTableCellIconFor..st | 4 ---- .../instance/decorateTableCell.using..st | 10 ++++++++++ .../instance/canBeExecutedInContext..st | 4 +--- .../instance/execute.st | 4 +--- 5 files changed, 13 insertions(+), 13 deletions(-) rename SmartTest.package/ClyOpenClassRelatedTestsCommand.class/{instance => class}/canBeExecutedInContext..st (59%) delete mode 100644 SmartTest.package/ClyOpenClassRelatedTestsCommand.class/instance/buildTableCellIconFor..st create mode 100644 SmartTest.package/ClyOpenClassRelatedTestsCommand.class/instance/decorateTableCell.using..st diff --git a/SmartTest.package/ClyOpenClassRelatedTestsCommand.class/instance/canBeExecutedInContext..st b/SmartTest.package/ClyOpenClassRelatedTestsCommand.class/class/canBeExecutedInContext..st similarity index 59% rename from SmartTest.package/ClyOpenClassRelatedTestsCommand.class/instance/canBeExecutedInContext..st rename to SmartTest.package/ClyOpenClassRelatedTestsCommand.class/class/canBeExecutedInContext..st index 9141449..e6151ba 100644 --- a/SmartTest.package/ClyOpenClassRelatedTestsCommand.class/instance/canBeExecutedInContext..st +++ b/SmartTest.package/ClyOpenClassRelatedTestsCommand.class/class/canBeExecutedInContext..st @@ -1,5 +1,3 @@ -execution +testing canBeExecutedInContext: aCriticContext - (super canBeExecutedInDropContext: aCriticContext) ifFalse: [ ^false ]. - ^ SmTRelativeTestsCritique subclasses includes: aCriticContext selectedCritique class \ No newline at end of file diff --git a/SmartTest.package/ClyOpenClassRelatedTestsCommand.class/instance/buildTableCellIconFor..st b/SmartTest.package/ClyOpenClassRelatedTestsCommand.class/instance/buildTableCellIconFor..st deleted file mode 100644 index 73941a2..0000000 --- a/SmartTest.package/ClyOpenClassRelatedTestsCommand.class/instance/buildTableCellIconFor..st +++ /dev/null @@ -1,4 +0,0 @@ -table decoration -buildTableCellIconFor: anItemCellMorph - - ^anItemCellMorph iconNamed: #smallWindow \ No newline at end of file diff --git a/SmartTest.package/ClyOpenClassRelatedTestsCommand.class/instance/decorateTableCell.using..st b/SmartTest.package/ClyOpenClassRelatedTestsCommand.class/instance/decorateTableCell.using..st new file mode 100644 index 0000000..10463cf --- /dev/null +++ b/SmartTest.package/ClyOpenClassRelatedTestsCommand.class/instance/decorateTableCell.using..st @@ -0,0 +1,10 @@ +execution +decorateTableCell: anItemCellMorph using: aCommandActivator + anItemCellMorph + addExtraTool: + (IconicButton new + labelGraphic: (Smalltalk iconNamed: #smallWindow); + color: Color transparent; + borderColor: Color transparent; + target: self; + actionSelector: #execute) \ No newline at end of file diff --git a/SmartTest.package/ClyRunClassRelatedTestsCommand.class/instance/canBeExecutedInContext..st b/SmartTest.package/ClyRunClassRelatedTestsCommand.class/instance/canBeExecutedInContext..st index 215543d..2b0126d 100644 --- a/SmartTest.package/ClyRunClassRelatedTestsCommand.class/instance/canBeExecutedInContext..st +++ b/SmartTest.package/ClyRunClassRelatedTestsCommand.class/instance/canBeExecutedInContext..st @@ -1,6 +1,4 @@ execution canBeExecutedInContext: aCriticContext - (super canBeExecutedInDropContext: aCriticContext) ifFalse: [ ^false ]. - - ^SmTRelativeTestsCritique subclasses includes: aCriticContext class \ No newline at end of file + ^ (self canBeExecutedInDropContext: aCriticContext) and: [ SmTRelativeTestsCritique subclasses includes: aCriticContext class ] \ No newline at end of file diff --git a/SmartTest.package/ClyRunClassRelatedTestsCommand.class/instance/execute.st b/SmartTest.package/ClyRunClassRelatedTestsCommand.class/instance/execute.st index a4b1618..13f1dfa 100644 --- a/SmartTest.package/ClyRunClassRelatedTestsCommand.class/instance/execute.st +++ b/SmartTest.package/ClyRunClassRelatedTestsCommand.class/instance/execute.st @@ -1,4 +1,2 @@ execution -execute - "We never go here" - self halt \ No newline at end of file +execute \ No newline at end of file From 8b59a6e3305b6aee0b5fea5b2955a185487e5c9e Mon Sep 17 00:00:00 2001 From: badetitou Date: Sun, 22 Apr 2018 16:22:13 +0200 Subject: [PATCH 013/150] memory leak fix --- .../instance/analyseAndRemoveProxyFor..st | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/analyseAndRemoveProxyFor..st b/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/analyseAndRemoveProxyFor..st index e53f58a..27544bc 100644 --- a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/analyseAndRemoveProxyFor..st +++ b/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/analyseAndRemoveProxyFor..st @@ -1,3 +1,4 @@ api analyseAndRemoveProxyFor: aTestCase - (wrappers at: aTestCase) do: [ :each | each uninstall ] \ No newline at end of file + (wrappers at: aTestCase) do: [ :each | each uninstall ]. + wrappers removeKey: aTestCase \ No newline at end of file From 7409c70599fc36b9b838963599074a882bb1d481 Mon Sep 17 00:00:00 2001 From: badetitou Date: Sun, 22 Apr 2018 16:51:37 +0200 Subject: [PATCH 014/150] + SmTIcebergLoadedPackageFilter ~ change default filter to iceberg one --- .../SmTIcebergLoadedPackageFilter.class/README.md | 0 .../instance/shouldEntityBeFiltered..st | 3 +++ .../properties.json | 11 +++++++++++ SmartTest.package/SmTRules.class/class/filter.st | 2 +- 4 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 SmartTest.package/SmTIcebergLoadedPackageFilter.class/README.md create mode 100644 SmartTest.package/SmTIcebergLoadedPackageFilter.class/instance/shouldEntityBeFiltered..st create mode 100644 SmartTest.package/SmTIcebergLoadedPackageFilter.class/properties.json diff --git a/SmartTest.package/SmTIcebergLoadedPackageFilter.class/README.md b/SmartTest.package/SmTIcebergLoadedPackageFilter.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTest.package/SmTIcebergLoadedPackageFilter.class/instance/shouldEntityBeFiltered..st b/SmartTest.package/SmTIcebergLoadedPackageFilter.class/instance/shouldEntityBeFiltered..st new file mode 100644 index 0000000..ac1c36b --- /dev/null +++ b/SmartTest.package/SmTIcebergLoadedPackageFilter.class/instance/shouldEntityBeFiltered..st @@ -0,0 +1,3 @@ +asserting +shouldEntityBeFiltered: anEntity + ^ ((IceRepository registry flatCollect: [ :repository | repository loadedPackages collect: #name]) includes: anEntity package name) not. \ No newline at end of file diff --git a/SmartTest.package/SmTIcebergLoadedPackageFilter.class/properties.json b/SmartTest.package/SmTIcebergLoadedPackageFilter.class/properties.json new file mode 100644 index 0000000..1b306e0 --- /dev/null +++ b/SmartTest.package/SmTIcebergLoadedPackageFilter.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTDefaultPackagesFilter", + "category" : "SmartTest-Filter", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTIcebergLoadedPackageFilter", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTest.package/SmTRules.class/class/filter.st b/SmartTest.package/SmTRules.class/class/filter.st index 9ea0a69..3e13307 100644 --- a/SmartTest.package/SmTRules.class/class/filter.st +++ b/SmartTest.package/SmTRules.class/class/filter.st @@ -1,3 +1,3 @@ settings filter - ^ smTFilter ifNil: [ smTFilter := SmTDefaultClassPackagesFilter ] \ No newline at end of file + ^ smTFilter ifNil: [ smTFilter := SmTIcebergLoadedPackageFilter ] \ No newline at end of file From 33d0fd520b38186f16d7154a71e8b553e6642a85 Mon Sep 17 00:00:00 2001 From: badetitou Date: Sun, 22 Apr 2018 16:59:04 +0200 Subject: [PATCH 015/150] reorganized filter --- .../SmTDefaultPackagesFilter.class/properties.json | 2 +- SmartTest.package/SmTFilterStrategy.class/README.md | 0 .../instance/shouldEntityBeFiltered..st | 3 +++ .../SmTFilterStrategy.class/properties.json | 11 +++++++++++ .../properties.json | 2 +- .../README.md | 0 .../instance/shouldEntityBeFiltered..st | 0 .../properties.json | 4 ++-- .../SmTSpecifyPackageNameFilter.class/properties.json | 2 +- .../SmartFinderTest.class/instance/setUp.st | 2 +- 10 files changed, 20 insertions(+), 6 deletions(-) create mode 100644 SmartTest.package/SmTFilterStrategy.class/README.md create mode 100644 SmartTest.package/SmTFilterStrategy.class/instance/shouldEntityBeFiltered..st create mode 100644 SmartTest.package/SmTFilterStrategy.class/properties.json rename SmartTest.package/{SmTDefaultNullPackagesFilter.class => SmTNullPackagesFilter.class}/README.md (100%) rename SmartTest.package/{SmTDefaultNullPackagesFilter.class => SmTNullPackagesFilter.class}/instance/shouldEntityBeFiltered..st (100%) rename SmartTest.package/{SmTDefaultNullPackagesFilter.class => SmTNullPackagesFilter.class}/properties.json (69%) diff --git a/SmartTest.package/SmTDefaultPackagesFilter.class/properties.json b/SmartTest.package/SmTDefaultPackagesFilter.class/properties.json index ea6aa68..7b3101f 100644 --- a/SmartTest.package/SmTDefaultPackagesFilter.class/properties.json +++ b/SmartTest.package/SmTDefaultPackagesFilter.class/properties.json @@ -1,6 +1,6 @@ { "commentStamp" : "BenoitVerhaeghe 7/3/2017 16:30", - "super" : "Object", + "super" : "SmTFilterStrategy", "category" : "SmartTest-Filter", "classinstvars" : [ ], "pools" : [ ], diff --git a/SmartTest.package/SmTFilterStrategy.class/README.md b/SmartTest.package/SmTFilterStrategy.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTest.package/SmTFilterStrategy.class/instance/shouldEntityBeFiltered..st b/SmartTest.package/SmTFilterStrategy.class/instance/shouldEntityBeFiltered..st new file mode 100644 index 0000000..046673e --- /dev/null +++ b/SmartTest.package/SmTFilterStrategy.class/instance/shouldEntityBeFiltered..st @@ -0,0 +1,3 @@ +asserting +shouldEntityBeFiltered: anEntity + self subclassResponsibility \ No newline at end of file diff --git a/SmartTest.package/SmTFilterStrategy.class/properties.json b/SmartTest.package/SmTFilterStrategy.class/properties.json new file mode 100644 index 0000000..bdb1fb8 --- /dev/null +++ b/SmartTest.package/SmTFilterStrategy.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "Object", + "category" : "SmartTest-Filter", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTFilterStrategy", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTest.package/SmTIcebergLoadedPackageFilter.class/properties.json b/SmartTest.package/SmTIcebergLoadedPackageFilter.class/properties.json index 1b306e0..446a902 100644 --- a/SmartTest.package/SmTIcebergLoadedPackageFilter.class/properties.json +++ b/SmartTest.package/SmTIcebergLoadedPackageFilter.class/properties.json @@ -1,6 +1,6 @@ { "commentStamp" : "", - "super" : "SmTDefaultPackagesFilter", + "super" : "SmTFilterStrategy", "category" : "SmartTest-Filter", "classinstvars" : [ ], "pools" : [ ], diff --git a/SmartTest.package/SmTDefaultNullPackagesFilter.class/README.md b/SmartTest.package/SmTNullPackagesFilter.class/README.md similarity index 100% rename from SmartTest.package/SmTDefaultNullPackagesFilter.class/README.md rename to SmartTest.package/SmTNullPackagesFilter.class/README.md diff --git a/SmartTest.package/SmTDefaultNullPackagesFilter.class/instance/shouldEntityBeFiltered..st b/SmartTest.package/SmTNullPackagesFilter.class/instance/shouldEntityBeFiltered..st similarity index 100% rename from SmartTest.package/SmTDefaultNullPackagesFilter.class/instance/shouldEntityBeFiltered..st rename to SmartTest.package/SmTNullPackagesFilter.class/instance/shouldEntityBeFiltered..st diff --git a/SmartTest.package/SmTDefaultNullPackagesFilter.class/properties.json b/SmartTest.package/SmTNullPackagesFilter.class/properties.json similarity index 69% rename from SmartTest.package/SmTDefaultNullPackagesFilter.class/properties.json rename to SmartTest.package/SmTNullPackagesFilter.class/properties.json index 85540ce..181b4a1 100644 --- a/SmartTest.package/SmTDefaultNullPackagesFilter.class/properties.json +++ b/SmartTest.package/SmTNullPackagesFilter.class/properties.json @@ -1,11 +1,11 @@ { "commentStamp" : "BenoitVerhaeghe 7/13/2017 14:23", - "super" : "SmTDefaultPackagesFilter", + "super" : "SmTFilterStrategy", "category" : "SmartTest-Filter", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], "instvars" : [ ], - "name" : "SmTDefaultNullPackagesFilter", + "name" : "SmTNullPackagesFilter", "type" : "normal" } \ No newline at end of file diff --git a/SmartTest.package/SmTSpecifyPackageNameFilter.class/properties.json b/SmartTest.package/SmTSpecifyPackageNameFilter.class/properties.json index 193780f..59e6794 100644 --- a/SmartTest.package/SmTSpecifyPackageNameFilter.class/properties.json +++ b/SmartTest.package/SmTSpecifyPackageNameFilter.class/properties.json @@ -1,6 +1,6 @@ { "commentStamp" : "", - "super" : "SmTDefaultPackagesFilter", + "super" : "SmTFilterStrategy", "category" : "SmartTest-Filter", "classinstvars" : [ "collectionOfRegex" diff --git a/SmartTest.package/SmartFinderTest.class/instance/setUp.st b/SmartTest.package/SmartFinderTest.class/instance/setUp.st index 952a516..d425483 100644 --- a/SmartTest.package/SmartFinderTest.class/instance/setUp.st +++ b/SmartTest.package/SmartFinderTest.class/instance/setUp.st @@ -2,7 +2,7 @@ initialization setUp smartFinder := SmartFinder new cacheStrategy: SmTBasicCacheStrategy new; - filter: SmTDefaultNullPackagesFilter new; + filter: SmTNullPackagesFilter new; testRunner: SmTRunnerStrategyDebug; smtFinder: SmTSenderTestFinderStrategy new; testingStrategy: SmTTestingStrategyEachModification new; From b6ea8888795b783a983f7e41c53399d778c82ed2 Mon Sep 17 00:00:00 2001 From: badetitou Date: Sun, 22 Apr 2018 17:12:31 +0200 Subject: [PATCH 016/150] reorga fix --- .../SmTFilterStrategy.class/instance/extractPackagesFrom..st | 3 +++ SmartTest.package/SmTRules.class/class/settingsOn..st | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 SmartTest.package/SmTFilterStrategy.class/instance/extractPackagesFrom..st diff --git a/SmartTest.package/SmTFilterStrategy.class/instance/extractPackagesFrom..st b/SmartTest.package/SmTFilterStrategy.class/instance/extractPackagesFrom..st new file mode 100644 index 0000000..8943843 --- /dev/null +++ b/SmartTest.package/SmTFilterStrategy.class/instance/extractPackagesFrom..st @@ -0,0 +1,3 @@ +asserting +extractPackagesFrom: aCompiledMethod + "Can be implemented to init the filter for a specific research" \ No newline at end of file diff --git a/SmartTest.package/SmTRules.class/class/settingsOn..st b/SmartTest.package/SmTRules.class/class/settingsOn..st index 325a9ba..11e9ca2 100644 --- a/SmartTest.package/SmTRules.class/class/settingsOn..st +++ b/SmartTest.package/SmTRules.class/class/settingsOn..st @@ -39,7 +39,7 @@ settingsOn: aBuilder label: 'SmartTest filter'; target: self; parent: #SmartFinder; - domainValues: SmTDefaultPackagesFilter withAllSubclasses; + domainValues: SmTFilterStrategy allSubclasses; description: 'The testing strategy defines when SmartTest will run the test it has found.' ]. (aBuilder group: #SmTActivationRenrakuOption) order: 6; From 41ea2e746cb3c39683096f7cc90f81d7eb0d3e8e Mon Sep 17 00:00:00 2001 From: badetitou Date: Sun, 22 Apr 2018 17:39:30 +0200 Subject: [PATCH 017/150] remove old dependency --- .../instance/displayCritique..st | 47 ------------------- .../properties.json | 3 -- 2 files changed, 50 deletions(-) delete mode 100644 SmartTest.package/QANautilusPluginMorph.extension/instance/displayCritique..st delete mode 100644 SmartTest.package/QANautilusPluginMorph.extension/properties.json diff --git a/SmartTest.package/QANautilusPluginMorph.extension/instance/displayCritique..st b/SmartTest.package/QANautilusPluginMorph.extension/instance/displayCritique..st deleted file mode 100644 index 34a9178..0000000 --- a/SmartTest.package/QANautilusPluginMorph.extension/instance/displayCritique..st +++ /dev/null @@ -1,47 +0,0 @@ -*SmartTest -displayCritique: aCritique - | listItem | - listItem := Morph new - layoutPolicy: TableLayout new; - listDirection: #leftToRight; - cellPositioning: #center; - hResizing: #spaceFill; - vResizing: #shrinkWrap; - cellInset: 5; - color: Color transparent; - layoutInset: - (Margin - left: 0 - top: 0 - right: 10 - bottom: 0); - yourself. - listItem addMorph: aCritique title asStringMorph. - aCritique iconicButtons - do: [ :iconicButtons | listItem addMorphBack: iconicButtons ]. - aCritique actions - do: [ :action | - listItem - addMorphBack: - (IconicButton new - target: action; - labelGraphic: action icon; - actionSelector: #actOnCritic:ofEntity:; - arguments: - {aCritique. - entity}; - color: Color transparent; - helpText: action description; - extent: 16 @ 16; - borderWidth: 0; - yourself) ]. - aCritique isCritique - ifTrue: [ listItem - addMorphBack: - (Morph new - color: Color transparent; - hResizing: #spaceFill; - height: 5; - yourself). - listItem addMorphBack: (QAFeedbackMorph new critique: aCritique) ]. - ^ listItem \ No newline at end of file diff --git a/SmartTest.package/QANautilusPluginMorph.extension/properties.json b/SmartTest.package/QANautilusPluginMorph.extension/properties.json deleted file mode 100644 index 805058f..0000000 --- a/SmartTest.package/QANautilusPluginMorph.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "QANautilusPluginMorph" -} \ No newline at end of file From c27b292c6365388a8e3617935f6e3bfbefeca799 Mon Sep 17 00:00:00 2001 From: badetitou Date: Sun, 22 Apr 2018 17:52:00 +0200 Subject: [PATCH 018/150] Add tests for Reflectivity build cache --- .../README.md | 0 .../instance/dynamiqueFinder.st | 3 ++ .../testRunningTestMethod1ToBuildCache.st | 12 ++++++ .../testRunningTestMethod2ToBuildCache.st | 38 +++++++++++++++++++ .../testRunningTestMethod5ToBuildCache.st | 17 +++++++++ .../properties.json | 11 ++++++ .../class/isAbstract.st | 4 ++ .../instance/dynamiqueFinder.st | 3 ++ .../instance/setUp.st | 2 +- .../README.md | 0 .../instance/dynamiqueFinder.st | 3 ++ .../properties.json | 11 ++++++ .../instance/installProxyFor..st | 1 + 13 files changed, 104 insertions(+), 1 deletion(-) create mode 100644 SmartTest.package/SmTCacheBuilderReflectivityTest.class/README.md create mode 100644 SmartTest.package/SmTCacheBuilderReflectivityTest.class/instance/dynamiqueFinder.st create mode 100644 SmartTest.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod1ToBuildCache.st create mode 100644 SmartTest.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod2ToBuildCache.st create mode 100644 SmartTest.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod5ToBuildCache.st create mode 100644 SmartTest.package/SmTCacheBuilderReflectivityTest.class/properties.json create mode 100644 SmartTest.package/SmTCacheBuilderTest.class/class/isAbstract.st create mode 100644 SmartTest.package/SmTCacheBuilderTest.class/instance/dynamiqueFinder.st create mode 100644 SmartTest.package/SmTCacheBuilderTestCoverageTest.class/README.md create mode 100644 SmartTest.package/SmTCacheBuilderTestCoverageTest.class/instance/dynamiqueFinder.st create mode 100644 SmartTest.package/SmTCacheBuilderTestCoverageTest.class/properties.json diff --git a/SmartTest.package/SmTCacheBuilderReflectivityTest.class/README.md b/SmartTest.package/SmTCacheBuilderReflectivityTest.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTest.package/SmTCacheBuilderReflectivityTest.class/instance/dynamiqueFinder.st b/SmartTest.package/SmTCacheBuilderReflectivityTest.class/instance/dynamiqueFinder.st new file mode 100644 index 0000000..d61b6bd --- /dev/null +++ b/SmartTest.package/SmTCacheBuilderReflectivityTest.class/instance/dynamiqueFinder.st @@ -0,0 +1,3 @@ +initialization +dynamiqueFinder + ^ SmTReflectivityTestFinderStrategy new \ No newline at end of file diff --git a/SmartTest.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod1ToBuildCache.st b/SmartTest.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod1ToBuildCache.st new file mode 100644 index 0000000..93d7537 --- /dev/null +++ b/SmartTest.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod1ToBuildCache.st @@ -0,0 +1,12 @@ +initialization +testRunningTestMethod1ToBuildCache + + self assert: smartFinder currentCache isEmpty. + SmTClassTest run: #testMethod1. + "Running the test fill the cache that is then no more empty but contains only the association between SmTClass>>method1 and SmTClassTest>>testMethod1" + self assert: smartFinder currentCache isNotEmpty. + + "Not sure about the format of the dictionnary." + self + assert: (smartFinder currentCache at: (RGMethodDefinition className: 'SmTClass' selector: #method1 isMetaSide: false)) + equals: {(RGMethodDefinition className: 'SmTClassTest' selector: #testMethod1 isMetaSide: false)} asSet \ No newline at end of file diff --git a/SmartTest.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod2ToBuildCache.st b/SmartTest.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod2ToBuildCache.st new file mode 100644 index 0000000..cd238d1 --- /dev/null +++ b/SmartTest.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod2ToBuildCache.st @@ -0,0 +1,38 @@ +initialization +testRunningTestMethod2ToBuildCache + + self assert: smartFinder currentCache isEmpty. + SmTClassTest run: #testMethod2. + "Running the test fill the cache that is then no more empty but contains only the association between SmTClass>>methodi (with i = 1 to 4) and SmTClassTest>>testMethod2. The cache should contain 4 associations one per each method as key and testMethod2 asValue" + self assert: smartFinder currentCache isNotEmpty. + + self + assert: + (smartFinder currentCache + at: (RGMethodDefinition className: 'SmTClass' selector: #method1 isMetaSide: false)) + equals: + {(RGMethodDefinition className: 'SmTClassTest' selector: #testMethod2 isMetaSide: false)} + asSet. + + "Not sure about the format of the dictionnary." + self + assert: + (smartFinder currentCache + at: (RGMethodDefinition className: 'SmTClass' selector: #method2 isMetaSide: false)) + equals: + {(RGMethodDefinition className: 'SmTClassTest' selector: #testMethod2 isMetaSide: false)} + asSet. + self + assert: + (smartFinder currentCache + at: (RGMethodDefinition className: 'SmTClass' selector: #method3: isMetaSide: false)) + equals: + {(RGMethodDefinition className: 'SmTClassTest' selector: #testMethod2 isMetaSide: false)} + asSet. + self + assert: + (smartFinder currentCache + at: (RGMethodDefinition className: 'SmTClass' selector: #method4 isMetaSide: false)) + equals: + {(RGMethodDefinition className: 'SmTClassTest' selector: #testMethod2 isMetaSide: false)} + asSet \ No newline at end of file diff --git a/SmartTest.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod5ToBuildCache.st b/SmartTest.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod5ToBuildCache.st new file mode 100644 index 0000000..93b4b79 --- /dev/null +++ b/SmartTest.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod5ToBuildCache.st @@ -0,0 +1,17 @@ +initialization +testRunningTestMethod5ToBuildCache + "This test if SmTTestCoverage find the initialize call" + + + self assert: smartFinder currentCache isEmpty. + SmTClassTest run: #testMethod5. + "Running the test fill the cache that is then no more empty but contains only the association between SmTClass>>method1 and SmTClassTest>>testMethod1" + self assert: smartFinder currentCache isNotEmpty. + + + self + assert: (smartFinder currentCache at: (RGMethodDefinition className: 'SmTClass2' selector: #initialize isMetaSide: false)) + equals: {(RGMethodDefinition className: 'SmTClassTest' selector: #testMethod5 isMetaSide: false)} asSet. + self + assert: (smartFinder currentCache at: (RGMethodDefinition className: 'SmTClassTest' selector: #testMethod5 isMetaSide: false)) + equals: {(RGMethodDefinition className: 'SmTClassTest' selector: #testMethod5 isMetaSide: false)} asSet \ No newline at end of file diff --git a/SmartTest.package/SmTCacheBuilderReflectivityTest.class/properties.json b/SmartTest.package/SmTCacheBuilderReflectivityTest.class/properties.json new file mode 100644 index 0000000..b99cf47 --- /dev/null +++ b/SmartTest.package/SmTCacheBuilderReflectivityTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTCacheBuilderTest", + "category" : "SmartTest-Tests", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTCacheBuilderReflectivityTest", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTest.package/SmTCacheBuilderTest.class/class/isAbstract.st b/SmartTest.package/SmTCacheBuilderTest.class/class/isAbstract.st new file mode 100644 index 0000000..640ddb4 --- /dev/null +++ b/SmartTest.package/SmTCacheBuilderTest.class/class/isAbstract.st @@ -0,0 +1,4 @@ +testing +isAbstract + + ^ self == SmTCacheBuilderTest \ No newline at end of file diff --git a/SmartTest.package/SmTCacheBuilderTest.class/instance/dynamiqueFinder.st b/SmartTest.package/SmTCacheBuilderTest.class/instance/dynamiqueFinder.st new file mode 100644 index 0000000..b9e34f7 --- /dev/null +++ b/SmartTest.package/SmTCacheBuilderTest.class/instance/dynamiqueFinder.st @@ -0,0 +1,3 @@ +initialization +dynamiqueFinder + self subclassResponsibility \ No newline at end of file diff --git a/SmartTest.package/SmTCacheBuilderTest.class/instance/setUp.st b/SmartTest.package/SmTCacheBuilderTest.class/instance/setUp.st index df3d786..d9ade90 100644 --- a/SmartTest.package/SmTCacheBuilderTest.class/instance/setUp.st +++ b/SmartTest.package/SmTCacheBuilderTest.class/instance/setUp.st @@ -6,5 +6,5 @@ setUp smartFinder autoUpdateCache: false. smartFinder cacheStrategy: SmTBasicCacheStrategy new. smartFinder resetCache. - smartFinder smtFinder: SmTTestCoverageTestFinderStrategy new. + smartFinder smtFinder: self dynamiqueFinder. smartFinder autoUpdateCache: true \ No newline at end of file diff --git a/SmartTest.package/SmTCacheBuilderTestCoverageTest.class/README.md b/SmartTest.package/SmTCacheBuilderTestCoverageTest.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTest.package/SmTCacheBuilderTestCoverageTest.class/instance/dynamiqueFinder.st b/SmartTest.package/SmTCacheBuilderTestCoverageTest.class/instance/dynamiqueFinder.st new file mode 100644 index 0000000..8cef3d8 --- /dev/null +++ b/SmartTest.package/SmTCacheBuilderTestCoverageTest.class/instance/dynamiqueFinder.st @@ -0,0 +1,3 @@ +initialization +dynamiqueFinder + ^ SmTTestCoverageTestFinderStrategy new \ No newline at end of file diff --git a/SmartTest.package/SmTCacheBuilderTestCoverageTest.class/properties.json b/SmartTest.package/SmTCacheBuilderTestCoverageTest.class/properties.json new file mode 100644 index 0000000..bc9bfc1 --- /dev/null +++ b/SmartTest.package/SmTCacheBuilderTestCoverageTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTCacheBuilderTest", + "category" : "SmartTest-Tests", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTCacheBuilderTestCoverageTest", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/installProxyFor..st b/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/installProxyFor..st index 8bea42e..91f5b58 100644 --- a/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/installProxyFor..st +++ b/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/installProxyFor..st @@ -1,4 +1,5 @@ api installProxyFor: aTestCase self currentTestExecution: aTestCase. + self addATest: aTestCase toMethod: aTestCase. self initializeLinkInCompiledMethod: aTestCase class >> aTestCase selector \ No newline at end of file From 315d70ba18b88574f6b5d5f68a23448477412539 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Verhaeghe?= Date: Sun, 22 Apr 2018 18:05:42 +0200 Subject: [PATCH 019/150] RoadToPharo7 --- .travis.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 60a9ebd..14c759e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,8 +7,3 @@ os: smalltalk: - Pharo-7.0 - - Pharo-6.1 - -matrix: - allow_failures: - - smalltalk: Pharo-7.0 From f27bea43084605d8a0d5f625c856220a97e35d5a Mon Sep 17 00:00:00 2001 From: badetitou Date: Sun, 22 Apr 2018 18:06:40 +0200 Subject: [PATCH 020/150] ~ change comment to new api --- SmartTest.package/SmTRules.class/class/settingsOn..st | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SmartTest.package/SmTRules.class/class/settingsOn..st b/SmartTest.package/SmTRules.class/class/settingsOn..st index 11e9ca2..eeaef0c 100644 --- a/SmartTest.package/SmTRules.class/class/settingsOn..st +++ b/SmartTest.package/SmTRules.class/class/settingsOn..st @@ -80,7 +80,7 @@ settingsOn: aBuilder yourself ]; description: 'Reset the cache of SmartTest - SmTTestFinderStrategy methodToTest'. + SmTRules testFinder currentCache'. (aBuilder group: #Beta) parent: #SmartTest; order: 10 \ No newline at end of file From 00bfb2e5b0b017b54167293e6e0e1d29225debe1 Mon Sep 17 00:00:00 2001 From: badetitou Date: Sun, 22 Apr 2018 18:14:49 +0200 Subject: [PATCH 021/150] - remove useless argument filter inside recursive blabla$ --- .../recursiveSearchForAStandardMethod.foundMethods..st | 7 +++++++ ...iveSearchForAStandardMethod.withFilter.foundMethods..st | 7 ------- .../instance/testsForAStandardMethod..st | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) create mode 100644 SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAStandardMethod.foundMethods..st delete mode 100644 SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAStandardMethod.withFilter.foundMethods..st diff --git a/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAStandardMethod.foundMethods..st b/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAStandardMethod.foundMethods..st new file mode 100644 index 0000000..faa47c8 --- /dev/null +++ b/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAStandardMethod.foundMethods..st @@ -0,0 +1,7 @@ +private - search +recursiveSearchForAStandardMethod: aRGMethodDefinition foundMethods: aCollection + (self collectSenderOfRGMethodeDefintion: aRGMethodDefinition) + reject: [ :aSenderMethod | (filter shouldEntityBeFiltered: aSenderMethod) or: [ aCollection includes: aSenderMethod ] ] + thenDo: [ :aSenderRGMethodDefinition | + aCollection add: aSenderRGMethodDefinition. + self recursiveSearchForAStandardMethod: aSenderRGMethodDefinition foundMethods: aCollection ] \ No newline at end of file diff --git a/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAStandardMethod.withFilter.foundMethods..st b/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAStandardMethod.withFilter.foundMethods..st deleted file mode 100644 index 39aab00..0000000 --- a/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAStandardMethod.withFilter.foundMethods..st +++ /dev/null @@ -1,7 +0,0 @@ -private - search -recursiveSearchForAStandardMethod: aRGMethodDefinition withFilter: aFilter foundMethods: aCollection - (self collectSenderOfRGMethodeDefintion: aRGMethodDefinition) - reject: [ :aSenderMethod | (aFilter shouldEntityBeFiltered: aSenderMethod) or: [ aCollection includes: aSenderMethod ] ] - thenDo: [ :aSenderRGMethodDefinition | - aCollection add: aSenderRGMethodDefinition. - self recursiveSearchForAStandardMethod: aSenderRGMethodDefinition withFilter: aFilter foundMethods: aCollection ] \ No newline at end of file diff --git a/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/testsForAStandardMethod..st b/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/testsForAStandardMethod..st index 8d0360f..6e12f3c 100644 --- a/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/testsForAStandardMethod..st +++ b/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/testsForAStandardMethod..st @@ -3,5 +3,5 @@ testsForAStandardMethod: aCompiledMethod | dependencies | filter := self filter extractPackagesFrom: {aCompiledMethod}. dependencies := Set new. - self recursiveSearchForAStandardMethod: aCompiledMethod methodReference withFilter: filter foundMethods: dependencies. + self recursiveSearchForAStandardMethod: aCompiledMethod methodReference foundMethods: dependencies. ^ dependencies select: #isTestMethod \ No newline at end of file From 35d9845391965ceb0cd95713e4d41ab2e36b15f5 Mon Sep 17 00:00:00 2001 From: badetitou Date: Sun, 22 Apr 2018 18:14:59 +0200 Subject: [PATCH 022/150] - remove useless argument filter inside recursive blabla$ From 161beefab2b157e3e66a1dc133106fa396d05d49 Mon Sep 17 00:00:00 2001 From: badetitou Date: Sun, 22 Apr 2018 18:20:15 +0200 Subject: [PATCH 023/150] ~ change description queue (but not really good, but useless because i think i will remove the queue soon) --- .../SmTTestingStrategy.class/class/settingsOn..st | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/SmartTest.package/SmTTestingStrategy.class/class/settingsOn..st b/SmartTest.package/SmTTestingStrategy.class/class/settingsOn..st index caf9378..18ee552 100644 --- a/SmartTest.package/SmTTestingStrategy.class/class/settingsOn..st +++ b/SmartTest.package/SmTTestingStrategy.class/class/settingsOn..st @@ -8,4 +8,6 @@ settingsOn: aBuilder target: self; parent: #TestingStrategy; label: 'Size of the queue for the research of element'; - description: '' ] \ No newline at end of file + description: 'SmartTest has a queue to keep a list of all the research it has to do. +But not launch them directly. +This is important to not freeze the image quickly.' ] \ No newline at end of file From 41f8be65f9c10f84d036ce09871c84669f7766b6 Mon Sep 17 00:00:00 2001 From: badetitou Date: Sun, 22 Apr 2018 18:50:59 +0200 Subject: [PATCH 024/150] - Remove queue ~ fix methodModifiedStategy --- .../SmTListener.class/instance/enable.st | 4 ++++ .../SmTListener.class/instance/methodAdded..st | 3 +++ .../SmTListener.class/instance/methodModified..st | 3 +++ .../SmTOnModificationStrategy.class/class/get..st | 2 +- .../class/uniqueInstance.st | 2 +- .../instance/testRunCaseNotifyIconGreen.st | 4 ++-- .../instance/testRunCasesNotifyIconRed.st | 2 +- ...ddABlockClosureThatSearchForACompiledMethod..st | 7 ------- .../class/defaultSizeOfResearchQueue..st | 5 ----- .../class/defaultSizeOfResearchQueue.st | 3 --- .../SmTTestingStrategy.class/class/disable.st | 2 +- .../SmTTestingStrategy.class/class/enable.st | 1 + .../SmTTestingStrategy.class/class/initialize.st | 4 ---- .../class/initializeResearchProcess.st | 6 ------ .../SmTTestingStrategy.class/class/queue.st | 3 --- .../class/researchProcess.st | 3 --- .../SmTTestingStrategy.class/class/settingsOn..st | 13 ------------- .../instance/doFindTestsForMethod..st | 3 +-- .../instance/findTestsForMethod..st | 14 ++++---------- .../class/disable.st | 4 ++++ .../class/enable.st | 4 ++++ .../instance/findTestsForMethod..st | 12 +++--------- .../class/enable.st | 4 ++-- .../instance/doFindTestsForMethod..st | 3 +-- .../instance/findTestsForMethod..st | 14 ++++---------- 25 files changed, 40 insertions(+), 85 deletions(-) create mode 100644 SmartTest.package/SmTListener.class/instance/methodAdded..st create mode 100644 SmartTest.package/SmTListener.class/instance/methodModified..st delete mode 100644 SmartTest.package/SmTTestingStrategy.class/class/addABlockClosureThatSearchForACompiledMethod..st delete mode 100644 SmartTest.package/SmTTestingStrategy.class/class/defaultSizeOfResearchQueue..st delete mode 100644 SmartTest.package/SmTTestingStrategy.class/class/defaultSizeOfResearchQueue.st delete mode 100644 SmartTest.package/SmTTestingStrategy.class/class/initialize.st delete mode 100644 SmartTest.package/SmTTestingStrategy.class/class/initializeResearchProcess.st delete mode 100644 SmartTest.package/SmTTestingStrategy.class/class/queue.st delete mode 100644 SmartTest.package/SmTTestingStrategy.class/class/researchProcess.st delete mode 100644 SmartTest.package/SmTTestingStrategy.class/class/settingsOn..st create mode 100644 SmartTest.package/SmTTestingStrategyEachModification.class/class/disable.st create mode 100644 SmartTest.package/SmTTestingStrategyEachModification.class/class/enable.st diff --git a/SmartTest.package/SmTListener.class/instance/enable.st b/SmartTest.package/SmTListener.class/instance/enable.st index 367529b..3c21877 100644 --- a/SmartTest.package/SmTListener.class/instance/enable.st +++ b/SmartTest.package/SmTListener.class/instance/enable.st @@ -1,2 +1,6 @@ protocol enable + SystemAnnouncer uniqueInstance unsubscribe: self. + {(MethodModified -> #methodModified:). + (MethodAdded -> #methodAdded:)} + do: [ :pair | SystemAnnouncer uniqueInstance weak when: pair key send: pair value to: self ]. \ No newline at end of file diff --git a/SmartTest.package/SmTListener.class/instance/methodAdded..st b/SmartTest.package/SmTListener.class/instance/methodAdded..st new file mode 100644 index 0000000..eadef58 --- /dev/null +++ b/SmartTest.package/SmTListener.class/instance/methodAdded..st @@ -0,0 +1,3 @@ +protocol +methodAdded: anAnnouncement + self addToElementBag: anAnnouncement methodAdded. \ No newline at end of file diff --git a/SmartTest.package/SmTListener.class/instance/methodModified..st b/SmartTest.package/SmTListener.class/instance/methodModified..st new file mode 100644 index 0000000..fc921b9 --- /dev/null +++ b/SmartTest.package/SmTListener.class/instance/methodModified..st @@ -0,0 +1,3 @@ +protocol +methodModified: anAnnouncement + self addToElementBag: anAnnouncement newMethod. \ No newline at end of file diff --git a/SmartTest.package/SmTOnModificationStrategy.class/class/get..st b/SmartTest.package/SmTOnModificationStrategy.class/class/get..st index 3d7b94d..dd0fd31 100644 --- a/SmartTest.package/SmTOnModificationStrategy.class/class/get..st +++ b/SmartTest.package/SmTOnModificationStrategy.class/class/get..st @@ -1,4 +1,4 @@ accessing get: anElement "return nil if element absent. The object else" - ^self uniqueInstance get: anElement. \ No newline at end of file + ^ self uniqueInstance get: anElement. \ No newline at end of file diff --git a/SmartTest.package/SmTOnModificationStrategy.class/class/uniqueInstance.st b/SmartTest.package/SmTOnModificationStrategy.class/class/uniqueInstance.st index 6984787..3d5232b 100644 --- a/SmartTest.package/SmTOnModificationStrategy.class/class/uniqueInstance.st +++ b/SmartTest.package/SmTOnModificationStrategy.class/class/uniqueInstance.st @@ -1,3 +1,3 @@ accessing uniqueInstance - ^uniqueInstance ifNil: [ uniqueInstance := self new. ] \ No newline at end of file + ^ uniqueInstance ifNil: [ uniqueInstance := self new. ] \ No newline at end of file diff --git a/SmartTest.package/SmTRunnerTest.class/instance/testRunCaseNotifyIconGreen.st b/SmartTest.package/SmTRunnerTest.class/instance/testRunCaseNotifyIconGreen.st index d143b27..2eee162 100644 --- a/SmartTest.package/SmTRunnerTest.class/instance/testRunCaseNotifyIconGreen.st +++ b/SmartTest.package/SmTRunnerTest.class/instance/testRunCaseNotifyIconGreen.st @@ -1,8 +1,8 @@ tests testRunCaseNotifyIconGreen | case result anIcon | - case := self class selector: #noop. - anIcon := IconicButton new. + case := self class selector: #noop. + anIcon := IconicButton new. result := runner runCase: case notifyIcon: anIcon. self assert: result passed size equals: 1. self assert: result errors size equals: 0. diff --git a/SmartTest.package/SmTRunnerTest.class/instance/testRunCasesNotifyIconRed.st b/SmartTest.package/SmTRunnerTest.class/instance/testRunCasesNotifyIconRed.st index 13d8e48..9ec59bf 100644 --- a/SmartTest.package/SmTRunnerTest.class/instance/testRunCasesNotifyIconRed.st +++ b/SmartTest.package/SmTRunnerTest.class/instance/testRunCasesNotifyIconRed.st @@ -2,7 +2,7 @@ tests testRunCasesNotifyIconRed | case1 case2 case3 anIcon | case1 := self class selector: #error. - case2 := self class selector: #fail. + case2 := self class selector: #fail. case3 := self class selector: #error. anIcon := IconicButton new. runner runCases: {case1.case2.case3} notifyIcon: anIcon. diff --git a/SmartTest.package/SmTTestingStrategy.class/class/addABlockClosureThatSearchForACompiledMethod..st b/SmartTest.package/SmTTestingStrategy.class/class/addABlockClosureThatSearchForACompiledMethod..st deleted file mode 100644 index bf83de6..0000000 --- a/SmartTest.package/SmTTestingStrategy.class/class/addABlockClosureThatSearchForACompiledMethod..st +++ /dev/null @@ -1,7 +0,0 @@ -protocol -addABlockClosureThatSearchForACompiledMethod: aBlockClosure - self queue size >= self defaultSizeOfResearchQueue - ifTrue: [ self queue next value: true ]. - self queue nextPut: aBlockClosure. - self researchProcess isTerminated - ifTrue: [ self initializeResearchProcess ] \ No newline at end of file diff --git a/SmartTest.package/SmTTestingStrategy.class/class/defaultSizeOfResearchQueue..st b/SmartTest.package/SmTTestingStrategy.class/class/defaultSizeOfResearchQueue..st deleted file mode 100644 index a5de557..0000000 --- a/SmartTest.package/SmTTestingStrategy.class/class/defaultSizeOfResearchQueue..st +++ /dev/null @@ -1,5 +0,0 @@ -protocol -defaultSizeOfResearchQueue: anInteger - defaultSize := anInteger asInteger. - [ self queue size > defaultSize ] - whileTrue: [ self queue next ] \ No newline at end of file diff --git a/SmartTest.package/SmTTestingStrategy.class/class/defaultSizeOfResearchQueue.st b/SmartTest.package/SmTTestingStrategy.class/class/defaultSizeOfResearchQueue.st deleted file mode 100644 index 714bc91..0000000 --- a/SmartTest.package/SmTTestingStrategy.class/class/defaultSizeOfResearchQueue.st +++ /dev/null @@ -1,3 +0,0 @@ -protocol -defaultSizeOfResearchQueue - ^ defaultSize ifNil: [ defaultSize := 1 ] \ No newline at end of file diff --git a/SmartTest.package/SmTTestingStrategy.class/class/disable.st b/SmartTest.package/SmTTestingStrategy.class/class/disable.st index 9e13ac0..2be7069 100644 --- a/SmartTest.package/SmTTestingStrategy.class/class/disable.st +++ b/SmartTest.package/SmTTestingStrategy.class/class/disable.st @@ -1,3 +1,3 @@ protocol disable - self queue flush. \ No newline at end of file + "can be override" \ No newline at end of file diff --git a/SmartTest.package/SmTTestingStrategy.class/class/enable.st b/SmartTest.package/SmTTestingStrategy.class/class/enable.st index 367529b..7389a0a 100644 --- a/SmartTest.package/SmTTestingStrategy.class/class/enable.st +++ b/SmartTest.package/SmTTestingStrategy.class/class/enable.st @@ -1,2 +1,3 @@ protocol enable + "can be override" \ No newline at end of file diff --git a/SmartTest.package/SmTTestingStrategy.class/class/initialize.st b/SmartTest.package/SmTTestingStrategy.class/class/initialize.st deleted file mode 100644 index 934c04e..0000000 --- a/SmartTest.package/SmTTestingStrategy.class/class/initialize.st +++ /dev/null @@ -1,4 +0,0 @@ -protocol -initialize - queue := SharedQueue new. - self initializeResearchProcess \ No newline at end of file diff --git a/SmartTest.package/SmTTestingStrategy.class/class/initializeResearchProcess.st b/SmartTest.package/SmTTestingStrategy.class/class/initializeResearchProcess.st deleted file mode 100644 index 1334fff..0000000 --- a/SmartTest.package/SmTTestingStrategy.class/class/initializeResearchProcess.st +++ /dev/null @@ -1,6 +0,0 @@ -protocol -initializeResearchProcess - researchProcess := [ [ true ] - whileTrue: [ | aBlock | - aBlock := self queue next. - aBlock value: false ] ] forkAt: Processor userSchedulingPriority \ No newline at end of file diff --git a/SmartTest.package/SmTTestingStrategy.class/class/queue.st b/SmartTest.package/SmTTestingStrategy.class/class/queue.st deleted file mode 100644 index 7523301..0000000 --- a/SmartTest.package/SmTTestingStrategy.class/class/queue.st +++ /dev/null @@ -1,3 +0,0 @@ -protocol -queue - ^ queue ifNil: [ queue := SharedQueue new. ] \ No newline at end of file diff --git a/SmartTest.package/SmTTestingStrategy.class/class/researchProcess.st b/SmartTest.package/SmTTestingStrategy.class/class/researchProcess.st deleted file mode 100644 index 9525496..0000000 --- a/SmartTest.package/SmTTestingStrategy.class/class/researchProcess.st +++ /dev/null @@ -1,3 +0,0 @@ -protocol -researchProcess - ^ researchProcess ifNil: [ self initializeResearchProcess. ^ researchProcess ] \ No newline at end of file diff --git a/SmartTest.package/SmTTestingStrategy.class/class/settingsOn..st b/SmartTest.package/SmTTestingStrategy.class/class/settingsOn..st deleted file mode 100644 index 18ee552..0000000 --- a/SmartTest.package/SmTTestingStrategy.class/class/settingsOn..st +++ /dev/null @@ -1,13 +0,0 @@ -protocol -settingsOn: aBuilder - - (aBuilder group: #TestingStrategy) - order: 1.5; - parent: #SmartFinder; - with: [ (aBuilder setting: #defaultSizeOfResearchQueue) - target: self; - parent: #TestingStrategy; - label: 'Size of the queue for the research of element'; - description: 'SmartTest has a queue to keep a list of all the research it has to do. -But not launch them directly. -This is important to not freeze the image quickly.' ] \ No newline at end of file diff --git a/SmartTest.package/SmTTestingStrategyAlways.class/instance/doFindTestsForMethod..st b/SmartTest.package/SmTTestingStrategyAlways.class/instance/doFindTestsForMethod..st index 86392c2..0af584a 100644 --- a/SmartTest.package/SmTTestingStrategyAlways.class/instance/doFindTestsForMethod..st +++ b/SmartTest.package/SmTTestingStrategyAlways.class/instance/doFindTestsForMethod..st @@ -1,7 +1,6 @@ instance creation doFindTestsForMethod: aCompiledMethod - | tests | tests := self getMethodsFor: aCompiledMethod. self runner runCases: tests. - ^ self getTestMethodFromCompiledTestMethod: tests \ No newline at end of file + ^ tests \ No newline at end of file diff --git a/SmartTest.package/SmTTestingStrategyAlways.class/instance/findTestsForMethod..st b/SmartTest.package/SmTTestingStrategyAlways.class/instance/findTestsForMethod..st index f40a2c1..0e016d8 100644 --- a/SmartTest.package/SmTTestingStrategyAlways.class/instance/findTestsForMethod..st +++ b/SmartTest.package/SmTTestingStrategyAlways.class/instance/findTestsForMethod..st @@ -1,12 +1,6 @@ instance creation findTestsForMethod: aCompiledMethod - | tests ended | - ended := false. - SmTTestingStrategy - addABlockClosureThatSearchForACompiledMethod: [ :skip | - skip - ifFalse: [ tests := self getMethodsFor: aCompiledMethod. - self runner runCases: tests ]. - ended := true ]. - [ ended ] whileFalse. - ^ self getTestMethodFromCompiledTestMethod: tests \ No newline at end of file + | tests | + tests := self getMethodsFor: aCompiledMethod. + self runner runCases: tests. + ^ tests \ No newline at end of file diff --git a/SmartTest.package/SmTTestingStrategyEachModification.class/class/disable.st b/SmartTest.package/SmTTestingStrategyEachModification.class/class/disable.st new file mode 100644 index 0000000..380ad8f --- /dev/null +++ b/SmartTest.package/SmTTestingStrategyEachModification.class/class/disable.st @@ -0,0 +1,4 @@ +protocol +disable + super disable. + SmTListener disable \ No newline at end of file diff --git a/SmartTest.package/SmTTestingStrategyEachModification.class/class/enable.st b/SmartTest.package/SmTTestingStrategyEachModification.class/class/enable.st new file mode 100644 index 0000000..310ec55 --- /dev/null +++ b/SmartTest.package/SmTTestingStrategyEachModification.class/class/enable.st @@ -0,0 +1,4 @@ +protocol +enable + super enable. + SmTListener enable \ No newline at end of file diff --git a/SmartTest.package/SmTTestingStrategyEachModification.class/instance/findTestsForMethod..st b/SmartTest.package/SmTTestingStrategyEachModification.class/instance/findTestsForMethod..st index 0f2c884..cc066a7 100644 --- a/SmartTest.package/SmTTestingStrategyEachModification.class/instance/findTestsForMethod..st +++ b/SmartTest.package/SmTTestingStrategyEachModification.class/instance/findTestsForMethod..st @@ -1,12 +1,6 @@ instance creation findTestsForMethod: aCompiledMethod - | tests ended | - ended := false. - SmTTestingStrategy - addABlockClosureThatSearchForACompiledMethod: [ :skip | - skip - ifFalse: [ tests := self getMethodsFor: aCompiledMethod. - (SmTOnModificationStrategy get: aCompiledMethod) ifNotNil: [ self runner runCases: tests ] ]. - ended := true ]. - [ ended ] whileFalse. + | tests | + tests := self getMethodsFor: aCompiledMethod. + (SmTOnModificationStrategy get: aCompiledMethod) ifNotNil: [ self runner runCases: tests ]. ^ tests \ No newline at end of file diff --git a/SmartTest.package/SmTTestingStrategyFiveMinutes.class/class/enable.st b/SmartTest.package/SmTTestingStrategyFiveMinutes.class/class/enable.st index c38eae5..31e4945 100644 --- a/SmartTest.package/SmTTestingStrategyFiveMinutes.class/class/enable.st +++ b/SmartTest.package/SmTTestingStrategyFiveMinutes.class/class/enable.st @@ -1,4 +1,4 @@ protocol enable - SmTFivesMinutesCollector start. - super enable \ No newline at end of file + super enable. + SmTFivesMinutesCollector start \ No newline at end of file diff --git a/SmartTest.package/SmTTestingStrategyFiveMinutes.class/instance/doFindTestsForMethod..st b/SmartTest.package/SmTTestingStrategyFiveMinutes.class/instance/doFindTestsForMethod..st index acf8143..a3d83b4 100644 --- a/SmartTest.package/SmTTestingStrategyFiveMinutes.class/instance/doFindTestsForMethod..st +++ b/SmartTest.package/SmTTestingStrategyFiveMinutes.class/instance/doFindTestsForMethod..st @@ -1,7 +1,6 @@ instance creation doFindTestsForMethod: aCompiledMethod - | tests| tests := self getMethodsFor: aCompiledMethod. SmTFivesMinutesCollector addTestMethods: tests. - ^ self getTestMethodFromCompiledTestMethod: tests \ No newline at end of file + ^ tests \ No newline at end of file diff --git a/SmartTest.package/SmTTestingStrategyFiveMinutes.class/instance/findTestsForMethod..st b/SmartTest.package/SmTTestingStrategyFiveMinutes.class/instance/findTestsForMethod..st index 9498179..301e6fb 100644 --- a/SmartTest.package/SmTTestingStrategyFiveMinutes.class/instance/findTestsForMethod..st +++ b/SmartTest.package/SmTTestingStrategyFiveMinutes.class/instance/findTestsForMethod..st @@ -1,12 +1,6 @@ instance creation findTestsForMethod: aCompiledMethod - | tests ended | - ended := false. - SmTTestingStrategy - addABlockClosureThatSearchForACompiledMethod: [ :skip | - skip - ifFalse: [ tests := self getMethodsFor: aCompiledMethod. - SmTFivesMinutesCollector addTestMethods: tests ]. - ended := true ]. - [ ended ] whileFalse. - ^ self getTestMethodFromCompiledTestMethod: tests \ No newline at end of file + | tests | + tests := self getMethodsFor: aCompiledMethod. + SmTFivesMinutesCollector addTestMethods: tests. + ^ tests \ No newline at end of file From b5542823d8b063b463ef09b4e639a08057e87486 Mon Sep 17 00:00:00 2001 From: badetitou Date: Sun, 22 Apr 2018 18:55:52 +0200 Subject: [PATCH 025/150] add initialize for EachModification --- .../instance/initialize.st | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 SmartTest.package/SmTTestingStrategyEachModification.class/instance/initialize.st diff --git a/SmartTest.package/SmTTestingStrategyEachModification.class/instance/initialize.st b/SmartTest.package/SmTTestingStrategyEachModification.class/instance/initialize.st new file mode 100644 index 0000000..9437577 --- /dev/null +++ b/SmartTest.package/SmTTestingStrategyEachModification.class/instance/initialize.st @@ -0,0 +1,3 @@ +initialization +initialize + SmTListener enable \ No newline at end of file From bd2e74e61e6ca4ed99f7bae532711e134a002743 Mon Sep 17 00:00:00 2001 From: badetitou Date: Sun, 22 Apr 2018 19:06:12 +0200 Subject: [PATCH 026/150] + complete api --- .../instance/at.ifPresent.ifAbsent..st | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 SmartTest.package/SmTNoCacheStrategy.class/instance/at.ifPresent.ifAbsent..st diff --git a/SmartTest.package/SmTNoCacheStrategy.class/instance/at.ifPresent.ifAbsent..st b/SmartTest.package/SmTNoCacheStrategy.class/instance/at.ifPresent.ifAbsent..st new file mode 100644 index 0000000..ef2242f --- /dev/null +++ b/SmartTest.package/SmTNoCacheStrategy.class/instance/at.ifPresent.ifAbsent..st @@ -0,0 +1,3 @@ +private +at: key ifPresent: aPresentBlock ifAbsent: anAbsentBlock + ^ anAbsentBlock value \ No newline at end of file From 14e342ccf7aa6e5af6349dafa22550a1718451c2 Mon Sep 17 00:00:00 2001 From: badetitou Date: Sun, 22 Apr 2018 19:18:27 +0200 Subject: [PATCH 027/150] Try adding long timeout --- SmartTest.package/SmTSendersFinderTest.class/instance/setUp.st | 1 + .../instance/setUp.st | 1 + .../SmTSendersFinderTestWithoutCache.class/instance/setUp.st | 1 + 3 files changed, 3 insertions(+) diff --git a/SmartTest.package/SmTSendersFinderTest.class/instance/setUp.st b/SmartTest.package/SmTSendersFinderTest.class/instance/setUp.st index 5000521..945d9ab 100644 --- a/SmartTest.package/SmTSendersFinderTest.class/instance/setUp.st +++ b/SmartTest.package/SmTSendersFinderTest.class/instance/setUp.st @@ -1,4 +1,5 @@ initialization setUp super setUp. + self timeLimit: 15 seconds. smartFinder resetCache. \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/setUp.st b/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/setUp.st index 822d4a5..4ef723d 100644 --- a/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/setUp.st +++ b/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/setUp.st @@ -1,4 +1,5 @@ initialization setUp super setUp. + self timeLimit: 15 seconds. smartFinder filter: (SmTSpecifyPackageNameFilter packagesRegEx: 'SmartTest-Tests-Data') new \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFinderTestWithoutCache.class/instance/setUp.st b/SmartTest.package/SmTSendersFinderTestWithoutCache.class/instance/setUp.st index e918f63..337196a 100644 --- a/SmartTest.package/SmTSendersFinderTestWithoutCache.class/instance/setUp.st +++ b/SmartTest.package/SmTSendersFinderTestWithoutCache.class/instance/setUp.st @@ -1,5 +1,6 @@ initialization setUp super setUp. + self timeLimit: 15 seconds. smartFinder cacheStrategy: SmTNoCacheStrategy new. cache := SmTNoCacheStrategy new \ No newline at end of file From e9ed89b4a269e583dd67de4f7295cadf58232a59 Mon Sep 17 00:00:00 2001 From: test Date: Fri, 27 Apr 2018 09:42:48 +0200 Subject: [PATCH 028/150] Correction of tests --- .../ClyOpenClassRelatedTestsCommand.class/README.md | 2 +- .../properties.json | 2 +- .../ClyRunClassRelatedTestsCommand.class/README.md | 2 +- .../properties.json | 2 +- .../instance/testMethodOutSidePackage1.st | 5 +++++ .../SmTFinderAbstractTest.class/instance/setUp.st | 3 ++- .../instance/testStandardMethodFirstLevelSenders.st | 1 - ...stStandardMethodFirstLevelSendersOutsidePackage.st | 11 +++++++++++ ...tStandardMethodFirstLevelSendersOutsidePackage2.st | 11 +++++++++++ .../SmTFinderAbstractTest.class/properties.json | 3 ++- .../instance/testStandardMethodFirstLevelSenders.st | 8 ++++---- SmartTest.package/monticello.meta/categories.st | 1 + 12 files changed, 40 insertions(+), 11 deletions(-) create mode 100644 SmartTest.package/SmTClassTest.class/instance/testMethodOutSidePackage1.st create mode 100644 SmartTest.package/SmTFinderAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st create mode 100644 SmartTest.package/SmTFinderAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackage2.st diff --git a/SmartTest.package/ClyOpenClassRelatedTestsCommand.class/README.md b/SmartTest.package/ClyOpenClassRelatedTestsCommand.class/README.md index 5b8cd52..3e3cd2e 100644 --- a/SmartTest.package/ClyOpenClassRelatedTestsCommand.class/README.md +++ b/SmartTest.package/ClyOpenClassRelatedTestsCommand.class/README.md @@ -1 +1 @@ -I represent the button that open details of tests you should run from CORA (for a class) \ No newline at end of file +I represent the button that open details of tests you should run from SmartTest (for a class) \ No newline at end of file diff --git a/SmartTest.package/ClyOpenClassRelatedTestsCommand.class/properties.json b/SmartTest.package/ClyOpenClassRelatedTestsCommand.class/properties.json index 5cab148..0dfe780 100644 --- a/SmartTest.package/ClyOpenClassRelatedTestsCommand.class/properties.json +++ b/SmartTest.package/ClyOpenClassRelatedTestsCommand.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "BenoitVerhaeghe 7/3/2017 16:35", + "commentStamp" : "EleonoreWALD 4/26/2018 09:35", "super" : "ClyCritiqueCommand", "category" : "SmartTest-CalypsoExtension", "classinstvars" : [ ], diff --git a/SmartTest.package/ClyRunClassRelatedTestsCommand.class/README.md b/SmartTest.package/ClyRunClassRelatedTestsCommand.class/README.md index 96a07a5..82da07e 100644 --- a/SmartTest.package/ClyRunClassRelatedTestsCommand.class/README.md +++ b/SmartTest.package/ClyRunClassRelatedTestsCommand.class/README.md @@ -1 +1 @@ -I represent the button that run the tests that CORA's found about a class \ No newline at end of file +I represent the button that run the tests that SmartTest's found about a class \ No newline at end of file diff --git a/SmartTest.package/ClyRunClassRelatedTestsCommand.class/properties.json b/SmartTest.package/ClyRunClassRelatedTestsCommand.class/properties.json index 2f0e45a..f1f18c3 100644 --- a/SmartTest.package/ClyRunClassRelatedTestsCommand.class/properties.json +++ b/SmartTest.package/ClyRunClassRelatedTestsCommand.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "BenoitVerhaeghe 7/3/2017 16:36", + "commentStamp" : "EleonoreWALD 4/26/2018 09:36", "super" : "ClyCritiqueCommand", "category" : "SmartTest-CalypsoExtension", "classinstvars" : [ ], diff --git a/SmartTest.package/SmTClassTest.class/instance/testMethodOutSidePackage1.st b/SmartTest.package/SmTClassTest.class/instance/testMethodOutSidePackage1.st new file mode 100644 index 0000000..c3cf5bc --- /dev/null +++ b/SmartTest.package/SmTClassTest.class/instance/testMethodOutSidePackage1.st @@ -0,0 +1,5 @@ +test data +testMethodOutSidePackage1 + "this is data for SmTFinderAbstractTest tests" + ^ SmTClassOutSide new method1 + \ No newline at end of file diff --git a/SmartTest.package/SmTFinderAbstractTest.class/instance/setUp.st b/SmartTest.package/SmTFinderAbstractTest.class/instance/setUp.st index 6756cab..edcf6ee 100644 --- a/SmartTest.package/SmTFinderAbstractTest.class/instance/setUp.st +++ b/SmartTest.package/SmTFinderAbstractTest.class/instance/setUp.st @@ -8,4 +8,5 @@ setUp testMethod3 := RGMethodDefinition className: 'SmTClassTest' selector: #testMethod3 isMetaSide: false. testMethod4 := RGMethodDefinition className: 'SmTClassTest' selector: #testMethod4 isMetaSide: false. testMethod5 := RGMethodDefinition className: 'SmTClassTest' selector: #testMethod5 isMetaSide: false. - testInheritedMethod1 := RGMethodDefinition className: 'SmTInheritClassTest' selector: #testMethod1 isMetaSide: false. \ No newline at end of file + testInheritedMethod1 := RGMethodDefinition className: 'SmTInheritClassTest' selector: #testMethod1 isMetaSide: false. + testMethodOutSidePackage1 := RGMethodDefinition className: 'SmTClassTest' selector: #testMethodOutSidePackage1 isMetaSide: false. \ No newline at end of file diff --git a/SmartTest.package/SmTFinderAbstractTest.class/instance/testStandardMethodFirstLevelSenders.st b/SmartTest.package/SmTFinderAbstractTest.class/instance/testStandardMethodFirstLevelSenders.st index c88306b..2be6d36 100644 --- a/SmartTest.package/SmTFinderAbstractTest.class/instance/testStandardMethodFirstLevelSenders.st +++ b/SmartTest.package/SmTFinderAbstractTest.class/instance/testStandardMethodFirstLevelSenders.st @@ -3,7 +3,6 @@ testStandardMethodFirstLevelSenders | testsFound | testsFound := self searchTestMethodsFor: SmTClass >> #method2. - self deny: (testsFound includes: testMethod1). self assert: (testsFound includes: testMethod2). self deny: (testsFound includes: testMethod3). diff --git a/SmartTest.package/SmTFinderAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st b/SmartTest.package/SmTFinderAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st new file mode 100644 index 0000000..fe43c4f --- /dev/null +++ b/SmartTest.package/SmTFinderAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st @@ -0,0 +1,11 @@ +tests +testStandardMethodFirstLevelSendersOutsidePackage + + | testsFound | + testsFound := self searchTestMethodsFor: SmTClass >> #method2. + + self deny: (testsFound includes: testMethod1). + self assert: (testsFound includes: testMethod2). + self deny: (testsFound includes: testMethod3). + self deny: (testsFound includes: testMethod4). + self deny: (testsFound includes: testMethodOutSidePackage1) \ No newline at end of file diff --git a/SmartTest.package/SmTFinderAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackage2.st b/SmartTest.package/SmTFinderAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackage2.st new file mode 100644 index 0000000..d103c84 --- /dev/null +++ b/SmartTest.package/SmTFinderAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackage2.st @@ -0,0 +1,11 @@ +tests +testStandardMethodFirstLevelSendersOutsidePackage2 + + | testsFound | + testsFound := self searchTestMethodsFor: SmTClassOutSide >> #method2. + + self deny: (testsFound includes: testMethod1). + self deny: (testsFound includes: testMethod2). + self deny: (testsFound includes: testMethod3). + self deny: (testsFound includes: testMethod4). + self assert: (testsFound includes: testMethodOutSidePackage1) \ No newline at end of file diff --git a/SmartTest.package/SmTFinderAbstractTest.class/properties.json b/SmartTest.package/SmTFinderAbstractTest.class/properties.json index 4237f5b..18d4264 100644 --- a/SmartTest.package/SmTFinderAbstractTest.class/properties.json +++ b/SmartTest.package/SmTFinderAbstractTest.class/properties.json @@ -13,7 +13,8 @@ "testMethod3", "testMethod4", "testMethod5", - "testInheritedMethod1" + "testInheritedMethod1", + "testMethodOutSidePackage1" ], "name" : "SmTFinderAbstractTest", "type" : "normal" diff --git a/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/testStandardMethodFirstLevelSenders.st b/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/testStandardMethodFirstLevelSenders.st index 9610085..1e56e1d 100644 --- a/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/testStandardMethodFirstLevelSenders.st +++ b/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/testStandardMethodFirstLevelSenders.st @@ -6,7 +6,7 @@ testStandardMethodFirstLevelSenders | testsFound | testsFound := self searchTestMethodsFor: SmTClass >> #method2. self assert: testsFound size equals: 1. - self assert: testsFound equals: {(RGMethodDefinition className: 'SmTClassTest' selector: #testMethod2 isMetaSide: false)} asSet. - self deny: (testsFound includes: (RGMethodDefinition className: 'SmTClassTest' selector: #testMethod1 isMetaSide: false)). - self deny: (testsFound includes: (RGMethodDefinition className: 'SmTClassTest' selector: #testMethod3 isMetaSide: false)). - self deny: (testsFound includes: (RGMethodDefinition className: 'SmTClassTest' selector: #testMethod4 isMetaSide: false)) \ No newline at end of file + self assert: (testsFound includes: testMethod2). + self deny: (testsFound includes: testMethod1). + self deny: (testsFound includes: testMethod3). + self deny: (testsFound includes: testMethod4) \ No newline at end of file diff --git a/SmartTest.package/monticello.meta/categories.st b/SmartTest.package/monticello.meta/categories.st index 754f37d..84ecd5f 100644 --- a/SmartTest.package/monticello.meta/categories.st +++ b/SmartTest.package/monticello.meta/categories.st @@ -2,6 +2,7 @@ SystemOrganization addCategory: #SmartTest! SystemOrganization addCategory: #'SmartTest-Cache'! SystemOrganization addCategory: #'SmartTest-CalypsoExtension'! SystemOrganization addCategory: #'SmartTest-Collector'! +SystemOrganization addCategory: #'SmartTest-Core'! SystemOrganization addCategory: #'SmartTest-Critiques'! SystemOrganization addCategory: #'SmartTest-Event'! SystemOrganization addCategory: #'SmartTest-Filter'! From 11ad93945802097c9b6c1deaba6828df0771983f Mon Sep 17 00:00:00 2001 From: test Date: Fri, 27 Apr 2018 10:55:25 +0200 Subject: [PATCH 029/150] Adding new tests to evaluate the filter strategy + correcting some small smells From b11aa9c0a6561684afc6e0e4435a5471d6ac739c Mon Sep 17 00:00:00 2001 From: test Date: Fri, 27 Apr 2018 10:57:25 +0200 Subject: [PATCH 030/150] Small changes --- SmartTest.package/SmartFinder.class/properties.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SmartTest.package/SmartFinder.class/properties.json b/SmartTest.package/SmartFinder.class/properties.json index 3f836c4..e0a5809 100644 --- a/SmartTest.package/SmartFinder.class/properties.json +++ b/SmartTest.package/SmartFinder.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "BenoitVerhaeghe 2/28/2018 22:42", "super" : "Object", - "category" : "SmartTest", + "category" : "SmartTest-Core", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], From 464e64ea4ab3d66234e489325692e9d97461df87 Mon Sep 17 00:00:00 2001 From: test Date: Fri, 27 Apr 2018 16:35:45 +0200 Subject: [PATCH 031/150] Addition of the Package SmT_TestData, which contains classes and methods that uses methods from the SmartTest-TestData package. Some comments were added to describe the previously uncommented classes. --- SmT_TestData.package/.filetree | 5 +++++ .../ManifestSmartTestTestData.class/README.md | 2 ++ .../ManifestSmartTestTestData.class/properties.json | 11 +++++++++++ SmT_TestData.package/SmTClassOutSide.class/README.md | 1 + .../SmTClassOutSide.class/instance/method2.st | 3 +++ .../SmTClassOutSide.class/properties.json | 11 +++++++++++ .../SmTClassOutsideTest.class/README.md | 0 .../instance/testMethodOutSidePackage1.st | 5 +++++ .../SmTClassOutsideTest.class/properties.json | 11 +++++++++++ SmT_TestData.package/monticello.meta/categories.st | 1 + SmT_TestData.package/monticello.meta/initializers.st | 0 SmT_TestData.package/monticello.meta/package | 1 + SmT_TestData.package/properties.json | 1 + .../SmTCacheBuilderReflectivityTest.class/README.md | 1 + .../properties.json | 2 +- .../SmTCacheBuilderTestCoverageTest.class/README.md | 1 + .../properties.json | 2 +- .../instance/testModificationOnTest.st | 1 - .../SmTFinderStrategyReflectivityTest.class/README.md | 2 +- .../properties.json | 2 +- .../instance/testModificationOnInitialize.st | 1 + .../instance/testModificationOnTest.st | 1 + .../instance/testTestSelfSelected.st | 1 + 23 files changed, 61 insertions(+), 5 deletions(-) create mode 100644 SmT_TestData.package/.filetree create mode 100644 SmT_TestData.package/ManifestSmartTestTestData.class/README.md create mode 100644 SmT_TestData.package/ManifestSmartTestTestData.class/properties.json create mode 100644 SmT_TestData.package/SmTClassOutSide.class/README.md create mode 100644 SmT_TestData.package/SmTClassOutSide.class/instance/method2.st create mode 100644 SmT_TestData.package/SmTClassOutSide.class/properties.json create mode 100644 SmT_TestData.package/SmTClassOutsideTest.class/README.md create mode 100644 SmT_TestData.package/SmTClassOutsideTest.class/instance/testMethodOutSidePackage1.st create mode 100644 SmT_TestData.package/SmTClassOutsideTest.class/properties.json create mode 100644 SmT_TestData.package/monticello.meta/categories.st create mode 100644 SmT_TestData.package/monticello.meta/initializers.st create mode 100644 SmT_TestData.package/monticello.meta/package create mode 100644 SmT_TestData.package/properties.json diff --git a/SmT_TestData.package/.filetree b/SmT_TestData.package/.filetree new file mode 100644 index 0000000..57a6797 --- /dev/null +++ b/SmT_TestData.package/.filetree @@ -0,0 +1,5 @@ +{ + "separateMethodMetaAndSource" : false, + "noMethodMetaData" : true, + "useCypressPropertiesFile" : true +} \ No newline at end of file diff --git a/SmT_TestData.package/ManifestSmartTestTestData.class/README.md b/SmT_TestData.package/ManifestSmartTestTestData.class/README.md new file mode 100644 index 0000000..35f0565 --- /dev/null +++ b/SmT_TestData.package/ManifestSmartTestTestData.class/README.md @@ -0,0 +1,2 @@ +This package gathers test data to test SmartTest. +Normally, SmartTest looks for methods only inside the package where the method has been changed but to be sure, we add some data out side SmartTest package (and so in this package SmartTest_TestData) to be sure. \ No newline at end of file diff --git a/SmT_TestData.package/ManifestSmartTestTestData.class/properties.json b/SmT_TestData.package/ManifestSmartTestTestData.class/properties.json new file mode 100644 index 0000000..47fcd37 --- /dev/null +++ b/SmT_TestData.package/ManifestSmartTestTestData.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "EleonoreWALD 4/26/2018 13:39", + "super" : "PackageManifest", + "category" : "SmT_TestData", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "ManifestSmartTestTestData", + "type" : "normal" +} \ No newline at end of file diff --git a/SmT_TestData.package/SmTClassOutSide.class/README.md b/SmT_TestData.package/SmTClassOutSide.class/README.md new file mode 100644 index 0000000..e37cd82 --- /dev/null +++ b/SmT_TestData.package/SmTClassOutSide.class/README.md @@ -0,0 +1 @@ +This class has method with the same name than SmTClass in SmartTest package. SmTClassOutSide aims to check that by default SmartTest does bot look for test outside the package. \ No newline at end of file diff --git a/SmT_TestData.package/SmTClassOutSide.class/instance/method2.st b/SmT_TestData.package/SmTClassOutSide.class/instance/method2.st new file mode 100644 index 0000000..f17578e --- /dev/null +++ b/SmT_TestData.package/SmTClassOutSide.class/instance/method2.st @@ -0,0 +1,3 @@ +accessing +method2 + ^ true \ No newline at end of file diff --git a/SmT_TestData.package/SmTClassOutSide.class/properties.json b/SmT_TestData.package/SmTClassOutSide.class/properties.json new file mode 100644 index 0000000..3e2dda8 --- /dev/null +++ b/SmT_TestData.package/SmTClassOutSide.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "EleonoreWALD 4/26/2018 14:02", + "super" : "Object", + "category" : "SmT_TestData", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTClassOutSide", + "type" : "normal" +} \ No newline at end of file diff --git a/SmT_TestData.package/SmTClassOutsideTest.class/README.md b/SmT_TestData.package/SmTClassOutsideTest.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmT_TestData.package/SmTClassOutsideTest.class/instance/testMethodOutSidePackage1.st b/SmT_TestData.package/SmTClassOutsideTest.class/instance/testMethodOutSidePackage1.st new file mode 100644 index 0000000..f6b04dd --- /dev/null +++ b/SmT_TestData.package/SmTClassOutsideTest.class/instance/testMethodOutSidePackage1.st @@ -0,0 +1,5 @@ +tests +testMethodOutSidePackage1 + "this is data for SmTFinderAbstractTest tests" + ^ SmTClassOutSide new method2 + \ No newline at end of file diff --git a/SmT_TestData.package/SmTClassOutsideTest.class/properties.json b/SmT_TestData.package/SmTClassOutsideTest.class/properties.json new file mode 100644 index 0000000..0ea4e1d --- /dev/null +++ b/SmT_TestData.package/SmTClassOutsideTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "TestCase", + "category" : "SmT_TestData", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTClassOutsideTest", + "type" : "normal" +} \ No newline at end of file diff --git a/SmT_TestData.package/monticello.meta/categories.st b/SmT_TestData.package/monticello.meta/categories.st new file mode 100644 index 0000000..81a85b8 --- /dev/null +++ b/SmT_TestData.package/monticello.meta/categories.st @@ -0,0 +1 @@ +SystemOrganization addCategory: #SmT_TestData! diff --git a/SmT_TestData.package/monticello.meta/initializers.st b/SmT_TestData.package/monticello.meta/initializers.st new file mode 100644 index 0000000..e69de29 diff --git a/SmT_TestData.package/monticello.meta/package b/SmT_TestData.package/monticello.meta/package new file mode 100644 index 0000000..3c1d5f1 --- /dev/null +++ b/SmT_TestData.package/monticello.meta/package @@ -0,0 +1 @@ +(name 'SmT_TestData') \ No newline at end of file diff --git a/SmT_TestData.package/properties.json b/SmT_TestData.package/properties.json new file mode 100644 index 0000000..6f31cf5 --- /dev/null +++ b/SmT_TestData.package/properties.json @@ -0,0 +1 @@ +{ } \ No newline at end of file diff --git a/SmartTest.package/SmTCacheBuilderReflectivityTest.class/README.md b/SmartTest.package/SmTCacheBuilderReflectivityTest.class/README.md index e69de29..ca2692a 100644 --- a/SmartTest.package/SmTCacheBuilderReflectivityTest.class/README.md +++ b/SmartTest.package/SmTCacheBuilderReflectivityTest.class/README.md @@ -0,0 +1 @@ +This class aims to test the construction of the cache in the context of dynamic method analysis using the Reflectivity strategy. \ No newline at end of file diff --git a/SmartTest.package/SmTCacheBuilderReflectivityTest.class/properties.json b/SmartTest.package/SmTCacheBuilderReflectivityTest.class/properties.json index b99cf47..4d2df82 100644 --- a/SmartTest.package/SmTCacheBuilderReflectivityTest.class/properties.json +++ b/SmartTest.package/SmTCacheBuilderReflectivityTest.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "", + "commentStamp" : "EleonoreWALD 4/27/2018 16:00", "super" : "SmTCacheBuilderTest", "category" : "SmartTest-Tests", "classinstvars" : [ ], diff --git a/SmartTest.package/SmTCacheBuilderTestCoverageTest.class/README.md b/SmartTest.package/SmTCacheBuilderTestCoverageTest.class/README.md index e69de29..db11597 100644 --- a/SmartTest.package/SmTCacheBuilderTestCoverageTest.class/README.md +++ b/SmartTest.package/SmTCacheBuilderTestCoverageTest.class/README.md @@ -0,0 +1 @@ +This class aims to test the construction of the cache in the context of dynamic method analysis using the coverage strategy. \ No newline at end of file diff --git a/SmartTest.package/SmTCacheBuilderTestCoverageTest.class/properties.json b/SmartTest.package/SmTCacheBuilderTestCoverageTest.class/properties.json index bc9bfc1..017dc8c 100644 --- a/SmartTest.package/SmTCacheBuilderTestCoverageTest.class/properties.json +++ b/SmartTest.package/SmTCacheBuilderTestCoverageTest.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "", + "commentStamp" : "EleonoreWALD 4/27/2018 16:01", "super" : "SmTCacheBuilderTest", "category" : "SmartTest-Tests", "classinstvars" : [ ], diff --git a/SmartTest.package/SmTFinderAbstractTest.class/instance/testModificationOnTest.st b/SmartTest.package/SmTFinderAbstractTest.class/instance/testModificationOnTest.st index d5e8453..7753743 100644 --- a/SmartTest.package/SmTFinderAbstractTest.class/instance/testModificationOnTest.st +++ b/SmartTest.package/SmTFinderAbstractTest.class/instance/testModificationOnTest.st @@ -3,7 +3,6 @@ testModificationOnTest | testsFound | testsFound := self searchTestMethodsFor: SmTClassTest >> #testMethod4. - self deny: (testsFound includes: testMethod1). self deny: (testsFound includes: testMethod2). self deny: (testsFound includes: testMethod3). diff --git a/SmartTest.package/SmTFinderStrategyReflectivityTest.class/README.md b/SmartTest.package/SmTFinderStrategyReflectivityTest.class/README.md index e55c87a..dc43873 100644 --- a/SmartTest.package/SmTFinderStrategyReflectivityTest.class/README.md +++ b/SmartTest.package/SmTFinderStrategyReflectivityTest.class/README.md @@ -1 +1 @@ -A CORAFinderStrategyReflectivityTest is a test class for testing the behavior of CORAFinderStrategyReflectivity \ No newline at end of file +A SmTFinderStrategyReflectivityTest is a test class for testing the behavior of SmTFinderStrategyReflectivity \ No newline at end of file diff --git a/SmartTest.package/SmTFinderStrategyReflectivityTest.class/properties.json b/SmartTest.package/SmTFinderStrategyReflectivityTest.class/properties.json index 8e6b3a5..69f5ef9 100644 --- a/SmartTest.package/SmTFinderStrategyReflectivityTest.class/properties.json +++ b/SmartTest.package/SmTFinderStrategyReflectivityTest.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "", + "commentStamp" : "EleonoreWALD 4/27/2018 16:02", "super" : "SmTFinderAbstractTest", "category" : "SmartTest-Tests", "classinstvars" : [ ], diff --git a/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/testModificationOnInitialize.st b/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/testModificationOnInitialize.st index 33d1560..534e1a6 100644 --- a/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/testModificationOnInitialize.st +++ b/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/testModificationOnInitialize.st @@ -1,5 +1,6 @@ initialization testModificationOnInitialize +"this method is redundant with the abstract method" | testsFound | testsFound := self searchTestMethodsFor: SmTClass2 >> #initialize. diff --git a/SmartTest.package/SmTTestCoverageFinderTest.class/instance/testModificationOnTest.st b/SmartTest.package/SmTTestCoverageFinderTest.class/instance/testModificationOnTest.st index 601aa23..c09a901 100644 --- a/SmartTest.package/SmTTestCoverageFinderTest.class/instance/testModificationOnTest.st +++ b/SmartTest.package/SmTTestCoverageFinderTest.class/instance/testModificationOnTest.st @@ -1,5 +1,6 @@ helpers testModificationOnTest +"this method is redundant with the abstract method" | testsFound | testsFound := self searchTestMethodsFor: SmTClassTest >> #testMethod4. diff --git a/SmartTest.package/SmTTestCoverageFinderTest.class/instance/testTestSelfSelected.st b/SmartTest.package/SmTTestCoverageFinderTest.class/instance/testTestSelfSelected.st index 505bf7b..9162bba 100644 --- a/SmartTest.package/SmTTestCoverageFinderTest.class/instance/testTestSelfSelected.st +++ b/SmartTest.package/SmTTestCoverageFinderTest.class/instance/testTestSelfSelected.st @@ -1,5 +1,6 @@ helpers testTestSelfSelected +"this method is redundant with the abstract method" | testsFound | testsFound := self testsForATestMethod: SmTClassTest >> #testMethod1. From d2030aa4b101c54f365e5400cac131bc8c625a27 Mon Sep 17 00:00:00 2001 From: test Date: Wed, 2 May 2018 10:37:50 +0200 Subject: [PATCH 032/150] Addition of comments and renaming of some classes --- SmartTest.package/SmTButtonResultWindow.class/README.md | 1 + SmartTest.package/SmTButtonResultWindow.class/properties.json | 2 +- SmartTest.package/SmTClass2.class/README.md | 4 ++++ SmartTest.package/SmTClass2.class/properties.json | 2 +- SmartTest.package/SmTFilterStrategy.class/README.md | 1 + SmartTest.package/SmTFilterStrategy.class/properties.json | 2 +- .../SmTIcebergLoadedPackageFilter.class/README.md | 0 .../SmTIcebergLoadedPackagesFilter.class/README.md | 1 + .../instance/shouldEntityBeFiltered..st | 0 .../properties.json | 4 ++-- SmartTest.package/SmTInheritClassTest.class/README.md | 1 + SmartTest.package/SmTInheritClassTest.class/properties.json | 2 +- SmartTest.package/SmTRules.class/class/filter.st | 2 +- .../instance/setUp.st | 2 +- SmartTest.package/SmTSpecifyPackageNameFilter.class/README.md | 0 .../SmTSpecifyPackagesNameFilter.class/README.md | 1 + .../class/packagesRegEx..st | 0 .../class/packagesRegEx.st | 0 .../class/selectedPackage.st | 0 .../class/settingsOn..st | 0 .../instance/packages.st | 0 .../instance/shouldEntityBeFiltered..st | 0 .../properties.json | 4 ++-- SmartTest.package/SmTSuperClassTest.class/README.md | 1 + SmartTest.package/SmTSuperClassTest.class/properties.json | 2 +- 25 files changed, 21 insertions(+), 11 deletions(-) delete mode 100644 SmartTest.package/SmTIcebergLoadedPackageFilter.class/README.md create mode 100644 SmartTest.package/SmTIcebergLoadedPackagesFilter.class/README.md rename SmartTest.package/{SmTIcebergLoadedPackageFilter.class => SmTIcebergLoadedPackagesFilter.class}/instance/shouldEntityBeFiltered..st (100%) rename SmartTest.package/{SmTIcebergLoadedPackageFilter.class => SmTIcebergLoadedPackagesFilter.class}/properties.json (64%) delete mode 100644 SmartTest.package/SmTSpecifyPackageNameFilter.class/README.md create mode 100644 SmartTest.package/SmTSpecifyPackagesNameFilter.class/README.md rename SmartTest.package/{SmTSpecifyPackageNameFilter.class => SmTSpecifyPackagesNameFilter.class}/class/packagesRegEx..st (100%) rename SmartTest.package/{SmTSpecifyPackageNameFilter.class => SmTSpecifyPackagesNameFilter.class}/class/packagesRegEx.st (100%) rename SmartTest.package/{SmTSpecifyPackageNameFilter.class => SmTSpecifyPackagesNameFilter.class}/class/selectedPackage.st (100%) rename SmartTest.package/{SmTSpecifyPackageNameFilter.class => SmTSpecifyPackagesNameFilter.class}/class/settingsOn..st (100%) rename SmartTest.package/{SmTSpecifyPackageNameFilter.class => SmTSpecifyPackagesNameFilter.class}/instance/packages.st (100%) rename SmartTest.package/{SmTSpecifyPackageNameFilter.class => SmTSpecifyPackagesNameFilter.class}/instance/shouldEntityBeFiltered..st (100%) rename SmartTest.package/{SmTSpecifyPackageNameFilter.class => SmTSpecifyPackagesNameFilter.class}/properties.json (67%) diff --git a/SmartTest.package/SmTButtonResultWindow.class/README.md b/SmartTest.package/SmTButtonResultWindow.class/README.md index e69de29..f5dcc2a 100644 --- a/SmartTest.package/SmTButtonResultWindow.class/README.md +++ b/SmartTest.package/SmTButtonResultWindow.class/README.md @@ -0,0 +1 @@ +I show all the results in a window. \ No newline at end of file diff --git a/SmartTest.package/SmTButtonResultWindow.class/properties.json b/SmartTest.package/SmTButtonResultWindow.class/properties.json index 8fea311..f04b48a 100644 --- a/SmartTest.package/SmTButtonResultWindow.class/properties.json +++ b/SmartTest.package/SmTButtonResultWindow.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "", + "commentStamp" : "EleonoreWALD 5/2/2018 10:22", "super" : "ComposableModel", "category" : "SmartTest-Morph", "classinstvars" : [ ], diff --git a/SmartTest.package/SmTClass2.class/README.md b/SmartTest.package/SmTClass2.class/README.md index e69de29..5baf143 100644 --- a/SmartTest.package/SmTClass2.class/README.md +++ b/SmartTest.package/SmTClass2.class/README.md @@ -0,0 +1,4 @@ +A class and some methods to test SmartTest. +The companion class SmTClassTest contains tests that invoke these methods + +The idea is that asking for the tests that run for example #method1, we should get SmTClassTest>>testMethod1 diff --git a/SmartTest.package/SmTClass2.class/properties.json b/SmartTest.package/SmTClass2.class/properties.json index 5d05d2a..ed5bd03 100644 --- a/SmartTest.package/SmTClass2.class/properties.json +++ b/SmartTest.package/SmTClass2.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "", + "commentStamp" : "EleonoreWALD 5/2/2018 10:23", "super" : "Object", "category" : "SmartTest-Tests-Data", "classinstvars" : [ ], diff --git a/SmartTest.package/SmTFilterStrategy.class/README.md b/SmartTest.package/SmTFilterStrategy.class/README.md index e69de29..c49b801 100644 --- a/SmartTest.package/SmTFilterStrategy.class/README.md +++ b/SmartTest.package/SmTFilterStrategy.class/README.md @@ -0,0 +1 @@ +This class is used to define the filter used by SmartTest. \ No newline at end of file diff --git a/SmartTest.package/SmTFilterStrategy.class/properties.json b/SmartTest.package/SmTFilterStrategy.class/properties.json index bdb1fb8..32d945f 100644 --- a/SmartTest.package/SmTFilterStrategy.class/properties.json +++ b/SmartTest.package/SmTFilterStrategy.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "", + "commentStamp" : "EleonoreWALD 5/2/2018 10:19", "super" : "Object", "category" : "SmartTest-Filter", "classinstvars" : [ ], diff --git a/SmartTest.package/SmTIcebergLoadedPackageFilter.class/README.md b/SmartTest.package/SmTIcebergLoadedPackageFilter.class/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/SmartTest.package/SmTIcebergLoadedPackagesFilter.class/README.md b/SmartTest.package/SmTIcebergLoadedPackagesFilter.class/README.md new file mode 100644 index 0000000..9a10231 --- /dev/null +++ b/SmartTest.package/SmTIcebergLoadedPackagesFilter.class/README.md @@ -0,0 +1 @@ +I filter the packages and I block the packages if they are not loaded with Iceberg. \ No newline at end of file diff --git a/SmartTest.package/SmTIcebergLoadedPackageFilter.class/instance/shouldEntityBeFiltered..st b/SmartTest.package/SmTIcebergLoadedPackagesFilter.class/instance/shouldEntityBeFiltered..st similarity index 100% rename from SmartTest.package/SmTIcebergLoadedPackageFilter.class/instance/shouldEntityBeFiltered..st rename to SmartTest.package/SmTIcebergLoadedPackagesFilter.class/instance/shouldEntityBeFiltered..st diff --git a/SmartTest.package/SmTIcebergLoadedPackageFilter.class/properties.json b/SmartTest.package/SmTIcebergLoadedPackagesFilter.class/properties.json similarity index 64% rename from SmartTest.package/SmTIcebergLoadedPackageFilter.class/properties.json rename to SmartTest.package/SmTIcebergLoadedPackagesFilter.class/properties.json index 446a902..6a3d1e7 100644 --- a/SmartTest.package/SmTIcebergLoadedPackageFilter.class/properties.json +++ b/SmartTest.package/SmTIcebergLoadedPackagesFilter.class/properties.json @@ -1,11 +1,11 @@ { - "commentStamp" : "", + "commentStamp" : "EleonoreWALD 5/2/2018 10:20", "super" : "SmTFilterStrategy", "category" : "SmartTest-Filter", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], "instvars" : [ ], - "name" : "SmTIcebergLoadedPackageFilter", + "name" : "SmTIcebergLoadedPackagesFilter", "type" : "normal" } \ No newline at end of file diff --git a/SmartTest.package/SmTInheritClassTest.class/README.md b/SmartTest.package/SmTInheritClassTest.class/README.md index e69de29..73127c7 100644 --- a/SmartTest.package/SmTInheritClassTest.class/README.md +++ b/SmartTest.package/SmTInheritClassTest.class/README.md @@ -0,0 +1 @@ +A test to test if SmartTest works with inherited tests. \ No newline at end of file diff --git a/SmartTest.package/SmTInheritClassTest.class/properties.json b/SmartTest.package/SmTInheritClassTest.class/properties.json index a59ce60..752732f 100644 --- a/SmartTest.package/SmTInheritClassTest.class/properties.json +++ b/SmartTest.package/SmTInheritClassTest.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "", + "commentStamp" : "EleonoreWALD 5/2/2018 10:26", "super" : "SmTSuperClassTest", "category" : "SmartTest-Tests-Data", "classinstvars" : [ ], diff --git a/SmartTest.package/SmTRules.class/class/filter.st b/SmartTest.package/SmTRules.class/class/filter.st index 3e13307..8e793e2 100644 --- a/SmartTest.package/SmTRules.class/class/filter.st +++ b/SmartTest.package/SmTRules.class/class/filter.st @@ -1,3 +1,3 @@ settings filter - ^ smTFilter ifNil: [ smTFilter := SmTIcebergLoadedPackageFilter ] \ No newline at end of file + ^ smTFilter ifNil: [ smTFilter := SmTIcebergLoadedPackagesFilter ] \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/setUp.st b/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/setUp.st index 4ef723d..d5755c5 100644 --- a/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/setUp.st +++ b/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/setUp.st @@ -2,4 +2,4 @@ initialization setUp super setUp. self timeLimit: 15 seconds. - smartFinder filter: (SmTSpecifyPackageNameFilter packagesRegEx: 'SmartTest-Tests-Data') new \ No newline at end of file + smartFinder filter: (SmTSpecifyPackagesNameFilter packagesRegEx: 'SmartTest-Tests-Data') new \ No newline at end of file diff --git a/SmartTest.package/SmTSpecifyPackageNameFilter.class/README.md b/SmartTest.package/SmTSpecifyPackageNameFilter.class/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/SmartTest.package/SmTSpecifyPackagesNameFilter.class/README.md b/SmartTest.package/SmTSpecifyPackagesNameFilter.class/README.md new file mode 100644 index 0000000..597d8fd --- /dev/null +++ b/SmartTest.package/SmTSpecifyPackagesNameFilter.class/README.md @@ -0,0 +1 @@ +The search is limited to the packages whose names matches the regex. \ No newline at end of file diff --git a/SmartTest.package/SmTSpecifyPackageNameFilter.class/class/packagesRegEx..st b/SmartTest.package/SmTSpecifyPackagesNameFilter.class/class/packagesRegEx..st similarity index 100% rename from SmartTest.package/SmTSpecifyPackageNameFilter.class/class/packagesRegEx..st rename to SmartTest.package/SmTSpecifyPackagesNameFilter.class/class/packagesRegEx..st diff --git a/SmartTest.package/SmTSpecifyPackageNameFilter.class/class/packagesRegEx.st b/SmartTest.package/SmTSpecifyPackagesNameFilter.class/class/packagesRegEx.st similarity index 100% rename from SmartTest.package/SmTSpecifyPackageNameFilter.class/class/packagesRegEx.st rename to SmartTest.package/SmTSpecifyPackagesNameFilter.class/class/packagesRegEx.st diff --git a/SmartTest.package/SmTSpecifyPackageNameFilter.class/class/selectedPackage.st b/SmartTest.package/SmTSpecifyPackagesNameFilter.class/class/selectedPackage.st similarity index 100% rename from SmartTest.package/SmTSpecifyPackageNameFilter.class/class/selectedPackage.st rename to SmartTest.package/SmTSpecifyPackagesNameFilter.class/class/selectedPackage.st diff --git a/SmartTest.package/SmTSpecifyPackageNameFilter.class/class/settingsOn..st b/SmartTest.package/SmTSpecifyPackagesNameFilter.class/class/settingsOn..st similarity index 100% rename from SmartTest.package/SmTSpecifyPackageNameFilter.class/class/settingsOn..st rename to SmartTest.package/SmTSpecifyPackagesNameFilter.class/class/settingsOn..st diff --git a/SmartTest.package/SmTSpecifyPackageNameFilter.class/instance/packages.st b/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/packages.st similarity index 100% rename from SmartTest.package/SmTSpecifyPackageNameFilter.class/instance/packages.st rename to SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/packages.st diff --git a/SmartTest.package/SmTSpecifyPackageNameFilter.class/instance/shouldEntityBeFiltered..st b/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/shouldEntityBeFiltered..st similarity index 100% rename from SmartTest.package/SmTSpecifyPackageNameFilter.class/instance/shouldEntityBeFiltered..st rename to SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/shouldEntityBeFiltered..st diff --git a/SmartTest.package/SmTSpecifyPackageNameFilter.class/properties.json b/SmartTest.package/SmTSpecifyPackagesNameFilter.class/properties.json similarity index 67% rename from SmartTest.package/SmTSpecifyPackageNameFilter.class/properties.json rename to SmartTest.package/SmTSpecifyPackagesNameFilter.class/properties.json index 59e6794..78ce329 100644 --- a/SmartTest.package/SmTSpecifyPackageNameFilter.class/properties.json +++ b/SmartTest.package/SmTSpecifyPackagesNameFilter.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "", + "commentStamp" : "EleonoreWALD 5/2/2018 10:21", "super" : "SmTFilterStrategy", "category" : "SmartTest-Filter", "classinstvars" : [ @@ -8,6 +8,6 @@ "pools" : [ ], "classvars" : [ ], "instvars" : [ ], - "name" : "SmTSpecifyPackageNameFilter", + "name" : "SmTSpecifyPackagesNameFilter", "type" : "normal" } \ No newline at end of file diff --git a/SmartTest.package/SmTSuperClassTest.class/README.md b/SmartTest.package/SmTSuperClassTest.class/README.md index e69de29..7efbd46 100644 --- a/SmartTest.package/SmTSuperClassTest.class/README.md +++ b/SmartTest.package/SmTSuperClassTest.class/README.md @@ -0,0 +1 @@ +A test to test if SmartTest works with inherited tests. diff --git a/SmartTest.package/SmTSuperClassTest.class/properties.json b/SmartTest.package/SmTSuperClassTest.class/properties.json index 64a0d59..c312d94 100644 --- a/SmartTest.package/SmTSuperClassTest.class/properties.json +++ b/SmartTest.package/SmTSuperClassTest.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "", + "commentStamp" : "EleonoreWALD 5/2/2018 10:26", "super" : "TestCase", "category" : "SmartTest-Tests-Data", "classinstvars" : [ ], From fc4cc3b43bc814c8462d43dd2c12904b55ff2f9e Mon Sep 17 00:00:00 2001 From: test Date: Thu, 3 May 2018 11:25:29 +0200 Subject: [PATCH 033/150] Correction and addition of comments --- .../ManifestSmartTestTestData.class/README.md | 2 +- .../ManifestSmartTestTestData.class/properties.json | 2 +- SmT_TestData.package/SmTClassOutSide.class/README.md | 2 +- SmT_TestData.package/SmTClassOutSide.class/properties.json | 2 +- SmT_TestData.package/SmTClassOutsideTest.class/README.md | 2 ++ .../SmTClassOutsideTest.class/properties.json | 2 +- SmartTest.package/SmTAnnouncer.class/README.md | 1 + SmartTest.package/SmTAnnouncer.class/properties.json | 2 +- SmartTest.package/SmTBasicCacheStrategy.class/README.md | 1 + SmartTest.package/SmTBasicCacheStrategy.class/properties.json | 2 +- .../instance/testRunningTestMethod2ToBuildCache.st | 3 +-- ...t => testResearchTestsForStandardMethodWhileEmptyCache.st} | 2 +- .../instance/testRunningTestMethod2ToBuildCache.st | 2 +- SmartTest.package/SmTCacheStrategy.class/README.md | 1 + SmartTest.package/SmTCacheStrategy.class/properties.json | 2 +- .../testStandardMethodFirstLevelSendersOutsidePackage2.st | 1 - .../instance/testStandardMethodSecondLevelSenders.st | 1 - SmartTest.package/SmTInheritClassTest.class/README.md | 3 ++- SmartTest.package/SmTInheritClassTest.class/properties.json | 2 +- SmartTest.package/SmTNoCacheStrategy.class/README.md | 1 + SmartTest.package/SmTNoCacheStrategy.class/properties.json | 2 +- .../SmTReflectivityTestFinderStrategy.class/README.md | 2 +- .../SmTReflectivityTestFinderStrategy.class/properties.json | 2 +- .../instance/testStandardMethodSecondLevelSenders.st | 3 +++ SmartTest.package/SmTSuperClassTest.class/README.md | 1 + SmartTest.package/SmTSuperClassTest.class/properties.json | 2 +- .../instance/methodsFor..st | 4 ++-- 27 files changed, 30 insertions(+), 22 deletions(-) rename SmartTest.package/SmTCacheBuilderTest.class/instance/{testResarchTestsForStandardMethodWhileEmptyCache.st => testResearchTestsForStandardMethodWhileEmptyCache.st} (82%) diff --git a/SmT_TestData.package/ManifestSmartTestTestData.class/README.md b/SmT_TestData.package/ManifestSmartTestTestData.class/README.md index 35f0565..42c5da7 100644 --- a/SmT_TestData.package/ManifestSmartTestTestData.class/README.md +++ b/SmT_TestData.package/ManifestSmartTestTestData.class/README.md @@ -1,2 +1,2 @@ This package gathers test data to test SmartTest. -Normally, SmartTest looks for methods only inside the package where the method has been changed but to be sure, we add some data out side SmartTest package (and so in this package SmartTest_TestData) to be sure. \ No newline at end of file +Normally, SmartTest looks for methods only inside the package where the method has been changed but to be sure, we add some data outside SmartTest package (and so in this package SmartTest_TestData) to be sure. \ No newline at end of file diff --git a/SmT_TestData.package/ManifestSmartTestTestData.class/properties.json b/SmT_TestData.package/ManifestSmartTestTestData.class/properties.json index 47fcd37..fe89955 100644 --- a/SmT_TestData.package/ManifestSmartTestTestData.class/properties.json +++ b/SmT_TestData.package/ManifestSmartTestTestData.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "EleonoreWALD 4/26/2018 13:39", + "commentStamp" : "EleonoreWALD 5/3/2018 09:57", "super" : "PackageManifest", "category" : "SmT_TestData", "classinstvars" : [ ], diff --git a/SmT_TestData.package/SmTClassOutSide.class/README.md b/SmT_TestData.package/SmTClassOutSide.class/README.md index e37cd82..21736c8 100644 --- a/SmT_TestData.package/SmTClassOutSide.class/README.md +++ b/SmT_TestData.package/SmTClassOutSide.class/README.md @@ -1 +1 @@ -This class has method with the same name than SmTClass in SmartTest package. SmTClassOutSide aims to check that by default SmartTest does bot look for test outside the package. \ No newline at end of file +This class has method with the same name than SmTClass in SmartTest package. SmTClassOutSide aims to check that by default SmartTest does not look for test outside the package. \ No newline at end of file diff --git a/SmT_TestData.package/SmTClassOutSide.class/properties.json b/SmT_TestData.package/SmTClassOutSide.class/properties.json index 3e2dda8..febaf74 100644 --- a/SmT_TestData.package/SmTClassOutSide.class/properties.json +++ b/SmT_TestData.package/SmTClassOutSide.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "EleonoreWALD 4/26/2018 14:02", + "commentStamp" : "EleonoreWALD 5/2/2018 14:26", "super" : "Object", "category" : "SmT_TestData", "classinstvars" : [ ], diff --git a/SmT_TestData.package/SmTClassOutsideTest.class/README.md b/SmT_TestData.package/SmTClassOutsideTest.class/README.md index e69de29..30cb5ca 100644 --- a/SmT_TestData.package/SmTClassOutsideTest.class/README.md +++ b/SmT_TestData.package/SmTClassOutsideTest.class/README.md @@ -0,0 +1,2 @@ +This class has test that calls SmTClassOutside >> method2, a method also present in the SmartTest package. +As SmTClassOutside, SmTClassOutSideTest aims to check that by default SmartTest does bot look for test outside the package. \ No newline at end of file diff --git a/SmT_TestData.package/SmTClassOutsideTest.class/properties.json b/SmT_TestData.package/SmTClassOutsideTest.class/properties.json index 0ea4e1d..b0c9c05 100644 --- a/SmT_TestData.package/SmTClassOutsideTest.class/properties.json +++ b/SmT_TestData.package/SmTClassOutsideTest.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "", + "commentStamp" : "EleonoreWALD 5/2/2018 14:29", "super" : "TestCase", "category" : "SmT_TestData", "classinstvars" : [ ], diff --git a/SmartTest.package/SmTAnnouncer.class/README.md b/SmartTest.package/SmTAnnouncer.class/README.md index e69de29..e3a5f62 100644 --- a/SmartTest.package/SmTAnnouncer.class/README.md +++ b/SmartTest.package/SmTAnnouncer.class/README.md @@ -0,0 +1 @@ +The announcer process announces that some event has occurred and disseminates it to all the listeners that are interested in the event. \ No newline at end of file diff --git a/SmartTest.package/SmTAnnouncer.class/properties.json b/SmartTest.package/SmTAnnouncer.class/properties.json index 5a28be5..1422806 100644 --- a/SmartTest.package/SmTAnnouncer.class/properties.json +++ b/SmartTest.package/SmTAnnouncer.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "", + "commentStamp" : "EleonoreWALD 5/2/2018 14:32", "super" : "Announcer", "category" : "SmartTest-Listener", "classinstvars" : [ diff --git a/SmartTest.package/SmTBasicCacheStrategy.class/README.md b/SmartTest.package/SmTBasicCacheStrategy.class/README.md index e69de29..02305ab 100644 --- a/SmartTest.package/SmTBasicCacheStrategy.class/README.md +++ b/SmartTest.package/SmTBasicCacheStrategy.class/README.md @@ -0,0 +1 @@ +This strategy always adds the tests to the cache and always gives the tests when asked. \ No newline at end of file diff --git a/SmartTest.package/SmTBasicCacheStrategy.class/properties.json b/SmartTest.package/SmTBasicCacheStrategy.class/properties.json index b2017c4..8842049 100644 --- a/SmartTest.package/SmTBasicCacheStrategy.class/properties.json +++ b/SmartTest.package/SmTBasicCacheStrategy.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "", + "commentStamp" : "EleonoreWALD 5/3/2018 10:13", "super" : "SmTCacheStrategy", "category" : "SmartTest-Cache", "classinstvars" : [ ], diff --git a/SmartTest.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod2ToBuildCache.st b/SmartTest.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod2ToBuildCache.st index cd238d1..80ab092 100644 --- a/SmartTest.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod2ToBuildCache.st +++ b/SmartTest.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod2ToBuildCache.st @@ -3,9 +3,8 @@ testRunningTestMethod2ToBuildCache self assert: smartFinder currentCache isEmpty. SmTClassTest run: #testMethod2. - "Running the test fill the cache that is then no more empty but contains only the association between SmTClass>>methodi (with i = 1 to 4) and SmTClassTest>>testMethod2. The cache should contain 4 associations one per each method as key and testMethod2 asValue" + "Running the test fills the cache that is then no more empty but contains only the association between SmTClass>>methodi (with i = 1 to 4) and SmTClassTest>>testMethod2. The cache should contain 4 associations one per each method as key and testMethod2 asValue" self assert: smartFinder currentCache isNotEmpty. - self assert: (smartFinder currentCache diff --git a/SmartTest.package/SmTCacheBuilderTest.class/instance/testResarchTestsForStandardMethodWhileEmptyCache.st b/SmartTest.package/SmTCacheBuilderTest.class/instance/testResearchTestsForStandardMethodWhileEmptyCache.st similarity index 82% rename from SmartTest.package/SmTCacheBuilderTest.class/instance/testResarchTestsForStandardMethodWhileEmptyCache.st rename to SmartTest.package/SmTCacheBuilderTest.class/instance/testResearchTestsForStandardMethodWhileEmptyCache.st index e3ec8a2..3ec7994 100644 --- a/SmartTest.package/SmTCacheBuilderTest.class/instance/testResarchTestsForStandardMethodWhileEmptyCache.st +++ b/SmartTest.package/SmTCacheBuilderTest.class/instance/testResearchTestsForStandardMethodWhileEmptyCache.st @@ -1,5 +1,5 @@ tests -testResarchTestsForStandardMethodWhileEmptyCache +testResearchTestsForStandardMethodWhileEmptyCache | testsFound | self assert: smartFinder currentCache isEmpty. diff --git a/SmartTest.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod2ToBuildCache.st b/SmartTest.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod2ToBuildCache.st index 7f22f68..dc8e2e5 100644 --- a/SmartTest.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod2ToBuildCache.st +++ b/SmartTest.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod2ToBuildCache.st @@ -3,7 +3,7 @@ testRunningTestMethod2ToBuildCache self assert: smartFinder currentCache isEmpty. SmTClassTest run: #testMethod2. - "Running the test fill the cache that is then no more empty but contains only the association between SmTClass>>methodi (with i = 1 to 4) and SmTClassTest>>testMethod2. The cache should contain 4 associations one per each method as key and testMethod2 asValue" + "Running the test fills the cache that is then no more empty but contains only the association between SmTClass>>methodi (with i = 1 to 4) and SmTClassTest>>testMethod2. The cache should contain 5 associations one per each method as key and testMethod2 asValue" self assert: smartFinder currentCache isNotEmpty. self assert: smartFinder currentCache size diff --git a/SmartTest.package/SmTCacheStrategy.class/README.md b/SmartTest.package/SmTCacheStrategy.class/README.md index e69de29..25cf40d 100644 --- a/SmartTest.package/SmTCacheStrategy.class/README.md +++ b/SmartTest.package/SmTCacheStrategy.class/README.md @@ -0,0 +1 @@ +This setting defines how the cache should behave. \ No newline at end of file diff --git a/SmartTest.package/SmTCacheStrategy.class/properties.json b/SmartTest.package/SmTCacheStrategy.class/properties.json index 99a76fe..0645c52 100644 --- a/SmartTest.package/SmTCacheStrategy.class/properties.json +++ b/SmartTest.package/SmTCacheStrategy.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "", + "commentStamp" : "EleonoreWALD 5/3/2018 09:58", "super" : "Object", "category" : "SmartTest-Cache", "classinstvars" : [ ], diff --git a/SmartTest.package/SmTFinderAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackage2.st b/SmartTest.package/SmTFinderAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackage2.st index d103c84..1210a41 100644 --- a/SmartTest.package/SmTFinderAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackage2.st +++ b/SmartTest.package/SmTFinderAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackage2.st @@ -3,7 +3,6 @@ testStandardMethodFirstLevelSendersOutsidePackage2 | testsFound | testsFound := self searchTestMethodsFor: SmTClassOutSide >> #method2. - self deny: (testsFound includes: testMethod1). self deny: (testsFound includes: testMethod2). self deny: (testsFound includes: testMethod3). diff --git a/SmartTest.package/SmTFinderAbstractTest.class/instance/testStandardMethodSecondLevelSenders.st b/SmartTest.package/SmTFinderAbstractTest.class/instance/testStandardMethodSecondLevelSenders.st index 7143739..75bc533 100644 --- a/SmartTest.package/SmTFinderAbstractTest.class/instance/testStandardMethodSecondLevelSenders.st +++ b/SmartTest.package/SmTFinderAbstractTest.class/instance/testStandardMethodSecondLevelSenders.st @@ -3,7 +3,6 @@ testStandardMethodSecondLevelSenders | testsFound | testsFound := self searchTestMethodsFor: SmTClass >> #method1. - self assert: (testsFound includes: testMethod1). self assert: (testsFound includes: testMethod2). self assert: (testsFound includes: testInheritedMethod1). diff --git a/SmartTest.package/SmTInheritClassTest.class/README.md b/SmartTest.package/SmTInheritClassTest.class/README.md index 73127c7..30d6df7 100644 --- a/SmartTest.package/SmTInheritClassTest.class/README.md +++ b/SmartTest.package/SmTInheritClassTest.class/README.md @@ -1 +1,2 @@ -A test to test if SmartTest works with inherited tests. \ No newline at end of file +A test to test if SmartTest works with inherited tests. +This is the concrete class that executes the tests of its superclass \ No newline at end of file diff --git a/SmartTest.package/SmTInheritClassTest.class/properties.json b/SmartTest.package/SmTInheritClassTest.class/properties.json index 752732f..e2786d2 100644 --- a/SmartTest.package/SmTInheritClassTest.class/properties.json +++ b/SmartTest.package/SmTInheritClassTest.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "EleonoreWALD 5/2/2018 10:26", + "commentStamp" : "EleonoreWALD 5/2/2018 14:04", "super" : "SmTSuperClassTest", "category" : "SmartTest-Tests-Data", "classinstvars" : [ ], diff --git a/SmartTest.package/SmTNoCacheStrategy.class/README.md b/SmartTest.package/SmTNoCacheStrategy.class/README.md index e69de29..ae56a32 100644 --- a/SmartTest.package/SmTNoCacheStrategy.class/README.md +++ b/SmartTest.package/SmTNoCacheStrategy.class/README.md @@ -0,0 +1 @@ +This strategy never adds the tests found to the cache. \ No newline at end of file diff --git a/SmartTest.package/SmTNoCacheStrategy.class/properties.json b/SmartTest.package/SmTNoCacheStrategy.class/properties.json index e60e1d9..d1bc08f 100644 --- a/SmartTest.package/SmTNoCacheStrategy.class/properties.json +++ b/SmartTest.package/SmTNoCacheStrategy.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "", + "commentStamp" : "EleonoreWALD 5/3/2018 10:01", "super" : "SmTCacheStrategy", "category" : "SmartTest-Cache", "classinstvars" : [ ], diff --git a/SmartTest.package/SmTReflectivityTestFinderStrategy.class/README.md b/SmartTest.package/SmTReflectivityTestFinderStrategy.class/README.md index 3b5405a..ec5d680 100644 --- a/SmartTest.package/SmTReflectivityTestFinderStrategy.class/README.md +++ b/SmartTest.package/SmTReflectivityTestFinderStrategy.class/README.md @@ -1,2 +1,2 @@ -I'm a dinamycal finder. +I'm a dynamic finder. I use the meta link to discover the coverage of Test \ No newline at end of file diff --git a/SmartTest.package/SmTReflectivityTestFinderStrategy.class/properties.json b/SmartTest.package/SmTReflectivityTestFinderStrategy.class/properties.json index 3e7ff27..0d9c006 100644 --- a/SmartTest.package/SmTReflectivityTestFinderStrategy.class/properties.json +++ b/SmartTest.package/SmTReflectivityTestFinderStrategy.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "BenoitVerhaeghe 7/13/2017 14:23", + "commentStamp" : "EleonoreWALD 5/2/2018 13:42", "super" : "SmTTestFinderDynamicStrategy", "category" : "SmartTest-Finder", "classinstvars" : [ ], diff --git a/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/testStandardMethodSecondLevelSenders.st b/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/testStandardMethodSecondLevelSenders.st index eccf737..d9ef8ca 100644 --- a/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/testStandardMethodSecondLevelSenders.st +++ b/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/testStandardMethodSecondLevelSenders.st @@ -1,6 +1,9 @@ initialization testStandardMethodSecondLevelSenders "In class, the research is limited to the SmartTest-Tests-Data package and is static. So the assertions are different. There should be only one test found that call the method2 message" + "Here the test founds should not include the test 'testInheritedMethod1' becquse + - it is not in the package SmartTest-Tests-Data + - it makes a reference to SmTClassOutSide new method2 and NOT SmTClass >> method2" | testsFound | diff --git a/SmartTest.package/SmTSuperClassTest.class/README.md b/SmartTest.package/SmTSuperClassTest.class/README.md index 7efbd46..0bd34da 100644 --- a/SmartTest.package/SmTSuperClassTest.class/README.md +++ b/SmartTest.package/SmTSuperClassTest.class/README.md @@ -1 +1,2 @@ A test to test if SmartTest works with inherited tests. +This is an abstract class that is never really executed diff --git a/SmartTest.package/SmTSuperClassTest.class/properties.json b/SmartTest.package/SmTSuperClassTest.class/properties.json index c312d94..e389482 100644 --- a/SmartTest.package/SmTSuperClassTest.class/properties.json +++ b/SmartTest.package/SmTSuperClassTest.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "EleonoreWALD 5/2/2018 10:26", + "commentStamp" : "EleonoreWALD 5/2/2018 14:04", "super" : "TestCase", "category" : "SmartTest-Tests-Data", "classinstvars" : [ ], diff --git a/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/methodsFor..st b/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/methodsFor..st index a630547..5b22b36 100644 --- a/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/methodsFor..st +++ b/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/methodsFor..st @@ -3,8 +3,8 @@ methodsFor: aCompiledMethod | finalFoundMethod | ^ self cache at: aCompiledMethod methodReference - ifAbsent: [ (self shouldTryToFindTestForDynamic not ) - ifTrue: [ ^ {} ]. + ifAbsent: [ (self shouldTryToFindTestForDynamic ) + ifFalse: [ ^ {} ]. #(testsForATestMethod: testsForASetUpMethod: testsForATearDownMethod: testsForAStandardMethod:) do: [ :heuristic | | methods | From 3412643850ee04b4e909fefe26998d17bf47fecc Mon Sep 17 00:00:00 2001 From: test Date: Thu, 3 May 2018 14:53:01 +0200 Subject: [PATCH 034/150] Some comments were added and some methods were classified in the right category. --- .../instance/at.ifPresent.ifAbsent..st | 2 +- .../instance/testsForMethodReference..st | 2 +- .../instance/testRunningTestMethod5ToBuildCache.st | 4 ++-- .../SmTCacheBuilderTestCoverageTest.class/README.md | 2 +- .../SmTCacheBuilderTestCoverageTest.class/properties.json | 2 +- SmartTest.package/SmTCollector.class/README.md | 1 + SmartTest.package/SmTCollector.class/properties.json | 2 +- SmartTest.package/SmTFinderAbstractTest.class/README.md | 1 + SmartTest.package/SmTFinderAbstractTest.class/properties.json | 2 +- SmartTest.package/SmTNoCacheStrategy.class/instance/at..st | 2 +- .../SmTNoCacheStrategy.class/instance/at.ifAbsent..st | 2 +- .../SmTNoCacheStrategy.class/instance/at.put..st | 2 +- .../instance/testsForMethodReference..st | 2 +- SmartTest.package/SmTSelectPackageBrowser.class/README.md | 1 + .../SmTSelectPackageBrowser.class/properties.json | 2 +- SmartTest.package/SmTSendersFinderTest.class/README.md | 1 + SmartTest.package/SmTSendersFinderTest.class/properties.json | 2 +- .../SmTSendersFinderTestWithRestrictedPackage.class/README.md | 2 +- .../instance/testStandardMethodSecondLevelSenders.st | 2 +- .../properties.json | 2 +- .../SmTSendersFinderTestWithoutCache.class/README.md | 1 + .../SmTSendersFinderTestWithoutCache.class/properties.json | 2 +- SmartTest.package/SmTTestCoverage.class/README.md | 1 + SmartTest.package/SmTTestCoverage.class/properties.json | 2 +- SmartTest.package/SmTTestCoverageFinderTest.class/README.md | 1 + .../SmTTestCoverageFinderTest.class/properties.json | 2 +- SmartTest.package/SmTTestListener.class/README.md | 1 + SmartTest.package/SmTTestListener.class/properties.json | 2 +- 28 files changed, 29 insertions(+), 21 deletions(-) diff --git a/SmartTest.package/SmTBasicCacheStrategy.class/instance/at.ifPresent.ifAbsent..st b/SmartTest.package/SmTBasicCacheStrategy.class/instance/at.ifPresent.ifAbsent..st index cbd4e07..c1cf8a8 100644 --- a/SmartTest.package/SmTBasicCacheStrategy.class/instance/at.ifPresent.ifAbsent..st +++ b/SmartTest.package/SmTBasicCacheStrategy.class/instance/at.ifPresent.ifAbsent..st @@ -1,3 +1,3 @@ -private +private at: key ifPresent: aPresentBlock ifAbsent: anAbsentBlock ^ self currentCache at: key ifPresent: aPresentBlock ifAbsent: anAbsentBlock \ No newline at end of file diff --git a/SmartTest.package/SmTBasicCacheStrategy.class/instance/testsForMethodReference..st b/SmartTest.package/SmTBasicCacheStrategy.class/instance/testsForMethodReference..st index b02e458..267a88e 100644 --- a/SmartTest.package/SmTBasicCacheStrategy.class/instance/testsForMethodReference..st +++ b/SmartTest.package/SmTBasicCacheStrategy.class/instance/testsForMethodReference..st @@ -1,3 +1,3 @@ -accessing +private testsForMethodReference: aMethodReference ^ self currentCache at: aMethodReference ifAbsentPut: [ Set new ] \ No newline at end of file diff --git a/SmartTest.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod5ToBuildCache.st b/SmartTest.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod5ToBuildCache.st index 8288d0c..69d907b 100644 --- a/SmartTest.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod5ToBuildCache.st +++ b/SmartTest.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod5ToBuildCache.st @@ -5,13 +5,13 @@ testRunningTestMethod5ToBuildCache self assert: smartFinder currentCache isEmpty. SmTClassTest run: #testMethod5. - "Running the test fill the cache that is then no more empty but contains only the association between SmTClass>>method1 and SmTClassTest>>testMethod1" + "Running the test fill the cache that is then no more empty but contains only the association between SmTClass2>>initialize and SmTClassTest>>testMethod5" self assert: smartFinder currentCache isNotEmpty. self assert: smartFinder currentCache size equals: 2. self assert: (smartFinder currentCache at: (RGMethodDefinition className: 'SmTClass2' selector: #initialize isMetaSide: false)) equals: {(RGMethodDefinition className: 'SmTClassTest' selector: #testMethod5 isMetaSide: false)} asSet. - self + self assert: (smartFinder currentCache at: (RGMethodDefinition className: 'SmTClassTest' selector: #testMethod5 isMetaSide: false)) equals: {(RGMethodDefinition className: 'SmTClassTest' selector: #testMethod5 isMetaSide: false)} asSet \ No newline at end of file diff --git a/SmartTest.package/SmTCacheBuilderTestCoverageTest.class/README.md b/SmartTest.package/SmTCacheBuilderTestCoverageTest.class/README.md index db11597..d4717a9 100644 --- a/SmartTest.package/SmTCacheBuilderTestCoverageTest.class/README.md +++ b/SmartTest.package/SmTCacheBuilderTestCoverageTest.class/README.md @@ -1 +1 @@ -This class aims to test the construction of the cache in the context of dynamic method analysis using the coverage strategy. \ No newline at end of file +This class aims to test the construction of the cache in the context of dynamic method analysis using the TestCoverage strategy. \ No newline at end of file diff --git a/SmartTest.package/SmTCacheBuilderTestCoverageTest.class/properties.json b/SmartTest.package/SmTCacheBuilderTestCoverageTest.class/properties.json index 017dc8c..3e84ec5 100644 --- a/SmartTest.package/SmTCacheBuilderTestCoverageTest.class/properties.json +++ b/SmartTest.package/SmTCacheBuilderTestCoverageTest.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "EleonoreWALD 4/27/2018 16:01", + "commentStamp" : "EleonoreWALD 5/3/2018 14:22", "super" : "SmTCacheBuilderTest", "category" : "SmartTest-Tests", "classinstvars" : [ ], diff --git a/SmartTest.package/SmTCollector.class/README.md b/SmartTest.package/SmTCollector.class/README.md index e69de29..414037c 100644 --- a/SmartTest.package/SmTCollector.class/README.md +++ b/SmartTest.package/SmTCollector.class/README.md @@ -0,0 +1 @@ +This collector exist to describe all the ways the test can be collected. \ No newline at end of file diff --git a/SmartTest.package/SmTCollector.class/properties.json b/SmartTest.package/SmTCollector.class/properties.json index df06c67..04bc3aa 100644 --- a/SmartTest.package/SmTCollector.class/properties.json +++ b/SmartTest.package/SmTCollector.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "", + "commentStamp" : "EleonoreWALD 5/3/2018 14:50", "super" : "Object", "category" : "SmartTest-Collector", "classinstvars" : [ ], diff --git a/SmartTest.package/SmTFinderAbstractTest.class/README.md b/SmartTest.package/SmTFinderAbstractTest.class/README.md index c77c3e6..a06cbe2 100644 --- a/SmartTest.package/SmTFinderAbstractTest.class/README.md +++ b/SmartTest.package/SmTFinderAbstractTest.class/README.md @@ -1,3 +1,4 @@ +This class exists to test the behaviour of the different finders with diffeent settings. TODO - test setUp method with teardown diff --git a/SmartTest.package/SmTFinderAbstractTest.class/properties.json b/SmartTest.package/SmTFinderAbstractTest.class/properties.json index 18d4264..66eaa8e 100644 --- a/SmartTest.package/SmTFinderAbstractTest.class/properties.json +++ b/SmartTest.package/SmTFinderAbstractTest.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "BenoitVerhaeghe 7/13/2017 16:52", + "commentStamp" : "EleonoreWALD 5/3/2018 14:21", "super" : "TestCase", "category" : "SmartTest-Tests", "classinstvars" : [ ], diff --git a/SmartTest.package/SmTNoCacheStrategy.class/instance/at..st b/SmartTest.package/SmTNoCacheStrategy.class/instance/at..st index 4403041..ce8949d 100644 --- a/SmartTest.package/SmTNoCacheStrategy.class/instance/at..st +++ b/SmartTest.package/SmTNoCacheStrategy.class/instance/at..st @@ -1,3 +1,3 @@ -private +accessing at: aMethodReference ^ Set new \ No newline at end of file diff --git a/SmartTest.package/SmTNoCacheStrategy.class/instance/at.ifAbsent..st b/SmartTest.package/SmTNoCacheStrategy.class/instance/at.ifAbsent..st index c72fb6e..85485da 100644 --- a/SmartTest.package/SmTNoCacheStrategy.class/instance/at.ifAbsent..st +++ b/SmartTest.package/SmTNoCacheStrategy.class/instance/at.ifAbsent..st @@ -1,3 +1,3 @@ -private +accessing at: aCompiled ifAbsent: aBlock ^ aBlock value \ No newline at end of file diff --git a/SmartTest.package/SmTNoCacheStrategy.class/instance/at.put..st b/SmartTest.package/SmTNoCacheStrategy.class/instance/at.put..st index 3356c83..4040fef 100644 --- a/SmartTest.package/SmTNoCacheStrategy.class/instance/at.put..st +++ b/SmartTest.package/SmTNoCacheStrategy.class/instance/at.put..st @@ -1,3 +1,3 @@ -private +accessing at: aMethodReference put: aCacheElement ^ self \ No newline at end of file diff --git a/SmartTest.package/SmTNoCacheStrategy.class/instance/testsForMethodReference..st b/SmartTest.package/SmTNoCacheStrategy.class/instance/testsForMethodReference..st index cab0ff0..2804a0d 100644 --- a/SmartTest.package/SmTNoCacheStrategy.class/instance/testsForMethodReference..st +++ b/SmartTest.package/SmTNoCacheStrategy.class/instance/testsForMethodReference..st @@ -1,3 +1,3 @@ -accessing +private testsForMethodReference: aMethodReference ^ Set new \ No newline at end of file diff --git a/SmartTest.package/SmTSelectPackageBrowser.class/README.md b/SmartTest.package/SmTSelectPackageBrowser.class/README.md index e69de29..1a61282 100644 --- a/SmartTest.package/SmTSelectPackageBrowser.class/README.md +++ b/SmartTest.package/SmTSelectPackageBrowser.class/README.md @@ -0,0 +1 @@ +I'm a tool that helps in selecting the packages that are going to be searched. \ No newline at end of file diff --git a/SmartTest.package/SmTSelectPackageBrowser.class/properties.json b/SmartTest.package/SmTSelectPackageBrowser.class/properties.json index 6565fd6..88e9fbd 100644 --- a/SmartTest.package/SmTSelectPackageBrowser.class/properties.json +++ b/SmartTest.package/SmTSelectPackageBrowser.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "", + "commentStamp" : "EleonoreWALD 5/3/2018 14:30", "super" : "SelectBrowser", "category" : "SmartTest-Tools", "classinstvars" : [ ], diff --git a/SmartTest.package/SmTSendersFinderTest.class/README.md b/SmartTest.package/SmTSendersFinderTest.class/README.md index e69de29..406b399 100644 --- a/SmartTest.package/SmTSendersFinderTest.class/README.md +++ b/SmartTest.package/SmTSendersFinderTest.class/README.md @@ -0,0 +1 @@ +I test the finder "SendersStrategy". \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFinderTest.class/properties.json b/SmartTest.package/SmTSendersFinderTest.class/properties.json index 055b0ad..859ef9f 100644 --- a/SmartTest.package/SmTSendersFinderTest.class/properties.json +++ b/SmartTest.package/SmTSendersFinderTest.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "", + "commentStamp" : "EleonoreWALD 5/3/2018 14:23", "super" : "SmTFinderAbstractTest", "category" : "SmartTest-Tests", "classinstvars" : [ ], diff --git a/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/README.md b/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/README.md index 0aba988..ec48c4d 100644 --- a/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/README.md +++ b/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/README.md @@ -1 +1 @@ -In class, the research is limited to the SmartTest-Tests-Data package andthe research is static. \ No newline at end of file +In this class, the research is limited to the SmartTest-Tests-Data package and the research is static (it is using teh SenderStrategy finder). \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/testStandardMethodSecondLevelSenders.st b/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/testStandardMethodSecondLevelSenders.st index d9ef8ca..4f4206b 100644 --- a/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/testStandardMethodSecondLevelSenders.st +++ b/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/testStandardMethodSecondLevelSenders.st @@ -1,7 +1,7 @@ initialization testStandardMethodSecondLevelSenders "In class, the research is limited to the SmartTest-Tests-Data package and is static. So the assertions are different. There should be only one test found that call the method2 message" - "Here the test founds should not include the test 'testInheritedMethod1' becquse + "Here the test founds should not include the test 'testInheritedMethod1' because - it is not in the package SmartTest-Tests-Data - it makes a reference to SmTClassOutSide new method2 and NOT SmTClass >> method2" diff --git a/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/properties.json b/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/properties.json index 1550a26..cebc546 100644 --- a/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/properties.json +++ b/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "AnneEtien 3/2/2018 14:02", + "commentStamp" : "EleonoreWALD 5/3/2018 14:24", "super" : "SmTFinderAbstractTest", "category" : "SmartTest-Tests", "classinstvars" : [ ], diff --git a/SmartTest.package/SmTSendersFinderTestWithoutCache.class/README.md b/SmartTest.package/SmTSendersFinderTestWithoutCache.class/README.md index e69de29..79ea78c 100644 --- a/SmartTest.package/SmTSendersFinderTestWithoutCache.class/README.md +++ b/SmartTest.package/SmTSendersFinderTestWithoutCache.class/README.md @@ -0,0 +1 @@ +In this class, the research is limited to the SmartTest-Tests-Data package, the research is static (it is using teh SenderStrategy finder) and no cache is used. \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFinderTestWithoutCache.class/properties.json b/SmartTest.package/SmTSendersFinderTestWithoutCache.class/properties.json index 6b5cd8f..a9b29b2 100644 --- a/SmartTest.package/SmTSendersFinderTestWithoutCache.class/properties.json +++ b/SmartTest.package/SmTSendersFinderTestWithoutCache.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "", + "commentStamp" : "EleonoreWALD 5/3/2018 14:25", "super" : "SmTFinderAbstractTest", "category" : "SmartTest-Tests", "classinstvars" : [ ], diff --git a/SmartTest.package/SmTTestCoverage.class/README.md b/SmartTest.package/SmTTestCoverage.class/README.md index e69de29..ad5d226 100644 --- a/SmartTest.package/SmTTestCoverage.class/README.md +++ b/SmartTest.package/SmTTestCoverage.class/README.md @@ -0,0 +1 @@ +I'm a tool that help configure the finder for the TestCoverage strategy. \ No newline at end of file diff --git a/SmartTest.package/SmTTestCoverage.class/properties.json b/SmartTest.package/SmTTestCoverage.class/properties.json index 765446c..f79da6c 100644 --- a/SmartTest.package/SmTTestCoverage.class/properties.json +++ b/SmartTest.package/SmTTestCoverage.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "", + "commentStamp" : "EleonoreWALD 5/3/2018 14:29", "super" : "HDTestCoverage", "category" : "SmartTest-Tools", "classinstvars" : [ ], diff --git a/SmartTest.package/SmTTestCoverageFinderTest.class/README.md b/SmartTest.package/SmTTestCoverageFinderTest.class/README.md index e69de29..f1222ea 100644 --- a/SmartTest.package/SmTTestCoverageFinderTest.class/README.md +++ b/SmartTest.package/SmTTestCoverageFinderTest.class/README.md @@ -0,0 +1 @@ +In this class, the research is dynamic and it uses the finder TestCoverage. \ No newline at end of file diff --git a/SmartTest.package/SmTTestCoverageFinderTest.class/properties.json b/SmartTest.package/SmTTestCoverageFinderTest.class/properties.json index 45a1f98..1a53dfd 100644 --- a/SmartTest.package/SmTTestCoverageFinderTest.class/properties.json +++ b/SmartTest.package/SmTTestCoverageFinderTest.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "", + "commentStamp" : "EleonoreWALD 5/3/2018 14:25", "super" : "SmTFinderAbstractTest", "category" : "SmartTest-Tests", "classinstvars" : [ ], diff --git a/SmartTest.package/SmTTestListener.class/README.md b/SmartTest.package/SmTTestListener.class/README.md index e69de29..100c415 100644 --- a/SmartTest.package/SmTTestListener.class/README.md +++ b/SmartTest.package/SmTTestListener.class/README.md @@ -0,0 +1 @@ +I'm listening all the tests event and add it to the RTS \ No newline at end of file diff --git a/SmartTest.package/SmTTestListener.class/properties.json b/SmartTest.package/SmTTestListener.class/properties.json index cc35a04..970ebdf 100644 --- a/SmartTest.package/SmTTestListener.class/properties.json +++ b/SmartTest.package/SmTTestListener.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "", + "commentStamp" : "EleonoreWALD 5/3/2018 14:50", "super" : "Object", "category" : "SmartTest-Listener", "classinstvars" : [ From cf14ddcc75533c8e3a9ca6d470fb6916f55fcafd Mon Sep 17 00:00:00 2001 From: test Date: Thu, 3 May 2018 18:13:31 +0200 Subject: [PATCH 035/150] Mostly comments and re-categorization of methods --- SmartTest.package/ManifestSmartTest.class/README.md | 4 +++- .../ManifestSmartTest.class/properties.json | 2 +- .../instance/testRunningTestMethod2ToBuildCache.st | 2 +- .../instance/at.ifPresent.ifAbsent..st | 2 +- .../instance/testMethodOutSidePackage1.st | 2 +- .../instance/methodUsingVariablesOfClass..st | 2 +- SmartTest.package/SmTCollector.class/README.md | 2 +- SmartTest.package/SmTCollector.class/properties.json | 2 +- .../SmTDefaultClassPackagesFilter.class/README.md | 2 +- .../properties.json | 2 +- .../SmTDefaultPackagesFilter.class/README.md | 2 +- .../SmTDefaultPackagesFilter.class/properties.json | 2 +- SmartTest.package/SmTEventRecipient.class/README.md | 2 +- .../instance/actionForEvent.fromMorph..st | 2 +- .../instance/runTestAndShowProgressIn..st | 2 +- .../SmTEventRecipient.class/properties.json | 2 +- ...StandardMethodFirstLevelSendersOutsidePackage2.st | 2 +- .../SmTIcebergLoadedPackagesFilter.class/README.md | 2 +- .../properties.json | 2 +- .../SmTNullPackagesFilter.class/README.md | 2 +- .../SmTNullPackagesFilter.class/properties.json | 2 +- .../instance/collectAllRelativePackages..st | 2 +- .../instance/collectRelativeTestMethodOfMethods..st | 2 +- ...extractCompiledMethodFromReceiver.andSelector..st | 2 +- .../extractCurrentTestExecutionFromContext..st | 2 +- .../instance/installLinkAndRunTest..st | 2 +- .../instance/methodsInSimilarPackageAs..st | 2 +- .../class/openWithSmartFinder..st | 2 +- .../README.md | 2 +- .../instance/testModificationOnInitialize.st | 12 ------------ .../properties.json | 2 +- .../SmTSpecifyPackagesNameFilter.class/README.md | 2 +- .../class/packagesRegEx..st | 1 + .../class/packagesRegEx.st | 1 + .../properties.json | 2 +- .../instance/availableMethods.st | 2 +- .../instance/availablePackages.st | 2 +- .../instance/availableTestMethods.st | 2 +- .../instance/collectAllRelativePackages..st | 2 +- .../instance/collectRelativeTestMethodOfMethods..st | 2 +- .../instance/getPackageFromName..st | 2 +- .../instance/methodsInSimilarPackageAs..st | 2 +- .../instance/testsForClass..st | 2 +- SmartTest.package/SmartFinder.class/README.md | 12 ++++++------ SmartTest.package/SmartFinder.class/properties.json | 2 +- 45 files changed, 51 insertions(+), 59 deletions(-) delete mode 100644 SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/testModificationOnInitialize.st diff --git a/SmartTest.package/ManifestSmartTest.class/README.md b/SmartTest.package/ManifestSmartTest.class/README.md index 671949a..dea1c32 100644 --- a/SmartTest.package/ManifestSmartTest.class/README.md +++ b/SmartTest.package/ManifestSmartTest.class/README.md @@ -1 +1,3 @@ -I store metadata for this package. These meta data are used by other tools such as the SmalllintManifestChecker and the critics Browser \ No newline at end of file +I store metadata for this package. These meta data are used by other tools such as the SmalllintManifestChecker and the critics Browser + +THIS CLASS SHOULD BE RENAMED BECAUSE IT IS NOT AN EVENT \ No newline at end of file diff --git a/SmartTest.package/ManifestSmartTest.class/properties.json b/SmartTest.package/ManifestSmartTest.class/properties.json index ceb1756..2936db6 100644 --- a/SmartTest.package/ManifestSmartTest.class/properties.json +++ b/SmartTest.package/ManifestSmartTest.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "", + "commentStamp" : "EleonoreWALD 5/3/2018 17:48", "super" : "PackageManifest", "category" : "SmartTest", "classinstvars" : [ ], diff --git a/SmartTest.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod2ToBuildCache.st b/SmartTest.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod2ToBuildCache.st index dc8e2e5..0c4dd78 100644 --- a/SmartTest.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod2ToBuildCache.st +++ b/SmartTest.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod2ToBuildCache.st @@ -3,7 +3,7 @@ testRunningTestMethod2ToBuildCache self assert: smartFinder currentCache isEmpty. SmTClassTest run: #testMethod2. - "Running the test fills the cache that is then no more empty but contains only the association between SmTClass>>methodi (with i = 1 to 4) and SmTClassTest>>testMethod2. The cache should contain 5 associations one per each method as key and testMethod2 asValue" + "Running the test fills the cache that is then no more empty but contains only the association between SmTClass>>methodi (with i = 1 to 4) and SmTClassTest>>testMethod2. The cache should contain 5 associations one for each method as key and testMethod2 asValue" self assert: smartFinder currentCache isNotEmpty. self assert: smartFinder currentCache size diff --git a/SmartTest.package/SmTCacheStrategy.class/instance/at.ifPresent.ifAbsent..st b/SmartTest.package/SmTCacheStrategy.class/instance/at.ifPresent.ifAbsent..st index e8a4214..16555a1 100644 --- a/SmartTest.package/SmTCacheStrategy.class/instance/at.ifPresent.ifAbsent..st +++ b/SmartTest.package/SmTCacheStrategy.class/instance/at.ifPresent.ifAbsent..st @@ -1,3 +1,3 @@ -private +accessing at: key ifPresent: aPresentBlock ifAbsent: anAbsentBlock self subclassResponsibility \ No newline at end of file diff --git a/SmartTest.package/SmTClassTest.class/instance/testMethodOutSidePackage1.st b/SmartTest.package/SmTClassTest.class/instance/testMethodOutSidePackage1.st index c3cf5bc..0d9b84c 100644 --- a/SmartTest.package/SmTClassTest.class/instance/testMethodOutSidePackage1.st +++ b/SmartTest.package/SmTClassTest.class/instance/testMethodOutSidePackage1.st @@ -1,5 +1,5 @@ test data testMethodOutSidePackage1 "this is data for SmTFinderAbstractTest tests" - ^ SmTClassOutSide new method1 + ^ SmTClassOutside new method1 \ No newline at end of file diff --git a/SmartTest.package/SmTClassTestedRule.class/instance/methodUsingVariablesOfClass..st b/SmartTest.package/SmTClassTestedRule.class/instance/methodUsingVariablesOfClass..st index c43c7db..370bbe8 100644 --- a/SmartTest.package/SmTClassTestedRule.class/instance/methodUsingVariablesOfClass..st +++ b/SmartTest.package/SmTClassTestedRule.class/instance/methodUsingVariablesOfClass..st @@ -1,4 +1,4 @@ -as yet unclassified +running methodUsingVariablesOfClass: aClass | aSet | aSet := Set new. diff --git a/SmartTest.package/SmTCollector.class/README.md b/SmartTest.package/SmTCollector.class/README.md index 414037c..e7a3ce5 100644 --- a/SmartTest.package/SmTCollector.class/README.md +++ b/SmartTest.package/SmTCollector.class/README.md @@ -1 +1 @@ -This collector exist to describe all the ways the test can be collected. \ No newline at end of file +This collector exists to describe all the ways the tests can be collected. \ No newline at end of file diff --git a/SmartTest.package/SmTCollector.class/properties.json b/SmartTest.package/SmTCollector.class/properties.json index 04bc3aa..3c96abb 100644 --- a/SmartTest.package/SmTCollector.class/properties.json +++ b/SmartTest.package/SmTCollector.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "EleonoreWALD 5/3/2018 14:50", + "commentStamp" : "EleonoreWALD 5/3/2018 17:39", "super" : "Object", "category" : "SmartTest-Collector", "classinstvars" : [ ], diff --git a/SmartTest.package/SmTDefaultClassPackagesFilter.class/README.md b/SmartTest.package/SmTDefaultClassPackagesFilter.class/README.md index 0b9a162..99cd23e 100644 --- a/SmartTest.package/SmTDefaultClassPackagesFilter.class/README.md +++ b/SmartTest.package/SmTDefaultClassPackagesFilter.class/README.md @@ -1 +1 @@ -The finder should provide only methods which are contain in the package of the last modification or in the packages which call the method class \ No newline at end of file +This filter looks in the packages of all methods that reference the class of the changed entity (method or class) diff --git a/SmartTest.package/SmTDefaultClassPackagesFilter.class/properties.json b/SmartTest.package/SmTDefaultClassPackagesFilter.class/properties.json index 6c3aa14..31d6243 100644 --- a/SmartTest.package/SmTDefaultClassPackagesFilter.class/properties.json +++ b/SmartTest.package/SmTDefaultClassPackagesFilter.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "BenoitVerhaeghe 7/4/2017 10:14", + "commentStamp" : "EleonoreWALD 5/3/2018 17:57", "super" : "SmTDefaultPackagesFilter", "category" : "SmartTest-Filter", "classinstvars" : [ ], diff --git a/SmartTest.package/SmTDefaultPackagesFilter.class/README.md b/SmartTest.package/SmTDefaultPackagesFilter.class/README.md index 4eacf92..908b109 100644 --- a/SmartTest.package/SmTDefaultPackagesFilter.class/README.md +++ b/SmartTest.package/SmTDefaultPackagesFilter.class/README.md @@ -1 +1 @@ -I filter the entities thanks to their package base ( Potato-Hello -> Potato ) \ No newline at end of file +This filter only looks in the package owning the changed entity (method or class) \ No newline at end of file diff --git a/SmartTest.package/SmTDefaultPackagesFilter.class/properties.json b/SmartTest.package/SmTDefaultPackagesFilter.class/properties.json index 7b3101f..861bf7b 100644 --- a/SmartTest.package/SmTDefaultPackagesFilter.class/properties.json +++ b/SmartTest.package/SmTDefaultPackagesFilter.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "BenoitVerhaeghe 7/3/2017 16:30", + "commentStamp" : "EleonoreWALD 5/3/2018 17:53", "super" : "SmTFilterStrategy", "category" : "SmartTest-Filter", "classinstvars" : [ ], diff --git a/SmartTest.package/SmTEventRecipient.class/README.md b/SmartTest.package/SmTEventRecipient.class/README.md index 025ad41..78dc8c8 100644 --- a/SmartTest.package/SmTEventRecipient.class/README.md +++ b/SmartTest.package/SmTEventRecipient.class/README.md @@ -1 +1 @@ -I collect tests, run tests and notify the bug button of my work \ No newline at end of file +I collect tests, run tests and notify the big button of my work \ No newline at end of file diff --git a/SmartTest.package/SmTEventRecipient.class/instance/actionForEvent.fromMorph..st b/SmartTest.package/SmTEventRecipient.class/instance/actionForEvent.fromMorph..st index d290d7f..671b1a1 100644 --- a/SmartTest.package/SmTEventRecipient.class/instance/actionForEvent.fromMorph..st +++ b/SmartTest.package/SmTEventRecipient.class/instance/actionForEvent.fromMorph..st @@ -1,3 +1,3 @@ -as yet unclassified +action actionForEvent: anEvent fromMorph: aMorph self runTestAndShowProgressIn: aMorph \ No newline at end of file diff --git a/SmartTest.package/SmTEventRecipient.class/instance/runTestAndShowProgressIn..st b/SmartTest.package/SmTEventRecipient.class/instance/runTestAndShowProgressIn..st index f8c360e..124d352 100644 --- a/SmartTest.package/SmTEventRecipient.class/instance/runTestAndShowProgressIn..st +++ b/SmartTest.package/SmTEventRecipient.class/instance/runTestAndShowProgressIn..st @@ -1,2 +1,2 @@ -as yet unclassified +action runTestAndShowProgressIn: aMorph \ No newline at end of file diff --git a/SmartTest.package/SmTEventRecipient.class/properties.json b/SmartTest.package/SmTEventRecipient.class/properties.json index 372cd80..0c605a9 100644 --- a/SmartTest.package/SmTEventRecipient.class/properties.json +++ b/SmartTest.package/SmTEventRecipient.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "BenoitVerhaeghe 7/18/2017 10:42", + "commentStamp" : "EleonoreWALD 5/3/2018 17:47", "super" : "Object", "category" : "SmartTest-Event", "classinstvars" : [ ], diff --git a/SmartTest.package/SmTFinderAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackage2.st b/SmartTest.package/SmTFinderAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackage2.st index 1210a41..171e3ee 100644 --- a/SmartTest.package/SmTFinderAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackage2.st +++ b/SmartTest.package/SmTFinderAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackage2.st @@ -2,7 +2,7 @@ tests testStandardMethodFirstLevelSendersOutsidePackage2 | testsFound | - testsFound := self searchTestMethodsFor: SmTClassOutSide >> #method2. + testsFound := self searchTestMethodsFor: SmTClassOutside >> #method2. self deny: (testsFound includes: testMethod1). self deny: (testsFound includes: testMethod2). self deny: (testsFound includes: testMethod3). diff --git a/SmartTest.package/SmTIcebergLoadedPackagesFilter.class/README.md b/SmartTest.package/SmTIcebergLoadedPackagesFilter.class/README.md index 9a10231..aca271c 100644 --- a/SmartTest.package/SmTIcebergLoadedPackagesFilter.class/README.md +++ b/SmartTest.package/SmTIcebergLoadedPackagesFilter.class/README.md @@ -1 +1 @@ -I filter the packages and I block the packages if they are not loaded with Iceberg. \ No newline at end of file +This filter only looks in the packages that are loaded with Iceberg \ No newline at end of file diff --git a/SmartTest.package/SmTIcebergLoadedPackagesFilter.class/properties.json b/SmartTest.package/SmTIcebergLoadedPackagesFilter.class/properties.json index 6a3d1e7..e685cd0 100644 --- a/SmartTest.package/SmTIcebergLoadedPackagesFilter.class/properties.json +++ b/SmartTest.package/SmTIcebergLoadedPackagesFilter.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "EleonoreWALD 5/2/2018 10:20", + "commentStamp" : "EleonoreWALD 5/3/2018 17:58", "super" : "SmTFilterStrategy", "category" : "SmartTest-Filter", "classinstvars" : [ ], diff --git a/SmartTest.package/SmTNullPackagesFilter.class/README.md b/SmartTest.package/SmTNullPackagesFilter.class/README.md index 9190698..a22b544 100644 --- a/SmartTest.package/SmTNullPackagesFilter.class/README.md +++ b/SmartTest.package/SmTNullPackagesFilter.class/README.md @@ -1 +1 @@ -I'm the useless filter because I filter nothing \ No newline at end of file +This filter is "useless" because it does not filter anything: it looks everywhere in the image \ No newline at end of file diff --git a/SmartTest.package/SmTNullPackagesFilter.class/properties.json b/SmartTest.package/SmTNullPackagesFilter.class/properties.json index 181b4a1..19849ad 100644 --- a/SmartTest.package/SmTNullPackagesFilter.class/properties.json +++ b/SmartTest.package/SmTNullPackagesFilter.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "BenoitVerhaeghe 7/13/2017 14:23", + "commentStamp" : "EleonoreWALD 5/3/2018 17:59", "super" : "SmTFilterStrategy", "category" : "SmartTest-Filter", "classinstvars" : [ ], diff --git a/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/collectAllRelativePackages..st b/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/collectAllRelativePackages..st index bf5670c..4518d8a 100644 --- a/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/collectAllRelativePackages..st +++ b/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/collectAllRelativePackages..st @@ -1,3 +1,3 @@ -as yet unclassified +search collectAllRelativePackages: aByteString ^ RPackageOrganizer default packages select: [ :a | (self filter extractPackageBaseName: a packageName) = aByteString ] \ No newline at end of file diff --git a/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/collectRelativeTestMethodOfMethods..st b/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/collectRelativeTestMethodOfMethods..st index ca076e8..11d57b9 100644 --- a/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/collectRelativeTestMethodOfMethods..st +++ b/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/collectRelativeTestMethodOfMethods..st @@ -1,4 +1,4 @@ -as yet unclassified +search collectRelativeTestMethodOfMethods: methods ^ (((methods collect: [ :aMethod | aMethod asTestMethod ]) select: [ :aTestMethod | aTestMethod isNotNil ]) diff --git a/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/extractCompiledMethodFromReceiver.andSelector..st b/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/extractCompiledMethodFromReceiver.andSelector..st index 4f751ad..a2c0813 100644 --- a/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/extractCompiledMethodFromReceiver.andSelector..st +++ b/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/extractCompiledMethodFromReceiver.andSelector..st @@ -1,4 +1,4 @@ -as yet unclassified +api extractCompiledMethodFromReceiver: receiver andSelector: selector " (self class environment at: aSendNode receiver methodNode compiledMethod) lookupSelector: aSendNode selector" ^ receiver class lookupSelector: selector \ No newline at end of file diff --git a/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/extractCurrentTestExecutionFromContext..st b/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/extractCurrentTestExecutionFromContext..st index 557c9b6..3eea595 100644 --- a/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/extractCurrentTestExecutionFromContext..st +++ b/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/extractCurrentTestExecutionFromContext..st @@ -1,4 +1,4 @@ -as yet unclassified +api extractCurrentTestExecutionFromContext: ctxt | aTestCase aCompiledTestCase | aTestCase := ctxt arguments at: 1. diff --git a/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/installLinkAndRunTest..st b/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/installLinkAndRunTest..st index b271849..b33c55b 100644 --- a/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/installLinkAndRunTest..st +++ b/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/installLinkAndRunTest..st @@ -1,4 +1,4 @@ -as yet unclassified +api installLinkAndRunTest: aTestMethod | testEnv | self currentTestExecution: aTestMethod. diff --git a/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/methodsInSimilarPackageAs..st b/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/methodsInSimilarPackageAs..st index 44bb3fa..3a33eaf 100644 --- a/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/methodsInSimilarPackageAs..st +++ b/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/methodsInSimilarPackageAs..st @@ -1,4 +1,4 @@ -as yet unclassified +private methodsInSimilarPackageAs: aCompiledMethod | packageBaseName packages | diff --git a/SmartTest.package/SmTSelectPackageBrowser.class/class/openWithSmartFinder..st b/SmartTest.package/SmTSelectPackageBrowser.class/class/openWithSmartFinder..st index b027377..1218ea9 100644 --- a/SmartTest.package/SmTSelectPackageBrowser.class/class/openWithSmartFinder..st +++ b/SmartTest.package/SmTSelectPackageBrowser.class/class/openWithSmartFinder..st @@ -1,4 +1,4 @@ -as yet unclassified +opening openWithSmartFinder: aSmartFinder self new smartFinder: aSmartFinder; diff --git a/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/README.md b/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/README.md index ec48c4d..71116be 100644 --- a/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/README.md +++ b/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/README.md @@ -1 +1 @@ -In this class, the research is limited to the SmartTest-Tests-Data package and the research is static (it is using teh SenderStrategy finder). \ No newline at end of file +In this class, the research is limited to the SmartTest-Tests-Data package and the research is static (it is using the SenderStrategy finder). \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/testModificationOnInitialize.st b/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/testModificationOnInitialize.st deleted file mode 100644 index 534e1a6..0000000 --- a/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/testModificationOnInitialize.st +++ /dev/null @@ -1,12 +0,0 @@ -initialization -testModificationOnInitialize -"this method is redundant with the abstract method" - - | testsFound | - testsFound := self searchTestMethodsFor: SmTClass2 >> #initialize. - - self deny: (testsFound includes: testMethod1). - self deny: (testsFound includes: testMethod2). - self deny: (testsFound includes: testMethod3). - self deny: (testsFound includes: testMethod4). - self assert: (testsFound includes: testMethod5). \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/properties.json b/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/properties.json index cebc546..6602ac2 100644 --- a/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/properties.json +++ b/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "EleonoreWALD 5/3/2018 14:24", + "commentStamp" : "EleonoreWALD 5/3/2018 16:17", "super" : "SmTFinderAbstractTest", "category" : "SmartTest-Tests", "classinstvars" : [ ], diff --git a/SmartTest.package/SmTSpecifyPackagesNameFilter.class/README.md b/SmartTest.package/SmTSpecifyPackagesNameFilter.class/README.md index 597d8fd..7c2f3e9 100644 --- a/SmartTest.package/SmTSpecifyPackagesNameFilter.class/README.md +++ b/SmartTest.package/SmTSpecifyPackagesNameFilter.class/README.md @@ -1 +1 @@ -The search is limited to the packages whose names matches the regex. \ No newline at end of file +This filter only looks in the packages whose names match a given regex \ No newline at end of file diff --git a/SmartTest.package/SmTSpecifyPackagesNameFilter.class/class/packagesRegEx..st b/SmartTest.package/SmTSpecifyPackagesNameFilter.class/class/packagesRegEx..st index 5e5af8c..f474d9f 100644 --- a/SmartTest.package/SmTSpecifyPackagesNameFilter.class/class/packagesRegEx..st +++ b/SmartTest.package/SmTSpecifyPackagesNameFilter.class/class/packagesRegEx..st @@ -1,3 +1,4 @@ settings-definition packagesRegEx: aRegexStringCollection + self flag: 'why is it on the class side !?!?!?'. collectionOfRegex := aRegexStringCollection \ No newline at end of file diff --git a/SmartTest.package/SmTSpecifyPackagesNameFilter.class/class/packagesRegEx.st b/SmartTest.package/SmTSpecifyPackagesNameFilter.class/class/packagesRegEx.st index a0b12d7..6416b03 100644 --- a/SmartTest.package/SmTSpecifyPackagesNameFilter.class/class/packagesRegEx.st +++ b/SmartTest.package/SmTSpecifyPackagesNameFilter.class/class/packagesRegEx.st @@ -1,3 +1,4 @@ settings-definition packagesRegEx + self flag: 'why is it on the class side !?!?!?'. ^ collectionOfRegex ifNil: [ collectionOfRegex := '' ] \ No newline at end of file diff --git a/SmartTest.package/SmTSpecifyPackagesNameFilter.class/properties.json b/SmartTest.package/SmTSpecifyPackagesNameFilter.class/properties.json index 78ce329..2e789f3 100644 --- a/SmartTest.package/SmTSpecifyPackagesNameFilter.class/properties.json +++ b/SmartTest.package/SmTSpecifyPackagesNameFilter.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "EleonoreWALD 5/2/2018 10:21", + "commentStamp" : "EleonoreWALD 5/3/2018 18:09", "super" : "SmTFilterStrategy", "category" : "SmartTest-Filter", "classinstvars" : [ diff --git a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/availableMethods.st b/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/availableMethods.st index 681ec64..1a3b680 100644 --- a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/availableMethods.st +++ b/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/availableMethods.st @@ -1,4 +1,4 @@ -as yet unclassified +accessing availableMethods "Collect the methods that can be used with the wrapper to fill completely the methodToTest dictionnary" ^ (self availablePackages flatCollect: [ :aPackage | aPackage methods ]) diff --git a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/availablePackages.st b/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/availablePackages.st index 59b883a..9a9bf2c 100644 --- a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/availablePackages.st +++ b/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/availablePackages.st @@ -1,4 +1,4 @@ -as yet unclassified +accessing availablePackages "Collect the packages that can be used with the wrapper to fill completely the methodToTest dictionnary" | availablePackages | diff --git a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/availableTestMethods.st b/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/availableTestMethods.st index e22f094..4f8ede2 100644 --- a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/availableTestMethods.st +++ b/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/availableTestMethods.st @@ -1,4 +1,4 @@ -as yet unclassified +accessing availableTestMethods "Collect the test methods that can be used with the wrapper to fill completely the methodToTest dictionnary" ^ (self availableTestPackages flatCollect: [ :aPackage | aPackage methods ]) reject: [ :method | method methodClass = SmTTestCoverage ] \ No newline at end of file diff --git a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectAllRelativePackages..st b/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectAllRelativePackages..st index bf5670c..4518d8a 100644 --- a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectAllRelativePackages..st +++ b/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectAllRelativePackages..st @@ -1,3 +1,3 @@ -as yet unclassified +search collectAllRelativePackages: aByteString ^ RPackageOrganizer default packages select: [ :a | (self filter extractPackageBaseName: a packageName) = aByteString ] \ No newline at end of file diff --git a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectRelativeTestMethodOfMethods..st b/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectRelativeTestMethodOfMethods..st index 5cf0eca..c66b4c0 100644 --- a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectRelativeTestMethodOfMethods..st +++ b/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectRelativeTestMethodOfMethods..st @@ -1,4 +1,4 @@ -as yet unclassified +search collectRelativeTestMethodOfMethods: methods ^ (self availableTestMethods intersection: diff --git a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/getPackageFromName..st b/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/getPackageFromName..st index 5806b06..ff8adb9 100644 --- a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/getPackageFromName..st +++ b/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/getPackageFromName..st @@ -1,3 +1,3 @@ -as yet unclassified +accessing getPackageFromName: aPackageName ^ RPackage organizer packageNamed: aPackageName. \ No newline at end of file diff --git a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/methodsInSimilarPackageAs..st b/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/methodsInSimilarPackageAs..st index 99e7bf9..2b77ca3 100644 --- a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/methodsInSimilarPackageAs..st +++ b/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/methodsInSimilarPackageAs..st @@ -1,4 +1,4 @@ -as yet unclassified +api methodsInSimilarPackageAs: aCompiledMethod | packageBaseName packages | diff --git a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/testsForClass..st b/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/testsForClass..st index fbe3729..06bed1c 100644 --- a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/testsForClass..st +++ b/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/testsForClass..st @@ -1,4 +1,4 @@ -as yet unclassified +api testsForClass: aClass "Find all tests in related packages that reference the method's class" | allSendersClass allTests | diff --git a/SmartTest.package/SmartFinder.class/README.md b/SmartTest.package/SmartFinder.class/README.md index 2b8f365..03f4122 100644 --- a/SmartTest.package/SmartFinder.class/README.md +++ b/SmartTest.package/SmartFinder.class/README.md @@ -1,13 +1,13 @@ I'm the boss !!! -I contain the instance of all the staff the user need. +I contain the instance of all the stuff the user needs. If you want to specify some strategy -use this way +use it more or less that way (here with the default values) SmartFinder new - cache: self cache new; + cache: self cacheStrategy new; filter: self filter new; - testRunner: self runner; - smtFinder: self finder new; - testingStrategy: self strategy new \ No newline at end of file + testRunner: self testRunner; + smtFinder: self smtFinder new; + testingStrategy: self testingStrategy new \ No newline at end of file diff --git a/SmartTest.package/SmartFinder.class/properties.json b/SmartTest.package/SmartFinder.class/properties.json index e0a5809..eba1da2 100644 --- a/SmartTest.package/SmartFinder.class/properties.json +++ b/SmartTest.package/SmartFinder.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "BenoitVerhaeghe 2/28/2018 22:42", + "commentStamp" : "EleonoreWALD 5/3/2018 17:47", "super" : "Object", "category" : "SmartTest-Core", "classinstvars" : [ ], From 76ed4cf3d5d3b80ad28d92b93f549d86438e3308 Mon Sep 17 00:00:00 2001 From: test Date: Fri, 4 May 2018 15:38:23 +0200 Subject: [PATCH 036/150] Calls to RGMethodDefinition were replaced by calls to the method asRingDefinition BUT it doesn't seems to work with Inherited classes. --- .../testRunningTestMethod1ToBuildCache.st | 4 +- .../testRunningTestMethod2ToBuildCache.st | 16 ++++---- .../testRunningTestMethod5ToBuildCache.st | 8 ++-- .../testRunningTestMethod1ToBuildCache.st | 4 +- .../testRunningTestMethod2ToBuildCache.st | 16 ++++---- .../testRunningTestMethod5ToBuildCache.st | 8 ++-- .../instance/setUp.st | 19 +++++---- .../instance/testModificationOnTest.st | 1 + .../instance/testSetupMethodFindsTests.st | 1 + ...testSetupMethodWithNonSetupFindsNoTests.st | 1 + .../instance/initCache.st | 34 ++++++++-------- .../instance/setUp.st | 2 +- .../testStandardMethodThirdLevelSenders.st | 8 ++-- .../instance/initCache.st | 34 ++++++++-------- .../instance/initCache.st | 39 +++++++++---------- 15 files changed, 99 insertions(+), 96 deletions(-) diff --git a/SmartTest.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod1ToBuildCache.st b/SmartTest.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod1ToBuildCache.st index 93d7537..f33801b 100644 --- a/SmartTest.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod1ToBuildCache.st +++ b/SmartTest.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod1ToBuildCache.st @@ -8,5 +8,5 @@ testRunningTestMethod1ToBuildCache "Not sure about the format of the dictionnary." self - assert: (smartFinder currentCache at: (RGMethodDefinition className: 'SmTClass' selector: #method1 isMetaSide: false)) - equals: {(RGMethodDefinition className: 'SmTClassTest' selector: #testMethod1 isMetaSide: false)} asSet \ No newline at end of file + assert: (smartFinder currentCache at: ((SmTClass >> #method1) asRingDefinition )) + equals: {(SmTClassTest >> #testMethod1) asRingDefinition } asSet \ No newline at end of file diff --git a/SmartTest.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod2ToBuildCache.st b/SmartTest.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod2ToBuildCache.st index 80ab092..1598974 100644 --- a/SmartTest.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod2ToBuildCache.st +++ b/SmartTest.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod2ToBuildCache.st @@ -8,30 +8,30 @@ testRunningTestMethod2ToBuildCache self assert: (smartFinder currentCache - at: (RGMethodDefinition className: 'SmTClass' selector: #method1 isMetaSide: false)) + at: (SmTClass >> #method1 )asRingDefinition) equals: - {(RGMethodDefinition className: 'SmTClassTest' selector: #testMethod2 isMetaSide: false)} + {(SmTClassTest >> #testMethod2 )asRingDefinition} asSet. "Not sure about the format of the dictionnary." self assert: (smartFinder currentCache - at: (RGMethodDefinition className: 'SmTClass' selector: #method2 isMetaSide: false)) + at: (SmTClass >> #method2 )asRingDefinition) equals: - {(RGMethodDefinition className: 'SmTClassTest' selector: #testMethod2 isMetaSide: false)} + {(SmTClassTest >> #testMethod2 )asRingDefinition} asSet. self assert: (smartFinder currentCache - at: (RGMethodDefinition className: 'SmTClass' selector: #method3: isMetaSide: false)) + at: (SmTClass >> #method3: )asRingDefinition) equals: - {(RGMethodDefinition className: 'SmTClassTest' selector: #testMethod2 isMetaSide: false)} + {(SmTClassTest >> #testMethod2 )asRingDefinition} asSet. self assert: (smartFinder currentCache - at: (RGMethodDefinition className: 'SmTClass' selector: #method4 isMetaSide: false)) + at: (SmTClass >> #method4 )asRingDefinition) equals: - {(RGMethodDefinition className: 'SmTClassTest' selector: #testMethod2 isMetaSide: false)} + {(SmTClassTest >> #testMethod2 )asRingDefinition} asSet \ No newline at end of file diff --git a/SmartTest.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod5ToBuildCache.st b/SmartTest.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod5ToBuildCache.st index 93b4b79..6efc77b 100644 --- a/SmartTest.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod5ToBuildCache.st +++ b/SmartTest.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod5ToBuildCache.st @@ -10,8 +10,8 @@ testRunningTestMethod5ToBuildCache self - assert: (smartFinder currentCache at: (RGMethodDefinition className: 'SmTClass2' selector: #initialize isMetaSide: false)) - equals: {(RGMethodDefinition className: 'SmTClassTest' selector: #testMethod5 isMetaSide: false)} asSet. + assert: (smartFinder currentCache at: (SmTClass2 >> #initialize )asRingDefinition) + equals: {(SmTClassTest >> #testMethod5 )asRingDefinition} asSet. self - assert: (smartFinder currentCache at: (RGMethodDefinition className: 'SmTClassTest' selector: #testMethod5 isMetaSide: false)) - equals: {(RGMethodDefinition className: 'SmTClassTest' selector: #testMethod5 isMetaSide: false)} asSet \ No newline at end of file + assert: (smartFinder currentCache at: (SmTClassTest >> #testMethod5 )asRingDefinition) + equals: {(SmTClassTest >> #testMethod5 )asRingDefinition} asSet \ No newline at end of file diff --git a/SmartTest.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod1ToBuildCache.st b/SmartTest.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod1ToBuildCache.st index fb73e33..cfa432d 100644 --- a/SmartTest.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod1ToBuildCache.st +++ b/SmartTest.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod1ToBuildCache.st @@ -9,5 +9,5 @@ testRunningTestMethod1ToBuildCache "Not sure about the format of the dictionnary." self - assert: (smartFinder currentCache at: (RGMethodDefinition className: 'SmTClass' selector: #method1 isMetaSide: false)) - equals: {(RGMethodDefinition className: 'SmTClassTest' selector: #testMethod1 isMetaSide: false)} asSet \ No newline at end of file + assert: (smartFinder currentCache at: (SmTClass >> #method1 ) asRingDefinition) + equals: {(SmTClassTest >> #testMethod1) asRingDefinition} asSet \ No newline at end of file diff --git a/SmartTest.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod2ToBuildCache.st b/SmartTest.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod2ToBuildCache.st index 0c4dd78..e9ad22d 100644 --- a/SmartTest.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod2ToBuildCache.st +++ b/SmartTest.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod2ToBuildCache.st @@ -11,30 +11,30 @@ testRunningTestMethod2ToBuildCache self assert: (smartFinder currentCache - at: (RGMethodDefinition className: 'SmTClass' selector: #method1 isMetaSide: false)) + at: (SmTClass >> #method1) asRingDefinition) equals: - {(RGMethodDefinition className: 'SmTClassTest' selector: #testMethod2 isMetaSide: false)} + {( SmTClassTest >> #testMethod2) asRingDefinition} asSet. "Not sure about the format of the dictionnary." self assert: (smartFinder currentCache - at: (RGMethodDefinition className: 'SmTClass' selector: #method2 isMetaSide: false)) + at: (SmTClass >> #method2 )asRingDefinition) equals: - {(RGMethodDefinition className: 'SmTClassTest' selector: #testMethod2 isMetaSide: false)} + {(SmTClassTest >> #testMethod2) asRingDefinition} asSet. self assert: (smartFinder currentCache - at: (RGMethodDefinition className: 'SmTClass' selector: #method3: isMetaSide: false)) + at: (SmTClass >> #method3: )asRingDefinition) equals: - {(RGMethodDefinition className: 'SmTClassTest' selector: #testMethod2 isMetaSide: false)} + {(SmTClassTest >> #testMethod2 )asRingDefinition} asSet. self assert: (smartFinder currentCache - at: (RGMethodDefinition className: 'SmTClass' selector: #method4 isMetaSide: false)) + at: (SmTClass >> #method4 )asRingDefinition) equals: - {(RGMethodDefinition className: 'SmTClassTest' selector: #testMethod2 isMetaSide: false)} + {(SmTClassTest >> #testMethod2 )asRingDefinition} asSet \ No newline at end of file diff --git a/SmartTest.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod5ToBuildCache.st b/SmartTest.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod5ToBuildCache.st index 69d907b..678ced9 100644 --- a/SmartTest.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod5ToBuildCache.st +++ b/SmartTest.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod5ToBuildCache.st @@ -10,8 +10,8 @@ testRunningTestMethod5ToBuildCache self assert: smartFinder currentCache size equals: 2. self - assert: (smartFinder currentCache at: (RGMethodDefinition className: 'SmTClass2' selector: #initialize isMetaSide: false)) - equals: {(RGMethodDefinition className: 'SmTClassTest' selector: #testMethod5 isMetaSide: false)} asSet. + assert: (smartFinder currentCache at: (SmTClass2 >> #initialize ) asRingDefinition) + equals: {(SmTClassTest >> #testMethod5 )asRingDefinition} asSet. self - assert: (smartFinder currentCache at: (RGMethodDefinition className: 'SmTClassTest' selector: #testMethod5 isMetaSide: false)) - equals: {(RGMethodDefinition className: 'SmTClassTest' selector: #testMethod5 isMetaSide: false)} asSet \ No newline at end of file + assert: (smartFinder currentCache at: (SmTClassTest >> #testMethod5 )asRingDefinition) + equals: {(SmTClassTest >> #testMethod5 )asRingDefinition} asSet \ No newline at end of file diff --git a/SmartTest.package/SmTFinderAbstractTest.class/instance/setUp.st b/SmartTest.package/SmTFinderAbstractTest.class/instance/setUp.st index edcf6ee..49c46f3 100644 --- a/SmartTest.package/SmTFinderAbstractTest.class/instance/setUp.st +++ b/SmartTest.package/SmTFinderAbstractTest.class/instance/setUp.st @@ -1,12 +1,15 @@ -initialization +running setUp smartFinder := SmartFinder new. smartFinder filter: SmTDefaultClassPackagesFilter new. - testMethod1 := RGMethodDefinition className: 'SmTClassTest' selector: #testMethod1 isMetaSide: false. - testMethod2 := RGMethodDefinition className: 'SmTClassTest' selector: #testMethod2 isMetaSide: false. - testMethod3 := RGMethodDefinition className: 'SmTClassTest' selector: #testMethod3 isMetaSide: false. - testMethod4 := RGMethodDefinition className: 'SmTClassTest' selector: #testMethod4 isMetaSide: false. - testMethod5 := RGMethodDefinition className: 'SmTClassTest' selector: #testMethod5 isMetaSide: false. - testInheritedMethod1 := RGMethodDefinition className: 'SmTInheritClassTest' selector: #testMethod1 isMetaSide: false. - testMethodOutSidePackage1 := RGMethodDefinition className: 'SmTClassTest' selector: #testMethodOutSidePackage1 isMetaSide: false. \ No newline at end of file + testMethod1 := (SmTClassTest >> #testMethod1) asRingDefinition. + testMethod2 := (SmTClassTest >> #testMethod2) asRingDefinition. + testMethod3 := (SmTClassTest >> #testMethod3) asRingDefinition. + testMethod4 := (SmTClassTest >> #testMethod4) asRingDefinition. + testMethod5 := (SmTClassTest >> #testMethod5) asRingDefinition. + testInheritedMethod1 := (RGMethodDefinition + className: 'SmTInheritClassTest' + selector: #testMethod1 + isMetaSide: false) . + testMethodOutSidePackage1 := (SmTClassTest >> #testMethodOutSidePackage1) asRingDefinition. diff --git a/SmartTest.package/SmTFinderAbstractTest.class/instance/testModificationOnTest.st b/SmartTest.package/SmTFinderAbstractTest.class/instance/testModificationOnTest.st index 7753743..accd56b 100644 --- a/SmartTest.package/SmTFinderAbstractTest.class/instance/testModificationOnTest.st +++ b/SmartTest.package/SmTFinderAbstractTest.class/instance/testModificationOnTest.st @@ -1,5 +1,6 @@ tests testModificationOnTest +"asserts that if a test method is modified, the tests founds includes itself." | testsFound | testsFound := self searchTestMethodsFor: SmTClassTest >> #testMethod4. diff --git a/SmartTest.package/SmTFinderAbstractTest.class/instance/testSetupMethodFindsTests.st b/SmartTest.package/SmTFinderAbstractTest.class/instance/testSetupMethodFindsTests.st index a9dc383..5a2a133 100644 --- a/SmartTest.package/SmTFinderAbstractTest.class/instance/testSetupMethodFindsTests.st +++ b/SmartTest.package/SmTFinderAbstractTest.class/instance/testSetupMethodFindsTests.st @@ -1,5 +1,6 @@ tests testSetupMethodFindsTests +"asserts that the method SmTClassTest>>setup is related to the testMethods 1 to 4 and that 'testsForASetupMethod' finds all the good tests related to a setup method." | testsFound | testsFound := self testsForASetUpMethod: SmTClassTest >> #setUp. diff --git a/SmartTest.package/SmTFinderAbstractTest.class/instance/testSetupMethodWithNonSetupFindsNoTests.st b/SmartTest.package/SmTFinderAbstractTest.class/instance/testSetupMethodWithNonSetupFindsNoTests.st index 96e2cb7..df8f65a 100644 --- a/SmartTest.package/SmTFinderAbstractTest.class/instance/testSetupMethodWithNonSetupFindsNoTests.st +++ b/SmartTest.package/SmTFinderAbstractTest.class/instance/testSetupMethodWithNonSetupFindsNoTests.st @@ -1,5 +1,6 @@ tests testSetupMethodWithNonSetupFindsNoTests +"asserts that if we use the method 'testsForASetupMethod' with a non setup method as a parameter, the method returns nothing" | testsFound | testsFound := self testsForASetUpMethod: SmTClassTest >> #testMethod1. diff --git a/SmartTest.package/SmTFinderStrategyReflectivityTest.class/instance/initCache.st b/SmartTest.package/SmTFinderStrategyReflectivityTest.class/instance/initCache.st index a60ab82..2b90646 100644 --- a/SmartTest.package/SmTFinderStrategyReflectivityTest.class/instance/initCache.st +++ b/SmartTest.package/SmTFinderStrategyReflectivityTest.class/instance/initCache.st @@ -1,23 +1,23 @@ initialization initCache - ^ {((RGMethodDefinition className: 'SmTClass' selector: #method1 isMetaSide: false) + ^ {((SmTClass >> #method1 )asRingDefinition -> - {(RGMethodDefinition className: 'SmTClassTest' selector: #testMethod1 isMetaSide: false). - (RGMethodDefinition className: 'SmTClassTest' selector: #testMethod2 isMetaSide: false). + {(SmTClassTest >> #testMethod1 )asRingDefinition. + (SmTClassTest >> #testMethod2 )asRingDefinition. (RGMethodDefinition className: 'SmTInheritClassTest' selector: #testMethod1 isMetaSide: false)} asSet). - ((RGMethodDefinition className: 'SmTClass' selector: #method2 isMetaSide: false) - -> {(RGMethodDefinition className: 'SmTClassTest' selector: #testMethod2 isMetaSide: false)} asSet). - ((RGMethodDefinition className: 'SmTClass' selector: #method3: isMetaSide: false) + ((SmTClass >> #method2 )asRingDefinition + -> {(SmTClassTest >> #testMethod2 )asRingDefinition} asSet). + ((SmTClass >> #method3: )asRingDefinition -> - {(RGMethodDefinition className: 'SmTClassTest' selector: #testMethod1 isMetaSide: false). - (RGMethodDefinition className: 'SmTClassTest' selector: #testMethod2 isMetaSide: false). - (RGMethodDefinition className: 'SmTClassTest' selector: #testMethod3 isMetaSide: false)} asSet). - ((RGMethodDefinition className: 'SmTClass' selector: #method4 isMetaSide: false) + {(SmTClassTest >> #testMethod1 )asRingDefinition. + (SmTClassTest >> #testMethod2 )asRingDefinition. + (SmTClassTest >> #testMethod3 )asRingDefinition} asSet). + ((SmTClass >> #method4 )asRingDefinition -> - {(RGMethodDefinition className: 'SmTClassTest' selector: #testMethod2 isMetaSide: false). - (RGMethodDefinition className: 'SmTClassTest' selector: #testMethod3 isMetaSide: false). - (RGMethodDefinition className: 'SmTClassTest' selector: #testMethod4 isMetaSide: false)} asSet). - ((RGMethodDefinition className: 'SmTClass2' selector: #initialize isMetaSide: false) - -> {(RGMethodDefinition className: 'SmTClassTest' selector: #testMethod5 isMetaSide: false)} asSet). - ((RGMethodDefinition className: 'SmTClassTest' selector: #testMethod4 isMetaSide: false) - -> {(RGMethodDefinition className: 'SmTClassTest' selector: #testMethod4 isMetaSide: false)} asSet)} asDictionary \ No newline at end of file + {(SmTClassTest >> #testMethod2 )asRingDefinition. + (SmTClassTest >> #testMethod3 )asRingDefinition. + (SmTClassTest >> #testMethod4 )asRingDefinition} asSet). + ((SmTClass2 >> #initialize )asRingDefinition + -> {(SmTClassTest >> #testMethod5 )asRingDefinition} asSet). + ((SmTClassTest >> #testMethod4 )asRingDefinition + -> {(SmTClassTest >> #testMethod4 )asRingDefinition} asSet)} asDictionary \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/setUp.st b/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/setUp.st index d5755c5..f03d7f8 100644 --- a/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/setUp.st +++ b/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/setUp.st @@ -1,5 +1,5 @@ initialization setUp super setUp. - self timeLimit: 15 seconds. + self timeLimit: 60 seconds. smartFinder filter: (SmTSpecifyPackagesNameFilter packagesRegEx: 'SmartTest-Tests-Data') new \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/testStandardMethodThirdLevelSenders.st b/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/testStandardMethodThirdLevelSenders.st index a22bcb6..469f42d 100644 --- a/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/testStandardMethodThirdLevelSenders.st +++ b/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/testStandardMethodThirdLevelSenders.st @@ -4,7 +4,7 @@ testStandardMethodThirdLevelSenders | testsFound | testsFound := self searchTestMethodsFor: SmTClass >> #method4. self assert: testsFound size equals: 3. - self deny: (testsFound includes: (RGMethodDefinition className: 'SmTClassTest' selector: #testMethod1 isMetaSide: false )). - self assert: (testsFound includes: (RGMethodDefinition className: 'SmTClassTest' selector: #testMethod2 isMetaSide: false )). - self assert: (testsFound includes: (RGMethodDefinition className: 'SmTClassTest' selector: #testMethod3 isMetaSide: false )). - self assert: (testsFound includes: (RGMethodDefinition className: 'SmTClassTest' selector: #testMethod4 isMetaSide: false )). \ No newline at end of file + self deny: (testsFound includes: (SmTClassTest >> #testMethod1 )asRingDefinition). + self assert: (testsFound includes: (SmTClassTest >> #testMethod2 )asRingDefinition). + self assert: (testsFound includes: (SmTClassTest >> #testMethod3 )asRingDefinition). + self assert: (testsFound includes: (SmTClassTest >> #testMethod4 )asRingDefinition). \ No newline at end of file diff --git a/SmartTest.package/SmTTestCoverageFinderTest.class/instance/initCache.st b/SmartTest.package/SmTTestCoverageFinderTest.class/instance/initCache.st index a452c98..df5b0a2 100644 --- a/SmartTest.package/SmTTestCoverageFinderTest.class/instance/initCache.st +++ b/SmartTest.package/SmTTestCoverageFinderTest.class/instance/initCache.st @@ -1,23 +1,23 @@ helpers initCache - ^ {((RGMethodDefinition className: 'SmTClass' selector: #method1 isMetaSide: false) + ^ {((SmTClass >> #method1 )asRingDefinition -> - {(RGMethodDefinition className: 'SmTClassTest' selector: #testMethod1 isMetaSide: false). - (RGMethodDefinition className: 'SmTClassTest' selector: #testMethod2 isMetaSide: false). + {(SmTClassTest >> #testMethod1 )asRingDefinition. + (SmTClassTest >> #testMethod2 )asRingDefinition. (RGMethodDefinition className: 'SmTInheritClassTest' selector: #testMethod1 isMetaSide: false)} asSet). - ((RGMethodDefinition className: 'SmTClass' selector: #method2 isMetaSide: false) - -> {(RGMethodDefinition className: 'SmTClassTest' selector: #testMethod2 isMetaSide: false)} asSet). - ((RGMethodDefinition className: 'SmTClass' selector: #method3: isMetaSide: false) + ((SmTClass >> #method2 )asRingDefinition + -> {(SmTClassTest >> #testMethod2 )asRingDefinition} asSet). + ((SmTClass >> #method3: )asRingDefinition -> - {(RGMethodDefinition className: 'SmTClassTest' selector: #testMethod1 isMetaSide: false). - (RGMethodDefinition className: 'SmTClassTest' selector: #testMethod2 isMetaSide: false). - (RGMethodDefinition className: 'SmTClassTest' selector: #testMethod3 isMetaSide: false)} asSet). - ((RGMethodDefinition className: 'SmTClass' selector: #method4 isMetaSide: false) + {(SmTClassTest >> #testMethod1 )asRingDefinition. + (SmTClassTest >> #testMethod2 )asRingDefinition. + (SmTClassTest >> #testMethod3 )asRingDefinition} asSet). + ((SmTClass >> #method4 )asRingDefinition -> - {(RGMethodDefinition className: 'SmTClassTest' selector: #testMethod2 isMetaSide: false). - (RGMethodDefinition className: 'SmTClassTest' selector: #testMethod3 isMetaSide: false). - (RGMethodDefinition className: 'SmTClassTest' selector: #testMethod4 isMetaSide: false)} asSet). - ((RGMethodDefinition className: 'SmTClass2' selector: #initialize isMetaSide: false) - -> {(RGMethodDefinition className: 'SmTClassTest' selector: #testMethod5 isMetaSide: false)} asSet). - ((RGMethodDefinition className: 'SmTClassTest' selector: #testMethod4 isMetaSide: false) - -> {(RGMethodDefinition className: 'SmTClassTest' selector: #testMethod4 isMetaSide: false)} asSet)} asDictionary \ No newline at end of file + {(SmTClassTest >> #testMethod2 )asRingDefinition. + (SmTClassTest >> #testMethod3 )asRingDefinition. + (SmTClassTest >> #testMethod4 )asRingDefinition} asSet). + ((SmTClass2 >> #initialize )asRingDefinition + -> {(SmTClassTest >> #testMethod5 )asRingDefinition} asSet). + ((SmTClassTest >> #testMethod4 )asRingDefinition + -> {(SmTClassTest >> #testMethod4 )asRingDefinition} asSet)} asDictionary \ No newline at end of file diff --git a/SmartTest.package/SmartFinderTest.class/instance/initCache.st b/SmartTest.package/SmartFinderTest.class/instance/initCache.st index 766830e..01f8719 100644 --- a/SmartTest.package/SmartFinderTest.class/instance/initCache.st +++ b/SmartTest.package/SmartFinderTest.class/instance/initCache.st @@ -1,34 +1,31 @@ initialization initCache - ^ {((RGMethodDefinition className: 'SmTClass' selector: #method1 isMetaSide: false) + ^ {((SmTClass >> #method1 )asRingDefinition -> - {(RGMethodDefinition className: 'SmTClassTest' selector: #testMethod1 isMetaSide: false). - (RGMethodDefinition className: 'SmTClassTest' selector: #testMethod2 isMetaSide: false). - (RGMethodDefinition - className: 'SmTInheritClassTest' - selector: #testMethod1 - isMetaSide: false)} asSet). - ((RGMethodDefinition className: 'SmTClass' selector: #method2 isMetaSide: false) + {(SmTClassTest >> #testMethod1 )asRingDefinition. + (SmTClassTest >> #testMethod2 )asRingDefinition. + (RGMethodDefinition className: 'SmTInheritClassTest' selector: #testMethod1 isMetaSide: false)} asSet). + ((SmTClass >> #method2 )asRingDefinition -> - {(RGMethodDefinition className: 'SmTClassTest' selector: #testMethod2 isMetaSide: false)} + {(SmTClassTest >> #testMethod2 )asRingDefinition} asSet). - ((RGMethodDefinition className: 'SmTClass' selector: #method3: isMetaSide: false) + ((SmTClass >> #method3: )asRingDefinition -> - {(RGMethodDefinition className: 'SmTClassTest' selector: #testMethod1 isMetaSide: false). - (RGMethodDefinition className: 'SmTClassTest' selector: #testMethod2 isMetaSide: false). - (RGMethodDefinition className: 'SmTClassTest' selector: #testMethod3 isMetaSide: false)} + {(SmTClassTest >> #testMethod1 )asRingDefinition. + (SmTClassTest >> #testMethod2 )asRingDefinition. + (SmTClassTest >> #testMethod3 )asRingDefinition} asSet). - ((RGMethodDefinition className: 'SmTClass' selector: #method4 isMetaSide: false) + ((SmTClass >> #method4 )asRingDefinition -> - {(RGMethodDefinition className: 'SmTClassTest' selector: #testMethod2 isMetaSide: false). - (RGMethodDefinition className: 'SmTClassTest' selector: #testMethod3 isMetaSide: false). - (RGMethodDefinition className: 'SmTClassTest' selector: #testMethod4 isMetaSide: false)} + {(SmTClassTest >> #testMethod2 )asRingDefinition. + (SmTClassTest >> #testMethod3 )asRingDefinition. + (SmTClassTest >> #testMethod4 )asRingDefinition} asSet). - ((RGMethodDefinition className: 'SmTClass2' selector: #initialize isMetaSide: false) + ((SmTClass2 >> #initialize )asRingDefinition -> - {(RGMethodDefinition className: 'SmTClassTest' selector: #testMethod5 isMetaSide: false)} + {(SmTClassTest >> #testMethod5 )asRingDefinition} asSet). - ((RGMethodDefinition className: 'SmTClassTest' selector: #testMethod4 isMetaSide: false) + ((SmTClassTest >> #testMethod4 )asRingDefinition -> - {(RGMethodDefinition className: 'SmTClassTest' selector: #testMethod4 isMetaSide: false)} + {(SmTClassTest >> #testMethod4 )asRingDefinition} asSet)} asDictionary \ No newline at end of file From 69760ed10812e202216524777655f49bed35763f Mon Sep 17 00:00:00 2001 From: test Date: Fri, 4 May 2018 17:00:59 +0200 Subject: [PATCH 037/150] Renaming of a method and of a instance variable --- .../SmTClassTest.class/instance/testMethodOutSidePackage1.st | 4 ++-- .../SmTFinderAbstractTest.class/instance/setUp.st | 2 +- .../testStandardMethodFirstLevelSendersOutsidePackage.st | 2 +- SmartTest.package/SmTFinderAbstractTest.class/properties.json | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/SmartTest.package/SmTClassTest.class/instance/testMethodOutSidePackage1.st b/SmartTest.package/SmTClassTest.class/instance/testMethodOutSidePackage1.st index 0d9b84c..cdf429d 100644 --- a/SmartTest.package/SmTClassTest.class/instance/testMethodOutSidePackage1.st +++ b/SmartTest.package/SmTClassTest.class/instance/testMethodOutSidePackage1.st @@ -1,5 +1,5 @@ test data -testMethodOutSidePackage1 +testMethodOutsidePackage1 "this is data for SmTFinderAbstractTest tests" - ^ SmTClassOutside new method1 + "^ SmTClassOutside new method2 " \ No newline at end of file diff --git a/SmartTest.package/SmTFinderAbstractTest.class/instance/setUp.st b/SmartTest.package/SmTFinderAbstractTest.class/instance/setUp.st index 49c46f3..27963f8 100644 --- a/SmartTest.package/SmTFinderAbstractTest.class/instance/setUp.st +++ b/SmartTest.package/SmTFinderAbstractTest.class/instance/setUp.st @@ -12,4 +12,4 @@ setUp className: 'SmTInheritClassTest' selector: #testMethod1 isMetaSide: false) . - testMethodOutSidePackage1 := (SmTClassTest >> #testMethodOutSidePackage1) asRingDefinition. + testMethodOutsidePackage1 := (SmTClassTest >> #testMethodOutsidePackage1) asRingDefinition. diff --git a/SmartTest.package/SmTFinderAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st b/SmartTest.package/SmTFinderAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st index fe43c4f..cab7dca 100644 --- a/SmartTest.package/SmTFinderAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st +++ b/SmartTest.package/SmTFinderAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st @@ -8,4 +8,4 @@ testStandardMethodFirstLevelSendersOutsidePackage self assert: (testsFound includes: testMethod2). self deny: (testsFound includes: testMethod3). self deny: (testsFound includes: testMethod4). - self deny: (testsFound includes: testMethodOutSidePackage1) \ No newline at end of file + self deny: (testsFound includes: testMethodOutsidePackage1) \ No newline at end of file diff --git a/SmartTest.package/SmTFinderAbstractTest.class/properties.json b/SmartTest.package/SmTFinderAbstractTest.class/properties.json index 66eaa8e..f76e569 100644 --- a/SmartTest.package/SmTFinderAbstractTest.class/properties.json +++ b/SmartTest.package/SmTFinderAbstractTest.class/properties.json @@ -14,7 +14,7 @@ "testMethod4", "testMethod5", "testInheritedMethod1", - "testMethodOutSidePackage1" + "testMethodOutsidePackage1" ], "name" : "SmTFinderAbstractTest", "type" : "normal" From 24becf73d56101bf8f4fca472a0b39b7094d4f9c Mon Sep 17 00:00:00 2001 From: test Date: Fri, 11 May 2018 10:47:31 +0200 Subject: [PATCH 038/150] Small changes: - The filter "SmTNullPackagesFilter" was renamed to "SmTNoFilter" - Some methods classification were corrected --- .../instance/at.ifPresent.ifAbsent..st | 2 +- .../SmTCacheStrategy.class/instance/currentCache.st | 2 +- .../SmTFilterAbstractTest.class/README.md | 1 + .../instance/searchTestMethodsFor..st | 4 ++++ .../SmTFilterAbstractTest.class/instance/setUp.st | 4 ++++ .../SmTFilterAbstractTest.class/properties.json | 13 +++++++++++++ .../SmTFinderAbstractTest.class/instance/setUp.st | 4 +++- ...StandardMethodFirstLevelSendersOutsidePackage.st | 2 +- ...tandardMethodFirstLevelSendersOutsidePackage2.st | 6 +++--- .../SmTFinderAbstractTest.class/properties.json | 3 ++- .../instance/initCache.st | 4 +++- .../instance/setUp.st | 2 +- .../instance/at.ifPresent.ifAbsent..st | 2 +- .../instance/currentCache.st | 2 +- .../README.md | 0 .../instance/shouldEntityBeFiltered..st | 0 .../properties.json | 2 +- .../SmTOnModificationTest.class/instance/testAdd.st | 3 ++- .../README.md | 0 .../instance/setUp.st | 2 +- .../testStandardMethodSecondLevelSenders.st | 2 +- .../testStandardMethodWithSomeOutsidePackage.st | 8 ++++++++ .../properties.json | 2 +- .../instance/setUp.st | 2 +- .../instance/testStandardMethodFirstLevelSenders.st | 2 +- ...tandardMethodFirstLevelSendersOutsidePackage2.st | 6 ++++++ .../testStandardMethodSecondLevelSenders.st | 2 +- .../instance/testStandardMethodThirdLevelSenders.st | 2 +- .../README.md | 4 +++- .../instance/setUp.st | 2 +- .../properties.json | 2 +- .../instance/initCache.st | 6 ++++-- .../instance/setUp.st | 2 +- .../instance/testModificationOnTest.st | 2 +- .../instance/testTestSelfSelected.st | 2 +- .../SmartFinderTest.class/instance/setUp.st | 2 +- 36 files changed, 76 insertions(+), 30 deletions(-) create mode 100644 SmartTest.package/SmTFilterAbstractTest.class/README.md create mode 100644 SmartTest.package/SmTFilterAbstractTest.class/instance/searchTestMethodsFor..st create mode 100644 SmartTest.package/SmTFilterAbstractTest.class/instance/setUp.st create mode 100644 SmartTest.package/SmTFilterAbstractTest.class/properties.json rename SmartTest.package/{SmTNullPackagesFilter.class => SmTNoFilter.class}/README.md (100%) rename SmartTest.package/{SmTNullPackagesFilter.class => SmTNoFilter.class}/instance/shouldEntityBeFiltered..st (100%) rename SmartTest.package/{SmTNullPackagesFilter.class => SmTNoFilter.class}/properties.json (86%) rename SmartTest.package/{SmTSendersFinderTest.class => SmTSendersFinderTestDefaultClassPackage.class}/README.md (100%) rename SmartTest.package/{SmTSendersFinderTest.class => SmTSendersFinderTestDefaultClassPackage.class}/instance/setUp.st (82%) rename SmartTest.package/{SmTSendersFinderTest.class => SmTSendersFinderTestDefaultClassPackage.class}/instance/testStandardMethodSecondLevelSenders.st (95%) create mode 100644 SmartTest.package/SmTSendersFinderTestDefaultClassPackage.class/instance/testStandardMethodWithSomeOutsidePackage.st rename SmartTest.package/{SmTSendersFinderTest.class => SmTSendersFinderTestDefaultClassPackage.class}/properties.json (80%) create mode 100644 SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackage2.st diff --git a/SmartTest.package/SmTBasicCacheStrategy.class/instance/at.ifPresent.ifAbsent..st b/SmartTest.package/SmTBasicCacheStrategy.class/instance/at.ifPresent.ifAbsent..st index c1cf8a8..fa552e4 100644 --- a/SmartTest.package/SmTBasicCacheStrategy.class/instance/at.ifPresent.ifAbsent..st +++ b/SmartTest.package/SmTBasicCacheStrategy.class/instance/at.ifPresent.ifAbsent..st @@ -1,3 +1,3 @@ -private +accessing at: key ifPresent: aPresentBlock ifAbsent: anAbsentBlock ^ self currentCache at: key ifPresent: aPresentBlock ifAbsent: anAbsentBlock \ No newline at end of file diff --git a/SmartTest.package/SmTCacheStrategy.class/instance/currentCache.st b/SmartTest.package/SmTCacheStrategy.class/instance/currentCache.st index 098c490..708ad09 100644 --- a/SmartTest.package/SmTCacheStrategy.class/instance/currentCache.st +++ b/SmartTest.package/SmTCacheStrategy.class/instance/currentCache.st @@ -1,3 +1,3 @@ -private +accessing currentCache self subclassResponsibility \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/README.md b/SmartTest.package/SmTFilterAbstractTest.class/README.md new file mode 100644 index 0000000..df034c6 --- /dev/null +++ b/SmartTest.package/SmTFilterAbstractTest.class/README.md @@ -0,0 +1 @@ +I test the strategy SendersFinder with different filters. \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/searchTestMethodsFor..st b/SmartTest.package/SmTFilterAbstractTest.class/instance/searchTestMethodsFor..st new file mode 100644 index 0000000..509300c --- /dev/null +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/searchTestMethodsFor..st @@ -0,0 +1,4 @@ +helpers +searchTestMethodsFor: aCompiledMethod + + ^ smartFinder resarchTestsForMethod: aCompiledMethod . \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/setUp.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/setUp.st new file mode 100644 index 0000000..b636fa3 --- /dev/null +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/setUp.st @@ -0,0 +1,4 @@ +running +setUp + smartFinder := SmartFinder new. + smartFinder filter: SmTDefaultClassPackagesFilter new. \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/properties.json b/SmartTest.package/SmTFilterAbstractTest.class/properties.json new file mode 100644 index 0000000..94d9af8 --- /dev/null +++ b/SmartTest.package/SmTFilterAbstractTest.class/properties.json @@ -0,0 +1,13 @@ +{ + "commentStamp" : "EleonoreWALD 5/9/2018 16:06", + "super" : "TestCase", + "category" : "SmartTest-Tests", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ + "smartFinder" + ], + "name" : "SmTFilterAbstractTest", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTest.package/SmTFinderAbstractTest.class/instance/setUp.st b/SmartTest.package/SmTFinderAbstractTest.class/instance/setUp.st index 27963f8..a81c4a1 100644 --- a/SmartTest.package/SmTFinderAbstractTest.class/instance/setUp.st +++ b/SmartTest.package/SmTFinderAbstractTest.class/instance/setUp.st @@ -8,8 +8,10 @@ setUp testMethod3 := (SmTClassTest >> #testMethod3) asRingDefinition. testMethod4 := (SmTClassTest >> #testMethod4) asRingDefinition. testMethod5 := (SmTClassTest >> #testMethod5) asRingDefinition. + testInheritedMethod1 := (RGMethodDefinition className: 'SmTInheritClassTest' selector: #testMethod1 isMetaSide: false) . - testMethodOutsidePackage1 := (SmTClassTest >> #testMethodOutsidePackage1) asRingDefinition. + testMethodOutsidePackage1 := (SmTClassOutsideTest >> #testMethodOutsidePackage1) asRingDefinition. + testMethod1OutsidePackage := (SmTClassOutsideTest >> #testMethod1OutsidePackage) asRingDefinition. diff --git a/SmartTest.package/SmTFinderAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st b/SmartTest.package/SmTFinderAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st index cab7dca..23aa1fd 100644 --- a/SmartTest.package/SmTFinderAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st +++ b/SmartTest.package/SmTFinderAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st @@ -1,4 +1,4 @@ -tests +test-filter testStandardMethodFirstLevelSendersOutsidePackage | testsFound | diff --git a/SmartTest.package/SmTFinderAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackage2.st b/SmartTest.package/SmTFinderAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackage2.st index 171e3ee..59edaa7 100644 --- a/SmartTest.package/SmTFinderAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackage2.st +++ b/SmartTest.package/SmTFinderAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackage2.st @@ -1,10 +1,10 @@ -tests +test-filter testStandardMethodFirstLevelSendersOutsidePackage2 | testsFound | - testsFound := self searchTestMethodsFor: SmTClassOutside >> #method2. + testsFound := self searchTestMethodsFor: (SmTClassOutside >> #method2). self deny: (testsFound includes: testMethod1). self deny: (testsFound includes: testMethod2). self deny: (testsFound includes: testMethod3). self deny: (testsFound includes: testMethod4). - self assert: (testsFound includes: testMethodOutSidePackage1) \ No newline at end of file + self assert: (testsFound includes: testMethodOutsidePackage1) \ No newline at end of file diff --git a/SmartTest.package/SmTFinderAbstractTest.class/properties.json b/SmartTest.package/SmTFinderAbstractTest.class/properties.json index f76e569..3ecf973 100644 --- a/SmartTest.package/SmTFinderAbstractTest.class/properties.json +++ b/SmartTest.package/SmTFinderAbstractTest.class/properties.json @@ -14,7 +14,8 @@ "testMethod4", "testMethod5", "testInheritedMethod1", - "testMethodOutsidePackage1" + "testMethodOutsidePackage1", + "testMethod1OutsidePackage" ], "name" : "SmTFinderAbstractTest", "type" : "normal" diff --git a/SmartTest.package/SmTFinderStrategyReflectivityTest.class/instance/initCache.st b/SmartTest.package/SmTFinderStrategyReflectivityTest.class/instance/initCache.st index 2b90646..b3b66a6 100644 --- a/SmartTest.package/SmTFinderStrategyReflectivityTest.class/instance/initCache.st +++ b/SmartTest.package/SmTFinderStrategyReflectivityTest.class/instance/initCache.st @@ -20,4 +20,6 @@ initCache ((SmTClass2 >> #initialize )asRingDefinition -> {(SmTClassTest >> #testMethod5 )asRingDefinition} asSet). ((SmTClassTest >> #testMethod4 )asRingDefinition - -> {(SmTClassTest >> #testMethod4 )asRingDefinition} asSet)} asDictionary \ No newline at end of file + -> {(SmTClassTest >> #testMethod4 )asRingDefinition} asSet). + ((SmTClassOutside >> #method2 )asRingDefinition + -> {(SmTClassOutsideTest >> #testMethodOutsidePackage1 ) asRingDefinition.} asSet).} asDictionary \ No newline at end of file diff --git a/SmartTest.package/SmTFinderStrategyReflectivityTest.class/instance/setUp.st b/SmartTest.package/SmTFinderStrategyReflectivityTest.class/instance/setUp.st index d2a284a..3c72a61 100644 --- a/SmartTest.package/SmTFinderStrategyReflectivityTest.class/instance/setUp.st +++ b/SmartTest.package/SmTFinderStrategyReflectivityTest.class/instance/setUp.st @@ -1,4 +1,4 @@ -initialization +running setUp "fill in the cache" diff --git a/SmartTest.package/SmTNoCacheStrategy.class/instance/at.ifPresent.ifAbsent..st b/SmartTest.package/SmTNoCacheStrategy.class/instance/at.ifPresent.ifAbsent..st index ef2242f..1790837 100644 --- a/SmartTest.package/SmTNoCacheStrategy.class/instance/at.ifPresent.ifAbsent..st +++ b/SmartTest.package/SmTNoCacheStrategy.class/instance/at.ifPresent.ifAbsent..st @@ -1,3 +1,3 @@ -private +accessing at: key ifPresent: aPresentBlock ifAbsent: anAbsentBlock ^ anAbsentBlock value \ No newline at end of file diff --git a/SmartTest.package/SmTNoCacheStrategy.class/instance/currentCache.st b/SmartTest.package/SmTNoCacheStrategy.class/instance/currentCache.st index c4c9343..dc9533e 100644 --- a/SmartTest.package/SmTNoCacheStrategy.class/instance/currentCache.st +++ b/SmartTest.package/SmTNoCacheStrategy.class/instance/currentCache.st @@ -1,3 +1,3 @@ -private +accessing currentCache ^ Dictionary new \ No newline at end of file diff --git a/SmartTest.package/SmTNullPackagesFilter.class/README.md b/SmartTest.package/SmTNoFilter.class/README.md similarity index 100% rename from SmartTest.package/SmTNullPackagesFilter.class/README.md rename to SmartTest.package/SmTNoFilter.class/README.md diff --git a/SmartTest.package/SmTNullPackagesFilter.class/instance/shouldEntityBeFiltered..st b/SmartTest.package/SmTNoFilter.class/instance/shouldEntityBeFiltered..st similarity index 100% rename from SmartTest.package/SmTNullPackagesFilter.class/instance/shouldEntityBeFiltered..st rename to SmartTest.package/SmTNoFilter.class/instance/shouldEntityBeFiltered..st diff --git a/SmartTest.package/SmTNullPackagesFilter.class/properties.json b/SmartTest.package/SmTNoFilter.class/properties.json similarity index 86% rename from SmartTest.package/SmTNullPackagesFilter.class/properties.json rename to SmartTest.package/SmTNoFilter.class/properties.json index 19849ad..c2bbcf0 100644 --- a/SmartTest.package/SmTNullPackagesFilter.class/properties.json +++ b/SmartTest.package/SmTNoFilter.class/properties.json @@ -6,6 +6,6 @@ "pools" : [ ], "classvars" : [ ], "instvars" : [ ], - "name" : "SmTNullPackagesFilter", + "name" : "SmTNoFilter", "type" : "normal" } \ No newline at end of file diff --git a/SmartTest.package/SmTOnModificationTest.class/instance/testAdd.st b/SmartTest.package/SmTOnModificationTest.class/instance/testAdd.st index f95876a..b8bffec 100644 --- a/SmartTest.package/SmTOnModificationTest.class/instance/testAdd.st +++ b/SmartTest.package/SmTOnModificationTest.class/instance/testAdd.st @@ -6,4 +6,5 @@ testAdd el := (SmTRunnerTest>>#noop). onModif add: el. self assert: onModif bag size equals: 1. - self assert:( onModif bag includes: el) \ No newline at end of file + self assert:( onModif bag includes: el) + \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFinderTest.class/README.md b/SmartTest.package/SmTSendersFinderTestDefaultClassPackage.class/README.md similarity index 100% rename from SmartTest.package/SmTSendersFinderTest.class/README.md rename to SmartTest.package/SmTSendersFinderTestDefaultClassPackage.class/README.md diff --git a/SmartTest.package/SmTSendersFinderTest.class/instance/setUp.st b/SmartTest.package/SmTSendersFinderTestDefaultClassPackage.class/instance/setUp.st similarity index 82% rename from SmartTest.package/SmTSendersFinderTest.class/instance/setUp.st rename to SmartTest.package/SmTSendersFinderTestDefaultClassPackage.class/instance/setUp.st index 945d9ab..9fb6fe2 100644 --- a/SmartTest.package/SmTSendersFinderTest.class/instance/setUp.st +++ b/SmartTest.package/SmTSendersFinderTestDefaultClassPackage.class/instance/setUp.st @@ -1,4 +1,4 @@ -initialization +running setUp super setUp. self timeLimit: 15 seconds. diff --git a/SmartTest.package/SmTSendersFinderTest.class/instance/testStandardMethodSecondLevelSenders.st b/SmartTest.package/SmTSendersFinderTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSenders.st similarity index 95% rename from SmartTest.package/SmTSendersFinderTest.class/instance/testStandardMethodSecondLevelSenders.st rename to SmartTest.package/SmTSendersFinderTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSenders.st index 3039fef..61f9cfb 100644 --- a/SmartTest.package/SmTSendersFinderTest.class/instance/testStandardMethodSecondLevelSenders.st +++ b/SmartTest.package/SmTSendersFinderTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSenders.st @@ -1,4 +1,4 @@ -initialization +tests testStandardMethodSecondLevelSenders | testsFound | diff --git a/SmartTest.package/SmTSendersFinderTestDefaultClassPackage.class/instance/testStandardMethodWithSomeOutsidePackage.st b/SmartTest.package/SmTSendersFinderTestDefaultClassPackage.class/instance/testStandardMethodWithSomeOutsidePackage.st new file mode 100644 index 0000000..82c7668 --- /dev/null +++ b/SmartTest.package/SmTSendersFinderTestDefaultClassPackage.class/instance/testStandardMethodWithSomeOutsidePackage.st @@ -0,0 +1,8 @@ +tests +testStandardMethodWithSomeOutsidePackage + + | testsFound | + testsFound := self searchTestMethodsFor: SmTClass >> #method1. + + self assert: (testsFound includes: testMethod1). + self deny: (testsFound includes: testMethod1OutsidePackage ). \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFinderTest.class/properties.json b/SmartTest.package/SmTSendersFinderTestDefaultClassPackage.class/properties.json similarity index 80% rename from SmartTest.package/SmTSendersFinderTest.class/properties.json rename to SmartTest.package/SmTSendersFinderTestDefaultClassPackage.class/properties.json index 859ef9f..b654d1c 100644 --- a/SmartTest.package/SmTSendersFinderTest.class/properties.json +++ b/SmartTest.package/SmTSendersFinderTestDefaultClassPackage.class/properties.json @@ -6,6 +6,6 @@ "pools" : [ ], "classvars" : [ ], "instvars" : [ ], - "name" : "SmTSendersFinderTest", + "name" : "SmTSendersFinderTestDefaultClassPackage", "type" : "normal" } \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/setUp.st b/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/setUp.st index f03d7f8..3c78dec 100644 --- a/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/setUp.st +++ b/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/setUp.st @@ -1,4 +1,4 @@ -initialization +running setUp super setUp. self timeLimit: 60 seconds. diff --git a/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/testStandardMethodFirstLevelSenders.st b/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/testStandardMethodFirstLevelSenders.st index 1e56e1d..6264dc1 100644 --- a/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/testStandardMethodFirstLevelSenders.st +++ b/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/testStandardMethodFirstLevelSenders.st @@ -1,4 +1,4 @@ -initialization +tests testStandardMethodFirstLevelSenders "In class, the research is limited to the SmartTest-Tests-Data package and is static. So the assertions are different. There should be only one test found that call the method2 message" diff --git a/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackage2.st b/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackage2.st new file mode 100644 index 0000000..cae1a64 --- /dev/null +++ b/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackage2.st @@ -0,0 +1,6 @@ +tests +testStandardMethodFirstLevelSendersOutsidePackage2 + + | testsFound | + testsFound := self searchTestMethodsFor: (SmTClassOutside >> #method2). + self assert: testsFound isEmpty. \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/testStandardMethodSecondLevelSenders.st b/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/testStandardMethodSecondLevelSenders.st index 4f4206b..068b5b5 100644 --- a/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/testStandardMethodSecondLevelSenders.st +++ b/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/testStandardMethodSecondLevelSenders.st @@ -1,4 +1,4 @@ -initialization +tests testStandardMethodSecondLevelSenders "In class, the research is limited to the SmartTest-Tests-Data package and is static. So the assertions are different. There should be only one test found that call the method2 message" "Here the test founds should not include the test 'testInheritedMethod1' because diff --git a/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/testStandardMethodThirdLevelSenders.st b/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/testStandardMethodThirdLevelSenders.st index 469f42d..c941ec5 100644 --- a/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/testStandardMethodThirdLevelSenders.st +++ b/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/testStandardMethodThirdLevelSenders.st @@ -1,4 +1,4 @@ -initialization +tests testStandardMethodThirdLevelSenders | testsFound | diff --git a/SmartTest.package/SmTSendersFinderTestWithoutCache.class/README.md b/SmartTest.package/SmTSendersFinderTestWithoutCache.class/README.md index 79ea78c..a12902a 100644 --- a/SmartTest.package/SmTSendersFinderTestWithoutCache.class/README.md +++ b/SmartTest.package/SmTSendersFinderTestWithoutCache.class/README.md @@ -1 +1,3 @@ -In this class, the research is limited to the SmartTest-Tests-Data package, the research is static (it is using teh SenderStrategy finder) and no cache is used. \ No newline at end of file +In this class, the research is limited to the SmartTest-Tests-Data package, the research is static (it is using the SenderStrategy finder) and no cache is used. + +This comment is false, the research is not limited to SmartTest-Tests-Data package ! Should we change the comment or the tests ?? \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFinderTestWithoutCache.class/instance/setUp.st b/SmartTest.package/SmTSendersFinderTestWithoutCache.class/instance/setUp.st index 337196a..fc7c03a 100644 --- a/SmartTest.package/SmTSendersFinderTestWithoutCache.class/instance/setUp.st +++ b/SmartTest.package/SmTSendersFinderTestWithoutCache.class/instance/setUp.st @@ -1,4 +1,4 @@ -initialization +running setUp super setUp. self timeLimit: 15 seconds. diff --git a/SmartTest.package/SmTSendersFinderTestWithoutCache.class/properties.json b/SmartTest.package/SmTSendersFinderTestWithoutCache.class/properties.json index a9b29b2..746f619 100644 --- a/SmartTest.package/SmTSendersFinderTestWithoutCache.class/properties.json +++ b/SmartTest.package/SmTSendersFinderTestWithoutCache.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "EleonoreWALD 5/3/2018 14:25", + "commentStamp" : "EleonoreWALD 5/7/2018 11:25", "super" : "SmTFinderAbstractTest", "category" : "SmartTest-Tests", "classinstvars" : [ ], diff --git a/SmartTest.package/SmTTestCoverageFinderTest.class/instance/initCache.st b/SmartTest.package/SmTTestCoverageFinderTest.class/instance/initCache.st index df5b0a2..f75b531 100644 --- a/SmartTest.package/SmTTestCoverageFinderTest.class/instance/initCache.st +++ b/SmartTest.package/SmTTestCoverageFinderTest.class/instance/initCache.st @@ -1,4 +1,4 @@ -helpers +running initCache ^ {((SmTClass >> #method1 )asRingDefinition -> @@ -20,4 +20,6 @@ initCache ((SmTClass2 >> #initialize )asRingDefinition -> {(SmTClassTest >> #testMethod5 )asRingDefinition} asSet). ((SmTClassTest >> #testMethod4 )asRingDefinition - -> {(SmTClassTest >> #testMethod4 )asRingDefinition} asSet)} asDictionary \ No newline at end of file + -> {(SmTClassTest >> #testMethod4 )asRingDefinition} asSet). + ((SmTClassOutside >> #method2 )asRingDefinition + -> {(SmTClassOutsideTest >> #testMethodOutsidePackage1 ) asRingDefinition.} asSet).} asDictionary \ No newline at end of file diff --git a/SmartTest.package/SmTTestCoverageFinderTest.class/instance/setUp.st b/SmartTest.package/SmTTestCoverageFinderTest.class/instance/setUp.st index 2072771..1a0a6ba 100644 --- a/SmartTest.package/SmTTestCoverageFinderTest.class/instance/setUp.st +++ b/SmartTest.package/SmTTestCoverageFinderTest.class/instance/setUp.st @@ -1,4 +1,4 @@ -helpers +running setUp "fill in the cache" diff --git a/SmartTest.package/SmTTestCoverageFinderTest.class/instance/testModificationOnTest.st b/SmartTest.package/SmTTestCoverageFinderTest.class/instance/testModificationOnTest.st index c09a901..4365e6b 100644 --- a/SmartTest.package/SmTTestCoverageFinderTest.class/instance/testModificationOnTest.st +++ b/SmartTest.package/SmTTestCoverageFinderTest.class/instance/testModificationOnTest.st @@ -1,4 +1,4 @@ -helpers +tests testModificationOnTest "this method is redundant with the abstract method" diff --git a/SmartTest.package/SmTTestCoverageFinderTest.class/instance/testTestSelfSelected.st b/SmartTest.package/SmTTestCoverageFinderTest.class/instance/testTestSelfSelected.st index 9162bba..ac7c355 100644 --- a/SmartTest.package/SmTTestCoverageFinderTest.class/instance/testTestSelfSelected.st +++ b/SmartTest.package/SmTTestCoverageFinderTest.class/instance/testTestSelfSelected.st @@ -1,4 +1,4 @@ -helpers +tests testTestSelfSelected "this method is redundant with the abstract method" diff --git a/SmartTest.package/SmartFinderTest.class/instance/setUp.st b/SmartTest.package/SmartFinderTest.class/instance/setUp.st index d425483..f9154c6 100644 --- a/SmartTest.package/SmartFinderTest.class/instance/setUp.st +++ b/SmartTest.package/SmartFinderTest.class/instance/setUp.st @@ -2,7 +2,7 @@ initialization setUp smartFinder := SmartFinder new cacheStrategy: SmTBasicCacheStrategy new; - filter: SmTNullPackagesFilter new; + filter: SmTNoFilter new; testRunner: SmTRunnerStrategyDebug; smtFinder: SmTSenderTestFinderStrategy new; testingStrategy: SmTTestingStrategyEachModification new; From 334e8cf75e7779decea8db46d01503894c6a993a Mon Sep 17 00:00:00 2001 From: test Date: Fri, 11 May 2018 10:52:35 +0200 Subject: [PATCH 039/150] We added two packages : SmartTestDataOutsideP1 and P2 We use those packages to tests different strategies (mainly to assert that when a filter is used, we don't get tests that should be blocked by the filter) --- .../testRunningTestMethod2ToBuildCache.st | 1 - .../README.md | 4 ++++ .../instance/setUp.st | 11 +++++++++++ ...dardMethodFirstLevelSendersInsidePackage.st | 11 +++++++++++ ...ardMethodFirstLevelSendersOutsidePackage.st | 11 +++++++++++ ...dLevelSendersInsidePackageWithTestInside.st | 12 ++++++++++++ ...LevelSendersInsidePackageWithTestOutside.st | 12 ++++++++++++ ...LevelSendersOutsidePackageWithTestInside.st | 12 ++++++++++++ ...evelSendersOutsidePackageWithTestOutside.st | 12 ++++++++++++ .../properties.json | 18 ++++++++++++++++++ SmartTestDataOutsideP1.package/.filetree | 5 +++++ .../SmTClassDefaultPackageP1.class/README.md | 1 + ...myMethod1_FirstLevelSendersInsidePackage.st | 3 +++ ...yMethod1_FirstLevelSendersOutsidePackage.st | 3 +++ ...dLevelSendersInsidePackageWithTestInside.st | 3 +++ ...LevelSendersInsidePackageWithTestOutside.st | 3 +++ ...LevelSendersOutsidePackageWithTestInside.st | 3 +++ ...evelSendersOutsidePackageWithTestOutside.st | 3 +++ ...dLevelSendersInsidePackageWithTestInside.st | 3 +++ ...LevelSendersInsidePackageWithTestOutside.st | 3 +++ .../properties.json | 11 +++++++++++ .../README.md | 1 + ...MyMethod1_FirstLevelSendersInsidePackage.st | 3 +++ ...dLevelSendersInsidePackageWithTestInside.st | 3 +++ ...LevelSendersOutsidePackageWithTestInside.st | 3 +++ .../properties.json | 11 +++++++++++ .../monticello.meta/categories.st | 1 + .../monticello.meta/initializers.st | 0 .../monticello.meta/package | 1 + SmartTestDataOutsideP1.package/properties.json | 1 + SmartTestDataOutsideP2.package/.filetree | 5 +++++ .../SmTClassDefaultPackageP2.class/README.md | 1 + ...LevelSendersOutsidePackageWithTestInside.st | 3 +++ ...evelSendersOutsidePackageWithTestOutside.st | 3 +++ .../properties.json | 11 +++++++++++ .../README.md | 1 + ...yMethod1_FirstLevelSendersOutsidePackage.st | 3 +++ ...LevelSendersInsidePackageWithTestOutside.st | 3 +++ ...evelSendersOutsidePackageWithTestOutside.st | 3 +++ .../properties.json | 11 +++++++++++ .../monticello.meta/categories.st | 1 + .../monticello.meta/initializers.st | 0 .../monticello.meta/package | 1 + SmartTestDataOutsideP2.package/properties.json | 1 + 44 files changed, 215 insertions(+), 1 deletion(-) create mode 100644 SmartTest.package/SmTSendersFilterTestDefaultPackage.class/README.md create mode 100644 SmartTest.package/SmTSendersFilterTestDefaultPackage.class/instance/setUp.st create mode 100644 SmartTest.package/SmTSendersFilterTestDefaultPackage.class/instance/testStandardMethodFirstLevelSendersInsidePackage.st create mode 100644 SmartTest.package/SmTSendersFilterTestDefaultPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st create mode 100644 SmartTest.package/SmTSendersFilterTestDefaultPackage.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestInside.st create mode 100644 SmartTest.package/SmTSendersFilterTestDefaultPackage.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestOutside.st create mode 100644 SmartTest.package/SmTSendersFilterTestDefaultPackage.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestInside.st create mode 100644 SmartTest.package/SmTSendersFilterTestDefaultPackage.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestOutside.st create mode 100644 SmartTest.package/SmTSendersFilterTestDefaultPackage.class/properties.json create mode 100644 SmartTestDataOutsideP1.package/.filetree create mode 100644 SmartTestDataOutsideP1.package/SmTClassDefaultPackageP1.class/README.md create mode 100644 SmartTestDataOutsideP1.package/SmTClassDefaultPackageP1.class/instance/p1_myMethod1_FirstLevelSendersInsidePackage.st create mode 100644 SmartTestDataOutsideP1.package/SmTClassDefaultPackageP1.class/instance/p1_myMethod1_FirstLevelSendersOutsidePackage.st create mode 100644 SmartTestDataOutsideP1.package/SmTClassDefaultPackageP1.class/instance/p1_myMethod1_SecondLevelSendersInsidePackageWithTestInside.st create mode 100644 SmartTestDataOutsideP1.package/SmTClassDefaultPackageP1.class/instance/p1_myMethod1_SecondLevelSendersInsidePackageWithTestOutside.st create mode 100644 SmartTestDataOutsideP1.package/SmTClassDefaultPackageP1.class/instance/p1_myMethod1_SecondLevelSendersOutsidePackageWithTestInside.st create mode 100644 SmartTestDataOutsideP1.package/SmTClassDefaultPackageP1.class/instance/p1_myMethod1_SecondLevelSendersOutsidePackageWithTestOutside.st create mode 100644 SmartTestDataOutsideP1.package/SmTClassDefaultPackageP1.class/instance/p1_myMethod2_SecondLevelSendersInsidePackageWithTestInside.st create mode 100644 SmartTestDataOutsideP1.package/SmTClassDefaultPackageP1.class/instance/p1_myMethod2_SecondLevelSendersInsidePackageWithTestOutside.st create mode 100644 SmartTestDataOutsideP1.package/SmTClassDefaultPackageP1.class/properties.json create mode 100644 SmartTestDataOutsideP1.package/SmTClassDefaultPackageTestP1.class/README.md create mode 100644 SmartTestDataOutsideP1.package/SmTClassDefaultPackageTestP1.class/instance/test_p1_MyMethod1_FirstLevelSendersInsidePackage.st create mode 100644 SmartTestDataOutsideP1.package/SmTClassDefaultPackageTestP1.class/instance/test_p1_MyMethod2_SecondLevelSendersInsidePackageWithTestInside.st create mode 100644 SmartTestDataOutsideP1.package/SmTClassDefaultPackageTestP1.class/instance/test_p1_MyMethod2_SecondLevelSendersOutsidePackageWithTestInside.st create mode 100644 SmartTestDataOutsideP1.package/SmTClassDefaultPackageTestP1.class/properties.json create mode 100644 SmartTestDataOutsideP1.package/monticello.meta/categories.st create mode 100644 SmartTestDataOutsideP1.package/monticello.meta/initializers.st create mode 100644 SmartTestDataOutsideP1.package/monticello.meta/package create mode 100644 SmartTestDataOutsideP1.package/properties.json create mode 100644 SmartTestDataOutsideP2.package/.filetree create mode 100644 SmartTestDataOutsideP2.package/SmTClassDefaultPackageP2.class/README.md create mode 100644 SmartTestDataOutsideP2.package/SmTClassDefaultPackageP2.class/instance/p2_myMethod2_SecondLevelSendersOutsidePackageWithTestInside.st create mode 100644 SmartTestDataOutsideP2.package/SmTClassDefaultPackageP2.class/instance/p2_myMethod2_SecondLevelSendersOutsidePackageWithTestOutside.st create mode 100644 SmartTestDataOutsideP2.package/SmTClassDefaultPackageP2.class/properties.json create mode 100644 SmartTestDataOutsideP2.package/SmTClassDefaultPackageTestP2.class/README.md create mode 100644 SmartTestDataOutsideP2.package/SmTClassDefaultPackageTestP2.class/instance/test_p2_MyMethod1_FirstLevelSendersOutsidePackage.st create mode 100644 SmartTestDataOutsideP2.package/SmTClassDefaultPackageTestP2.class/instance/test_p2_MyMethod2_SecondLevelSendersInsidePackageWithTestOutside.st create mode 100644 SmartTestDataOutsideP2.package/SmTClassDefaultPackageTestP2.class/instance/test_p2_MyMethod2_SecondLevelSendersOutsidePackageWithTestOutside.st create mode 100644 SmartTestDataOutsideP2.package/SmTClassDefaultPackageTestP2.class/properties.json create mode 100644 SmartTestDataOutsideP2.package/monticello.meta/categories.st create mode 100644 SmartTestDataOutsideP2.package/monticello.meta/initializers.st create mode 100644 SmartTestDataOutsideP2.package/monticello.meta/package create mode 100644 SmartTestDataOutsideP2.package/properties.json diff --git a/SmartTest.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod2ToBuildCache.st b/SmartTest.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod2ToBuildCache.st index 1598974..e70badf 100644 --- a/SmartTest.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod2ToBuildCache.st +++ b/SmartTest.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod2ToBuildCache.st @@ -3,7 +3,6 @@ testRunningTestMethod2ToBuildCache self assert: smartFinder currentCache isEmpty. SmTClassTest run: #testMethod2. - "Running the test fills the cache that is then no more empty but contains only the association between SmTClass>>methodi (with i = 1 to 4) and SmTClassTest>>testMethod2. The cache should contain 4 associations one per each method as key and testMethod2 asValue" self assert: smartFinder currentCache isNotEmpty. self assert: diff --git a/SmartTest.package/SmTSendersFilterTestDefaultPackage.class/README.md b/SmartTest.package/SmTSendersFilterTestDefaultPackage.class/README.md new file mode 100644 index 0000000..af974f9 --- /dev/null +++ b/SmartTest.package/SmTSendersFilterTestDefaultPackage.class/README.md @@ -0,0 +1,4 @@ +I test the strategy SendersFinder with the filter DefaultPackage. +The filter should accept any test that is owned by : + - the package of the modified method; + - a package that references the class of the modified method. \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestDefaultPackage.class/instance/setUp.st b/SmartTest.package/SmTSendersFilterTestDefaultPackage.class/instance/setUp.st new file mode 100644 index 0000000..77510f7 --- /dev/null +++ b/SmartTest.package/SmTSendersFilterTestDefaultPackage.class/instance/setUp.st @@ -0,0 +1,11 @@ +running +setUp + smartFinder := SmartFinder new. + smartFinder filter: SmTDefaultPackagesFilter new. + test_p1_myMethod1_FirstLevelSendersInsidePackage := (('SmTClass','DefaultPackageTestP1') asClass >> ('test_p1_My','Method1_FirstLevelSendersInsidePackage') asSymbol ) asRingDefinition. + test_p2_myMethod1_FirstLevelSendersOutsidePackage := (('SmTClass','DefaultPackageTestP2') asClass >> ('test_p2_My','Method1_FirstLevelSendersOutsidePackage') asSymbol ) asRingDefinition. + test_p1_MyMethod2_SecondLevelSendersInsidePackageWithTestInside := (('SmTClass','DefaultPackageTestP1') asClass >> ('test_p1_My','Method2_SecondLevelSendersInsidePackageWithTestInside') asSymbol ) asRingDefinition. + test_p1_MyMethod2_SecondLevelSendersOutsidePackageWithTestInside := (('SmTClass','DefaultPackageTestP1') asClass >> ('test_p1_My','Method2_SecondLevelSendersOutsidePackageWithTestInside') asSymbol ) asRingDefinition. + test_p2_MyMethod2_SecondLevelSendersInsidePackageWithTestOutside := (('SmTClass','DefaultPackageTestP2') asClass >> ('test_p2_My','Method2_SecondLevelSendersInsidePackageWithTestOutside') asSymbol ) asRingDefinition. + test_p2_MyMethod2_SecondLevelSendersOutsidePackageWithTestOutside := (('SmTClass','DefaultPackageTestP2') asClass >> ('test_p2_My','Method2_SecondLevelSendersOutsidePackageWithTestOutside') asSymbol ) asRingDefinition. + \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestDefaultPackage.class/instance/testStandardMethodFirstLevelSendersInsidePackage.st b/SmartTest.package/SmTSendersFilterTestDefaultPackage.class/instance/testStandardMethodFirstLevelSendersInsidePackage.st new file mode 100644 index 0000000..ddab14c --- /dev/null +++ b/SmartTest.package/SmTSendersFilterTestDefaultPackage.class/instance/testStandardMethodFirstLevelSendersInsidePackage.st @@ -0,0 +1,11 @@ +tests +testStandardMethodFirstLevelSendersInsidePackage + + "MyMethod1 is called by testMyMethod1, a tests owned by the same package as myMethod1, the only test found should be testMyMethod1" + + | testsFound | + testsFound := self searchTestMethodsFor:( ('SmTClassDefaultPackage','P1') asClass >> ('p1_','myMethod1_FirstLevelSendersInsidePackage') asSymbol). + self assert: (testsFound includes: test_p1_myMethod1_FirstLevelSendersInsidePackage). + + + \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestDefaultPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st b/SmartTest.package/SmTSendersFilterTestDefaultPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st new file mode 100644 index 0000000..fb5ab92 --- /dev/null +++ b/SmartTest.package/SmTSendersFilterTestDefaultPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st @@ -0,0 +1,11 @@ +tests +testStandardMethodFirstLevelSendersOutsidePackage + + "MyMethod1 is called by testMyMethod2, a test not owned by the same package as myMethod1, thus it should not be found" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassDefaultPackage','P1') asClass >> ('p1_','myMethod1_FirstLevelSendersInsidePackage') asSymbol). + self deny: (testsFound includes: test_p2_myMethod1_FirstLevelSendersOutsidePackage). + + + \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestDefaultPackage.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestInside.st b/SmartTest.package/SmTSendersFilterTestDefaultPackage.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestInside.st new file mode 100644 index 0000000..07ebdee --- /dev/null +++ b/SmartTest.package/SmTSendersFilterTestDefaultPackage.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestInside.st @@ -0,0 +1,12 @@ +tests +testStandardMethodSecondLevelSendersInsidePackageWithTestInside + + "p1_MyMethod1 is called by p1_MyMethod2, which itself is called by p1_testMyMethod2, a tests owned by the same package as myMethod1, thus p1_testMyMethod2 should be found. + We never go out of the package so it's normal." + + | testsFound | + testsFound := self searchTestMethodsFor:( ('SmTClassDefaultPackage','P1') asClass >> ('p1_','myMethod1_SecondLevelSendersInsidePackageWithTestInside') asSymbol). + self assert: (testsFound includes: test_p1_MyMethod2_SecondLevelSendersInsidePackageWithTestInside ). + + + \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestDefaultPackage.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestOutside.st b/SmartTest.package/SmTSendersFilterTestDefaultPackage.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestOutside.st new file mode 100644 index 0000000..0a8ffe8 --- /dev/null +++ b/SmartTest.package/SmTSendersFilterTestDefaultPackage.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestOutside.st @@ -0,0 +1,12 @@ +tests +testStandardMethodSecondLevelSendersInsidePackageWithTestOutside + + "p1_MyMethod1 is called by p1_MyMethod2, which itself is called by p2_testMyMethod2, a test not owned by the same package as myMethod1, thus p2_testMyMethod2 should not be found. + We go out of the package once so it's normal hat the test is not found." + + | testsFound | + testsFound := self searchTestMethodsFor:( ('SmTClassDefaultPackage','P1') asClass >> ('p1_','myMethod1_SecondLevelSendersInsidePackageWithTestOutside') asSymbol). + self deny: (testsFound includes: test_p2_MyMethod2_SecondLevelSendersInsidePackageWithTestOutside ). + + + \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestDefaultPackage.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestInside.st b/SmartTest.package/SmTSendersFilterTestDefaultPackage.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestInside.st new file mode 100644 index 0000000..c63d4f7 --- /dev/null +++ b/SmartTest.package/SmTSendersFilterTestDefaultPackage.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestInside.st @@ -0,0 +1,12 @@ +tests +testStandardMethodSecondLevelSendersOutsidePackageWithTestInside + + "p1_MyMethod1 is called by p2_MyMethod2, which itself is called by p1_testMyMethod2, thus p1_testMyMethod2 should not be found. + We go out of the package once so it's normal hat the test is not found." + + | testsFound | + testsFound := self searchTestMethodsFor:( ('SmTClassDefaultPackage','P1') asClass >> ('p1_','myMethod1_SecondLevelSendersOutsidePackageWithTestInside') asSymbol). + self deny: (testsFound includes: test_p1_MyMethod2_SecondLevelSendersOutsidePackageWithTestInside ). + + + \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestDefaultPackage.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestOutside.st b/SmartTest.package/SmTSendersFilterTestDefaultPackage.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestOutside.st new file mode 100644 index 0000000..6e1583f --- /dev/null +++ b/SmartTest.package/SmTSendersFilterTestDefaultPackage.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestOutside.st @@ -0,0 +1,12 @@ +tests +testStandardMethodSecondLevelSendersOutsidePackageWithTestOutside + + "p1_MyMethod1 is called by p2_MyMethod2, which itself is called by p2_testMyMethod2, thus p2_testMyMethod2 should not be found. + We go out of the package once so it's normal hat the test is not found." + + | testsFound | + testsFound := self searchTestMethodsFor:( ('SmTClassDefaultPackage','P1') asClass >> ('p1_','myMethod1_SecondLevelSendersOutsidePackageWithTestOutside') asSymbol). + self deny: (testsFound includes: test_p2_MyMethod2_SecondLevelSendersOutsidePackageWithTestOutside ). + + + \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestDefaultPackage.class/properties.json b/SmartTest.package/SmTSendersFilterTestDefaultPackage.class/properties.json new file mode 100644 index 0000000..9dabce6 --- /dev/null +++ b/SmartTest.package/SmTSendersFilterTestDefaultPackage.class/properties.json @@ -0,0 +1,18 @@ +{ + "commentStamp" : "EleonoreWALD 5/9/2018 16:05", + "super" : "SmTFilterAbstractTest", + "category" : "SmartTest-Tests", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ + "test_p1_myMethod1_FirstLevelSendersInsidePackage", + "test_p2_myMethod1_FirstLevelSendersOutsidePackage", + "test_p1_MyMethod2_SecondLevelSendersInsidePackageWithTestInside", + "test_p1_MyMethod2_SecondLevelSendersOutsidePackageWithTestInside", + "test_p2_MyMethod2_SecondLevelSendersInsidePackageWithTestOutside", + "test_p2_MyMethod2_SecondLevelSendersOutsidePackageWithTestOutside" + ], + "name" : "SmTSendersFilterTestDefaultPackage", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/.filetree b/SmartTestDataOutsideP1.package/.filetree new file mode 100644 index 0000000..57a6797 --- /dev/null +++ b/SmartTestDataOutsideP1.package/.filetree @@ -0,0 +1,5 @@ +{ + "separateMethodMetaAndSource" : false, + "noMethodMetaData" : true, + "useCypressPropertiesFile" : true +} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassDefaultPackageP1.class/README.md b/SmartTestDataOutsideP1.package/SmTClassDefaultPackageP1.class/README.md new file mode 100644 index 0000000..f2913db --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassDefaultPackageP1.class/README.md @@ -0,0 +1 @@ +Data for DefaultPackageFilter tests. diff --git a/SmartTestDataOutsideP1.package/SmTClassDefaultPackageP1.class/instance/p1_myMethod1_FirstLevelSendersInsidePackage.st b/SmartTestDataOutsideP1.package/SmTClassDefaultPackageP1.class/instance/p1_myMethod1_FirstLevelSendersInsidePackage.st new file mode 100644 index 0000000..883fe73 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassDefaultPackageP1.class/instance/p1_myMethod1_FirstLevelSendersInsidePackage.st @@ -0,0 +1,3 @@ +myMethod1 +p1_myMethod1_FirstLevelSendersInsidePackage + "Data for tests" \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassDefaultPackageP1.class/instance/p1_myMethod1_FirstLevelSendersOutsidePackage.st b/SmartTestDataOutsideP1.package/SmTClassDefaultPackageP1.class/instance/p1_myMethod1_FirstLevelSendersOutsidePackage.st new file mode 100644 index 0000000..c18b9bb --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassDefaultPackageP1.class/instance/p1_myMethod1_FirstLevelSendersOutsidePackage.st @@ -0,0 +1,3 @@ +myMethod1 +p1_myMethod1_FirstLevelSendersOutsidePackage + "Data for tests" \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassDefaultPackageP1.class/instance/p1_myMethod1_SecondLevelSendersInsidePackageWithTestInside.st b/SmartTestDataOutsideP1.package/SmTClassDefaultPackageP1.class/instance/p1_myMethod1_SecondLevelSendersInsidePackageWithTestInside.st new file mode 100644 index 0000000..82c1b4d --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassDefaultPackageP1.class/instance/p1_myMethod1_SecondLevelSendersInsidePackageWithTestInside.st @@ -0,0 +1,3 @@ +myMethod1 +p1_myMethod1_SecondLevelSendersInsidePackageWithTestInside + "Data for tests" \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassDefaultPackageP1.class/instance/p1_myMethod1_SecondLevelSendersInsidePackageWithTestOutside.st b/SmartTestDataOutsideP1.package/SmTClassDefaultPackageP1.class/instance/p1_myMethod1_SecondLevelSendersInsidePackageWithTestOutside.st new file mode 100644 index 0000000..e691ae2 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassDefaultPackageP1.class/instance/p1_myMethod1_SecondLevelSendersInsidePackageWithTestOutside.st @@ -0,0 +1,3 @@ +myMethod1 +p1_myMethod1_SecondLevelSendersInsidePackageWithTestOutside + "Data for tests" \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassDefaultPackageP1.class/instance/p1_myMethod1_SecondLevelSendersOutsidePackageWithTestInside.st b/SmartTestDataOutsideP1.package/SmTClassDefaultPackageP1.class/instance/p1_myMethod1_SecondLevelSendersOutsidePackageWithTestInside.st new file mode 100644 index 0000000..38c2b4e --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassDefaultPackageP1.class/instance/p1_myMethod1_SecondLevelSendersOutsidePackageWithTestInside.st @@ -0,0 +1,3 @@ +myMethod1 +p1_myMethod1_SecondLevelSendersOutsidePackageWithTestInside + "Data for tests" \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassDefaultPackageP1.class/instance/p1_myMethod1_SecondLevelSendersOutsidePackageWithTestOutside.st b/SmartTestDataOutsideP1.package/SmTClassDefaultPackageP1.class/instance/p1_myMethod1_SecondLevelSendersOutsidePackageWithTestOutside.st new file mode 100644 index 0000000..3a48cd6 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassDefaultPackageP1.class/instance/p1_myMethod1_SecondLevelSendersOutsidePackageWithTestOutside.st @@ -0,0 +1,3 @@ +myMethod1 +p1_myMethod1_SecondLevelSendersOutsidePackageWithTestOutside + "Data for tests" \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassDefaultPackageP1.class/instance/p1_myMethod2_SecondLevelSendersInsidePackageWithTestInside.st b/SmartTestDataOutsideP1.package/SmTClassDefaultPackageP1.class/instance/p1_myMethod2_SecondLevelSendersInsidePackageWithTestInside.st new file mode 100644 index 0000000..61e8586 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassDefaultPackageP1.class/instance/p1_myMethod2_SecondLevelSendersInsidePackageWithTestInside.st @@ -0,0 +1,3 @@ +myMethod2 +p1_myMethod2_SecondLevelSendersInsidePackageWithTestInside +^SmTClassDefaultPackageP1 new p1_myMethod1_SecondLevelSendersInsidePackageWithTestInside. \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassDefaultPackageP1.class/instance/p1_myMethod2_SecondLevelSendersInsidePackageWithTestOutside.st b/SmartTestDataOutsideP1.package/SmTClassDefaultPackageP1.class/instance/p1_myMethod2_SecondLevelSendersInsidePackageWithTestOutside.st new file mode 100644 index 0000000..b5c2d66 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassDefaultPackageP1.class/instance/p1_myMethod2_SecondLevelSendersInsidePackageWithTestOutside.st @@ -0,0 +1,3 @@ +myMethod2 +p1_myMethod2_SecondLevelSendersInsidePackageWithTestOutside +^SmTClassDefaultPackageP1 new p1_myMethod1_SecondLevelSendersInsidePackageWithTestOutside. \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassDefaultPackageP1.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassDefaultPackageP1.class/properties.json new file mode 100644 index 0000000..7888a5d --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassDefaultPackageP1.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "EleonoreWALD 5/9/2018 13:04", + "super" : "Object", + "category" : "SmartTestDataOutsideP1", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTClassDefaultPackageP1", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassDefaultPackageTestP1.class/README.md b/SmartTestDataOutsideP1.package/SmTClassDefaultPackageTestP1.class/README.md new file mode 100644 index 0000000..602320d --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassDefaultPackageTestP1.class/README.md @@ -0,0 +1 @@ +Tests for DefaultPackageFilter tests \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassDefaultPackageTestP1.class/instance/test_p1_MyMethod1_FirstLevelSendersInsidePackage.st b/SmartTestDataOutsideP1.package/SmTClassDefaultPackageTestP1.class/instance/test_p1_MyMethod1_FirstLevelSendersInsidePackage.st new file mode 100644 index 0000000..a479ed1 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassDefaultPackageTestP1.class/instance/test_p1_MyMethod1_FirstLevelSendersInsidePackage.st @@ -0,0 +1,3 @@ +tests +test_p1_MyMethod1_FirstLevelSendersInsidePackage + ^ SmTClassDefaultPackageP1 new p1_myMethod1_FirstLevelSendersInsidePackage. \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassDefaultPackageTestP1.class/instance/test_p1_MyMethod2_SecondLevelSendersInsidePackageWithTestInside.st b/SmartTestDataOutsideP1.package/SmTClassDefaultPackageTestP1.class/instance/test_p1_MyMethod2_SecondLevelSendersInsidePackageWithTestInside.st new file mode 100644 index 0000000..a1e563a --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassDefaultPackageTestP1.class/instance/test_p1_MyMethod2_SecondLevelSendersInsidePackageWithTestInside.st @@ -0,0 +1,3 @@ +tests +test_p1_MyMethod2_SecondLevelSendersInsidePackageWithTestInside + ^ SmTClassDefaultPackageP1 new p1_myMethod2_SecondLevelSendersInsidePackageWithTestInside. \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassDefaultPackageTestP1.class/instance/test_p1_MyMethod2_SecondLevelSendersOutsidePackageWithTestInside.st b/SmartTestDataOutsideP1.package/SmTClassDefaultPackageTestP1.class/instance/test_p1_MyMethod2_SecondLevelSendersOutsidePackageWithTestInside.st new file mode 100644 index 0000000..66d87de --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassDefaultPackageTestP1.class/instance/test_p1_MyMethod2_SecondLevelSendersOutsidePackageWithTestInside.st @@ -0,0 +1,3 @@ +tests +test_p1_MyMethod2_SecondLevelSendersOutsidePackageWithTestInside + ^ SmTClassDefaultPackageP2 new p2_myMethod2_SecondLevelSendersOutsidePackageWithTestInside. \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassDefaultPackageTestP1.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassDefaultPackageTestP1.class/properties.json new file mode 100644 index 0000000..48c0d2c --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassDefaultPackageTestP1.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "EleonoreWALD 5/9/2018 13:03", + "super" : "TestCase", + "category" : "SmartTestDataOutsideP1", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTClassDefaultPackageTestP1", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/monticello.meta/categories.st b/SmartTestDataOutsideP1.package/monticello.meta/categories.st new file mode 100644 index 0000000..070fb76 --- /dev/null +++ b/SmartTestDataOutsideP1.package/monticello.meta/categories.st @@ -0,0 +1 @@ +SystemOrganization addCategory: #SmartTestDataOutsideP1! diff --git a/SmartTestDataOutsideP1.package/monticello.meta/initializers.st b/SmartTestDataOutsideP1.package/monticello.meta/initializers.st new file mode 100644 index 0000000..e69de29 diff --git a/SmartTestDataOutsideP1.package/monticello.meta/package b/SmartTestDataOutsideP1.package/monticello.meta/package new file mode 100644 index 0000000..c8a9641 --- /dev/null +++ b/SmartTestDataOutsideP1.package/monticello.meta/package @@ -0,0 +1 @@ +(name 'SmartTestDataOutsideP1') \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/properties.json b/SmartTestDataOutsideP1.package/properties.json new file mode 100644 index 0000000..6f31cf5 --- /dev/null +++ b/SmartTestDataOutsideP1.package/properties.json @@ -0,0 +1 @@ +{ } \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/.filetree b/SmartTestDataOutsideP2.package/.filetree new file mode 100644 index 0000000..57a6797 --- /dev/null +++ b/SmartTestDataOutsideP2.package/.filetree @@ -0,0 +1,5 @@ +{ + "separateMethodMetaAndSource" : false, + "noMethodMetaData" : true, + "useCypressPropertiesFile" : true +} \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassDefaultPackageP2.class/README.md b/SmartTestDataOutsideP2.package/SmTClassDefaultPackageP2.class/README.md new file mode 100644 index 0000000..53fad17 --- /dev/null +++ b/SmartTestDataOutsideP2.package/SmTClassDefaultPackageP2.class/README.md @@ -0,0 +1 @@ +Data Outside of package 1 for DefaultPackageFilter tests. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassDefaultPackageP2.class/instance/p2_myMethod2_SecondLevelSendersOutsidePackageWithTestInside.st b/SmartTestDataOutsideP2.package/SmTClassDefaultPackageP2.class/instance/p2_myMethod2_SecondLevelSendersOutsidePackageWithTestInside.st new file mode 100644 index 0000000..8da3775 --- /dev/null +++ b/SmartTestDataOutsideP2.package/SmTClassDefaultPackageP2.class/instance/p2_myMethod2_SecondLevelSendersOutsidePackageWithTestInside.st @@ -0,0 +1,3 @@ +as yet unclassified +p2_myMethod2_SecondLevelSendersOutsidePackageWithTestInside +^SmTClassDefaultPackageP1 new p1_myMethod1_SecondLevelSendersOutsidePackageWithTestInside \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassDefaultPackageP2.class/instance/p2_myMethod2_SecondLevelSendersOutsidePackageWithTestOutside.st b/SmartTestDataOutsideP2.package/SmTClassDefaultPackageP2.class/instance/p2_myMethod2_SecondLevelSendersOutsidePackageWithTestOutside.st new file mode 100644 index 0000000..7890349 --- /dev/null +++ b/SmartTestDataOutsideP2.package/SmTClassDefaultPackageP2.class/instance/p2_myMethod2_SecondLevelSendersOutsidePackageWithTestOutside.st @@ -0,0 +1,3 @@ +as yet unclassified +p2_myMethod2_SecondLevelSendersOutsidePackageWithTestOutside +^SmTClassDefaultPackageP1 new p1_myMethod1_SecondLevelSendersOutsidePackageWithTestOutside \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassDefaultPackageP2.class/properties.json b/SmartTestDataOutsideP2.package/SmTClassDefaultPackageP2.class/properties.json new file mode 100644 index 0000000..c9eb4cb --- /dev/null +++ b/SmartTestDataOutsideP2.package/SmTClassDefaultPackageP2.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "EleonoreWALD 5/11/2018 10:19", + "super" : "Object", + "category" : "SmartTestDataOutsideP2", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTClassDefaultPackageP2", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassDefaultPackageTestP2.class/README.md b/SmartTestDataOutsideP2.package/SmTClassDefaultPackageTestP2.class/README.md new file mode 100644 index 0000000..9904883 --- /dev/null +++ b/SmartTestDataOutsideP2.package/SmTClassDefaultPackageTestP2.class/README.md @@ -0,0 +1 @@ +Tests for DefaultPackageFilter tests outside of package 1. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassDefaultPackageTestP2.class/instance/test_p2_MyMethod1_FirstLevelSendersOutsidePackage.st b/SmartTestDataOutsideP2.package/SmTClassDefaultPackageTestP2.class/instance/test_p2_MyMethod1_FirstLevelSendersOutsidePackage.st new file mode 100644 index 0000000..7e448f6 --- /dev/null +++ b/SmartTestDataOutsideP2.package/SmTClassDefaultPackageTestP2.class/instance/test_p2_MyMethod1_FirstLevelSendersOutsidePackage.st @@ -0,0 +1,3 @@ +tests +test_p2_MyMethod1_FirstLevelSendersOutsidePackage + ^ SmTClassDefaultPackageP1 new p1_myMethod1_FirstLevelSendersOutsidePackage. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassDefaultPackageTestP2.class/instance/test_p2_MyMethod2_SecondLevelSendersInsidePackageWithTestOutside.st b/SmartTestDataOutsideP2.package/SmTClassDefaultPackageTestP2.class/instance/test_p2_MyMethod2_SecondLevelSendersInsidePackageWithTestOutside.st new file mode 100644 index 0000000..3c5784b --- /dev/null +++ b/SmartTestDataOutsideP2.package/SmTClassDefaultPackageTestP2.class/instance/test_p2_MyMethod2_SecondLevelSendersInsidePackageWithTestOutside.st @@ -0,0 +1,3 @@ +tests +test_p2_MyMethod2_SecondLevelSendersInsidePackageWithTestOutside + ^ SmTClassDefaultPackageP1 new p1_myMethod2_SecondLevelSendersInsidePackageWithTestOutside. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassDefaultPackageTestP2.class/instance/test_p2_MyMethod2_SecondLevelSendersOutsidePackageWithTestOutside.st b/SmartTestDataOutsideP2.package/SmTClassDefaultPackageTestP2.class/instance/test_p2_MyMethod2_SecondLevelSendersOutsidePackageWithTestOutside.st new file mode 100644 index 0000000..ec8cfb4 --- /dev/null +++ b/SmartTestDataOutsideP2.package/SmTClassDefaultPackageTestP2.class/instance/test_p2_MyMethod2_SecondLevelSendersOutsidePackageWithTestOutside.st @@ -0,0 +1,3 @@ +tests +test_p2_MyMethod2_SecondLevelSendersOutsidePackageWithTestOutside + ^ SmTClassDefaultPackageP2 new p2_myMethod2_SecondLevelSendersOutsidePackageWithTestOutside. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassDefaultPackageTestP2.class/properties.json b/SmartTestDataOutsideP2.package/SmTClassDefaultPackageTestP2.class/properties.json new file mode 100644 index 0000000..5e5ad72 --- /dev/null +++ b/SmartTestDataOutsideP2.package/SmTClassDefaultPackageTestP2.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "EleonoreWALD 5/11/2018 10:20", + "super" : "TestCase", + "category" : "SmartTestDataOutsideP2", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTClassDefaultPackageTestP2", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/monticello.meta/categories.st b/SmartTestDataOutsideP2.package/monticello.meta/categories.st new file mode 100644 index 0000000..d4ba4a3 --- /dev/null +++ b/SmartTestDataOutsideP2.package/monticello.meta/categories.st @@ -0,0 +1 @@ +SystemOrganization addCategory: #SmartTestDataOutsideP2! diff --git a/SmartTestDataOutsideP2.package/monticello.meta/initializers.st b/SmartTestDataOutsideP2.package/monticello.meta/initializers.st new file mode 100644 index 0000000..e69de29 diff --git a/SmartTestDataOutsideP2.package/monticello.meta/package b/SmartTestDataOutsideP2.package/monticello.meta/package new file mode 100644 index 0000000..bdeaca8 --- /dev/null +++ b/SmartTestDataOutsideP2.package/monticello.meta/package @@ -0,0 +1 @@ +(name 'SmartTestDataOutsideP2') \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/properties.json b/SmartTestDataOutsideP2.package/properties.json new file mode 100644 index 0000000..6f31cf5 --- /dev/null +++ b/SmartTestDataOutsideP2.package/properties.json @@ -0,0 +1 @@ +{ } \ No newline at end of file From 4eaadb0b5ffd259a1ca731c201732faf34d148cb Mon Sep 17 00:00:00 2001 From: test Date: Fri, 11 May 2018 13:57:08 +0200 Subject: [PATCH 040/150] Small changes: - Renaming of some methods Addition of a package: We needed to add a new package to run test with a different configuration (DefaultClassFilter) --- .../SmTFilterAbstractTest.class/instance/setUp.st | 11 ++++++++++- ...tStandardMethodFirstLevelSendersInsidePackage.st | 13 +++++++++++++ ...StandardMethodFirstLevelSendersOutsidePackage.st | 12 ++++++++++++ ...SecondLevelSendersInsidePackageWithTestInside.st | 5 +++-- ...econdLevelSendersInsidePackageWithTestOutside.st | 5 +++-- ...econdLevelSendersOutsidePackageWithTestInside.st | 5 +++-- ...condLevelSendersOutsidePackageWithTestOutside.st | 5 +++-- .../SmTFilterAbstractTest.class/properties.json | 8 +++++++- ...StandardMethodFirstLevelSendersOutsidePackage.st | 11 ----------- ...tandardMethodFirstLevelSendersOutsidePackage2.st | 10 ---------- .../README.md | 4 ++++ .../properties.json | 11 +++++++++++ .../README.md | 3 +-- .../instance/setUp.st | 12 +++--------- ...tStandardMethodFirstLevelSendersInsidePackage.st | 11 ----------- ...StandardMethodFirstLevelSendersOutsidePackage.st | 11 ----------- .../properties.json | 11 ++--------- .../README.md | 2 ++ .../instance/setUp.st | 6 ++++++ .../properties.json | 11 +++++++++++ .../SmTClassDefaultPackageP1.class/README.md | 1 - .../p1_myMethod1_FirstLevelSendersInsidePackage.st | 3 --- .../p1_myMethod1_FirstLevelSendersOutsidePackage.st | 3 --- ...SecondLevelSendersInsidePackageWithTestInside.st | 3 --- ...econdLevelSendersInsidePackageWithTestOutside.st | 3 --- ...econdLevelSendersOutsidePackageWithTestInside.st | 3 --- ...condLevelSendersOutsidePackageWithTestOutside.st | 3 --- ...SecondLevelSendersInsidePackageWithTestInside.st | 3 --- ...econdLevelSendersInsidePackageWithTestOutside.st | 3 --- .../SmTClassDefaultPackageTestP1.class/README.md | 1 - ...t_p1_MyMethod1_FirstLevelSendersInsidePackage.st | 3 --- ...SecondLevelSendersInsidePackageWithTestInside.st | 3 --- ...econdLevelSendersOutsidePackageWithTestInside.st | 3 --- .../SmTClassP1.class/README.md | 8 ++++++++ .../method1_FirstLevelSendersInsidePackage.st | 5 +++++ .../method1_FirstLevelSendersOutsidePackage.st | 5 +++++ ...SecondLevelSendersInsidePackageWithTestInside.st | 5 +++++ ...econdLevelSendersInsidePackageWithTestOutside.st | 5 +++++ ...econdLevelSendersOutsidePackageWithTestInside.st | 5 +++++ ...condLevelSendersOutsidePackageWithTestOutside.st | 5 +++++ ...SecondLevelSendersInsidePackageWithTestInside.st | 5 +++++ ...econdLevelSendersInsidePackageWithTestOutside.st | 5 +++++ .../properties.json | 4 ++-- .../SmTClassTestP1.class/README.md | 8 ++++++++ .../test_method1_FirstLevelSendersInsidePackage.st | 4 ++++ ...SecondLevelSendersInsidePackageWithTestInside.st | 3 +++ ...econdLevelSendersOutsidePackageWithTestInside.st | 3 +++ .../properties.json | 4 ++-- .../SmTClassDefaultPackageP2.class/README.md | 1 - ...econdLevelSendersOutsidePackageWithTestInside.st | 3 --- ...condLevelSendersOutsidePackageWithTestOutside.st | 3 --- .../SmTClassDefaultPackageTestP2.class/README.md | 1 - ..._p2_MyMethod1_FirstLevelSendersOutsidePackage.st | 3 --- ...econdLevelSendersInsidePackageWithTestOutside.st | 3 --- ...condLevelSendersOutsidePackageWithTestOutside.st | 3 --- .../SmTClassP2.class/README.md | 10 ++++++++++ ...econdLevelSendersOutsidePackageWithTestInside.st | 5 +++++ ...condLevelSendersOutsidePackageWithTestOutside.st | 5 +++++ .../properties.json | 4 ++-- .../SmTClassTestP2.class/README.md | 11 +++++++++++ .../test_method1_FirstLevelSendersOutsidePackage.st | 4 ++++ ...econdLevelSendersInsidePackageWithTestOutside.st | 4 ++++ ...condLevelSendersOutsidePackageWithTestOutside.st | 4 ++++ .../properties.json | 4 ++-- SmartTestDataOutsideP3.package/.filetree | 5 +++++ .../SmTClassP3.class/README.md | 9 +++++++++ .../SmTClassP3.class/properties.json | 11 +++++++++++ .../SmTClassTestP3.class/README.md | 11 +++++++++++ .../SmTClassTestP3.class/properties.json | 11 +++++++++++ .../monticello.meta/categories.st | 1 + .../monticello.meta/initializers.st | 0 .../monticello.meta/package | 1 + SmartTestDataOutsideP3.package/properties.json | 1 + 73 files changed, 261 insertions(+), 133 deletions(-) create mode 100644 SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersInsidePackage.st create mode 100644 SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st rename SmartTest.package/{SmTSendersFilterTestDefaultPackage.class => SmTFilterAbstractTest.class}/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestInside.st (54%) rename SmartTest.package/{SmTSendersFilterTestDefaultPackage.class => SmTFilterAbstractTest.class}/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestOutside.st (57%) rename SmartTest.package/{SmTSendersFilterTestDefaultPackage.class => SmTFilterAbstractTest.class}/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestInside.st (53%) rename SmartTest.package/{SmTSendersFilterTestDefaultPackage.class => SmTFilterAbstractTest.class}/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestOutside.st (53%) delete mode 100644 SmartTest.package/SmTFinderAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st delete mode 100644 SmartTest.package/SmTFinderAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackage2.st create mode 100644 SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/README.md create mode 100644 SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/properties.json delete mode 100644 SmartTest.package/SmTSendersFilterTestDefaultPackage.class/instance/testStandardMethodFirstLevelSendersInsidePackage.st delete mode 100644 SmartTest.package/SmTSendersFilterTestDefaultPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st create mode 100644 SmartTest.package/SmTSendersFilterTestWithRestrictedPackage.class/README.md create mode 100644 SmartTest.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/setUp.st create mode 100644 SmartTest.package/SmTSendersFilterTestWithRestrictedPackage.class/properties.json delete mode 100644 SmartTestDataOutsideP1.package/SmTClassDefaultPackageP1.class/README.md delete mode 100644 SmartTestDataOutsideP1.package/SmTClassDefaultPackageP1.class/instance/p1_myMethod1_FirstLevelSendersInsidePackage.st delete mode 100644 SmartTestDataOutsideP1.package/SmTClassDefaultPackageP1.class/instance/p1_myMethod1_FirstLevelSendersOutsidePackage.st delete mode 100644 SmartTestDataOutsideP1.package/SmTClassDefaultPackageP1.class/instance/p1_myMethod1_SecondLevelSendersInsidePackageWithTestInside.st delete mode 100644 SmartTestDataOutsideP1.package/SmTClassDefaultPackageP1.class/instance/p1_myMethod1_SecondLevelSendersInsidePackageWithTestOutside.st delete mode 100644 SmartTestDataOutsideP1.package/SmTClassDefaultPackageP1.class/instance/p1_myMethod1_SecondLevelSendersOutsidePackageWithTestInside.st delete mode 100644 SmartTestDataOutsideP1.package/SmTClassDefaultPackageP1.class/instance/p1_myMethod1_SecondLevelSendersOutsidePackageWithTestOutside.st delete mode 100644 SmartTestDataOutsideP1.package/SmTClassDefaultPackageP1.class/instance/p1_myMethod2_SecondLevelSendersInsidePackageWithTestInside.st delete mode 100644 SmartTestDataOutsideP1.package/SmTClassDefaultPackageP1.class/instance/p1_myMethod2_SecondLevelSendersInsidePackageWithTestOutside.st delete mode 100644 SmartTestDataOutsideP1.package/SmTClassDefaultPackageTestP1.class/README.md delete mode 100644 SmartTestDataOutsideP1.package/SmTClassDefaultPackageTestP1.class/instance/test_p1_MyMethod1_FirstLevelSendersInsidePackage.st delete mode 100644 SmartTestDataOutsideP1.package/SmTClassDefaultPackageTestP1.class/instance/test_p1_MyMethod2_SecondLevelSendersInsidePackageWithTestInside.st delete mode 100644 SmartTestDataOutsideP1.package/SmTClassDefaultPackageTestP1.class/instance/test_p1_MyMethod2_SecondLevelSendersOutsidePackageWithTestInside.st create mode 100644 SmartTestDataOutsideP1.package/SmTClassP1.class/README.md create mode 100644 SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1_FirstLevelSendersInsidePackage.st create mode 100644 SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1_FirstLevelSendersOutsidePackage.st create mode 100644 SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1_SecondLevelSendersInsidePackageWithTestInside.st create mode 100644 SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1_SecondLevelSendersInsidePackageWithTestOutside.st create mode 100644 SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1_SecondLevelSendersOutsidePackageWithTestInside.st create mode 100644 SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1_SecondLevelSendersOutsidePackageWithTestOutside.st create mode 100644 SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method2_SecondLevelSendersInsidePackageWithTestInside.st create mode 100644 SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method2_SecondLevelSendersInsidePackageWithTestOutside.st rename SmartTestDataOutsideP1.package/{SmTClassDefaultPackageP1.class => SmTClassP1.class}/properties.json (65%) create mode 100644 SmartTestDataOutsideP1.package/SmTClassTestP1.class/README.md create mode 100644 SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/test_method1_FirstLevelSendersInsidePackage.st create mode 100644 SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/test_method2_SecondLevelSendersInsidePackageWithTestInside.st create mode 100644 SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/test_method2_SecondLevelSendersOutsidePackageWithTestInside.st rename SmartTestDataOutsideP1.package/{SmTClassDefaultPackageTestP1.class => SmTClassTestP1.class}/properties.json (64%) delete mode 100644 SmartTestDataOutsideP2.package/SmTClassDefaultPackageP2.class/README.md delete mode 100644 SmartTestDataOutsideP2.package/SmTClassDefaultPackageP2.class/instance/p2_myMethod2_SecondLevelSendersOutsidePackageWithTestInside.st delete mode 100644 SmartTestDataOutsideP2.package/SmTClassDefaultPackageP2.class/instance/p2_myMethod2_SecondLevelSendersOutsidePackageWithTestOutside.st delete mode 100644 SmartTestDataOutsideP2.package/SmTClassDefaultPackageTestP2.class/README.md delete mode 100644 SmartTestDataOutsideP2.package/SmTClassDefaultPackageTestP2.class/instance/test_p2_MyMethod1_FirstLevelSendersOutsidePackage.st delete mode 100644 SmartTestDataOutsideP2.package/SmTClassDefaultPackageTestP2.class/instance/test_p2_MyMethod2_SecondLevelSendersInsidePackageWithTestOutside.st delete mode 100644 SmartTestDataOutsideP2.package/SmTClassDefaultPackageTestP2.class/instance/test_p2_MyMethod2_SecondLevelSendersOutsidePackageWithTestOutside.st create mode 100644 SmartTestDataOutsideP2.package/SmTClassP2.class/README.md create mode 100644 SmartTestDataOutsideP2.package/SmTClassP2.class/instance/method2_SecondLevelSendersOutsidePackageWithTestInside.st create mode 100644 SmartTestDataOutsideP2.package/SmTClassP2.class/instance/method2_SecondLevelSendersOutsidePackageWithTestOutside.st rename SmartTestDataOutsideP2.package/{SmTClassDefaultPackageP2.class => SmTClassP2.class}/properties.json (64%) create mode 100644 SmartTestDataOutsideP2.package/SmTClassTestP2.class/README.md create mode 100644 SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/test_method1_FirstLevelSendersOutsidePackage.st create mode 100644 SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/test_method2_SecondLevelSendersInsidePackageWithTestOutside.st create mode 100644 SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/test_method2_SecondLevelSendersOutsidePackageWithTestOutside.st rename SmartTestDataOutsideP2.package/{SmTClassDefaultPackageTestP2.class => SmTClassTestP2.class}/properties.json (64%) create mode 100644 SmartTestDataOutsideP3.package/.filetree create mode 100644 SmartTestDataOutsideP3.package/SmTClassP3.class/README.md create mode 100644 SmartTestDataOutsideP3.package/SmTClassP3.class/properties.json create mode 100644 SmartTestDataOutsideP3.package/SmTClassTestP3.class/README.md create mode 100644 SmartTestDataOutsideP3.package/SmTClassTestP3.class/properties.json create mode 100644 SmartTestDataOutsideP3.package/monticello.meta/categories.st create mode 100644 SmartTestDataOutsideP3.package/monticello.meta/initializers.st create mode 100644 SmartTestDataOutsideP3.package/monticello.meta/package create mode 100644 SmartTestDataOutsideP3.package/properties.json diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/setUp.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/setUp.st index b636fa3..5e96cc6 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/setUp.st +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/setUp.st @@ -1,4 +1,13 @@ running setUp smartFinder := SmartFinder new. - smartFinder filter: SmTDefaultClassPackagesFilter new. \ No newline at end of file + smartFinder filter: SmTDefaultClassPackagesFilter new. + smartFinder filter: (SmTSpecifyPackagesNameFilter packagesRegEx: 'SmartTestDataOutsideP1') new. + + test_method1_FirstLevelSendersInsidePackage := (('SmTClass','TestP1') asClass >> ('test_','method1_FirstLevelSendersInsidePackage') asSymbol ) asRingDefinition. + test_method1_FirstLevelSendersOutsidePackage := (('SmTClass','TestP2') asClass >> ('test_','method1_FirstLevelSendersOutsidePackage') asSymbol ) asRingDefinition. + test_method2_SecondLevelSendersInsidePackageWithTestInside := (('SmTClass','TestP1') asClass >> ('test_','method2_SecondLevelSendersInsidePackageWithTestInside') asSymbol ) asRingDefinition. + test_method2_SecondLevelSendersOutsidePackageWithTestInside := (('SmTClass','TestP1') asClass >> ('test_','method2_SecondLevelSendersOutsidePackageWithTestInside') asSymbol ) asRingDefinition. + test_method2_SecondLevelSendersInsidePackageWithTestOutside := (('SmTClass','TestP2') asClass >> ('test_','method2_SecondLevelSendersInsidePackageWithTestOutside') asSymbol ) asRingDefinition. + test_method2_SecondLevelSendersOutsidePackageWithTestOutside := (('SmTClass','TestP2') asClass >> ('test_','method2_SecondLevelSendersOutsidePackageWithTestOutside') asSymbol ) asRingDefinition. + \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersInsidePackage.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersInsidePackage.st new file mode 100644 index 0000000..eaa8c08 --- /dev/null +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersInsidePackage.st @@ -0,0 +1,13 @@ +tests +testStandardMethodFirstLevelSendersInsidePackage + + "MyMethod1 is called by testMyMethod1, a tests owned by the same package as myMethod1, the only test found should be testMyMethod1" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor:( ('SmTClass','P1') asClass >> ('method1_','FirstLevelSendersInsidePackage') asSymbol). + self assert: testsFound size equals: 1. + self assert: (testsFound includes: test_method1_FirstLevelSendersInsidePackage). + + + \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st new file mode 100644 index 0000000..379ebef --- /dev/null +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st @@ -0,0 +1,12 @@ +tests +testStandardMethodFirstLevelSendersOutsidePackage + + "MyMethod1 is called by testMyMethod2, a test not owned by the same package as myMethod1, thus it should not be found" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClass','P1') asClass >> ('method1_','FirstLevelSendersOutsidePackage') asSymbol). + self assert: (testsFound isEmpty ). + self deny: (testsFound includes: test_method1_FirstLevelSendersOutsidePackage). + + + \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestDefaultPackage.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestInside.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestInside.st similarity index 54% rename from SmartTest.package/SmTSendersFilterTestDefaultPackage.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestInside.st rename to SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestInside.st index 07ebdee..1952597 100644 --- a/SmartTest.package/SmTSendersFilterTestDefaultPackage.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestInside.st +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestInside.st @@ -5,8 +5,9 @@ testStandardMethodSecondLevelSendersInsidePackageWithTestInside We never go out of the package so it's normal." | testsFound | - testsFound := self searchTestMethodsFor:( ('SmTClassDefaultPackage','P1') asClass >> ('p1_','myMethod1_SecondLevelSendersInsidePackageWithTestInside') asSymbol). - self assert: (testsFound includes: test_p1_MyMethod2_SecondLevelSendersInsidePackageWithTestInside ). + testsFound := self searchTestMethodsFor: ( ('SmTClass','P1') asClass >> ('method1_','SecondLevelSendersInsidePackageWithTestInside') asSymbol). + self assert: testsFound size equals: 1. + self assert: (testsFound includes: test_method2_SecondLevelSendersInsidePackageWithTestInside ). \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestDefaultPackage.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestOutside.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestOutside.st similarity index 57% rename from SmartTest.package/SmTSendersFilterTestDefaultPackage.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestOutside.st rename to SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestOutside.st index 0a8ffe8..9424286 100644 --- a/SmartTest.package/SmTSendersFilterTestDefaultPackage.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestOutside.st +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestOutside.st @@ -5,8 +5,9 @@ testStandardMethodSecondLevelSendersInsidePackageWithTestOutside We go out of the package once so it's normal hat the test is not found." | testsFound | - testsFound := self searchTestMethodsFor:( ('SmTClassDefaultPackage','P1') asClass >> ('p1_','myMethod1_SecondLevelSendersInsidePackageWithTestOutside') asSymbol). - self deny: (testsFound includes: test_p2_MyMethod2_SecondLevelSendersInsidePackageWithTestOutside ). + testsFound := self searchTestMethodsFor: ( ('SmTClass','P1') asClass >> ('method1_','SecondLevelSendersInsidePackageWithTestOutside') asSymbol). + self assert: (testsFound isEmpty ). + self deny: (testsFound includes: test_method2_SecondLevelSendersInsidePackageWithTestOutside ). \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestDefaultPackage.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestInside.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestInside.st similarity index 53% rename from SmartTest.package/SmTSendersFilterTestDefaultPackage.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestInside.st rename to SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestInside.st index c63d4f7..22277a9 100644 --- a/SmartTest.package/SmTSendersFilterTestDefaultPackage.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestInside.st +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestInside.st @@ -5,8 +5,9 @@ testStandardMethodSecondLevelSendersOutsidePackageWithTestInside We go out of the package once so it's normal hat the test is not found." | testsFound | - testsFound := self searchTestMethodsFor:( ('SmTClassDefaultPackage','P1') asClass >> ('p1_','myMethod1_SecondLevelSendersOutsidePackageWithTestInside') asSymbol). - self deny: (testsFound includes: test_p1_MyMethod2_SecondLevelSendersOutsidePackageWithTestInside ). + testsFound := self searchTestMethodsFor: ( ('SmTClass','P1') asClass >> ('method1_','SecondLevelSendersOutsidePackageWithTestInside') asSymbol). + self assert: (testsFound isEmpty ). + self deny: (testsFound includes: test_method2_SecondLevelSendersOutsidePackageWithTestInside ). \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestDefaultPackage.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestOutside.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestOutside.st similarity index 53% rename from SmartTest.package/SmTSendersFilterTestDefaultPackage.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestOutside.st rename to SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestOutside.st index 6e1583f..d6fa666 100644 --- a/SmartTest.package/SmTSendersFilterTestDefaultPackage.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestOutside.st +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestOutside.st @@ -5,8 +5,9 @@ testStandardMethodSecondLevelSendersOutsidePackageWithTestOutside We go out of the package once so it's normal hat the test is not found." | testsFound | - testsFound := self searchTestMethodsFor:( ('SmTClassDefaultPackage','P1') asClass >> ('p1_','myMethod1_SecondLevelSendersOutsidePackageWithTestOutside') asSymbol). - self deny: (testsFound includes: test_p2_MyMethod2_SecondLevelSendersOutsidePackageWithTestOutside ). + testsFound := self searchTestMethodsFor: ( ('SmTClass','P1') asClass >> ('method1_','SecondLevelSendersOutsidePackageWithTestOutside') asSymbol). + self assert: (testsFound isEmpty ). + self deny: (testsFound includes: test_method2_SecondLevelSendersOutsidePackageWithTestOutside ). \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/properties.json b/SmartTest.package/SmTFilterAbstractTest.class/properties.json index 94d9af8..637c86c 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/properties.json +++ b/SmartTest.package/SmTFilterAbstractTest.class/properties.json @@ -6,7 +6,13 @@ "pools" : [ ], "classvars" : [ ], "instvars" : [ - "smartFinder" + "smartFinder", + "test_method1_FirstLevelSendersInsidePackage", + "test_method1_FirstLevelSendersOutsidePackage", + "test_method2_SecondLevelSendersInsidePackageWithTestInside", + "test_method2_SecondLevelSendersOutsidePackageWithTestInside", + "test_method2_SecondLevelSendersInsidePackageWithTestOutside", + "test_method2_SecondLevelSendersOutsidePackageWithTestOutside" ], "name" : "SmTFilterAbstractTest", "type" : "normal" diff --git a/SmartTest.package/SmTFinderAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st b/SmartTest.package/SmTFinderAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st deleted file mode 100644 index 23aa1fd..0000000 --- a/SmartTest.package/SmTFinderAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st +++ /dev/null @@ -1,11 +0,0 @@ -test-filter -testStandardMethodFirstLevelSendersOutsidePackage - - | testsFound | - testsFound := self searchTestMethodsFor: SmTClass >> #method2. - - self deny: (testsFound includes: testMethod1). - self assert: (testsFound includes: testMethod2). - self deny: (testsFound includes: testMethod3). - self deny: (testsFound includes: testMethod4). - self deny: (testsFound includes: testMethodOutsidePackage1) \ No newline at end of file diff --git a/SmartTest.package/SmTFinderAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackage2.st b/SmartTest.package/SmTFinderAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackage2.st deleted file mode 100644 index 59edaa7..0000000 --- a/SmartTest.package/SmTFinderAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackage2.st +++ /dev/null @@ -1,10 +0,0 @@ -test-filter -testStandardMethodFirstLevelSendersOutsidePackage2 - - | testsFound | - testsFound := self searchTestMethodsFor: (SmTClassOutside >> #method2). - self deny: (testsFound includes: testMethod1). - self deny: (testsFound includes: testMethod2). - self deny: (testsFound includes: testMethod3). - self deny: (testsFound includes: testMethod4). - self assert: (testsFound includes: testMethodOutsidePackage1) \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/README.md b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/README.md new file mode 100644 index 0000000..31894e6 --- /dev/null +++ b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/README.md @@ -0,0 +1,4 @@ +I test the strategy SendersFinder with the filterDefaultClassPackage. +The filter should accept any test that is owned by : + - the package of the modified method; + - a package that references the class of the modified method. \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/properties.json b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/properties.json new file mode 100644 index 0000000..73a1916 --- /dev/null +++ b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "EleonoreWALD 5/11/2018 13:29", + "super" : "SmTFilterAbstractTest", + "category" : "SmartTest-Tests", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTSendersFilterTestDefaultClassPackage", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestDefaultPackage.class/README.md b/SmartTest.package/SmTSendersFilterTestDefaultPackage.class/README.md index af974f9..9a941d9 100644 --- a/SmartTest.package/SmTSendersFilterTestDefaultPackage.class/README.md +++ b/SmartTest.package/SmTSendersFilterTestDefaultPackage.class/README.md @@ -1,4 +1,3 @@ I test the strategy SendersFinder with the filter DefaultPackage. The filter should accept any test that is owned by : - - the package of the modified method; - - a package that references the class of the modified method. \ No newline at end of file + - the package of the modified method; \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestDefaultPackage.class/instance/setUp.st b/SmartTest.package/SmTSendersFilterTestDefaultPackage.class/instance/setUp.st index 77510f7..1c3f389 100644 --- a/SmartTest.package/SmTSendersFilterTestDefaultPackage.class/instance/setUp.st +++ b/SmartTest.package/SmTSendersFilterTestDefaultPackage.class/instance/setUp.st @@ -1,11 +1,5 @@ running setUp - smartFinder := SmartFinder new. - smartFinder filter: SmTDefaultPackagesFilter new. - test_p1_myMethod1_FirstLevelSendersInsidePackage := (('SmTClass','DefaultPackageTestP1') asClass >> ('test_p1_My','Method1_FirstLevelSendersInsidePackage') asSymbol ) asRingDefinition. - test_p2_myMethod1_FirstLevelSendersOutsidePackage := (('SmTClass','DefaultPackageTestP2') asClass >> ('test_p2_My','Method1_FirstLevelSendersOutsidePackage') asSymbol ) asRingDefinition. - test_p1_MyMethod2_SecondLevelSendersInsidePackageWithTestInside := (('SmTClass','DefaultPackageTestP1') asClass >> ('test_p1_My','Method2_SecondLevelSendersInsidePackageWithTestInside') asSymbol ) asRingDefinition. - test_p1_MyMethod2_SecondLevelSendersOutsidePackageWithTestInside := (('SmTClass','DefaultPackageTestP1') asClass >> ('test_p1_My','Method2_SecondLevelSendersOutsidePackageWithTestInside') asSymbol ) asRingDefinition. - test_p2_MyMethod2_SecondLevelSendersInsidePackageWithTestOutside := (('SmTClass','DefaultPackageTestP2') asClass >> ('test_p2_My','Method2_SecondLevelSendersInsidePackageWithTestOutside') asSymbol ) asRingDefinition. - test_p2_MyMethod2_SecondLevelSendersOutsidePackageWithTestOutside := (('SmTClass','DefaultPackageTestP2') asClass >> ('test_p2_My','Method2_SecondLevelSendersOutsidePackageWithTestOutside') asSymbol ) asRingDefinition. - \ No newline at end of file +"Here we want to test the SmTDefaultPackagesFilter with the static strategy 'sendersFinder' " + super setUp. + smartFinder filter: SmTDefaultPackagesFilter new. \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestDefaultPackage.class/instance/testStandardMethodFirstLevelSendersInsidePackage.st b/SmartTest.package/SmTSendersFilterTestDefaultPackage.class/instance/testStandardMethodFirstLevelSendersInsidePackage.st deleted file mode 100644 index ddab14c..0000000 --- a/SmartTest.package/SmTSendersFilterTestDefaultPackage.class/instance/testStandardMethodFirstLevelSendersInsidePackage.st +++ /dev/null @@ -1,11 +0,0 @@ -tests -testStandardMethodFirstLevelSendersInsidePackage - - "MyMethod1 is called by testMyMethod1, a tests owned by the same package as myMethod1, the only test found should be testMyMethod1" - - | testsFound | - testsFound := self searchTestMethodsFor:( ('SmTClassDefaultPackage','P1') asClass >> ('p1_','myMethod1_FirstLevelSendersInsidePackage') asSymbol). - self assert: (testsFound includes: test_p1_myMethod1_FirstLevelSendersInsidePackage). - - - \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestDefaultPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st b/SmartTest.package/SmTSendersFilterTestDefaultPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st deleted file mode 100644 index fb5ab92..0000000 --- a/SmartTest.package/SmTSendersFilterTestDefaultPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st +++ /dev/null @@ -1,11 +0,0 @@ -tests -testStandardMethodFirstLevelSendersOutsidePackage - - "MyMethod1 is called by testMyMethod2, a test not owned by the same package as myMethod1, thus it should not be found" - - | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClassDefaultPackage','P1') asClass >> ('p1_','myMethod1_FirstLevelSendersInsidePackage') asSymbol). - self deny: (testsFound includes: test_p2_myMethod1_FirstLevelSendersOutsidePackage). - - - \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestDefaultPackage.class/properties.json b/SmartTest.package/SmTSendersFilterTestDefaultPackage.class/properties.json index 9dabce6..bf36865 100644 --- a/SmartTest.package/SmTSendersFilterTestDefaultPackage.class/properties.json +++ b/SmartTest.package/SmTSendersFilterTestDefaultPackage.class/properties.json @@ -1,18 +1,11 @@ { - "commentStamp" : "EleonoreWALD 5/9/2018 16:05", + "commentStamp" : "EleonoreWALD 5/11/2018 13:29", "super" : "SmTFilterAbstractTest", "category" : "SmartTest-Tests", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], - "instvars" : [ - "test_p1_myMethod1_FirstLevelSendersInsidePackage", - "test_p2_myMethod1_FirstLevelSendersOutsidePackage", - "test_p1_MyMethod2_SecondLevelSendersInsidePackageWithTestInside", - "test_p1_MyMethod2_SecondLevelSendersOutsidePackageWithTestInside", - "test_p2_MyMethod2_SecondLevelSendersInsidePackageWithTestOutside", - "test_p2_MyMethod2_SecondLevelSendersOutsidePackageWithTestOutside" - ], + "instvars" : [ ], "name" : "SmTSendersFilterTestDefaultPackage", "type" : "normal" } \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestWithRestrictedPackage.class/README.md b/SmartTest.package/SmTSendersFilterTestWithRestrictedPackage.class/README.md new file mode 100644 index 0000000..b3d4fba --- /dev/null +++ b/SmartTest.package/SmTSendersFilterTestWithRestrictedPackage.class/README.md @@ -0,0 +1,2 @@ +I test the strategy SendersFinder with the filter RestrictedPackage. +The filter should accept any test that is owned by a package whose name matches the regex. \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/setUp.st b/SmartTest.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/setUp.st new file mode 100644 index 0000000..f6a0710 --- /dev/null +++ b/SmartTest.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/setUp.st @@ -0,0 +1,6 @@ +running +setUp + "Here we want to test the SmTDefaultPackagesFilter with the static strategy 'sendersFinder' " + super setUp. + self timeLimit: 60 seconds. + smartFinder filter: (SmTSpecifyPackagesNameFilter packagesRegEx: 'SmartTestDataOutsideP1') new diff --git a/SmartTest.package/SmTSendersFilterTestWithRestrictedPackage.class/properties.json b/SmartTest.package/SmTSendersFilterTestWithRestrictedPackage.class/properties.json new file mode 100644 index 0000000..46f59c2 --- /dev/null +++ b/SmartTest.package/SmTSendersFilterTestWithRestrictedPackage.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "EleonoreWALD 5/11/2018 11:00", + "super" : "SmTFilterAbstractTest", + "category" : "SmartTest-Tests", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTSendersFilterTestWithRestrictedPackage", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassDefaultPackageP1.class/README.md b/SmartTestDataOutsideP1.package/SmTClassDefaultPackageP1.class/README.md deleted file mode 100644 index f2913db..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassDefaultPackageP1.class/README.md +++ /dev/null @@ -1 +0,0 @@ -Data for DefaultPackageFilter tests. diff --git a/SmartTestDataOutsideP1.package/SmTClassDefaultPackageP1.class/instance/p1_myMethod1_FirstLevelSendersInsidePackage.st b/SmartTestDataOutsideP1.package/SmTClassDefaultPackageP1.class/instance/p1_myMethod1_FirstLevelSendersInsidePackage.st deleted file mode 100644 index 883fe73..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassDefaultPackageP1.class/instance/p1_myMethod1_FirstLevelSendersInsidePackage.st +++ /dev/null @@ -1,3 +0,0 @@ -myMethod1 -p1_myMethod1_FirstLevelSendersInsidePackage - "Data for tests" \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassDefaultPackageP1.class/instance/p1_myMethod1_FirstLevelSendersOutsidePackage.st b/SmartTestDataOutsideP1.package/SmTClassDefaultPackageP1.class/instance/p1_myMethod1_FirstLevelSendersOutsidePackage.st deleted file mode 100644 index c18b9bb..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassDefaultPackageP1.class/instance/p1_myMethod1_FirstLevelSendersOutsidePackage.st +++ /dev/null @@ -1,3 +0,0 @@ -myMethod1 -p1_myMethod1_FirstLevelSendersOutsidePackage - "Data for tests" \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassDefaultPackageP1.class/instance/p1_myMethod1_SecondLevelSendersInsidePackageWithTestInside.st b/SmartTestDataOutsideP1.package/SmTClassDefaultPackageP1.class/instance/p1_myMethod1_SecondLevelSendersInsidePackageWithTestInside.st deleted file mode 100644 index 82c1b4d..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassDefaultPackageP1.class/instance/p1_myMethod1_SecondLevelSendersInsidePackageWithTestInside.st +++ /dev/null @@ -1,3 +0,0 @@ -myMethod1 -p1_myMethod1_SecondLevelSendersInsidePackageWithTestInside - "Data for tests" \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassDefaultPackageP1.class/instance/p1_myMethod1_SecondLevelSendersInsidePackageWithTestOutside.st b/SmartTestDataOutsideP1.package/SmTClassDefaultPackageP1.class/instance/p1_myMethod1_SecondLevelSendersInsidePackageWithTestOutside.st deleted file mode 100644 index e691ae2..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassDefaultPackageP1.class/instance/p1_myMethod1_SecondLevelSendersInsidePackageWithTestOutside.st +++ /dev/null @@ -1,3 +0,0 @@ -myMethod1 -p1_myMethod1_SecondLevelSendersInsidePackageWithTestOutside - "Data for tests" \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassDefaultPackageP1.class/instance/p1_myMethod1_SecondLevelSendersOutsidePackageWithTestInside.st b/SmartTestDataOutsideP1.package/SmTClassDefaultPackageP1.class/instance/p1_myMethod1_SecondLevelSendersOutsidePackageWithTestInside.st deleted file mode 100644 index 38c2b4e..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassDefaultPackageP1.class/instance/p1_myMethod1_SecondLevelSendersOutsidePackageWithTestInside.st +++ /dev/null @@ -1,3 +0,0 @@ -myMethod1 -p1_myMethod1_SecondLevelSendersOutsidePackageWithTestInside - "Data for tests" \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassDefaultPackageP1.class/instance/p1_myMethod1_SecondLevelSendersOutsidePackageWithTestOutside.st b/SmartTestDataOutsideP1.package/SmTClassDefaultPackageP1.class/instance/p1_myMethod1_SecondLevelSendersOutsidePackageWithTestOutside.st deleted file mode 100644 index 3a48cd6..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassDefaultPackageP1.class/instance/p1_myMethod1_SecondLevelSendersOutsidePackageWithTestOutside.st +++ /dev/null @@ -1,3 +0,0 @@ -myMethod1 -p1_myMethod1_SecondLevelSendersOutsidePackageWithTestOutside - "Data for tests" \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassDefaultPackageP1.class/instance/p1_myMethod2_SecondLevelSendersInsidePackageWithTestInside.st b/SmartTestDataOutsideP1.package/SmTClassDefaultPackageP1.class/instance/p1_myMethod2_SecondLevelSendersInsidePackageWithTestInside.st deleted file mode 100644 index 61e8586..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassDefaultPackageP1.class/instance/p1_myMethod2_SecondLevelSendersInsidePackageWithTestInside.st +++ /dev/null @@ -1,3 +0,0 @@ -myMethod2 -p1_myMethod2_SecondLevelSendersInsidePackageWithTestInside -^SmTClassDefaultPackageP1 new p1_myMethod1_SecondLevelSendersInsidePackageWithTestInside. \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassDefaultPackageP1.class/instance/p1_myMethod2_SecondLevelSendersInsidePackageWithTestOutside.st b/SmartTestDataOutsideP1.package/SmTClassDefaultPackageP1.class/instance/p1_myMethod2_SecondLevelSendersInsidePackageWithTestOutside.st deleted file mode 100644 index b5c2d66..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassDefaultPackageP1.class/instance/p1_myMethod2_SecondLevelSendersInsidePackageWithTestOutside.st +++ /dev/null @@ -1,3 +0,0 @@ -myMethod2 -p1_myMethod2_SecondLevelSendersInsidePackageWithTestOutside -^SmTClassDefaultPackageP1 new p1_myMethod1_SecondLevelSendersInsidePackageWithTestOutside. \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassDefaultPackageTestP1.class/README.md b/SmartTestDataOutsideP1.package/SmTClassDefaultPackageTestP1.class/README.md deleted file mode 100644 index 602320d..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassDefaultPackageTestP1.class/README.md +++ /dev/null @@ -1 +0,0 @@ -Tests for DefaultPackageFilter tests \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassDefaultPackageTestP1.class/instance/test_p1_MyMethod1_FirstLevelSendersInsidePackage.st b/SmartTestDataOutsideP1.package/SmTClassDefaultPackageTestP1.class/instance/test_p1_MyMethod1_FirstLevelSendersInsidePackage.st deleted file mode 100644 index a479ed1..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassDefaultPackageTestP1.class/instance/test_p1_MyMethod1_FirstLevelSendersInsidePackage.st +++ /dev/null @@ -1,3 +0,0 @@ -tests -test_p1_MyMethod1_FirstLevelSendersInsidePackage - ^ SmTClassDefaultPackageP1 new p1_myMethod1_FirstLevelSendersInsidePackage. \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassDefaultPackageTestP1.class/instance/test_p1_MyMethod2_SecondLevelSendersInsidePackageWithTestInside.st b/SmartTestDataOutsideP1.package/SmTClassDefaultPackageTestP1.class/instance/test_p1_MyMethod2_SecondLevelSendersInsidePackageWithTestInside.st deleted file mode 100644 index a1e563a..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassDefaultPackageTestP1.class/instance/test_p1_MyMethod2_SecondLevelSendersInsidePackageWithTestInside.st +++ /dev/null @@ -1,3 +0,0 @@ -tests -test_p1_MyMethod2_SecondLevelSendersInsidePackageWithTestInside - ^ SmTClassDefaultPackageP1 new p1_myMethod2_SecondLevelSendersInsidePackageWithTestInside. \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassDefaultPackageTestP1.class/instance/test_p1_MyMethod2_SecondLevelSendersOutsidePackageWithTestInside.st b/SmartTestDataOutsideP1.package/SmTClassDefaultPackageTestP1.class/instance/test_p1_MyMethod2_SecondLevelSendersOutsidePackageWithTestInside.st deleted file mode 100644 index 66d87de..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassDefaultPackageTestP1.class/instance/test_p1_MyMethod2_SecondLevelSendersOutsidePackageWithTestInside.st +++ /dev/null @@ -1,3 +0,0 @@ -tests -test_p1_MyMethod2_SecondLevelSendersOutsidePackageWithTestInside - ^ SmTClassDefaultPackageP2 new p2_myMethod2_SecondLevelSendersOutsidePackageWithTestInside. \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1.class/README.md b/SmartTestDataOutsideP1.package/SmTClassP1.class/README.md new file mode 100644 index 0000000..fbc8827 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassP1.class/README.md @@ -0,0 +1,8 @@ +Data for SmartTest tests on the filters (default, defaultClass, restricted package). + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). + +This class is not referenced anywhere (we used concatenation to be sure). diff --git a/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1_FirstLevelSendersInsidePackage.st b/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1_FirstLevelSendersInsidePackage.st new file mode 100644 index 0000000..256ac14 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1_FirstLevelSendersInsidePackage.st @@ -0,0 +1,5 @@ +method1 +method1_FirstLevelSendersInsidePackage + "Data for tests: method directly called by a test method from the same package" + +" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1_FirstLevelSendersOutsidePackage.st b/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1_FirstLevelSendersOutsidePackage.st new file mode 100644 index 0000000..9082af5 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1_FirstLevelSendersOutsidePackage.st @@ -0,0 +1,5 @@ +method1 +method1_FirstLevelSendersOutsidePackage + "Data for tests: method directly called by a test method but not from the same package" + +" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1_SecondLevelSendersInsidePackageWithTestInside.st b/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1_SecondLevelSendersInsidePackageWithTestInside.st new file mode 100644 index 0000000..fbdcdf0 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1_SecondLevelSendersInsidePackageWithTestInside.st @@ -0,0 +1,5 @@ +method1 +method1_SecondLevelSendersInsidePackageWithTestInside + "Data for tests: method called by another method , which itself is called by a test from the same package" + +" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1_SecondLevelSendersInsidePackageWithTestOutside.st b/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1_SecondLevelSendersInsidePackageWithTestOutside.st new file mode 100644 index 0000000..4ec8437 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1_SecondLevelSendersInsidePackageWithTestOutside.st @@ -0,0 +1,5 @@ +method1 +method1_SecondLevelSendersInsidePackageWithTestOutside + "Data for tests: method called by another method from the same package, which itself is called by a test not from the same package" + +" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1_SecondLevelSendersOutsidePackageWithTestInside.st b/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1_SecondLevelSendersOutsidePackageWithTestInside.st new file mode 100644 index 0000000..89542d2 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1_SecondLevelSendersOutsidePackageWithTestInside.st @@ -0,0 +1,5 @@ +method1 +method1_SecondLevelSendersOutsidePackageWithTestInside + "Data for tests: method called by another method not from the same package, which itself is called by a test from the same package" + +" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1_SecondLevelSendersOutsidePackageWithTestOutside.st b/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1_SecondLevelSendersOutsidePackageWithTestOutside.st new file mode 100644 index 0000000..2978324 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1_SecondLevelSendersOutsidePackageWithTestOutside.st @@ -0,0 +1,5 @@ +method1 +method1_SecondLevelSendersOutsidePackageWithTestOutside + "Data for tests: method called by another method not from the same package, which itself is called by a test not from the same package" + +" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method2_SecondLevelSendersInsidePackageWithTestInside.st b/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method2_SecondLevelSendersInsidePackageWithTestInside.st new file mode 100644 index 0000000..ec51b12 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method2_SecondLevelSendersInsidePackageWithTestInside.st @@ -0,0 +1,5 @@ +method2 +method2_SecondLevelSendersInsidePackageWithTestInside + "Data for tests: this method calls a method from the same package, + this method is called by a test from the same package" +^ ('SmTClass','P1') asClass new method1_SecondLevelSendersInsidePackageWithTestInside. \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method2_SecondLevelSendersInsidePackageWithTestOutside.st b/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method2_SecondLevelSendersInsidePackageWithTestOutside.st new file mode 100644 index 0000000..aeaffba --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method2_SecondLevelSendersInsidePackageWithTestOutside.st @@ -0,0 +1,5 @@ +method2 +method2_SecondLevelSendersInsidePackageWithTestOutside + "Data for tests: this method calls a method from the same package, + this method is called by a test not from the same package" +^('SmTClass','P1') asClass new method1_SecondLevelSendersInsidePackageWithTestOutside. \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassDefaultPackageP1.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1.class/properties.json similarity index 65% rename from SmartTestDataOutsideP1.package/SmTClassDefaultPackageP1.class/properties.json rename to SmartTestDataOutsideP1.package/SmTClassP1.class/properties.json index 7888a5d..6df9d0d 100644 --- a/SmartTestDataOutsideP1.package/SmTClassDefaultPackageP1.class/properties.json +++ b/SmartTestDataOutsideP1.package/SmTClassP1.class/properties.json @@ -1,11 +1,11 @@ { - "commentStamp" : "EleonoreWALD 5/9/2018 13:04", + "commentStamp" : "EleonoreWALD 5/11/2018 13:40", "super" : "Object", "category" : "SmartTestDataOutsideP1", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], "instvars" : [ ], - "name" : "SmTClassDefaultPackageP1", + "name" : "SmTClassP1", "type" : "normal" } \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassTestP1.class/README.md b/SmartTestDataOutsideP1.package/SmTClassTestP1.class/README.md new file mode 100644 index 0000000..94f49e6 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassTestP1.class/README.md @@ -0,0 +1,8 @@ +Data for SmartTest tests on the filters (default, defaultClass, restricted package). + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are controlled and consequently the tests are independent the one from the others. + +In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). + +If the name of the test contains 'method2', the test use the method method2, if the test contains 'method1', the test directly uses the modified method. diff --git a/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/test_method1_FirstLevelSendersInsidePackage.st b/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/test_method1_FirstLevelSendersInsidePackage.st new file mode 100644 index 0000000..53296bd --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/test_method1_FirstLevelSendersInsidePackage.st @@ -0,0 +1,4 @@ +testMethod1 +test_method1_FirstLevelSendersInsidePackage +"Data for tests: this method calls directly a method from the same package." + ^ ('SmTClass','P1') asClass new method1_FirstLevelSendersInsidePackage. \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/test_method2_SecondLevelSendersInsidePackageWithTestInside.st b/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/test_method2_SecondLevelSendersInsidePackageWithTestInside.st new file mode 100644 index 0000000..5f9ea15 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/test_method2_SecondLevelSendersInsidePackageWithTestInside.st @@ -0,0 +1,3 @@ +testMethod2 +test_method2_SecondLevelSendersInsidePackageWithTestInside + ^ ('SmTClass','P1') asClass new method2_SecondLevelSendersInsidePackageWithTestInside. \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/test_method2_SecondLevelSendersOutsidePackageWithTestInside.st b/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/test_method2_SecondLevelSendersOutsidePackageWithTestInside.st new file mode 100644 index 0000000..c18e0c0 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/test_method2_SecondLevelSendersOutsidePackageWithTestInside.st @@ -0,0 +1,3 @@ +testMethod2 +test_method2_SecondLevelSendersOutsidePackageWithTestInside + ^ ('SmTClass','P2') asClass new method2_SecondLevelSendersOutsidePackageWithTestInside. \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassDefaultPackageTestP1.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassTestP1.class/properties.json similarity index 64% rename from SmartTestDataOutsideP1.package/SmTClassDefaultPackageTestP1.class/properties.json rename to SmartTestDataOutsideP1.package/SmTClassTestP1.class/properties.json index 48c0d2c..f3fdeb0 100644 --- a/SmartTestDataOutsideP1.package/SmTClassDefaultPackageTestP1.class/properties.json +++ b/SmartTestDataOutsideP1.package/SmTClassTestP1.class/properties.json @@ -1,11 +1,11 @@ { - "commentStamp" : "EleonoreWALD 5/9/2018 13:03", + "commentStamp" : "EleonoreWALD 5/11/2018 11:54", "super" : "TestCase", "category" : "SmartTestDataOutsideP1", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], "instvars" : [ ], - "name" : "SmTClassDefaultPackageTestP1", + "name" : "SmTClassTestP1", "type" : "normal" } \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassDefaultPackageP2.class/README.md b/SmartTestDataOutsideP2.package/SmTClassDefaultPackageP2.class/README.md deleted file mode 100644 index 53fad17..0000000 --- a/SmartTestDataOutsideP2.package/SmTClassDefaultPackageP2.class/README.md +++ /dev/null @@ -1 +0,0 @@ -Data Outside of package 1 for DefaultPackageFilter tests. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassDefaultPackageP2.class/instance/p2_myMethod2_SecondLevelSendersOutsidePackageWithTestInside.st b/SmartTestDataOutsideP2.package/SmTClassDefaultPackageP2.class/instance/p2_myMethod2_SecondLevelSendersOutsidePackageWithTestInside.st deleted file mode 100644 index 8da3775..0000000 --- a/SmartTestDataOutsideP2.package/SmTClassDefaultPackageP2.class/instance/p2_myMethod2_SecondLevelSendersOutsidePackageWithTestInside.st +++ /dev/null @@ -1,3 +0,0 @@ -as yet unclassified -p2_myMethod2_SecondLevelSendersOutsidePackageWithTestInside -^SmTClassDefaultPackageP1 new p1_myMethod1_SecondLevelSendersOutsidePackageWithTestInside \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassDefaultPackageP2.class/instance/p2_myMethod2_SecondLevelSendersOutsidePackageWithTestOutside.st b/SmartTestDataOutsideP2.package/SmTClassDefaultPackageP2.class/instance/p2_myMethod2_SecondLevelSendersOutsidePackageWithTestOutside.st deleted file mode 100644 index 7890349..0000000 --- a/SmartTestDataOutsideP2.package/SmTClassDefaultPackageP2.class/instance/p2_myMethod2_SecondLevelSendersOutsidePackageWithTestOutside.st +++ /dev/null @@ -1,3 +0,0 @@ -as yet unclassified -p2_myMethod2_SecondLevelSendersOutsidePackageWithTestOutside -^SmTClassDefaultPackageP1 new p1_myMethod1_SecondLevelSendersOutsidePackageWithTestOutside \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassDefaultPackageTestP2.class/README.md b/SmartTestDataOutsideP2.package/SmTClassDefaultPackageTestP2.class/README.md deleted file mode 100644 index 9904883..0000000 --- a/SmartTestDataOutsideP2.package/SmTClassDefaultPackageTestP2.class/README.md +++ /dev/null @@ -1 +0,0 @@ -Tests for DefaultPackageFilter tests outside of package 1. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassDefaultPackageTestP2.class/instance/test_p2_MyMethod1_FirstLevelSendersOutsidePackage.st b/SmartTestDataOutsideP2.package/SmTClassDefaultPackageTestP2.class/instance/test_p2_MyMethod1_FirstLevelSendersOutsidePackage.st deleted file mode 100644 index 7e448f6..0000000 --- a/SmartTestDataOutsideP2.package/SmTClassDefaultPackageTestP2.class/instance/test_p2_MyMethod1_FirstLevelSendersOutsidePackage.st +++ /dev/null @@ -1,3 +0,0 @@ -tests -test_p2_MyMethod1_FirstLevelSendersOutsidePackage - ^ SmTClassDefaultPackageP1 new p1_myMethod1_FirstLevelSendersOutsidePackage. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassDefaultPackageTestP2.class/instance/test_p2_MyMethod2_SecondLevelSendersInsidePackageWithTestOutside.st b/SmartTestDataOutsideP2.package/SmTClassDefaultPackageTestP2.class/instance/test_p2_MyMethod2_SecondLevelSendersInsidePackageWithTestOutside.st deleted file mode 100644 index 3c5784b..0000000 --- a/SmartTestDataOutsideP2.package/SmTClassDefaultPackageTestP2.class/instance/test_p2_MyMethod2_SecondLevelSendersInsidePackageWithTestOutside.st +++ /dev/null @@ -1,3 +0,0 @@ -tests -test_p2_MyMethod2_SecondLevelSendersInsidePackageWithTestOutside - ^ SmTClassDefaultPackageP1 new p1_myMethod2_SecondLevelSendersInsidePackageWithTestOutside. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassDefaultPackageTestP2.class/instance/test_p2_MyMethod2_SecondLevelSendersOutsidePackageWithTestOutside.st b/SmartTestDataOutsideP2.package/SmTClassDefaultPackageTestP2.class/instance/test_p2_MyMethod2_SecondLevelSendersOutsidePackageWithTestOutside.st deleted file mode 100644 index ec8cfb4..0000000 --- a/SmartTestDataOutsideP2.package/SmTClassDefaultPackageTestP2.class/instance/test_p2_MyMethod2_SecondLevelSendersOutsidePackageWithTestOutside.st +++ /dev/null @@ -1,3 +0,0 @@ -tests -test_p2_MyMethod2_SecondLevelSendersOutsidePackageWithTestOutside - ^ SmTClassDefaultPackageP2 new p2_myMethod2_SecondLevelSendersOutsidePackageWithTestOutside. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassP2.class/README.md b/SmartTestDataOutsideP2.package/SmTClassP2.class/README.md new file mode 100644 index 0000000..da2fcc4 --- /dev/null +++ b/SmartTestDataOutsideP2.package/SmTClassP2.class/README.md @@ -0,0 +1,10 @@ +Data for SmartTest tests on the filters (default, defaultClass, restricted package). + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). + +This class is not referenced anywhere (we used concatenation to be sure). + +The methods and tests in this package are not located in the same package as the modified method. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassP2.class/instance/method2_SecondLevelSendersOutsidePackageWithTestInside.st b/SmartTestDataOutsideP2.package/SmTClassP2.class/instance/method2_SecondLevelSendersOutsidePackageWithTestInside.st new file mode 100644 index 0000000..30cea86 --- /dev/null +++ b/SmartTestDataOutsideP2.package/SmTClassP2.class/instance/method2_SecondLevelSendersOutsidePackageWithTestInside.st @@ -0,0 +1,5 @@ +method2 +method2_SecondLevelSendersOutsidePackageWithTestInside + "Data for tests: this method calls a method not from the same package (located in SmartTestDataOutsideP1), + this method is called by a test from the same package" +^ ('SmTClass','P1') asClass new method1_SecondLevelSendersOutsidePackageWithTestInside \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassP2.class/instance/method2_SecondLevelSendersOutsidePackageWithTestOutside.st b/SmartTestDataOutsideP2.package/SmTClassP2.class/instance/method2_SecondLevelSendersOutsidePackageWithTestOutside.st new file mode 100644 index 0000000..7ae09f5 --- /dev/null +++ b/SmartTestDataOutsideP2.package/SmTClassP2.class/instance/method2_SecondLevelSendersOutsidePackageWithTestOutside.st @@ -0,0 +1,5 @@ +method2 +method2_SecondLevelSendersOutsidePackageWithTestOutside + "Data for tests: this method calls a method not from the same package (located in SmartTestDataOutsideP1), + this method is called by a test not from the same package (located in SmartTestDataOutsideP1)" +^ ('SmTClass','P1') asClass new method1_SecondLevelSendersOutsidePackageWithTestOutside \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassDefaultPackageP2.class/properties.json b/SmartTestDataOutsideP2.package/SmTClassP2.class/properties.json similarity index 64% rename from SmartTestDataOutsideP2.package/SmTClassDefaultPackageP2.class/properties.json rename to SmartTestDataOutsideP2.package/SmTClassP2.class/properties.json index c9eb4cb..1095c2d 100644 --- a/SmartTestDataOutsideP2.package/SmTClassDefaultPackageP2.class/properties.json +++ b/SmartTestDataOutsideP2.package/SmTClassP2.class/properties.json @@ -1,11 +1,11 @@ { - "commentStamp" : "EleonoreWALD 5/11/2018 10:19", + "commentStamp" : "EleonoreWALD 5/11/2018 13:40", "super" : "Object", "category" : "SmartTestDataOutsideP2", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], "instvars" : [ ], - "name" : "SmTClassDefaultPackageP2", + "name" : "SmTClassP2", "type" : "normal" } \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2.class/README.md b/SmartTestDataOutsideP2.package/SmTClassTestP2.class/README.md new file mode 100644 index 0000000..e6913c5 --- /dev/null +++ b/SmartTestDataOutsideP2.package/SmTClassTestP2.class/README.md @@ -0,0 +1,11 @@ +Data for SmartTest tests on the filters (default, defaultClass, restricted package). + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are controlled and consequently the tests are independent the one from the others. + +In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). + +If the name of the test contains 'method2', the test use the method method2, if the test contains 'method1', the test directly uses the modified method. + + +The methods and tests in this package are not located in the same package as the modified method. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/test_method1_FirstLevelSendersOutsidePackage.st b/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/test_method1_FirstLevelSendersOutsidePackage.st new file mode 100644 index 0000000..9050148 --- /dev/null +++ b/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/test_method1_FirstLevelSendersOutsidePackage.st @@ -0,0 +1,4 @@ +testMethod1 +test_method1_FirstLevelSendersOutsidePackage + "Data for tests: this method calls directly method1, which is not located in the same package" + ^ ('SmTClass','P1') asClass new method1_FirstLevelSendersOutsidePackage. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/test_method2_SecondLevelSendersInsidePackageWithTestOutside.st b/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/test_method2_SecondLevelSendersInsidePackageWithTestOutside.st new file mode 100644 index 0000000..9baecf2 --- /dev/null +++ b/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/test_method2_SecondLevelSendersInsidePackageWithTestOutside.st @@ -0,0 +1,4 @@ +testMethod2 +test_method2_SecondLevelSendersInsidePackageWithTestOutside + "Data for tests: this method calls a method not from the same package, which itself calls a method. Both are not from the same package as this test (both are located in SmartTestDataOutsideP1)" + ^ ('SmTClass','P1') asClass new method2_SecondLevelSendersInsidePackageWithTestOutside. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/test_method2_SecondLevelSendersOutsidePackageWithTestOutside.st b/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/test_method2_SecondLevelSendersOutsidePackageWithTestOutside.st new file mode 100644 index 0000000..ddb28a1 --- /dev/null +++ b/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/test_method2_SecondLevelSendersOutsidePackageWithTestOutside.st @@ -0,0 +1,4 @@ +testMethod2 +test_method2_SecondLevelSendersOutsidePackageWithTestOutside +"Data for tests: this method calls a method from the same package (located in SmartTestDataOutsideP1), which itself calls a method not from the same package (located in SmartTestDataOutsideP1)" + ^ ('SmTClass','P2') asClass new method2_SecondLevelSendersOutsidePackageWithTestOutside. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassDefaultPackageTestP2.class/properties.json b/SmartTestDataOutsideP2.package/SmTClassTestP2.class/properties.json similarity index 64% rename from SmartTestDataOutsideP2.package/SmTClassDefaultPackageTestP2.class/properties.json rename to SmartTestDataOutsideP2.package/SmTClassTestP2.class/properties.json index 5e5ad72..6af315c 100644 --- a/SmartTestDataOutsideP2.package/SmTClassDefaultPackageTestP2.class/properties.json +++ b/SmartTestDataOutsideP2.package/SmTClassTestP2.class/properties.json @@ -1,11 +1,11 @@ { - "commentStamp" : "EleonoreWALD 5/11/2018 10:20", + "commentStamp" : "EleonoreWALD 5/11/2018 11:55", "super" : "TestCase", "category" : "SmartTestDataOutsideP2", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], "instvars" : [ ], - "name" : "SmTClassDefaultPackageTestP2", + "name" : "SmTClassTestP2", "type" : "normal" } \ No newline at end of file diff --git a/SmartTestDataOutsideP3.package/.filetree b/SmartTestDataOutsideP3.package/.filetree new file mode 100644 index 0000000..57a6797 --- /dev/null +++ b/SmartTestDataOutsideP3.package/.filetree @@ -0,0 +1,5 @@ +{ + "separateMethodMetaAndSource" : false, + "noMethodMetaData" : true, + "useCypressPropertiesFile" : true +} \ No newline at end of file diff --git a/SmartTestDataOutsideP3.package/SmTClassP3.class/README.md b/SmartTestDataOutsideP3.package/SmTClassP3.class/README.md new file mode 100644 index 0000000..c063587 --- /dev/null +++ b/SmartTestDataOutsideP3.package/SmTClassP3.class/README.md @@ -0,0 +1,9 @@ +Data for SmartTest tests on the filters (default, defaultClass, restricted package). + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). + + +The methods and tests in this package are not located in the same package as the modified method. \ No newline at end of file diff --git a/SmartTestDataOutsideP3.package/SmTClassP3.class/properties.json b/SmartTestDataOutsideP3.package/SmTClassP3.class/properties.json new file mode 100644 index 0000000..c339b7a --- /dev/null +++ b/SmartTestDataOutsideP3.package/SmTClassP3.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "EleonoreWALD 5/11/2018 13:39", + "super" : "Object", + "category" : "SmartTestDataOutsideP3", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTClassP3", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTestDataOutsideP3.package/SmTClassTestP3.class/README.md b/SmartTestDataOutsideP3.package/SmTClassTestP3.class/README.md new file mode 100644 index 0000000..0d5ab97 --- /dev/null +++ b/SmartTestDataOutsideP3.package/SmTClassTestP3.class/README.md @@ -0,0 +1,11 @@ +Data for SmartTest tests on the filters (defaultClass). + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are controlled and consequently the tests are independent the one from the others. + +In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). + +If the name of the test contains 'method2', the test use the method method2, if the test contains 'method1', the test directly uses the modified method. + + +The methods and tests in this package are not located in the same package as the modified method. \ No newline at end of file diff --git a/SmartTestDataOutsideP3.package/SmTClassTestP3.class/properties.json b/SmartTestDataOutsideP3.package/SmTClassTestP3.class/properties.json new file mode 100644 index 0000000..47afeb8 --- /dev/null +++ b/SmartTestDataOutsideP3.package/SmTClassTestP3.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "EleonoreWALD 5/11/2018 13:41", + "super" : "Object", + "category" : "SmartTestDataOutsideP3", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTClassTestP3", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTestDataOutsideP3.package/monticello.meta/categories.st b/SmartTestDataOutsideP3.package/monticello.meta/categories.st new file mode 100644 index 0000000..e9a01f5 --- /dev/null +++ b/SmartTestDataOutsideP3.package/monticello.meta/categories.st @@ -0,0 +1 @@ +SystemOrganization addCategory: #SmartTestDataOutsideP3! diff --git a/SmartTestDataOutsideP3.package/monticello.meta/initializers.st b/SmartTestDataOutsideP3.package/monticello.meta/initializers.st new file mode 100644 index 0000000..e69de29 diff --git a/SmartTestDataOutsideP3.package/monticello.meta/package b/SmartTestDataOutsideP3.package/monticello.meta/package new file mode 100644 index 0000000..5652444 --- /dev/null +++ b/SmartTestDataOutsideP3.package/monticello.meta/package @@ -0,0 +1 @@ +(name 'SmartTestDataOutsideP3') \ No newline at end of file diff --git a/SmartTestDataOutsideP3.package/properties.json b/SmartTestDataOutsideP3.package/properties.json new file mode 100644 index 0000000..6f31cf5 --- /dev/null +++ b/SmartTestDataOutsideP3.package/properties.json @@ -0,0 +1 @@ +{ } \ No newline at end of file From e3495a61a302f7310aacfce6c60842b9a731b96d Mon Sep 17 00:00:00 2001 From: badetitou Date: Sun, 13 May 2018 14:59:22 +0200 Subject: [PATCH 041/150] ~ Update class name outside ~ Update baseline --- .../BaselineOfSmartTest.class/instance/baseline..st | 6 +++++- .../README.md | 0 .../instance/method2.st | 0 .../properties.json | 2 +- .../instance/testMethodOutSidePackage1.st | 2 +- 5 files changed, 7 insertions(+), 3 deletions(-) rename SmT_TestData.package/{SmTClassOutSide.class => SmTClassOutside.class}/README.md (100%) rename SmT_TestData.package/{SmTClassOutSide.class => SmTClassOutside.class}/instance/method2.st (100%) rename SmT_TestData.package/{SmTClassOutSide.class => SmTClassOutside.class}/properties.json (87%) diff --git a/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/baseline..st b/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/baseline..st index df56072..2f75726 100644 --- a/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/baseline..st +++ b/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/baseline..st @@ -7,5 +7,9 @@ baseline: spec spec repository: 'github://badetitou/SmartTest' ; package: 'SmartTest'; + package: 'SmartTestDataOutsideP1' with: [ spec requires: #('SmartTest') ]; + package: 'SmartTestDataOutsideP2' with: [ spec requires: #('SmartTest') ]; + package: 'SmartTestDataOutsideP3' with: [ spec requires: #('SmartTest') ]; + package: 'SmT_TestData' with: [ spec requires: #('SmartTest') ]; group: 'default' - with: #('SmartTest')] \ No newline at end of file + with: #('SmartTest' 'SmartTestDataOutsideP1' 'SmartTestDataOutsideP2' 'SmartTestDataOutsideP3' 'SmT_TestData')] \ No newline at end of file diff --git a/SmT_TestData.package/SmTClassOutSide.class/README.md b/SmT_TestData.package/SmTClassOutside.class/README.md similarity index 100% rename from SmT_TestData.package/SmTClassOutSide.class/README.md rename to SmT_TestData.package/SmTClassOutside.class/README.md diff --git a/SmT_TestData.package/SmTClassOutSide.class/instance/method2.st b/SmT_TestData.package/SmTClassOutside.class/instance/method2.st similarity index 100% rename from SmT_TestData.package/SmTClassOutSide.class/instance/method2.st rename to SmT_TestData.package/SmTClassOutside.class/instance/method2.st diff --git a/SmT_TestData.package/SmTClassOutSide.class/properties.json b/SmT_TestData.package/SmTClassOutside.class/properties.json similarity index 87% rename from SmT_TestData.package/SmTClassOutSide.class/properties.json rename to SmT_TestData.package/SmTClassOutside.class/properties.json index febaf74..ca54bf4 100644 --- a/SmT_TestData.package/SmTClassOutSide.class/properties.json +++ b/SmT_TestData.package/SmTClassOutside.class/properties.json @@ -6,6 +6,6 @@ "pools" : [ ], "classvars" : [ ], "instvars" : [ ], - "name" : "SmTClassOutSide", + "name" : "SmTClassOutside", "type" : "normal" } \ No newline at end of file diff --git a/SmT_TestData.package/SmTClassOutsideTest.class/instance/testMethodOutSidePackage1.st b/SmT_TestData.package/SmTClassOutsideTest.class/instance/testMethodOutSidePackage1.st index f6b04dd..89fd4b7 100644 --- a/SmT_TestData.package/SmTClassOutsideTest.class/instance/testMethodOutSidePackage1.st +++ b/SmT_TestData.package/SmTClassOutsideTest.class/instance/testMethodOutSidePackage1.st @@ -1,5 +1,5 @@ tests testMethodOutSidePackage1 "this is data for SmTFinderAbstractTest tests" - ^ SmTClassOutSide new method2 + ^ SmTClassOutside new method2 \ No newline at end of file From 585a11c0e4d12593344aa83b80aa3fff092d3b94 Mon Sep 17 00:00:00 2001 From: badetitou Date: Sun, 13 May 2018 15:04:11 +0200 Subject: [PATCH 042/150] ~ Some rename --- ...estMethodOutSidePackage1.st => testMethodOutsidePackage1.st} | 2 +- ...estMethodOutSidePackage1.st => testMethodOutsidePackage1.st} | 0 SmartTest.package/SmTFinderAbstractTest.class/instance/setUp.st | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename SmT_TestData.package/SmTClassOutsideTest.class/instance/{testMethodOutSidePackage1.st => testMethodOutsidePackage1.st} (76%) rename SmartTest.package/SmTClassTest.class/instance/{testMethodOutSidePackage1.st => testMethodOutsidePackage1.st} (100%) diff --git a/SmT_TestData.package/SmTClassOutsideTest.class/instance/testMethodOutSidePackage1.st b/SmT_TestData.package/SmTClassOutsideTest.class/instance/testMethodOutsidePackage1.st similarity index 76% rename from SmT_TestData.package/SmTClassOutsideTest.class/instance/testMethodOutSidePackage1.st rename to SmT_TestData.package/SmTClassOutsideTest.class/instance/testMethodOutsidePackage1.st index 89fd4b7..223bad1 100644 --- a/SmT_TestData.package/SmTClassOutsideTest.class/instance/testMethodOutSidePackage1.st +++ b/SmT_TestData.package/SmTClassOutsideTest.class/instance/testMethodOutsidePackage1.st @@ -1,5 +1,5 @@ tests -testMethodOutSidePackage1 +testMethodOutsidePackage1 "this is data for SmTFinderAbstractTest tests" ^ SmTClassOutside new method2 \ No newline at end of file diff --git a/SmartTest.package/SmTClassTest.class/instance/testMethodOutSidePackage1.st b/SmartTest.package/SmTClassTest.class/instance/testMethodOutsidePackage1.st similarity index 100% rename from SmartTest.package/SmTClassTest.class/instance/testMethodOutSidePackage1.st rename to SmartTest.package/SmTClassTest.class/instance/testMethodOutsidePackage1.st diff --git a/SmartTest.package/SmTFinderAbstractTest.class/instance/setUp.st b/SmartTest.package/SmTFinderAbstractTest.class/instance/setUp.st index a81c4a1..f460fc2 100644 --- a/SmartTest.package/SmTFinderAbstractTest.class/instance/setUp.st +++ b/SmartTest.package/SmTFinderAbstractTest.class/instance/setUp.st @@ -14,4 +14,4 @@ setUp selector: #testMethod1 isMetaSide: false) . testMethodOutsidePackage1 := (SmTClassOutsideTest >> #testMethodOutsidePackage1) asRingDefinition. - testMethod1OutsidePackage := (SmTClassOutsideTest >> #testMethod1OutsidePackage) asRingDefinition. + "testMethod1OutsidePackage := (SmTClassOutsideTest >> #testMethod1OutsidePackage) asRingDefinition." From 1e963d82a642d99e7e0ee5ac74cffec20eb68453 Mon Sep 17 00:00:00 2001 From: badetitou Date: Sun, 13 May 2018 16:02:20 +0200 Subject: [PATCH 043/150] try removing --- .../ManifestSmartTest.class/class/preUnload.st | 4 ++-- .../instance/title.st | 5 ----- SmartTest.package/SmTListener.class/README.md | 1 - .../SmTListener.class/class/disable.st | 3 --- .../SmTListener.class/class/enable.st | 3 --- .../SmTListener.class/class/initialize.st | 3 --- .../SmTListener.class/class/uniqueInstance.st | 3 --- .../instance/addToElementBag..st | 3 --- .../SmTListener.class/instance/methodAdded..st | 3 --- .../instance/methodModified..st | 3 --- .../SmTListener.class/properties.json | 16 ---------------- .../instance/title.st | 5 ----- .../instance/testAdd.st | 9 ++++----- .../instance/testGet.st | 15 +++++++-------- .../instance/hasModifications.st | 3 --- .../instance/initializeRule.target.testsList..st | 3 +-- .../instance/title.st | 2 +- .../properties.json | 1 - .../SmTRules.class/class/strategy..st | 4 +--- .../instance/testRunCaseNotifyIconYellow.st | 2 +- .../instance/testRunCasesNotifyIconGreen.st | 7 ++++++- .../instance/testRunCasesNotifyIconRed.st | 9 +++++++-- .../{class => instance}/disable.st | 0 .../{class => instance}/enable.st | 0 .../class/disable.st | 4 ---- .../class/enable.st | 4 ---- .../instance/addToElementBag..st | 3 +++ .../instance/bag.st | 3 +++ .../instance/disable.st | 3 ++- .../instance/doFindTestsForMethod..st | 3 ++- .../instance/enable.st | 3 ++- .../instance/findTestsForMethod..st | 3 ++- .../instance/getElementFromBag..st | 6 ++++++ .../instance/initialize.st | 2 +- .../instance/methodAdded..st | 3 +++ .../instance/methodModified..st | 3 +++ .../properties.json | 4 +++- .../{class => instance}/disable.st | 0 .../{class => instance}/enable.st | 0 .../instance/testingStrategy..st | 7 +++++-- 40 files changed, 65 insertions(+), 93 deletions(-) delete mode 100644 SmartTest.package/SmTClassRelativeTestsCritique.class/instance/title.st delete mode 100644 SmartTest.package/SmTListener.class/README.md delete mode 100644 SmartTest.package/SmTListener.class/class/disable.st delete mode 100644 SmartTest.package/SmTListener.class/class/enable.st delete mode 100644 SmartTest.package/SmTListener.class/class/initialize.st delete mode 100644 SmartTest.package/SmTListener.class/class/uniqueInstance.st delete mode 100644 SmartTest.package/SmTListener.class/instance/addToElementBag..st delete mode 100644 SmartTest.package/SmTListener.class/instance/methodAdded..st delete mode 100644 SmartTest.package/SmTListener.class/instance/methodModified..st delete mode 100644 SmartTest.package/SmTListener.class/properties.json delete mode 100644 SmartTest.package/SmTMethodRelativeTestsCritique.class/instance/title.st delete mode 100644 SmartTest.package/SmTRelativeTestsCritique.class/instance/hasModifications.st rename SmartTest.package/SmTTestingStrategy.class/{class => instance}/disable.st (100%) rename SmartTest.package/SmTTestingStrategy.class/{class => instance}/enable.st (100%) delete mode 100644 SmartTest.package/SmTTestingStrategyEachModification.class/class/disable.st delete mode 100644 SmartTest.package/SmTTestingStrategyEachModification.class/class/enable.st create mode 100644 SmartTest.package/SmTTestingStrategyEachModification.class/instance/addToElementBag..st create mode 100644 SmartTest.package/SmTTestingStrategyEachModification.class/instance/bag.st rename SmartTest.package/{SmTListener.class => SmTTestingStrategyEachModification.class}/instance/disable.st (53%) rename SmartTest.package/{SmTListener.class => SmTTestingStrategyEachModification.class}/instance/enable.st (81%) create mode 100644 SmartTest.package/SmTTestingStrategyEachModification.class/instance/getElementFromBag..st create mode 100644 SmartTest.package/SmTTestingStrategyEachModification.class/instance/methodAdded..st create mode 100644 SmartTest.package/SmTTestingStrategyEachModification.class/instance/methodModified..st rename SmartTest.package/SmTTestingStrategyFiveMinutes.class/{class => instance}/disable.st (100%) rename SmartTest.package/SmTTestingStrategyFiveMinutes.class/{class => instance}/enable.st (100%) diff --git a/SmartTest.package/ManifestSmartTest.class/class/preUnload.st b/SmartTest.package/ManifestSmartTest.class/class/preUnload.st index 631df91..d881a46 100644 --- a/SmartTest.package/ManifestSmartTest.class/class/preUnload.st +++ b/SmartTest.package/ManifestSmartTest.class/class/preUnload.st @@ -1,4 +1,4 @@ meta-data preUnload - super preUnload. - SmTListener disable \ No newline at end of file + super + preUnload. \ No newline at end of file diff --git a/SmartTest.package/SmTClassRelativeTestsCritique.class/instance/title.st b/SmartTest.package/SmTClassRelativeTestsCritique.class/instance/title.st deleted file mode 100644 index 7977473..0000000 --- a/SmartTest.package/SmTClassRelativeTestsCritique.class/instance/title.st +++ /dev/null @@ -1,5 +0,0 @@ -accessing -title - (self hasModifications) - ifTrue: [ ^ 'You should run tests relative to your last modification' ]. - ^ 'You should run these tests' \ No newline at end of file diff --git a/SmartTest.package/SmTListener.class/README.md b/SmartTest.package/SmTListener.class/README.md deleted file mode 100644 index 65170c6..0000000 --- a/SmartTest.package/SmTListener.class/README.md +++ /dev/null @@ -1 +0,0 @@ -I'm listening all the event and add it to the RTS \ No newline at end of file diff --git a/SmartTest.package/SmTListener.class/class/disable.st b/SmartTest.package/SmTListener.class/class/disable.st deleted file mode 100644 index a683389..0000000 --- a/SmartTest.package/SmTListener.class/class/disable.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -disable - self uniqueInstance disable. \ No newline at end of file diff --git a/SmartTest.package/SmTListener.class/class/enable.st b/SmartTest.package/SmTListener.class/class/enable.st deleted file mode 100644 index 58b85fe..0000000 --- a/SmartTest.package/SmTListener.class/class/enable.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -enable - self uniqueInstance enable. \ No newline at end of file diff --git a/SmartTest.package/SmTListener.class/class/initialize.st b/SmartTest.package/SmTListener.class/class/initialize.st deleted file mode 100644 index 5b6c9dd..0000000 --- a/SmartTest.package/SmTListener.class/class/initialize.st +++ /dev/null @@ -1,3 +0,0 @@ -initialization -initialize - self disable \ No newline at end of file diff --git a/SmartTest.package/SmTListener.class/class/uniqueInstance.st b/SmartTest.package/SmTListener.class/class/uniqueInstance.st deleted file mode 100644 index 85045bd..0000000 --- a/SmartTest.package/SmTListener.class/class/uniqueInstance.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -uniqueInstance - ^ uniqueInstance ifNil: [ uniqueInstance := self new ] \ No newline at end of file diff --git a/SmartTest.package/SmTListener.class/instance/addToElementBag..st b/SmartTest.package/SmTListener.class/instance/addToElementBag..st deleted file mode 100644 index e373ece..0000000 --- a/SmartTest.package/SmTListener.class/instance/addToElementBag..st +++ /dev/null @@ -1,3 +0,0 @@ -search -addToElementBag: anElement - SmTOnModificationStrategy uniqueInstance add: anElement \ No newline at end of file diff --git a/SmartTest.package/SmTListener.class/instance/methodAdded..st b/SmartTest.package/SmTListener.class/instance/methodAdded..st deleted file mode 100644 index eadef58..0000000 --- a/SmartTest.package/SmTListener.class/instance/methodAdded..st +++ /dev/null @@ -1,3 +0,0 @@ -protocol -methodAdded: anAnnouncement - self addToElementBag: anAnnouncement methodAdded. \ No newline at end of file diff --git a/SmartTest.package/SmTListener.class/instance/methodModified..st b/SmartTest.package/SmTListener.class/instance/methodModified..st deleted file mode 100644 index fc921b9..0000000 --- a/SmartTest.package/SmTListener.class/instance/methodModified..st +++ /dev/null @@ -1,3 +0,0 @@ -protocol -methodModified: anAnnouncement - self addToElementBag: anAnnouncement newMethod. \ No newline at end of file diff --git a/SmartTest.package/SmTListener.class/properties.json b/SmartTest.package/SmTListener.class/properties.json deleted file mode 100644 index 8e3574d..0000000 --- a/SmartTest.package/SmTListener.class/properties.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "commentStamp" : "BenoitVerhaeghe 6/29/2017 11:51", - "super" : "Object", - "category" : "SmartTest-Listener", - "classinstvars" : [ - "uniqueInstance", - "activated" - ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "collector" - ], - "name" : "SmTListener", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest.package/SmTMethodRelativeTestsCritique.class/instance/title.st b/SmartTest.package/SmTMethodRelativeTestsCritique.class/instance/title.st deleted file mode 100644 index 7977473..0000000 --- a/SmartTest.package/SmTMethodRelativeTestsCritique.class/instance/title.st +++ /dev/null @@ -1,5 +0,0 @@ -accessing -title - (self hasModifications) - ifTrue: [ ^ 'You should run tests relative to your last modification' ]. - ^ 'You should run these tests' \ No newline at end of file diff --git a/SmartTest.package/SmTOnModificationTest.class/instance/testAdd.st b/SmartTest.package/SmTOnModificationTest.class/instance/testAdd.st index b8bffec..9f26b84 100644 --- a/SmartTest.package/SmTOnModificationTest.class/instance/testAdd.st +++ b/SmartTest.package/SmTOnModificationTest.class/instance/testAdd.st @@ -1,10 +1,9 @@ tests-adding testAdd | onModif el | - onModif := SmTOnModificationStrategy new. + onModif := SmTTestingStrategyEachModification new. self assert: onModif bag isEmpty. - el := (SmTRunnerTest>>#noop). - onModif add: el. + el := SmTRunnerTest >> #noop. + onModif addToElementBag: el. self assert: onModif bag size equals: 1. - self assert:( onModif bag includes: el) - \ No newline at end of file + self assert: (onModif bag includes: el) \ No newline at end of file diff --git a/SmartTest.package/SmTOnModificationTest.class/instance/testGet.st b/SmartTest.package/SmTOnModificationTest.class/instance/testGet.st index ded9bb1..28466d7 100644 --- a/SmartTest.package/SmTOnModificationTest.class/instance/testGet.st +++ b/SmartTest.package/SmTOnModificationTest.class/instance/testGet.st @@ -1,13 +1,12 @@ tests-adding testGet | onModif el | - onModif := SmTOnModificationStrategy new. - el := (SmTRunnerTest>>#noop). - onModif add: el. - - self assert: (onModif get: (SmTRunnerTest>>#testIconForTestResultGreen)) equals: nil. + onModif := SmTTestingStrategyEachModification new. + el := SmTRunnerTest >> #noop. + onModif addToElementBag: el. + self assert: (onModif getElementFromBag: SmTRunnerTest >> #testIconForTestResultGreen) equals: nil. self assert: onModif bag size equals: 1. - self assert: (onModif get: (SmTRunnerTest>>#testIconForTestResultGreen)) equals: nil. - self assert: (onModif get: el) equals: el. + self assert: (onModif getElementFromBag: SmTRunnerTest >> #testIconForTestResultGreen) equals: nil. + self assert: (onModif getElementFromBag: el) equals: el. self assert: onModif bag size equals: 0. - self assert: (onModif get: el) equals: nil \ No newline at end of file + self assert: (onModif getElementFromBag: el) equals: nil \ No newline at end of file diff --git a/SmartTest.package/SmTRelativeTestsCritique.class/instance/hasModifications.st b/SmartTest.package/SmTRelativeTestsCritique.class/instance/hasModifications.st deleted file mode 100644 index d631a05..0000000 --- a/SmartTest.package/SmTRelativeTestsCritique.class/instance/hasModifications.st +++ /dev/null @@ -1,3 +0,0 @@ -testing -hasModifications - ^entityModified \ No newline at end of file diff --git a/SmartTest.package/SmTRelativeTestsCritique.class/instance/initializeRule.target.testsList..st b/SmartTest.package/SmTRelativeTestsCritique.class/instance/initializeRule.target.testsList..st index 6d07cc2..edae14b 100644 --- a/SmartTest.package/SmTRelativeTestsCritique.class/instance/initializeRule.target.testsList..st +++ b/SmartTest.package/SmTRelativeTestsCritique.class/instance/initializeRule.target.testsList..st @@ -1,5 +1,4 @@ initialization initializeRule: aRule target: anEntity testsList: aTestList self initializeRule: aRule target: anEntity. - tests := aTestList. - entityModified := (SmTOnModificationStrategy get: self sourceAnchor entity) isNotNil \ No newline at end of file + tests := aTestList \ No newline at end of file diff --git a/SmartTest.package/SmTRelativeTestsCritique.class/instance/title.st b/SmartTest.package/SmTRelativeTestsCritique.class/instance/title.st index e531037..096fe81 100644 --- a/SmartTest.package/SmTRelativeTestsCritique.class/instance/title.st +++ b/SmartTest.package/SmTRelativeTestsCritique.class/instance/title.st @@ -1,3 +1,3 @@ accessing title - self subclassResponsibility \ No newline at end of file + ^ 'You should run these tests' \ No newline at end of file diff --git a/SmartTest.package/SmTRelativeTestsCritique.class/properties.json b/SmartTest.package/SmTRelativeTestsCritique.class/properties.json index c6488c5..8d544ee 100644 --- a/SmartTest.package/SmTRelativeTestsCritique.class/properties.json +++ b/SmartTest.package/SmTRelativeTestsCritique.class/properties.json @@ -7,7 +7,6 @@ "classvars" : [ ], "instvars" : [ "tests", - "entityModified", "testButton" ], "name" : "SmTRelativeTestsCritique", diff --git a/SmartTest.package/SmTRules.class/class/strategy..st b/SmartTest.package/SmTRules.class/class/strategy..st index 1f475be..b52bbd5 100644 --- a/SmartTest.package/SmTRules.class/class/strategy..st +++ b/SmartTest.package/SmTRules.class/class/strategy..st @@ -1,6 +1,4 @@ settings strategy: aSelector - smTClassTestingStrategy disable. - aSelector enable. smTClassTestingStrategy := aSelector. - self testFinder testingStrategy: aSelector new. \ No newline at end of file + self testFinder testingStrategy: aSelector new \ No newline at end of file diff --git a/SmartTest.package/SmTRunnerTest.class/instance/testRunCaseNotifyIconYellow.st b/SmartTest.package/SmTRunnerTest.class/instance/testRunCaseNotifyIconYellow.st index 3355e1c..24ea56b 100644 --- a/SmartTest.package/SmTRunnerTest.class/instance/testRunCaseNotifyIconYellow.st +++ b/SmartTest.package/SmTRunnerTest.class/instance/testRunCaseNotifyIconYellow.st @@ -3,5 +3,5 @@ testRunCaseNotifyIconYellow | case anIcon | case := self class selector: #fail. anIcon := IconicButton new. - self should: [runner runCase: case notifyIcon: anIcon] raise: TestFailure. + self should: [ runner runCase: case notifyIcon: anIcon ] raise: TestFailure. self assert: anIcon labelGraphic equals: (self iconNamed: #testYellowIcon) \ No newline at end of file diff --git a/SmartTest.package/SmTRunnerTest.class/instance/testRunCasesNotifyIconGreen.st b/SmartTest.package/SmTRunnerTest.class/instance/testRunCasesNotifyIconGreen.st index cc1832c..271048c 100644 --- a/SmartTest.package/SmTRunnerTest.class/instance/testRunCasesNotifyIconGreen.st +++ b/SmartTest.package/SmTRunnerTest.class/instance/testRunCasesNotifyIconGreen.st @@ -5,7 +5,12 @@ testRunCasesNotifyIconGreen case2 := self class selector: #noop. case3 := self class selector: #noop. anIcon := IconicButton new. - result := runner runCases: {case1.case2.case3} notifyIcon: anIcon. + result := runner + runCases: + {case1. + case2. + case3} + notifyIcon: anIcon. self assert: result passed size equals: 3. self assert: result errors size equals: 0. self assert: result failures size equals: 0. diff --git a/SmartTest.package/SmTRunnerTest.class/instance/testRunCasesNotifyIconRed.st b/SmartTest.package/SmTRunnerTest.class/instance/testRunCasesNotifyIconRed.st index 9ec59bf..f8bf45f 100644 --- a/SmartTest.package/SmTRunnerTest.class/instance/testRunCasesNotifyIconRed.st +++ b/SmartTest.package/SmTRunnerTest.class/instance/testRunCasesNotifyIconRed.st @@ -2,8 +2,13 @@ tests testRunCasesNotifyIconRed | case1 case2 case3 anIcon | case1 := self class selector: #error. - case2 := self class selector: #fail. + case2 := self class selector: #fail. case3 := self class selector: #error. anIcon := IconicButton new. - runner runCases: {case1.case2.case3} notifyIcon: anIcon. + runner + runCases: + {case1. + case2. + case3} + notifyIcon: anIcon. self assert: anIcon labelGraphic equals: (self iconNamed: #testRedIcon) \ No newline at end of file diff --git a/SmartTest.package/SmTTestingStrategy.class/class/disable.st b/SmartTest.package/SmTTestingStrategy.class/instance/disable.st similarity index 100% rename from SmartTest.package/SmTTestingStrategy.class/class/disable.st rename to SmartTest.package/SmTTestingStrategy.class/instance/disable.st diff --git a/SmartTest.package/SmTTestingStrategy.class/class/enable.st b/SmartTest.package/SmTTestingStrategy.class/instance/enable.st similarity index 100% rename from SmartTest.package/SmTTestingStrategy.class/class/enable.st rename to SmartTest.package/SmTTestingStrategy.class/instance/enable.st diff --git a/SmartTest.package/SmTTestingStrategyEachModification.class/class/disable.st b/SmartTest.package/SmTTestingStrategyEachModification.class/class/disable.st deleted file mode 100644 index 380ad8f..0000000 --- a/SmartTest.package/SmTTestingStrategyEachModification.class/class/disable.st +++ /dev/null @@ -1,4 +0,0 @@ -protocol -disable - super disable. - SmTListener disable \ No newline at end of file diff --git a/SmartTest.package/SmTTestingStrategyEachModification.class/class/enable.st b/SmartTest.package/SmTTestingStrategyEachModification.class/class/enable.st deleted file mode 100644 index 310ec55..0000000 --- a/SmartTest.package/SmTTestingStrategyEachModification.class/class/enable.st +++ /dev/null @@ -1,4 +0,0 @@ -protocol -enable - super enable. - SmTListener enable \ No newline at end of file diff --git a/SmartTest.package/SmTTestingStrategyEachModification.class/instance/addToElementBag..st b/SmartTest.package/SmTTestingStrategyEachModification.class/instance/addToElementBag..st new file mode 100644 index 0000000..51de68c --- /dev/null +++ b/SmartTest.package/SmTTestingStrategyEachModification.class/instance/addToElementBag..st @@ -0,0 +1,3 @@ +instance creation +addToElementBag: anElement + self bag add: anElement \ No newline at end of file diff --git a/SmartTest.package/SmTTestingStrategyEachModification.class/instance/bag.st b/SmartTest.package/SmTTestingStrategyEachModification.class/instance/bag.st new file mode 100644 index 0000000..aa9c970 --- /dev/null +++ b/SmartTest.package/SmTTestingStrategyEachModification.class/instance/bag.st @@ -0,0 +1,3 @@ +instance creation +bag + ^ bag \ No newline at end of file diff --git a/SmartTest.package/SmTListener.class/instance/disable.st b/SmartTest.package/SmTTestingStrategyEachModification.class/instance/disable.st similarity index 53% rename from SmartTest.package/SmTListener.class/instance/disable.st rename to SmartTest.package/SmTTestingStrategyEachModification.class/instance/disable.st index 06a71a1..dd3afcb 100644 --- a/SmartTest.package/SmTListener.class/instance/disable.st +++ b/SmartTest.package/SmTTestingStrategyEachModification.class/instance/disable.st @@ -1,4 +1,5 @@ protocol disable - "Do not receiver any system change notification anymore" + super disable. + SystemAnnouncer uniqueInstance unsubscribe: self \ No newline at end of file diff --git a/SmartTest.package/SmTTestingStrategyEachModification.class/instance/doFindTestsForMethod..st b/SmartTest.package/SmTTestingStrategyEachModification.class/instance/doFindTestsForMethod..st index 58561c9..094d29e 100644 --- a/SmartTest.package/SmTTestingStrategyEachModification.class/instance/doFindTestsForMethod..st +++ b/SmartTest.package/SmTTestingStrategyEachModification.class/instance/doFindTestsForMethod..st @@ -2,5 +2,6 @@ instance creation doFindTestsForMethod: aCompiledMethod | tests | tests := self getMethodsFor: aCompiledMethod. - (SmTOnModificationStrategy get: aCompiledMethod) ifNotNil: [ self runner runCases: tests ]. + (self getElementFromBag: aCompiledMethod) + ifNotNil: [ self runner runCases: tests ]. ^ tests \ No newline at end of file diff --git a/SmartTest.package/SmTListener.class/instance/enable.st b/SmartTest.package/SmTTestingStrategyEachModification.class/instance/enable.st similarity index 81% rename from SmartTest.package/SmTListener.class/instance/enable.st rename to SmartTest.package/SmTTestingStrategyEachModification.class/instance/enable.st index 3c21877..4b47cdb 100644 --- a/SmartTest.package/SmTListener.class/instance/enable.st +++ b/SmartTest.package/SmTTestingStrategyEachModification.class/instance/enable.st @@ -1,6 +1,7 @@ protocol enable + super enable. SystemAnnouncer uniqueInstance unsubscribe: self. {(MethodModified -> #methodModified:). (MethodAdded -> #methodAdded:)} - do: [ :pair | SystemAnnouncer uniqueInstance weak when: pair key send: pair value to: self ]. \ No newline at end of file + do: [ :pair | SystemAnnouncer uniqueInstance weak when: pair key send: pair value to: self ] \ No newline at end of file diff --git a/SmartTest.package/SmTTestingStrategyEachModification.class/instance/findTestsForMethod..st b/SmartTest.package/SmTTestingStrategyEachModification.class/instance/findTestsForMethod..st index cc066a7..fb71921 100644 --- a/SmartTest.package/SmTTestingStrategyEachModification.class/instance/findTestsForMethod..st +++ b/SmartTest.package/SmTTestingStrategyEachModification.class/instance/findTestsForMethod..st @@ -2,5 +2,6 @@ instance creation findTestsForMethod: aCompiledMethod | tests | tests := self getMethodsFor: aCompiledMethod. - (SmTOnModificationStrategy get: aCompiledMethod) ifNotNil: [ self runner runCases: tests ]. + (self getElementFromBag: aCompiledMethod) + ifNotNil: [ self runner runCases: tests ]. ^ tests \ No newline at end of file diff --git a/SmartTest.package/SmTTestingStrategyEachModification.class/instance/getElementFromBag..st b/SmartTest.package/SmTTestingStrategyEachModification.class/instance/getElementFromBag..st new file mode 100644 index 0000000..8a04b66 --- /dev/null +++ b/SmartTest.package/SmTTestingStrategyEachModification.class/instance/getElementFromBag..st @@ -0,0 +1,6 @@ +instance creation +getElementFromBag: anElement + "return nil if element absent. The object else" + + self bag remove: anElement ifAbsent: [ ^ nil ]. + ^ anElement \ No newline at end of file diff --git a/SmartTest.package/SmTTestingStrategyEachModification.class/instance/initialize.st b/SmartTest.package/SmTTestingStrategyEachModification.class/instance/initialize.st index 9437577..00734c9 100644 --- a/SmartTest.package/SmTTestingStrategyEachModification.class/instance/initialize.st +++ b/SmartTest.package/SmTTestingStrategyEachModification.class/instance/initialize.st @@ -1,3 +1,3 @@ initialization initialize - SmTListener enable \ No newline at end of file + bag := Bag new \ No newline at end of file diff --git a/SmartTest.package/SmTTestingStrategyEachModification.class/instance/methodAdded..st b/SmartTest.package/SmTTestingStrategyEachModification.class/instance/methodAdded..st new file mode 100644 index 0000000..251545a --- /dev/null +++ b/SmartTest.package/SmTTestingStrategyEachModification.class/instance/methodAdded..st @@ -0,0 +1,3 @@ +instance creation +methodAdded: anAnnouncement + self addToElementBag: anAnnouncement methodAdded \ No newline at end of file diff --git a/SmartTest.package/SmTTestingStrategyEachModification.class/instance/methodModified..st b/SmartTest.package/SmTTestingStrategyEachModification.class/instance/methodModified..st new file mode 100644 index 0000000..796b801 --- /dev/null +++ b/SmartTest.package/SmTTestingStrategyEachModification.class/instance/methodModified..st @@ -0,0 +1,3 @@ +instance creation +methodModified: anAnnouncement + self addToElementBag: anAnnouncement newMethod \ No newline at end of file diff --git a/SmartTest.package/SmTTestingStrategyEachModification.class/properties.json b/SmartTest.package/SmTTestingStrategyEachModification.class/properties.json index 7bdefd6..8a90851 100644 --- a/SmartTest.package/SmTTestingStrategyEachModification.class/properties.json +++ b/SmartTest.package/SmTTestingStrategyEachModification.class/properties.json @@ -5,7 +5,9 @@ "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], - "instvars" : [ ], + "instvars" : [ + "bag" + ], "name" : "SmTTestingStrategyEachModification", "type" : "normal" } \ No newline at end of file diff --git a/SmartTest.package/SmTTestingStrategyFiveMinutes.class/class/disable.st b/SmartTest.package/SmTTestingStrategyFiveMinutes.class/instance/disable.st similarity index 100% rename from SmartTest.package/SmTTestingStrategyFiveMinutes.class/class/disable.st rename to SmartTest.package/SmTTestingStrategyFiveMinutes.class/instance/disable.st diff --git a/SmartTest.package/SmTTestingStrategyFiveMinutes.class/class/enable.st b/SmartTest.package/SmTTestingStrategyFiveMinutes.class/instance/enable.st similarity index 100% rename from SmartTest.package/SmTTestingStrategyFiveMinutes.class/class/enable.st rename to SmartTest.package/SmTTestingStrategyFiveMinutes.class/instance/enable.st diff --git a/SmartTest.package/SmartFinder.class/instance/testingStrategy..st b/SmartTest.package/SmartFinder.class/instance/testingStrategy..st index a95a140..7befedb 100644 --- a/SmartTest.package/SmartFinder.class/instance/testingStrategy..st +++ b/SmartTest.package/SmartFinder.class/instance/testingStrategy..st @@ -1,5 +1,8 @@ accessing testingStrategy: aSmTTestingStrategy + testingStrategy disable. testingStrategy := aSmTTestingStrategy. - testingStrategy runner: self testRunner; - finder: self smtFinder \ No newline at end of file + testingStrategy + runner: self testRunner; + finder: self smtFinder. + testingStrategy enable. \ No newline at end of file From b1b0d7cf870c02b79d5d2650bad08ca654b9e7e7 Mon Sep 17 00:00:00 2001 From: badetitou Date: Sun, 13 May 2018 16:06:38 +0200 Subject: [PATCH 044/150] - SmTOnModificationStrategy class --- .../SmTOnModificationStrategy.class/README.md | 1 - .../class/get..st | 4 ---- .../class/uniqueInstance.st | 3 --- .../instance/add..st | 4 ---- .../instance/bag.st | 3 --- .../instance/get..st | 5 ----- .../properties.json | 18 ------------------ 7 files changed, 38 deletions(-) delete mode 100644 SmartTest.package/SmTOnModificationStrategy.class/README.md delete mode 100644 SmartTest.package/SmTOnModificationStrategy.class/class/get..st delete mode 100644 SmartTest.package/SmTOnModificationStrategy.class/class/uniqueInstance.st delete mode 100644 SmartTest.package/SmTOnModificationStrategy.class/instance/add..st delete mode 100644 SmartTest.package/SmTOnModificationStrategy.class/instance/bag.st delete mode 100644 SmartTest.package/SmTOnModificationStrategy.class/instance/get..st delete mode 100644 SmartTest.package/SmTOnModificationStrategy.class/properties.json diff --git a/SmartTest.package/SmTOnModificationStrategy.class/README.md b/SmartTest.package/SmTOnModificationStrategy.class/README.md deleted file mode 100644 index abad158..0000000 --- a/SmartTest.package/SmTOnModificationStrategy.class/README.md +++ /dev/null @@ -1 +0,0 @@ -The tools that helps us when we are working on always on modification \ No newline at end of file diff --git a/SmartTest.package/SmTOnModificationStrategy.class/class/get..st b/SmartTest.package/SmTOnModificationStrategy.class/class/get..st deleted file mode 100644 index dd0fd31..0000000 --- a/SmartTest.package/SmTOnModificationStrategy.class/class/get..st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -get: anElement - "return nil if element absent. The object else" - ^ self uniqueInstance get: anElement. \ No newline at end of file diff --git a/SmartTest.package/SmTOnModificationStrategy.class/class/uniqueInstance.st b/SmartTest.package/SmTOnModificationStrategy.class/class/uniqueInstance.st deleted file mode 100644 index 3d5232b..0000000 --- a/SmartTest.package/SmTOnModificationStrategy.class/class/uniqueInstance.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -uniqueInstance - ^ uniqueInstance ifNil: [ uniqueInstance := self new. ] \ No newline at end of file diff --git a/SmartTest.package/SmTOnModificationStrategy.class/instance/add..st b/SmartTest.package/SmTOnModificationStrategy.class/instance/add..st deleted file mode 100644 index 35d3ce3..0000000 --- a/SmartTest.package/SmTOnModificationStrategy.class/instance/add..st +++ /dev/null @@ -1,4 +0,0 @@ -adding -add: aModifiedElement - - self bag add: aModifiedElement \ No newline at end of file diff --git a/SmartTest.package/SmTOnModificationStrategy.class/instance/bag.st b/SmartTest.package/SmTOnModificationStrategy.class/instance/bag.st deleted file mode 100644 index 596a915..0000000 --- a/SmartTest.package/SmTOnModificationStrategy.class/instance/bag.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -bag - ^bag ifNil: [ bag := Bag new ] \ No newline at end of file diff --git a/SmartTest.package/SmTOnModificationStrategy.class/instance/get..st b/SmartTest.package/SmTOnModificationStrategy.class/instance/get..st deleted file mode 100644 index f69a9af..0000000 --- a/SmartTest.package/SmTOnModificationStrategy.class/instance/get..st +++ /dev/null @@ -1,5 +0,0 @@ -accessing -get: anElement - "return nil if element absent. The object else" - self bag remove: anElement ifAbsent: [ ^nil ]. - ^anElement \ No newline at end of file diff --git a/SmartTest.package/SmTOnModificationStrategy.class/properties.json b/SmartTest.package/SmTOnModificationStrategy.class/properties.json deleted file mode 100644 index 7bc69a7..0000000 --- a/SmartTest.package/SmTOnModificationStrategy.class/properties.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "commentStamp" : "BenoitVerhaeghe 7/3/2017 09:49", - "super" : "Object", - "category" : "SmartTest-Tools", - "classinstvars" : [ - "uniqueInstance" - ], - "pools" : [ ], - "classvars" : [ - "Collector", - "UniqueInstance" - ], - "instvars" : [ - "bag" - ], - "name" : "SmTOnModificationStrategy", - "type" : "normal" -} \ No newline at end of file From feac80c5fe7075cae155c55602240595344bce5b Mon Sep 17 00:00:00 2001 From: badetitou Date: Sun, 13 May 2018 16:17:36 +0200 Subject: [PATCH 045/150] ~ remove leak of memory from test --- .../SmTCacheBuilderTest.class/instance/tearDown.st | 5 +++-- .../SmTFilterAbstractTest.class/instance/tearDown.st | 4 ++++ .../SmTFinderAbstractTest.class/instance/tearDown.st | 1 + .../SmTOnModificationTest.class/instance/setUp.st | 4 ++++ .../SmTOnModificationTest.class/instance/tearDown.st | 4 ++++ .../SmTOnModificationTest.class/instance/testAdd.st | 5 +++-- .../SmTOnModificationTest.class/instance/testGet.st | 10 +++++++--- .../SmTOnModificationTest.class/properties.json | 4 +++- SmartTest.package/SmartFinder.class/instance/clean.st | 5 +++++ .../SmartFinderTest.class/instance/tearDown.st | 3 +++ 10 files changed, 37 insertions(+), 8 deletions(-) create mode 100644 SmartTest.package/SmTFilterAbstractTest.class/instance/tearDown.st create mode 100644 SmartTest.package/SmTOnModificationTest.class/instance/setUp.st create mode 100644 SmartTest.package/SmTOnModificationTest.class/instance/tearDown.st create mode 100644 SmartTest.package/SmartFinder.class/instance/clean.st create mode 100644 SmartTest.package/SmartFinderTest.class/instance/tearDown.st diff --git a/SmartTest.package/SmTCacheBuilderTest.class/instance/tearDown.st b/SmartTest.package/SmTCacheBuilderTest.class/instance/tearDown.st index cbbaee6..21f276b 100644 --- a/SmartTest.package/SmTCacheBuilderTest.class/instance/tearDown.st +++ b/SmartTest.package/SmTCacheBuilderTest.class/instance/tearDown.st @@ -1,4 +1,5 @@ initialization tearDown - smartFinder autoUpdateCache: false - \ No newline at end of file + smartFinder autoUpdateCache: false. + smartFinder clean. + super tearDown \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/tearDown.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/tearDown.st new file mode 100644 index 0000000..409a9d5 --- /dev/null +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/tearDown.st @@ -0,0 +1,4 @@ +running +tearDown + smartFinder clean. + super tearDown \ No newline at end of file diff --git a/SmartTest.package/SmTFinderAbstractTest.class/instance/tearDown.st b/SmartTest.package/SmTFinderAbstractTest.class/instance/tearDown.st index 0ac6ff3..b78936f 100644 --- a/SmartTest.package/SmTFinderAbstractTest.class/instance/tearDown.st +++ b/SmartTest.package/SmTFinderAbstractTest.class/instance/tearDown.st @@ -2,4 +2,5 @@ running tearDown "reset the cache" smartFinder resetCache. + smartFinder clean. super tearDown \ No newline at end of file diff --git a/SmartTest.package/SmTOnModificationTest.class/instance/setUp.st b/SmartTest.package/SmTOnModificationTest.class/instance/setUp.st new file mode 100644 index 0000000..ba85017 --- /dev/null +++ b/SmartTest.package/SmTOnModificationTest.class/instance/setUp.st @@ -0,0 +1,4 @@ +tests-adding +setUp + "prepare strategy" + onModif := SmTTestingStrategyEachModification new. \ No newline at end of file diff --git a/SmartTest.package/SmTOnModificationTest.class/instance/tearDown.st b/SmartTest.package/SmTOnModificationTest.class/instance/tearDown.st new file mode 100644 index 0000000..336c710 --- /dev/null +++ b/SmartTest.package/SmTOnModificationTest.class/instance/tearDown.st @@ -0,0 +1,4 @@ +tests-adding +tearDown + "prepare strategy" + onModif disable \ No newline at end of file diff --git a/SmartTest.package/SmTOnModificationTest.class/instance/testAdd.st b/SmartTest.package/SmTOnModificationTest.class/instance/testAdd.st index 9f26b84..bfff185 100644 --- a/SmartTest.package/SmTOnModificationTest.class/instance/testAdd.st +++ b/SmartTest.package/SmTOnModificationTest.class/instance/testAdd.st @@ -1,9 +1,10 @@ tests-adding testAdd - | onModif el | + | el | onModif := SmTTestingStrategyEachModification new. self assert: onModif bag isEmpty. el := SmTRunnerTest >> #noop. onModif addToElementBag: el. self assert: onModif bag size equals: 1. - self assert: (onModif bag includes: el) \ No newline at end of file + self assert: (onModif bag includes: el). + onModif disable \ No newline at end of file diff --git a/SmartTest.package/SmTOnModificationTest.class/instance/testGet.st b/SmartTest.package/SmTOnModificationTest.class/instance/testGet.st index 28466d7..aeaed7c 100644 --- a/SmartTest.package/SmTOnModificationTest.class/instance/testGet.st +++ b/SmartTest.package/SmTOnModificationTest.class/instance/testGet.st @@ -1,12 +1,16 @@ tests-adding testGet - | onModif el | + | el | onModif := SmTTestingStrategyEachModification new. el := SmTRunnerTest >> #noop. onModif addToElementBag: el. - self assert: (onModif getElementFromBag: SmTRunnerTest >> #testIconForTestResultGreen) equals: nil. + self + assert: (onModif getElementFromBag: SmTRunnerTest >> #testIconForTestResultGreen) + equals: nil. self assert: onModif bag size equals: 1. - self assert: (onModif getElementFromBag: SmTRunnerTest >> #testIconForTestResultGreen) equals: nil. + self + assert: (onModif getElementFromBag: SmTRunnerTest >> #testIconForTestResultGreen) + equals: nil. self assert: (onModif getElementFromBag: el) equals: el. self assert: onModif bag size equals: 0. self assert: (onModif getElementFromBag: el) equals: nil \ No newline at end of file diff --git a/SmartTest.package/SmTOnModificationTest.class/properties.json b/SmartTest.package/SmTOnModificationTest.class/properties.json index 69ea590..cc0be84 100644 --- a/SmartTest.package/SmTOnModificationTest.class/properties.json +++ b/SmartTest.package/SmTOnModificationTest.class/properties.json @@ -5,7 +5,9 @@ "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], - "instvars" : [ ], + "instvars" : [ + "onModif" + ], "name" : "SmTOnModificationTest", "type" : "normal" } \ No newline at end of file diff --git a/SmartTest.package/SmartFinder.class/instance/clean.st b/SmartTest.package/SmartFinder.class/instance/clean.st new file mode 100644 index 0000000..8f475f1 --- /dev/null +++ b/SmartTest.package/SmartFinder.class/instance/clean.st @@ -0,0 +1,5 @@ +api +clean + "Use before loosing my reference + I remove the listener" + self testingStrategy disable \ No newline at end of file diff --git a/SmartTest.package/SmartFinderTest.class/instance/tearDown.st b/SmartTest.package/SmartFinderTest.class/instance/tearDown.st new file mode 100644 index 0000000..4d3b1ab --- /dev/null +++ b/SmartTest.package/SmartFinderTest.class/instance/tearDown.st @@ -0,0 +1,3 @@ +initialization +tearDown + smartFinder clean \ No newline at end of file From 97e8916ef7fb595399047bc5968f4fd8e58dd332 Mon Sep 17 00:00:00 2001 From: badetitou Date: Sun, 13 May 2018 16:20:57 +0200 Subject: [PATCH 046/150] ~ Long test should pass --- .../instance/setUp.st | 29 ++++++--- .../instance/setUp.st | 59 ++++++++++++++----- .../instance/setUp.st | 3 +- .../instance/setUp.st | 4 +- .../instance/setUp.st | 1 - 5 files changed, 67 insertions(+), 29 deletions(-) diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/setUp.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/setUp.st index 5e96cc6..a490c77 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/setUp.st +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/setUp.st @@ -1,13 +1,24 @@ running setUp + super setUp. smartFinder := SmartFinder new. smartFinder filter: SmTDefaultClassPackagesFilter new. - smartFinder filter: (SmTSpecifyPackagesNameFilter packagesRegEx: 'SmartTestDataOutsideP1') new. - - test_method1_FirstLevelSendersInsidePackage := (('SmTClass','TestP1') asClass >> ('test_','method1_FirstLevelSendersInsidePackage') asSymbol ) asRingDefinition. - test_method1_FirstLevelSendersOutsidePackage := (('SmTClass','TestP2') asClass >> ('test_','method1_FirstLevelSendersOutsidePackage') asSymbol ) asRingDefinition. - test_method2_SecondLevelSendersInsidePackageWithTestInside := (('SmTClass','TestP1') asClass >> ('test_','method2_SecondLevelSendersInsidePackageWithTestInside') asSymbol ) asRingDefinition. - test_method2_SecondLevelSendersOutsidePackageWithTestInside := (('SmTClass','TestP1') asClass >> ('test_','method2_SecondLevelSendersOutsidePackageWithTestInside') asSymbol ) asRingDefinition. - test_method2_SecondLevelSendersInsidePackageWithTestOutside := (('SmTClass','TestP2') asClass >> ('test_','method2_SecondLevelSendersInsidePackageWithTestOutside') asSymbol ) asRingDefinition. - test_method2_SecondLevelSendersOutsidePackageWithTestOutside := (('SmTClass','TestP2') asClass >> ('test_','method2_SecondLevelSendersOutsidePackageWithTestOutside') asSymbol ) asRingDefinition. - \ No newline at end of file + smartFinder + filter: (SmTSpecifyPackagesNameFilter packagesRegEx: 'SmartTestDataOutsideP1') new. + test_method1_FirstLevelSendersInsidePackage := (('SmTClass' , 'TestP1') asClass + >> ('test_' , 'method1_FirstLevelSendersInsidePackage') asSymbol) asRingDefinition. + test_method1_FirstLevelSendersOutsidePackage := (('SmTClass' , 'TestP2') asClass + >> ('test_' , 'method1_FirstLevelSendersOutsidePackage') asSymbol) asRingDefinition. + test_method2_SecondLevelSendersInsidePackageWithTestInside := (('SmTClass' , 'TestP1') + asClass >> ('test_' , 'method2_SecondLevelSendersInsidePackageWithTestInside') asSymbol) + asRingDefinition. + test_method2_SecondLevelSendersOutsidePackageWithTestInside := (('SmTClass' , 'TestP1') + asClass >> ('test_' , 'method2_SecondLevelSendersOutsidePackageWithTestInside') asSymbol) + asRingDefinition. + test_method2_SecondLevelSendersInsidePackageWithTestOutside := (('SmTClass' , 'TestP2') + asClass >> ('test_' , 'method2_SecondLevelSendersInsidePackageWithTestOutside') asSymbol) + asRingDefinition. + test_method2_SecondLevelSendersOutsidePackageWithTestOutside := (('SmTClass' , 'TestP2') + asClass + >> ('test_' , 'method2_SecondLevelSendersOutsidePackageWithTestOutside') asSymbol) + asRingDefinition \ No newline at end of file diff --git a/SmartTest.package/SmTFinderAbstractTest.class/instance/setUp.st b/SmartTest.package/SmTFinderAbstractTest.class/instance/setUp.st index f460fc2..35123a6 100644 --- a/SmartTest.package/SmTFinderAbstractTest.class/instance/setUp.st +++ b/SmartTest.package/SmTFinderAbstractTest.class/instance/setUp.st @@ -1,17 +1,46 @@ running setUp - smartFinder := SmartFinder new. - smartFinder filter: SmTDefaultClassPackagesFilter new. - - testMethod1 := (SmTClassTest >> #testMethod1) asRingDefinition. - testMethod2 := (SmTClassTest >> #testMethod2) asRingDefinition. - testMethod3 := (SmTClassTest >> #testMethod3) asRingDefinition. - testMethod4 := (SmTClassTest >> #testMethod4) asRingDefinition. - testMethod5 := (SmTClassTest >> #testMethod5) asRingDefinition. - - testInheritedMethod1 := (RGMethodDefinition - className: 'SmTInheritClassTest' - selector: #testMethod1 - isMetaSide: false) . - testMethodOutsidePackage1 := (SmTClassOutsideTest >> #testMethodOutsidePackage1) asRingDefinition. - "testMethod1OutsidePackage := (SmTClassOutsideTest >> #testMethod1OutsidePackage) asRingDefinition." + super + setUp. + self + timeLimit: + 30 + seconds. "super long time for travis CI" + smartFinder := SmartFinder + new. + smartFinder + filter: + SmTDefaultClassPackagesFilter + new. + testMethod1 := (SmTClassTest + >> + #testMethod1) + asRingDefinition. + testMethod2 := (SmTClassTest + >> + #testMethod2) + asRingDefinition. + testMethod3 := (SmTClassTest + >> + #testMethod3) + asRingDefinition. + testMethod4 := (SmTClassTest + >> + #testMethod4) + asRingDefinition. + testMethod5 := (SmTClassTest + >> + #testMethod5) + asRingDefinition. + testInheritedMethod1 := RGMethodDefinition + className: + 'SmTInheritClassTest' + selector: + #testMethod1 + isMetaSide: + false. + testMethodOutsidePackage1 := (SmTClassOutsideTest + >> + #testMethodOutsidePackage1) + asRingDefinition + "testMethod1OutsidePackage := (SmTClassOutsideTest >> #testMethod1OutsidePackage) asRingDefinition." \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFinderTestDefaultClassPackage.class/instance/setUp.st b/SmartTest.package/SmTSendersFinderTestDefaultClassPackage.class/instance/setUp.st index 9fb6fe2..4dee1d0 100644 --- a/SmartTest.package/SmTSendersFinderTestDefaultClassPackage.class/instance/setUp.st +++ b/SmartTest.package/SmTSendersFinderTestDefaultClassPackage.class/instance/setUp.st @@ -1,5 +1,4 @@ running setUp super setUp. - self timeLimit: 15 seconds. - smartFinder resetCache. \ No newline at end of file + smartFinder resetCache \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/setUp.st b/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/setUp.st index 3c78dec..37194ee 100644 --- a/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/setUp.st +++ b/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/setUp.st @@ -1,5 +1,5 @@ running setUp super setUp. - self timeLimit: 60 seconds. - smartFinder filter: (SmTSpecifyPackagesNameFilter packagesRegEx: 'SmartTest-Tests-Data') new \ No newline at end of file + smartFinder + filter: (SmTSpecifyPackagesNameFilter packagesRegEx: 'SmartTest-Tests-Data') new \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFinderTestWithoutCache.class/instance/setUp.st b/SmartTest.package/SmTSendersFinderTestWithoutCache.class/instance/setUp.st index fc7c03a..5ea2564 100644 --- a/SmartTest.package/SmTSendersFinderTestWithoutCache.class/instance/setUp.st +++ b/SmartTest.package/SmTSendersFinderTestWithoutCache.class/instance/setUp.st @@ -1,6 +1,5 @@ running setUp super setUp. - self timeLimit: 15 seconds. smartFinder cacheStrategy: SmTNoCacheStrategy new. cache := SmTNoCacheStrategy new \ No newline at end of file From af49f7ba509b18bfbcd75152f1fcc6194545be06 Mon Sep 17 00:00:00 2001 From: eleonoreW Date: Mon, 14 May 2018 11:32:54 +0200 Subject: [PATCH 047/150] "_" characters were removed from the names of the methods Tests were added to test the behaviour of DefaultClassPackage --- .../instance/setUp.st | 26 +++++++++---------- ...ardMethodFirstLevelSendersInsidePackage.st | 4 +-- ...rdMethodFirstLevelSendersOutsidePackage.st | 4 +-- ...LevelSendersInsidePackageWithTestInside.st | 6 ++--- ...evelSendersInsidePackageWithTestOutside.st | 6 ++--- ...evelSendersOutsidePackageWithTestInside.st | 6 ++--- ...velSendersOutsidePackageWithTestOutside.st | 6 ++--- .../properties.json | 16 +++++++----- ...evelSendersOutsidePackageWithRefInClass.st | 10 +++++++ ...velSendersOutsidePackageWithRefInMethod.st | 10 +++++++ ...elSendersOutsidePackageWithRefInPackage.st | 11 ++++++++ .../README.md | 5 ++++ .../instance/setUp.st | 6 +++++ ...rdMethodFirstLevelSendersOutsidePackage.st | 12 +++++++++ ...evelSendersInsidePackageWithTestOutside.st | 12 +++++++++ ...evelSendersOutsidePackageWithTestInside.st | 12 +++++++++ ...velSendersOutsidePackageWithTestOutside.st | 12 +++++++++ .../properties.json | 11 ++++++++ .../README.md | 4 ++- .../properties.json | 2 +- ...estStandardMethodWithSomeOutsidePackage.st | 8 ------ ... method1FirstLevelSendersInsidePackage.st} | 2 +- ...method1FirstLevelSendersOutsidePackage.st} | 2 +- ...evelSendersInsidePackageWithTestInside.st} | 2 +- ...velSendersInsidePackageWithTestOutside.st} | 2 +- ...velSendersOutsidePackageWithTestInside.st} | 2 +- ...elSendersOutsidePackageWithTestOutside.st} | 2 +- ...LevelSendersInsidePackageWithTestInside.st | 5 ++++ ...evelSendersInsidePackageWithTestOutside.st | 5 ++++ ...LevelSendersInsidePackageWithTestInside.st | 5 ---- ...evelSendersInsidePackageWithTestOutside.st | 5 ---- .../README.md | 0 .../method1FirstLevelSendersWithRefInClass.st | 6 +++++ .../properties.json | 11 ++++++++ .../README.md | 0 ...method1FirstLevelSendersWithRefInMethod.st | 6 +++++ .../properties.json | 11 ++++++++ .../README.md | 0 ...ethod1FirstLevelSendersWithRefInPackage.st | 6 +++++ .../properties.json | 11 ++++++++ .../README.md | 0 .../properties.json | 11 ++++++++ .../README.md | 0 ...method1SecondLevelSendersWithRefInClass.st | 6 +++++ ...method2SecondLevelSendersWithRefInClass.st | 6 +++++ .../properties.json | 11 ++++++++ .../README.md | 0 .../properties.json | 11 ++++++++ .../README.md | 0 .../properties.json | 11 ++++++++ .../README.md | 0 .../properties.json | 11 ++++++++ ...stMethod1FirstLevelSendersInsidePackage.st | 4 +++ ...LevelSendersInsidePackageWithTestInside.st | 3 +++ ...evelSendersOutsidePackageWithTestInside.st | 3 +++ ..._method1_FirstLevelSendersInsidePackage.st | 4 --- ...LevelSendersInsidePackageWithTestInside.st | 3 --- ...evelSendersOutsidePackageWithTestInside.st | 3 --- ...velSendersOutsidePackageWithTestInside.st} | 4 +-- ...elSendersOutsidePackageWithTestOutside.st} | 4 +-- .../README.md | 0 ...irstLevelSendersOutsideWithRefInPackage.st | 4 +++ .../properties.json | 11 ++++++++ ...tMethod1FirstLevelSendersOutsidePackage.st | 4 +++ ...velSendersInsidePackageWithTestOutside.st} | 4 +-- ...elSendersOutsidePackageWithTestOutside.st} | 4 +-- ...method1_FirstLevelSendersOutsidePackage.st | 4 --- .../README.md | 0 .../properties.json | 11 ++++++++ .../README.md | 0 .../instance/refInClass.st | 3 +++ ...1FirstLevelSendersOutsideWithRefInClass.st | 3 +++ .../properties.json | 11 ++++++++ .../README.md | 0 ...FirstLevelSendersOutsideWithRefInMethod.st | 4 +++ .../properties.json | 11 ++++++++ .../README.md | 0 ...irstLevelSendersOutsideWithRefInPackage.st | 3 +++ .../properties.json | 11 ++++++++ 79 files changed, 371 insertions(+), 84 deletions(-) create mode 100644 SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st create mode 100644 SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st create mode 100644 SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st create mode 100644 SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/README.md create mode 100644 SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/setUp.st create mode 100644 SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st create mode 100644 SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestOutside.st create mode 100644 SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestInside.st create mode 100644 SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestOutside.st create mode 100644 SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/properties.json delete mode 100644 SmartTest.package/SmTSendersFinderTestDefaultClassPackage.class/instance/testStandardMethodWithSomeOutsidePackage.st rename SmartTestDataOutsideP1.package/SmTClassP1.class/instance/{method1_FirstLevelSendersInsidePackage.st => method1FirstLevelSendersInsidePackage.st} (78%) rename SmartTestDataOutsideP1.package/SmTClassP1.class/instance/{method1_FirstLevelSendersOutsidePackage.st => method1FirstLevelSendersOutsidePackage.st} (78%) rename SmartTestDataOutsideP1.package/SmTClassP1.class/instance/{method1_SecondLevelSendersInsidePackageWithTestInside.st => method1SecondLevelSendersInsidePackageWithTestInside.st} (75%) rename SmartTestDataOutsideP1.package/SmTClassP1.class/instance/{method1_SecondLevelSendersInsidePackageWithTestOutside.st => method1SecondLevelSendersInsidePackageWithTestOutside.st} (77%) rename SmartTestDataOutsideP1.package/SmTClassP1.class/instance/{method1_SecondLevelSendersOutsidePackageWithTestInside.st => method1SecondLevelSendersOutsidePackageWithTestInside.st} (77%) rename SmartTestDataOutsideP1.package/SmTClassP1.class/instance/{method1_SecondLevelSendersOutsidePackageWithTestOutside.st => method1SecondLevelSendersOutsidePackageWithTestOutside.st} (77%) create mode 100644 SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method2SecondLevelSendersInsidePackageWithTestInside.st create mode 100644 SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method2SecondLevelSendersInsidePackageWithTestOutside.st delete mode 100644 SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method2_SecondLevelSendersInsidePackageWithTestInside.st delete mode 100644 SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method2_SecondLevelSendersInsidePackageWithTestOutside.st create mode 100644 SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class/README.md create mode 100644 SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class/instance/method1FirstLevelSendersWithRefInClass.st create mode 100644 SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class/properties.json create mode 100644 SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class/README.md create mode 100644 SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class/instance/method1FirstLevelSendersWithRefInMethod.st create mode 100644 SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class/properties.json create mode 100644 SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class/README.md create mode 100644 SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class/instance/method1FirstLevelSendersWithRefInPackage.st create mode 100644 SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class/properties.json create mode 100644 SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersWithRef.class/README.md create mode 100644 SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersWithRef.class/properties.json create mode 100644 SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideWithRefInClass.class/README.md create mode 100644 SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideWithRefInClass.class/instance/method1SecondLevelSendersWithRefInClass.st create mode 100644 SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideWithRefInClass.class/instance/method2SecondLevelSendersWithRefInClass.st create mode 100644 SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideWithRefInClass.class/properties.json create mode 100644 SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideWithRefInMethod.class/README.md create mode 100644 SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideWithRefInMethod.class/properties.json create mode 100644 SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideWithRefInPackage.class/README.md create mode 100644 SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideWithRefInPackage.class/properties.json create mode 100644 SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersWithRef.class/README.md create mode 100644 SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersWithRef.class/properties.json create mode 100644 SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod1FirstLevelSendersInsidePackage.st create mode 100644 SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersInsidePackageWithTestInside.st create mode 100644 SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersOutsidePackageWithTestInside.st delete mode 100644 SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/test_method1_FirstLevelSendersInsidePackage.st delete mode 100644 SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/test_method2_SecondLevelSendersInsidePackageWithTestInside.st delete mode 100644 SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/test_method2_SecondLevelSendersOutsidePackageWithTestInside.st rename SmartTestDataOutsideP2.package/SmTClassP2.class/instance/{method2_SecondLevelSendersOutsidePackageWithTestInside.st => method2SecondLevelSendersOutsidePackageWithTestInside.st} (55%) rename SmartTestDataOutsideP2.package/SmTClassP2.class/instance/{method2_SecondLevelSendersOutsidePackageWithTestOutside.st => method2SecondLevelSendersOutsidePackageWithTestOutside.st} (59%) create mode 100644 SmartTestDataOutsideP2.package/SmTClassP2ThatMakesReferences.class/README.md create mode 100644 SmartTestDataOutsideP2.package/SmTClassP2ThatMakesReferences.class/instance/referenceToSmTClassP1FirstLevelSendersOutsideWithRefInPackage.st create mode 100644 SmartTestDataOutsideP2.package/SmTClassP2ThatMakesReferences.class/properties.json create mode 100644 SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testMethod1FirstLevelSendersOutsidePackage.st rename SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/{test_method2_SecondLevelSendersInsidePackageWithTestOutside.st => testMethod2SecondLevelSendersInsidePackageWithTestOutside.st} (58%) rename SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/{test_method2_SecondLevelSendersOutsidePackageWithTestOutside.st => testMethod2SecondLevelSendersOutsidePackageWithTestOutside.st} (57%) delete mode 100644 SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/test_method1_FirstLevelSendersOutsidePackage.st create mode 100644 SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRef.class/README.md create mode 100644 SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRef.class/properties.json create mode 100644 SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInClass.class/README.md create mode 100644 SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInClass.class/instance/refInClass.st create mode 100644 SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInClass.class/instance/testMethod1FirstLevelSendersOutsideWithRefInClass.st create mode 100644 SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInClass.class/properties.json create mode 100644 SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInMethod.class/README.md create mode 100644 SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInMethod.class/instance/testMethod1FirstLevelSendersOutsideWithRefInMethod.st create mode 100644 SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInMethod.class/properties.json create mode 100644 SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInPackage.class/README.md create mode 100644 SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInPackage.class/instance/testMethod1FirstLevelSendersOutsideWithRefInPackage.st create mode 100644 SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInPackage.class/properties.json diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/setUp.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/setUp.st index a490c77..de8ef48 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/setUp.st +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/setUp.st @@ -3,22 +3,20 @@ setUp super setUp. smartFinder := SmartFinder new. smartFinder filter: SmTDefaultClassPackagesFilter new. - smartFinder - filter: (SmTSpecifyPackagesNameFilter packagesRegEx: 'SmartTestDataOutsideP1') new. - test_method1_FirstLevelSendersInsidePackage := (('SmTClass' , 'TestP1') asClass - >> ('test_' , 'method1_FirstLevelSendersInsidePackage') asSymbol) asRingDefinition. - test_method1_FirstLevelSendersOutsidePackage := (('SmTClass' , 'TestP2') asClass - >> ('test_' , 'method1_FirstLevelSendersOutsidePackage') asSymbol) asRingDefinition. - test_method2_SecondLevelSendersInsidePackageWithTestInside := (('SmTClass' , 'TestP1') - asClass >> ('test_' , 'method2_SecondLevelSendersInsidePackageWithTestInside') asSymbol) + testMethod1FirstLevelSendersInsidePackage := (('SmTClass' , 'TestP1') asClass + >> ('test' , 'Method1FirstLevelSendersInsidePackage') asSymbol) asRingDefinition. + testMethod1FirstLevelSendersOutsidePackage := (('SmTClass' , 'TestP2') asClass + >> ('test' , 'Method1FirstLevelSendersOutsidePackage') asSymbol) asRingDefinition. + testMethod2SecondLevelSendersInsidePackageWithTestInside := (('SmTClass' , 'TestP1') + asClass >> ('test' , 'Method2SecondLevelSendersInsidePackageWithTestInside') asSymbol) asRingDefinition. - test_method2_SecondLevelSendersOutsidePackageWithTestInside := (('SmTClass' , 'TestP1') - asClass >> ('test_' , 'method2_SecondLevelSendersOutsidePackageWithTestInside') asSymbol) + testMethod2SecondLevelSendersOutsidePackageWithTestInside := (('SmTClass' , 'TestP1') + asClass >> ('test' , 'Method2SecondLevelSendersOutsidePackageWithTestInside') asSymbol) asRingDefinition. - test_method2_SecondLevelSendersInsidePackageWithTestOutside := (('SmTClass' , 'TestP2') - asClass >> ('test_' , 'method2_SecondLevelSendersInsidePackageWithTestOutside') asSymbol) + testMethod2SecondLevelSendersInsidePackageWithTestOutside := (('SmTClass' , 'TestP2') + asClass >> ('test' , 'Method2SecondLevelSendersInsidePackageWithTestOutside') asSymbol) asRingDefinition. - test_method2_SecondLevelSendersOutsidePackageWithTestOutside := (('SmTClass' , 'TestP2') + testMethod2SecondLevelSendersOutsidePackageWithTestOutside := (('SmTClass' , 'TestP2') asClass - >> ('test_' , 'method2_SecondLevelSendersOutsidePackageWithTestOutside') asSymbol) + >> ('test' , 'Method2SecondLevelSendersOutsidePackageWithTestOutside') asSymbol) asRingDefinition \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersInsidePackage.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersInsidePackage.st index eaa8c08..7e67c47 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersInsidePackage.st +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersInsidePackage.st @@ -5,9 +5,9 @@ testStandardMethodFirstLevelSendersInsidePackage "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" | testsFound | - testsFound := self searchTestMethodsFor:( ('SmTClass','P1') asClass >> ('method1_','FirstLevelSendersInsidePackage') asSymbol). + testsFound := self searchTestMethodsFor:( ('SmTClass','P1') asClass >> ('method1','FirstLevelSendersInsidePackage') asSymbol). self assert: testsFound size equals: 1. - self assert: (testsFound includes: test_method1_FirstLevelSendersInsidePackage). + self assert: (testsFound includes: testMethod1FirstLevelSendersInsidePackage). \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st index 379ebef..e4dc32e 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st @@ -4,9 +4,9 @@ testStandardMethodFirstLevelSendersOutsidePackage "MyMethod1 is called by testMyMethod2, a test not owned by the same package as myMethod1, thus it should not be found" | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClass','P1') asClass >> ('method1_','FirstLevelSendersOutsidePackage') asSymbol). + testsFound := self searchTestMethodsFor: ( ('SmTClass','P1') asClass >> ('method1','FirstLevelSendersOutsidePackage') asSymbol). self assert: (testsFound isEmpty ). - self deny: (testsFound includes: test_method1_FirstLevelSendersOutsidePackage). + self deny: (testsFound includes: testMethod1FirstLevelSendersOutsidePackage). \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestInside.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestInside.st index 1952597..84e906a 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestInside.st +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestInside.st @@ -1,13 +1,13 @@ tests testStandardMethodSecondLevelSendersInsidePackageWithTestInside - "p1_MyMethod1 is called by p1_MyMethod2, which itself is called by p1_testMyMethod2, a tests owned by the same package as myMethod1, thus p1_testMyMethod2 should be found. + "p1MyMethod1 is called by p1MyMethod2, which itself is called by p1testMyMethod2, a tests owned by the same package as myMethod1, thus p1testMyMethod2 should be found. We never go out of the package so it's normal." | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClass','P1') asClass >> ('method1_','SecondLevelSendersInsidePackageWithTestInside') asSymbol). + testsFound := self searchTestMethodsFor: ( ('SmTClass','P1') asClass >> ('method1','SecondLevelSendersInsidePackageWithTestInside') asSymbol). self assert: testsFound size equals: 1. - self assert: (testsFound includes: test_method2_SecondLevelSendersInsidePackageWithTestInside ). + self assert: (testsFound includes: testMethod2SecondLevelSendersInsidePackageWithTestInside ). \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestOutside.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestOutside.st index 9424286..681aabe 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestOutside.st +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestOutside.st @@ -1,13 +1,13 @@ tests testStandardMethodSecondLevelSendersInsidePackageWithTestOutside - "p1_MyMethod1 is called by p1_MyMethod2, which itself is called by p2_testMyMethod2, a test not owned by the same package as myMethod1, thus p2_testMyMethod2 should not be found. + "MyMethod1 is called by MyMethod2, which itself is called by testMyMethod2, a test not owned by the same package as myMethod1, thus testMyMethod2 should not be found. We go out of the package once so it's normal hat the test is not found." | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClass','P1') asClass >> ('method1_','SecondLevelSendersInsidePackageWithTestOutside') asSymbol). + testsFound := self searchTestMethodsFor: ( ('SmTClass','P1') asClass >> ('method1','SecondLevelSendersInsidePackageWithTestOutside') asSymbol). self assert: (testsFound isEmpty ). - self deny: (testsFound includes: test_method2_SecondLevelSendersInsidePackageWithTestOutside ). + self deny: (testsFound includes: testMethod2SecondLevelSendersInsidePackageWithTestOutside ). \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestInside.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestInside.st index 22277a9..41eafb9 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestInside.st +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestInside.st @@ -1,13 +1,13 @@ tests testStandardMethodSecondLevelSendersOutsidePackageWithTestInside - "p1_MyMethod1 is called by p2_MyMethod2, which itself is called by p1_testMyMethod2, thus p1_testMyMethod2 should not be found. + "MyMethod1 is called by MyMethod2, which itself is called by testMyMethod2, thus testMyMethod2 should not be found. We go out of the package once so it's normal hat the test is not found." | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClass','P1') asClass >> ('method1_','SecondLevelSendersOutsidePackageWithTestInside') asSymbol). + testsFound := self searchTestMethodsFor: ( ('SmTClass','P1') asClass >> ('method1','SecondLevelSendersOutsidePackageWithTestInside') asSymbol). self assert: (testsFound isEmpty ). - self deny: (testsFound includes: test_method2_SecondLevelSendersOutsidePackageWithTestInside ). + self deny: (testsFound includes: testMethod2SecondLevelSendersOutsidePackageWithTestInside ). \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestOutside.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestOutside.st index d6fa666..d4e9a43 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestOutside.st +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestOutside.st @@ -1,13 +1,13 @@ tests testStandardMethodSecondLevelSendersOutsidePackageWithTestOutside - "p1_MyMethod1 is called by p2_MyMethod2, which itself is called by p2_testMyMethod2, thus p2_testMyMethod2 should not be found. + "MyMethod1 is called by MyMethod2, which itself is called by testMyMethod2, thus testMyMethod2 should not be found. We go out of the package once so it's normal hat the test is not found." | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClass','P1') asClass >> ('method1_','SecondLevelSendersOutsidePackageWithTestOutside') asSymbol). + testsFound := self searchTestMethodsFor: ( ('SmTClass','P1') asClass >> ('method1','SecondLevelSendersOutsidePackageWithTestOutside') asSymbol). self assert: (testsFound isEmpty ). - self deny: (testsFound includes: test_method2_SecondLevelSendersOutsidePackageWithTestOutside ). + self deny: (testsFound includes: testMethod2SecondLevelSendersOutsidePackageWithTestOutside ). \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/properties.json b/SmartTest.package/SmTFilterAbstractTest.class/properties.json index 637c86c..040d18c 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/properties.json +++ b/SmartTest.package/SmTFilterAbstractTest.class/properties.json @@ -7,12 +7,16 @@ "classvars" : [ ], "instvars" : [ "smartFinder", - "test_method1_FirstLevelSendersInsidePackage", - "test_method1_FirstLevelSendersOutsidePackage", - "test_method2_SecondLevelSendersInsidePackageWithTestInside", - "test_method2_SecondLevelSendersOutsidePackageWithTestInside", - "test_method2_SecondLevelSendersInsidePackageWithTestOutside", - "test_method2_SecondLevelSendersOutsidePackageWithTestOutside" + "testMethod1FirstLevelSendersInsidePackage", + "testMethod1FirstLevelSendersOutsidePackage", + "testMethod2SecondLevelSendersInsidePackageWithTestInside", + "testMethod2SecondLevelSendersOutsidePackageWithTestInside", + "testMethod2SecondLevelSendersInsidePackageWithTestOutside", + "testMethod2SecondLevelSendersOutsidePackageWithTestOutside", + "testmethod1FirstLevelSendersInsidePackage", + "testmethod1FirstLevelSendersOutsidePackage", + "testmethod2SecondLevelSendersInsidePackageWithTestInside", + "testmethod2SecondLevelSendersOutsidePackageWithTestInside" ], "name" : "SmTFilterAbstractTest", "type" : "normal" diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st new file mode 100644 index 0000000..47e2b3e --- /dev/null +++ b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st @@ -0,0 +1,10 @@ +tests +testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass + + "p1_MyMethod1 is called by p1_MyMethod2, which itself is called by p1_testMyMethod2, a tests owned by the same package as myMethod1, thus p1_testMyMethod2 should be found. + We never go out of the package so it's normal." + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1FirstLevelSendersOutsideWithRefIn','Class') asClass >> ('method1','FirstLevelSendersWithRefInClass') asSymbol). + self assert: testsFound size equals: 1. + self assert: (testsFound includes: (SmTClassTestP2FirstLevelSendersOutsideWithRefInClass >> #testMethod1FirstLevelSendersOutsideWithRefInClass) asRingDefinition ). \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st new file mode 100644 index 0000000..19fd949 --- /dev/null +++ b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st @@ -0,0 +1,10 @@ +tests +testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod + + "p1_MyMethod1 is called by p1_MyMethod2, which itself is called by p1_testMyMethod2, a tests owned by the same package as myMethod1, thus p1_testMyMethod2 should be found. + We never go out of the package so it's normal." + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1FirstLevelSendersOutsideWithRefIn','Method') asClass >> ('method1','FirstLevelSendersWithRefInMethod') asSymbol). + self assert: testsFound size equals: 1. + self assert: (testsFound includes: (SmTClassTestP2FirstLevelSendersOutsideWithRefInMethod >> #testMethod1FirstLevelSendersOutsideWithRefInMethod) asRingDefinition ). \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st new file mode 100644 index 0000000..c3d0336 --- /dev/null +++ b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st @@ -0,0 +1,11 @@ +tests +testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage + + "p1_MyMethod1 is called by p1_MyMethod2, which itself is called by p1_testMyMethod2, a tests owned by the same package as myMethod1, thus p1_testMyMethod2 should be found. + We never go out of the package so it's normal." + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1FirstLevelSendersOutsideWithRefIn','Package') asClass >> ('method1FirstLevelSendersWithRefIn','Package') asSymbol). + self assert: testsFound size equals: 1. + self assert: (testsFound includes: (SmTClassTestP2FirstLevelSendersOutsideWithRefInPackage >> #testMethod1FirstLevelSendersOutsideWithRefInPackage) asRingDefinition ). + \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/README.md b/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/README.md new file mode 100644 index 0000000..39146f9 --- /dev/null +++ b/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/README.md @@ -0,0 +1,5 @@ +I test the strategy SendersFinder with the filter RestrictedPackage. +The filter should accept any test that is owned by a package whose name matches the regex. + +Here we look for tests in the package SmartDataTestOutsideP1 AND SmartDataTestOutsideP2 End of statement list encountered ->(this is defined in the SetUp method). +The results are different than the results with only one package. \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/setUp.st b/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/setUp.st new file mode 100644 index 0000000..a02c9b6 --- /dev/null +++ b/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/setUp.st @@ -0,0 +1,6 @@ +running +setUp + "Here we want to test the SmTDefaultPackagesFilter with the static strategy 'sendersFinder' " + super setUp. + self timeLimit: 60 seconds. + smartFinder filter: (SmTSpecifyPackagesNameFilter packagesRegEx: 'SmartTestDataOutsideP1,SmartTestDataOutsideP2') new \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st b/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st new file mode 100644 index 0000000..593b8be --- /dev/null +++ b/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st @@ -0,0 +1,12 @@ +tests +testStandardMethodFirstLevelSendersOutsidePackage + + "MyMethod1 is called by testMyMethod2, a test not owned by the same package as myMethod1 but its package matches the regex so it should be found" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClass','P1') asClass >> ('method1','FirstLevelSendersOutsidePackage') asSymbol). + self assert: testsFound size equals: 1 . + self assert: (testsFound includes: testMethod1FirstLevelSendersOutsidePackage). + + + \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestOutside.st b/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestOutside.st new file mode 100644 index 0000000..9eb936e --- /dev/null +++ b/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestOutside.st @@ -0,0 +1,12 @@ +running +testStandardMethodSecondLevelSendersInsidePackageWithTestOutside + + "p1_MyMethod1 is called by p1_MyMethod2, which itself is called by p2_testMyMethod2, both methods (the test and the method) are not owned by the same package as myMethod1 but their packages matches the regex so it should be found" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClass','P1') asClass >> ('method1','SecondLevelSendersInsidePackageWithTestOutside') asSymbol). + self assert: testsFound size equals: 1 . + self assert: (testsFound includes: testMethod2SecondLevelSendersInsidePackageWithTestOutside ). + + + \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestInside.st b/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestInside.st new file mode 100644 index 0000000..017efee --- /dev/null +++ b/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestInside.st @@ -0,0 +1,12 @@ +running +testStandardMethodSecondLevelSendersOutsidePackageWithTestInside + + "p1_MyMethod1 is called by p2_MyMethod2, which itself is called by p1_testMyMethod2, both methods (the test and the method) are not owned by the same package as myMethod1 but their packages matches the regex so it should be found" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClass','P1') asClass >> ('method1','SecondLevelSendersOutsidePackageWithTestInside') asSymbol). + self assert: testsFound size equals: 1 . + self assert: (testsFound includes: testMethod2SecondLevelSendersOutsidePackageWithTestInside ). + + + \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestOutside.st b/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestOutside.st new file mode 100644 index 0000000..7b4f2d5 --- /dev/null +++ b/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestOutside.st @@ -0,0 +1,12 @@ +running +testStandardMethodSecondLevelSendersOutsidePackageWithTestOutside + + "p1_MyMethod1 is called by p2_MyMethod2, which itself is called by p2_testMyMethod2, both methods (the test and the method) are not owned by the same package as myMethod1 but their packages matches the regex so it should be found" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClass','P1') asClass >> ('method1','SecondLevelSendersOutsidePackageWithTestOutside') asSymbol). + self assert: testsFound size equals: 1 . + self assert: (testsFound includes: testMethod2SecondLevelSendersOutsidePackageWithTestOutside ). + + + \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/properties.json b/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/properties.json new file mode 100644 index 0000000..0a8349c --- /dev/null +++ b/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "EleonoreWALD 5/14/2018 11:02", + "super" : "SmTFilterAbstractTest", + "category" : "SmartTest-Tests", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTSendersFilterTestWithMultipleRestrictedPackage", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestWithRestrictedPackage.class/README.md b/SmartTest.package/SmTSendersFilterTestWithRestrictedPackage.class/README.md index b3d4fba..48f9667 100644 --- a/SmartTest.package/SmTSendersFilterTestWithRestrictedPackage.class/README.md +++ b/SmartTest.package/SmTSendersFilterTestWithRestrictedPackage.class/README.md @@ -1,2 +1,4 @@ I test the strategy SendersFinder with the filter RestrictedPackage. -The filter should accept any test that is owned by a package whose name matches the regex. \ No newline at end of file +The filter should accept any test that is owned by a package whose name matches the regex. + +Here we look for tests in the package SmartDataTestOutsideP1 (this is defined in the SetUp method). \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestWithRestrictedPackage.class/properties.json b/SmartTest.package/SmTSendersFilterTestWithRestrictedPackage.class/properties.json index 46f59c2..79e742b 100644 --- a/SmartTest.package/SmTSendersFilterTestWithRestrictedPackage.class/properties.json +++ b/SmartTest.package/SmTSendersFilterTestWithRestrictedPackage.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "EleonoreWALD 5/11/2018 11:00", + "commentStamp" : "EleonoreWALD 5/14/2018 11:04", "super" : "SmTFilterAbstractTest", "category" : "SmartTest-Tests", "classinstvars" : [ ], diff --git a/SmartTest.package/SmTSendersFinderTestDefaultClassPackage.class/instance/testStandardMethodWithSomeOutsidePackage.st b/SmartTest.package/SmTSendersFinderTestDefaultClassPackage.class/instance/testStandardMethodWithSomeOutsidePackage.st deleted file mode 100644 index 82c7668..0000000 --- a/SmartTest.package/SmTSendersFinderTestDefaultClassPackage.class/instance/testStandardMethodWithSomeOutsidePackage.st +++ /dev/null @@ -1,8 +0,0 @@ -tests -testStandardMethodWithSomeOutsidePackage - - | testsFound | - testsFound := self searchTestMethodsFor: SmTClass >> #method1. - - self assert: (testsFound includes: testMethod1). - self deny: (testsFound includes: testMethod1OutsidePackage ). \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1_FirstLevelSendersInsidePackage.st b/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1FirstLevelSendersInsidePackage.st similarity index 78% rename from SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1_FirstLevelSendersInsidePackage.st rename to SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1FirstLevelSendersInsidePackage.st index 256ac14..727219c 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1_FirstLevelSendersInsidePackage.st +++ b/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1FirstLevelSendersInsidePackage.st @@ -1,5 +1,5 @@ method1 -method1_FirstLevelSendersInsidePackage +method1FirstLevelSendersInsidePackage "Data for tests: method directly called by a test method from the same package" " the behaviour of this method is not relevant." \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1_FirstLevelSendersOutsidePackage.st b/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1FirstLevelSendersOutsidePackage.st similarity index 78% rename from SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1_FirstLevelSendersOutsidePackage.st rename to SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1FirstLevelSendersOutsidePackage.st index 9082af5..f5cdce7 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1_FirstLevelSendersOutsidePackage.st +++ b/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1FirstLevelSendersOutsidePackage.st @@ -1,5 +1,5 @@ method1 -method1_FirstLevelSendersOutsidePackage +method1FirstLevelSendersOutsidePackage "Data for tests: method directly called by a test method but not from the same package" " the behaviour of this method is not relevant." \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1_SecondLevelSendersInsidePackageWithTestInside.st b/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1SecondLevelSendersInsidePackageWithTestInside.st similarity index 75% rename from SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1_SecondLevelSendersInsidePackageWithTestInside.st rename to SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1SecondLevelSendersInsidePackageWithTestInside.st index fbdcdf0..a1c17b3 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1_SecondLevelSendersInsidePackageWithTestInside.st +++ b/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1SecondLevelSendersInsidePackageWithTestInside.st @@ -1,5 +1,5 @@ method1 -method1_SecondLevelSendersInsidePackageWithTestInside +method1SecondLevelSendersInsidePackageWithTestInside "Data for tests: method called by another method , which itself is called by a test from the same package" " the behaviour of this method is not relevant." \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1_SecondLevelSendersInsidePackageWithTestOutside.st b/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1SecondLevelSendersInsidePackageWithTestOutside.st similarity index 77% rename from SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1_SecondLevelSendersInsidePackageWithTestOutside.st rename to SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1SecondLevelSendersInsidePackageWithTestOutside.st index 4ec8437..313a287 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1_SecondLevelSendersInsidePackageWithTestOutside.st +++ b/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1SecondLevelSendersInsidePackageWithTestOutside.st @@ -1,5 +1,5 @@ method1 -method1_SecondLevelSendersInsidePackageWithTestOutside +method1SecondLevelSendersInsidePackageWithTestOutside "Data for tests: method called by another method from the same package, which itself is called by a test not from the same package" " the behaviour of this method is not relevant." \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1_SecondLevelSendersOutsidePackageWithTestInside.st b/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1SecondLevelSendersOutsidePackageWithTestInside.st similarity index 77% rename from SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1_SecondLevelSendersOutsidePackageWithTestInside.st rename to SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1SecondLevelSendersOutsidePackageWithTestInside.st index 89542d2..c7ab4cf 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1_SecondLevelSendersOutsidePackageWithTestInside.st +++ b/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1SecondLevelSendersOutsidePackageWithTestInside.st @@ -1,5 +1,5 @@ method1 -method1_SecondLevelSendersOutsidePackageWithTestInside +method1SecondLevelSendersOutsidePackageWithTestInside "Data for tests: method called by another method not from the same package, which itself is called by a test from the same package" " the behaviour of this method is not relevant." \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1_SecondLevelSendersOutsidePackageWithTestOutside.st b/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1SecondLevelSendersOutsidePackageWithTestOutside.st similarity index 77% rename from SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1_SecondLevelSendersOutsidePackageWithTestOutside.st rename to SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1SecondLevelSendersOutsidePackageWithTestOutside.st index 2978324..258360d 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1_SecondLevelSendersOutsidePackageWithTestOutside.st +++ b/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1SecondLevelSendersOutsidePackageWithTestOutside.st @@ -1,5 +1,5 @@ method1 -method1_SecondLevelSendersOutsidePackageWithTestOutside +method1SecondLevelSendersOutsidePackageWithTestOutside "Data for tests: method called by another method not from the same package, which itself is called by a test not from the same package" " the behaviour of this method is not relevant." \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method2SecondLevelSendersInsidePackageWithTestInside.st b/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method2SecondLevelSendersInsidePackageWithTestInside.st new file mode 100644 index 0000000..ef8aa5e --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method2SecondLevelSendersInsidePackageWithTestInside.st @@ -0,0 +1,5 @@ +method2 +method2SecondLevelSendersInsidePackageWithTestInside + "Data for tests: this method calls a method from the same package, + this method is called by a test from the same package" +^ ('SmTClass','P1') asClass new method1SecondLevelSendersInsidePackageWithTestInside. \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method2SecondLevelSendersInsidePackageWithTestOutside.st b/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method2SecondLevelSendersInsidePackageWithTestOutside.st new file mode 100644 index 0000000..de041e3 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method2SecondLevelSendersInsidePackageWithTestOutside.st @@ -0,0 +1,5 @@ +method2 +method2SecondLevelSendersInsidePackageWithTestOutside + "Data for tests: this method calls a method from the same package, + this method is called by a test not from the same package" +^('SmTClass','P1') asClass new method1SecondLevelSendersInsidePackageWithTestOutside. \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method2_SecondLevelSendersInsidePackageWithTestInside.st b/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method2_SecondLevelSendersInsidePackageWithTestInside.st deleted file mode 100644 index ec51b12..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method2_SecondLevelSendersInsidePackageWithTestInside.st +++ /dev/null @@ -1,5 +0,0 @@ -method2 -method2_SecondLevelSendersInsidePackageWithTestInside - "Data for tests: this method calls a method from the same package, - this method is called by a test from the same package" -^ ('SmTClass','P1') asClass new method1_SecondLevelSendersInsidePackageWithTestInside. \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method2_SecondLevelSendersInsidePackageWithTestOutside.st b/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method2_SecondLevelSendersInsidePackageWithTestOutside.st deleted file mode 100644 index aeaffba..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method2_SecondLevelSendersInsidePackageWithTestOutside.st +++ /dev/null @@ -1,5 +0,0 @@ -method2 -method2_SecondLevelSendersInsidePackageWithTestOutside - "Data for tests: this method calls a method from the same package, - this method is called by a test not from the same package" -^('SmTClass','P1') asClass new method1_SecondLevelSendersInsidePackageWithTestOutside. \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class/README.md b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class/instance/method1FirstLevelSendersWithRefInClass.st b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class/instance/method1FirstLevelSendersWithRefInClass.st new file mode 100644 index 0000000..6dcde47 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class/instance/method1FirstLevelSendersWithRefInClass.st @@ -0,0 +1,6 @@ +method1 +"method1" +method1FirstLevelSendersWithRefInClass +"Data for tests: method directly called by a test method not from the same package" + +" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class/properties.json new file mode 100644 index 0000000..de1d580 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTClassP1FirstLevelSendersWithRef", + "category" : "SmartTestDataOutsideP1", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTClassP1FirstLevelSendersOutsideWithRefInClass", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class/README.md b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class/instance/method1FirstLevelSendersWithRefInMethod.st b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class/instance/method1FirstLevelSendersWithRefInMethod.st new file mode 100644 index 0000000..ddefc1a --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class/instance/method1FirstLevelSendersWithRefInMethod.st @@ -0,0 +1,6 @@ +testMethod1 +"method1" +method1FirstLevelSendersWithRefInMethod +"Data for tests: method directly called by a test method not from the same package" + +" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class/properties.json new file mode 100644 index 0000000..68da72e --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTClassP1FirstLevelSendersWithRef", + "category" : "SmartTestDataOutsideP1", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTClassP1FirstLevelSendersOutsideWithRefInMethod", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class/README.md b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class/instance/method1FirstLevelSendersWithRefInPackage.st b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class/instance/method1FirstLevelSendersWithRefInPackage.st new file mode 100644 index 0000000..e23dcf4 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class/instance/method1FirstLevelSendersWithRefInPackage.st @@ -0,0 +1,6 @@ +testMethod1 +"method1" +method1FirstLevelSendersWithRefInPackage +"Data for tests: method directly called by a test method not from the same package" + +" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class/properties.json new file mode 100644 index 0000000..c0b897a --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTClassP1FirstLevelSendersWithRef", + "category" : "SmartTestDataOutsideP1", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTClassP1FirstLevelSendersOutsideWithRefInPackage", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersWithRef.class/README.md b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersWithRef.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersWithRef.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersWithRef.class/properties.json new file mode 100644 index 0000000..7849b3c --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersWithRef.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "Object", + "category" : "SmartTestDataOutsideP1", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTClassP1FirstLevelSendersWithRef", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideWithRefInClass.class/README.md b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideWithRefInClass.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideWithRefInClass.class/instance/method1SecondLevelSendersWithRefInClass.st b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideWithRefInClass.class/instance/method1SecondLevelSendersWithRefInClass.st new file mode 100644 index 0000000..06e507b --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideWithRefInClass.class/instance/method1SecondLevelSendersWithRefInClass.st @@ -0,0 +1,6 @@ +method1 +"method1" +method1SecondLevelSendersWithRefInClass +"Data for tests: method directly called by a test method not from the same package" + +" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideWithRefInClass.class/instance/method2SecondLevelSendersWithRefInClass.st b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideWithRefInClass.class/instance/method2SecondLevelSendersWithRefInClass.st new file mode 100644 index 0000000..fcaba93 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideWithRefInClass.class/instance/method2SecondLevelSendersWithRefInClass.st @@ -0,0 +1,6 @@ +method2 +"method1" +method2SecondLevelSendersWithRefInClass +"Data for tests: method directly called by a test method not from the same package" + +" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideWithRefInClass.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideWithRefInClass.class/properties.json new file mode 100644 index 0000000..f16f140 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideWithRefInClass.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTClassP1SecondLevelSendersWithRef", + "category" : "SmartTestDataOutsideP1", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTClassP1SecondLevelSendersOutsideWithRefInClass", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideWithRefInMethod.class/README.md b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideWithRefInMethod.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideWithRefInMethod.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideWithRefInMethod.class/properties.json new file mode 100644 index 0000000..ddd344d --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideWithRefInMethod.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTClassP1SecondLevelSendersWithRef", + "category" : "SmartTestDataOutsideP1", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTClassP1SecondLevelSendersOutsideWithRefInMethod", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideWithRefInPackage.class/README.md b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideWithRefInPackage.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideWithRefInPackage.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideWithRefInPackage.class/properties.json new file mode 100644 index 0000000..413c2fa --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideWithRefInPackage.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTClassP1SecondLevelSendersWithRef", + "category" : "SmartTestDataOutsideP1", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTClassP1SecondLevelSendersOutsideWithRefInPackage", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersWithRef.class/README.md b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersWithRef.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersWithRef.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersWithRef.class/properties.json new file mode 100644 index 0000000..7b35e5e --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersWithRef.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "Object", + "category" : "SmartTestDataOutsideP1", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTClassP1SecondLevelSendersWithRef", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod1FirstLevelSendersInsidePackage.st b/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod1FirstLevelSendersInsidePackage.st new file mode 100644 index 0000000..c90b677 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod1FirstLevelSendersInsidePackage.st @@ -0,0 +1,4 @@ +testMethod1 +testMethod1FirstLevelSendersInsidePackage +"Data for tests: this method calls directly a method from the same package." + ^ ('SmTClass','P1') asClass new method1FirstLevelSendersInsidePackage. \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersInsidePackageWithTestInside.st b/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersInsidePackageWithTestInside.st new file mode 100644 index 0000000..5157f7e --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersInsidePackageWithTestInside.st @@ -0,0 +1,3 @@ +testMethod2 +testMethod2SecondLevelSendersInsidePackageWithTestInside + ^ ('SmTClass','P1') asClass new method2SecondLevelSendersInsidePackageWithTestInside. \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersOutsidePackageWithTestInside.st b/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersOutsidePackageWithTestInside.st new file mode 100644 index 0000000..7d201f0 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersOutsidePackageWithTestInside.st @@ -0,0 +1,3 @@ +testMethod2 +testMethod2SecondLevelSendersOutsidePackageWithTestInside + ^ ('SmTClass','P2') asClass new method2SecondLevelSendersOutsidePackageWithTestInside. \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/test_method1_FirstLevelSendersInsidePackage.st b/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/test_method1_FirstLevelSendersInsidePackage.st deleted file mode 100644 index 53296bd..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/test_method1_FirstLevelSendersInsidePackage.st +++ /dev/null @@ -1,4 +0,0 @@ -testMethod1 -test_method1_FirstLevelSendersInsidePackage -"Data for tests: this method calls directly a method from the same package." - ^ ('SmTClass','P1') asClass new method1_FirstLevelSendersInsidePackage. \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/test_method2_SecondLevelSendersInsidePackageWithTestInside.st b/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/test_method2_SecondLevelSendersInsidePackageWithTestInside.st deleted file mode 100644 index 5f9ea15..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/test_method2_SecondLevelSendersInsidePackageWithTestInside.st +++ /dev/null @@ -1,3 +0,0 @@ -testMethod2 -test_method2_SecondLevelSendersInsidePackageWithTestInside - ^ ('SmTClass','P1') asClass new method2_SecondLevelSendersInsidePackageWithTestInside. \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/test_method2_SecondLevelSendersOutsidePackageWithTestInside.st b/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/test_method2_SecondLevelSendersOutsidePackageWithTestInside.st deleted file mode 100644 index c18e0c0..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/test_method2_SecondLevelSendersOutsidePackageWithTestInside.st +++ /dev/null @@ -1,3 +0,0 @@ -testMethod2 -test_method2_SecondLevelSendersOutsidePackageWithTestInside - ^ ('SmTClass','P2') asClass new method2_SecondLevelSendersOutsidePackageWithTestInside. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassP2.class/instance/method2_SecondLevelSendersOutsidePackageWithTestInside.st b/SmartTestDataOutsideP2.package/SmTClassP2.class/instance/method2SecondLevelSendersOutsidePackageWithTestInside.st similarity index 55% rename from SmartTestDataOutsideP2.package/SmTClassP2.class/instance/method2_SecondLevelSendersOutsidePackageWithTestInside.st rename to SmartTestDataOutsideP2.package/SmTClassP2.class/instance/method2SecondLevelSendersOutsidePackageWithTestInside.st index 30cea86..1063f3f 100644 --- a/SmartTestDataOutsideP2.package/SmTClassP2.class/instance/method2_SecondLevelSendersOutsidePackageWithTestInside.st +++ b/SmartTestDataOutsideP2.package/SmTClassP2.class/instance/method2SecondLevelSendersOutsidePackageWithTestInside.st @@ -1,5 +1,5 @@ method2 -method2_SecondLevelSendersOutsidePackageWithTestInside +method2SecondLevelSendersOutsidePackageWithTestInside "Data for tests: this method calls a method not from the same package (located in SmartTestDataOutsideP1), this method is called by a test from the same package" -^ ('SmTClass','P1') asClass new method1_SecondLevelSendersOutsidePackageWithTestInside \ No newline at end of file +^ ('SmTClass','P1') asClass new method1SecondLevelSendersOutsidePackageWithTestInside \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassP2.class/instance/method2_SecondLevelSendersOutsidePackageWithTestOutside.st b/SmartTestDataOutsideP2.package/SmTClassP2.class/instance/method2SecondLevelSendersOutsidePackageWithTestOutside.st similarity index 59% rename from SmartTestDataOutsideP2.package/SmTClassP2.class/instance/method2_SecondLevelSendersOutsidePackageWithTestOutside.st rename to SmartTestDataOutsideP2.package/SmTClassP2.class/instance/method2SecondLevelSendersOutsidePackageWithTestOutside.st index 7ae09f5..359a04f 100644 --- a/SmartTestDataOutsideP2.package/SmTClassP2.class/instance/method2_SecondLevelSendersOutsidePackageWithTestOutside.st +++ b/SmartTestDataOutsideP2.package/SmTClassP2.class/instance/method2SecondLevelSendersOutsidePackageWithTestOutside.st @@ -1,5 +1,5 @@ method2 -method2_SecondLevelSendersOutsidePackageWithTestOutside +method2SecondLevelSendersOutsidePackageWithTestOutside "Data for tests: this method calls a method not from the same package (located in SmartTestDataOutsideP1), this method is called by a test not from the same package (located in SmartTestDataOutsideP1)" -^ ('SmTClass','P1') asClass new method1_SecondLevelSendersOutsidePackageWithTestOutside \ No newline at end of file +^ ('SmTClass','P1') asClass new method1SecondLevelSendersOutsidePackageWithTestOutside \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassP2ThatMakesReferences.class/README.md b/SmartTestDataOutsideP2.package/SmTClassP2ThatMakesReferences.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTestDataOutsideP2.package/SmTClassP2ThatMakesReferences.class/instance/referenceToSmTClassP1FirstLevelSendersOutsideWithRefInPackage.st b/SmartTestDataOutsideP2.package/SmTClassP2ThatMakesReferences.class/instance/referenceToSmTClassP1FirstLevelSendersOutsideWithRefInPackage.st new file mode 100644 index 0000000..41e1f08 --- /dev/null +++ b/SmartTestDataOutsideP2.package/SmTClassP2ThatMakesReferences.class/instance/referenceToSmTClassP1FirstLevelSendersOutsideWithRefInPackage.st @@ -0,0 +1,4 @@ +ref +"as yet unclassified" +referenceToSmTClassP1FirstLevelSendersOutsideWithRefInPackage +^SmTClassP1FirstLevelSendersOutsideWithRefInPackage \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassP2ThatMakesReferences.class/properties.json b/SmartTestDataOutsideP2.package/SmTClassP2ThatMakesReferences.class/properties.json new file mode 100644 index 0000000..a398dee --- /dev/null +++ b/SmartTestDataOutsideP2.package/SmTClassP2ThatMakesReferences.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "Object", + "category" : "SmartTestDataOutsideP2", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTClassP2ThatMakesReferences", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testMethod1FirstLevelSendersOutsidePackage.st b/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testMethod1FirstLevelSendersOutsidePackage.st new file mode 100644 index 0000000..868e724 --- /dev/null +++ b/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testMethod1FirstLevelSendersOutsidePackage.st @@ -0,0 +1,4 @@ +testMethod1 +testMethod1FirstLevelSendersOutsidePackage + "Data for tests: this method calls directly method1, which is not located in the same package" + ^ ('SmTClass','P1') asClass new method1FirstLevelSendersOutsidePackage. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/test_method2_SecondLevelSendersInsidePackageWithTestOutside.st b/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testMethod2SecondLevelSendersInsidePackageWithTestOutside.st similarity index 58% rename from SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/test_method2_SecondLevelSendersInsidePackageWithTestOutside.st rename to SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testMethod2SecondLevelSendersInsidePackageWithTestOutside.st index 9baecf2..7adba03 100644 --- a/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/test_method2_SecondLevelSendersInsidePackageWithTestOutside.st +++ b/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testMethod2SecondLevelSendersInsidePackageWithTestOutside.st @@ -1,4 +1,4 @@ testMethod2 -test_method2_SecondLevelSendersInsidePackageWithTestOutside +testMethod2SecondLevelSendersInsidePackageWithTestOutside "Data for tests: this method calls a method not from the same package, which itself calls a method. Both are not from the same package as this test (both are located in SmartTestDataOutsideP1)" - ^ ('SmTClass','P1') asClass new method2_SecondLevelSendersInsidePackageWithTestOutside. \ No newline at end of file + ^ ('SmTClass','P1') asClass new method2SecondLevelSendersInsidePackageWithTestOutside. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/test_method2_SecondLevelSendersOutsidePackageWithTestOutside.st b/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testMethod2SecondLevelSendersOutsidePackageWithTestOutside.st similarity index 57% rename from SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/test_method2_SecondLevelSendersOutsidePackageWithTestOutside.st rename to SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testMethod2SecondLevelSendersOutsidePackageWithTestOutside.st index ddb28a1..6166a5c 100644 --- a/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/test_method2_SecondLevelSendersOutsidePackageWithTestOutside.st +++ b/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testMethod2SecondLevelSendersOutsidePackageWithTestOutside.st @@ -1,4 +1,4 @@ testMethod2 -test_method2_SecondLevelSendersOutsidePackageWithTestOutside +testMethod2SecondLevelSendersOutsidePackageWithTestOutside "Data for tests: this method calls a method from the same package (located in SmartTestDataOutsideP1), which itself calls a method not from the same package (located in SmartTestDataOutsideP1)" - ^ ('SmTClass','P2') asClass new method2_SecondLevelSendersOutsidePackageWithTestOutside. \ No newline at end of file + ^ ('SmTClass','P2') asClass new method2SecondLevelSendersOutsidePackageWithTestOutside. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/test_method1_FirstLevelSendersOutsidePackage.st b/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/test_method1_FirstLevelSendersOutsidePackage.st deleted file mode 100644 index 9050148..0000000 --- a/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/test_method1_FirstLevelSendersOutsidePackage.st +++ /dev/null @@ -1,4 +0,0 @@ -testMethod1 -test_method1_FirstLevelSendersOutsidePackage - "Data for tests: this method calls directly method1, which is not located in the same package" - ^ ('SmTClass','P1') asClass new method1_FirstLevelSendersOutsidePackage. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRef.class/README.md b/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRef.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRef.class/properties.json b/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRef.class/properties.json new file mode 100644 index 0000000..ea45e10 --- /dev/null +++ b/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRef.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "TestCase", + "category" : "SmartTestDataOutsideP2", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTClassTestP2FirstLevelSendersOutsideWithRef", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInClass.class/README.md b/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInClass.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInClass.class/instance/refInClass.st b/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInClass.class/instance/refInClass.st new file mode 100644 index 0000000..e4aac06 --- /dev/null +++ b/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInClass.class/instance/refInClass.st @@ -0,0 +1,3 @@ +tests +refInClass +^ SmTClassP1FirstLevelSendersOutsideWithRefInClass. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInClass.class/instance/testMethod1FirstLevelSendersOutsideWithRefInClass.st b/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInClass.class/instance/testMethod1FirstLevelSendersOutsideWithRefInClass.st new file mode 100644 index 0000000..5c91e06 --- /dev/null +++ b/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInClass.class/instance/testMethod1FirstLevelSendersOutsideWithRefInClass.st @@ -0,0 +1,3 @@ +tests +testMethod1FirstLevelSendersOutsideWithRefInClass +^ ('SmTClassP1','FirstLevelSendersOutsideWithRefInClass') asClass new method1FirstLevelSendersWithRefInClass. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInClass.class/properties.json b/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInClass.class/properties.json new file mode 100644 index 0000000..e60e6f8 --- /dev/null +++ b/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInClass.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTClassTestP2FirstLevelSendersOutsideWithRef", + "category" : "SmartTestDataOutsideP2", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTClassTestP2FirstLevelSendersOutsideWithRefInClass", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInMethod.class/README.md b/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInMethod.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInMethod.class/instance/testMethod1FirstLevelSendersOutsideWithRefInMethod.st b/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInMethod.class/instance/testMethod1FirstLevelSendersOutsideWithRefInMethod.st new file mode 100644 index 0000000..141cf23 --- /dev/null +++ b/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInMethod.class/instance/testMethod1FirstLevelSendersOutsideWithRefInMethod.st @@ -0,0 +1,4 @@ +testMethod1 +"testMethod1" +testMethod1FirstLevelSendersOutsideWithRefInMethod +^SmTClassP1FirstLevelSendersOutsideWithRefInMethod new method1FirstLevelSendersWithRefInMethod. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInMethod.class/properties.json b/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInMethod.class/properties.json new file mode 100644 index 0000000..861ba5e --- /dev/null +++ b/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInMethod.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTClassTestP2FirstLevelSendersOutsideWithRef", + "category" : "SmartTestDataOutsideP2", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTClassTestP2FirstLevelSendersOutsideWithRefInMethod", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInPackage.class/README.md b/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInPackage.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInPackage.class/instance/testMethod1FirstLevelSendersOutsideWithRefInPackage.st b/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInPackage.class/instance/testMethod1FirstLevelSendersOutsideWithRefInPackage.st new file mode 100644 index 0000000..8c41d31 --- /dev/null +++ b/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInPackage.class/instance/testMethod1FirstLevelSendersOutsideWithRefInPackage.st @@ -0,0 +1,3 @@ +tests +testMethod1FirstLevelSendersOutsideWithRefInPackage +^('SmTClassP1','FirstLevelSendersOutsideWithRefInPackage') asClass new method1FirstLevelSendersWithRefInPackage. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInPackage.class/properties.json b/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInPackage.class/properties.json new file mode 100644 index 0000000..e1e81e6 --- /dev/null +++ b/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInPackage.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTClassTestP2FirstLevelSendersOutsideWithRef", + "category" : "SmartTestDataOutsideP2", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTClassTestP2FirstLevelSendersOutsideWithRefInPackage", + "type" : "normal" +} \ No newline at end of file From 053e2b2e792018da1efdcc5b80f706f9de9eba37 Mon Sep 17 00:00:00 2001 From: eleonoreW Date: Mon, 14 May 2018 13:27:04 +0200 Subject: [PATCH 048/150] a test was removed --- .../testStandardMethodFirstLevelSendersOutsidePackage2.st | 6 ------ 1 file changed, 6 deletions(-) delete mode 100644 SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackage2.st diff --git a/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackage2.st b/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackage2.st deleted file mode 100644 index cae1a64..0000000 --- a/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackage2.st +++ /dev/null @@ -1,6 +0,0 @@ -tests -testStandardMethodFirstLevelSendersOutsidePackage2 - - | testsFound | - testsFound := self searchTestMethodsFor: (SmTClassOutside >> #method2). - self assert: testsFound isEmpty. \ No newline at end of file From ce8992aed84c39f70ed0459649111694d79d84bd Mon Sep 17 00:00:00 2001 From: eleonoreW Date: Mon, 14 May 2018 14:32:28 +0200 Subject: [PATCH 049/150] Small comments to explain why we use concatenation and not directly the classes|methods --- SmartTest.package/SmTFilterAbstractTest.class/README.md | 3 ++- .../testStandardMethodFirstLevelSendersInsidePackage.st | 2 +- .../testStandardMethodFirstLevelSendersOutsidePackage.st | 3 ++- ...rdMethodSecondLevelSendersInsidePackageWithTestInside.st | 3 ++- ...dMethodSecondLevelSendersInsidePackageWithTestOutside.st | 4 ++-- ...dMethodSecondLevelSendersOutsidePackageWithTestInside.st | 3 ++- ...MethodSecondLevelSendersOutsidePackageWithTestOutside.st | 4 ++-- .../SmTFilterAbstractTest.class/properties.json | 2 +- .../SmTSendersFilterTestDefaultClassPackage.class/README.md | 4 +++- ...rdMethodFirstLevelSendersOutsidePackageWithRefInClass.st | 3 ++- ...dMethodFirstLevelSendersOutsidePackageWithRefInMethod.st | 3 ++- ...MethodFirstLevelSendersOutsidePackageWithRefInPackage.st | 3 ++- .../properties.json | 2 +- .../SmTSendersFilterTestDefaultPackage.class/README.md | 4 +++- .../properties.json | 2 +- .../README.md | 4 +++- .../instance/setUp.st | 3 ++- .../testStandardMethodFirstLevelSendersOutsidePackage.st | 1 + ...dMethodSecondLevelSendersInsidePackageWithTestOutside.st | 6 ++++-- ...dMethodSecondLevelSendersOutsidePackageWithTestInside.st | 4 ++-- ...MethodSecondLevelSendersOutsidePackageWithTestOutside.st | 4 ++-- .../properties.json | 2 +- .../README.md | 4 +++- .../instance/setUp.st | 1 + .../properties.json | 2 +- .../method2SecondLevelSendersInsidePackageWithTestInside.st | 1 + ...method2SecondLevelSendersInsidePackageWithTestOutside.st | 1 + .../instance/testMethod1FirstLevelSendersInsidePackage.st | 1 + ...tMethod2SecondLevelSendersInsidePackageWithTestInside.st | 1 + ...Method2SecondLevelSendersOutsidePackageWithTestInside.st | 1 + ...method2SecondLevelSendersOutsidePackageWithTestInside.st | 1 + ...ethod2SecondLevelSendersOutsidePackageWithTestOutside.st | 1 + .../instance/testMethod1FirstLevelSendersOutsidePackage.st | 1 + ...Method2SecondLevelSendersInsidePackageWithTestOutside.st | 1 + ...ethod2SecondLevelSendersOutsidePackageWithTestOutside.st | 1 + .../testMethod1FirstLevelSendersOutsideWithRefInClass.st | 1 + .../testMethod1FirstLevelSendersOutsideWithRefInMethod.st | 2 +- .../testMethod1FirstLevelSendersOutsideWithRefInPackage.st | 3 ++- 38 files changed, 62 insertions(+), 30 deletions(-) diff --git a/SmartTest.package/SmTFilterAbstractTest.class/README.md b/SmartTest.package/SmTFilterAbstractTest.class/README.md index df034c6..b4ea163 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/README.md +++ b/SmartTest.package/SmTFilterAbstractTest.class/README.md @@ -1 +1,2 @@ -I test the strategy SendersFinder with different filters. \ No newline at end of file +I test the strategy SendersFinder with different filters. +In order to be sure that those test are not considered as callers of the modified method and as references to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method. \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersInsidePackage.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersInsidePackage.st index 7e67c47..a44c9d8 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersInsidePackage.st +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersInsidePackage.st @@ -1,7 +1,7 @@ tests testStandardMethodFirstLevelSendersInsidePackage - "MyMethod1 is called by testMyMethod1, a tests owned by the same package as myMethod1, the only test found should be testMyMethod1" + "method1 is called by testMethod1, a tests owned by the same package as method1, the only test found should be testMethod1" "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" | testsFound | diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st index e4dc32e..94eb698 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st @@ -1,7 +1,8 @@ tests testStandardMethodFirstLevelSendersOutsidePackage - "MyMethod1 is called by testMyMethod2, a test not owned by the same package as myMethod1, thus it should not be found" + "method1 is called by testMethod2, a test not owned by the same package as method1, thus it should not be found" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" | testsFound | testsFound := self searchTestMethodsFor: ( ('SmTClass','P1') asClass >> ('method1','FirstLevelSendersOutsidePackage') asSymbol). diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestInside.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestInside.st index 84e906a..42b6ccf 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestInside.st +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestInside.st @@ -1,8 +1,9 @@ tests testStandardMethodSecondLevelSendersInsidePackageWithTestInside - "p1MyMethod1 is called by p1MyMethod2, which itself is called by p1testMyMethod2, a tests owned by the same package as myMethod1, thus p1testMyMethod2 should be found. + "method1 is called by method2, which itself is called by testMethod2, a tests owned by the same package as myMethod1, thus testMethod2 should be found. We never go out of the package so it's normal." + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" | testsFound | testsFound := self searchTestMethodsFor: ( ('SmTClass','P1') asClass >> ('method1','SecondLevelSendersInsidePackageWithTestInside') asSymbol). diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestOutside.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestOutside.st index 681aabe..a0b0422 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestOutside.st +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestOutside.st @@ -1,9 +1,9 @@ tests testStandardMethodSecondLevelSendersInsidePackageWithTestOutside - "MyMethod1 is called by MyMethod2, which itself is called by testMyMethod2, a test not owned by the same package as myMethod1, thus testMyMethod2 should not be found. + "method1 is called by method2, which itself is called by testMethod2, a test not owned by the same package as method1, thus testMethod2 should not be found. We go out of the package once so it's normal hat the test is not found." - + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" | testsFound | testsFound := self searchTestMethodsFor: ( ('SmTClass','P1') asClass >> ('method1','SecondLevelSendersInsidePackageWithTestOutside') asSymbol). self assert: (testsFound isEmpty ). diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestInside.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestInside.st index 41eafb9..7b0f9bf 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestInside.st +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestInside.st @@ -1,8 +1,9 @@ tests testStandardMethodSecondLevelSendersOutsidePackageWithTestInside - "MyMethod1 is called by MyMethod2, which itself is called by testMyMethod2, thus testMyMethod2 should not be found. + "method1 is called by method2, which itself is called by testMethod2, thus testMethod2 should not be found. We go out of the package once so it's normal hat the test is not found." + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" | testsFound | testsFound := self searchTestMethodsFor: ( ('SmTClass','P1') asClass >> ('method1','SecondLevelSendersOutsidePackageWithTestInside') asSymbol). diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestOutside.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestOutside.st index d4e9a43..0143b83 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestOutside.st +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestOutside.st @@ -1,9 +1,9 @@ tests testStandardMethodSecondLevelSendersOutsidePackageWithTestOutside - "MyMethod1 is called by MyMethod2, which itself is called by testMyMethod2, thus testMyMethod2 should not be found. + "method1 is called by method2, which itself is called by testMethod2, thus testMethod2 should not be found. We go out of the package once so it's normal hat the test is not found." - + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" | testsFound | testsFound := self searchTestMethodsFor: ( ('SmTClass','P1') asClass >> ('method1','SecondLevelSendersOutsidePackageWithTestOutside') asSymbol). self assert: (testsFound isEmpty ). diff --git a/SmartTest.package/SmTFilterAbstractTest.class/properties.json b/SmartTest.package/SmTFilterAbstractTest.class/properties.json index 040d18c..497c6c9 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/properties.json +++ b/SmartTest.package/SmTFilterAbstractTest.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "EleonoreWALD 5/9/2018 16:06", + "commentStamp" : "EleonoreWALD 5/14/2018 14:06", "super" : "TestCase", "category" : "SmartTest-Tests", "classinstvars" : [ ], diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/README.md b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/README.md index 31894e6..da1eccf 100644 --- a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/README.md +++ b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/README.md @@ -1,4 +1,6 @@ I test the strategy SendersFinder with the filterDefaultClassPackage. The filter should accept any test that is owned by : - the package of the modified method; - - a package that references the class of the modified method. \ No newline at end of file + - a package that references the class of the modified method. + +In order to be sure that those test are not considered as callers of the modified method and as references to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method. \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st index 47e2b3e..d30e956 100644 --- a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st +++ b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st @@ -1,8 +1,9 @@ tests testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass - "p1_MyMethod1 is called by p1_MyMethod2, which itself is called by p1_testMyMethod2, a tests owned by the same package as myMethod1, thus p1_testMyMethod2 should be found. + "method1 is called by method2, which itself is called by testMethod2, a tests owned by the same package as method1, thus testMethod2 should be found. We never go out of the package so it's normal." + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" | testsFound | testsFound := self searchTestMethodsFor: ( ('SmTClassP1FirstLevelSendersOutsideWithRefIn','Class') asClass >> ('method1','FirstLevelSendersWithRefInClass') asSymbol). diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st index 19fd949..282861a 100644 --- a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st +++ b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st @@ -1,8 +1,9 @@ tests testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod - "p1_MyMethod1 is called by p1_MyMethod2, which itself is called by p1_testMyMethod2, a tests owned by the same package as myMethod1, thus p1_testMyMethod2 should be found. + "method1 is called by method2, which itself is called by testMethod2, a tests owned by the same package as myMethod1, thus testMethod2 should be found. We never go out of the package so it's normal." + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" | testsFound | testsFound := self searchTestMethodsFor: ( ('SmTClassP1FirstLevelSendersOutsideWithRefIn','Method') asClass >> ('method1','FirstLevelSendersWithRefInMethod') asSymbol). diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st index c3d0336..7d37cce 100644 --- a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st +++ b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st @@ -1,8 +1,9 @@ tests testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage - "p1_MyMethod1 is called by p1_MyMethod2, which itself is called by p1_testMyMethod2, a tests owned by the same package as myMethod1, thus p1_testMyMethod2 should be found. + "method1 is called by method2, which itself is called by testMethod2, a tests owned by the same package as method1, thus testMethod2 should be found. We never go out of the package so it's normal." + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" | testsFound | testsFound := self searchTestMethodsFor: ( ('SmTClassP1FirstLevelSendersOutsideWithRefIn','Package') asClass >> ('method1FirstLevelSendersWithRefIn','Package') asSymbol). diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/properties.json b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/properties.json index 73a1916..538f1a9 100644 --- a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/properties.json +++ b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "EleonoreWALD 5/11/2018 13:29", + "commentStamp" : "EleonoreWALD 5/14/2018 14:06", "super" : "SmTFilterAbstractTest", "category" : "SmartTest-Tests", "classinstvars" : [ ], diff --git a/SmartTest.package/SmTSendersFilterTestDefaultPackage.class/README.md b/SmartTest.package/SmTSendersFilterTestDefaultPackage.class/README.md index 9a941d9..dcb8d92 100644 --- a/SmartTest.package/SmTSendersFilterTestDefaultPackage.class/README.md +++ b/SmartTest.package/SmTSendersFilterTestDefaultPackage.class/README.md @@ -1,3 +1,5 @@ I test the strategy SendersFinder with the filter DefaultPackage. The filter should accept any test that is owned by : - - the package of the modified method; \ No newline at end of file + - the package of the modified method; + +In order to be sure that those test are not considered as callers of the modified method and as references to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method. \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestDefaultPackage.class/properties.json b/SmartTest.package/SmTSendersFilterTestDefaultPackage.class/properties.json index bf36865..62b13e6 100644 --- a/SmartTest.package/SmTSendersFilterTestDefaultPackage.class/properties.json +++ b/SmartTest.package/SmTSendersFilterTestDefaultPackage.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "EleonoreWALD 5/11/2018 13:29", + "commentStamp" : "EleonoreWALD 5/14/2018 14:06", "super" : "SmTFilterAbstractTest", "category" : "SmartTest-Tests", "classinstvars" : [ ], diff --git a/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/README.md b/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/README.md index 39146f9..e18a184 100644 --- a/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/README.md +++ b/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/README.md @@ -2,4 +2,6 @@ I test the strategy SendersFinder with the filter RestrictedPackage. The filter should accept any test that is owned by a package whose name matches the regex. Here we look for tests in the package SmartDataTestOutsideP1 AND SmartDataTestOutsideP2 End of statement list encountered ->(this is defined in the SetUp method). -The results are different than the results with only one package. \ No newline at end of file +The results are different than the results with only one package. + +In order to be sure that those test are not considered as callers of the modified method and as references to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method. \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/setUp.st b/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/setUp.st index a02c9b6..e09825f 100644 --- a/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/setUp.st +++ b/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/setUp.st @@ -3,4 +3,5 @@ setUp "Here we want to test the SmTDefaultPackagesFilter with the static strategy 'sendersFinder' " super setUp. self timeLimit: 60 seconds. - smartFinder filter: (SmTSpecifyPackagesNameFilter packagesRegEx: 'SmartTestDataOutsideP1,SmartTestDataOutsideP2') new \ No newline at end of file + self flag: 'Because the problem with the regex is not corrected yet, those tests will fail but we leave it as it to show that there is a problem'. + smartFinder filter: (SmTSpecifyPackagesNameFilter packagesRegEx: 'SmartTestDataOutsideP1|SmartTestDataOutsideP2') new \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st b/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st index 593b8be..d261fd4 100644 --- a/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st +++ b/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st @@ -2,6 +2,7 @@ tests testStandardMethodFirstLevelSendersOutsidePackage "MyMethod1 is called by testMyMethod2, a test not owned by the same package as myMethod1 but its package matches the regex so it should be found" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" | testsFound | testsFound := self searchTestMethodsFor: ( ('SmTClass','P1') asClass >> ('method1','FirstLevelSendersOutsidePackage') asSymbol). diff --git a/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestOutside.st b/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestOutside.st index 9eb936e..f7885e7 100644 --- a/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestOutside.st +++ b/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestOutside.st @@ -1,9 +1,11 @@ running testStandardMethodSecondLevelSendersInsidePackageWithTestOutside - "p1_MyMethod1 is called by p1_MyMethod2, which itself is called by p2_testMyMethod2, both methods (the test and the method) are not owned by the same package as myMethod1 but their packages matches the regex so it should be found" - + "method1 is called by method2, which itself is called by testMethod2, both methods (the test and the method) are not owned by the same package as myMethod1 but their packages matches the regex so it should be found" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + | testsFound | + self flag: 'frfrf'. testsFound := self searchTestMethodsFor: ( ('SmTClass','P1') asClass >> ('method1','SecondLevelSendersInsidePackageWithTestOutside') asSymbol). self assert: testsFound size equals: 1 . self assert: (testsFound includes: testMethod2SecondLevelSendersInsidePackageWithTestOutside ). diff --git a/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestInside.st b/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestInside.st index 017efee..c17c27f 100644 --- a/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestInside.st +++ b/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestInside.st @@ -1,8 +1,8 @@ running testStandardMethodSecondLevelSendersOutsidePackageWithTestInside - "p1_MyMethod1 is called by p2_MyMethod2, which itself is called by p1_testMyMethod2, both methods (the test and the method) are not owned by the same package as myMethod1 but their packages matches the regex so it should be found" - + "method1 is called by method2, which itself is called by testMethod2, both methods (the test and the method) are not owned by the same package as myMethod1 but their packages matches the regex so it should be found" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" | testsFound | testsFound := self searchTestMethodsFor: ( ('SmTClass','P1') asClass >> ('method1','SecondLevelSendersOutsidePackageWithTestInside') asSymbol). self assert: testsFound size equals: 1 . diff --git a/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestOutside.st b/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestOutside.st index 7b4f2d5..14e3170 100644 --- a/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestOutside.st +++ b/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestOutside.st @@ -1,8 +1,8 @@ running testStandardMethodSecondLevelSendersOutsidePackageWithTestOutside - "p1_MyMethod1 is called by p2_MyMethod2, which itself is called by p2_testMyMethod2, both methods (the test and the method) are not owned by the same package as myMethod1 but their packages matches the regex so it should be found" - + "method1 is called by method2, which itself is called by testMethod2, both methods (the test and the method) are not owned by the same package as myMethod1 but their packages matches the regex so it should be found" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" | testsFound | testsFound := self searchTestMethodsFor: ( ('SmTClass','P1') asClass >> ('method1','SecondLevelSendersOutsidePackageWithTestOutside') asSymbol). self assert: testsFound size equals: 1 . diff --git a/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/properties.json b/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/properties.json index 0a8349c..b3aa2a8 100644 --- a/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/properties.json +++ b/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "EleonoreWALD 5/14/2018 11:02", + "commentStamp" : "EleonoreWALD 5/14/2018 14:07", "super" : "SmTFilterAbstractTest", "category" : "SmartTest-Tests", "classinstvars" : [ ], diff --git a/SmartTest.package/SmTSendersFilterTestWithRestrictedPackage.class/README.md b/SmartTest.package/SmTSendersFilterTestWithRestrictedPackage.class/README.md index 48f9667..7b2af44 100644 --- a/SmartTest.package/SmTSendersFilterTestWithRestrictedPackage.class/README.md +++ b/SmartTest.package/SmTSendersFilterTestWithRestrictedPackage.class/README.md @@ -1,4 +1,6 @@ I test the strategy SendersFinder with the filter RestrictedPackage. The filter should accept any test that is owned by a package whose name matches the regex. -Here we look for tests in the package SmartDataTestOutsideP1 (this is defined in the SetUp method). \ No newline at end of file +Here we look for tests in the package SmartDataTestOutsideP1 (this is defined in the SetUp method). + +In order to be sure that those test are not considered as callers of the modified method and as references to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method. \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/setUp.st b/SmartTest.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/setUp.st index f6a0710..ae08c52 100644 --- a/SmartTest.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/setUp.st +++ b/SmartTest.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/setUp.st @@ -3,4 +3,5 @@ setUp "Here we want to test the SmTDefaultPackagesFilter with the static strategy 'sendersFinder' " super setUp. self timeLimit: 60 seconds. + self flag: 'Because the problem with the regex is not corrected yet, those tests will fail but we leave it as it to show that there is a problem'. smartFinder filter: (SmTSpecifyPackagesNameFilter packagesRegEx: 'SmartTestDataOutsideP1') new diff --git a/SmartTest.package/SmTSendersFilterTestWithRestrictedPackage.class/properties.json b/SmartTest.package/SmTSendersFilterTestWithRestrictedPackage.class/properties.json index 79e742b..4a9f20f 100644 --- a/SmartTest.package/SmTSendersFilterTestWithRestrictedPackage.class/properties.json +++ b/SmartTest.package/SmTSendersFilterTestWithRestrictedPackage.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "EleonoreWALD 5/14/2018 11:04", + "commentStamp" : "EleonoreWALD 5/14/2018 14:07", "super" : "SmTFilterAbstractTest", "category" : "SmartTest-Tests", "classinstvars" : [ ], diff --git a/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method2SecondLevelSendersInsidePackageWithTestInside.st b/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method2SecondLevelSendersInsidePackageWithTestInside.st index ef8aa5e..8820681 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method2SecondLevelSendersInsidePackageWithTestInside.st +++ b/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method2SecondLevelSendersInsidePackageWithTestInside.st @@ -2,4 +2,5 @@ method2 method2SecondLevelSendersInsidePackageWithTestInside "Data for tests: this method calls a method from the same package, this method is called by a test from the same package" + "In order to be sure that this method does not reference any class, we don't use directly the class but go through their name with a concatenation and then transform them into class" ^ ('SmTClass','P1') asClass new method1SecondLevelSendersInsidePackageWithTestInside. \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method2SecondLevelSendersInsidePackageWithTestOutside.st b/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method2SecondLevelSendersInsidePackageWithTestOutside.st index de041e3..3b52c37 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method2SecondLevelSendersInsidePackageWithTestOutside.st +++ b/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method2SecondLevelSendersInsidePackageWithTestOutside.st @@ -2,4 +2,5 @@ method2 method2SecondLevelSendersInsidePackageWithTestOutside "Data for tests: this method calls a method from the same package, this method is called by a test not from the same package" + "In order to be sure that this method does not reference any class, we don't use directly the class but go through their name with a concatenation and then transform them into class" ^('SmTClass','P1') asClass new method1SecondLevelSendersInsidePackageWithTestOutside. \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod1FirstLevelSendersInsidePackage.st b/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod1FirstLevelSendersInsidePackage.st index c90b677..84131b1 100644 --- a/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod1FirstLevelSendersInsidePackage.st +++ b/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod1FirstLevelSendersInsidePackage.st @@ -1,4 +1,5 @@ testMethod1 testMethod1FirstLevelSendersInsidePackage "Data for tests: this method calls directly a method from the same package." +"In order to be sure that this method does not reference any class, we don't use directly the class but go through their name with a concatenation and then transform them into class" ^ ('SmTClass','P1') asClass new method1FirstLevelSendersInsidePackage. \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersInsidePackageWithTestInside.st b/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersInsidePackageWithTestInside.st index 5157f7e..9d3f99f 100644 --- a/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersInsidePackageWithTestInside.st +++ b/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersInsidePackageWithTestInside.st @@ -1,3 +1,4 @@ testMethod2 testMethod2SecondLevelSendersInsidePackageWithTestInside +"In order to be sure that this method does not reference any class, we don't use directly the class but go through their name with a concatenation and then transform them into class" ^ ('SmTClass','P1') asClass new method2SecondLevelSendersInsidePackageWithTestInside. \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersOutsidePackageWithTestInside.st b/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersOutsidePackageWithTestInside.st index 7d201f0..3893f88 100644 --- a/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersOutsidePackageWithTestInside.st +++ b/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersOutsidePackageWithTestInside.st @@ -1,3 +1,4 @@ testMethod2 testMethod2SecondLevelSendersOutsidePackageWithTestInside +"In order to be sure that this method does not reference any class, we don't use directly the class but go through their name with a concatenation and then transform them into class" ^ ('SmTClass','P2') asClass new method2SecondLevelSendersOutsidePackageWithTestInside. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassP2.class/instance/method2SecondLevelSendersOutsidePackageWithTestInside.st b/SmartTestDataOutsideP2.package/SmTClassP2.class/instance/method2SecondLevelSendersOutsidePackageWithTestInside.st index 1063f3f..53a8993 100644 --- a/SmartTestDataOutsideP2.package/SmTClassP2.class/instance/method2SecondLevelSendersOutsidePackageWithTestInside.st +++ b/SmartTestDataOutsideP2.package/SmTClassP2.class/instance/method2SecondLevelSendersOutsidePackageWithTestInside.st @@ -2,4 +2,5 @@ method2 method2SecondLevelSendersOutsidePackageWithTestInside "Data for tests: this method calls a method not from the same package (located in SmartTestDataOutsideP1), this method is called by a test from the same package" + "In order to be sure that this method does not reference any class, we don't use directly the class but go through their name with a concatenation and then transform them into class" ^ ('SmTClass','P1') asClass new method1SecondLevelSendersOutsidePackageWithTestInside \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassP2.class/instance/method2SecondLevelSendersOutsidePackageWithTestOutside.st b/SmartTestDataOutsideP2.package/SmTClassP2.class/instance/method2SecondLevelSendersOutsidePackageWithTestOutside.st index 359a04f..1724d7b 100644 --- a/SmartTestDataOutsideP2.package/SmTClassP2.class/instance/method2SecondLevelSendersOutsidePackageWithTestOutside.st +++ b/SmartTestDataOutsideP2.package/SmTClassP2.class/instance/method2SecondLevelSendersOutsidePackageWithTestOutside.st @@ -2,4 +2,5 @@ method2 method2SecondLevelSendersOutsidePackageWithTestOutside "Data for tests: this method calls a method not from the same package (located in SmartTestDataOutsideP1), this method is called by a test not from the same package (located in SmartTestDataOutsideP1)" + "In order to be sure that this method does not reference any class, we don't use directly the class but go through their name with a concatenation and then transform them into class" ^ ('SmTClass','P1') asClass new method1SecondLevelSendersOutsidePackageWithTestOutside \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testMethod1FirstLevelSendersOutsidePackage.st b/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testMethod1FirstLevelSendersOutsidePackage.st index 868e724..2749e5b 100644 --- a/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testMethod1FirstLevelSendersOutsidePackage.st +++ b/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testMethod1FirstLevelSendersOutsidePackage.st @@ -1,4 +1,5 @@ testMethod1 testMethod1FirstLevelSendersOutsidePackage "Data for tests: this method calls directly method1, which is not located in the same package" + "In order to be sure that this method does not reference any class, we don't use directly the class but go through their name with a concatenation and then transform them into class" ^ ('SmTClass','P1') asClass new method1FirstLevelSendersOutsidePackage. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testMethod2SecondLevelSendersInsidePackageWithTestOutside.st b/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testMethod2SecondLevelSendersInsidePackageWithTestOutside.st index 7adba03..7a7cb10 100644 --- a/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testMethod2SecondLevelSendersInsidePackageWithTestOutside.st +++ b/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testMethod2SecondLevelSendersInsidePackageWithTestOutside.st @@ -1,4 +1,5 @@ testMethod2 testMethod2SecondLevelSendersInsidePackageWithTestOutside "Data for tests: this method calls a method not from the same package, which itself calls a method. Both are not from the same package as this test (both are located in SmartTestDataOutsideP1)" + "In order to be sure that this method does not reference any class, we don't use directly the class but go through their name with a concatenation and then transform them into class" ^ ('SmTClass','P1') asClass new method2SecondLevelSendersInsidePackageWithTestOutside. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testMethod2SecondLevelSendersOutsidePackageWithTestOutside.st b/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testMethod2SecondLevelSendersOutsidePackageWithTestOutside.st index 6166a5c..fb45d7e 100644 --- a/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testMethod2SecondLevelSendersOutsidePackageWithTestOutside.st +++ b/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testMethod2SecondLevelSendersOutsidePackageWithTestOutside.st @@ -1,4 +1,5 @@ testMethod2 testMethod2SecondLevelSendersOutsidePackageWithTestOutside "Data for tests: this method calls a method from the same package (located in SmartTestDataOutsideP1), which itself calls a method not from the same package (located in SmartTestDataOutsideP1)" +"In order to be sure that this method does not reference any class, we don't use directly the class but go through their name with a concatenation and then transform them into class" ^ ('SmTClass','P2') asClass new method2SecondLevelSendersOutsidePackageWithTestOutside. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInClass.class/instance/testMethod1FirstLevelSendersOutsideWithRefInClass.st b/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInClass.class/instance/testMethod1FirstLevelSendersOutsideWithRefInClass.st index 5c91e06..8abb885 100644 --- a/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInClass.class/instance/testMethod1FirstLevelSendersOutsideWithRefInClass.st +++ b/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInClass.class/instance/testMethod1FirstLevelSendersOutsideWithRefInClass.st @@ -1,3 +1,4 @@ tests testMethod1FirstLevelSendersOutsideWithRefInClass + "In order to be sure that this method does not reference any class, we don't use directly the class but go through their name with a concatenation and then transform them into class" ^ ('SmTClassP1','FirstLevelSendersOutsideWithRefInClass') asClass new method1FirstLevelSendersWithRefInClass. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInMethod.class/instance/testMethod1FirstLevelSendersOutsideWithRefInMethod.st b/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInMethod.class/instance/testMethod1FirstLevelSendersOutsideWithRefInMethod.st index 141cf23..051a679 100644 --- a/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInMethod.class/instance/testMethod1FirstLevelSendersOutsideWithRefInMethod.st +++ b/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInMethod.class/instance/testMethod1FirstLevelSendersOutsideWithRefInMethod.st @@ -1,4 +1,4 @@ testMethod1 -"testMethod1" testMethod1FirstLevelSendersOutsideWithRefInMethod + "In order to be sure that this method does not reference any class, we don't use directly the class but go through their name with a concatenation and then transform them into class" ^SmTClassP1FirstLevelSendersOutsideWithRefInMethod new method1FirstLevelSendersWithRefInMethod. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInPackage.class/instance/testMethod1FirstLevelSendersOutsideWithRefInPackage.st b/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInPackage.class/instance/testMethod1FirstLevelSendersOutsideWithRefInPackage.st index 8c41d31..8574958 100644 --- a/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInPackage.class/instance/testMethod1FirstLevelSendersOutsideWithRefInPackage.st +++ b/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInPackage.class/instance/testMethod1FirstLevelSendersOutsideWithRefInPackage.st @@ -1,3 +1,4 @@ tests -testMethod1FirstLevelSendersOutsideWithRefInPackage +testMethod1FirstLevelSendersOutsideWithRefInPackage + "In order to be sure that this method does not reference any class, we don't use directly the class but go through their name with a concatenation and then transform them into class" ^('SmTClassP1','FirstLevelSendersOutsideWithRefInPackage') asClass new method1FirstLevelSendersWithRefInPackage. \ No newline at end of file From dd8e8c8ebfaacbcc15c1d6fe535725aacfddee96 Mon Sep 17 00:00:00 2001 From: eleonoreW Date: Mon, 14 May 2018 14:37:32 +0200 Subject: [PATCH 050/150] Fixed "RegEx" to "Regex" --- .../instance/setUp.st | 2 +- .../instance/setUp.st | 2 +- .../instance/setUp.st | 2 +- .../class/packagesRegEx..st | 2 +- .../SmTSpecifyPackagesNameFilter.class/class/packagesRegEx.st | 2 +- .../class/selectedPackage.st | 2 +- .../SmTSpecifyPackagesNameFilter.class/class/settingsOn..st | 4 ++-- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/setUp.st b/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/setUp.st index e09825f..53aa752 100644 --- a/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/setUp.st +++ b/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/setUp.st @@ -4,4 +4,4 @@ setUp super setUp. self timeLimit: 60 seconds. self flag: 'Because the problem with the regex is not corrected yet, those tests will fail but we leave it as it to show that there is a problem'. - smartFinder filter: (SmTSpecifyPackagesNameFilter packagesRegEx: 'SmartTestDataOutsideP1|SmartTestDataOutsideP2') new \ No newline at end of file + smartFinder filter: (SmTSpecifyPackagesNameFilter packagesRegex: 'SmartTestDataOutsideP1|SmartTestDataOutsideP2') new \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/setUp.st b/SmartTest.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/setUp.st index ae08c52..c8b6514 100644 --- a/SmartTest.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/setUp.st +++ b/SmartTest.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/setUp.st @@ -4,4 +4,4 @@ setUp super setUp. self timeLimit: 60 seconds. self flag: 'Because the problem with the regex is not corrected yet, those tests will fail but we leave it as it to show that there is a problem'. - smartFinder filter: (SmTSpecifyPackagesNameFilter packagesRegEx: 'SmartTestDataOutsideP1') new + smartFinder filter: (SmTSpecifyPackagesNameFilter packagesRegex: 'SmartTestDataOutsideP1') new diff --git a/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/setUp.st b/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/setUp.st index 37194ee..d02fb7c 100644 --- a/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/setUp.st +++ b/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/setUp.st @@ -2,4 +2,4 @@ running setUp super setUp. smartFinder - filter: (SmTSpecifyPackagesNameFilter packagesRegEx: 'SmartTest-Tests-Data') new \ No newline at end of file + filter: (SmTSpecifyPackagesNameFilter packagesRegex: 'SmartTest-Tests-Data') new \ No newline at end of file diff --git a/SmartTest.package/SmTSpecifyPackagesNameFilter.class/class/packagesRegEx..st b/SmartTest.package/SmTSpecifyPackagesNameFilter.class/class/packagesRegEx..st index f474d9f..2edc203 100644 --- a/SmartTest.package/SmTSpecifyPackagesNameFilter.class/class/packagesRegEx..st +++ b/SmartTest.package/SmTSpecifyPackagesNameFilter.class/class/packagesRegEx..st @@ -1,4 +1,4 @@ settings-definition -packagesRegEx: aRegexStringCollection +packagesRegex: aRegexStringCollection self flag: 'why is it on the class side !?!?!?'. collectionOfRegex := aRegexStringCollection \ No newline at end of file diff --git a/SmartTest.package/SmTSpecifyPackagesNameFilter.class/class/packagesRegEx.st b/SmartTest.package/SmTSpecifyPackagesNameFilter.class/class/packagesRegEx.st index 6416b03..54ec61b 100644 --- a/SmartTest.package/SmTSpecifyPackagesNameFilter.class/class/packagesRegEx.st +++ b/SmartTest.package/SmTSpecifyPackagesNameFilter.class/class/packagesRegEx.st @@ -1,4 +1,4 @@ settings-definition -packagesRegEx +packagesRegex self flag: 'why is it on the class side !?!?!?'. ^ collectionOfRegex ifNil: [ collectionOfRegex := '' ] \ No newline at end of file diff --git a/SmartTest.package/SmTSpecifyPackagesNameFilter.class/class/selectedPackage.st b/SmartTest.package/SmTSpecifyPackagesNameFilter.class/class/selectedPackage.st index 5537c4f..b0743fb 100644 --- a/SmartTest.package/SmTSpecifyPackagesNameFilter.class/class/selectedPackage.st +++ b/SmartTest.package/SmTSpecifyPackagesNameFilter.class/class/selectedPackage.st @@ -1,6 +1,6 @@ accessing selectedPackage - ^ ((self packagesRegEx substrings: ',') + ^ ((self packagesRegex substrings: ',') flatCollect: [ :packageRegex | RPackageOrganizer default packages flatCollect: [ :package | diff --git a/SmartTest.package/SmTSpecifyPackagesNameFilter.class/class/settingsOn..st b/SmartTest.package/SmTSpecifyPackagesNameFilter.class/class/settingsOn..st index 19ce2d7..cf67567 100644 --- a/SmartTest.package/SmTSpecifyPackagesNameFilter.class/class/settingsOn..st +++ b/SmartTest.package/SmTSpecifyPackagesNameFilter.class/class/settingsOn..st @@ -1,8 +1,8 @@ settings settingsOn: aBuilder - (aBuilder setting: #packagesRegEx) - label: 'SmartTest filter RegEx configuration'; + (aBuilder setting: #packagesRegex) + label: 'SmartTest filter Regex configuration'; target: self; parent: #SmTFilter; ghostHelp: 'SmartTe,Start*Wars'; From ea568c4e2f0f87fb925f9c866967fcc1e8c1bdb4 Mon Sep 17 00:00:00 2001 From: eleonoreW Date: Mon, 14 May 2018 16:51:48 +0200 Subject: [PATCH 051/150] Some comments Correction of issue #4 : Wrong regex rules in SmTSpecifyPackagesNameFilter --- .../class/selectedPackage.st | 11 +++++------ .../class/settingsOn..st | 2 +- .../README.md | 8 ++++++++ .../properties.json | 2 +- .../README.md | 8 ++++++++ .../properties.json | 2 +- .../README.md | 8 ++++++++ .../properties.json | 2 +- .../README.md | 8 ++++++++ .../properties.json | 2 +- .../README.md | 0 ...ClassP1FirstLevelSendersOutsideWithRefInPackage.st | 2 +- .../properties.json | 2 +- 13 files changed, 44 insertions(+), 13 deletions(-) rename SmartTestDataOutsideP2.package/{SmTClassP2ThatMakesReferences.class => SmTClassP2ReferencesInPackage.class}/README.md (100%) rename SmartTestDataOutsideP2.package/{SmTClassP2ThatMakesReferences.class => SmTClassP2ReferencesInPackage.class}/instance/referenceToSmTClassP1FirstLevelSendersOutsideWithRefInPackage.st (87%) rename SmartTestDataOutsideP2.package/{SmTClassP2ThatMakesReferences.class => SmTClassP2ReferencesInPackage.class}/properties.json (81%) diff --git a/SmartTest.package/SmTSpecifyPackagesNameFilter.class/class/selectedPackage.st b/SmartTest.package/SmTSpecifyPackagesNameFilter.class/class/selectedPackage.st index b0743fb..e32e40b 100644 --- a/SmartTest.package/SmTSpecifyPackagesNameFilter.class/class/selectedPackage.st +++ b/SmartTest.package/SmTSpecifyPackagesNameFilter.class/class/selectedPackage.st @@ -1,8 +1,7 @@ accessing selectedPackage - ^ ((self packagesRegex substrings: ',') - flatCollect: [ :packageRegex | - RPackageOrganizer default packages - flatCollect: [ :package | - package classTags - select: [ :classTag |packageRegex match: classTag categoryName ] thenCollect: #categoryName ] ]) asSet \ No newline at end of file + ^ (RPackageOrganizer default packages + flatCollect: [ :package | + package classTags + select: [ :classTag | self packagesRegex asRegex matchesPrefix: classTag categoryName ] + thenCollect: #categoryName ]) asSet \ No newline at end of file diff --git a/SmartTest.package/SmTSpecifyPackagesNameFilter.class/class/settingsOn..st b/SmartTest.package/SmTSpecifyPackagesNameFilter.class/class/settingsOn..st index cf67567..20add0a 100644 --- a/SmartTest.package/SmTSpecifyPackagesNameFilter.class/class/settingsOn..st +++ b/SmartTest.package/SmTSpecifyPackagesNameFilter.class/class/settingsOn..st @@ -5,7 +5,7 @@ settingsOn: aBuilder label: 'SmartTest filter Regex configuration'; target: self; parent: #SmTFilter; - ghostHelp: 'SmartTe,Start*Wars'; + ghostHelp: 'SmartTe|Start*Wars'; notInStyle; default: ''; description: diff --git a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class/README.md b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class/README.md index e69de29..daf34ed 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class/README.md +++ b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class/README.md @@ -0,0 +1,8 @@ +Data for SmartTest tests on the DefaultClassPackage filter. + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). + +This class is referenced by SmTClassTestP2FirstLevelSendersOutsideWithRef >> refInClass . diff --git a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class/properties.json index de1d580..a21b7a0 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class/properties.json +++ b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "", + "commentStamp" : "EleonoreWALD 5/14/2018 15:35", "super" : "SmTClassP1FirstLevelSendersWithRef", "category" : "SmartTestDataOutsideP1", "classinstvars" : [ ], diff --git a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class/README.md b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class/README.md index e69de29..a5f1de0 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class/README.md +++ b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class/README.md @@ -0,0 +1,8 @@ +Data for SmartTest tests on the DefaultClassPackage filter. + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). + +This class is referenced by SmTClassTestP2FirstLevelSendersOutsideWithRefInMethod >>testMethod1FirstLevelSendersOutsideWithRefInMethod . \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class/properties.json index 68da72e..374cb42 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class/properties.json +++ b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "", + "commentStamp" : "EleonoreWALD 5/14/2018 15:35", "super" : "SmTClassP1FirstLevelSendersWithRef", "category" : "SmartTestDataOutsideP1", "classinstvars" : [ ], diff --git a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class/README.md b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class/README.md index e69de29..a5f1de0 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class/README.md +++ b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class/README.md @@ -0,0 +1,8 @@ +Data for SmartTest tests on the DefaultClassPackage filter. + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). + +This class is referenced by SmTClassTestP2FirstLevelSendersOutsideWithRefInMethod >>testMethod1FirstLevelSendersOutsideWithRefInMethod . \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class/properties.json index c0b897a..2879532 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class/properties.json +++ b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "", + "commentStamp" : "EleonoreWALD 5/14/2018 15:35", "super" : "SmTClassP1FirstLevelSendersWithRef", "category" : "SmartTestDataOutsideP1", "classinstvars" : [ ], diff --git a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersWithRef.class/README.md b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersWithRef.class/README.md index e69de29..75ee3b4 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersWithRef.class/README.md +++ b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersWithRef.class/README.md @@ -0,0 +1,8 @@ +Data for SmartTest tests on the DefaultClassPackage filter. + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). + +This class is not referenced anywhere (we used concatenation to be sure). diff --git a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersWithRef.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersWithRef.class/properties.json index 7849b3c..1a31476 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersWithRef.class/properties.json +++ b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersWithRef.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "", + "commentStamp" : "EleonoreWALD 5/14/2018 15:31", "super" : "Object", "category" : "SmartTestDataOutsideP1", "classinstvars" : [ ], diff --git a/SmartTestDataOutsideP2.package/SmTClassP2ThatMakesReferences.class/README.md b/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/README.md similarity index 100% rename from SmartTestDataOutsideP2.package/SmTClassP2ThatMakesReferences.class/README.md rename to SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/README.md diff --git a/SmartTestDataOutsideP2.package/SmTClassP2ThatMakesReferences.class/instance/referenceToSmTClassP1FirstLevelSendersOutsideWithRefInPackage.st b/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/instance/referenceToSmTClassP1FirstLevelSendersOutsideWithRefInPackage.st similarity index 87% rename from SmartTestDataOutsideP2.package/SmTClassP2ThatMakesReferences.class/instance/referenceToSmTClassP1FirstLevelSendersOutsideWithRefInPackage.st rename to SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/instance/referenceToSmTClassP1FirstLevelSendersOutsideWithRefInPackage.st index 41e1f08..7b0e944 100644 --- a/SmartTestDataOutsideP2.package/SmTClassP2ThatMakesReferences.class/instance/referenceToSmTClassP1FirstLevelSendersOutsideWithRefInPackage.st +++ b/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/instance/referenceToSmTClassP1FirstLevelSendersOutsideWithRefInPackage.st @@ -1,4 +1,4 @@ -ref +referenceInPackage "as yet unclassified" referenceToSmTClassP1FirstLevelSendersOutsideWithRefInPackage ^SmTClassP1FirstLevelSendersOutsideWithRefInPackage \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassP2ThatMakesReferences.class/properties.json b/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/properties.json similarity index 81% rename from SmartTestDataOutsideP2.package/SmTClassP2ThatMakesReferences.class/properties.json rename to SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/properties.json index a398dee..5c927c4 100644 --- a/SmartTestDataOutsideP2.package/SmTClassP2ThatMakesReferences.class/properties.json +++ b/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/properties.json @@ -6,6 +6,6 @@ "pools" : [ ], "classvars" : [ ], "instvars" : [ ], - "name" : "SmTClassP2ThatMakesReferences", + "name" : "SmTClassP2ReferencesInPackage", "type" : "normal" } \ No newline at end of file From 0da29d9f4fdc942b2bdfb807d4b4c4b2870d1b2f Mon Sep 17 00:00:00 2001 From: eleonoreW Date: Tue, 15 May 2018 17:37:38 +0200 Subject: [PATCH 052/150] Tests were added to test the behaviour of the DefaultClassPackage Filter --- ...odFirstLevelSendersOutsidePackageWithRefInClass.st | 3 +-- ...dFirstLevelSendersOutsidePackageWithRefInMethod.st | 3 +-- ...FirstLevelSendersOutsidePackageWithRefInPackage.st | 3 +-- ...condLevelSendersInsideTestOutsideWithRefInClass.st | 11 +++++++++++ ...ondLevelSendersInsideTestOutsideWithRefInMethod.st | 11 +++++++++++ ...ndLevelSendersInsideTestOutsideWithRefInPackage.st | 11 +++++++++++ ...condLevelSendersOutsideTestInsideWithRefInClass.st | 11 +++++++++++ ...ondLevelSendersOutsideTestInsideWithRefInMethod.st | 11 +++++++++++ ...ndLevelSendersOutsideTestInsideWithRefInPackage.st | 11 +++++++++++ .../instance/setUp.st | 3 +-- ...dSecondLevelSendersInsidePackageWithTestOutside.st | 1 - .../instance/setUp.st | 3 +-- .../README.md | 0 .../properties.json | 2 +- .../properties.json | 2 +- .../properties.json | 2 +- .../properties.json | 2 +- .../README.md | 0 .../properties.json | 4 ++-- .../README.md | 8 ++++++++ ...ondLevelSendersInsideTestOutsideWithRefInClass.st} | 3 +-- ...condLevelSendersInsideTestOutsideWithRefInClass.st | 5 +++++ .../properties.json | 11 +++++++++++ .../README.md | 8 ++++++++ ...ndLevelSendersInsideTestOutsideWithRefInMethod.st} | 5 ++--- ...ondLevelSendersInsideTestOutsideWithRefInMethod.st | 5 +++++ .../properties.json | 11 +++++++++++ .../README.md | 8 ++++++++ ...ndLevelSendersInsideTestOutsideWithRefInPackage.st | 5 +++++ ...ndLevelSendersInsideTestOutsideWithRefInPackage.st | 5 +++++ .../properties.json | 11 +++++++++++ .../README.md | 8 ++++++++ .../properties.json | 11 +++++++++++ .../README.md | 0 ...condLevelSendersOutsideTestInsideWithRefInClass.st | 5 +++++ ...condLevelSendersOutsideTestInsideWithRefInClass.st | 5 +++++ .../properties.json | 4 ++-- .../README.md | 0 ...ondLevelSendersOutsideTestInsideWithRefInMethod.st | 5 +++++ .../properties.json | 4 ++-- .../README.md | 0 ...ndLevelSendersOutsideTestInsideWithRefInPackage.st | 5 +++++ .../properties.json | 4 ++-- ...ndLevelSendersInsideTestOutsideWithRefInPackage.st | 4 ++++ ...ndLevelSendersOutsideTestInsideWithRefInPackage.st | 4 ++++ .../README.md | 0 .../properties.json | 11 +++++++++++ .../README.md | 0 ...condLevelSendersOutsideTestInsideWithRefInClass.st | 3 +++ ...condLevelSendersOutsideTestInsideWithRefInClass.st | 3 +++ .../properties.json | 11 +++++++++++ .../README.md | 0 ...ondLevelSendersOutsideTestInsideWithRefInMethod.st | 3 +++ .../properties.json | 11 +++++++++++ .../README.md | 0 ...ndLevelSendersOutsideTestInsideWithRefInPackage.st | 3 +++ .../properties.json | 11 +++++++++++ .../README.md | 0 .../properties.json | 11 +++++++++++ .../README.md | 0 ...condLevelSendersInsideTestOutsideWithRefInClass.st | 3 +++ ...econdLevelSenderInsideTestOutsideWithRefInClass.st | 3 +++ .../properties.json | 11 +++++++++++ .../README.md | 0 ...condLevelSenderInsideTestOutsideWithRefInMethod.st | 3 +++ .../properties.json | 11 +++++++++++ .../README.md | 0 ...ondLevelSenderInsideTestOutsideWithRefInPackage.st | 3 +++ .../properties.json | 11 +++++++++++ 69 files changed, 322 insertions(+), 28 deletions(-) create mode 100644 SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st create mode 100644 SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st create mode 100644 SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st create mode 100644 SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st create mode 100644 SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st create mode 100644 SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st rename SmartTestDataOutsideP1.package/{SmTClassP1FirstLevelSendersWithRef.class => SmTClassP1FirstLevelSendersOutsideWithRef.class}/README.md (100%) rename SmartTestDataOutsideP1.package/{SmTClassP1FirstLevelSendersWithRef.class => SmTClassP1FirstLevelSendersOutsideWithRef.class}/properties.json (79%) rename SmartTestDataOutsideP1.package/{SmTClassP1SecondLevelSendersOutsideWithRefInClass.class => SmTClassP1SecondLevelSenderOutsideWithTestInsideWithRef.class}/README.md (100%) rename SmartTestDataOutsideP1.package/{SmTClassP1SecondLevelSendersWithRef.class => SmTClassP1SecondLevelSenderOutsideWithTestInsideWithRef.class}/properties.json (63%) create mode 100644 SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class/README.md rename SmartTestDataOutsideP1.package/{SmTClassP1SecondLevelSendersOutsideWithRefInClass.class/instance/method1SecondLevelSendersWithRefInClass.st => SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class/instance/method1SecondLevelSendersInsideTestOutsideWithRefInClass.st} (71%) create mode 100644 SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class/instance/method2SecondLevelSendersInsideTestOutsideWithRefInClass.st create mode 100644 SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class/properties.json create mode 100644 SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class/README.md rename SmartTestDataOutsideP1.package/{SmTClassP1SecondLevelSendersOutsideWithRefInClass.class/instance/method2SecondLevelSendersWithRefInClass.st => SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class/instance/method1SecondLevelSendersInsideTestOutsideWithRefInMethod.st} (67%) create mode 100644 SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class/instance/method2SecondLevelSendersInsideTestOutsideWithRefInMethod.st create mode 100644 SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class/properties.json create mode 100644 SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class/README.md create mode 100644 SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class/instance/method1SecondLevelSendersInsideTestOutsideWithRefInPackage.st create mode 100644 SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class/instance/method2SecondLevelSendersInsideTestOutsideWithRefInPackage.st create mode 100644 SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class/properties.json create mode 100644 SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideWithTestOutsideWithRef.class/README.md create mode 100644 SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideWithTestOutsideWithRef.class/properties.json rename SmartTestDataOutsideP1.package/{SmTClassP1SecondLevelSendersOutsideWithRefInMethod.class => SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.class}/README.md (100%) create mode 100644 SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.class/instance/method1SecondLevelSendersOutsideTestInsideWithRefInClass.st create mode 100644 SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.class/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInClass.st rename SmartTestDataOutsideP1.package/{SmTClassP1SecondLevelSendersOutsideWithRefInMethod.class => SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.class}/properties.json (53%) rename SmartTestDataOutsideP1.package/{SmTClassP1SecondLevelSendersOutsideWithRefInPackage.class => SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class}/README.md (100%) create mode 100644 SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInMethod.st rename SmartTestDataOutsideP1.package/{SmTClassP1SecondLevelSendersOutsideWithRefInPackage.class => SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class}/properties.json (53%) rename SmartTestDataOutsideP1.package/{SmTClassP1SecondLevelSendersWithRef.class => SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.class}/README.md (100%) create mode 100644 SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.class/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInPackage.st rename SmartTestDataOutsideP1.package/{SmTClassP1SecondLevelSendersOutsideWithRefInClass.class => SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.class}/properties.json (52%) create mode 100644 SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/instance/referenceToSmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.st create mode 100644 SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/instance/referenceToSmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.st create mode 100644 SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRef.class/README.md create mode 100644 SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRef.class/properties.json create mode 100644 SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/README.md create mode 100644 SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/instance/method2SecondLevelSendersOutsideTestInsideWithRefInClass.st create mode 100644 SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/instance/refToSmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.st create mode 100644 SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/properties.json create mode 100644 SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInMethod.class/README.md create mode 100644 SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInMethod.class/instance/method2SecondLevelSendersOutsideTestInsideWithRefInMethod.st create mode 100644 SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInMethod.class/properties.json create mode 100644 SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage.class/README.md create mode 100644 SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage.class/instance/method2SecondLevelSendersOutsideTestInsideWithRefInPackage.st create mode 100644 SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage.class/properties.json create mode 100644 SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRef.class/README.md create mode 100644 SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRef.class/properties.json create mode 100644 SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInClass.class/README.md create mode 100644 SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInClass.class/instance/referenceToSmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.st create mode 100644 SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInClass.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInClass.st create mode 100644 SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInClass.class/properties.json create mode 100644 SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInMethod.class/README.md create mode 100644 SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInMethod.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInMethod.st create mode 100644 SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInMethod.class/properties.json create mode 100644 SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInPackage.class/README.md create mode 100644 SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInPackage.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInPackage.st create mode 100644 SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInPackage.class/properties.json diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st index d30e956..0193c34 100644 --- a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st +++ b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st @@ -1,8 +1,7 @@ tests testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass - "method1 is called by method2, which itself is called by testMethod2, a tests owned by the same package as method1, thus testMethod2 should be found. - We never go out of the package so it's normal." + "method1 is called directly by testMethod1, which is not in the same package but there is reference to method1's class in a method in the same class as testmethod1, thus testMethod1 should be found." "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" | testsFound | diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st index 282861a..b2213ea 100644 --- a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st +++ b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st @@ -1,8 +1,7 @@ tests testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod - "method1 is called by method2, which itself is called by testMethod2, a tests owned by the same package as myMethod1, thus testMethod2 should be found. - We never go out of the package so it's normal." + "method1 is called directly by testMethod1, which is not in the same package but there is reference to method1's class inside testMethod1, thus testMethod1 should be found." "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" | testsFound | diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st index 7d37cce..917b62b 100644 --- a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st +++ b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st @@ -1,8 +1,7 @@ tests testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage - "method1 is called by method2, which itself is called by testMethod2, a tests owned by the same package as method1, thus testMethod2 should be found. - We never go out of the package so it's normal." + "method1 is called by testMethod1, which is not in the same package but there is reference to method1's class in a method in the same package as testmethod1, thus testMethod1 should be found." "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" | testsFound | diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st new file mode 100644 index 0000000..192cb50 --- /dev/null +++ b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st @@ -0,0 +1,11 @@ +tests +testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass + + "method1 is called by testMethod1, which is not in the same package but there is reference to method1's class in a method in the same package as testmethod1, thus testMethod1 should be found." + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersInsideTestOutsideWithRefIn','Class') asClass >> ('method1SecondLevelSendersInsideTestOutsideWithRefIn','Class') asSymbol). + self assert: testsFound size equals: 1. + self assert: (testsFound includes: (SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInClass >> #testMethod2SecondLevelSenderInsideTestOutsideWithRefInClass) asRingDefinition ). + \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st new file mode 100644 index 0000000..1632772 --- /dev/null +++ b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st @@ -0,0 +1,11 @@ +tests +testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod + + "method1 is called by testMethod1, which is not in the same package but there is reference to method1's class in a method in the same package as testmethod1, thus testMethod1 should be found." + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersInsideTestOutsideWithRefIn','Method') asClass >> ('method1SecondLevelSendersInsideTestOutsideWithRefIn','Method') asSymbol). + self assert: testsFound size equals: 1. + self assert: (testsFound includes: (SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInMethod >> #testMethod2SecondLevelSenderInsideTestOutsideWithRefInMethod) asRingDefinition ). + \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st new file mode 100644 index 0000000..f74151f --- /dev/null +++ b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st @@ -0,0 +1,11 @@ +tests +testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage + + "method1 is called by testMethod1, which is not in the same package but there is reference to method1's class in a method in the same package as testmethod1, thus testMethod1 should be found." + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersInsideTestOutsideWithRefIn','Package') asClass >> ('method1SecondLevelSendersInsideTestOutsideWithRefIn','Package') asSymbol). + self assert: testsFound size equals: 1. + self assert: (testsFound includes: (SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInPackage >> #testMethod2SecondLevelSenderInsideTestOutsideWithRefInPackage) asRingDefinition ). + \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st new file mode 100644 index 0000000..2c1f95e --- /dev/null +++ b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st @@ -0,0 +1,11 @@ +tests +testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass + + "method1 is called by testMethod1, which is not in the same package but there is reference to method1's class in a method in the same package as testmethod1, thus testMethod1 should be found." + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersOutsideTestInsideWithRefIn','Class') asClass >> ('method1SecondLevelSendersOutsideTestInsideWithRefIn','Class') asSymbol). + self assert: testsFound size equals: 1. + self assert: (testsFound includes: (('SmTClassP1SecondLevelSendersOutsideTestInsideWithRefIn','Class') asClass >> #testMethod2SecondLevelSendersOutsideTestInsideWithRefInClass) asRingDefinition ). + \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st new file mode 100644 index 0000000..cb4e4f2 --- /dev/null +++ b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st @@ -0,0 +1,11 @@ +tests +testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod + + "method1 is called by testMethod1, which is not in the same package but there is reference to method1's class in a method in the same package as testmethod1, thus testMethod1 should be found." + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersOutsideTestInsideWithRefIn','Method') asClass >> ('testMethod2SecondLevelSendersOutsideTestInsideWithRefIn','Method') asSymbol). + self assert: testsFound size equals: 1. + self assert: (testsFound includes: (('SmTClassP1SecondLevelSendersOutsideTestInsideWithRefIn','Method') asClass >> #testMethod2SecondLevelSendersOutsideTestInsideWithRefInMethod) asRingDefinition ). + \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st new file mode 100644 index 0000000..ed2979e --- /dev/null +++ b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st @@ -0,0 +1,11 @@ +tests +testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage + + "method1 is called by testMethod1, which is not in the same package but there is reference to method1's class in a method in the same package as testmethod1, thus testMethod1 should be found." + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersOutsideTestInsideWithRefIn','Package') asClass >> ('testMethod2SecondLevelSendersOutsideTestInsideWithRefIn','Package') asSymbol). + self assert: testsFound size equals: 1. + self assert: (testsFound includes: (('SmTClassP1SecondLevelSendersOutsideTestInsideWithRefIn','Package') asClass >> #testMethod2SecondLevelSendersOutsideTestInsideWithRefInPackage) asRingDefinition ). + \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/setUp.st b/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/setUp.st index 53aa752..899464a 100644 --- a/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/setUp.st +++ b/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/setUp.st @@ -1,7 +1,6 @@ running setUp - "Here we want to test the SmTDefaultPackagesFilter with the static strategy 'sendersFinder' " + "Here we want to test the SmTRestrictedPackageFilter with the static strategy 'sendersFinder'. We look for the tests located in both SmartTestDataOutsideP1 and P2." super setUp. self timeLimit: 60 seconds. - self flag: 'Because the problem with the regex is not corrected yet, those tests will fail but we leave it as it to show that there is a problem'. smartFinder filter: (SmTSpecifyPackagesNameFilter packagesRegex: 'SmartTestDataOutsideP1|SmartTestDataOutsideP2') new \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestOutside.st b/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestOutside.st index f7885e7..becbfcd 100644 --- a/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestOutside.st +++ b/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestOutside.st @@ -5,7 +5,6 @@ testStandardMethodSecondLevelSendersInsidePackageWithTestOutside "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" | testsFound | - self flag: 'frfrf'. testsFound := self searchTestMethodsFor: ( ('SmTClass','P1') asClass >> ('method1','SecondLevelSendersInsidePackageWithTestOutside') asSymbol). self assert: testsFound size equals: 1 . self assert: (testsFound includes: testMethod2SecondLevelSendersInsidePackageWithTestOutside ). diff --git a/SmartTest.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/setUp.st b/SmartTest.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/setUp.st index c8b6514..22fd013 100644 --- a/SmartTest.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/setUp.st +++ b/SmartTest.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/setUp.st @@ -1,7 +1,6 @@ running setUp - "Here we want to test the SmTDefaultPackagesFilter with the static strategy 'sendersFinder' " + "Here we want to test the SmTRestrictedPackageFilter with the static strategy 'sendersFinder'. We only look for the tests located in SmartTestDataOutsideP1." super setUp. self timeLimit: 60 seconds. - self flag: 'Because the problem with the regex is not corrected yet, those tests will fail but we leave it as it to show that there is a problem'. smartFinder filter: (SmTSpecifyPackagesNameFilter packagesRegex: 'SmartTestDataOutsideP1') new diff --git a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersWithRef.class/README.md b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRef.class/README.md similarity index 100% rename from SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersWithRef.class/README.md rename to SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRef.class/README.md diff --git a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersWithRef.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRef.class/properties.json similarity index 79% rename from SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersWithRef.class/properties.json rename to SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRef.class/properties.json index 1a31476..8d8e930 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersWithRef.class/properties.json +++ b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRef.class/properties.json @@ -6,6 +6,6 @@ "pools" : [ ], "classvars" : [ ], "instvars" : [ ], - "name" : "SmTClassP1FirstLevelSendersWithRef", + "name" : "SmTClassP1FirstLevelSendersOutsideWithRef", "type" : "normal" } \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class/properties.json index a21b7a0..8df090f 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class/properties.json +++ b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class/properties.json @@ -1,6 +1,6 @@ { "commentStamp" : "EleonoreWALD 5/14/2018 15:35", - "super" : "SmTClassP1FirstLevelSendersWithRef", + "super" : "SmTClassP1FirstLevelSendersOutsideWithRef", "category" : "SmartTestDataOutsideP1", "classinstvars" : [ ], "pools" : [ ], diff --git a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class/properties.json index 374cb42..5071185 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class/properties.json +++ b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class/properties.json @@ -1,6 +1,6 @@ { "commentStamp" : "EleonoreWALD 5/14/2018 15:35", - "super" : "SmTClassP1FirstLevelSendersWithRef", + "super" : "SmTClassP1FirstLevelSendersOutsideWithRef", "category" : "SmartTestDataOutsideP1", "classinstvars" : [ ], "pools" : [ ], diff --git a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class/properties.json index 2879532..f801cd5 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class/properties.json +++ b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class/properties.json @@ -1,6 +1,6 @@ { "commentStamp" : "EleonoreWALD 5/14/2018 15:35", - "super" : "SmTClassP1FirstLevelSendersWithRef", + "super" : "SmTClassP1FirstLevelSendersOutsideWithRef", "category" : "SmartTestDataOutsideP1", "classinstvars" : [ ], "pools" : [ ], diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideWithRefInClass.class/README.md b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSenderOutsideWithTestInsideWithRef.class/README.md similarity index 100% rename from SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideWithRefInClass.class/README.md rename to SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSenderOutsideWithTestInsideWithRef.class/README.md diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersWithRef.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSenderOutsideWithTestInsideWithRef.class/properties.json similarity index 63% rename from SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersWithRef.class/properties.json rename to SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSenderOutsideWithTestInsideWithRef.class/properties.json index 7b35e5e..bca0043 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersWithRef.class/properties.json +++ b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSenderOutsideWithTestInsideWithRef.class/properties.json @@ -1,11 +1,11 @@ { "commentStamp" : "", - "super" : "Object", + "super" : "TestCase", "category" : "SmartTestDataOutsideP1", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], "instvars" : [ ], - "name" : "SmTClassP1SecondLevelSendersWithRef", + "name" : "SmTClassP1SecondLevelSenderOutsideWithTestInsideWithRef", "type" : "normal" } \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class/README.md b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class/README.md new file mode 100644 index 0000000..75ee3b4 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class/README.md @@ -0,0 +1,8 @@ +Data for SmartTest tests on the DefaultClassPackage filter. + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). + +This class is not referenced anywhere (we used concatenation to be sure). diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideWithRefInClass.class/instance/method1SecondLevelSendersWithRefInClass.st b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class/instance/method1SecondLevelSendersInsideTestOutsideWithRefInClass.st similarity index 71% rename from SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideWithRefInClass.class/instance/method1SecondLevelSendersWithRefInClass.st rename to SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class/instance/method1SecondLevelSendersInsideTestOutsideWithRefInClass.st index 06e507b..900a979 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideWithRefInClass.class/instance/method1SecondLevelSendersWithRefInClass.st +++ b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class/instance/method1SecondLevelSendersInsideTestOutsideWithRefInClass.st @@ -1,6 +1,5 @@ method1 -"method1" -method1SecondLevelSendersWithRefInClass +method1SecondLevelSendersInsideTestOutsideWithRefInClass "Data for tests: method directly called by a test method not from the same package" " the behaviour of this method is not relevant." \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class/instance/method2SecondLevelSendersInsideTestOutsideWithRefInClass.st b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class/instance/method2SecondLevelSendersInsideTestOutsideWithRefInClass.st new file mode 100644 index 0000000..fac6880 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class/instance/method2SecondLevelSendersInsideTestOutsideWithRefInClass.st @@ -0,0 +1,5 @@ +method2 +method2SecondLevelSendersInsideTestOutsideWithRefInClass +"Data for tests: method directly called by a test method not from the same package" + ^ self method1SecondLevelSendersInsideTestOutsideWithRefInClass +" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class/properties.json new file mode 100644 index 0000000..9250b93 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "EleonoreWALD 5/15/2018 15:30", + "super" : "SmTClassP1SecondLevelSendersInsideWithTestOutsideWithRef", + "category" : "SmartTestDataOutsideP1", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class/README.md b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class/README.md new file mode 100644 index 0000000..75ee3b4 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class/README.md @@ -0,0 +1,8 @@ +Data for SmartTest tests on the DefaultClassPackage filter. + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). + +This class is not referenced anywhere (we used concatenation to be sure). diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideWithRefInClass.class/instance/method2SecondLevelSendersWithRefInClass.st b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class/instance/method1SecondLevelSendersInsideTestOutsideWithRefInMethod.st similarity index 67% rename from SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideWithRefInClass.class/instance/method2SecondLevelSendersWithRefInClass.st rename to SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class/instance/method1SecondLevelSendersInsideTestOutsideWithRefInMethod.st index fcaba93..4b235ea 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideWithRefInClass.class/instance/method2SecondLevelSendersWithRefInClass.st +++ b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class/instance/method1SecondLevelSendersInsideTestOutsideWithRefInMethod.st @@ -1,6 +1,5 @@ -method2 -"method1" -method2SecondLevelSendersWithRefInClass +method1 +method1SecondLevelSendersInsideTestOutsideWithRefInMethod "Data for tests: method directly called by a test method not from the same package" " the behaviour of this method is not relevant." \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class/instance/method2SecondLevelSendersInsideTestOutsideWithRefInMethod.st b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class/instance/method2SecondLevelSendersInsideTestOutsideWithRefInMethod.st new file mode 100644 index 0000000..229e665 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class/instance/method2SecondLevelSendersInsideTestOutsideWithRefInMethod.st @@ -0,0 +1,5 @@ +method2 +method2SecondLevelSendersInsideTestOutsideWithRefInMethod +"Data for tests: method directly called by a test method not from the same package" + ^ self method1SecondLevelSendersInsideTestOutsideWithRefInMethod +" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class/properties.json new file mode 100644 index 0000000..01bae30 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "EleonoreWALD 5/15/2018 15:32", + "super" : "SmTClassP1SecondLevelSendersInsideWithTestOutsideWithRef", + "category" : "SmartTestDataOutsideP1", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class/README.md b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class/README.md new file mode 100644 index 0000000..75ee3b4 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class/README.md @@ -0,0 +1,8 @@ +Data for SmartTest tests on the DefaultClassPackage filter. + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). + +This class is not referenced anywhere (we used concatenation to be sure). diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class/instance/method1SecondLevelSendersInsideTestOutsideWithRefInPackage.st b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class/instance/method1SecondLevelSendersInsideTestOutsideWithRefInPackage.st new file mode 100644 index 0000000..e14fd75 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class/instance/method1SecondLevelSendersInsideTestOutsideWithRefInPackage.st @@ -0,0 +1,5 @@ +method1 +method1SecondLevelSendersInsideTestOutsideWithRefInPackage +"Data for tests: method directly called by a test method not from the same package" + +" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class/instance/method2SecondLevelSendersInsideTestOutsideWithRefInPackage.st b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class/instance/method2SecondLevelSendersInsideTestOutsideWithRefInPackage.st new file mode 100644 index 0000000..d5c9f39 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class/instance/method2SecondLevelSendersInsideTestOutsideWithRefInPackage.st @@ -0,0 +1,5 @@ +method2 +method2SecondLevelSendersInsideTestOutsideWithRefInPackage +"Data for tests: method directly called by a test method not from the same package" + ^ self method1SecondLevelSendersInsideTestOutsideWithRefInPackage +" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class/properties.json new file mode 100644 index 0000000..8c9d045 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "EleonoreWALD 5/15/2018 15:32", + "super" : "SmTClassP1SecondLevelSendersInsideWithTestOutsideWithRef", + "category" : "SmartTestDataOutsideP1", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideWithTestOutsideWithRef.class/README.md b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideWithTestOutsideWithRef.class/README.md new file mode 100644 index 0000000..75ee3b4 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideWithTestOutsideWithRef.class/README.md @@ -0,0 +1,8 @@ +Data for SmartTest tests on the DefaultClassPackage filter. + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). + +This class is not referenced anywhere (we used concatenation to be sure). diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideWithTestOutsideWithRef.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideWithTestOutsideWithRef.class/properties.json new file mode 100644 index 0000000..1aa1275 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideWithTestOutsideWithRef.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "EleonoreWALD 5/15/2018 14:49", + "super" : "Object", + "category" : "SmartTestDataOutsideP1", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTClassP1SecondLevelSendersInsideWithTestOutsideWithRef", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideWithRefInMethod.class/README.md b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.class/README.md similarity index 100% rename from SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideWithRefInMethod.class/README.md rename to SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.class/README.md diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.class/instance/method1SecondLevelSendersOutsideTestInsideWithRefInClass.st b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.class/instance/method1SecondLevelSendersOutsideTestInsideWithRefInClass.st new file mode 100644 index 0000000..1fdaaa5 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.class/instance/method1SecondLevelSendersOutsideTestInsideWithRefInClass.st @@ -0,0 +1,5 @@ +as yet unclassified +method1SecondLevelSendersOutsideTestInsideWithRefInClass +"Data for tests: method directly called by a test method not from the same package" + +" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.class/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInClass.st b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.class/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInClass.st new file mode 100644 index 0000000..e224a0d --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.class/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInClass.st @@ -0,0 +1,5 @@ +as yet unclassified +testMethod2SecondLevelSendersOutsideTestInsideWithRefInClass +"Data for tests: method directly called by a test method not from the same package" + ^('SmTClassP2SecondLevelSendersOutsideTestInsideWithRefIn','Class') asClass new method2SecondLevelSendersOutsideTestInsideWithRefInClass +" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideWithRefInMethod.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.class/properties.json similarity index 53% rename from SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideWithRefInMethod.class/properties.json rename to SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.class/properties.json index ddd344d..035db14 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideWithRefInMethod.class/properties.json +++ b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.class/properties.json @@ -1,11 +1,11 @@ { "commentStamp" : "", - "super" : "SmTClassP1SecondLevelSendersWithRef", + "super" : "SmTClassP1SecondLevelSenderOutsideWithTestInsideWithRef", "category" : "SmartTestDataOutsideP1", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], "instvars" : [ ], - "name" : "SmTClassP1SecondLevelSendersOutsideWithRefInMethod", + "name" : "SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass", "type" : "normal" } \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideWithRefInPackage.class/README.md b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class/README.md similarity index 100% rename from SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideWithRefInPackage.class/README.md rename to SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class/README.md diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInMethod.st b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInMethod.st new file mode 100644 index 0000000..7437857 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInMethod.st @@ -0,0 +1,5 @@ +tests +testMethod2SecondLevelSendersOutsideTestInsideWithRefInMethod +"Data for tests: method directly called by a test method not from the same package" + ^SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInMethod asClass new method2SecondLevelSendersOutsideTestInsideWithRefInMethod +" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideWithRefInPackage.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class/properties.json similarity index 53% rename from SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideWithRefInPackage.class/properties.json rename to SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class/properties.json index 413c2fa..31de807 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideWithRefInPackage.class/properties.json +++ b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class/properties.json @@ -1,11 +1,11 @@ { "commentStamp" : "", - "super" : "SmTClassP1SecondLevelSendersWithRef", + "super" : "SmTClassP1SecondLevelSenderOutsideWithTestInsideWithRef", "category" : "SmartTestDataOutsideP1", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], "instvars" : [ ], - "name" : "SmTClassP1SecondLevelSendersOutsideWithRefInPackage", + "name" : "SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod", "type" : "normal" } \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersWithRef.class/README.md b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.class/README.md similarity index 100% rename from SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersWithRef.class/README.md rename to SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.class/README.md diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.class/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInPackage.st b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.class/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInPackage.st new file mode 100644 index 0000000..c5d56f9 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.class/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInPackage.st @@ -0,0 +1,5 @@ +tests +testMethod2SecondLevelSendersOutsideTestInsideWithRefInPackage +"Data for tests: method directly called by a test method not from the same package" + ^('SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage') asClass new method2SecondLevelSendersOutsideTestInsideWithRefInPackage +" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideWithRefInClass.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.class/properties.json similarity index 52% rename from SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideWithRefInClass.class/properties.json rename to SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.class/properties.json index f16f140..b091aa2 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideWithRefInClass.class/properties.json +++ b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.class/properties.json @@ -1,11 +1,11 @@ { "commentStamp" : "", - "super" : "SmTClassP1SecondLevelSendersWithRef", + "super" : "SmTClassP1SecondLevelSenderOutsideWithTestInsideWithRef", "category" : "SmartTestDataOutsideP1", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], "instvars" : [ ], - "name" : "SmTClassP1SecondLevelSendersOutsideWithRefInClass", + "name" : "SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage", "type" : "normal" } \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/instance/referenceToSmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.st b/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/instance/referenceToSmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.st new file mode 100644 index 0000000..2a29e87 --- /dev/null +++ b/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/instance/referenceToSmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.st @@ -0,0 +1,4 @@ +referenceInPackage +"as yet unclassified" +referenceToSmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage +^SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/instance/referenceToSmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.st b/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/instance/referenceToSmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.st new file mode 100644 index 0000000..9690edb --- /dev/null +++ b/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/instance/referenceToSmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.st @@ -0,0 +1,4 @@ +referenceInPackage +"as yet unclassified" +referenceToSmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage +^SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRef.class/README.md b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRef.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRef.class/properties.json b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRef.class/properties.json new file mode 100644 index 0000000..62e015e --- /dev/null +++ b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRef.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "Object", + "category" : "SmartTestDataOutsideP2", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTClassP2SecondLevelSendersOutsideTestInsideWithRef", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/README.md b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/instance/method2SecondLevelSendersOutsideTestInsideWithRefInClass.st b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/instance/method2SecondLevelSendersOutsideTestInsideWithRefInClass.st new file mode 100644 index 0000000..98e3eb4 --- /dev/null +++ b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/instance/method2SecondLevelSendersOutsideTestInsideWithRefInClass.st @@ -0,0 +1,3 @@ +as yet unclassified +method2SecondLevelSendersOutsideTestInsideWithRefInClass +^('SmTClassP1SecondLevelSendersOutsideTestInsideWithRefIn','Class') asClass new method1SecondLevelSendersOutsideTestInsideWithRefInClass. diff --git a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/instance/refToSmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.st b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/instance/refToSmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.st new file mode 100644 index 0000000..e938921 --- /dev/null +++ b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/instance/refToSmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.st @@ -0,0 +1,3 @@ +as yet unclassified +refToSmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass +^ SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass new. diff --git a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/properties.json b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/properties.json new file mode 100644 index 0000000..cf93433 --- /dev/null +++ b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTClassP2SecondLevelSendersOutsideTestInsideWithRef", + "category" : "SmartTestDataOutsideP2", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInMethod.class/README.md b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInMethod.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInMethod.class/instance/method2SecondLevelSendersOutsideTestInsideWithRefInMethod.st b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInMethod.class/instance/method2SecondLevelSendersOutsideTestInsideWithRefInMethod.st new file mode 100644 index 0000000..4d5b1e5 --- /dev/null +++ b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInMethod.class/instance/method2SecondLevelSendersOutsideTestInsideWithRefInMethod.st @@ -0,0 +1,3 @@ +as yet unclassified +method2SecondLevelSendersOutsideTestInsideWithRefInMethod +^SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod new method1SecondLevelSendersOutsideTestInsideWithRefInMethod. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInMethod.class/properties.json b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInMethod.class/properties.json new file mode 100644 index 0000000..7ea3966 --- /dev/null +++ b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInMethod.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTClassP2SecondLevelSendersOutsideTestInsideWithRef", + "category" : "SmartTestDataOutsideP2", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInMethod", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage.class/README.md b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage.class/instance/method2SecondLevelSendersOutsideTestInsideWithRefInPackage.st b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage.class/instance/method2SecondLevelSendersOutsideTestInsideWithRefInPackage.st new file mode 100644 index 0000000..025d6da --- /dev/null +++ b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage.class/instance/method2SecondLevelSendersOutsideTestInsideWithRefInPackage.st @@ -0,0 +1,3 @@ +as yet unclassified +method2SecondLevelSendersOutsideTestInsideWithRefInPackage +^('SmTClassP1SecondLevelSendersOutsideTestInsideWithRefIn','Package') asClass new method1SecondLevelSendersOutsideTestInsideWithRefInPackage. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage.class/properties.json b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage.class/properties.json new file mode 100644 index 0000000..06b40f7 --- /dev/null +++ b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTClassP2SecondLevelSendersOutsideTestInsideWithRef", + "category" : "SmartTestDataOutsideP2", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRef.class/README.md b/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRef.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRef.class/properties.json b/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRef.class/properties.json new file mode 100644 index 0000000..cb696b0 --- /dev/null +++ b/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRef.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "Object", + "category" : "SmartTestDataOutsideP2", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRef", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInClass.class/README.md b/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInClass.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInClass.class/instance/referenceToSmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.st b/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInClass.class/instance/referenceToSmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.st new file mode 100644 index 0000000..71a5086 --- /dev/null +++ b/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInClass.class/instance/referenceToSmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.st @@ -0,0 +1,3 @@ +references +referenceToSmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass +^SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass new. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInClass.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInClass.st b/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInClass.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInClass.st new file mode 100644 index 0000000..6d18fd1 --- /dev/null +++ b/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInClass.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInClass.st @@ -0,0 +1,3 @@ +tests +testMethod2SecondLevelSenderInsideTestOutsideWithRefInClass +^ ('SmTClass','P1SecondLevelSendersInsideTestOutsideWithRefInClass') asClass new method2SecondLevelSendersInsideTestOutsideWithRefInClass. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInClass.class/properties.json b/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInClass.class/properties.json new file mode 100644 index 0000000..dfc9c12 --- /dev/null +++ b/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInClass.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRef", + "category" : "SmartTestDataOutsideP2", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInClass", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInMethod.class/README.md b/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInMethod.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInMethod.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInMethod.st b/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInMethod.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInMethod.st new file mode 100644 index 0000000..74890aa --- /dev/null +++ b/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInMethod.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInMethod.st @@ -0,0 +1,3 @@ +tests +testMethod2SecondLevelSenderInsideTestOutsideWithRefInMethod +^ SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod new method2SecondLevelSendersInsideTestOutsideWithRefInMethod. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInMethod.class/properties.json b/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInMethod.class/properties.json new file mode 100644 index 0000000..77606f6 --- /dev/null +++ b/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInMethod.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRef", + "category" : "SmartTestDataOutsideP2", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInMethod", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInPackage.class/README.md b/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInPackage.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInPackage.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInPackage.st b/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInPackage.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInPackage.st new file mode 100644 index 0000000..16d5928 --- /dev/null +++ b/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInPackage.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInPackage.st @@ -0,0 +1,3 @@ +tests +testMethod2SecondLevelSenderInsideTestOutsideWithRefInPackage +SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage new method2SecondLevelSendersInsideTestOutsideWithRefInPackage. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInPackage.class/properties.json b/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInPackage.class/properties.json new file mode 100644 index 0000000..e8b5b7f --- /dev/null +++ b/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInPackage.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRef", + "category" : "SmartTestDataOutsideP2", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInPackage", + "type" : "normal" +} \ No newline at end of file From 3532ac71cbd0b88da288020406d5dd162b233e9e Mon Sep 17 00:00:00 2001 From: eleonoreW Date: Wed, 16 May 2018 10:03:09 +0200 Subject: [PATCH 053/150] Corrected an error that caused some methods to not be a test, so those methods were not found when running SmartTest --- .../properties.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRef.class/properties.json b/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRef.class/properties.json index cb696b0..28c7c38 100644 --- a/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRef.class/properties.json +++ b/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRef.class/properties.json @@ -1,6 +1,6 @@ { "commentStamp" : "", - "super" : "Object", + "super" : "TestCase", "category" : "SmartTestDataOutsideP2", "classinstvars" : [ ], "pools" : [ ], From 2f070a1c670289ff424f88922a215dc5dcca1d6e Mon Sep 17 00:00:00 2001 From: eleonoreW Date: Thu, 17 May 2018 09:24:36 +0200 Subject: [PATCH 054/150] Comments of classes : explanation of the tests --- ...odFirstLevelSendersOutsidePackageWithRefInClass.st | 4 +++- ...dFirstLevelSendersOutsidePackageWithRefInMethod.st | 4 +++- ...FirstLevelSendersOutsidePackageWithRefInPackage.st | 4 +++- ...condLevelSendersInsideTestOutsideWithRefInClass.st | 4 +++- ...ondLevelSendersInsideTestOutsideWithRefInMethod.st | 4 +++- ...ndLevelSendersInsideTestOutsideWithRefInPackage.st | 4 +++- ...condLevelSendersOutsideTestInsideWithRefInClass.st | 4 +++- ...ondLevelSendersOutsideTestInsideWithRefInMethod.st | 4 +++- ...ndLevelSendersOutsideTestInsideWithRefInPackage.st | 4 +++- .../README.md | 8 ++++++++ .../properties.json | 2 +- .../README.md | 4 +++- .../properties.json | 2 +- .../README.md | 4 +++- .../properties.json | 2 +- .../README.md | 4 +++- .../properties.json | 2 +- .../README.md | 2 +- .../properties.json | 2 +- .../README.md | 10 ++++++++++ .../properties.json | 2 +- .../README.md | 10 ++++++++++ ...ondLevelSendersOutsideTestInsideWithRefInMethod.st | 6 ++++++ ...ondLevelSendersOutsideTestInsideWithRefInMethod.st | 2 +- .../properties.json | 2 +- .../README.md | 10 ++++++++++ ...ndLevelSendersOutsideTestInsideWithRefInPackage.st | 6 ++++++ .../properties.json | 2 +- .../SmTClassP2ReferencesInPackage.class/README.md | 6 ++++++ .../properties.json | 2 +- .../README.md | 8 ++++++++ .../properties.json | 2 +- .../README.md | 10 ++++++++++ .../properties.json | 2 +- .../README.md | 10 ++++++++++ .../properties.json | 2 +- .../README.md | 11 +++++++++++ .../properties.json | 2 +- .../README.md | 8 ++++++++ .../properties.json | 2 +- .../README.md | 10 ++++++++++ .../properties.json | 2 +- .../README.md | 10 ++++++++++ .../properties.json | 2 +- .../README.md | 11 +++++++++++ .../properties.json | 2 +- .../README.md | 8 ++++++++ .../properties.json | 2 +- .../README.md | 10 ++++++++++ .../properties.json | 2 +- .../README.md | 10 ++++++++++ .../properties.json | 2 +- .../README.md | 11 +++++++++++ .../properties.json | 2 +- 54 files changed, 232 insertions(+), 35 deletions(-) create mode 100644 SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class/instance/method1SecondLevelSendersOutsideTestInsideWithRefInMethod.st create mode 100644 SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.class/instance/method1SecondLevelSendersOutsideTestInsideWithRefInPackage.st diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st index 0193c34..b29d13c 100644 --- a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st +++ b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st @@ -1,7 +1,9 @@ tests testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass - "method1 is called directly by testMethod1, which is not in the same package but there is reference to method1's class in a method in the same class as testmethod1, thus testMethod1 should be found." + "method1 is called by testMethod1" + "P1 : method1 + P2 : testMethod1, the reference is made in the class of testMethod1" "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" | testsFound | diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st index b2213ea..5ec7edd 100644 --- a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st +++ b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st @@ -1,7 +1,9 @@ tests testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod - "method1 is called directly by testMethod1, which is not in the same package but there is reference to method1's class inside testMethod1, thus testMethod1 should be found." + "method1 is called by testMethod1" + "P1 : method1 + P2 : testMethod1, the reference is made in testMethod1" "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" | testsFound | diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st index 917b62b..596242c 100644 --- a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st +++ b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st @@ -1,7 +1,9 @@ tests testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage - "method1 is called by testMethod1, which is not in the same package but there is reference to method1's class in a method in the same package as testmethod1, thus testMethod1 should be found." + "method1 is called by testMethod1" + "P1 : method1 + P2 : testMethod1, the reference is made in the package of testMethod1" "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" | testsFound | diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st index 192cb50..4e0677a 100644 --- a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st +++ b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st @@ -1,7 +1,9 @@ tests testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass - "method1 is called by testMethod1, which is not in the same package but there is reference to method1's class in a method in the same package as testmethod1, thus testMethod1 should be found." + "method1 is called by method 2,itself called by testMethod1" + "P1 : method1 and method2 + P2 : testMethod2, the reference is made in the class of testMethod2" "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" | testsFound | diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st index 1632772..c8acc60 100644 --- a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st +++ b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st @@ -1,7 +1,9 @@ tests testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod - "method1 is called by testMethod1, which is not in the same package but there is reference to method1's class in a method in the same package as testmethod1, thus testMethod1 should be found." + "method1 is called by method 2,itself called by testMethod1" + "P1 : method1 and method2 + P2 : testMethod2, the reference is made in testMethod2" "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" | testsFound | diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st index f74151f..a8e8c77 100644 --- a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st +++ b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st @@ -1,7 +1,9 @@ tests testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage - "method1 is called by testMethod1, which is not in the same package but there is reference to method1's class in a method in the same package as testmethod1, thus testMethod1 should be found." + "method1 is called by method 2,itself called by testMethod1" + "P1 : method1 and method2 + P2 : testMethod2, the reference is made in the package of testMethod2" "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" | testsFound | diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st index 2c1f95e..e17d5c8 100644 --- a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st +++ b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st @@ -1,7 +1,9 @@ tests testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass - "method1 is called by testMethod1, which is not in the same package but there is reference to method1's class in a method in the same package as testmethod1, thus testMethod1 should be found." + "method1 is called by method 2,itself called by testMethod1" + "P1 : method1 and testMethod2 + P2 : method2, the reference is made in the class of method2" "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" | testsFound | diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st index cb4e4f2..abdbe2e 100644 --- a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st +++ b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st @@ -1,7 +1,9 @@ tests testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod - "method1 is called by testMethod1, which is not in the same package but there is reference to method1's class in a method in the same package as testmethod1, thus testMethod1 should be found." + "method1 is called by method 2,itself called by testMethod1" + "P1 : method1 and testMethod2 + P2 : method2, the reference is made in method2" "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" | testsFound | diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st index ed2979e..a851eab 100644 --- a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st +++ b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st @@ -1,7 +1,9 @@ tests testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage - "method1 is called by testMethod1, which is not in the same package but there is reference to method1's class in a method in the same package as testmethod1, thus testMethod1 should be found." + "method1 is called by method 2,itself called by testMethod1" + "P1 : method1 and testMethod2 + P2 : method2, the reference is made in the package of method2" "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" | testsFound | diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSenderOutsideWithTestInsideWithRef.class/README.md b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSenderOutsideWithTestInsideWithRef.class/README.md index e69de29..cdf67a9 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSenderOutsideWithTestInsideWithRef.class/README.md +++ b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSenderOutsideWithTestInsideWithRef.class/README.md @@ -0,0 +1,8 @@ +Data for SmartTest tests on the DefaultClassPackage filter. + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). + +In this class, there is the modified method and its second level sender (which contains 'testsmethod2' in it's name). In another package, there is the first level sender of the modified method (which contains 'method2' in it's name). \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSenderOutsideWithTestInsideWithRef.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSenderOutsideWithTestInsideWithRef.class/properties.json index bca0043..536f752 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSenderOutsideWithTestInsideWithRef.class/properties.json +++ b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSenderOutsideWithTestInsideWithRef.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "", + "commentStamp" : "EleonoreWALD 5/16/2018 16:17", "super" : "TestCase", "category" : "SmartTestDataOutsideP1", "classinstvars" : [ ], diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class/README.md b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class/README.md index 75ee3b4..47b1d05 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class/README.md +++ b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class/README.md @@ -5,4 +5,6 @@ Being unique, the senders of each method are mastered and consequently the tests In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). -This class is not referenced anywhere (we used concatenation to be sure). +In this class, there is the modified method and its first level sender (which contains 'method2' in it's name). In another package, there is the second level sender of the modified method (which contains 'testmethod2' in it's name). + +This class is referenced in the package SmartTestDataOutsideP2inside the same class as testMethod2 (but not in the same method). \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class/properties.json index 9250b93..a33b3ee 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class/properties.json +++ b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "EleonoreWALD 5/15/2018 15:30", + "commentStamp" : "EleonoreWALD 5/16/2018 16:22", "super" : "SmTClassP1SecondLevelSendersInsideWithTestOutsideWithRef", "category" : "SmartTestDataOutsideP1", "classinstvars" : [ ], diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class/README.md b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class/README.md index 75ee3b4..552df47 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class/README.md +++ b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class/README.md @@ -5,4 +5,6 @@ Being unique, the senders of each method are mastered and consequently the tests In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). -This class is not referenced anywhere (we used concatenation to be sure). +In this class, there is the modified method and its first level sender (which contains 'method2' in it's name). In another package, there is the second level sender of the modified method (which contains 'testmethod2' in it's name). + +This class is referenced in the package SmartTestDataOutsideP2inside the same method as testMethod2. \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class/properties.json index 01bae30..9cb2be8 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class/properties.json +++ b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "EleonoreWALD 5/15/2018 15:32", + "commentStamp" : "EleonoreWALD 5/16/2018 16:22", "super" : "SmTClassP1SecondLevelSendersInsideWithTestOutsideWithRef", "category" : "SmartTestDataOutsideP1", "classinstvars" : [ ], diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class/README.md b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class/README.md index 75ee3b4..8848848 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class/README.md +++ b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class/README.md @@ -5,4 +5,6 @@ Being unique, the senders of each method are mastered and consequently the tests In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). -This class is not referenced anywhere (we used concatenation to be sure). +In this class, there is the modified method and its first level sender (which contains 'method2' in it's name). In another package, there is the second level sender of the modified method (which contains 'testmethod2' in it's name). + +This class is referenced in the package SmartTestDataOutsideP2inside the same package as testMethod2 (but not in the same method or class). \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class/properties.json index 8c9d045..3b562a8 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class/properties.json +++ b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "EleonoreWALD 5/15/2018 15:32", + "commentStamp" : "EleonoreWALD 5/16/2018 16:22", "super" : "SmTClassP1SecondLevelSendersInsideWithTestOutsideWithRef", "category" : "SmartTestDataOutsideP1", "classinstvars" : [ ], diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideWithTestOutsideWithRef.class/README.md b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideWithTestOutsideWithRef.class/README.md index 75ee3b4..29613e2 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideWithTestOutsideWithRef.class/README.md +++ b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideWithTestOutsideWithRef.class/README.md @@ -5,4 +5,4 @@ Being unique, the senders of each method are mastered and consequently the tests In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). -This class is not referenced anywhere (we used concatenation to be sure). +In this class, there is the modified method and its first level sender (which contains 'method2' in it's name). In another package, there is the second level sender of the modified method (which contains 'testmethod2' in it's name). diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideWithTestOutsideWithRef.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideWithTestOutsideWithRef.class/properties.json index 1aa1275..f62a4fc 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideWithTestOutsideWithRef.class/properties.json +++ b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideWithTestOutsideWithRef.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "EleonoreWALD 5/15/2018 14:49", + "commentStamp" : "EleonoreWALD 5/16/2018 16:15", "super" : "Object", "category" : "SmartTestDataOutsideP1", "classinstvars" : [ ], diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.class/README.md b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.class/README.md index e69de29..cc3d28e 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.class/README.md +++ b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.class/README.md @@ -0,0 +1,10 @@ +Data for SmartTest tests on the DefaultClassPackage filter. + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). + +In this class, there is the modified method and its second level sender (which contains 'testsmethod2' in it's name). In another package, there is the first level sender of the modified method (which contains 'method2' in it's name). + +This class is referenced in the package SmartTestDataOutsideP2inside the same class as method2 (but not in the same method). \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.class/properties.json index 035db14..0e14b3d 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.class/properties.json +++ b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "", + "commentStamp" : "EleonoreWALD 5/16/2018 16:22", "super" : "SmTClassP1SecondLevelSenderOutsideWithTestInsideWithRef", "category" : "SmartTestDataOutsideP1", "classinstvars" : [ ], diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class/README.md b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class/README.md index e69de29..88eafea 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class/README.md +++ b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class/README.md @@ -0,0 +1,10 @@ +Data for SmartTest tests on the DefaultClassPackage filter. + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). + +In this class, there is the modified method and its second level sender (which contains 'testsmethod2' in it's name). In another package, there is the first level sender of the modified method (which contains 'method2' in it's name). + +This class is referenced in the package SmartTestDataOutsideP2inside the same method as method2. \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class/instance/method1SecondLevelSendersOutsideTestInsideWithRefInMethod.st b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class/instance/method1SecondLevelSendersOutsideTestInsideWithRefInMethod.st new file mode 100644 index 0000000..c199707 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class/instance/method1SecondLevelSendersOutsideTestInsideWithRefInMethod.st @@ -0,0 +1,6 @@ +as yet unclassified +"as yet unclassified" +method1SecondLevelSendersOutsideTestInsideWithRefInMethod +"Data for tests: method directly called by a test method not from the same package" + +" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInMethod.st b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInMethod.st index 7437857..25a904b 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInMethod.st +++ b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInMethod.st @@ -1,5 +1,5 @@ tests testMethod2SecondLevelSendersOutsideTestInsideWithRefInMethod "Data for tests: method directly called by a test method not from the same package" - ^SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInMethod asClass new method2SecondLevelSendersOutsideTestInsideWithRefInMethod + ^('SmTClassP2SecondLevelSendersOutsideTestInsideWithRefIn','Method') asClass new method2SecondLevelSendersOutsideTestInsideWithRefInMethod " the behaviour of this method is not relevant." \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class/properties.json index 31de807..e4d487f 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class/properties.json +++ b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "", + "commentStamp" : "EleonoreWALD 5/16/2018 16:22", "super" : "SmTClassP1SecondLevelSenderOutsideWithTestInsideWithRef", "category" : "SmartTestDataOutsideP1", "classinstvars" : [ ], diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.class/README.md b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.class/README.md index e69de29..b0b8052 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.class/README.md +++ b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.class/README.md @@ -0,0 +1,10 @@ +Data for SmartTest tests on the DefaultClassPackage filter. + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). + +In this class, there is the modified method and its second level sender (which contains 'testsmethod2' in it's name). In another package, there is the first level sender of the modified method (which contains 'method2' in it's name). + +This class is referenced in the package SmartTestDataOutsideP2inside the same package as method2 (but not in the same methodor class). \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.class/instance/method1SecondLevelSendersOutsideTestInsideWithRefInPackage.st b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.class/instance/method1SecondLevelSendersOutsideTestInsideWithRefInPackage.st new file mode 100644 index 0000000..7899806 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.class/instance/method1SecondLevelSendersOutsideTestInsideWithRefInPackage.st @@ -0,0 +1,6 @@ +as yet unclassified +"as yet unclassified" +method1SecondLevelSendersOutsideTestInsideWithRefInPackage +"Data for tests: method directly called by a test method not from the same package" + +" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.class/properties.json index b091aa2..3021b17 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.class/properties.json +++ b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "", + "commentStamp" : "EleonoreWALD 5/16/2018 16:22", "super" : "SmTClassP1SecondLevelSenderOutsideWithTestInsideWithRef", "category" : "SmartTestDataOutsideP1", "classinstvars" : [ ], diff --git a/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/README.md b/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/README.md index e69de29..3bb3a41 100644 --- a/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/README.md +++ b/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/README.md @@ -0,0 +1,6 @@ +Data for SmartTest tests on the DefaultClassPackage filter. + +Methods of this class have long name in order to be unique and explicit. + +Being unique, the senders of each method are controlled and consequently the tests are independent the one from the others. +In this Class, we implement methods that make references to different class to the package SMartTestDataOutsideP1. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/properties.json b/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/properties.json index 5c927c4..903c540 100644 --- a/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/properties.json +++ b/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "", + "commentStamp" : "EleonoreWALD 5/17/2018 08:45", "super" : "Object", "category" : "SmartTestDataOutsideP2", "classinstvars" : [ ], diff --git a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRef.class/README.md b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRef.class/README.md index e69de29..502b1d1 100644 --- a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRef.class/README.md +++ b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRef.class/README.md @@ -0,0 +1,8 @@ +Data for SmartTest tests on the DefaultClassPackage filter. + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). + +In this class, there the first level sender of the modified method (which contains 'method2' in it's name). In another package, there is the modified method and its second level sender (the test itself,which contains 'testmethod2' in it's name). \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRef.class/properties.json b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRef.class/properties.json index 62e015e..79091eb 100644 --- a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRef.class/properties.json +++ b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRef.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "", + "commentStamp" : "EleonoreWALD 5/17/2018 08:53", "super" : "Object", "category" : "SmartTestDataOutsideP2", "classinstvars" : [ ], diff --git a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/README.md b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/README.md index e69de29..004b631 100644 --- a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/README.md +++ b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/README.md @@ -0,0 +1,10 @@ +Data for SmartTest tests on the DefaultClassPackage filter. + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). + +In this class, there the first level sender of the modified method (which contains 'method2' in it's name). In another package, there is the modified method and its second level sender (the test itself,which contains 'testmethod2' in it's name). + +In this class there is a method that references the class SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass located in the package SmTDataOutsideP1. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/properties.json b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/properties.json index cf93433..4232771 100644 --- a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/properties.json +++ b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "", + "commentStamp" : "EleonoreWALD 5/17/2018 08:53", "super" : "SmTClassP2SecondLevelSendersOutsideTestInsideWithRef", "category" : "SmartTestDataOutsideP2", "classinstvars" : [ ], diff --git a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInMethod.class/README.md b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInMethod.class/README.md index e69de29..9ea612f 100644 --- a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInMethod.class/README.md +++ b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInMethod.class/README.md @@ -0,0 +1,10 @@ +Data for SmartTest tests on the DefaultClassPackage filter. + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). + +In this class, there the first level sender of the modified method (which contains 'method2' in it's name). In another package, there is the modified method and its second level sender (the test itself,which contains 'testmethod2' in it's name). + +In this class the second level sender references directly the class of the modified method, SmTClassP1SecondLevelSenderOutsideTestInsideWithRefInMethod, located in the package SmTDataOutsideP1. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInMethod.class/properties.json b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInMethod.class/properties.json index 7ea3966..b6add46 100644 --- a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInMethod.class/properties.json +++ b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInMethod.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "", + "commentStamp" : "EleonoreWALD 5/17/2018 09:00", "super" : "SmTClassP2SecondLevelSendersOutsideTestInsideWithRef", "category" : "SmartTestDataOutsideP2", "classinstvars" : [ ], diff --git a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage.class/README.md b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage.class/README.md index e69de29..118e7ab 100644 --- a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage.class/README.md +++ b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage.class/README.md @@ -0,0 +1,11 @@ +Data for SmartTest tests on the DefaultClassPackage filter. + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). + +In this class, there the first level sender of the modified method (which contains 'method2' in it's name). In another package, there is the modified method and its second level sender (the test itself,which contains 'testmethod2' in it's name). + +In this class there no method that references the class SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod located in the package SmTDataOutsideP1. +There is a method in SmTClassP2ReferencesInPackage that references the class SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage.class/properties.json b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage.class/properties.json index 06b40f7..7b0c103 100644 --- a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage.class/properties.json +++ b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "", + "commentStamp" : "EleonoreWALD 5/17/2018 08:53", "super" : "SmTClassP2SecondLevelSendersOutsideTestInsideWithRef", "category" : "SmartTestDataOutsideP2", "classinstvars" : [ ], diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRef.class/README.md b/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRef.class/README.md index e69de29..383ddeb 100644 --- a/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRef.class/README.md +++ b/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRef.class/README.md @@ -0,0 +1,8 @@ +Data for SmartTest tests on the DefaultClassPackage filter. + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). + +In this class, there the first level sender of the modified method (which contains 'method2' in it's name). In another package, there is the modified method. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRef.class/properties.json b/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRef.class/properties.json index ea45e10..7f0a593 100644 --- a/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRef.class/properties.json +++ b/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRef.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "", + "commentStamp" : "EleonoreWALD 5/17/2018 08:54", "super" : "TestCase", "category" : "SmartTestDataOutsideP2", "classinstvars" : [ ], diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInClass.class/README.md b/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInClass.class/README.md index e69de29..58d3d17 100644 --- a/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInClass.class/README.md +++ b/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInClass.class/README.md @@ -0,0 +1,10 @@ +Data for SmartTest tests on the DefaultClassPackage filter. + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). + +In this class, there the first level sender of the modified method (which contains 'method2' in it's name). In another package, there is the modified method. + +In this class there is a method in SmTClassP2ReferencesInPackage that references the class SmTClassP1FirstLevelSendersOutsideWithRefInClass located in the package SmTDataOutsideP1. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInClass.class/properties.json b/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInClass.class/properties.json index e60e6f8..6b27f91 100644 --- a/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInClass.class/properties.json +++ b/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInClass.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "", + "commentStamp" : "EleonoreWALD 5/17/2018 08:55", "super" : "SmTClassTestP2FirstLevelSendersOutsideWithRef", "category" : "SmartTestDataOutsideP2", "classinstvars" : [ ], diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInMethod.class/README.md b/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInMethod.class/README.md index e69de29..cc4b4cb 100644 --- a/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInMethod.class/README.md +++ b/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInMethod.class/README.md @@ -0,0 +1,10 @@ +Data for SmartTest tests on the DefaultClassPackage filter. + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). + +In this class, there the first level sender of the modified method (which contains 'method2' in it's name). In another package, there is the modified method. + +In this class the test references directly the class of the modified method, SmTClassP1FirstLevelSendersOutsideWithRefInMethod, located in the package SmTDataOutsideP1. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInMethod.class/properties.json b/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInMethod.class/properties.json index 861ba5e..d6190c4 100644 --- a/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInMethod.class/properties.json +++ b/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInMethod.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "", + "commentStamp" : "EleonoreWALD 5/17/2018 08:57", "super" : "SmTClassTestP2FirstLevelSendersOutsideWithRef", "category" : "SmartTestDataOutsideP2", "classinstvars" : [ ], diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInPackage.class/README.md b/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInPackage.class/README.md index e69de29..75615f5 100644 --- a/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInPackage.class/README.md +++ b/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInPackage.class/README.md @@ -0,0 +1,11 @@ +Data for SmartTest tests on the DefaultClassPackage filter. + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). + +In this class, there the first level sender of the modified method (which contains 'method2' in it's name). In another package, there is the modified method. + +In this class there no method that references the class SmTClassP1FirstLevelSendersOutsideWithRefInPackage located in the package SmTDataOutsideP1. +There is a method in SmTClassP2ReferencesInPackage that references the class SmTClassP1FirstevelSendersOutsideWithRefInPackage. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInPackage.class/properties.json b/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInPackage.class/properties.json index e1e81e6..87c92dd 100644 --- a/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInPackage.class/properties.json +++ b/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInPackage.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "", + "commentStamp" : "EleonoreWALD 5/17/2018 08:55", "super" : "SmTClassTestP2FirstLevelSendersOutsideWithRef", "category" : "SmartTestDataOutsideP2", "classinstvars" : [ ], diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRef.class/README.md b/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRef.class/README.md index e69de29..f813bd5 100644 --- a/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRef.class/README.md +++ b/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRef.class/README.md @@ -0,0 +1,8 @@ +Data for SmartTest tests on the DefaultClassPackage filter. + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). + +In this class, there the second level sender(the test) of the modified method (which contains 'testMethod2' in it's name). In another package, there is the modified method and its first level sender (the test itself,which contains 'method2' in it's name). \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRef.class/properties.json b/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRef.class/properties.json index 28c7c38..d8547e8 100644 --- a/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRef.class/properties.json +++ b/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRef.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "", + "commentStamp" : "EleonoreWALD 5/17/2018 08:58", "super" : "TestCase", "category" : "SmartTestDataOutsideP2", "classinstvars" : [ ], diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInClass.class/README.md b/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInClass.class/README.md index e69de29..7f3c574 100644 --- a/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInClass.class/README.md +++ b/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInClass.class/README.md @@ -0,0 +1,10 @@ +Data for SmartTest tests on the DefaultClassPackage filter. + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). + +In this class, there the second level sender(the test) of the modified method (which contains 'testMethod2' in it's name). In another package, there is the modified method and its first level sender (the test itself,which contains 'method2' in it's name). + +In this class there is a method that references the class SmTClassP1SecondLevelSendersInsideTestOutsidesideWithRefInClass located in the package SmTDataOutsideP1. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInClass.class/properties.json b/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInClass.class/properties.json index dfc9c12..e13297b 100644 --- a/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInClass.class/properties.json +++ b/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInClass.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "", + "commentStamp" : "EleonoreWALD 5/17/2018 09:01", "super" : "SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRef", "category" : "SmartTestDataOutsideP2", "classinstvars" : [ ], diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInMethod.class/README.md b/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInMethod.class/README.md index e69de29..3d112bb 100644 --- a/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInMethod.class/README.md +++ b/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInMethod.class/README.md @@ -0,0 +1,10 @@ +Data for SmartTest tests on the DefaultClassPackage filter. + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). + +In this class, there the second level sender(the test) of the modified method (which contains 'testMethod2' in it's name). In another package, there is the modified method and its first level sender (the test itself,which contains 'method2' in it's name). + +In this class the second level sender references directly the class of the modified method, SmTClassP1SecondLevelSenderInsideTestOutsideWithRefInMethod, located in the package SmTDataOutsideP1. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInMethod.class/properties.json b/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInMethod.class/properties.json index 77606f6..2420b2f 100644 --- a/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInMethod.class/properties.json +++ b/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInMethod.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "", + "commentStamp" : "EleonoreWALD 5/17/2018 09:00", "super" : "SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRef", "category" : "SmartTestDataOutsideP2", "classinstvars" : [ ], diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInPackage.class/README.md b/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInPackage.class/README.md index e69de29..dbe3748 100644 --- a/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInPackage.class/README.md +++ b/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInPackage.class/README.md @@ -0,0 +1,11 @@ +Data for SmartTest tests on the DefaultClassPackage filter. + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). + +In this class, there the second level sender(the test) of the modified method (which contains 'testMethod2' in it's name). In another package, there is the modified method and its first level sender (the test itself,which contains 'method2' in it's name). + +In this class there no method that references the class SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod located in the package SmTDataOutsideP1. +There is a method in SmTClassP2ReferencesInPackage that references the class SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInPackage.class/properties.json b/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInPackage.class/properties.json index e8b5b7f..71245cc 100644 --- a/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInPackage.class/properties.json +++ b/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInPackage.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "", + "commentStamp" : "EleonoreWALD 5/17/2018 09:01", "super" : "SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRef", "category" : "SmartTestDataOutsideP2", "classinstvars" : [ ], From 7931b11da754c1a570f1dfb5fdb96f1d2b1452ac Mon Sep 17 00:00:00 2001 From: eleonoreW Date: Thu, 17 May 2018 17:09:10 +0200 Subject: [PATCH 055/150] Reclassification of many methods Tests additions for the filters Minor corrections --- .../instance/testStandardMethodInheritance.st | 10 ++++++++++ .../instance/testInheritance.st | 9 +++++++++ ...irstLevelSendersOutsidePackageWithRefInClass.st | 2 +- ...rstLevelSendersOutsidePackageWithRefInMethod.st | 2 +- ...stLevelSendersOutsidePackageWithRefInPackage.st | 2 +- ...dLevelSendersInsideTestOutsideWithRefInClass.st | 2 +- ...LevelSendersInsideTestOutsideWithRefInMethod.st | 2 +- ...evelSendersInsideTestOutsideWithRefInPackage.st | 2 +- ...dLevelSendersOutsideTestInsideWithRefInClass.st | 2 +- ...LevelSendersOutsideTestInsideWithRefInMethod.st | 4 ++-- ...evelSendersOutsideTestInsideWithRefInPackage.st | 4 ++-- ...SendersOutsideTestOutsideWithRefToP1InMethod.st | 14 ++++++++++++++ ...SendersOutsideTestOutsideWithRefToP2InMethod.st | 14 ++++++++++++++ .../SmTClassP1.class/properties.json | 2 +- .../README.md | 8 -------- .../properties.json | 11 ----------- .../method1FirstLevelSendersWithRefInClass.st | 1 - .../properties.json | 4 ++-- .../method1FirstLevelSendersWithRefInMethod.st | 3 +-- .../properties.json | 4 ++-- .../method1FirstLevelSendersWithRefInPackage.st | 3 +-- .../properties.json | 4 ++-- .../README.md | 8 -------- .../properties.json | 11 ----------- .../properties.json | 4 ++-- .../properties.json | 4 ++-- .../properties.json | 4 ++-- .../README.md | 8 -------- .../properties.json | 11 ----------- ...dLevelSendersOutsideTestInsideWithRefInClass.st | 2 +- .../properties.json | 4 ++-- ...LevelSendersOutsideTestInsideWithRefInMethod.st | 3 +-- .../properties.json | 4 ++-- ...evelSendersOutsideTestInsideWithRefInPackage.st | 3 +-- .../properties.json | 4 ++-- .../README.md | 11 +++++++++++ ...SendersOutsideTestOutsideWithRefToP1InMethod.st | 5 +++++ ...SendersOutsideTestOutsideWithRefToP2InMethod.st | 5 +++++ .../properties.json | 11 +++++++++++ ...dLevelSendersOutsideTestInsideWithRefInClass.st | 2 +- ...LevelSendersOutsideTestInsideWithRefInMethod.st | 0 ...evelSendersOutsideTestInsideWithRefInPackage.st | 0 .../SmTClassTestP1.class/properties.json | 2 +- .../SmTP1Inheritance.class/README.md | 0 .../instance/method1Inheritance.st | 3 +++ .../SmTP1Inheritance.class/properties.json | 11 +++++++++++ .../SmTP1InheritanceSubClass1Test.class/README.md | 6 ++++++ .../properties.json | 11 +++++++++++ .../SmTP1InheritanceSubClass2Test.class/README.md | 3 +++ .../properties.json | 11 +++++++++++ .../SmTP1InheritanceTest.class/README.md | 6 ++++++ .../SmTP1InheritanceTest.class/instance/setup.st | 2 ++ .../instance/testMethod1Inheritance.st | 4 ++++ .../SmTP1InheritanceTest.class/properties.json | 11 +++++++++++ .../monticello.meta/categories.st | 7 +++++++ .../SmTClassP2.class/properties.json | 2 +- .../properties.json | 2 +- .../README.md | 8 -------- .../properties.json | 11 ----------- ...dLevelSendersOutsideTestInsideWithRefInClass.st | 2 +- ...dLevelSendersOutsideTestInsideWithRefInClass.st | 2 +- .../properties.json | 4 ++-- ...LevelSendersOutsideTestInsideWithRefInMethod.st | 2 +- .../properties.json | 4 ++-- ...evelSendersOutsideTestInsideWithRefInPackage.st | 2 +- .../properties.json | 4 ++-- .../README.md | 11 +++++++++++ ...SendersOutsideTestOutsideWithRefToP1InMethod.st | 3 +++ ...SendersOutsideTestOutsideWithRefToP2InMethod.st | 3 +++ .../properties.json | 11 +++++++++++ ...lassP1FirstLevelSendersOutsideWithRefInClass.st | 3 +++ ...dLevelSendersInsideTestOutsideWithRefInClass.st | 0 ...ethod1FirstLevelSendersOutsideWithRefInClass.st | 0 ...thod1FirstLevelSendersOutsideWithRefInMethod.st | 0 ...hod1FirstLevelSendersOutsideWithRefInPackage.st | 0 ...ndLevelSenderInsideTestOutsideWithRefInClass.st | 0 ...dLevelSenderInsideTestOutsideWithRefInMethod.st | 0 ...LevelSenderInsideTestOutsideWithRefInPackage.st | 0 .../SmTClassTestP2.class/properties.json | 2 +- .../README.md | 8 -------- .../properties.json | 11 ----------- .../README.md | 10 ---------- .../instance/refInClass.st | 3 --- .../properties.json | 11 ----------- .../README.md | 10 ---------- .../properties.json | 11 ----------- .../README.md | 11 ----------- .../properties.json | 11 ----------- .../README.md | 8 -------- .../properties.json | 11 ----------- .../README.md | 10 ---------- .../properties.json | 11 ----------- .../README.md | 10 ---------- .../properties.json | 11 ----------- .../README.md | 11 ----------- .../properties.json | 11 ----------- .../monticello.meta/categories.st | 5 +++++ .../README.md | 10 ++++++++++ .../properties.json | 11 +++++++++++ .../README.md | 11 +++++++++++ ...lSenderOutsideTestOutsideWithRefToP1InMethod.st | 4 ++++ ...lSenderOutsideTestOutsideWithRefToP2InMethod.st | 3 +++ .../properties.json | 11 +++++++++++ 103 files changed, 290 insertions(+), 300 deletions(-) create mode 100644 SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodInheritance.st create mode 100644 SmartTest.package/SmTFinderAbstractTest.class/instance/testInheritance.st create mode 100644 SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefToP1InMethod.st create mode 100644 SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefToP2InMethod.st delete mode 100644 SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRef.class/README.md delete mode 100644 SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRef.class/properties.json delete mode 100644 SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSenderOutsideWithTestInsideWithRef.class/README.md delete mode 100644 SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSenderOutsideWithTestInsideWithRef.class/properties.json delete mode 100644 SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideWithTestOutsideWithRef.class/README.md delete mode 100644 SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideWithTestOutsideWithRef.class/properties.json create mode 100644 SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/README.md create mode 100644 SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/instance/method1SecondLevelSendersOutsideTestOutsideWithRefToP1InMethod.st create mode 100644 SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/instance/method1SecondLevelSendersOutsideTestOutsideWithRefToP2InMethod.st create mode 100644 SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/properties.json rename SmartTestDataOutsideP1.package/{SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.class => SmTClassTestP1.class}/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInClass.st (94%) rename SmartTestDataOutsideP1.package/{SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class => SmTClassTestP1.class}/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInMethod.st (100%) rename SmartTestDataOutsideP1.package/{SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.class => SmTClassTestP1.class}/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInPackage.st (100%) create mode 100644 SmartTestDataOutsideP1.package/SmTP1Inheritance.class/README.md create mode 100644 SmartTestDataOutsideP1.package/SmTP1Inheritance.class/instance/method1Inheritance.st create mode 100644 SmartTestDataOutsideP1.package/SmTP1Inheritance.class/properties.json create mode 100644 SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass1Test.class/README.md create mode 100644 SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass1Test.class/properties.json create mode 100644 SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass2Test.class/README.md create mode 100644 SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass2Test.class/properties.json create mode 100644 SmartTestDataOutsideP1.package/SmTP1InheritanceTest.class/README.md create mode 100644 SmartTestDataOutsideP1.package/SmTP1InheritanceTest.class/instance/setup.st create mode 100644 SmartTestDataOutsideP1.package/SmTP1InheritanceTest.class/instance/testMethod1Inheritance.st create mode 100644 SmartTestDataOutsideP1.package/SmTP1InheritanceTest.class/properties.json delete mode 100644 SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRef.class/README.md delete mode 100644 SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRef.class/properties.json create mode 100644 SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/README.md create mode 100644 SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/instance/method2SecondLevelSendersOutsideTestOutsideWithRefToP1InMethod.st create mode 100644 SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/instance/method2SecondLevelSendersOutsideTestOutsideWithRefToP2InMethod.st create mode 100644 SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/properties.json create mode 100644 SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/referenceToSmTClassP1FirstLevelSendersOutsideWithRefInClass.st rename SmartTestDataOutsideP2.package/{SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInClass.class => SmTClassTestP2.class}/instance/referenceToSmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.st (100%) rename SmartTestDataOutsideP2.package/{SmTClassTestP2FirstLevelSendersOutsideWithRefInClass.class => SmTClassTestP2.class}/instance/testMethod1FirstLevelSendersOutsideWithRefInClass.st (100%) rename SmartTestDataOutsideP2.package/{SmTClassTestP2FirstLevelSendersOutsideWithRefInMethod.class => SmTClassTestP2.class}/instance/testMethod1FirstLevelSendersOutsideWithRefInMethod.st (100%) rename SmartTestDataOutsideP2.package/{SmTClassTestP2FirstLevelSendersOutsideWithRefInPackage.class => SmTClassTestP2.class}/instance/testMethod1FirstLevelSendersOutsideWithRefInPackage.st (100%) rename SmartTestDataOutsideP2.package/{SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInClass.class => SmTClassTestP2.class}/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInClass.st (100%) rename SmartTestDataOutsideP2.package/{SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInMethod.class => SmTClassTestP2.class}/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInMethod.st (100%) rename SmartTestDataOutsideP2.package/{SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInPackage.class => SmTClassTestP2.class}/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInPackage.st (100%) delete mode 100644 SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRef.class/README.md delete mode 100644 SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRef.class/properties.json delete mode 100644 SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInClass.class/README.md delete mode 100644 SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInClass.class/instance/refInClass.st delete mode 100644 SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInClass.class/properties.json delete mode 100644 SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInMethod.class/README.md delete mode 100644 SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInMethod.class/properties.json delete mode 100644 SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInPackage.class/README.md delete mode 100644 SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInPackage.class/properties.json delete mode 100644 SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRef.class/README.md delete mode 100644 SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRef.class/properties.json delete mode 100644 SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInClass.class/README.md delete mode 100644 SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInClass.class/properties.json delete mode 100644 SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInMethod.class/README.md delete mode 100644 SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInMethod.class/properties.json delete mode 100644 SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInPackage.class/README.md delete mode 100644 SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInPackage.class/properties.json create mode 100644 SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRef.class/README.md create mode 100644 SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRef.class/properties.json create mode 100644 SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefInMethod.class/README.md create mode 100644 SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefInMethod.class/instance/testMethod2SecondLevelSenderOutsideTestOutsideWithRefToP1InMethod.st create mode 100644 SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefInMethod.class/instance/testMethod2SecondLevelSenderOutsideTestOutsideWithRefToP2InMethod.st create mode 100644 SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefInMethod.class/properties.json diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodInheritance.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodInheritance.st new file mode 100644 index 0000000..33636f7 --- /dev/null +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodInheritance.st @@ -0,0 +1,10 @@ +tests +testStandardMethodInheritance + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmT','P1InheritanceSubClass1') asClass >> ('method1','Inheritance') asSymbol). + self assert: testsFound size equals: 1. + self deny: (testsFound includes: ('SmT','P1InheritanceSubClass1') asClass >> ('testMethod1','Inheritance') asSymbol). + + + \ No newline at end of file diff --git a/SmartTest.package/SmTFinderAbstractTest.class/instance/testInheritance.st b/SmartTest.package/SmTFinderAbstractTest.class/instance/testInheritance.st new file mode 100644 index 0000000..d81e772 --- /dev/null +++ b/SmartTest.package/SmTFinderAbstractTest.class/instance/testInheritance.st @@ -0,0 +1,9 @@ +tests +testInheritance + + | testsFound | + testsFound := self searchTestMethodsFor: ('SmTP1' , 'Inheritance') asClass >> #method1Inheritance. + + self assert: testsFound size equals: 2. + self assert: (testsFound includes: (SmTP1InheritanceSubClass1Test >> #testMethod1Inheritance ) ). + self assert: (testsFound includes: (SmTP1InheritanceSubClass2Test >> #testMethod1Inheritance )). \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st index b29d13c..ded11ee 100644 --- a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st +++ b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st @@ -9,4 +9,4 @@ testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass | testsFound | testsFound := self searchTestMethodsFor: ( ('SmTClassP1FirstLevelSendersOutsideWithRefIn','Class') asClass >> ('method1','FirstLevelSendersWithRefInClass') asSymbol). self assert: testsFound size equals: 1. - self assert: (testsFound includes: (SmTClassTestP2FirstLevelSendersOutsideWithRefInClass >> #testMethod1FirstLevelSendersOutsideWithRefInClass) asRingDefinition ). \ No newline at end of file + self assert: (testsFound includes: (('SmTClassTest','P2') asClass >> ('testMethod1FirstLevelSendersOutsideWithRefIn','Class') asSymbol) asRingDefinition ). \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st index 5ec7edd..db6f779 100644 --- a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st +++ b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st @@ -9,4 +9,4 @@ testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod | testsFound | testsFound := self searchTestMethodsFor: ( ('SmTClassP1FirstLevelSendersOutsideWithRefIn','Method') asClass >> ('method1','FirstLevelSendersWithRefInMethod') asSymbol). self assert: testsFound size equals: 1. - self assert: (testsFound includes: (SmTClassTestP2FirstLevelSendersOutsideWithRefInMethod >> #testMethod1FirstLevelSendersOutsideWithRefInMethod) asRingDefinition ). \ No newline at end of file + self assert: (testsFound includes: (('SmTClassTest','P2') asClass >> ('testMethod1FirstLevelSendersOutsideWithRefIn','Method') asSymbol) asRingDefinition ). \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st index 596242c..ad5ac35 100644 --- a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st +++ b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st @@ -9,5 +9,5 @@ testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage | testsFound | testsFound := self searchTestMethodsFor: ( ('SmTClassP1FirstLevelSendersOutsideWithRefIn','Package') asClass >> ('method1FirstLevelSendersWithRefIn','Package') asSymbol). self assert: testsFound size equals: 1. - self assert: (testsFound includes: (SmTClassTestP2FirstLevelSendersOutsideWithRefInPackage >> #testMethod1FirstLevelSendersOutsideWithRefInPackage) asRingDefinition ). + self assert: (testsFound includes: (('SmTClassTest','P2') asClass >> ('testMethod1FirstLevelSendersOutsideWithRefIn','Package') asSymbol) asRingDefinition ). \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st index 4e0677a..2442242 100644 --- a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st +++ b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st @@ -9,5 +9,5 @@ testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass | testsFound | testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersInsideTestOutsideWithRefIn','Class') asClass >> ('method1SecondLevelSendersInsideTestOutsideWithRefIn','Class') asSymbol). self assert: testsFound size equals: 1. - self assert: (testsFound includes: (SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInClass >> #testMethod2SecondLevelSenderInsideTestOutsideWithRefInClass) asRingDefinition ). + self assert: (testsFound includes: (('SmTClassTest','P2') asClass >> ('testMethod2SecondLevelSenderInsideTestOutsideWithRefIn','Class') asSymbol) asRingDefinition ). \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st index c8acc60..29d83d5 100644 --- a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st +++ b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st @@ -9,5 +9,5 @@ testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod | testsFound | testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersInsideTestOutsideWithRefIn','Method') asClass >> ('method1SecondLevelSendersInsideTestOutsideWithRefIn','Method') asSymbol). self assert: testsFound size equals: 1. - self assert: (testsFound includes: (SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInMethod >> #testMethod2SecondLevelSenderInsideTestOutsideWithRefInMethod) asRingDefinition ). + self assert: (testsFound includes: (('SmTClassTest','P2') asClass >> ('testMethod2SecondLevelSenderInsideTestOutsideWithRefIn','Method')asSymbol) asRingDefinition ). \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st index a8e8c77..1560e8a 100644 --- a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st +++ b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st @@ -9,5 +9,5 @@ testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage | testsFound | testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersInsideTestOutsideWithRefIn','Package') asClass >> ('method1SecondLevelSendersInsideTestOutsideWithRefIn','Package') asSymbol). self assert: testsFound size equals: 1. - self assert: (testsFound includes: (SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInPackage >> #testMethod2SecondLevelSenderInsideTestOutsideWithRefInPackage) asRingDefinition ). + self assert: (testsFound includes: (('SmTClassTest','P2') asClass >> ('testMethod2SecondLevelSenderInsideTestOutsideWithRefIn','Package') asSymbol) asRingDefinition ). \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st index e17d5c8..29aceea 100644 --- a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st +++ b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st @@ -9,5 +9,5 @@ testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass | testsFound | testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersOutsideTestInsideWithRefIn','Class') asClass >> ('method1SecondLevelSendersOutsideTestInsideWithRefIn','Class') asSymbol). self assert: testsFound size equals: 1. - self assert: (testsFound includes: (('SmTClassP1SecondLevelSendersOutsideTestInsideWithRefIn','Class') asClass >> #testMethod2SecondLevelSendersOutsideTestInsideWithRefInClass) asRingDefinition ). + self assert: (testsFound includes: (('SmTClassTest','P1') asClass >> ('testMethod2SecondLevelSendersOutsideTestInsideWithRefIn','Class') asSymbol) asRingDefinition ). \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st index abdbe2e..ffdcb51 100644 --- a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st +++ b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st @@ -7,7 +7,7 @@ testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersOutsideTestInsideWithRefIn','Method') asClass >> ('testMethod2SecondLevelSendersOutsideTestInsideWithRefIn','Method') asSymbol). + testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersOutsideTestInsideWithRefIn','Method') asClass >> ('method1SecondLevelSendersOutsideTestInsideWithRefIn','Method') asSymbol). self assert: testsFound size equals: 1. - self assert: (testsFound includes: (('SmTClassP1SecondLevelSendersOutsideTestInsideWithRefIn','Method') asClass >> #testMethod2SecondLevelSendersOutsideTestInsideWithRefInMethod) asRingDefinition ). + self assert: (testsFound includes: (('SmTClassTest','P1') asClass >> ('testMethod2SecondLevelSendersOutsideTestInsideWithRefIn','Method') asSymbol) asRingDefinition ). \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st index a851eab..465bb6e 100644 --- a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st +++ b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st @@ -7,7 +7,7 @@ testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersOutsideTestInsideWithRefIn','Package') asClass >> ('testMethod2SecondLevelSendersOutsideTestInsideWithRefIn','Package') asSymbol). + testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersOutsideTestInsideWithRefIn','Package') asClass >> ('method1SecondLevelSendersOutsideTestInsideWithRefIn','Package') asSymbol). self assert: testsFound size equals: 1. - self assert: (testsFound includes: (('SmTClassP1SecondLevelSendersOutsideTestInsideWithRefIn','Package') asClass >> #testMethod2SecondLevelSendersOutsideTestInsideWithRefInPackage) asRingDefinition ). + self assert: (testsFound includes: (('SmTClassTest','P1') asClass >> ('testMethod2SecondLevelSendersOutsideTestInsideWithRefIn','Package') asSymbol) asRingDefinition ). \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefToP1InMethod.st b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefToP1InMethod.st new file mode 100644 index 0000000..39c236b --- /dev/null +++ b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefToP1InMethod.st @@ -0,0 +1,14 @@ +tests +testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefToP1InMethod + + "method1 is called by method 2,itself called by testMethod1" + "P1 : Class1 >> method1 + P2 : Class2 >> method2, the reference to Class1 is made in method2 + P3 : Class3 >> testMethod2, the reference to Class1 is made in testMethod2" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefIn','Method') asClass >> ('method1SecondLevelSendersOutsideTestOutsideWithRefToP1In','Method') asSymbol). + self assert: testsFound size equals: 1. + self assert: (testsFound includes: (('SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefIn','Method') asClass >> ('testMethod2SecondLevelSenderOutsideTestOutsideWithRefToP1In','Method') asSymbol) asRingDefinition ). + \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefToP2InMethod.st b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefToP2InMethod.st new file mode 100644 index 0000000..95445bf --- /dev/null +++ b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefToP2InMethod.st @@ -0,0 +1,14 @@ +tests +testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefToP2InMethod + + "method1 is called by method 2,itself called by testMethod1" + "P1 : Class1 >> method1 + P2 : Class2 >> method2, the reference to Class1 is made in method2 + P3 : Class3 >> testMethod2, the reference to Class2 is made in testMethod2" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefIn','Method') asClass >> ('method1SecondLevelSendersOutsideTestOutsideWithRefToP2In','Method') asSymbol). + self assert: testsFound size equals: 1. + self assert: (testsFound includes: (('SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefIn','Method') asClass >> ('testMethod2SecondLevelSenderOutsideTestOutsideWithRefToP2In','Method') asSymbol) asRingDefinition ). + \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1.class/properties.json index 6df9d0d..c121676 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1.class/properties.json +++ b/SmartTestDataOutsideP1.package/SmTClassP1.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "EleonoreWALD 5/11/2018 13:40", "super" : "Object", - "category" : "SmartTestDataOutsideP1", + "category" : "SmartTestDataOutsideP1-WithoutRef", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRef.class/README.md b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRef.class/README.md deleted file mode 100644 index 75ee3b4..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRef.class/README.md +++ /dev/null @@ -1,8 +0,0 @@ -Data for SmartTest tests on the DefaultClassPackage filter. - -Methods of this class have long name in order to be unique and explicit. -Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. - -In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). - -This class is not referenced anywhere (we used concatenation to be sure). diff --git a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRef.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRef.class/properties.json deleted file mode 100644 index 8d8e930..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRef.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/14/2018 15:31", - "super" : "Object", - "category" : "SmartTestDataOutsideP1", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTClassP1FirstLevelSendersOutsideWithRef", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class/instance/method1FirstLevelSendersWithRefInClass.st b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class/instance/method1FirstLevelSendersWithRefInClass.st index 6dcde47..0867a5c 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class/instance/method1FirstLevelSendersWithRefInClass.st +++ b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class/instance/method1FirstLevelSendersWithRefInClass.st @@ -1,5 +1,4 @@ method1 -"method1" method1FirstLevelSendersWithRefInClass "Data for tests: method directly called by a test method not from the same package" diff --git a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class/properties.json index 8df090f..c860ba5 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class/properties.json +++ b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "EleonoreWALD 5/14/2018 15:35", - "super" : "SmTClassP1FirstLevelSendersOutsideWithRef", - "category" : "SmartTestDataOutsideP1", + "super" : "Object", + "category" : "SmartTestDataOutsideP1-FirstLevelWithRef", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class/instance/method1FirstLevelSendersWithRefInMethod.st b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class/instance/method1FirstLevelSendersWithRefInMethod.st index ddefc1a..075633d 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class/instance/method1FirstLevelSendersWithRefInMethod.st +++ b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class/instance/method1FirstLevelSendersWithRefInMethod.st @@ -1,5 +1,4 @@ -testMethod1 -"method1" +method1 method1FirstLevelSendersWithRefInMethod "Data for tests: method directly called by a test method not from the same package" diff --git a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class/properties.json index 5071185..e701892 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class/properties.json +++ b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "EleonoreWALD 5/14/2018 15:35", - "super" : "SmTClassP1FirstLevelSendersOutsideWithRef", - "category" : "SmartTestDataOutsideP1", + "super" : "Object", + "category" : "SmartTestDataOutsideP1-FirstLevelWithRef", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class/instance/method1FirstLevelSendersWithRefInPackage.st b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class/instance/method1FirstLevelSendersWithRefInPackage.st index e23dcf4..50a0e0b 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class/instance/method1FirstLevelSendersWithRefInPackage.st +++ b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class/instance/method1FirstLevelSendersWithRefInPackage.st @@ -1,5 +1,4 @@ -testMethod1 -"method1" +method1 method1FirstLevelSendersWithRefInPackage "Data for tests: method directly called by a test method not from the same package" diff --git a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class/properties.json index f801cd5..6172eb5 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class/properties.json +++ b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "EleonoreWALD 5/14/2018 15:35", - "super" : "SmTClassP1FirstLevelSendersOutsideWithRef", - "category" : "SmartTestDataOutsideP1", + "super" : "Object", + "category" : "SmartTestDataOutsideP1-FirstLevelWithRef", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSenderOutsideWithTestInsideWithRef.class/README.md b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSenderOutsideWithTestInsideWithRef.class/README.md deleted file mode 100644 index cdf67a9..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSenderOutsideWithTestInsideWithRef.class/README.md +++ /dev/null @@ -1,8 +0,0 @@ -Data for SmartTest tests on the DefaultClassPackage filter. - -Methods of this class have long name in order to be unique and explicit. -Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. - -In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). - -In this class, there is the modified method and its second level sender (which contains 'testsmethod2' in it's name). In another package, there is the first level sender of the modified method (which contains 'method2' in it's name). \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSenderOutsideWithTestInsideWithRef.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSenderOutsideWithTestInsideWithRef.class/properties.json deleted file mode 100644 index 536f752..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSenderOutsideWithTestInsideWithRef.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/16/2018 16:17", - "super" : "TestCase", - "category" : "SmartTestDataOutsideP1", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTClassP1SecondLevelSenderOutsideWithTestInsideWithRef", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class/properties.json index a33b3ee..c2368cb 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class/properties.json +++ b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "EleonoreWALD 5/16/2018 16:22", - "super" : "SmTClassP1SecondLevelSendersInsideWithTestOutsideWithRef", - "category" : "SmartTestDataOutsideP1", + "super" : "Object", + "category" : "SmartTestDataOutsideP1-SenderInTestOutWithRef", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class/properties.json index 9cb2be8..2638bb0 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class/properties.json +++ b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "EleonoreWALD 5/16/2018 16:22", - "super" : "SmTClassP1SecondLevelSendersInsideWithTestOutsideWithRef", - "category" : "SmartTestDataOutsideP1", + "super" : "Object", + "category" : "SmartTestDataOutsideP1-SenderInTestOutWithRef", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class/properties.json index 3b562a8..e6932a4 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class/properties.json +++ b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "EleonoreWALD 5/16/2018 16:22", - "super" : "SmTClassP1SecondLevelSendersInsideWithTestOutsideWithRef", - "category" : "SmartTestDataOutsideP1", + "super" : "Object", + "category" : "SmartTestDataOutsideP1-SenderInTestOutWithRef", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideWithTestOutsideWithRef.class/README.md b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideWithTestOutsideWithRef.class/README.md deleted file mode 100644 index 29613e2..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideWithTestOutsideWithRef.class/README.md +++ /dev/null @@ -1,8 +0,0 @@ -Data for SmartTest tests on the DefaultClassPackage filter. - -Methods of this class have long name in order to be unique and explicit. -Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. - -In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). - -In this class, there is the modified method and its first level sender (which contains 'method2' in it's name). In another package, there is the second level sender of the modified method (which contains 'testmethod2' in it's name). diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideWithTestOutsideWithRef.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideWithTestOutsideWithRef.class/properties.json deleted file mode 100644 index f62a4fc..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideWithTestOutsideWithRef.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/16/2018 16:15", - "super" : "Object", - "category" : "SmartTestDataOutsideP1", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTClassP1SecondLevelSendersInsideWithTestOutsideWithRef", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.class/instance/method1SecondLevelSendersOutsideTestInsideWithRefInClass.st b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.class/instance/method1SecondLevelSendersOutsideTestInsideWithRefInClass.st index 1fdaaa5..2c8364e 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.class/instance/method1SecondLevelSendersOutsideTestInsideWithRefInClass.st +++ b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.class/instance/method1SecondLevelSendersOutsideTestInsideWithRefInClass.st @@ -1,4 +1,4 @@ -as yet unclassified +method1 method1SecondLevelSendersOutsideTestInsideWithRefInClass "Data for tests: method directly called by a test method not from the same package" diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.class/properties.json index 0e14b3d..effa0e4 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.class/properties.json +++ b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "EleonoreWALD 5/16/2018 16:22", - "super" : "SmTClassP1SecondLevelSenderOutsideWithTestInsideWithRef", - "category" : "SmartTestDataOutsideP1", + "super" : "Object", + "category" : "SmartTestDataOutsideP1-SenderOutTestInWithRef", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class/instance/method1SecondLevelSendersOutsideTestInsideWithRefInMethod.st b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class/instance/method1SecondLevelSendersOutsideTestInsideWithRefInMethod.st index c199707..c1eedc0 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class/instance/method1SecondLevelSendersOutsideTestInsideWithRefInMethod.st +++ b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class/instance/method1SecondLevelSendersOutsideTestInsideWithRefInMethod.st @@ -1,5 +1,4 @@ -as yet unclassified -"as yet unclassified" +method1 method1SecondLevelSendersOutsideTestInsideWithRefInMethod "Data for tests: method directly called by a test method not from the same package" diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class/properties.json index e4d487f..452c521 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class/properties.json +++ b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "EleonoreWALD 5/16/2018 16:22", - "super" : "SmTClassP1SecondLevelSenderOutsideWithTestInsideWithRef", - "category" : "SmartTestDataOutsideP1", + "super" : "Object", + "category" : "SmartTestDataOutsideP1-SenderOutTestInWithRef", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.class/instance/method1SecondLevelSendersOutsideTestInsideWithRefInPackage.st b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.class/instance/method1SecondLevelSendersOutsideTestInsideWithRefInPackage.st index 7899806..ab2d54a 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.class/instance/method1SecondLevelSendersOutsideTestInsideWithRefInPackage.st +++ b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.class/instance/method1SecondLevelSendersOutsideTestInsideWithRefInPackage.st @@ -1,5 +1,4 @@ -as yet unclassified -"as yet unclassified" +method1 method1SecondLevelSendersOutsideTestInsideWithRefInPackage "Data for tests: method directly called by a test method not from the same package" diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.class/properties.json index 3021b17..3132684 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.class/properties.json +++ b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "EleonoreWALD 5/16/2018 16:22", - "super" : "SmTClassP1SecondLevelSenderOutsideWithTestInsideWithRef", - "category" : "SmartTestDataOutsideP1", + "super" : "Object", + "category" : "SmartTestDataOutsideP1-SenderOutTestInWithRef", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/README.md b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/README.md new file mode 100644 index 0000000..b690942 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/README.md @@ -0,0 +1,11 @@ +Data for SmartTest tests on the filters (defaultClass). + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are controlled and consequently the tests are independent the one from the others. + +In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). + +If the name of the test contains 'method2', the test use the method method2, if the test contains 'method1', the test directly uses the modified method. + +In this class, the first and second level senders are located outside of the package of the modified method and in two different package. +We test two different setup, one in which both method2 and testMethod2 references directly the class of method1, and another in which method2 references the class of method1 and testMethod2 references the class of method2. diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/instance/method1SecondLevelSendersOutsideTestOutsideWithRefToP1InMethod.st b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/instance/method1SecondLevelSendersOutsideTestOutsideWithRefToP1InMethod.st new file mode 100644 index 0000000..7f54873 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/instance/method1SecondLevelSendersOutsideTestOutsideWithRefToP1InMethod.st @@ -0,0 +1,5 @@ +method1 +method1SecondLevelSendersOutsideTestOutsideWithRefToP1InMethod +"Data for tests: method called by a method not from the same package" + +" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/instance/method1SecondLevelSendersOutsideTestOutsideWithRefToP2InMethod.st b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/instance/method1SecondLevelSendersOutsideTestOutsideWithRefToP2InMethod.st new file mode 100644 index 0000000..f0e0460 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/instance/method1SecondLevelSendersOutsideTestOutsideWithRefToP2InMethod.st @@ -0,0 +1,5 @@ +method1 +method1SecondLevelSendersOutsideTestOutsideWithRefToP2InMethod +"Data for tests: method called by a method not from the same package" + +" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/properties.json new file mode 100644 index 0000000..80ac952 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "EleonoreWALD 5/17/2018 10:51", + "super" : "Object", + "category" : "SmartTestDataOutsideP1-SenderOutTestOutWithRef", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.class/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInClass.st b/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInClass.st similarity index 94% rename from SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.class/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInClass.st rename to SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInClass.st index e224a0d..0bcac76 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.class/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInClass.st +++ b/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInClass.st @@ -1,4 +1,4 @@ -as yet unclassified +tests testMethod2SecondLevelSendersOutsideTestInsideWithRefInClass "Data for tests: method directly called by a test method not from the same package" ^('SmTClassP2SecondLevelSendersOutsideTestInsideWithRefIn','Class') asClass new method2SecondLevelSendersOutsideTestInsideWithRefInClass diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInMethod.st b/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInMethod.st similarity index 100% rename from SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInMethod.st rename to SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInMethod.st diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.class/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInPackage.st b/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInPackage.st similarity index 100% rename from SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.class/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInPackage.st rename to SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInPackage.st diff --git a/SmartTestDataOutsideP1.package/SmTClassTestP1.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassTestP1.class/properties.json index f3fdeb0..3876ada 100644 --- a/SmartTestDataOutsideP1.package/SmTClassTestP1.class/properties.json +++ b/SmartTestDataOutsideP1.package/SmTClassTestP1.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "EleonoreWALD 5/11/2018 11:54", "super" : "TestCase", - "category" : "SmartTestDataOutsideP1", + "category" : "SmartTestDataOutsideP1-Tests", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTestDataOutsideP1.package/SmTP1Inheritance.class/README.md b/SmartTestDataOutsideP1.package/SmTP1Inheritance.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTestDataOutsideP1.package/SmTP1Inheritance.class/instance/method1Inheritance.st b/SmartTestDataOutsideP1.package/SmTP1Inheritance.class/instance/method1Inheritance.st new file mode 100644 index 0000000..45390f1 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTP1Inheritance.class/instance/method1Inheritance.st @@ -0,0 +1,3 @@ +method1 +method1Inheritance +"The behaviour of this method is irrelevant." \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTP1Inheritance.class/properties.json b/SmartTestDataOutsideP1.package/SmTP1Inheritance.class/properties.json new file mode 100644 index 0000000..dd16184 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTP1Inheritance.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "Object", + "category" : "SmartTestDataOutsideP1-Inheritance", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTP1Inheritance", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass1Test.class/README.md b/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass1Test.class/README.md new file mode 100644 index 0000000..c67e3af --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass1Test.class/README.md @@ -0,0 +1,6 @@ +Data for SmartTest tests on the filters (default, defaultClass, restricted package). + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +We will use this that to assert that SmartTest behaves correctly when dealing with inherited methods. \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass1Test.class/properties.json b/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass1Test.class/properties.json new file mode 100644 index 0000000..3967c82 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass1Test.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "EleonoreWALD 5/17/2018 11:19", + "super" : "SmTP1InheritanceTest", + "category" : "SmartTestDataOutsideP1-Tests", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTP1InheritanceSubClass1Test", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass2Test.class/README.md b/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass2Test.class/README.md new file mode 100644 index 0000000..89acbb1 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass2Test.class/README.md @@ -0,0 +1,3 @@ +method1Inheritance +"The behaviour of this method is irrelevant" +1. \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass2Test.class/properties.json b/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass2Test.class/properties.json new file mode 100644 index 0000000..59fc0e2 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass2Test.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "EleonoreWALD 5/17/2018 11:51", + "super" : "SmTP1InheritanceTest", + "category" : "SmartTestDataOutsideP1-Tests", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTP1InheritanceSubClass2Test", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTP1InheritanceTest.class/README.md b/SmartTestDataOutsideP1.package/SmTP1InheritanceTest.class/README.md new file mode 100644 index 0000000..c67e3af --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTP1InheritanceTest.class/README.md @@ -0,0 +1,6 @@ +Data for SmartTest tests on the filters (default, defaultClass, restricted package). + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +We will use this that to assert that SmartTest behaves correctly when dealing with inherited methods. \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTP1InheritanceTest.class/instance/setup.st b/SmartTestDataOutsideP1.package/SmTP1InheritanceTest.class/instance/setup.st new file mode 100644 index 0000000..db9214f --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTP1InheritanceTest.class/instance/setup.st @@ -0,0 +1,2 @@ +as yet unclassified +setup \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTP1InheritanceTest.class/instance/testMethod1Inheritance.st b/SmartTestDataOutsideP1.package/SmTP1InheritanceTest.class/instance/testMethod1Inheritance.st new file mode 100644 index 0000000..9dca779 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTP1InheritanceTest.class/instance/testMethod1Inheritance.st @@ -0,0 +1,4 @@ +tests +testMethod1Inheritance + + ('SmTP1', 'Inheritance') asClass new method1Inheritance. \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTP1InheritanceTest.class/properties.json b/SmartTestDataOutsideP1.package/SmTP1InheritanceTest.class/properties.json new file mode 100644 index 0000000..40fbb28 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTP1InheritanceTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "EleonoreWALD 5/17/2018 11:14", + "super" : "TestCase", + "category" : "SmartTestDataOutsideP1-Tests", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTP1InheritanceTest", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/monticello.meta/categories.st b/SmartTestDataOutsideP1.package/monticello.meta/categories.st index 070fb76..d7be80b 100644 --- a/SmartTestDataOutsideP1.package/monticello.meta/categories.st +++ b/SmartTestDataOutsideP1.package/monticello.meta/categories.st @@ -1 +1,8 @@ SystemOrganization addCategory: #SmartTestDataOutsideP1! +SystemOrganization addCategory: #'SmartTestDataOutsideP1-FirstLevelWithRef'! +SystemOrganization addCategory: #'SmartTestDataOutsideP1-Inheritance'! +SystemOrganization addCategory: #'SmartTestDataOutsideP1-SenderInTestOutWithRef'! +SystemOrganization addCategory: #'SmartTestDataOutsideP1-SenderOutTestInWithRef'! +SystemOrganization addCategory: #'SmartTestDataOutsideP1-SenderOutTestOutWithRef'! +SystemOrganization addCategory: #'SmartTestDataOutsideP1-Tests'! +SystemOrganization addCategory: #'SmartTestDataOutsideP1-WithoutRef'! diff --git a/SmartTestDataOutsideP2.package/SmTClassP2.class/properties.json b/SmartTestDataOutsideP2.package/SmTClassP2.class/properties.json index 1095c2d..124ad3c 100644 --- a/SmartTestDataOutsideP2.package/SmTClassP2.class/properties.json +++ b/SmartTestDataOutsideP2.package/SmTClassP2.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "EleonoreWALD 5/11/2018 13:40", "super" : "Object", - "category" : "SmartTestDataOutsideP2", + "category" : "SmartTestDataOutsideP2-WithoutRef", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/properties.json b/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/properties.json index 903c540..80306a7 100644 --- a/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/properties.json +++ b/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "EleonoreWALD 5/17/2018 08:45", "super" : "Object", - "category" : "SmartTestDataOutsideP2", + "category" : "SmartTestDataOutsideP2-References", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRef.class/README.md b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRef.class/README.md deleted file mode 100644 index 502b1d1..0000000 --- a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRef.class/README.md +++ /dev/null @@ -1,8 +0,0 @@ -Data for SmartTest tests on the DefaultClassPackage filter. - -Methods of this class have long name in order to be unique and explicit. -Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. - -In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). - -In this class, there the first level sender of the modified method (which contains 'method2' in it's name). In another package, there is the modified method and its second level sender (the test itself,which contains 'testmethod2' in it's name). \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRef.class/properties.json b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRef.class/properties.json deleted file mode 100644 index 79091eb..0000000 --- a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRef.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/17/2018 08:53", - "super" : "Object", - "category" : "SmartTestDataOutsideP2", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTClassP2SecondLevelSendersOutsideTestInsideWithRef", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/instance/method2SecondLevelSendersOutsideTestInsideWithRefInClass.st b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/instance/method2SecondLevelSendersOutsideTestInsideWithRefInClass.st index 98e3eb4..40bc55b 100644 --- a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/instance/method2SecondLevelSendersOutsideTestInsideWithRefInClass.st +++ b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/instance/method2SecondLevelSendersOutsideTestInsideWithRefInClass.st @@ -1,3 +1,3 @@ -as yet unclassified +method2 method2SecondLevelSendersOutsideTestInsideWithRefInClass ^('SmTClassP1SecondLevelSendersOutsideTestInsideWithRefIn','Class') asClass new method1SecondLevelSendersOutsideTestInsideWithRefInClass. diff --git a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/instance/refToSmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.st b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/instance/refToSmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.st index e938921..c4a465b 100644 --- a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/instance/refToSmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.st +++ b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/instance/refToSmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.st @@ -1,3 +1,3 @@ -as yet unclassified +references refToSmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass ^ SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass new. diff --git a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/properties.json b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/properties.json index 4232771..53008eb 100644 --- a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/properties.json +++ b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "EleonoreWALD 5/17/2018 08:53", - "super" : "SmTClassP2SecondLevelSendersOutsideTestInsideWithRef", - "category" : "SmartTestDataOutsideP2", + "super" : "Object", + "category" : "SmartTestDataOutsideP2-SenderOutTestInWithRef", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInMethod.class/instance/method2SecondLevelSendersOutsideTestInsideWithRefInMethod.st b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInMethod.class/instance/method2SecondLevelSendersOutsideTestInsideWithRefInMethod.st index 4d5b1e5..78856e9 100644 --- a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInMethod.class/instance/method2SecondLevelSendersOutsideTestInsideWithRefInMethod.st +++ b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInMethod.class/instance/method2SecondLevelSendersOutsideTestInsideWithRefInMethod.st @@ -1,3 +1,3 @@ -as yet unclassified +method2 method2SecondLevelSendersOutsideTestInsideWithRefInMethod ^SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod new method1SecondLevelSendersOutsideTestInsideWithRefInMethod. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInMethod.class/properties.json b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInMethod.class/properties.json index b6add46..367ee39 100644 --- a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInMethod.class/properties.json +++ b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInMethod.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "EleonoreWALD 5/17/2018 09:00", - "super" : "SmTClassP2SecondLevelSendersOutsideTestInsideWithRef", - "category" : "SmartTestDataOutsideP2", + "super" : "Object", + "category" : "SmartTestDataOutsideP2-SenderOutTestInWithRef", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage.class/instance/method2SecondLevelSendersOutsideTestInsideWithRefInPackage.st b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage.class/instance/method2SecondLevelSendersOutsideTestInsideWithRefInPackage.st index 025d6da..538a95f 100644 --- a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage.class/instance/method2SecondLevelSendersOutsideTestInsideWithRefInPackage.st +++ b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage.class/instance/method2SecondLevelSendersOutsideTestInsideWithRefInPackage.st @@ -1,3 +1,3 @@ -as yet unclassified +method2 method2SecondLevelSendersOutsideTestInsideWithRefInPackage ^('SmTClassP1SecondLevelSendersOutsideTestInsideWithRefIn','Package') asClass new method1SecondLevelSendersOutsideTestInsideWithRefInPackage. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage.class/properties.json b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage.class/properties.json index 7b0c103..835cbc2 100644 --- a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage.class/properties.json +++ b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "EleonoreWALD 5/17/2018 08:53", - "super" : "SmTClassP2SecondLevelSendersOutsideTestInsideWithRef", - "category" : "SmartTestDataOutsideP2", + "super" : "Object", + "category" : "SmartTestDataOutsideP2-SenderOutTestInWithRef", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/README.md b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/README.md new file mode 100644 index 0000000..153b40d --- /dev/null +++ b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/README.md @@ -0,0 +1,11 @@ +Data for SmartTest tests on the filters (defaultClass). + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are controlled and consequently the tests are independent the one from the others. + +In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). + +If the name of the test contains 'method2', the test use the method method2, if the test contains 'method1', the test directly uses the modified method. + +In this class, the first and second level senders are located outside of the package of the modified method and in two different package. +We test two different setup, one in which both method2 and testMethod2 references directly the class of method1, and another in which method2 references the class of method1 and testMethod2 references the class of method2. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/instance/method2SecondLevelSendersOutsideTestOutsideWithRefToP1InMethod.st b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/instance/method2SecondLevelSendersOutsideTestOutsideWithRefToP1InMethod.st new file mode 100644 index 0000000..685749e --- /dev/null +++ b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/instance/method2SecondLevelSendersOutsideTestOutsideWithRefToP1InMethod.st @@ -0,0 +1,3 @@ +method2 +method2SecondLevelSendersOutsideTestOutsideWithRefToP1InMethod +SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod >> #method1SecondLevelSendersOutsideTestOutsideWithRefToP1InMethod. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/instance/method2SecondLevelSendersOutsideTestOutsideWithRefToP2InMethod.st b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/instance/method2SecondLevelSendersOutsideTestOutsideWithRefToP2InMethod.st new file mode 100644 index 0000000..e6bab7e --- /dev/null +++ b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/instance/method2SecondLevelSendersOutsideTestOutsideWithRefToP2InMethod.st @@ -0,0 +1,3 @@ +method2 +method2SecondLevelSendersOutsideTestOutsideWithRefToP2InMethod +SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod >> #method1SecondLevelSendersOutsideTestOutsideWithRefToP2InMethod. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/properties.json b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/properties.json new file mode 100644 index 0000000..df5f918 --- /dev/null +++ b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "EleonoreWALD 5/17/2018 10:51", + "super" : "Object", + "category" : "SmartTestDataOutsideP2-SenderOutTestOutWithRef", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefInMethod", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/referenceToSmTClassP1FirstLevelSendersOutsideWithRefInClass.st b/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/referenceToSmTClassP1FirstLevelSendersOutsideWithRefInClass.st new file mode 100644 index 0000000..e65c713 --- /dev/null +++ b/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/referenceToSmTClassP1FirstLevelSendersOutsideWithRefInClass.st @@ -0,0 +1,3 @@ +tests +referenceToSmTClassP1FirstLevelSendersOutsideWithRefInClass +^ SmTClassP1FirstLevelSendersOutsideWithRefInClass. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInClass.class/instance/referenceToSmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.st b/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/referenceToSmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.st similarity index 100% rename from SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInClass.class/instance/referenceToSmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.st rename to SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/referenceToSmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.st diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInClass.class/instance/testMethod1FirstLevelSendersOutsideWithRefInClass.st b/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testMethod1FirstLevelSendersOutsideWithRefInClass.st similarity index 100% rename from SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInClass.class/instance/testMethod1FirstLevelSendersOutsideWithRefInClass.st rename to SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testMethod1FirstLevelSendersOutsideWithRefInClass.st diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInMethod.class/instance/testMethod1FirstLevelSendersOutsideWithRefInMethod.st b/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testMethod1FirstLevelSendersOutsideWithRefInMethod.st similarity index 100% rename from SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInMethod.class/instance/testMethod1FirstLevelSendersOutsideWithRefInMethod.st rename to SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testMethod1FirstLevelSendersOutsideWithRefInMethod.st diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInPackage.class/instance/testMethod1FirstLevelSendersOutsideWithRefInPackage.st b/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testMethod1FirstLevelSendersOutsideWithRefInPackage.st similarity index 100% rename from SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInPackage.class/instance/testMethod1FirstLevelSendersOutsideWithRefInPackage.st rename to SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testMethod1FirstLevelSendersOutsideWithRefInPackage.st diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInClass.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInClass.st b/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInClass.st similarity index 100% rename from SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInClass.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInClass.st rename to SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInClass.st diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInMethod.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInMethod.st b/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInMethod.st similarity index 100% rename from SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInMethod.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInMethod.st rename to SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInMethod.st diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInPackage.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInPackage.st b/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInPackage.st similarity index 100% rename from SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInPackage.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInPackage.st rename to SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInPackage.st diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2.class/properties.json b/SmartTestDataOutsideP2.package/SmTClassTestP2.class/properties.json index 6af315c..1d1568e 100644 --- a/SmartTestDataOutsideP2.package/SmTClassTestP2.class/properties.json +++ b/SmartTestDataOutsideP2.package/SmTClassTestP2.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "EleonoreWALD 5/11/2018 11:55", "super" : "TestCase", - "category" : "SmartTestDataOutsideP2", + "category" : "SmartTestDataOutsideP2-Tests", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRef.class/README.md b/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRef.class/README.md deleted file mode 100644 index 383ddeb..0000000 --- a/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRef.class/README.md +++ /dev/null @@ -1,8 +0,0 @@ -Data for SmartTest tests on the DefaultClassPackage filter. - -Methods of this class have long name in order to be unique and explicit. -Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. - -In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). - -In this class, there the first level sender of the modified method (which contains 'method2' in it's name). In another package, there is the modified method. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRef.class/properties.json b/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRef.class/properties.json deleted file mode 100644 index 7f0a593..0000000 --- a/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRef.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/17/2018 08:54", - "super" : "TestCase", - "category" : "SmartTestDataOutsideP2", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTClassTestP2FirstLevelSendersOutsideWithRef", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInClass.class/README.md b/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInClass.class/README.md deleted file mode 100644 index 58d3d17..0000000 --- a/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInClass.class/README.md +++ /dev/null @@ -1,10 +0,0 @@ -Data for SmartTest tests on the DefaultClassPackage filter. - -Methods of this class have long name in order to be unique and explicit. -Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. - -In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). - -In this class, there the first level sender of the modified method (which contains 'method2' in it's name). In another package, there is the modified method. - -In this class there is a method in SmTClassP2ReferencesInPackage that references the class SmTClassP1FirstLevelSendersOutsideWithRefInClass located in the package SmTDataOutsideP1. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInClass.class/instance/refInClass.st b/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInClass.class/instance/refInClass.st deleted file mode 100644 index e4aac06..0000000 --- a/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInClass.class/instance/refInClass.st +++ /dev/null @@ -1,3 +0,0 @@ -tests -refInClass -^ SmTClassP1FirstLevelSendersOutsideWithRefInClass. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInClass.class/properties.json b/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInClass.class/properties.json deleted file mode 100644 index 6b27f91..0000000 --- a/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInClass.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/17/2018 08:55", - "super" : "SmTClassTestP2FirstLevelSendersOutsideWithRef", - "category" : "SmartTestDataOutsideP2", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTClassTestP2FirstLevelSendersOutsideWithRefInClass", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInMethod.class/README.md b/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInMethod.class/README.md deleted file mode 100644 index cc4b4cb..0000000 --- a/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInMethod.class/README.md +++ /dev/null @@ -1,10 +0,0 @@ -Data for SmartTest tests on the DefaultClassPackage filter. - -Methods of this class have long name in order to be unique and explicit. -Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. - -In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). - -In this class, there the first level sender of the modified method (which contains 'method2' in it's name). In another package, there is the modified method. - -In this class the test references directly the class of the modified method, SmTClassP1FirstLevelSendersOutsideWithRefInMethod, located in the package SmTDataOutsideP1. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInMethod.class/properties.json b/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInMethod.class/properties.json deleted file mode 100644 index d6190c4..0000000 --- a/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInMethod.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/17/2018 08:57", - "super" : "SmTClassTestP2FirstLevelSendersOutsideWithRef", - "category" : "SmartTestDataOutsideP2", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTClassTestP2FirstLevelSendersOutsideWithRefInMethod", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInPackage.class/README.md b/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInPackage.class/README.md deleted file mode 100644 index 75615f5..0000000 --- a/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInPackage.class/README.md +++ /dev/null @@ -1,11 +0,0 @@ -Data for SmartTest tests on the DefaultClassPackage filter. - -Methods of this class have long name in order to be unique and explicit. -Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. - -In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). - -In this class, there the first level sender of the modified method (which contains 'method2' in it's name). In another package, there is the modified method. - -In this class there no method that references the class SmTClassP1FirstLevelSendersOutsideWithRefInPackage located in the package SmTDataOutsideP1. -There is a method in SmTClassP2ReferencesInPackage that references the class SmTClassP1FirstevelSendersOutsideWithRefInPackage. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInPackage.class/properties.json b/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInPackage.class/properties.json deleted file mode 100644 index 87c92dd..0000000 --- a/SmartTestDataOutsideP2.package/SmTClassTestP2FirstLevelSendersOutsideWithRefInPackage.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/17/2018 08:55", - "super" : "SmTClassTestP2FirstLevelSendersOutsideWithRef", - "category" : "SmartTestDataOutsideP2", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTClassTestP2FirstLevelSendersOutsideWithRefInPackage", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRef.class/README.md b/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRef.class/README.md deleted file mode 100644 index f813bd5..0000000 --- a/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRef.class/README.md +++ /dev/null @@ -1,8 +0,0 @@ -Data for SmartTest tests on the DefaultClassPackage filter. - -Methods of this class have long name in order to be unique and explicit. -Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. - -In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). - -In this class, there the second level sender(the test) of the modified method (which contains 'testMethod2' in it's name). In another package, there is the modified method and its first level sender (the test itself,which contains 'method2' in it's name). \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRef.class/properties.json b/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRef.class/properties.json deleted file mode 100644 index d8547e8..0000000 --- a/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRef.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/17/2018 08:58", - "super" : "TestCase", - "category" : "SmartTestDataOutsideP2", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRef", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInClass.class/README.md b/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInClass.class/README.md deleted file mode 100644 index 7f3c574..0000000 --- a/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInClass.class/README.md +++ /dev/null @@ -1,10 +0,0 @@ -Data for SmartTest tests on the DefaultClassPackage filter. - -Methods of this class have long name in order to be unique and explicit. -Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. - -In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). - -In this class, there the second level sender(the test) of the modified method (which contains 'testMethod2' in it's name). In another package, there is the modified method and its first level sender (the test itself,which contains 'method2' in it's name). - -In this class there is a method that references the class SmTClassP1SecondLevelSendersInsideTestOutsidesideWithRefInClass located in the package SmTDataOutsideP1. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInClass.class/properties.json b/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInClass.class/properties.json deleted file mode 100644 index e13297b..0000000 --- a/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInClass.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/17/2018 09:01", - "super" : "SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRef", - "category" : "SmartTestDataOutsideP2", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInClass", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInMethod.class/README.md b/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInMethod.class/README.md deleted file mode 100644 index 3d112bb..0000000 --- a/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInMethod.class/README.md +++ /dev/null @@ -1,10 +0,0 @@ -Data for SmartTest tests on the DefaultClassPackage filter. - -Methods of this class have long name in order to be unique and explicit. -Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. - -In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). - -In this class, there the second level sender(the test) of the modified method (which contains 'testMethod2' in it's name). In another package, there is the modified method and its first level sender (the test itself,which contains 'method2' in it's name). - -In this class the second level sender references directly the class of the modified method, SmTClassP1SecondLevelSenderInsideTestOutsideWithRefInMethod, located in the package SmTDataOutsideP1. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInMethod.class/properties.json b/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInMethod.class/properties.json deleted file mode 100644 index 2420b2f..0000000 --- a/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInMethod.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/17/2018 09:00", - "super" : "SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRef", - "category" : "SmartTestDataOutsideP2", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInMethod", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInPackage.class/README.md b/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInPackage.class/README.md deleted file mode 100644 index dbe3748..0000000 --- a/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInPackage.class/README.md +++ /dev/null @@ -1,11 +0,0 @@ -Data for SmartTest tests on the DefaultClassPackage filter. - -Methods of this class have long name in order to be unique and explicit. -Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. - -In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). - -In this class, there the second level sender(the test) of the modified method (which contains 'testMethod2' in it's name). In another package, there is the modified method and its first level sender (the test itself,which contains 'method2' in it's name). - -In this class there no method that references the class SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod located in the package SmTDataOutsideP1. -There is a method in SmTClassP2ReferencesInPackage that references the class SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInPackage.class/properties.json b/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInPackage.class/properties.json deleted file mode 100644 index 71245cc..0000000 --- a/SmartTestDataOutsideP2.package/SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInPackage.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/17/2018 09:01", - "super" : "SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRef", - "category" : "SmartTestDataOutsideP2", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTClassTestP2SecondLevelSenderInsideTestOutsideWithRefInPackage", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/monticello.meta/categories.st b/SmartTestDataOutsideP2.package/monticello.meta/categories.st index d4ba4a3..55b3342 100644 --- a/SmartTestDataOutsideP2.package/monticello.meta/categories.st +++ b/SmartTestDataOutsideP2.package/monticello.meta/categories.st @@ -1 +1,6 @@ SystemOrganization addCategory: #SmartTestDataOutsideP2! +SystemOrganization addCategory: #'SmartTestDataOutsideP2-References'! +SystemOrganization addCategory: #'SmartTestDataOutsideP2-SenderOutTestInWithRef'! +SystemOrganization addCategory: #'SmartTestDataOutsideP2-SenderOutTestOutWithRef'! +SystemOrganization addCategory: #'SmartTestDataOutsideP2-Tests'! +SystemOrganization addCategory: #'SmartTestDataOutsideP2-WithoutRef'! diff --git a/SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRef.class/README.md b/SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRef.class/README.md new file mode 100644 index 0000000..a11920a --- /dev/null +++ b/SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRef.class/README.md @@ -0,0 +1,10 @@ +Data for SmartTest tests on the filters (defaultClass). + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are controlled and consequently the tests are independent the one from the others. + +In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). + +If the name of the test contains 'method2', the test use the method method2, if the test contains 'method1', the test directly uses the modified method. + +In this class, the first and second level senders are located outside of the package of the modified method and in two different package. \ No newline at end of file diff --git a/SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRef.class/properties.json b/SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRef.class/properties.json new file mode 100644 index 0000000..8e21d59 --- /dev/null +++ b/SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRef.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "EleonoreWALD 5/17/2018 10:50", + "super" : "TestCase", + "category" : "SmartTestDataOutsideP3", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRef", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefInMethod.class/README.md b/SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefInMethod.class/README.md new file mode 100644 index 0000000..b690942 --- /dev/null +++ b/SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefInMethod.class/README.md @@ -0,0 +1,11 @@ +Data for SmartTest tests on the filters (defaultClass). + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are controlled and consequently the tests are independent the one from the others. + +In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). + +If the name of the test contains 'method2', the test use the method method2, if the test contains 'method1', the test directly uses the modified method. + +In this class, the first and second level senders are located outside of the package of the modified method and in two different package. +We test two different setup, one in which both method2 and testMethod2 references directly the class of method1, and another in which method2 references the class of method1 and testMethod2 references the class of method2. diff --git a/SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefInMethod.class/instance/testMethod2SecondLevelSenderOutsideTestOutsideWithRefToP1InMethod.st b/SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefInMethod.class/instance/testMethod2SecondLevelSenderOutsideTestOutsideWithRefToP1InMethod.st new file mode 100644 index 0000000..d9e2f07 --- /dev/null +++ b/SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefInMethod.class/instance/testMethod2SecondLevelSenderOutsideTestOutsideWithRefToP1InMethod.st @@ -0,0 +1,4 @@ +testMethod2 +testMethod2SecondLevelSenderOutsideTestOutsideWithRefToP1InMethod +('SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefIn','Method') asClass >> #method2SecondLevelSendersOutsideTestOutsideWithRefToP1InMethod. +SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod new. \ No newline at end of file diff --git a/SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefInMethod.class/instance/testMethod2SecondLevelSenderOutsideTestOutsideWithRefToP2InMethod.st b/SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefInMethod.class/instance/testMethod2SecondLevelSenderOutsideTestOutsideWithRefToP2InMethod.st new file mode 100644 index 0000000..045c72e --- /dev/null +++ b/SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefInMethod.class/instance/testMethod2SecondLevelSenderOutsideTestOutsideWithRefToP2InMethod.st @@ -0,0 +1,3 @@ +testMethod2 +testMethod2SecondLevelSenderOutsideTestOutsideWithRefToP2InMethod +SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefInMethod >> #method2SecondLevelSendersOutsideTestOutsideWithRefToP2InMethod. \ No newline at end of file diff --git a/SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefInMethod.class/properties.json b/SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefInMethod.class/properties.json new file mode 100644 index 0000000..4d70f13 --- /dev/null +++ b/SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefInMethod.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "EleonoreWALD 5/17/2018 10:46", + "super" : "SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRef", + "category" : "SmartTestDataOutsideP3", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefInMethod", + "type" : "normal" +} \ No newline at end of file From be6377e2e02d18efdf0af897352fe97df9b6d060 Mon Sep 17 00:00:00 2001 From: eleonoreW Date: Fri, 18 May 2018 12:00:38 +0200 Subject: [PATCH 056/150] Explanation of the tests on the filters --- .../SmTFilterAbstractTest.class/README.md | 45 ++++++++++++++++++- .../properties.json | 2 +- 2 files changed, 45 insertions(+), 2 deletions(-) diff --git a/SmartTest.package/SmTFilterAbstractTest.class/README.md b/SmartTest.package/SmTFilterAbstractTest.class/README.md index b4ea163..4e51ca3 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/README.md +++ b/SmartTest.package/SmTFilterAbstractTest.class/README.md @@ -1,2 +1,45 @@ I test the strategy SendersFinder with different filters. -In order to be sure that those test are not considered as callers of the modified method and as references to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method. \ No newline at end of file +In order to be sure that those test are not considered as callers of the modified method and as references to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method. + + +The tests are described below: +The modified method’s name always contains « method1 » and will be refered to as method1. +The modified method can be used directly by a test, in this case the test’s name contains « testMethod1 » +The modified method can be used by a method (and then a test), then the method’s name contains « method2 » +Method 2 will then be called by a test (the second level sender of method1) and this test's name contains « testMethod2 » +The names of the methods and tests will be followed by a identificator. This will result in very long names but it is necessary in order to be unique and explicit. +Being unique, the senders of each method are controlled and consequently the tests are independent the one from the others. + +If the name of a test contains « FirstLevelSender » then the corresponding method2 and testMethod2 do not exist. +If the name of a test contains « SecondLevelSender » then the corresponding testMethod1 does not exist. + + + + +Simple tests (no references): +TestMethod1 Method2 TestMethod2 Test Identificator +P1 P2 P1 P2 P1 P2 +• | | | | | FirstLevelSendersInside +| • | | | | FirstLevelSendersInside +| | • | • | SecondLevelSendersInsideTestInside +| | • | | • SecondLevelSendersInsideTestOutside +| | | • • | SecondLevelSendersOutsideTestInside +| | | • | • SecondLevelSendersOutsideTestOutside + + +Simple tests (no references): +Method: TestMethod1 Method2 TestMethod2 Test Identificator +Package: P2 P1 P2 P3 P1 P2 +Reference: Class Method Package | Class Method Package Class Method Package | NoRef Class Method Package + • | | | | | | | | | | | | | | FirstLevelSendersInsideWithRefInClass + | • | | | | | | | | | | | | | FirstLevelSendersInsideWithRefInMethod + | | • • | | | | | | | | • | | SecondLevelSendersInsideTestOutsideWithRefInClass + | | | • | | | | | | | | | • | SecondLevelSendersInsideTestOutsideWithRefInMethod + | | | • | | | | | | | | | | • SecondLevelSendersInsideTestOutsideWithRefInPackage + | | | | • | | | | | • | | | | SecondLevelSendersOutsidesideTestInsideWithRefInClass + | | | | | • | | | | • | | | | SecondLevelSendersOutsidesideTestInsideWithRefInMethod + | | | | | | • | | | • | | | | SecondLevelSendersOutsidesideTestInsideWithRefInPackage + | | | | | | | | • | | | | • | SecondLevelSendersOutsidesideTestOutsideWithRefInMethod + + + diff --git a/SmartTest.package/SmTFilterAbstractTest.class/properties.json b/SmartTest.package/SmTFilterAbstractTest.class/properties.json index 497c6c9..7f20c0c 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/properties.json +++ b/SmartTest.package/SmTFilterAbstractTest.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "EleonoreWALD 5/14/2018 14:06", + "commentStamp" : "EleonoreWald 5/18/2018 11:59", "super" : "TestCase", "category" : "SmartTest-Tests", "classinstvars" : [ ], From f01a886aa46c590139d2afa7e5d8835ee82207ee Mon Sep 17 00:00:00 2001 From: eleonoreW Date: Fri, 18 May 2018 15:04:37 +0200 Subject: [PATCH 057/150] Tests were moved to the SmTFilterAbstractClass --- .../SmTFilterAbstractTest.class/README.md | 23 ++++++++----------- .../instance/setUp.st | 2 +- ...evelSendersOutsidePackageWithRefInClass.st | 4 ++-- ...velSendersOutsidePackageWithRefInMethod.st | 12 ++++++++++ ...elSendersOutsidePackageWithRefInPackage.st | 13 +++++++++++ .../instance/testStandardMethodInheritance.st | 4 ++-- ...lSendersInsideTestOutsideWithRefInClass.st | 13 +++++++++++ ...SendersInsideTestOutsideWithRefInMethod.st | 13 +++++++++++ ...endersInsideTestOutsideWithRefInPackage.st | 13 +++++++++++ ...lSendersOutsideTestInsideWithRefInClass.st | 13 +++++++++++ ...SendersOutsideTestInsideWithRefInMethod.st | 13 +++++++++++ ...endersOutsideTestInsideWithRefInPackage.st | 13 +++++++++++ ...rsOutsideTestOutsideWithRefToP1InMethod.st | 14 +++++++++++ ...rsOutsideTestOutsideWithRefToP2InMethod.st | 14 +++++++++++ .../properties.json | 2 +- .../instance/setUp.st | 2 +- ...velSendersOutsidePackageWithRefInMethod.st | 2 +- ...elSendersOutsidePackageWithRefInPackage.st | 2 +- ...lSendersInsideTestOutsideWithRefInClass.st | 2 +- ...SendersInsideTestOutsideWithRefInMethod.st | 2 +- ...endersInsideTestOutsideWithRefInPackage.st | 2 +- ...lSendersOutsideTestInsideWithRefInClass.st | 2 +- ...SendersOutsideTestInsideWithRefInMethod.st | 2 +- ...endersOutsideTestInsideWithRefInPackage.st | 2 +- ...rsOutsideTestOutsideWithRefToP1InMethod.st | 2 +- ...rsOutsideTestOutsideWithRefToP2InMethod.st | 2 +- ...rsOutsideTestOutsideWithRefToP2InMethod.st | 5 ---- ...lSendersOutsideTestInsideWithRefInClass.st | 2 +- ...SendersOutsideTestInsideWithRefInMethod.st | 2 +- ...endersOutsideTestInsideWithRefInPackage.st | 2 +- ...rsOutsideTestOutsideWithRefToP2InMethod.st | 3 --- 31 files changed, 161 insertions(+), 41 deletions(-) rename SmartTest.package/{SmTSendersFilterTestDefaultClassPackage.class => SmTFilterAbstractTest.class}/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st (77%) create mode 100644 SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st create mode 100644 SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st create mode 100644 SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st create mode 100644 SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st create mode 100644 SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st create mode 100644 SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st create mode 100644 SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st create mode 100644 SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st create mode 100644 SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefToP1InMethod.st create mode 100644 SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefToP2InMethod.st rename SmartTest.package/{SmTSendersFilterTestDefaultPackage.class => SmTSendersFilterTestDefaultClassPackage.class}/instance/setUp.st (68%) delete mode 100644 SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/instance/method1SecondLevelSendersOutsideTestOutsideWithRefToP2InMethod.st delete mode 100644 SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/instance/method2SecondLevelSendersOutsideTestOutsideWithRefToP2InMethod.st diff --git a/SmartTest.package/SmTFilterAbstractTest.class/README.md b/SmartTest.package/SmTFilterAbstractTest.class/README.md index 4e51ca3..5e3fcdc 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/README.md +++ b/SmartTest.package/SmTFilterAbstractTest.class/README.md @@ -13,18 +13,18 @@ Being unique, the senders of each method are controlled and consequently the tes If the name of a test contains « FirstLevelSender » then the corresponding method2 and testMethod2 do not exist. If the name of a test contains « SecondLevelSender » then the corresponding testMethod1 does not exist. - +We use the Classification Tree Method to represent the tests. Simple tests (no references): -TestMethod1 Method2 TestMethod2 Test Identificator -P1 P2 P1 P2 P1 P2 -• | | | | | FirstLevelSendersInside -| • | | | | FirstLevelSendersInside -| | • | • | SecondLevelSendersInsideTestInside -| | • | | • SecondLevelSendersInsideTestOutside -| | | • • | SecondLevelSendersOutsideTestInside -| | | • | • SecondLevelSendersOutsideTestOutside +Method: TestMethod1 Method2 TestMethod2 Test Identificator +Package: P1 P2 P1 P2 P1 P2 + • | | | | | FirstLevelSendersInside + | • | | | | FirstLevelSendersInside + | | • | • | SecondLevelSendersInsideTestInside + | | • | | • SecondLevelSendersInsideTestOutside + | | | • • | SecondLevelSendersOutsideTestInside + | | | • | • SecondLevelSendersOutsideTestOutside Simple tests (no references): @@ -39,7 +39,4 @@ Reference: Class Method Package | Class Method Package Class Method P | | | | • | | | | | • | | | | SecondLevelSendersOutsidesideTestInsideWithRefInClass | | | | | • | | | | • | | | | SecondLevelSendersOutsidesideTestInsideWithRefInMethod | | | | | | • | | | • | | | | SecondLevelSendersOutsidesideTestInsideWithRefInPackage - | | | | | | | | • | | | | • | SecondLevelSendersOutsidesideTestOutsideWithRefInMethod - - - + | | | | | | | | • | | | | • | SecondLevelSendersOutsidesideTestOutsideWithRefInMethod \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/setUp.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/setUp.st index de8ef48..ef02264 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/setUp.st +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/setUp.st @@ -2,7 +2,7 @@ running setUp super setUp. smartFinder := SmartFinder new. - smartFinder filter: SmTDefaultClassPackagesFilter new. + smartFinder filter: SmTDefaultPackagesFilter new. testMethod1FirstLevelSendersInsidePackage := (('SmTClass' , 'TestP1') asClass >> ('test' , 'Method1FirstLevelSendersInsidePackage') asSymbol) asRingDefinition. testMethod1FirstLevelSendersOutsidePackage := (('SmTClass' , 'TestP2') asClass diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st similarity index 77% rename from SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st rename to SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st index ded11ee..899d96c 100644 --- a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st @@ -8,5 +8,5 @@ testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass | testsFound | testsFound := self searchTestMethodsFor: ( ('SmTClassP1FirstLevelSendersOutsideWithRefIn','Class') asClass >> ('method1','FirstLevelSendersWithRefInClass') asSymbol). - self assert: testsFound size equals: 1. - self assert: (testsFound includes: (('SmTClassTest','P2') asClass >> ('testMethod1FirstLevelSendersOutsideWithRefIn','Class') asSymbol) asRingDefinition ). \ No newline at end of file + self assert: testsFound isEmpty. + self deny: (testsFound includes: (('SmTClassTest','P2') asClass >> ('testMethod1FirstLevelSendersOutsideWithRefIn','Class') asSymbol) asRingDefinition ). \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st new file mode 100644 index 0000000..a19b4e8 --- /dev/null +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st @@ -0,0 +1,12 @@ +tests +testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod + + "method1 is called by testMethod1" + "P1 : method1 + P2 : testMethod1, the reference is made in testMethod1" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1FirstLevelSendersOutsideWithRefIn','Method') asClass >> ('method1','FirstLevelSendersWithRefInMethod') asSymbol). + self assert: testsFound isEmpty. + self deny: (testsFound includes: (('SmTClassTest','P2') asClass >> ('testMethod1FirstLevelSendersOutsideWithRefIn','Method') asSymbol) asRingDefinition ). \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st new file mode 100644 index 0000000..d5ae7d1 --- /dev/null +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st @@ -0,0 +1,13 @@ +tests +testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage + + "method1 is called by testMethod1" + "P1 : method1 + P2 : testMethod1, the reference is made in the package of testMethod1" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1FirstLevelSendersOutsideWithRefIn','Package') asClass >> ('method1FirstLevelSendersWithRefIn','Package') asSymbol). + self assert: testsFound isEmpty. + self deny: (testsFound includes: (('SmTClassTest','P2') asClass >> ('testMethod1FirstLevelSendersOutsideWithRefIn','Package') asSymbol) asRingDefinition ). + \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodInheritance.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodInheritance.st index 33636f7..20e686f 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodInheritance.st +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodInheritance.st @@ -2,9 +2,9 @@ tests testStandardMethodInheritance | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmT','P1InheritanceSubClass1') asClass >> ('method1','Inheritance') asSymbol). + testsFound := self searchTestMethodsFor: ( ('SmT','P1Inheritance') asClass >> ('method1','Inheritance') asSymbol). self assert: testsFound size equals: 1. - self deny: (testsFound includes: ('SmT','P1InheritanceSubClass1') asClass >> ('testMethod1','Inheritance') asSymbol). + self deny: (testsFound includes: ('SmT','P1Inheritance') asClass >> ('testMethod1','Inheritance') asSymbol). \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st new file mode 100644 index 0000000..bfeaafe --- /dev/null +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st @@ -0,0 +1,13 @@ +tests +testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass + + "method1 is called by method 2,itself called by testMethod1" + "P1 : method1 and method2 + P2 : testMethod2, the reference is made in the class of testMethod2" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersInsideTestOutsideWithRefIn','Class') asClass >> ('method1SecondLevelSendersInsideTestOutsideWithRefIn','Class') asSymbol). + self assert: testsFound isEmpty. + self deny: (testsFound includes: (('SmTClassTest','P2') asClass >> ('testMethod2SecondLevelSenderInsideTestOutsideWithRefIn','Class') asSymbol) asRingDefinition ). + \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st new file mode 100644 index 0000000..af89175 --- /dev/null +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st @@ -0,0 +1,13 @@ +tests +testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod + + "method1 is called by method 2,itself called by testMethod1" + "P1 : method1 and method2 + P2 : testMethod2, the reference is made in testMethod2" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersInsideTestOutsideWithRefIn','Method') asClass >> ('method1SecondLevelSendersInsideTestOutsideWithRefIn','Method') asSymbol). + self assert: testsFound isEmpty. + self deny: (testsFound includes: (('SmTClassTest','P2') asClass >> ('testMethod2SecondLevelSenderInsideTestOutsideWithRefIn','Method')asSymbol) asRingDefinition ). + \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st new file mode 100644 index 0000000..adeda71 --- /dev/null +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st @@ -0,0 +1,13 @@ +tests +testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage + + "method1 is called by method 2,itself called by testMethod1" + "P1 : method1 and method2 + P2 : testMethod2, the reference is made in the package of testMethod2" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersInsideTestOutsideWithRefIn','Package') asClass >> ('method1SecondLevelSendersInsideTestOutsideWithRefIn','Package') asSymbol). + self assert: testsFound isEmpty. + self deny: (testsFound includes: (('SmTClassTest','P2') asClass >> ('testMethod2SecondLevelSenderInsideTestOutsideWithRefIn','Package') asSymbol) asRingDefinition ). + \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st new file mode 100644 index 0000000..8475688 --- /dev/null +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st @@ -0,0 +1,13 @@ +tests +testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass + + "method1 is called by method 2,itself called by testMethod1" + "P1 : method1 and testMethod2 + P2 : method2, the reference is made in the class of method2" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersOutsideTestInsideWithRefIn','Class') asClass >> ('method1SecondLevelSendersOutsideTestInsideWithRefIn','Class') asSymbol). + self assert: testsFound isEmpty. + self deny: (testsFound includes: (('SmTClassTest','P1') asClass >> ('testMethod2SecondLevelSendersOutsideTestInsideWithRefIn','Class') asSymbol) asRingDefinition ). + \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st new file mode 100644 index 0000000..d9271d8 --- /dev/null +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st @@ -0,0 +1,13 @@ +tests +testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod + + "method1 is called by method 2,itself called by testMethod1" + "P1 : method1 and testMethod2 + P2 : method2, the reference is made in method2" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersOutsideTestInsideWithRefIn','Method') asClass >> ('method1SecondLevelSendersOutsideTestInsideWithRefIn','Method') asSymbol). + self assert: testsFound isEmpty. + self deny: (testsFound includes: (('SmTClassTest','P1') asClass >> ('testMethod2SecondLevelSendersOutsideTestInsideWithRefIn','Method') asSymbol) asRingDefinition ). + \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st new file mode 100644 index 0000000..0896057 --- /dev/null +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st @@ -0,0 +1,13 @@ +tests +testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage + + "method1 is called by method 2,itself called by testMethod1" + "P1 : method1 and testMethod2 + P2 : method2, the reference is made in the package of method2" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersOutsideTestInsideWithRefIn','Package') asClass >> ('method1SecondLevelSendersOutsideTestInsideWithRefIn','Package') asSymbol). + self assert: testsFound isEmpty. + self deny: (testsFound includes: (('SmTClassTest','P1') asClass >> ('testMethod2SecondLevelSendersOutsideTestInsideWithRefIn','Package') asSymbol) asRingDefinition ). + \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefToP1InMethod.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefToP1InMethod.st new file mode 100644 index 0000000..9d081e5 --- /dev/null +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefToP1InMethod.st @@ -0,0 +1,14 @@ +tests +testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefToP1InMethod + + "method1 is called by method 2,itself called by testMethod1" + "P1 : Class1 >> method1 + P2 : Class2 >> method2, the reference to Class1 is made in method2 + P3 : Class3 >> testMethod2, the reference to Class1 is made in testMethod2" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefIn','Method') asClass >> ('method1SecondLevelSendersOutsideTestOutsideWithRefToP1In','Method') asSymbol). + self assert: testsFound isEmpty. + self deny: (testsFound includes: (('SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefIn','Method') asClass >> ('testMethod2SecondLevelSenderOutsideTestOutsideWithRefToP1In','Method') asSymbol) asRingDefinition ). + \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefToP2InMethod.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefToP2InMethod.st new file mode 100644 index 0000000..d29d8f4 --- /dev/null +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefToP2InMethod.st @@ -0,0 +1,14 @@ +tests +testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefToP2InMethod + + "method1 is called by method 2,itself called by testMethod1" + "P1 : Class1 >> method1 + P2 : Class2 >> method2, the reference to Class1 is made in method2 + P3 : Class3 >> testMethod2, the reference to Class2 is made in testMethod2" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefIn','Method') asClass >> ('method1SecondLevelSendersOutsideTestOutsideWithRefToP2In','Method') asSymbol). + self assert: testsFound isEmpty. + self deny: (testsFound includes: (('SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefIn','Method') asClass >> ('testMethod2SecondLevelSenderOutsideTestOutsideWithRefToP2In','Method') asSymbol) asRingDefinition ). + \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/properties.json b/SmartTest.package/SmTFilterAbstractTest.class/properties.json index 7f20c0c..5f99439 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/properties.json +++ b/SmartTest.package/SmTFilterAbstractTest.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "EleonoreWald 5/18/2018 11:59", + "commentStamp" : "EleonoreWald 5/18/2018 13:18", "super" : "TestCase", "category" : "SmartTest-Tests", "classinstvars" : [ ], diff --git a/SmartTest.package/SmTSendersFilterTestDefaultPackage.class/instance/setUp.st b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/setUp.st similarity index 68% rename from SmartTest.package/SmTSendersFilterTestDefaultPackage.class/instance/setUp.st rename to SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/setUp.st index 1c3f389..1f0e8e4 100644 --- a/SmartTest.package/SmTSendersFilterTestDefaultPackage.class/instance/setUp.st +++ b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/setUp.st @@ -2,4 +2,4 @@ running setUp "Here we want to test the SmTDefaultPackagesFilter with the static strategy 'sendersFinder' " super setUp. - smartFinder filter: SmTDefaultPackagesFilter new. \ No newline at end of file + smartFinder filter: SmTDefaultClassPackagesFilter new. \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st index db6f779..7d8b8b5 100644 --- a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st +++ b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st @@ -1,4 +1,4 @@ -tests +as yet unclassified testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod "method1 is called by testMethod1" diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st index ad5ac35..ec0aff7 100644 --- a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st +++ b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st @@ -1,4 +1,4 @@ -tests +as yet unclassified testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage "method1 is called by testMethod1" diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st index 2442242..de47498 100644 --- a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st +++ b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st @@ -1,4 +1,4 @@ -tests +as yet unclassified testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass "method1 is called by method 2,itself called by testMethod1" diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st index 29d83d5..6dbdd89 100644 --- a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st +++ b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st @@ -1,4 +1,4 @@ -tests +as yet unclassified testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod "method1 is called by method 2,itself called by testMethod1" diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st index 1560e8a..f02eb27 100644 --- a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st +++ b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st @@ -1,4 +1,4 @@ -tests +as yet unclassified testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage "method1 is called by method 2,itself called by testMethod1" diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st index 29aceea..c103e72 100644 --- a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st +++ b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st @@ -1,4 +1,4 @@ -tests +as yet unclassified testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass "method1 is called by method 2,itself called by testMethod1" diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st index ffdcb51..f6a4290 100644 --- a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st +++ b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st @@ -1,4 +1,4 @@ -tests +as yet unclassified testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod "method1 is called by method 2,itself called by testMethod1" diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st index 465bb6e..7f70724 100644 --- a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st +++ b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st @@ -1,4 +1,4 @@ -tests +as yet unclassified testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage "method1 is called by method 2,itself called by testMethod1" diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefToP1InMethod.st b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefToP1InMethod.st index 39c236b..d3266ec 100644 --- a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefToP1InMethod.st +++ b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefToP1InMethod.st @@ -1,4 +1,4 @@ -tests +as yet unclassified testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefToP1InMethod "method1 is called by method 2,itself called by testMethod1" diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefToP2InMethod.st b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefToP2InMethod.st index 95445bf..1e0cd8c 100644 --- a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefToP2InMethod.st +++ b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefToP2InMethod.st @@ -1,4 +1,4 @@ -tests +as yet unclassified testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefToP2InMethod "method1 is called by method 2,itself called by testMethod1" diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/instance/method1SecondLevelSendersOutsideTestOutsideWithRefToP2InMethod.st b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/instance/method1SecondLevelSendersOutsideTestOutsideWithRefToP2InMethod.st deleted file mode 100644 index f0e0460..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/instance/method1SecondLevelSendersOutsideTestOutsideWithRefToP2InMethod.st +++ /dev/null @@ -1,5 +0,0 @@ -method1 -method1SecondLevelSendersOutsideTestOutsideWithRefToP2InMethod -"Data for tests: method called by a method not from the same package" - -" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInClass.st b/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInClass.st index 0bcac76..4c219ca 100644 --- a/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInClass.st +++ b/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInClass.st @@ -1,4 +1,4 @@ -tests +testMethod2 testMethod2SecondLevelSendersOutsideTestInsideWithRefInClass "Data for tests: method directly called by a test method not from the same package" ^('SmTClassP2SecondLevelSendersOutsideTestInsideWithRefIn','Class') asClass new method2SecondLevelSendersOutsideTestInsideWithRefInClass diff --git a/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInMethod.st b/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInMethod.st index 25a904b..a18ce1a 100644 --- a/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInMethod.st +++ b/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInMethod.st @@ -1,4 +1,4 @@ -tests +testMethod2 testMethod2SecondLevelSendersOutsideTestInsideWithRefInMethod "Data for tests: method directly called by a test method not from the same package" ^('SmTClassP2SecondLevelSendersOutsideTestInsideWithRefIn','Method') asClass new method2SecondLevelSendersOutsideTestInsideWithRefInMethod diff --git a/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInPackage.st b/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInPackage.st index c5d56f9..4678b11 100644 --- a/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInPackage.st +++ b/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInPackage.st @@ -1,4 +1,4 @@ -tests +testMethod2 testMethod2SecondLevelSendersOutsideTestInsideWithRefInPackage "Data for tests: method directly called by a test method not from the same package" ^('SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage') asClass new method2SecondLevelSendersOutsideTestInsideWithRefInPackage diff --git a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/instance/method2SecondLevelSendersOutsideTestOutsideWithRefToP2InMethod.st b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/instance/method2SecondLevelSendersOutsideTestOutsideWithRefToP2InMethod.st deleted file mode 100644 index e6bab7e..0000000 --- a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/instance/method2SecondLevelSendersOutsideTestOutsideWithRefToP2InMethod.st +++ /dev/null @@ -1,3 +0,0 @@ -method2 -method2SecondLevelSendersOutsideTestOutsideWithRefToP2InMethod -SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod >> #method1SecondLevelSendersOutsideTestOutsideWithRefToP2InMethod. \ No newline at end of file From 0ab0dc1e95d20e54b608b627172fdb1375ee0a30 Mon Sep 17 00:00:00 2001 From: eleonoreW Date: Fri, 18 May 2018 18:02:44 +0200 Subject: [PATCH 058/150] Tests were added to see the behaviour of smartTest when dealing with exension methods. --- .../class/isAbstract.st | 4 ++++ .../instance/testExtensionMethod.st | 8 ++++++++ .../instance/testStandardMethodInheritance.st | 10 ---------- ...velSendersOutsideTestOutsideWithRefInMethod.st} | 6 +++--- ...SendersOutsideTestOutsideWithRefToP2InMethod.st | 14 -------------- ...irstLevelSendersOutsidePackageWithRefInClass.st | 12 ++++++++++++ ...velSendersOutsideTestOutsideWithRefInMethod.st} | 6 +++--- ...SendersOutsideTestOutsideWithRefToP2InMethod.st | 14 -------------- ...irstLevelSendersOutsidePackageWithRefInClass.st | 12 ++++++++++++ ...rstLevelSendersOutsidePackageWithRefInMethod.st | 12 ++++++++++++ ...stLevelSendersOutsidePackageWithRefInPackage.st | 13 +++++++++++++ ...dLevelSendersInsideTestOutsideWithRefInClass.st | 13 +++++++++++++ ...LevelSendersInsideTestOutsideWithRefInMethod.st | 13 +++++++++++++ ...evelSendersInsideTestOutsideWithRefInPackage.st | 13 +++++++++++++ ...dLevelSendersOutsideTestInsideWithRefInClass.st | 13 +++++++++++++ ...LevelSendersOutsideTestInsideWithRefInMethod.st | 13 +++++++++++++ ...evelSendersOutsideTestInsideWithRefInPackage.st | 13 +++++++++++++ .../instance/testExtensionMethod.st | 8 ++++++++ ...velSendersOutsideTestOutsideWithRefInMethod.st} | 2 +- .../instance/testMyExtensionInP1.st | 3 +++ .../SmTExtension.extension/instance/myExtension.st | 3 +++ .../SmTExtension.extension/properties.json | 3 +++ ...evelSendersOutsideTestOutsideWithRefInMethod.st | 3 +++ ...SendersOutsideTestOutsideWithRefToP1InMethod.st | 3 --- ...lassP1FirstLevelSendersOutsideWithRefInClass.st | 2 +- ...ethod1FirstLevelSendersOutsideWithRefInClass.st | 2 +- ...hod1FirstLevelSendersOutsideWithRefInPackage.st | 2 +- ...ndLevelSenderInsideTestOutsideWithRefInClass.st | 2 +- ...dLevelSenderInsideTestOutsideWithRefInMethod.st | 2 +- ...LevelSenderInsideTestOutsideWithRefInPackage.st | 2 +- .../instance/testMyExtensionInP2.st | 3 +++ .../SmTExtension.class/README.md | 0 .../SmTExtension.class/properties.json | 11 +++++++++++ .../monticello.meta/categories.st | 1 + ...evelSenderOutsideTestOutsideWithRefInMethod.st} | 4 ++-- ...lSenderOutsideTestOutsideWithRefToP2InMethod.st | 3 --- 36 files changed, 189 insertions(+), 59 deletions(-) create mode 100644 SmartTest.package/SmTFilterAbstractTest.class/class/isAbstract.st create mode 100644 SmartTest.package/SmTFilterAbstractTest.class/instance/testExtensionMethod.st delete mode 100644 SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodInheritance.st rename SmartTest.package/SmTFilterAbstractTest.class/instance/{testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefToP1InMethod.st => testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefInMethod.st} (77%) delete mode 100644 SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefToP2InMethod.st create mode 100644 SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st rename SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/{testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefToP1InMethod.st => testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefInMethod.st} (77%) delete mode 100644 SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefToP2InMethod.st create mode 100644 SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st create mode 100644 SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st create mode 100644 SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st create mode 100644 SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st create mode 100644 SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st create mode 100644 SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st create mode 100644 SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st create mode 100644 SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st create mode 100644 SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st create mode 100644 SmartTest.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/testExtensionMethod.st rename SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/instance/{method1SecondLevelSendersOutsideTestOutsideWithRefToP1InMethod.st => method1SecondLevelSendersOutsideTestOutsideWithRefInMethod.st} (67%) create mode 100644 SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMyExtensionInP1.st create mode 100644 SmartTestDataOutsideP1.package/SmTExtension.extension/instance/myExtension.st create mode 100644 SmartTestDataOutsideP1.package/SmTExtension.extension/properties.json create mode 100644 SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/instance/method2SecondLevelSendersOutsideTestOutsideWithRefInMethod.st delete mode 100644 SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/instance/method2SecondLevelSendersOutsideTestOutsideWithRefToP1InMethod.st create mode 100644 SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testMyExtensionInP2.st create mode 100644 SmartTestDataOutsideP2.package/SmTExtension.class/README.md create mode 100644 SmartTestDataOutsideP2.package/SmTExtension.class/properties.json rename SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefInMethod.class/instance/{testMethod2SecondLevelSenderOutsideTestOutsideWithRefToP1InMethod.st => testMethod2SecondLevelSenderOutsideTestOutsideWithRefInMethod.st} (71%) delete mode 100644 SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefInMethod.class/instance/testMethod2SecondLevelSenderOutsideTestOutsideWithRefToP2InMethod.st diff --git a/SmartTest.package/SmTFilterAbstractTest.class/class/isAbstract.st b/SmartTest.package/SmTFilterAbstractTest.class/class/isAbstract.st new file mode 100644 index 0000000..9b44e16 --- /dev/null +++ b/SmartTest.package/SmTFilterAbstractTest.class/class/isAbstract.st @@ -0,0 +1,4 @@ +testing +isAbstract + + ^ self == SmTFilterAbstractTest \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testExtensionMethod.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testExtensionMethod.st new file mode 100644 index 0000000..590d9b6 --- /dev/null +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testExtensionMethod.st @@ -0,0 +1,8 @@ +tests +testExtensionMethod + + | testsFound | + testsFound := self searchTestMethodsFor:( ('SmT','Extension') asClass >> ('my','Extension') asSymbol). + self assert: (testsFound includes: ((('SmT','ClassTestP1') asClass >> ('testMyExtension','InP1') asSymbol) asRingDefinition)). + self assert: (testsFound includes: ((('SmT','ClassTestP2') asClass >> ('testMyExtension','InP2') asSymbol) asRingDefinition )). + \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodInheritance.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodInheritance.st deleted file mode 100644 index 20e686f..0000000 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodInheritance.st +++ /dev/null @@ -1,10 +0,0 @@ -tests -testStandardMethodInheritance - - | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmT','P1Inheritance') asClass >> ('method1','Inheritance') asSymbol). - self assert: testsFound size equals: 1. - self deny: (testsFound includes: ('SmT','P1Inheritance') asClass >> ('testMethod1','Inheritance') asSymbol). - - - \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefToP1InMethod.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefInMethod.st similarity index 77% rename from SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefToP1InMethod.st rename to SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefInMethod.st index 9d081e5..6130c7e 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefToP1InMethod.st +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefInMethod.st @@ -1,5 +1,5 @@ tests -testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefToP1InMethod +testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefInMethod "method1 is called by method 2,itself called by testMethod1" "P1 : Class1 >> method1 @@ -8,7 +8,7 @@ testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefToP1InMethod "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefIn','Method') asClass >> ('method1SecondLevelSendersOutsideTestOutsideWithRefToP1In','Method') asSymbol). + testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefIn','Method') asClass >> ('method1SecondLevelSendersOutsideTestOutsideWithRefIn','Method') asSymbol). self assert: testsFound isEmpty. - self deny: (testsFound includes: (('SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefIn','Method') asClass >> ('testMethod2SecondLevelSenderOutsideTestOutsideWithRefToP1In','Method') asSymbol) asRingDefinition ). + self deny: (testsFound includes: (('SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefIn','Method') asClass >> ('testMethod2SecondLevelSenderOutsideTestOutsideWithRefIn','Method') asSymbol) asRingDefinition ). \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefToP2InMethod.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefToP2InMethod.st deleted file mode 100644 index d29d8f4..0000000 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefToP2InMethod.st +++ /dev/null @@ -1,14 +0,0 @@ -tests -testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefToP2InMethod - - "method1 is called by method 2,itself called by testMethod1" - "P1 : Class1 >> method1 - P2 : Class2 >> method2, the reference to Class1 is made in method2 - P3 : Class3 >> testMethod2, the reference to Class2 is made in testMethod2" - "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" - - | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefIn','Method') asClass >> ('method1SecondLevelSendersOutsideTestOutsideWithRefToP2In','Method') asSymbol). - self assert: testsFound isEmpty. - self deny: (testsFound includes: (('SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefIn','Method') asClass >> ('testMethod2SecondLevelSenderOutsideTestOutsideWithRefToP2In','Method') asSymbol) asRingDefinition ). - \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st new file mode 100644 index 0000000..ded11ee --- /dev/null +++ b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st @@ -0,0 +1,12 @@ +tests +testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass + + "method1 is called by testMethod1" + "P1 : method1 + P2 : testMethod1, the reference is made in the class of testMethod1" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1FirstLevelSendersOutsideWithRefIn','Class') asClass >> ('method1','FirstLevelSendersWithRefInClass') asSymbol). + self assert: testsFound size equals: 1. + self assert: (testsFound includes: (('SmTClassTest','P2') asClass >> ('testMethod1FirstLevelSendersOutsideWithRefIn','Class') asSymbol) asRingDefinition ). \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefToP1InMethod.st b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefInMethod.st similarity index 77% rename from SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefToP1InMethod.st rename to SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefInMethod.st index d3266ec..3405a81 100644 --- a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefToP1InMethod.st +++ b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefInMethod.st @@ -1,5 +1,5 @@ as yet unclassified -testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefToP1InMethod +testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefInMethod "method1 is called by method 2,itself called by testMethod1" "P1 : Class1 >> method1 @@ -8,7 +8,7 @@ testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefToP1InMethod "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefIn','Method') asClass >> ('method1SecondLevelSendersOutsideTestOutsideWithRefToP1In','Method') asSymbol). + testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefIn','Method') asClass >> ('method1SecondLevelSendersOutsideTestOutsideWithRefIn','Method') asSymbol). self assert: testsFound size equals: 1. - self assert: (testsFound includes: (('SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefIn','Method') asClass >> ('testMethod2SecondLevelSenderOutsideTestOutsideWithRefToP1In','Method') asSymbol) asRingDefinition ). + self assert: (testsFound includes: (('SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefIn','Method') asClass >> ('testMethod2SecondLevelSenderOutsideTestOutsideWithRefIn','Method') asSymbol) asRingDefinition ). \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefToP2InMethod.st b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefToP2InMethod.st deleted file mode 100644 index 1e0cd8c..0000000 --- a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefToP2InMethod.st +++ /dev/null @@ -1,14 +0,0 @@ -as yet unclassified -testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefToP2InMethod - - "method1 is called by method 2,itself called by testMethod1" - "P1 : Class1 >> method1 - P2 : Class2 >> method2, the reference to Class1 is made in method2 - P3 : Class3 >> testMethod2, the reference to Class2 is made in testMethod2" - "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" - - | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefIn','Method') asClass >> ('method1SecondLevelSendersOutsideTestOutsideWithRefToP2In','Method') asSymbol). - self assert: testsFound size equals: 1. - self assert: (testsFound includes: (('SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefIn','Method') asClass >> ('testMethod2SecondLevelSenderOutsideTestOutsideWithRefToP2In','Method') asSymbol) asRingDefinition ). - \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st b/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st new file mode 100644 index 0000000..ded11ee --- /dev/null +++ b/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st @@ -0,0 +1,12 @@ +tests +testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass + + "method1 is called by testMethod1" + "P1 : method1 + P2 : testMethod1, the reference is made in the class of testMethod1" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1FirstLevelSendersOutsideWithRefIn','Class') asClass >> ('method1','FirstLevelSendersWithRefInClass') asSymbol). + self assert: testsFound size equals: 1. + self assert: (testsFound includes: (('SmTClassTest','P2') asClass >> ('testMethod1FirstLevelSendersOutsideWithRefIn','Class') asSymbol) asRingDefinition ). \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st b/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st new file mode 100644 index 0000000..db6f779 --- /dev/null +++ b/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st @@ -0,0 +1,12 @@ +tests +testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod + + "method1 is called by testMethod1" + "P1 : method1 + P2 : testMethod1, the reference is made in testMethod1" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1FirstLevelSendersOutsideWithRefIn','Method') asClass >> ('method1','FirstLevelSendersWithRefInMethod') asSymbol). + self assert: testsFound size equals: 1. + self assert: (testsFound includes: (('SmTClassTest','P2') asClass >> ('testMethod1FirstLevelSendersOutsideWithRefIn','Method') asSymbol) asRingDefinition ). \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st b/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st new file mode 100644 index 0000000..ad5ac35 --- /dev/null +++ b/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st @@ -0,0 +1,13 @@ +tests +testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage + + "method1 is called by testMethod1" + "P1 : method1 + P2 : testMethod1, the reference is made in the package of testMethod1" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1FirstLevelSendersOutsideWithRefIn','Package') asClass >> ('method1FirstLevelSendersWithRefIn','Package') asSymbol). + self assert: testsFound size equals: 1. + self assert: (testsFound includes: (('SmTClassTest','P2') asClass >> ('testMethod1FirstLevelSendersOutsideWithRefIn','Package') asSymbol) asRingDefinition ). + \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st b/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st new file mode 100644 index 0000000..2442242 --- /dev/null +++ b/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st @@ -0,0 +1,13 @@ +tests +testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass + + "method1 is called by method 2,itself called by testMethod1" + "P1 : method1 and method2 + P2 : testMethod2, the reference is made in the class of testMethod2" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersInsideTestOutsideWithRefIn','Class') asClass >> ('method1SecondLevelSendersInsideTestOutsideWithRefIn','Class') asSymbol). + self assert: testsFound size equals: 1. + self assert: (testsFound includes: (('SmTClassTest','P2') asClass >> ('testMethod2SecondLevelSenderInsideTestOutsideWithRefIn','Class') asSymbol) asRingDefinition ). + \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st b/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st new file mode 100644 index 0000000..29d83d5 --- /dev/null +++ b/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st @@ -0,0 +1,13 @@ +tests +testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod + + "method1 is called by method 2,itself called by testMethod1" + "P1 : method1 and method2 + P2 : testMethod2, the reference is made in testMethod2" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersInsideTestOutsideWithRefIn','Method') asClass >> ('method1SecondLevelSendersInsideTestOutsideWithRefIn','Method') asSymbol). + self assert: testsFound size equals: 1. + self assert: (testsFound includes: (('SmTClassTest','P2') asClass >> ('testMethod2SecondLevelSenderInsideTestOutsideWithRefIn','Method')asSymbol) asRingDefinition ). + \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st b/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st new file mode 100644 index 0000000..1560e8a --- /dev/null +++ b/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st @@ -0,0 +1,13 @@ +tests +testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage + + "method1 is called by method 2,itself called by testMethod1" + "P1 : method1 and method2 + P2 : testMethod2, the reference is made in the package of testMethod2" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersInsideTestOutsideWithRefIn','Package') asClass >> ('method1SecondLevelSendersInsideTestOutsideWithRefIn','Package') asSymbol). + self assert: testsFound size equals: 1. + self assert: (testsFound includes: (('SmTClassTest','P2') asClass >> ('testMethod2SecondLevelSenderInsideTestOutsideWithRefIn','Package') asSymbol) asRingDefinition ). + \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st b/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st new file mode 100644 index 0000000..29aceea --- /dev/null +++ b/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st @@ -0,0 +1,13 @@ +tests +testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass + + "method1 is called by method 2,itself called by testMethod1" + "P1 : method1 and testMethod2 + P2 : method2, the reference is made in the class of method2" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersOutsideTestInsideWithRefIn','Class') asClass >> ('method1SecondLevelSendersOutsideTestInsideWithRefIn','Class') asSymbol). + self assert: testsFound size equals: 1. + self assert: (testsFound includes: (('SmTClassTest','P1') asClass >> ('testMethod2SecondLevelSendersOutsideTestInsideWithRefIn','Class') asSymbol) asRingDefinition ). + \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st b/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st new file mode 100644 index 0000000..ffdcb51 --- /dev/null +++ b/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st @@ -0,0 +1,13 @@ +tests +testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod + + "method1 is called by method 2,itself called by testMethod1" + "P1 : method1 and testMethod2 + P2 : method2, the reference is made in method2" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersOutsideTestInsideWithRefIn','Method') asClass >> ('method1SecondLevelSendersOutsideTestInsideWithRefIn','Method') asSymbol). + self assert: testsFound size equals: 1. + self assert: (testsFound includes: (('SmTClassTest','P1') asClass >> ('testMethod2SecondLevelSendersOutsideTestInsideWithRefIn','Method') asSymbol) asRingDefinition ). + \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st b/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st new file mode 100644 index 0000000..465bb6e --- /dev/null +++ b/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st @@ -0,0 +1,13 @@ +tests +testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage + + "method1 is called by method 2,itself called by testMethod1" + "P1 : method1 and testMethod2 + P2 : method2, the reference is made in the package of method2" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersOutsideTestInsideWithRefIn','Package') asClass >> ('method1SecondLevelSendersOutsideTestInsideWithRefIn','Package') asSymbol). + self assert: testsFound size equals: 1. + self assert: (testsFound includes: (('SmTClassTest','P1') asClass >> ('testMethod2SecondLevelSendersOutsideTestInsideWithRefIn','Package') asSymbol) asRingDefinition ). + \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/testExtensionMethod.st b/SmartTest.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/testExtensionMethod.st new file mode 100644 index 0000000..a4f13f9 --- /dev/null +++ b/SmartTest.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/testExtensionMethod.st @@ -0,0 +1,8 @@ +tests +testExtensionMethod + + | testsFound | + testsFound := self searchTestMethodsFor:( ('SmT','Extension') asClass >> ('my','Extension') asSymbol). + self assert: (testsFound includes: (('SmT','ClassTestP1') asClass >> ('testMyExtension','InP1') asSymbol) asRingDefinition). + self deny: (testsFound includes: (('SmT','ClassTestP2') asClass >> ('testMyExtension','InP2') asSymbol) asRingDefinition ). + \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/instance/method1SecondLevelSendersOutsideTestOutsideWithRefToP1InMethod.st b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/instance/method1SecondLevelSendersOutsideTestOutsideWithRefInMethod.st similarity index 67% rename from SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/instance/method1SecondLevelSendersOutsideTestOutsideWithRefToP1InMethod.st rename to SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/instance/method1SecondLevelSendersOutsideTestOutsideWithRefInMethod.st index 7f54873..35b0bf0 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/instance/method1SecondLevelSendersOutsideTestOutsideWithRefToP1InMethod.st +++ b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/instance/method1SecondLevelSendersOutsideTestOutsideWithRefInMethod.st @@ -1,5 +1,5 @@ method1 -method1SecondLevelSendersOutsideTestOutsideWithRefToP1InMethod +method1SecondLevelSendersOutsideTestOutsideWithRefInMethod "Data for tests: method called by a method not from the same package" " the behaviour of this method is not relevant." \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMyExtensionInP1.st b/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMyExtensionInP1.st new file mode 100644 index 0000000..7d505a4 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMyExtensionInP1.st @@ -0,0 +1,3 @@ +tests +testMyExtensionInP1 +SmTExtension >> #myExtension \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTExtension.extension/instance/myExtension.st b/SmartTestDataOutsideP1.package/SmTExtension.extension/instance/myExtension.st new file mode 100644 index 0000000..ea01acb --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTExtension.extension/instance/myExtension.st @@ -0,0 +1,3 @@ +*SmartTestDataOutsideP1 +myExtension +"une extension" \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTExtension.extension/properties.json b/SmartTestDataOutsideP1.package/SmTExtension.extension/properties.json new file mode 100644 index 0000000..42fe3ce --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTExtension.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "SmTExtension" +} \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/instance/method2SecondLevelSendersOutsideTestOutsideWithRefInMethod.st b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/instance/method2SecondLevelSendersOutsideTestOutsideWithRefInMethod.st new file mode 100644 index 0000000..7aab169 --- /dev/null +++ b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/instance/method2SecondLevelSendersOutsideTestOutsideWithRefInMethod.st @@ -0,0 +1,3 @@ +method2 +method2SecondLevelSendersOutsideTestOutsideWithRefInMethod +SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod >> #method1SecondLevelSendersOutsideTestOutsideWithRefInMethod. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/instance/method2SecondLevelSendersOutsideTestOutsideWithRefToP1InMethod.st b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/instance/method2SecondLevelSendersOutsideTestOutsideWithRefToP1InMethod.st deleted file mode 100644 index 685749e..0000000 --- a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/instance/method2SecondLevelSendersOutsideTestOutsideWithRefToP1InMethod.st +++ /dev/null @@ -1,3 +0,0 @@ -method2 -method2SecondLevelSendersOutsideTestOutsideWithRefToP1InMethod -SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod >> #method1SecondLevelSendersOutsideTestOutsideWithRefToP1InMethod. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/referenceToSmTClassP1FirstLevelSendersOutsideWithRefInClass.st b/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/referenceToSmTClassP1FirstLevelSendersOutsideWithRefInClass.st index e65c713..c27b25f 100644 --- a/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/referenceToSmTClassP1FirstLevelSendersOutsideWithRefInClass.st +++ b/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/referenceToSmTClassP1FirstLevelSendersOutsideWithRefInClass.st @@ -1,3 +1,3 @@ -tests +references referenceToSmTClassP1FirstLevelSendersOutsideWithRefInClass ^ SmTClassP1FirstLevelSendersOutsideWithRefInClass. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testMethod1FirstLevelSendersOutsideWithRefInClass.st b/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testMethod1FirstLevelSendersOutsideWithRefInClass.st index 8abb885..60f6a1b 100644 --- a/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testMethod1FirstLevelSendersOutsideWithRefInClass.st +++ b/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testMethod1FirstLevelSendersOutsideWithRefInClass.st @@ -1,4 +1,4 @@ -tests +testMethod1 testMethod1FirstLevelSendersOutsideWithRefInClass "In order to be sure that this method does not reference any class, we don't use directly the class but go through their name with a concatenation and then transform them into class" ^ ('SmTClassP1','FirstLevelSendersOutsideWithRefInClass') asClass new method1FirstLevelSendersWithRefInClass. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testMethod1FirstLevelSendersOutsideWithRefInPackage.st b/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testMethod1FirstLevelSendersOutsideWithRefInPackage.st index 8574958..ea2cea2 100644 --- a/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testMethod1FirstLevelSendersOutsideWithRefInPackage.st +++ b/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testMethod1FirstLevelSendersOutsideWithRefInPackage.st @@ -1,4 +1,4 @@ -tests +testMethod1 testMethod1FirstLevelSendersOutsideWithRefInPackage "In order to be sure that this method does not reference any class, we don't use directly the class but go through their name with a concatenation and then transform them into class" ^('SmTClassP1','FirstLevelSendersOutsideWithRefInPackage') asClass new method1FirstLevelSendersWithRefInPackage. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInClass.st b/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInClass.st index 6d18fd1..7e03d19 100644 --- a/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInClass.st +++ b/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInClass.st @@ -1,3 +1,3 @@ -tests +testMethod2 testMethod2SecondLevelSenderInsideTestOutsideWithRefInClass ^ ('SmTClass','P1SecondLevelSendersInsideTestOutsideWithRefInClass') asClass new method2SecondLevelSendersInsideTestOutsideWithRefInClass. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInMethod.st b/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInMethod.st index 74890aa..003fd6b 100644 --- a/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInMethod.st +++ b/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInMethod.st @@ -1,3 +1,3 @@ -tests +testMethod2 testMethod2SecondLevelSenderInsideTestOutsideWithRefInMethod ^ SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod new method2SecondLevelSendersInsideTestOutsideWithRefInMethod. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInPackage.st b/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInPackage.st index 16d5928..ef6cfaa 100644 --- a/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInPackage.st +++ b/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInPackage.st @@ -1,3 +1,3 @@ -tests +testMethod2 testMethod2SecondLevelSenderInsideTestOutsideWithRefInPackage SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage new method2SecondLevelSendersInsideTestOutsideWithRefInPackage. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testMyExtensionInP2.st b/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testMyExtensionInP2.st new file mode 100644 index 0000000..4f5ee35 --- /dev/null +++ b/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testMyExtensionInP2.st @@ -0,0 +1,3 @@ +tests +testMyExtensionInP2 +SmTExtension >> #myExtension. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTExtension.class/README.md b/SmartTestDataOutsideP2.package/SmTExtension.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTestDataOutsideP2.package/SmTExtension.class/properties.json b/SmartTestDataOutsideP2.package/SmTExtension.class/properties.json new file mode 100644 index 0000000..57e265c --- /dev/null +++ b/SmartTestDataOutsideP2.package/SmTExtension.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "TestCase", + "category" : "SmartTestDataOutsideP2-extensionMethod", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTExtension", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/monticello.meta/categories.st b/SmartTestDataOutsideP2.package/monticello.meta/categories.st index 55b3342..0261acc 100644 --- a/SmartTestDataOutsideP2.package/monticello.meta/categories.st +++ b/SmartTestDataOutsideP2.package/monticello.meta/categories.st @@ -4,3 +4,4 @@ SystemOrganization addCategory: #'SmartTestDataOutsideP2-SenderOutTestInWithRef' SystemOrganization addCategory: #'SmartTestDataOutsideP2-SenderOutTestOutWithRef'! SystemOrganization addCategory: #'SmartTestDataOutsideP2-Tests'! SystemOrganization addCategory: #'SmartTestDataOutsideP2-WithoutRef'! +SystemOrganization addCategory: #'SmartTestDataOutsideP2-extensionMethod'! diff --git a/SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefInMethod.class/instance/testMethod2SecondLevelSenderOutsideTestOutsideWithRefToP1InMethod.st b/SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefInMethod.class/instance/testMethod2SecondLevelSenderOutsideTestOutsideWithRefInMethod.st similarity index 71% rename from SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefInMethod.class/instance/testMethod2SecondLevelSenderOutsideTestOutsideWithRefToP1InMethod.st rename to SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefInMethod.class/instance/testMethod2SecondLevelSenderOutsideTestOutsideWithRefInMethod.st index d9e2f07..efea04e 100644 --- a/SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefInMethod.class/instance/testMethod2SecondLevelSenderOutsideTestOutsideWithRefToP1InMethod.st +++ b/SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefInMethod.class/instance/testMethod2SecondLevelSenderOutsideTestOutsideWithRefInMethod.st @@ -1,4 +1,4 @@ testMethod2 -testMethod2SecondLevelSenderOutsideTestOutsideWithRefToP1InMethod -('SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefIn','Method') asClass >> #method2SecondLevelSendersOutsideTestOutsideWithRefToP1InMethod. +testMethod2SecondLevelSenderOutsideTestOutsideWithRefInMethod +('SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefIn','Method') asClass >> #method2SecondLevelSendersOutsideTestOutsideWithRefInMethod. SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod new. \ No newline at end of file diff --git a/SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefInMethod.class/instance/testMethod2SecondLevelSenderOutsideTestOutsideWithRefToP2InMethod.st b/SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefInMethod.class/instance/testMethod2SecondLevelSenderOutsideTestOutsideWithRefToP2InMethod.st deleted file mode 100644 index 045c72e..0000000 --- a/SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefInMethod.class/instance/testMethod2SecondLevelSenderOutsideTestOutsideWithRefToP2InMethod.st +++ /dev/null @@ -1,3 +0,0 @@ -testMethod2 -testMethod2SecondLevelSenderOutsideTestOutsideWithRefToP2InMethod -SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefInMethod >> #method2SecondLevelSendersOutsideTestOutsideWithRefToP2InMethod. \ No newline at end of file From 6b1d3424ff509a3b30211ee32027aa03ba20e9f7 Mon Sep 17 00:00:00 2001 From: eleonoreW Date: Wed, 23 May 2018 15:54:07 +0200 Subject: [PATCH 059/150] Tests were categorized Small modification of test data. Addition of a test to test the behaviour of smatTest when dealing with inherited classes. --- .../instance/testInheritedMethod.st | 8 ++++++++ ...ethodFirstLevelSendersOutsidePackageWithRefInMethod.st | 2 +- ...thodFirstLevelSendersOutsidePackageWithRefInPackage.st | 2 +- ...odSecondLevelSendersInsideTestOutsideWithRefInClass.st | 2 +- ...dSecondLevelSendersInsideTestOutsideWithRefInMethod.st | 2 +- ...SecondLevelSendersInsideTestOutsideWithRefInPackage.st | 2 +- ...odSecondLevelSendersOutsideTestInsideWithRefInClass.st | 2 +- ...dSecondLevelSendersOutsideTestInsideWithRefInMethod.st | 2 +- ...SecondLevelSendersOutsideTestInsideWithRefInPackage.st | 2 +- ...SecondLevelSendersOutsideTestOutsideWithRefInMethod.st | 2 +- .../instance/testMethod1Inheritance.st | 4 ++++ .../instance/testMethod1Inheritance.st | 3 +++ .../SmTP1InheritanceTest.class/class/isAbstract.st | 4 ++++ .../SmTP1InheritanceTest.class/instance/setup.st | 2 -- 14 files changed, 28 insertions(+), 11 deletions(-) create mode 100644 SmartTest.package/SmTFilterAbstractTest.class/instance/testInheritedMethod.st create mode 100644 SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass1Test.class/instance/testMethod1Inheritance.st create mode 100644 SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass2Test.class/instance/testMethod1Inheritance.st create mode 100644 SmartTestDataOutsideP1.package/SmTP1InheritanceTest.class/class/isAbstract.st delete mode 100644 SmartTestDataOutsideP1.package/SmTP1InheritanceTest.class/instance/setup.st diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testInheritedMethod.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testInheritedMethod.st new file mode 100644 index 0000000..3ffb562 --- /dev/null +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testInheritedMethod.st @@ -0,0 +1,8 @@ +tests +testInheritedMethod + + | testsFound | + testsFound := self searchTestMethodsFor:( ('SmT','P1Inheritance') asClass >> ('method1','Inheritance') asSymbol). + self assert: (testsFound includes: ((('SmT','P1InheritanceSubClass1Test') asClass >> ('testMethod1','Inheritance') asSymbol) asRingDefinition)). + self assert: (testsFound includes: ((('SmT','P1InheritanceTest') asClass >> ('testMethod1','Inheritance') asSymbol) asRingDefinition)). + \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st index 7d8b8b5..db6f779 100644 --- a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st +++ b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st @@ -1,4 +1,4 @@ -as yet unclassified +tests testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod "method1 is called by testMethod1" diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st index ec0aff7..ad5ac35 100644 --- a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st +++ b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st @@ -1,4 +1,4 @@ -as yet unclassified +tests testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage "method1 is called by testMethod1" diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st index de47498..2442242 100644 --- a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st +++ b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st @@ -1,4 +1,4 @@ -as yet unclassified +tests testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass "method1 is called by method 2,itself called by testMethod1" diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st index 6dbdd89..29d83d5 100644 --- a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st +++ b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st @@ -1,4 +1,4 @@ -as yet unclassified +tests testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod "method1 is called by method 2,itself called by testMethod1" diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st index f02eb27..1560e8a 100644 --- a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st +++ b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st @@ -1,4 +1,4 @@ -as yet unclassified +tests testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage "method1 is called by method 2,itself called by testMethod1" diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st index c103e72..29aceea 100644 --- a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st +++ b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st @@ -1,4 +1,4 @@ -as yet unclassified +tests testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass "method1 is called by method 2,itself called by testMethod1" diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st index f6a4290..ffdcb51 100644 --- a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st +++ b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st @@ -1,4 +1,4 @@ -as yet unclassified +tests testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod "method1 is called by method 2,itself called by testMethod1" diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st index 7f70724..465bb6e 100644 --- a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st +++ b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st @@ -1,4 +1,4 @@ -as yet unclassified +tests testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage "method1 is called by method 2,itself called by testMethod1" diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefInMethod.st b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefInMethod.st index 3405a81..37379b4 100644 --- a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefInMethod.st +++ b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefInMethod.st @@ -1,4 +1,4 @@ -as yet unclassified +tests testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefInMethod "method1 is called by method 2,itself called by testMethod1" diff --git a/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass1Test.class/instance/testMethod1Inheritance.st b/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass1Test.class/instance/testMethod1Inheritance.st new file mode 100644 index 0000000..0c8b99b --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass1Test.class/instance/testMethod1Inheritance.st @@ -0,0 +1,4 @@ +tests +testMethod1Inheritance + super. + "The behaviour of this test is irrelevant". \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass2Test.class/instance/testMethod1Inheritance.st b/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass2Test.class/instance/testMethod1Inheritance.st new file mode 100644 index 0000000..4b81b42 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass2Test.class/instance/testMethod1Inheritance.st @@ -0,0 +1,3 @@ +tests +testMethod1Inheritance + "The behaviour of this test is irrelevant". \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTP1InheritanceTest.class/class/isAbstract.st b/SmartTestDataOutsideP1.package/SmTP1InheritanceTest.class/class/isAbstract.st new file mode 100644 index 0000000..8873a1f --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTP1InheritanceTest.class/class/isAbstract.st @@ -0,0 +1,4 @@ +testing +isAbstract + + ^ self == SmTP1InheritanceTest \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTP1InheritanceTest.class/instance/setup.st b/SmartTestDataOutsideP1.package/SmTP1InheritanceTest.class/instance/setup.st deleted file mode 100644 index db9214f..0000000 --- a/SmartTestDataOutsideP1.package/SmTP1InheritanceTest.class/instance/setup.st +++ /dev/null @@ -1,2 +0,0 @@ -as yet unclassified -setup \ No newline at end of file From 8d73b4950fab1d2703aa3b59481feee38cf22092 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Verhaeghe?= Date: Thu, 24 May 2018 09:33:46 +0200 Subject: [PATCH 060/150] Update README.md --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 41bedb4..aa7e0b8 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ # SmartTest -Master:![master](https://api.travis-ci.org/badetitou/SmartTest.svg?branch=master) - Development: ![development](https://travis-ci.org/badetitou/SmartTest.svg?branch=development) + +Master: [![Master](https://travis-ci.org/badetitou/SmartTest.svg?branch=master)](https://travis-ci.org/badetitou/SmartTest/branches) +Development: [![development](https://travis-ci.org/badetitou/SmartTest.svg?branch=development)](https://travis-ci.org/badetitou/SmartTest/branches) + [![Coverage Status](https://coveralls.io/repos/github/badetitou/SmartTest/badge.svg?branch=development)](https://coveralls.io/github/badetitou/SmartTest?branch=development) ## What is SmartTest ? From 18e82a1af4e1b6c476156a695a19e08324198092 Mon Sep 17 00:00:00 2001 From: eleonoreW Date: Thu, 24 May 2018 15:44:10 +0200 Subject: [PATCH 061/150] Test or extension methods and correction of the filter --- .../instance/extractPackagesFrom..st | 10 ++++++---- .../instance/extractPackagesFrom..st | 3 ++- .../instance/extractPackagesWithoutExtensionFrom..st | 4 ++++ .../instance/testExtensionMethod.st | 8 -------- .../testExtensionMethodFirstLevelSendersInside.st | 7 +++++++ .../testExtensionMethodFirstLevelSendersOutside.st | 7 +++++++ .../testExtensionMethodSecondLevelSendersInside.st | 8 ++++++++ .../instance/testExtensionTestInside.st | 8 ++++++++ .../instance/testExtensionTestInside.st | 8 ++++++++ .../instance/testExtensionMethod.st | 8 -------- .../testExtensionMethodFirstLevelSendersOutside.st | 6 ++++++ .../testExtensionMethod1FirstLevelSendersInside.st | 3 +++ .../instance/testMyExtensionInP1.st | 3 --- .../SmTExtension.extension/instance/myExtension.st | 3 --- .../SmTExtension.extension/properties.json | 3 --- .../SmTExtensionP1.class}/README.md | 0 .../instance/extensionMethod1SecondLevelSenders.st | 2 ++ .../SmTExtensionP1.class/properties.json | 11 +++++++++++ .../SmTExtensionP1_2.class/README.md | 0 .../instance/method1ExtensionTestInside.st | 2 ++ .../SmTExtensionP1_2.class/properties.json | 11 +++++++++++ .../extensionMethod1FirstLevelSendersInside.st | 3 +++ .../extensionMethod1FirstLevelSendersOutside.st | 3 +++ .../SmTExtensionP2.extension/properties.json | 3 +++ .../instance/extensionMethod2SecondLevelSenders.st | 4 ++++ .../SmTExtensionP3.extension/properties.json | 3 +++ .../monticello.meta/categories.st | 1 + .../testExtensionMethod1FirstLevelSendersOutside.st | 3 +++ .../instance/testMyExtensionInP2.st | 3 --- .../SmTExtensionP2.class/README.md | 0 .../properties.json | 2 +- .../testExtensionMethod2SecondLevelSenders.st | 3 +++ .../instance/testMethod1ExtensionTestInside.st | 3 +++ .../SmTClassTestP3.class/properties.json | 2 +- .../instance/extensionMethodP1_2.st | 2 ++ .../SmTExtensionP1_2.extension/properties.json | 3 +++ .../SmTExtensionP3.class/README.md | 0 .../SmTExtensionP3.class/properties.json | 11 +++++++++++ 38 files changed, 129 insertions(+), 35 deletions(-) create mode 100644 SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractPackagesWithoutExtensionFrom..st delete mode 100644 SmartTest.package/SmTFilterAbstractTest.class/instance/testExtensionMethod.st create mode 100644 SmartTest.package/SmTFilterAbstractTest.class/instance/testExtensionMethodFirstLevelSendersInside.st create mode 100644 SmartTest.package/SmTFilterAbstractTest.class/instance/testExtensionMethodFirstLevelSendersOutside.st create mode 100644 SmartTest.package/SmTFilterAbstractTest.class/instance/testExtensionMethodSecondLevelSendersInside.st create mode 100644 SmartTest.package/SmTFilterAbstractTest.class/instance/testExtensionTestInside.st create mode 100644 SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testExtensionTestInside.st delete mode 100644 SmartTest.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/testExtensionMethod.st create mode 100644 SmartTest.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/testExtensionMethodFirstLevelSendersOutside.st create mode 100644 SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testExtensionMethod1FirstLevelSendersInside.st delete mode 100644 SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMyExtensionInP1.st delete mode 100644 SmartTestDataOutsideP1.package/SmTExtension.extension/instance/myExtension.st delete mode 100644 SmartTestDataOutsideP1.package/SmTExtension.extension/properties.json rename {SmartTestDataOutsideP2.package/SmTExtension.class => SmartTestDataOutsideP1.package/SmTExtensionP1.class}/README.md (100%) create mode 100644 SmartTestDataOutsideP1.package/SmTExtensionP1.class/instance/extensionMethod1SecondLevelSenders.st create mode 100644 SmartTestDataOutsideP1.package/SmTExtensionP1.class/properties.json create mode 100644 SmartTestDataOutsideP1.package/SmTExtensionP1_2.class/README.md create mode 100644 SmartTestDataOutsideP1.package/SmTExtensionP1_2.class/instance/method1ExtensionTestInside.st create mode 100644 SmartTestDataOutsideP1.package/SmTExtensionP1_2.class/properties.json create mode 100644 SmartTestDataOutsideP1.package/SmTExtensionP2.extension/instance/extensionMethod1FirstLevelSendersInside.st create mode 100644 SmartTestDataOutsideP1.package/SmTExtensionP2.extension/instance/extensionMethod1FirstLevelSendersOutside.st create mode 100644 SmartTestDataOutsideP1.package/SmTExtensionP2.extension/properties.json create mode 100644 SmartTestDataOutsideP1.package/SmTExtensionP3.extension/instance/extensionMethod2SecondLevelSenders.st create mode 100644 SmartTestDataOutsideP1.package/SmTExtensionP3.extension/properties.json create mode 100644 SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testExtensionMethod1FirstLevelSendersOutside.st delete mode 100644 SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testMyExtensionInP2.st create mode 100644 SmartTestDataOutsideP2.package/SmTExtensionP2.class/README.md rename SmartTestDataOutsideP2.package/{SmTExtension.class => SmTExtensionP2.class}/properties.json (87%) create mode 100644 SmartTestDataOutsideP3.package/SmTClassTestP3.class/instance/testExtensionMethod2SecondLevelSenders.st create mode 100644 SmartTestDataOutsideP3.package/SmTClassTestP3.class/instance/testMethod1ExtensionTestInside.st create mode 100644 SmartTestDataOutsideP3.package/SmTExtensionP1_2.extension/instance/extensionMethodP1_2.st create mode 100644 SmartTestDataOutsideP3.package/SmTExtensionP1_2.extension/properties.json create mode 100644 SmartTestDataOutsideP3.package/SmTExtensionP3.class/README.md create mode 100644 SmartTestDataOutsideP3.package/SmTExtensionP3.class/properties.json diff --git a/SmartTest.package/SmTDefaultClassPackagesFilter.class/instance/extractPackagesFrom..st b/SmartTest.package/SmTDefaultClassPackagesFilter.class/instance/extractPackagesFrom..st index 48b13e3..3b11da0 100644 --- a/SmartTest.package/SmTDefaultClassPackagesFilter.class/instance/extractPackagesFrom..st +++ b/SmartTest.package/SmTDefaultClassPackagesFilter.class/instance/extractPackagesFrom..st @@ -1,6 +1,8 @@ accessing extractPackagesFrom: aCollectionOfCompiledMethod - super - extractPackagesFrom: - ((aCollectionOfCompiledMethod collect: #methodClass) flatCollect: [ :aClass | aClass allCallsOn collect: #compiledMethod ]) - , (aCollectionOfCompiledMethod collect: #package) asOrderedCollection \ No newline at end of file + super extractPackagesFrom: aCollectionOfCompiledMethod. + packages addAll: (super + extractPackagesWithoutExtensionFrom: + ((aCollectionOfCompiledMethod collect: #methodClass) flatCollect: [ :aClass | aClass allCallsOn collect: #compiledMethod ])). + packages addAll: + ((aCollectionOfCompiledMethod collect: #methodClass) flatCollect: [ :aClass | aClass extendingPackages collect: [ :aPackage| self extractCompiledMethodPackageBaseName: aPackage ] ]) asOrderedCollection . \ No newline at end of file diff --git a/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractPackagesFrom..st b/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractPackagesFrom..st index 734b7c3..c75ade3 100644 --- a/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractPackagesFrom..st +++ b/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractPackagesFrom..st @@ -1,3 +1,4 @@ accessing extractPackagesFrom: aCollectionOfCompiledMethod - packages := aCollectionOfCompiledMethod collect: [:aCompiledMethod | self extractCompiledMethodPackageBaseName: aCompiledMethod ] \ No newline at end of file + packages := self extractPackagesWithoutExtensionFrom: aCollectionOfCompiledMethod. + packages addAll: (aCollectionOfCompiledMethod select: #isExtension thenCollect: [ :aCompiledMethod | (aCompiledMethod package extendedClasses collect: [ :aClass | aClass package name ] ) asSet] ) flattened diff --git a/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractPackagesWithoutExtensionFrom..st b/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractPackagesWithoutExtensionFrom..st new file mode 100644 index 0000000..1ec1969 --- /dev/null +++ b/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractPackagesWithoutExtensionFrom..st @@ -0,0 +1,4 @@ +accessing +extractPackagesWithoutExtensionFrom: aCollectionOfCompiledMethod + ^(aCollectionOfCompiledMethod collect: [:aCompiledMethod | self extractCompiledMethodPackageBaseName: aCompiledMethod ]) asOrderedCollection. + \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testExtensionMethod.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testExtensionMethod.st deleted file mode 100644 index 590d9b6..0000000 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/testExtensionMethod.st +++ /dev/null @@ -1,8 +0,0 @@ -tests -testExtensionMethod - - | testsFound | - testsFound := self searchTestMethodsFor:( ('SmT','Extension') asClass >> ('my','Extension') asSymbol). - self assert: (testsFound includes: ((('SmT','ClassTestP1') asClass >> ('testMyExtension','InP1') asSymbol) asRingDefinition)). - self assert: (testsFound includes: ((('SmT','ClassTestP2') asClass >> ('testMyExtension','InP2') asSymbol) asRingDefinition )). - \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testExtensionMethodFirstLevelSendersInside.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testExtensionMethodFirstLevelSendersInside.st new file mode 100644 index 0000000..d6d0f5a --- /dev/null +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testExtensionMethodFirstLevelSendersInside.st @@ -0,0 +1,7 @@ +tests +testExtensionMethodFirstLevelSendersInside + + | testsFound | + testsFound := self searchTestMethodsFor:( ('SmT','ExtensionP2') asClass >> ('extensionMethod1FirstLevelSenders','Inside') asSymbol). + self assert: (testsFound includes: ((('SmT','ClassTestP1') asClass >> ('testExtensionMethod1FirstLevelSenders','Inside') asSymbol) asRingDefinition)). + \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testExtensionMethodFirstLevelSendersOutside.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testExtensionMethodFirstLevelSendersOutside.st new file mode 100644 index 0000000..d3bf210 --- /dev/null +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testExtensionMethodFirstLevelSendersOutside.st @@ -0,0 +1,7 @@ +tests +testExtensionMethodFirstLevelSendersOutside + + | testsFound | + testsFound := self searchTestMethodsFor:( ('SmT','ExtensionP2') asClass >> ('extensionMethod1FirstLevelSenders','Outside') asSymbol). + self assert: (testsFound includes: ((('SmT','ClassTestP2') asClass >> ('testExtensionMethod1FirstLevelSenders','Outside') asSymbol) asRingDefinition )). + \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testExtensionMethodSecondLevelSendersInside.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testExtensionMethodSecondLevelSendersInside.st new file mode 100644 index 0000000..dae3388 --- /dev/null +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testExtensionMethodSecondLevelSendersInside.st @@ -0,0 +1,8 @@ +tests +testExtensionMethodSecondLevelSendersInside + + | testsFound | + testsFound := self searchTestMethodsFor:( ('SmT','ExtensionP1') asClass >> ('extensionMethod1','SecondLevelSenders') asSymbol). + + self deny: (testsFound includes: ((('SmT','ClassTestP3') asClass >> ('testExtensionMethod2','SecondLevelSenders') asSymbol) asRingDefinition )). + \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testExtensionTestInside.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testExtensionTestInside.st new file mode 100644 index 0000000..8813c68 --- /dev/null +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testExtensionTestInside.st @@ -0,0 +1,8 @@ +tests +testExtensionTestInside + + | testsFound | + testsFound := self searchTestMethodsFor:( ('SmT','ExtensionP1_2') asClass >> ('method1ExtensionTest','Inside') asSymbol). + + self deny: (testsFound includes: ((('SmT','ClassTestP3') asClass >> ('testMethod1ExtensionTest','Inside') asSymbol) asRingDefinition )). + \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testExtensionTestInside.st b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testExtensionTestInside.st new file mode 100644 index 0000000..3b55767 --- /dev/null +++ b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testExtensionTestInside.st @@ -0,0 +1,8 @@ +tests +testExtensionTestInside + + | testsFound | + testsFound := self searchTestMethodsFor:( ('SmT','ExtensionP1_2') asClass >> ('method1ExtensionTest','Inside') asSymbol). + + self assert: (testsFound includes: ((('SmT','ClassTestP3') asClass >> ('testMethod1ExtensionTest','Inside') asSymbol) asRingDefinition )). + \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/testExtensionMethod.st b/SmartTest.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/testExtensionMethod.st deleted file mode 100644 index a4f13f9..0000000 --- a/SmartTest.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/testExtensionMethod.st +++ /dev/null @@ -1,8 +0,0 @@ -tests -testExtensionMethod - - | testsFound | - testsFound := self searchTestMethodsFor:( ('SmT','Extension') asClass >> ('my','Extension') asSymbol). - self assert: (testsFound includes: (('SmT','ClassTestP1') asClass >> ('testMyExtension','InP1') asSymbol) asRingDefinition). - self deny: (testsFound includes: (('SmT','ClassTestP2') asClass >> ('testMyExtension','InP2') asSymbol) asRingDefinition ). - \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/testExtensionMethodFirstLevelSendersOutside.st b/SmartTest.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/testExtensionMethodFirstLevelSendersOutside.st new file mode 100644 index 0000000..eef1c4c --- /dev/null +++ b/SmartTest.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/testExtensionMethodFirstLevelSendersOutside.st @@ -0,0 +1,6 @@ +tests +testExtensionMethodFirstLevelSendersOutside + + | testsFound | + testsFound := self searchTestMethodsFor:( ('SmT','ExtensionP2') asClass >> ('extensionMethod1FirstLevelSenders','Outside') asSymbol). + self deny: (testsFound includes: ((('SmT','ClassTestP2') asClass >> ('testExtensionMethod1FirstLevelSenders','Outside') asSymbol) asRingDefinition )). \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testExtensionMethod1FirstLevelSendersInside.st b/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testExtensionMethod1FirstLevelSendersInside.st new file mode 100644 index 0000000..aa10c00 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testExtensionMethod1FirstLevelSendersInside.st @@ -0,0 +1,3 @@ +testMethod1 +testExtensionMethod1FirstLevelSendersInside +SmTExtensionP2 >> #extensionMethod1FirstLevelSendersInside \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMyExtensionInP1.st b/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMyExtensionInP1.st deleted file mode 100644 index 7d505a4..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMyExtensionInP1.st +++ /dev/null @@ -1,3 +0,0 @@ -tests -testMyExtensionInP1 -SmTExtension >> #myExtension \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTExtension.extension/instance/myExtension.st b/SmartTestDataOutsideP1.package/SmTExtension.extension/instance/myExtension.st deleted file mode 100644 index ea01acb..0000000 --- a/SmartTestDataOutsideP1.package/SmTExtension.extension/instance/myExtension.st +++ /dev/null @@ -1,3 +0,0 @@ -*SmartTestDataOutsideP1 -myExtension -"une extension" \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTExtension.extension/properties.json b/SmartTestDataOutsideP1.package/SmTExtension.extension/properties.json deleted file mode 100644 index 42fe3ce..0000000 --- a/SmartTestDataOutsideP1.package/SmTExtension.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "SmTExtension" -} \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTExtension.class/README.md b/SmartTestDataOutsideP1.package/SmTExtensionP1.class/README.md similarity index 100% rename from SmartTestDataOutsideP2.package/SmTExtension.class/README.md rename to SmartTestDataOutsideP1.package/SmTExtensionP1.class/README.md diff --git a/SmartTestDataOutsideP1.package/SmTExtensionP1.class/instance/extensionMethod1SecondLevelSenders.st b/SmartTestDataOutsideP1.package/SmTExtensionP1.class/instance/extensionMethod1SecondLevelSenders.st new file mode 100644 index 0000000..c1ee20e --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTExtensionP1.class/instance/extensionMethod1SecondLevelSenders.st @@ -0,0 +1,2 @@ +as yet unclassified +extensionMethod1SecondLevelSenders \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTExtensionP1.class/properties.json b/SmartTestDataOutsideP1.package/SmTExtensionP1.class/properties.json new file mode 100644 index 0000000..bf64387 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTExtensionP1.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "Object", + "category" : "SmartTestDataOutsideP1-SenderExtensionMethod", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTExtensionP1", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTExtensionP1_2.class/README.md b/SmartTestDataOutsideP1.package/SmTExtensionP1_2.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTestDataOutsideP1.package/SmTExtensionP1_2.class/instance/method1ExtensionTestInside.st b/SmartTestDataOutsideP1.package/SmTExtensionP1_2.class/instance/method1ExtensionTestInside.st new file mode 100644 index 0000000..e45251d --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTExtensionP1_2.class/instance/method1ExtensionTestInside.st @@ -0,0 +1,2 @@ +as yet unclassified +method1ExtensionTestInside \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTExtensionP1_2.class/properties.json b/SmartTestDataOutsideP1.package/SmTExtensionP1_2.class/properties.json new file mode 100644 index 0000000..954e7ab --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTExtensionP1_2.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "Object", + "category" : "SmartTestDataOutsideP1-SenderExtensionMethod", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTExtensionP1_2", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTExtensionP2.extension/instance/extensionMethod1FirstLevelSendersInside.st b/SmartTestDataOutsideP1.package/SmTExtensionP2.extension/instance/extensionMethod1FirstLevelSendersInside.st new file mode 100644 index 0000000..e004f83 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTExtensionP2.extension/instance/extensionMethod1FirstLevelSendersInside.st @@ -0,0 +1,3 @@ +*SmartTestDataOutsideP1 +extensionMethod1FirstLevelSendersInside +"an extension" \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTExtensionP2.extension/instance/extensionMethod1FirstLevelSendersOutside.st b/SmartTestDataOutsideP1.package/SmTExtensionP2.extension/instance/extensionMethod1FirstLevelSendersOutside.st new file mode 100644 index 0000000..aeaa7a9 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTExtensionP2.extension/instance/extensionMethod1FirstLevelSendersOutside.st @@ -0,0 +1,3 @@ +*SmartTestDataOutsideP1 +extensionMethod1FirstLevelSendersOutside +"an extension" \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTExtensionP2.extension/properties.json b/SmartTestDataOutsideP1.package/SmTExtensionP2.extension/properties.json new file mode 100644 index 0000000..bf29821 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTExtensionP2.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "SmTExtensionP2" +} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTExtensionP3.extension/instance/extensionMethod2SecondLevelSenders.st b/SmartTestDataOutsideP1.package/SmTExtensionP3.extension/instance/extensionMethod2SecondLevelSenders.st new file mode 100644 index 0000000..038d501 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTExtensionP3.extension/instance/extensionMethod2SecondLevelSenders.st @@ -0,0 +1,4 @@ +*SmartTestDataOutsideP1 +extensionMethod2SecondLevelSenders +"an extension" +('SmT','ExtensionP1') asClass >> #extensionMethod1SecondLevelSenders \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTExtensionP3.extension/properties.json b/SmartTestDataOutsideP1.package/SmTExtensionP3.extension/properties.json new file mode 100644 index 0000000..3d521a1 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTExtensionP3.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "SmTExtensionP3" +} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/monticello.meta/categories.st b/SmartTestDataOutsideP1.package/monticello.meta/categories.st index d7be80b..febba68 100644 --- a/SmartTestDataOutsideP1.package/monticello.meta/categories.st +++ b/SmartTestDataOutsideP1.package/monticello.meta/categories.st @@ -1,6 +1,7 @@ SystemOrganization addCategory: #SmartTestDataOutsideP1! SystemOrganization addCategory: #'SmartTestDataOutsideP1-FirstLevelWithRef'! SystemOrganization addCategory: #'SmartTestDataOutsideP1-Inheritance'! +SystemOrganization addCategory: #'SmartTestDataOutsideP1-SenderExtensionMethod'! SystemOrganization addCategory: #'SmartTestDataOutsideP1-SenderInTestOutWithRef'! SystemOrganization addCategory: #'SmartTestDataOutsideP1-SenderOutTestInWithRef'! SystemOrganization addCategory: #'SmartTestDataOutsideP1-SenderOutTestOutWithRef'! diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testExtensionMethod1FirstLevelSendersOutside.st b/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testExtensionMethod1FirstLevelSendersOutside.st new file mode 100644 index 0000000..ecdad3d --- /dev/null +++ b/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testExtensionMethod1FirstLevelSendersOutside.st @@ -0,0 +1,3 @@ +testMethod1 +testExtensionMethod1FirstLevelSendersOutside +SmTExtensionP2 >> #extensionMethod1FirstLevelSendersOutside. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testMyExtensionInP2.st b/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testMyExtensionInP2.st deleted file mode 100644 index 4f5ee35..0000000 --- a/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testMyExtensionInP2.st +++ /dev/null @@ -1,3 +0,0 @@ -tests -testMyExtensionInP2 -SmTExtension >> #myExtension. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTExtensionP2.class/README.md b/SmartTestDataOutsideP2.package/SmTExtensionP2.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTestDataOutsideP2.package/SmTExtension.class/properties.json b/SmartTestDataOutsideP2.package/SmTExtensionP2.class/properties.json similarity index 87% rename from SmartTestDataOutsideP2.package/SmTExtension.class/properties.json rename to SmartTestDataOutsideP2.package/SmTExtensionP2.class/properties.json index 57e265c..dd3d43e 100644 --- a/SmartTestDataOutsideP2.package/SmTExtension.class/properties.json +++ b/SmartTestDataOutsideP2.package/SmTExtensionP2.class/properties.json @@ -6,6 +6,6 @@ "pools" : [ ], "classvars" : [ ], "instvars" : [ ], - "name" : "SmTExtension", + "name" : "SmTExtensionP2", "type" : "normal" } \ No newline at end of file diff --git a/SmartTestDataOutsideP3.package/SmTClassTestP3.class/instance/testExtensionMethod2SecondLevelSenders.st b/SmartTestDataOutsideP3.package/SmTClassTestP3.class/instance/testExtensionMethod2SecondLevelSenders.st new file mode 100644 index 0000000..a7d7fde --- /dev/null +++ b/SmartTestDataOutsideP3.package/SmTClassTestP3.class/instance/testExtensionMethod2SecondLevelSenders.st @@ -0,0 +1,3 @@ +tests +testExtensionMethod2SecondLevelSenders +('SmTExtension','P3') asClass >> #extensionMethod2SecondLevelSenders . \ No newline at end of file diff --git a/SmartTestDataOutsideP3.package/SmTClassTestP3.class/instance/testMethod1ExtensionTestInside.st b/SmartTestDataOutsideP3.package/SmTClassTestP3.class/instance/testMethod1ExtensionTestInside.st new file mode 100644 index 0000000..81d69c6 --- /dev/null +++ b/SmartTestDataOutsideP3.package/SmTClassTestP3.class/instance/testMethod1ExtensionTestInside.st @@ -0,0 +1,3 @@ +tests +testMethod1ExtensionTestInside +('SmTExtension','P1_2') asClass >> #method1ExtensionTestInside diff --git a/SmartTestDataOutsideP3.package/SmTClassTestP3.class/properties.json b/SmartTestDataOutsideP3.package/SmTClassTestP3.class/properties.json index 47afeb8..c736186 100644 --- a/SmartTestDataOutsideP3.package/SmTClassTestP3.class/properties.json +++ b/SmartTestDataOutsideP3.package/SmTClassTestP3.class/properties.json @@ -1,6 +1,6 @@ { "commentStamp" : "EleonoreWALD 5/11/2018 13:41", - "super" : "Object", + "super" : "TestCase", "category" : "SmartTestDataOutsideP3", "classinstvars" : [ ], "pools" : [ ], diff --git a/SmartTestDataOutsideP3.package/SmTExtensionP1_2.extension/instance/extensionMethodP1_2.st b/SmartTestDataOutsideP3.package/SmTExtensionP1_2.extension/instance/extensionMethodP1_2.st new file mode 100644 index 0000000..03722b2 --- /dev/null +++ b/SmartTestDataOutsideP3.package/SmTExtensionP1_2.extension/instance/extensionMethodP1_2.st @@ -0,0 +1,2 @@ +*SmartTestDataOutsideP3 +extensionMethodP1_2 \ No newline at end of file diff --git a/SmartTestDataOutsideP3.package/SmTExtensionP1_2.extension/properties.json b/SmartTestDataOutsideP3.package/SmTExtensionP1_2.extension/properties.json new file mode 100644 index 0000000..ed81b8f --- /dev/null +++ b/SmartTestDataOutsideP3.package/SmTExtensionP1_2.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "SmTExtensionP1_2" +} \ No newline at end of file diff --git a/SmartTestDataOutsideP3.package/SmTExtensionP3.class/README.md b/SmartTestDataOutsideP3.package/SmTExtensionP3.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTestDataOutsideP3.package/SmTExtensionP3.class/properties.json b/SmartTestDataOutsideP3.package/SmTExtensionP3.class/properties.json new file mode 100644 index 0000000..49b56c6 --- /dev/null +++ b/SmartTestDataOutsideP3.package/SmTExtensionP3.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "Object", + "category" : "SmartTestDataOutsideP3", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTExtensionP3", + "type" : "normal" +} \ No newline at end of file From e50340ae1533bd413291e1623ed15c161c733b77 Mon Sep 17 00:00:00 2001 From: eleonoreW Date: Thu, 24 May 2018 16:33:53 +0200 Subject: [PATCH 062/150] Correction of tests (the cache was not well initialized) --- .../instance/extractPackagesFrom..st | 3 +-- .../instance/testInheritance.st | 4 ++-- .../instance/initCache.st | 16 +++++++++++++--- .../instance/testInheritance.st | 10 ++++++++++ .../instance/initCache.st | 9 ++++++++- 5 files changed, 34 insertions(+), 8 deletions(-) create mode 100644 SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/testInheritance.st diff --git a/SmartTest.package/SmTDefaultClassPackagesFilter.class/instance/extractPackagesFrom..st b/SmartTest.package/SmTDefaultClassPackagesFilter.class/instance/extractPackagesFrom..st index 3b11da0..6e8a731 100644 --- a/SmartTest.package/SmTDefaultClassPackagesFilter.class/instance/extractPackagesFrom..st +++ b/SmartTest.package/SmTDefaultClassPackagesFilter.class/instance/extractPackagesFrom..st @@ -4,5 +4,4 @@ extractPackagesFrom: aCollectionOfCompiledMethod packages addAll: (super extractPackagesWithoutExtensionFrom: ((aCollectionOfCompiledMethod collect: #methodClass) flatCollect: [ :aClass | aClass allCallsOn collect: #compiledMethod ])). - packages addAll: - ((aCollectionOfCompiledMethod collect: #methodClass) flatCollect: [ :aClass | aClass extendingPackages collect: [ :aPackage| self extractCompiledMethodPackageBaseName: aPackage ] ]) asOrderedCollection . \ No newline at end of file + packages addAll: ((aCollectionOfCompiledMethod collect: #methodClass) flatCollect: [ :aClass | aClass extendingPackages collect: [ :aPackage| self extractCompiledMethodPackageBaseName: aPackage ] ]) asOrderedCollection . \ No newline at end of file diff --git a/SmartTest.package/SmTFinderAbstractTest.class/instance/testInheritance.st b/SmartTest.package/SmTFinderAbstractTest.class/instance/testInheritance.st index d81e772..94a1cb2 100644 --- a/SmartTest.package/SmTFinderAbstractTest.class/instance/testInheritance.st +++ b/SmartTest.package/SmTFinderAbstractTest.class/instance/testInheritance.st @@ -5,5 +5,5 @@ testInheritance testsFound := self searchTestMethodsFor: ('SmTP1' , 'Inheritance') asClass >> #method1Inheritance. self assert: testsFound size equals: 2. - self assert: (testsFound includes: (SmTP1InheritanceSubClass1Test >> #testMethod1Inheritance ) ). - self assert: (testsFound includes: (SmTP1InheritanceSubClass2Test >> #testMethod1Inheritance )). \ No newline at end of file + self assert: (testsFound includes: ((SmTP1InheritanceSubClass1Test >> #testMethod1Inheritance) asRingDefinition )). + self assert: (testsFound includes: ( (SmTP1InheritanceSubClass2Test >> #testMethod1Inheritance) asRingDefinition )). \ No newline at end of file diff --git a/SmartTest.package/SmTFinderStrategyReflectivityTest.class/instance/initCache.st b/SmartTest.package/SmTFinderStrategyReflectivityTest.class/instance/initCache.st index b3b66a6..269661b 100644 --- a/SmartTest.package/SmTFinderStrategyReflectivityTest.class/instance/initCache.st +++ b/SmartTest.package/SmTFinderStrategyReflectivityTest.class/instance/initCache.st @@ -7,6 +7,7 @@ initCache (RGMethodDefinition className: 'SmTInheritClassTest' selector: #testMethod1 isMetaSide: false)} asSet). ((SmTClass >> #method2 )asRingDefinition -> {(SmTClassTest >> #testMethod2 )asRingDefinition} asSet). + ((SmTClass >> #method3: )asRingDefinition -> {(SmTClassTest >> #testMethod1 )asRingDefinition. @@ -17,9 +18,18 @@ initCache {(SmTClassTest >> #testMethod2 )asRingDefinition. (SmTClassTest >> #testMethod3 )asRingDefinition. (SmTClassTest >> #testMethod4 )asRingDefinition} asSet). - ((SmTClass2 >> #initialize )asRingDefinition - -> {(SmTClassTest >> #testMethod5 )asRingDefinition} asSet). + + ((SmTClass2 >> #initialize ) asRingDefinition + -> {(SmTClassTest >> #testMethod5 ) asRingDefinition} asSet). + ((SmTClassTest >> #testMethod4 )asRingDefinition -> {(SmTClassTest >> #testMethod4 )asRingDefinition} asSet). + ((SmTClassOutside >> #method2 )asRingDefinition - -> {(SmTClassOutsideTest >> #testMethodOutsidePackage1 ) asRingDefinition.} asSet).} asDictionary \ No newline at end of file + -> {(SmTClassOutsideTest >> #testMethodOutsidePackage1 ) asRingDefinition.} asSet). + + + ((SmTP1Inheritance>> #method1Inheritance)asRingDefinition + ->{(SmTP1InheritanceSubClass1Test >> #testMethod1Inheritance) asRingDefinition. + (SmTP1InheritanceSubClass2Test >> #testMethod1Inheritance) asRingDefinition.} asSet) + } asDictionary \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/testInheritance.st b/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/testInheritance.st new file mode 100644 index 0000000..92a34b4 --- /dev/null +++ b/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/testInheritance.st @@ -0,0 +1,10 @@ +tests +testInheritance + + "The test is outside of the scope of the test" + | testsFound | + testsFound := self searchTestMethodsFor: ('SmTP1' , 'Inheritance') asClass >> #method1Inheritance. + + self assert: testsFound isEmpty. + self deny: (testsFound includes: ((SmTP1InheritanceSubClass1Test >> #testMethod1Inheritance) asRingDefinition )). + self deny: (testsFound includes: ( (SmTP1InheritanceSubClass2Test >> #testMethod1Inheritance) asRingDefinition )). \ No newline at end of file diff --git a/SmartTest.package/SmTTestCoverageFinderTest.class/instance/initCache.st b/SmartTest.package/SmTTestCoverageFinderTest.class/instance/initCache.st index f75b531..e26256a 100644 --- a/SmartTest.package/SmTTestCoverageFinderTest.class/instance/initCache.st +++ b/SmartTest.package/SmTTestCoverageFinderTest.class/instance/initCache.st @@ -22,4 +22,11 @@ initCache ((SmTClassTest >> #testMethod4 )asRingDefinition -> {(SmTClassTest >> #testMethod4 )asRingDefinition} asSet). ((SmTClassOutside >> #method2 )asRingDefinition - -> {(SmTClassOutsideTest >> #testMethodOutsidePackage1 ) asRingDefinition.} asSet).} asDictionary \ No newline at end of file + -> {(SmTClassOutsideTest >> #testMethodOutsidePackage1 ) asRingDefinition.} asSet). + + ((SmTP1Inheritance>> #method1Inheritance)asRingDefinition + ->{(SmTP1InheritanceSubClass1Test >> #testMethod1Inheritance) asRingDefinition. + (SmTP1InheritanceSubClass2Test >> #testMethod1Inheritance) asRingDefinition.} asSet) + + + } asDictionary \ No newline at end of file From 6e608ba675d6348271dc64d5a5a9943de1b1ddf0 Mon Sep 17 00:00:00 2001 From: eleonoreW Date: Fri, 25 May 2018 11:34:15 +0200 Subject: [PATCH 063/150] first refactor + add a bit of explanations --- .../instance/extractPackagesFrom..st | 15 +++++++++------ .../instance/extractPackagesFrom..st | 12 +++++++++--- .../extractPackagesWithoutExtensionFrom..st | 4 ---- .../instance/testInheritance.st | 2 +- .../instance/testsForAStandardMethod..st | 9 ++++++--- .../instance/methodsFor..st | 15 ++++++--------- 6 files changed, 31 insertions(+), 26 deletions(-) delete mode 100644 SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractPackagesWithoutExtensionFrom..st diff --git a/SmartTest.package/SmTDefaultClassPackagesFilter.class/instance/extractPackagesFrom..st b/SmartTest.package/SmTDefaultClassPackagesFilter.class/instance/extractPackagesFrom..st index 6e8a731..00f1be7 100644 --- a/SmartTest.package/SmTDefaultClassPackagesFilter.class/instance/extractPackagesFrom..st +++ b/SmartTest.package/SmTDefaultClassPackagesFilter.class/instance/extractPackagesFrom..st @@ -1,7 +1,10 @@ accessing -extractPackagesFrom: aCollectionOfCompiledMethod - super extractPackagesFrom: aCollectionOfCompiledMethod. - packages addAll: (super - extractPackagesWithoutExtensionFrom: - ((aCollectionOfCompiledMethod collect: #methodClass) flatCollect: [ :aClass | aClass allCallsOn collect: #compiledMethod ])). - packages addAll: ((aCollectionOfCompiledMethod collect: #methodClass) flatCollect: [ :aClass | aClass extendingPackages collect: [ :aPackage| self extractCompiledMethodPackageBaseName: aPackage ] ]) asOrderedCollection . \ No newline at end of file +extractPackagesFrom: aCompiledMethod + "This method is supposed to find (in addition of the supermethod) for the compiled method: + - the packages of the senders of the compiled method + - the packages that contains at least one method of the compiled method class" + + super extractPackagesFrom: aCompiledMethod. + packages addAll: (aCompiledMethod methodClass allCallsOn collect: [ :rgMethod | super extractCompiledMethodPackageBaseName: rgMethod compiledMethod ]). + packages addAll: (aCompiledMethod methodClass extendingPackages collect: [ :aPackage | self extractCompiledMethodPackageBaseName: aPackage ]). + ^ packages \ No newline at end of file diff --git a/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractPackagesFrom..st b/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractPackagesFrom..st index c75ade3..4a566db 100644 --- a/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractPackagesFrom..st +++ b/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractPackagesFrom..st @@ -1,4 +1,10 @@ accessing -extractPackagesFrom: aCollectionOfCompiledMethod - packages := self extractPackagesWithoutExtensionFrom: aCollectionOfCompiledMethod. - packages addAll: (aCollectionOfCompiledMethod select: #isExtension thenCollect: [ :aCompiledMethod | (aCompiledMethod package extendedClasses collect: [ :aClass | aClass package name ] ) asSet] ) flattened +extractPackagesFrom: aCompiledMethod + "Thid method find: + - the package of the classes that owned the method + - the package that contains the method if its an extension" + + packages := {(self extractCompiledMethodPackageBaseName: aCompiledMethod)} asOrderedCollection. + aCompiledMethod isExtension + ifTrue: [ packages addAll: (aCompiledMethod package extendedClasses flatCollect: [ :aClass | aClass package name ]) ]. + ^ packages \ No newline at end of file diff --git a/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractPackagesWithoutExtensionFrom..st b/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractPackagesWithoutExtensionFrom..st deleted file mode 100644 index 1ec1969..0000000 --- a/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractPackagesWithoutExtensionFrom..st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -extractPackagesWithoutExtensionFrom: aCollectionOfCompiledMethod - ^(aCollectionOfCompiledMethod collect: [:aCompiledMethod | self extractCompiledMethodPackageBaseName: aCompiledMethod ]) asOrderedCollection. - \ No newline at end of file diff --git a/SmartTest.package/SmTFinderAbstractTest.class/instance/testInheritance.st b/SmartTest.package/SmTFinderAbstractTest.class/instance/testInheritance.st index 94a1cb2..399e63b 100644 --- a/SmartTest.package/SmTFinderAbstractTest.class/instance/testInheritance.st +++ b/SmartTest.package/SmTFinderAbstractTest.class/instance/testInheritance.st @@ -2,7 +2,7 @@ tests testInheritance | testsFound | - testsFound := self searchTestMethodsFor: ('SmTP1' , 'Inheritance') asClass >> #method1Inheritance. + testsFound := self searchTestMethodsFor: ('SmTP1' , 'Inheritance') asClass >> ('method1','Inheritance'). self assert: testsFound size equals: 2. self assert: (testsFound includes: ((SmTP1InheritanceSubClass1Test >> #testMethod1Inheritance) asRingDefinition )). diff --git a/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/testsForAStandardMethod..st b/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/testsForAStandardMethod..st index 6e12f3c..bc0903d 100644 --- a/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/testsForAStandardMethod..st +++ b/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/testsForAStandardMethod..st @@ -1,7 +1,10 @@ API testsForAStandardMethod: aCompiledMethod - | dependencies | - filter := self filter extractPackagesFrom: {aCompiledMethod}. + | dependencies packageToLookAt | + self flag: #TODO. "Remove dependencies and obtain it by the return of the #recursiveSearchForAStandardMethod: and add packageToLookAt as a parameter" + packageToLookAt := self filter extractPackagesFrom: aCompiledMethod. dependencies := Set new. - self recursiveSearchForAStandardMethod: aCompiledMethod methodReference foundMethods: dependencies. + self + recursiveSearchForAStandardMethod: aCompiledMethod methodReference + foundMethods: dependencies. ^ dependencies select: #isTestMethod \ No newline at end of file diff --git a/SmartTest.package/SmTTestFinderStrategy.class/instance/methodsFor..st b/SmartTest.package/SmTTestFinderStrategy.class/instance/methodsFor..st index 42cd86f..b51b966 100644 --- a/SmartTest.package/SmTTestFinderStrategy.class/instance/methodsFor..st +++ b/SmartTest.package/SmTTestFinderStrategy.class/instance/methodsFor..st @@ -1,17 +1,14 @@ api methodsFor: aCompiledMethod - | finalFoundMethod | + | finalFoundMethods | ^ self cache at: aCompiledMethod methodReference ifAbsent: [ #(testsForATestMethod: testsForASetUpMethod: testsForATearDownMethod: testsForAStandardMethod:) do: [ :heuristic | - | methods | - methods := [ self perform: heuristic with: aCompiledMethod ] - on: MessageNotUnderstood - do: [ #() ]. - methods isEmpty - ifFalse: [ finalFoundMethod := self testsForMethod: aCompiledMethod. - finalFoundMethod addAll: (self computeInheritedTestFromDiscoveredTest: methods) asOrderedCollection. - ^ finalFoundMethod ] ]. + (self perform: heuristic with: aCompiledMethod) + ifNotEmpty: [ :methods | + finalFoundMethods := self testsForMethod: aCompiledMethod. + finalFoundMethods addAll: (self computeInheritedTestFromDiscoveredTest: methods). + ^ finalFoundMethods ] ]. self cache at: aCompiledMethod methodReference put: Set new. ^ {} ] \ No newline at end of file From 90af07bb2802f8083e2bf52c1aa0ace7c965446b Mon Sep 17 00:00:00 2001 From: eleonoreW Date: Fri, 25 May 2018 14:18:18 +0200 Subject: [PATCH 064/150] remove useless instance variable --- .../instance/extractPackagesFrom..st | 3 ++- .../instance/extractPackagesFrom..st | 1 + .../instance/packages.st | 3 --- .../instance/shouldEntityBeFiltered..st | 4 ---- .../instance/shouldEntityBeFiltered.inPackages..st | 4 ++++ .../SmTDefaultPackagesFilter.class/properties.json | 4 +--- .../instance/extractPackagesFrom..st | 4 +++- .../instance/shouldEntityBeFiltered..st | 3 --- .../instance/shouldEntityBeFiltered.inPackages..st | 3 +++ .../instance/testInheritance.st | 2 +- ...d..st => shouldEntityBeFiltered.inPackages..st} | 2 +- ...d..st => shouldEntityBeFiltered.inPackages..st} | 2 +- ...ursiveSearchForAStandardMethod.foundMethods..st | 7 ------- ...ecursiveSearchForAStandardMethod.inPackages..st | 14 ++++++++++++++ .../instance/testsForAStandardMethod..st | 11 ++++------- .../{selectedPackage.st => selectedPackages.st} | 2 +- .../instance/extractPackagesFrom..st | 3 +++ .../instance/packages.st | 2 +- ...d..st => shouldEntityBeFiltered.inPackages..st} | 2 +- 19 files changed, 41 insertions(+), 35 deletions(-) delete mode 100644 SmartTest.package/SmTDefaultPackagesFilter.class/instance/packages.st delete mode 100644 SmartTest.package/SmTDefaultPackagesFilter.class/instance/shouldEntityBeFiltered..st create mode 100644 SmartTest.package/SmTDefaultPackagesFilter.class/instance/shouldEntityBeFiltered.inPackages..st delete mode 100644 SmartTest.package/SmTFilterStrategy.class/instance/shouldEntityBeFiltered..st create mode 100644 SmartTest.package/SmTFilterStrategy.class/instance/shouldEntityBeFiltered.inPackages..st rename SmartTest.package/SmTIcebergLoadedPackagesFilter.class/instance/{shouldEntityBeFiltered..st => shouldEntityBeFiltered.inPackages..st} (73%) rename SmartTest.package/SmTNoFilter.class/instance/{shouldEntityBeFiltered..st => shouldEntityBeFiltered.inPackages..st} (60%) delete mode 100644 SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAStandardMethod.foundMethods..st create mode 100644 SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAStandardMethod.inPackages..st rename SmartTest.package/SmTSpecifyPackagesNameFilter.class/class/{selectedPackage.st => selectedPackages.st} (93%) create mode 100644 SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/extractPackagesFrom..st rename SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/{shouldEntityBeFiltered..st => shouldEntityBeFiltered.inPackages..st} (71%) diff --git a/SmartTest.package/SmTDefaultClassPackagesFilter.class/instance/extractPackagesFrom..st b/SmartTest.package/SmTDefaultClassPackagesFilter.class/instance/extractPackagesFrom..st index 00f1be7..3e5b190 100644 --- a/SmartTest.package/SmTDefaultClassPackagesFilter.class/instance/extractPackagesFrom..st +++ b/SmartTest.package/SmTDefaultClassPackagesFilter.class/instance/extractPackagesFrom..st @@ -4,7 +4,8 @@ extractPackagesFrom: aCompiledMethod - the packages of the senders of the compiled method - the packages that contains at least one method of the compiled method class" - super extractPackagesFrom: aCompiledMethod. + | packages | + packages := super extractPackagesFrom: aCompiledMethod. packages addAll: (aCompiledMethod methodClass allCallsOn collect: [ :rgMethod | super extractCompiledMethodPackageBaseName: rgMethod compiledMethod ]). packages addAll: (aCompiledMethod methodClass extendingPackages collect: [ :aPackage | self extractCompiledMethodPackageBaseName: aPackage ]). ^ packages \ No newline at end of file diff --git a/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractPackagesFrom..st b/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractPackagesFrom..st index 4a566db..2e48403 100644 --- a/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractPackagesFrom..st +++ b/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractPackagesFrom..st @@ -4,6 +4,7 @@ extractPackagesFrom: aCompiledMethod - the package of the classes that owned the method - the package that contains the method if its an extension" + | packages | packages := {(self extractCompiledMethodPackageBaseName: aCompiledMethod)} asOrderedCollection. aCompiledMethod isExtension ifTrue: [ packages addAll: (aCompiledMethod package extendedClasses flatCollect: [ :aClass | aClass package name ]) ]. diff --git a/SmartTest.package/SmTDefaultPackagesFilter.class/instance/packages.st b/SmartTest.package/SmTDefaultPackagesFilter.class/instance/packages.st deleted file mode 100644 index d899deb..0000000 --- a/SmartTest.package/SmTDefaultPackagesFilter.class/instance/packages.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -packages - ^ packages \ No newline at end of file diff --git a/SmartTest.package/SmTDefaultPackagesFilter.class/instance/shouldEntityBeFiltered..st b/SmartTest.package/SmTDefaultPackagesFilter.class/instance/shouldEntityBeFiltered..st deleted file mode 100644 index 4605d05..0000000 --- a/SmartTest.package/SmTDefaultPackagesFilter.class/instance/shouldEntityBeFiltered..st +++ /dev/null @@ -1,4 +0,0 @@ -asserting -shouldEntityBeFiltered: anEntity - "(anEntity methodClass allCallsOn collect: #ciPackage) not." - ^ (self packages includes: (self extractMethodDefinitionPackageBaseName: anEntity )) not \ No newline at end of file diff --git a/SmartTest.package/SmTDefaultPackagesFilter.class/instance/shouldEntityBeFiltered.inPackages..st b/SmartTest.package/SmTDefaultPackagesFilter.class/instance/shouldEntityBeFiltered.inPackages..st new file mode 100644 index 0000000..2f4b3e6 --- /dev/null +++ b/SmartTest.package/SmTDefaultPackagesFilter.class/instance/shouldEntityBeFiltered.inPackages..st @@ -0,0 +1,4 @@ +asserting +shouldEntityBeFiltered: anEntity inPackages: packages + "(anEntity methodClass allCallsOn collect: #ciPackage) not." + ^ (packages includes: (self extractMethodDefinitionPackageBaseName: anEntity )) not \ No newline at end of file diff --git a/SmartTest.package/SmTDefaultPackagesFilter.class/properties.json b/SmartTest.package/SmTDefaultPackagesFilter.class/properties.json index 861bf7b..b0332df 100644 --- a/SmartTest.package/SmTDefaultPackagesFilter.class/properties.json +++ b/SmartTest.package/SmTDefaultPackagesFilter.class/properties.json @@ -5,9 +5,7 @@ "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], - "instvars" : [ - "packages" - ], + "instvars" : [ ], "name" : "SmTDefaultPackagesFilter", "type" : "normal" } \ No newline at end of file diff --git a/SmartTest.package/SmTFilterStrategy.class/instance/extractPackagesFrom..st b/SmartTest.package/SmTFilterStrategy.class/instance/extractPackagesFrom..st index 8943843..530ba02 100644 --- a/SmartTest.package/SmTFilterStrategy.class/instance/extractPackagesFrom..st +++ b/SmartTest.package/SmTFilterStrategy.class/instance/extractPackagesFrom..st @@ -1,3 +1,5 @@ asserting extractPackagesFrom: aCompiledMethod - "Can be implemented to init the filter for a specific research" \ No newline at end of file + "Can be implemented to init the filter for a specific research" + + self subclassResponsibility \ No newline at end of file diff --git a/SmartTest.package/SmTFilterStrategy.class/instance/shouldEntityBeFiltered..st b/SmartTest.package/SmTFilterStrategy.class/instance/shouldEntityBeFiltered..st deleted file mode 100644 index 046673e..0000000 --- a/SmartTest.package/SmTFilterStrategy.class/instance/shouldEntityBeFiltered..st +++ /dev/null @@ -1,3 +0,0 @@ -asserting -shouldEntityBeFiltered: anEntity - self subclassResponsibility \ No newline at end of file diff --git a/SmartTest.package/SmTFilterStrategy.class/instance/shouldEntityBeFiltered.inPackages..st b/SmartTest.package/SmTFilterStrategy.class/instance/shouldEntityBeFiltered.inPackages..st new file mode 100644 index 0000000..2703122 --- /dev/null +++ b/SmartTest.package/SmTFilterStrategy.class/instance/shouldEntityBeFiltered.inPackages..st @@ -0,0 +1,3 @@ +asserting +shouldEntityBeFiltered: anEntity inPackages: anObject + self subclassResponsibility \ No newline at end of file diff --git a/SmartTest.package/SmTFinderAbstractTest.class/instance/testInheritance.st b/SmartTest.package/SmTFinderAbstractTest.class/instance/testInheritance.st index 399e63b..0fb98d7 100644 --- a/SmartTest.package/SmTFinderAbstractTest.class/instance/testInheritance.st +++ b/SmartTest.package/SmTFinderAbstractTest.class/instance/testInheritance.st @@ -2,7 +2,7 @@ tests testInheritance | testsFound | - testsFound := self searchTestMethodsFor: ('SmTP1' , 'Inheritance') asClass >> ('method1','Inheritance'). + testsFound := self searchTestMethodsFor: ('SmTP1' , 'Inheritance') asClass >> ('method1','Inheritance') asSymbol . self assert: testsFound size equals: 2. self assert: (testsFound includes: ((SmTP1InheritanceSubClass1Test >> #testMethod1Inheritance) asRingDefinition )). diff --git a/SmartTest.package/SmTIcebergLoadedPackagesFilter.class/instance/shouldEntityBeFiltered..st b/SmartTest.package/SmTIcebergLoadedPackagesFilter.class/instance/shouldEntityBeFiltered.inPackages..st similarity index 73% rename from SmartTest.package/SmTIcebergLoadedPackagesFilter.class/instance/shouldEntityBeFiltered..st rename to SmartTest.package/SmTIcebergLoadedPackagesFilter.class/instance/shouldEntityBeFiltered.inPackages..st index ac1c36b..aa05d37 100644 --- a/SmartTest.package/SmTIcebergLoadedPackagesFilter.class/instance/shouldEntityBeFiltered..st +++ b/SmartTest.package/SmTIcebergLoadedPackagesFilter.class/instance/shouldEntityBeFiltered.inPackages..st @@ -1,3 +1,3 @@ asserting -shouldEntityBeFiltered: anEntity +shouldEntityBeFiltered: anEntity inPackages: packages ^ ((IceRepository registry flatCollect: [ :repository | repository loadedPackages collect: #name]) includes: anEntity package name) not. \ No newline at end of file diff --git a/SmartTest.package/SmTNoFilter.class/instance/shouldEntityBeFiltered..st b/SmartTest.package/SmTNoFilter.class/instance/shouldEntityBeFiltered.inPackages..st similarity index 60% rename from SmartTest.package/SmTNoFilter.class/instance/shouldEntityBeFiltered..st rename to SmartTest.package/SmTNoFilter.class/instance/shouldEntityBeFiltered.inPackages..st index ba83e06..8913a2f 100644 --- a/SmartTest.package/SmTNoFilter.class/instance/shouldEntityBeFiltered..st +++ b/SmartTest.package/SmTNoFilter.class/instance/shouldEntityBeFiltered.inPackages..st @@ -1,5 +1,5 @@ asserting -shouldEntityBeFiltered: anEntity +shouldEntityBeFiltered: anEntity inPackages: anObject "(anEntity methodClass allCallsOn collect: #ciPackage) not." ^ false \ No newline at end of file diff --git a/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAStandardMethod.foundMethods..st b/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAStandardMethod.foundMethods..st deleted file mode 100644 index faa47c8..0000000 --- a/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAStandardMethod.foundMethods..st +++ /dev/null @@ -1,7 +0,0 @@ -private - search -recursiveSearchForAStandardMethod: aRGMethodDefinition foundMethods: aCollection - (self collectSenderOfRGMethodeDefintion: aRGMethodDefinition) - reject: [ :aSenderMethod | (filter shouldEntityBeFiltered: aSenderMethod) or: [ aCollection includes: aSenderMethod ] ] - thenDo: [ :aSenderRGMethodDefinition | - aCollection add: aSenderRGMethodDefinition. - self recursiveSearchForAStandardMethod: aSenderRGMethodDefinition foundMethods: aCollection ] \ No newline at end of file diff --git a/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAStandardMethod.inPackages..st b/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAStandardMethod.inPackages..st new file mode 100644 index 0000000..4ea2fa3 --- /dev/null +++ b/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAStandardMethod.inPackages..st @@ -0,0 +1,14 @@ +private - search +recursiveSearchForAStandardMethod: aRGMethodDefinition inPackages: packages + | foundMethods | + foundMethods := OrderedCollection new. + (self collectSenderOfRGMethodeDefintion: aRGMethodDefinition) + reject: [ :aSenderMethod | + (filter shouldEntityBeFiltered: aSenderMethod inPackages: packages ) + or: [ foundMethods includes: aSenderMethod ] ] + thenDo: [ :aSenderRGMethodDefinition | + foundMethods add: aSenderRGMethodDefinition. + foundMethods addAll: (self + recursiveSearchForAStandardMethod: aSenderRGMethodDefinition + inPackages: packages) ]. + ^ foundMethods \ No newline at end of file diff --git a/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/testsForAStandardMethod..st b/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/testsForAStandardMethod..st index bc0903d..ecf2b39 100644 --- a/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/testsForAStandardMethod..st +++ b/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/testsForAStandardMethod..st @@ -1,10 +1,7 @@ API testsForAStandardMethod: aCompiledMethod - | dependencies packageToLookAt | - self flag: #TODO. "Remove dependencies and obtain it by the return of the #recursiveSearchForAStandardMethod: and add packageToLookAt as a parameter" - packageToLookAt := self filter extractPackagesFrom: aCompiledMethod. - dependencies := Set new. - self + | packagesToLookAt | + packagesToLookAt := self filter extractPackagesFrom: aCompiledMethod. + ^ (self recursiveSearchForAStandardMethod: aCompiledMethod methodReference - foundMethods: dependencies. - ^ dependencies select: #isTestMethod \ No newline at end of file + inPackages: packagesToLookAt ) select: #isTestMethod \ No newline at end of file diff --git a/SmartTest.package/SmTSpecifyPackagesNameFilter.class/class/selectedPackage.st b/SmartTest.package/SmTSpecifyPackagesNameFilter.class/class/selectedPackages.st similarity index 93% rename from SmartTest.package/SmTSpecifyPackagesNameFilter.class/class/selectedPackage.st rename to SmartTest.package/SmTSpecifyPackagesNameFilter.class/class/selectedPackages.st index e32e40b..a3134ec 100644 --- a/SmartTest.package/SmTSpecifyPackagesNameFilter.class/class/selectedPackage.st +++ b/SmartTest.package/SmTSpecifyPackagesNameFilter.class/class/selectedPackages.st @@ -1,5 +1,5 @@ accessing -selectedPackage +selectedPackages ^ (RPackageOrganizer default packages flatCollect: [ :package | package classTags diff --git a/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/extractPackagesFrom..st b/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/extractPackagesFrom..st new file mode 100644 index 0000000..b6a3a80 --- /dev/null +++ b/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/extractPackagesFrom..st @@ -0,0 +1,3 @@ +asserting +extractPackagesFrom: aCompiledMethod + ^ self packages. \ No newline at end of file diff --git a/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/packages.st b/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/packages.st index 98cf0a4..f0a8b88 100644 --- a/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/packages.st +++ b/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/packages.st @@ -2,4 +2,4 @@ accessing packages "Return the collection of package that was find from the settings" - ^ self class selectedPackage \ No newline at end of file + ^ self class selectedPackages \ No newline at end of file diff --git a/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/shouldEntityBeFiltered..st b/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/shouldEntityBeFiltered.inPackages..st similarity index 71% rename from SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/shouldEntityBeFiltered..st rename to SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/shouldEntityBeFiltered.inPackages..st index 2f8052a..f8e5ff5 100644 --- a/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/shouldEntityBeFiltered..st +++ b/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/shouldEntityBeFiltered.inPackages..st @@ -1,4 +1,4 @@ accessing -shouldEntityBeFiltered: anEntity +shouldEntityBeFiltered: anEntity inPackages: anObject "(anEntity methodClass allCallsOn collect: #ciPackage) not." ^ (self packages includes: anEntity methodClass category) not \ No newline at end of file From 72decb51f4c380a56c54b724b8fd4bce0ed092b2 Mon Sep 17 00:00:00 2001 From: eleonoreW Date: Fri, 25 May 2018 15:36:08 +0200 Subject: [PATCH 065/150] small collections optimizations + kill regexFilter singleton --- .../instance/extractPackagesFrom..st | 4 +-- .../instance/extractPackagesFrom..st | 2 +- .../instance/setUp.st | 5 +++- .../instance/setUp.st | 3 +- .../instance/setUp.st | 3 +- .../class/packagesRegEx..st | 5 ++-- .../class/packagesRegEx.st | 4 --- .../class/settingsOn..st | 14 ---------- .../instance/packages.st | 2 +- .../instance/packagesRegex..st | 3 ++ .../instance/packagesRegex.st | 3 ++ .../{class => instance}/selectedPackages.st | 0 .../properties.json | 8 +++--- .../instance/methodsFor..st | 28 +++++++++++++------ 14 files changed, 44 insertions(+), 40 deletions(-) delete mode 100644 SmartTest.package/SmTSpecifyPackagesNameFilter.class/class/packagesRegEx.st delete mode 100644 SmartTest.package/SmTSpecifyPackagesNameFilter.class/class/settingsOn..st create mode 100644 SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/packagesRegex..st create mode 100644 SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/packagesRegex.st rename SmartTest.package/SmTSpecifyPackagesNameFilter.class/{class => instance}/selectedPackages.st (100%) diff --git a/SmartTest.package/SmTDefaultClassPackagesFilter.class/instance/extractPackagesFrom..st b/SmartTest.package/SmTDefaultClassPackagesFilter.class/instance/extractPackagesFrom..st index 3e5b190..cb14e48 100644 --- a/SmartTest.package/SmTDefaultClassPackagesFilter.class/instance/extractPackagesFrom..st +++ b/SmartTest.package/SmTDefaultClassPackagesFilter.class/instance/extractPackagesFrom..st @@ -6,6 +6,6 @@ extractPackagesFrom: aCompiledMethod | packages | packages := super extractPackagesFrom: aCompiledMethod. - packages addAll: (aCompiledMethod methodClass allCallsOn collect: [ :rgMethod | super extractCompiledMethodPackageBaseName: rgMethod compiledMethod ]). - packages addAll: (aCompiledMethod methodClass extendingPackages collect: [ :aPackage | self extractCompiledMethodPackageBaseName: aPackage ]). + aCompiledMethod methodClass allCallsOn do: [ :rgMethod | packages add: (self extractCompiledMethodPackageBaseName: rgMethod compiledMethod) ]. + aCompiledMethod methodClass extendingPackages do: [ :aPackage | packages add: (self extractCompiledMethodPackageBaseName: aPackage) ]. ^ packages \ No newline at end of file diff --git a/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractPackagesFrom..st b/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractPackagesFrom..st index 2e48403..0fd93e5 100644 --- a/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractPackagesFrom..st +++ b/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractPackagesFrom..st @@ -7,5 +7,5 @@ extractPackagesFrom: aCompiledMethod | packages | packages := {(self extractCompiledMethodPackageBaseName: aCompiledMethod)} asOrderedCollection. aCompiledMethod isExtension - ifTrue: [ packages addAll: (aCompiledMethod package extendedClasses flatCollect: [ :aClass | aClass package name ]) ]. + ifTrue: [ (aCompiledMethod package extendedClasses do: [ :aClass | packages add: aClass package name ]) ]. ^ packages \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/setUp.st b/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/setUp.st index 899464a..e3b651a 100644 --- a/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/setUp.st +++ b/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/setUp.st @@ -1,6 +1,9 @@ running setUp "Here we want to test the SmTRestrictedPackageFilter with the static strategy 'sendersFinder'. We look for the tests located in both SmartTestDataOutsideP1 and P2." + super setUp. self timeLimit: 60 seconds. - smartFinder filter: (SmTSpecifyPackagesNameFilter packagesRegex: 'SmartTestDataOutsideP1|SmartTestDataOutsideP2') new \ No newline at end of file + smartFinder + filter: + (SmTSpecifyPackagesNameFilter packagesRegex: 'SmartTestDataOutsideP1|SmartTestDataOutsideP2') \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/setUp.st b/SmartTest.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/setUp.st index 22fd013..d682286 100644 --- a/SmartTest.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/setUp.st +++ b/SmartTest.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/setUp.st @@ -1,6 +1,7 @@ running setUp "Here we want to test the SmTRestrictedPackageFilter with the static strategy 'sendersFinder'. We only look for the tests located in SmartTestDataOutsideP1." + super setUp. self timeLimit: 60 seconds. - smartFinder filter: (SmTSpecifyPackagesNameFilter packagesRegex: 'SmartTestDataOutsideP1') new + smartFinder filter: (SmTSpecifyPackagesNameFilter packagesRegex: 'SmartTestDataOutsideP1') \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/setUp.st b/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/setUp.st index d02fb7c..3e1896d 100644 --- a/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/setUp.st +++ b/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/setUp.st @@ -1,5 +1,4 @@ running setUp super setUp. - smartFinder - filter: (SmTSpecifyPackagesNameFilter packagesRegex: 'SmartTest-Tests-Data') new \ No newline at end of file + smartFinder filter: (SmTSpecifyPackagesNameFilter packagesRegex: 'SmartTest-Tests-Data') \ No newline at end of file diff --git a/SmartTest.package/SmTSpecifyPackagesNameFilter.class/class/packagesRegEx..st b/SmartTest.package/SmTSpecifyPackagesNameFilter.class/class/packagesRegEx..st index 2edc203..cc1e9c6 100644 --- a/SmartTest.package/SmTSpecifyPackagesNameFilter.class/class/packagesRegEx..st +++ b/SmartTest.package/SmTSpecifyPackagesNameFilter.class/class/packagesRegEx..st @@ -1,4 +1,5 @@ settings-definition packagesRegex: aRegexStringCollection - self flag: 'why is it on the class side !?!?!?'. - collectionOfRegex := aRegexStringCollection \ No newline at end of file + ^ self new + packagesRegex: aRegexStringCollection; + yourself \ No newline at end of file diff --git a/SmartTest.package/SmTSpecifyPackagesNameFilter.class/class/packagesRegEx.st b/SmartTest.package/SmTSpecifyPackagesNameFilter.class/class/packagesRegEx.st deleted file mode 100644 index 54ec61b..0000000 --- a/SmartTest.package/SmTSpecifyPackagesNameFilter.class/class/packagesRegEx.st +++ /dev/null @@ -1,4 +0,0 @@ -settings-definition -packagesRegex - self flag: 'why is it on the class side !?!?!?'. - ^ collectionOfRegex ifNil: [ collectionOfRegex := '' ] \ No newline at end of file diff --git a/SmartTest.package/SmTSpecifyPackagesNameFilter.class/class/settingsOn..st b/SmartTest.package/SmTSpecifyPackagesNameFilter.class/class/settingsOn..st deleted file mode 100644 index 20add0a..0000000 --- a/SmartTest.package/SmTSpecifyPackagesNameFilter.class/class/settingsOn..st +++ /dev/null @@ -1,14 +0,0 @@ -settings -settingsOn: aBuilder - - (aBuilder setting: #packagesRegex) - label: 'SmartTest filter Regex configuration'; - target: self; - parent: #SmTFilter; - ghostHelp: 'SmartTe|Start*Wars'; - notInStyle; - default: ''; - description: - 'Change the value to scope the package you want to explore. -If you want to check the packages are well detected,run - SmTFilterSpecifyPackageSettings selectedPackage' \ No newline at end of file diff --git a/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/packages.st b/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/packages.st index f0a8b88..1e530b5 100644 --- a/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/packages.st +++ b/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/packages.st @@ -2,4 +2,4 @@ accessing packages "Return the collection of package that was find from the settings" - ^ self class selectedPackages \ No newline at end of file + ^ self selectedPackages \ No newline at end of file diff --git a/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/packagesRegex..st b/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/packagesRegex..st new file mode 100644 index 0000000..b85808c --- /dev/null +++ b/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/packagesRegex..st @@ -0,0 +1,3 @@ +accessing +packagesRegex: anObject + packagesRegex := anObject \ No newline at end of file diff --git a/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/packagesRegex.st b/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/packagesRegex.st new file mode 100644 index 0000000..7242357 --- /dev/null +++ b/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/packagesRegex.st @@ -0,0 +1,3 @@ +accessing +packagesRegex + ^ packagesRegex \ No newline at end of file diff --git a/SmartTest.package/SmTSpecifyPackagesNameFilter.class/class/selectedPackages.st b/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/selectedPackages.st similarity index 100% rename from SmartTest.package/SmTSpecifyPackagesNameFilter.class/class/selectedPackages.st rename to SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/selectedPackages.st diff --git a/SmartTest.package/SmTSpecifyPackagesNameFilter.class/properties.json b/SmartTest.package/SmTSpecifyPackagesNameFilter.class/properties.json index 2e789f3..51a6e86 100644 --- a/SmartTest.package/SmTSpecifyPackagesNameFilter.class/properties.json +++ b/SmartTest.package/SmTSpecifyPackagesNameFilter.class/properties.json @@ -2,12 +2,12 @@ "commentStamp" : "EleonoreWALD 5/3/2018 18:09", "super" : "SmTFilterStrategy", "category" : "SmartTest-Filter", - "classinstvars" : [ - "collectionOfRegex" - ], + "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], - "instvars" : [ ], + "instvars" : [ + "packagesRegex" + ], "name" : "SmTSpecifyPackagesNameFilter", "type" : "normal" } \ No newline at end of file diff --git a/SmartTest.package/SmTTestFinderStrategy.class/instance/methodsFor..st b/SmartTest.package/SmTTestFinderStrategy.class/instance/methodsFor..st index b51b966..d99c2dc 100644 --- a/SmartTest.package/SmTTestFinderStrategy.class/instance/methodsFor..st +++ b/SmartTest.package/SmTTestFinderStrategy.class/instance/methodsFor..st @@ -1,14 +1,26 @@ api methodsFor: aCompiledMethod - | finalFoundMethods | ^ self cache at: aCompiledMethod methodReference - ifAbsent: [ #(testsForATestMethod: testsForASetUpMethod: testsForATearDownMethod: testsForAStandardMethod:) - do: [ :heuristic | - (self perform: heuristic with: aCompiledMethod) - ifNotEmpty: [ :methods | - finalFoundMethods := self testsForMethod: aCompiledMethod. - finalFoundMethods addAll: (self computeInheritedTestFromDiscoveredTest: methods). - ^ finalFoundMethods ] ]. + ifAbsent: [ (self testsForATestMethod: aCompiledMethod) + ifNotEmpty: [ :methods | + ^ (self testsForMethod: aCompiledMethod) + addAll: (self computeInheritedTestFromDiscoveredTest: methods); + yourself ]. + (self testsForASetUpMethod: aCompiledMethod) + ifNotEmpty: [ :methods | + ^ (self testsForMethod: aCompiledMethod) + addAll: (self computeInheritedTestFromDiscoveredTest: methods); + yourself ]. + (self testsForATearDownMethod: aCompiledMethod) + ifNotEmpty: [ :methods | + ^ (self testsForMethod: aCompiledMethod) + addAll: (self computeInheritedTestFromDiscoveredTest: methods); + yourself ]. + (self testsForAStandardMethod: aCompiledMethod) + ifNotEmpty: [ :methods | + ^ (self testsForMethod: aCompiledMethod) + addAll: (self computeInheritedTestFromDiscoveredTest: methods); + yourself ]. self cache at: aCompiledMethod methodReference put: Set new. ^ {} ] \ No newline at end of file From eb8b5433f7fe706a6946d931ce4fb5d4ebc51cf7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Verhaeghe?= Date: Fri, 25 May 2018 16:46:56 +0200 Subject: [PATCH 066/150] Iceberg filter don't consider default pharo package --- .../instance/shouldEntityBeFiltered..st | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SmartTest.package/SmTIcebergLoadedPackagesFilter.class/instance/shouldEntityBeFiltered..st b/SmartTest.package/SmTIcebergLoadedPackagesFilter.class/instance/shouldEntityBeFiltered..st index ac1c36b..11e7488 100644 --- a/SmartTest.package/SmTIcebergLoadedPackagesFilter.class/instance/shouldEntityBeFiltered..st +++ b/SmartTest.package/SmTIcebergLoadedPackagesFilter.class/instance/shouldEntityBeFiltered..st @@ -1,3 +1,3 @@ asserting shouldEntityBeFiltered: anEntity - ^ ((IceRepository registry flatCollect: [ :repository | repository loadedPackages collect: #name]) includes: anEntity package name) not. \ No newline at end of file + ^ (((IceRepository registry reject: [ :registry | registry name = 'pharo' ]) flatCollect: [ :repository | repository loadedPackages collect: #name]) includes: anEntity package name) not. \ No newline at end of file From 3589ef495bb2f75493faf3bfceb262ca2bdd6a5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Verhaeghe?= Date: Fri, 25 May 2018 16:58:47 +0200 Subject: [PATCH 067/150] Update .smalltalk.ston --- .smalltalk.ston | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.smalltalk.ston b/.smalltalk.ston index b751a01..a7e8b1a 100644 --- a/.smalltalk.ston +++ b/.smalltalk.ston @@ -5,5 +5,12 @@ SmalltalkCISpec { #directory : '', #platforms : [ #pharo ] } - ] + ], + #testing : { + #coverage : { + #packages : [ 'SmartTest' ], + #onWarningLog : true, + #useLatestMetacello : true + } + } } From 4694fb9f2f14a421dbe522a5dec723e2115facb6 Mon Sep 17 00:00:00 2001 From: eleonoreW Date: Fri, 25 May 2018 17:10:39 +0200 Subject: [PATCH 068/150] Refractoring of the code and fixing recursive method. --- .../assert.containsAtLeastMethods..st | 6 ++ .../instance/assert.equalsToMethods..st | 5 ++ .../instance/testInheritedMethod.st | 10 ++-- .../instance/initCache.st | 60 +++++++++---------- ...iveSearchForAStandardMethod.inPackages..st | 13 +--- ...andardMethod.inPackages.alreadyVisited..st | 14 +++++ .../instance/testInheritedMethod.st | 10 ++++ .../instance/initCache.st | 57 +++++++++--------- .../instance/testMethod1Inheritance.st | 2 +- .../instance/testMethod1Inheritance.st | 3 - 10 files changed, 103 insertions(+), 77 deletions(-) create mode 100644 SmartTest.package/SmTFilterAbstractTest.class/instance/assert.containsAtLeastMethods..st create mode 100644 SmartTest.package/SmTFilterAbstractTest.class/instance/assert.equalsToMethods..st create mode 100644 SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAStandardMethod.inPackages.alreadyVisited..st create mode 100644 SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testInheritedMethod.st delete mode 100644 SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass2Test.class/instance/testMethod1Inheritance.st diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/assert.containsAtLeastMethods..st b/SmartTest.package/SmTFilterAbstractTest.class/instance/assert.containsAtLeastMethods..st new file mode 100644 index 0000000..c6c1a67 --- /dev/null +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/assert.containsAtLeastMethods..st @@ -0,0 +1,6 @@ +helpers +assert: foundMethods containsAtLeastMethods: aCollectionOfStringRepresentedMethod + | foundMethodsNames | + foundMethodsNames := foundMethods collect: #asString. + aCollectionOfStringRepresentedMethod + do: [ :method | self assert: (foundMethodsNames includes: method) ] \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/assert.equalsToMethods..st b/SmartTest.package/SmTFilterAbstractTest.class/instance/assert.equalsToMethods..st new file mode 100644 index 0000000..604257e --- /dev/null +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/assert.equalsToMethods..st @@ -0,0 +1,5 @@ +helpers +assert: foundMethods equalsToMethods: aCollectionOfStringRepresentedMethod + self + assert: (foundMethods collect: #asString) + equals: aCollectionOfStringRepresentedMethod asSet \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testInheritedMethod.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testInheritedMethod.st index 3ffb562..ca24f74 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/testInheritedMethod.st +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testInheritedMethod.st @@ -2,7 +2,9 @@ tests testInheritedMethod | testsFound | - testsFound := self searchTestMethodsFor:( ('SmT','P1Inheritance') asClass >> ('method1','Inheritance') asSymbol). - self assert: (testsFound includes: ((('SmT','P1InheritanceSubClass1Test') asClass >> ('testMethod1','Inheritance') asSymbol) asRingDefinition)). - self assert: (testsFound includes: ((('SmT','P1InheritanceTest') asClass >> ('testMethod1','Inheritance') asSymbol) asRingDefinition)). - \ No newline at end of file + testsFound := self + searchTestMethodsFor: ('SmT' , 'P1Inheritance') asClass >> ('method1' , 'Inheritance') asSymbol. + self + assert: testsFound + equalsToMethods: + #('SmTP1InheritanceSubClass1Test>>#testMethod1Inheritance' 'SmTP1InheritanceSubClass2Test>>#testMethod1Inheritance') \ No newline at end of file diff --git a/SmartTest.package/SmTFinderStrategyReflectivityTest.class/instance/initCache.st b/SmartTest.package/SmTFinderStrategyReflectivityTest.class/instance/initCache.st index 269661b..44e959b 100644 --- a/SmartTest.package/SmTFinderStrategyReflectivityTest.class/instance/initCache.st +++ b/SmartTest.package/SmTFinderStrategyReflectivityTest.class/instance/initCache.st @@ -1,35 +1,35 @@ initialization initCache - ^ {((SmTClass >> #method1 )asRingDefinition + ^ {((SmTClass >> #method1) asRingDefinition -> - {(SmTClassTest >> #testMethod1 )asRingDefinition. - (SmTClassTest >> #testMethod2 )asRingDefinition. - (RGMethodDefinition className: 'SmTInheritClassTest' selector: #testMethod1 isMetaSide: false)} asSet). - ((SmTClass >> #method2 )asRingDefinition - -> {(SmTClassTest >> #testMethod2 )asRingDefinition} asSet). - - ((SmTClass >> #method3: )asRingDefinition + {(SmTClassTest >> #testMethod1) asRingDefinition. + (SmTClassTest >> #testMethod2) asRingDefinition. + (RGMethodDefinition + className: 'SmTInheritClassTest' + selector: #testMethod1 + isMetaSide: false)} asSet). + ((SmTClass >> #method2) asRingDefinition + -> {(SmTClassTest >> #testMethod2) asRingDefinition} asSet). + ((SmTClass >> #method3:) asRingDefinition -> - {(SmTClassTest >> #testMethod1 )asRingDefinition. - (SmTClassTest >> #testMethod2 )asRingDefinition. - (SmTClassTest >> #testMethod3 )asRingDefinition} asSet). - ((SmTClass >> #method4 )asRingDefinition + {(SmTClassTest >> #testMethod1) asRingDefinition. + (SmTClassTest >> #testMethod2) asRingDefinition. + (SmTClassTest >> #testMethod3) asRingDefinition} asSet). + ((SmTClass >> #method4) asRingDefinition -> - {(SmTClassTest >> #testMethod2 )asRingDefinition. - (SmTClassTest >> #testMethod3 )asRingDefinition. - (SmTClassTest >> #testMethod4 )asRingDefinition} asSet). - - ((SmTClass2 >> #initialize ) asRingDefinition - -> {(SmTClassTest >> #testMethod5 ) asRingDefinition} asSet). - - ((SmTClassTest >> #testMethod4 )asRingDefinition - -> {(SmTClassTest >> #testMethod4 )asRingDefinition} asSet). - - ((SmTClassOutside >> #method2 )asRingDefinition - -> {(SmTClassOutsideTest >> #testMethodOutsidePackage1 ) asRingDefinition.} asSet). - - - ((SmTP1Inheritance>> #method1Inheritance)asRingDefinition - ->{(SmTP1InheritanceSubClass1Test >> #testMethod1Inheritance) asRingDefinition. - (SmTP1InheritanceSubClass2Test >> #testMethod1Inheritance) asRingDefinition.} asSet) - } asDictionary \ No newline at end of file + {(SmTClassTest >> #testMethod2) asRingDefinition. + (SmTClassTest >> #testMethod3) asRingDefinition. + (SmTClassTest >> #testMethod4) asRingDefinition} asSet). + ((SmTClass2 >> #initialize) asRingDefinition + -> {(SmTClassTest >> #testMethod5) asRingDefinition} asSet). + ((SmTClassTest >> #testMethod4) asRingDefinition + -> {(SmTClassTest >> #testMethod4) asRingDefinition} asSet). + ((SmTClassOutside >> #method2) asRingDefinition + -> {(SmTClassOutsideTest >> #testMethodOutsidePackage1) asRingDefinition} asSet). + ((('SmTP1' , 'Inheritance') asClass >> ('method1' , 'Inheritance') asSymbol) + asRingDefinition + -> + {(('SmTP1' , 'InheritanceSubClass1Test') asClass >> 'testMethod1Inheritance' asSymbol) + asRingDefinition. + (('SmTP1' , 'InheritanceSubClass2Test') asClass >> 'testMethod1Inheritance' asSymbol) + asRingDefinition} asSet)} asDictionary \ No newline at end of file diff --git a/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAStandardMethod.inPackages..st b/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAStandardMethod.inPackages..st index 4ea2fa3..90ea373 100644 --- a/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAStandardMethod.inPackages..st +++ b/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAStandardMethod.inPackages..st @@ -1,14 +1,3 @@ private - search recursiveSearchForAStandardMethod: aRGMethodDefinition inPackages: packages - | foundMethods | - foundMethods := OrderedCollection new. - (self collectSenderOfRGMethodeDefintion: aRGMethodDefinition) - reject: [ :aSenderMethod | - (filter shouldEntityBeFiltered: aSenderMethod inPackages: packages ) - or: [ foundMethods includes: aSenderMethod ] ] - thenDo: [ :aSenderRGMethodDefinition | - foundMethods add: aSenderRGMethodDefinition. - foundMethods addAll: (self - recursiveSearchForAStandardMethod: aSenderRGMethodDefinition - inPackages: packages) ]. - ^ foundMethods \ No newline at end of file + ^ self recursiveSearchForAStandardMethod: aRGMethodDefinition inPackages: packages alreadyVisited: Set new \ No newline at end of file diff --git a/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAStandardMethod.inPackages.alreadyVisited..st b/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAStandardMethod.inPackages.alreadyVisited..st new file mode 100644 index 0000000..147d3d9 --- /dev/null +++ b/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAStandardMethod.inPackages.alreadyVisited..st @@ -0,0 +1,14 @@ +private - search +recursiveSearchForAStandardMethod: aRGMethodDefinition inPackages: packages alreadyVisited: alreadyVisitedMethods + | foundMethods | + foundMethods := OrderedCollection new. + (self collectSenderOfRGMethodeDefintion: aRGMethodDefinition) + reject: [ :aSenderMethod | + | reject | + reject := (filter shouldEntityBeFiltered: aSenderMethod inPackages: packages) or: [ alreadyVisitedMethods includes: aSenderMethod ]. + alreadyVisitedMethods add: aSenderMethod. + reject ] + thenDo: [ :aSenderRGMethodDefinition | + foundMethods add: aSenderRGMethodDefinition. + foundMethods addAll: (self recursiveSearchForAStandardMethod: aSenderRGMethodDefinition inPackages: packages alreadyVisited: alreadyVisitedMethods) ]. + ^ foundMethods \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testInheritedMethod.st b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testInheritedMethod.st new file mode 100644 index 0000000..ca24f74 --- /dev/null +++ b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testInheritedMethod.st @@ -0,0 +1,10 @@ +tests +testInheritedMethod + + | testsFound | + testsFound := self + searchTestMethodsFor: ('SmT' , 'P1Inheritance') asClass >> ('method1' , 'Inheritance') asSymbol. + self + assert: testsFound + equalsToMethods: + #('SmTP1InheritanceSubClass1Test>>#testMethod1Inheritance' 'SmTP1InheritanceSubClass2Test>>#testMethod1Inheritance') \ No newline at end of file diff --git a/SmartTest.package/SmTTestCoverageFinderTest.class/instance/initCache.st b/SmartTest.package/SmTTestCoverageFinderTest.class/instance/initCache.st index e26256a..aab8556 100644 --- a/SmartTest.package/SmTTestCoverageFinderTest.class/instance/initCache.st +++ b/SmartTest.package/SmTTestCoverageFinderTest.class/instance/initCache.st @@ -1,32 +1,35 @@ running initCache - ^ {((SmTClass >> #method1 )asRingDefinition + ^ {((SmTClass >> #method1) asRingDefinition -> - {(SmTClassTest >> #testMethod1 )asRingDefinition. - (SmTClassTest >> #testMethod2 )asRingDefinition. - (RGMethodDefinition className: 'SmTInheritClassTest' selector: #testMethod1 isMetaSide: false)} asSet). - ((SmTClass >> #method2 )asRingDefinition - -> {(SmTClassTest >> #testMethod2 )asRingDefinition} asSet). - ((SmTClass >> #method3: )asRingDefinition + {(SmTClassTest >> #testMethod1) asRingDefinition. + (SmTClassTest >> #testMethod2) asRingDefinition. + (RGMethodDefinition + className: 'SmTInheritClassTest' + selector: #testMethod1 + isMetaSide: false)} asSet). + ((SmTClass >> #method2) asRingDefinition + -> {(SmTClassTest >> #testMethod2) asRingDefinition} asSet). + ((SmTClass >> #method3:) asRingDefinition -> - {(SmTClassTest >> #testMethod1 )asRingDefinition. - (SmTClassTest >> #testMethod2 )asRingDefinition. - (SmTClassTest >> #testMethod3 )asRingDefinition} asSet). - ((SmTClass >> #method4 )asRingDefinition + {(SmTClassTest >> #testMethod1) asRingDefinition. + (SmTClassTest >> #testMethod2) asRingDefinition. + (SmTClassTest >> #testMethod3) asRingDefinition} asSet). + ((SmTClass >> #method4) asRingDefinition -> - {(SmTClassTest >> #testMethod2 )asRingDefinition. - (SmTClassTest >> #testMethod3 )asRingDefinition. - (SmTClassTest >> #testMethod4 )asRingDefinition} asSet). - ((SmTClass2 >> #initialize )asRingDefinition - -> {(SmTClassTest >> #testMethod5 )asRingDefinition} asSet). - ((SmTClassTest >> #testMethod4 )asRingDefinition - -> {(SmTClassTest >> #testMethod4 )asRingDefinition} asSet). - ((SmTClassOutside >> #method2 )asRingDefinition - -> {(SmTClassOutsideTest >> #testMethodOutsidePackage1 ) asRingDefinition.} asSet). - - ((SmTP1Inheritance>> #method1Inheritance)asRingDefinition - ->{(SmTP1InheritanceSubClass1Test >> #testMethod1Inheritance) asRingDefinition. - (SmTP1InheritanceSubClass2Test >> #testMethod1Inheritance) asRingDefinition.} asSet) - - - } asDictionary \ No newline at end of file + {(SmTClassTest >> #testMethod2) asRingDefinition. + (SmTClassTest >> #testMethod3) asRingDefinition. + (SmTClassTest >> #testMethod4) asRingDefinition} asSet). + ((SmTClass2 >> #initialize) asRingDefinition + -> {(SmTClassTest >> #testMethod5) asRingDefinition} asSet). + ((SmTClassTest >> #testMethod4) asRingDefinition + -> {(SmTClassTest >> #testMethod4) asRingDefinition} asSet). + ((SmTClassOutside >> #method2) asRingDefinition + -> {(SmTClassOutsideTest >> #testMethodOutsidePackage1) asRingDefinition} asSet). + ((('SmTP1' , 'Inheritance') asClass >> ('method1' , 'Inheritance') asSymbol) + asRingDefinition + -> + {(('SmTP1' , 'InheritanceSubClass1Test') asClass >> 'testMethod1Inheritance' asSymbol) + asRingDefinition. + (('SmTP1' , 'InheritanceSubClass2Test') asClass >> 'testMethod1Inheritance' asSymbol) + asRingDefinition} asSet)} asDictionary \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass1Test.class/instance/testMethod1Inheritance.st b/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass1Test.class/instance/testMethod1Inheritance.st index 0c8b99b..67bfdbc 100644 --- a/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass1Test.class/instance/testMethod1Inheritance.st +++ b/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass1Test.class/instance/testMethod1Inheritance.st @@ -1,4 +1,4 @@ tests testMethod1Inheritance - super. + super testMethod1Inheritance. "The behaviour of this test is irrelevant". \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass2Test.class/instance/testMethod1Inheritance.st b/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass2Test.class/instance/testMethod1Inheritance.st deleted file mode 100644 index 4b81b42..0000000 --- a/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass2Test.class/instance/testMethod1Inheritance.st +++ /dev/null @@ -1,3 +0,0 @@ -tests -testMethod1Inheritance - "The behaviour of this test is irrelevant". \ No newline at end of file From dccf7c0759b88670cfef7e9488788aa4434203d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Verhaeghe?= Date: Sat, 26 May 2018 19:10:31 +0200 Subject: [PATCH 069/150] Update .smalltalk.ston --- .smalltalk.ston | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/.smalltalk.ston b/.smalltalk.ston index a7e8b1a..b751a01 100644 --- a/.smalltalk.ston +++ b/.smalltalk.ston @@ -5,12 +5,5 @@ SmalltalkCISpec { #directory : '', #platforms : [ #pharo ] } - ], - #testing : { - #coverage : { - #packages : [ 'SmartTest' ], - #onWarningLog : true, - #useLatestMetacello : true - } - } + ] } From fdf7269262c98b64287552c713125e1852fd0bdf Mon Sep 17 00:00:00 2001 From: badetitou Date: Sat, 26 May 2018 19:26:33 +0200 Subject: [PATCH 070/150] ~ green tests --- .../instance/testMethod1Inheritance.st | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass2Test.class/instance/testMethod1Inheritance.st diff --git a/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass2Test.class/instance/testMethod1Inheritance.st b/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass2Test.class/instance/testMethod1Inheritance.st new file mode 100644 index 0000000..67bfdbc --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass2Test.class/instance/testMethod1Inheritance.st @@ -0,0 +1,4 @@ +tests +testMethod1Inheritance + super testMethod1Inheritance. + "The behaviour of this test is irrelevant". \ No newline at end of file From 2145c8d0690a191d7e2edbf1ba7341076a577905 Mon Sep 17 00:00:00 2001 From: eleonoreW Date: Mon, 28 May 2018 10:47:02 +0200 Subject: [PATCH 071/150] Correction of the bug with the "inexistent" method (an inherited method from a superclass). --- .../SmTFinderAbstractTest.class/instance/testInheritance.st | 6 +++--- .../instance/initCache.st | 3 +-- .../instance/testInheritance.st | 2 +- .../SmTTestCoverageFinderTest.class/instance/initCache.st | 2 +- .../instance/testMethod1Inheritance.st | 4 ---- 5 files changed, 6 insertions(+), 11 deletions(-) delete mode 100644 SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass2Test.class/instance/testMethod1Inheritance.st diff --git a/SmartTest.package/SmTFinderAbstractTest.class/instance/testInheritance.st b/SmartTest.package/SmTFinderAbstractTest.class/instance/testInheritance.st index 0fb98d7..bd47a91 100644 --- a/SmartTest.package/SmTFinderAbstractTest.class/instance/testInheritance.st +++ b/SmartTest.package/SmTFinderAbstractTest.class/instance/testInheritance.st @@ -1,9 +1,9 @@ tests testInheritance - | testsFound | + | testsFound testMethod | testsFound := self searchTestMethodsFor: ('SmTP1' , 'Inheritance') asClass >> ('method1','Inheritance') asSymbol . - +testMethod := RGMethodDefinition className: 'SmTP1InheritanceSubClass2Test' selector: #testMethod1Inheritance isMetaSide: false. self assert: testsFound size equals: 2. self assert: (testsFound includes: ((SmTP1InheritanceSubClass1Test >> #testMethod1Inheritance) asRingDefinition )). - self assert: (testsFound includes: ( (SmTP1InheritanceSubClass2Test >> #testMethod1Inheritance) asRingDefinition )). \ No newline at end of file + self assert: (testsFound includes: (testMethod) ). \ No newline at end of file diff --git a/SmartTest.package/SmTFinderStrategyReflectivityTest.class/instance/initCache.st b/SmartTest.package/SmTFinderStrategyReflectivityTest.class/instance/initCache.st index 44e959b..a1a94ce 100644 --- a/SmartTest.package/SmTFinderStrategyReflectivityTest.class/instance/initCache.st +++ b/SmartTest.package/SmTFinderStrategyReflectivityTest.class/instance/initCache.st @@ -31,5 +31,4 @@ initCache -> {(('SmTP1' , 'InheritanceSubClass1Test') asClass >> 'testMethod1Inheritance' asSymbol) asRingDefinition. - (('SmTP1' , 'InheritanceSubClass2Test') asClass >> 'testMethod1Inheritance' asSymbol) - asRingDefinition} asSet)} asDictionary \ No newline at end of file + (RGMethodDefinition className: 'SmTP1InheritanceSubClass2Test' selector: #testMethod1Inheritance isMetaSide: false)} asSet)} asDictionary \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/testInheritance.st b/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/testInheritance.st index 92a34b4..9c4cdc8 100644 --- a/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/testInheritance.st +++ b/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/testInheritance.st @@ -7,4 +7,4 @@ testInheritance self assert: testsFound isEmpty. self deny: (testsFound includes: ((SmTP1InheritanceSubClass1Test >> #testMethod1Inheritance) asRingDefinition )). - self deny: (testsFound includes: ( (SmTP1InheritanceSubClass2Test >> #testMethod1Inheritance) asRingDefinition )). \ No newline at end of file + self deny: (testsFound includes: ( (RGMethodDefinition className: 'SmTP1InheritanceSubClass2Test' selector: #testMethod1Inheritance isMetaSide: false) asRingDefinition )). \ No newline at end of file diff --git a/SmartTest.package/SmTTestCoverageFinderTest.class/instance/initCache.st b/SmartTest.package/SmTTestCoverageFinderTest.class/instance/initCache.st index aab8556..8bdca6c 100644 --- a/SmartTest.package/SmTTestCoverageFinderTest.class/instance/initCache.st +++ b/SmartTest.package/SmTTestCoverageFinderTest.class/instance/initCache.st @@ -31,5 +31,5 @@ initCache -> {(('SmTP1' , 'InheritanceSubClass1Test') asClass >> 'testMethod1Inheritance' asSymbol) asRingDefinition. - (('SmTP1' , 'InheritanceSubClass2Test') asClass >> 'testMethod1Inheritance' asSymbol) + (RGMethodDefinition className: 'SmTP1InheritanceSubClass2Test' selector: #testMethod1Inheritance isMetaSide: false) asRingDefinition} asSet)} asDictionary \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass2Test.class/instance/testMethod1Inheritance.st b/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass2Test.class/instance/testMethod1Inheritance.st deleted file mode 100644 index 67bfdbc..0000000 --- a/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass2Test.class/instance/testMethod1Inheritance.st +++ /dev/null @@ -1,4 +0,0 @@ -tests -testMethod1Inheritance - super testMethod1Inheritance. - "The behaviour of this test is irrelevant". \ No newline at end of file From bb8747855bc1b9b5f92fa5307f635385cf5a4604 Mon Sep 17 00:00:00 2001 From: eleonoreW Date: Mon, 28 May 2018 11:14:32 +0200 Subject: [PATCH 072/150] PAckage was added and the dependencies between packages P1 and P3 were resolved. The names of the methods and arguments have been changed accrodingly. --- .../instance/testExtensionTestInside.st | 2 +- .../instance/testExtensionTestInside.st | 2 +- .../SmTClassP3.class/README.md | 9 --------- .../SmTClassP3.class/properties.json | 11 ----------- .../instance/testMethod1ExtensionTestInside.st | 2 +- .../SmTExtensionP1_2.extension/properties.json | 3 --- .../instance/extensionMethodP4.st} | 2 +- .../SmTExtensionP4.extension/properties.json | 3 +++ SmartTestDataOutsideP4.package/.filetree | 5 +++++ .../SmTExtensionP4.class}/README.md | 0 .../instance/method1ExtensionTestInside.st | 0 .../SmTExtensionP4.class}/properties.json | 4 ++-- .../monticello.meta/categories.st | 1 + .../monticello.meta/initializers.st | 0 .../monticello.meta/package | 1 + SmartTestDataOutsideP4.package/properties.json | 1 + 16 files changed, 17 insertions(+), 29 deletions(-) delete mode 100644 SmartTestDataOutsideP3.package/SmTClassP3.class/README.md delete mode 100644 SmartTestDataOutsideP3.package/SmTClassP3.class/properties.json delete mode 100644 SmartTestDataOutsideP3.package/SmTExtensionP1_2.extension/properties.json rename SmartTestDataOutsideP3.package/{SmTExtensionP1_2.extension/instance/extensionMethodP1_2.st => SmTExtensionP4.extension/instance/extensionMethodP4.st} (55%) create mode 100644 SmartTestDataOutsideP3.package/SmTExtensionP4.extension/properties.json create mode 100644 SmartTestDataOutsideP4.package/.filetree rename {SmartTestDataOutsideP1.package/SmTExtensionP1_2.class => SmartTestDataOutsideP4.package/SmTExtensionP4.class}/README.md (100%) rename {SmartTestDataOutsideP1.package/SmTExtensionP1_2.class => SmartTestDataOutsideP4.package/SmTExtensionP4.class}/instance/method1ExtensionTestInside.st (100%) rename {SmartTestDataOutsideP1.package/SmTExtensionP1_2.class => SmartTestDataOutsideP4.package/SmTExtensionP4.class}/properties.json (61%) create mode 100644 SmartTestDataOutsideP4.package/monticello.meta/categories.st create mode 100644 SmartTestDataOutsideP4.package/monticello.meta/initializers.st create mode 100644 SmartTestDataOutsideP4.package/monticello.meta/package create mode 100644 SmartTestDataOutsideP4.package/properties.json diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testExtensionTestInside.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testExtensionTestInside.st index 8813c68..96e7cf5 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/testExtensionTestInside.st +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testExtensionTestInside.st @@ -2,7 +2,7 @@ tests testExtensionTestInside | testsFound | - testsFound := self searchTestMethodsFor:( ('SmT','ExtensionP1_2') asClass >> ('method1ExtensionTest','Inside') asSymbol). + testsFound := self searchTestMethodsFor:( ('SmT','ExtensionP4') asClass >> ('method1ExtensionTest','Inside') asSymbol). self deny: (testsFound includes: ((('SmT','ClassTestP3') asClass >> ('testMethod1ExtensionTest','Inside') asSymbol) asRingDefinition )). \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testExtensionTestInside.st b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testExtensionTestInside.st index 3b55767..635a00a 100644 --- a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testExtensionTestInside.st +++ b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testExtensionTestInside.st @@ -2,7 +2,7 @@ tests testExtensionTestInside | testsFound | - testsFound := self searchTestMethodsFor:( ('SmT','ExtensionP1_2') asClass >> ('method1ExtensionTest','Inside') asSymbol). + testsFound := self searchTestMethodsFor:( ('SmT','ExtensionP4') asClass >> ('method1ExtensionTest','Inside') asSymbol). self assert: (testsFound includes: ((('SmT','ClassTestP3') asClass >> ('testMethod1ExtensionTest','Inside') asSymbol) asRingDefinition )). \ No newline at end of file diff --git a/SmartTestDataOutsideP3.package/SmTClassP3.class/README.md b/SmartTestDataOutsideP3.package/SmTClassP3.class/README.md deleted file mode 100644 index c063587..0000000 --- a/SmartTestDataOutsideP3.package/SmTClassP3.class/README.md +++ /dev/null @@ -1,9 +0,0 @@ -Data for SmartTest tests on the filters (default, defaultClass, restricted package). - -Methods of this class have long name in order to be unique and explicit. -Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. - -In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). - - -The methods and tests in this package are not located in the same package as the modified method. \ No newline at end of file diff --git a/SmartTestDataOutsideP3.package/SmTClassP3.class/properties.json b/SmartTestDataOutsideP3.package/SmTClassP3.class/properties.json deleted file mode 100644 index c339b7a..0000000 --- a/SmartTestDataOutsideP3.package/SmTClassP3.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/11/2018 13:39", - "super" : "Object", - "category" : "SmartTestDataOutsideP3", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTClassP3", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTestDataOutsideP3.package/SmTClassTestP3.class/instance/testMethod1ExtensionTestInside.st b/SmartTestDataOutsideP3.package/SmTClassTestP3.class/instance/testMethod1ExtensionTestInside.st index 81d69c6..0d86c73 100644 --- a/SmartTestDataOutsideP3.package/SmTClassTestP3.class/instance/testMethod1ExtensionTestInside.st +++ b/SmartTestDataOutsideP3.package/SmTClassTestP3.class/instance/testMethod1ExtensionTestInside.st @@ -1,3 +1,3 @@ tests testMethod1ExtensionTestInside -('SmTExtension','P1_2') asClass >> #method1ExtensionTestInside +('SmTExtension','P4') asClass >> #method1ExtensionTestInside diff --git a/SmartTestDataOutsideP3.package/SmTExtensionP1_2.extension/properties.json b/SmartTestDataOutsideP3.package/SmTExtensionP1_2.extension/properties.json deleted file mode 100644 index ed81b8f..0000000 --- a/SmartTestDataOutsideP3.package/SmTExtensionP1_2.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "SmTExtensionP1_2" -} \ No newline at end of file diff --git a/SmartTestDataOutsideP3.package/SmTExtensionP1_2.extension/instance/extensionMethodP1_2.st b/SmartTestDataOutsideP3.package/SmTExtensionP4.extension/instance/extensionMethodP4.st similarity index 55% rename from SmartTestDataOutsideP3.package/SmTExtensionP1_2.extension/instance/extensionMethodP1_2.st rename to SmartTestDataOutsideP3.package/SmTExtensionP4.extension/instance/extensionMethodP4.st index 03722b2..1210d2e 100644 --- a/SmartTestDataOutsideP3.package/SmTExtensionP1_2.extension/instance/extensionMethodP1_2.st +++ b/SmartTestDataOutsideP3.package/SmTExtensionP4.extension/instance/extensionMethodP4.st @@ -1,2 +1,2 @@ *SmartTestDataOutsideP3 -extensionMethodP1_2 \ No newline at end of file +extensionMethodP4 \ No newline at end of file diff --git a/SmartTestDataOutsideP3.package/SmTExtensionP4.extension/properties.json b/SmartTestDataOutsideP3.package/SmTExtensionP4.extension/properties.json new file mode 100644 index 0000000..3232f13 --- /dev/null +++ b/SmartTestDataOutsideP3.package/SmTExtensionP4.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "SmTExtensionP4" +} \ No newline at end of file diff --git a/SmartTestDataOutsideP4.package/.filetree b/SmartTestDataOutsideP4.package/.filetree new file mode 100644 index 0000000..57a6797 --- /dev/null +++ b/SmartTestDataOutsideP4.package/.filetree @@ -0,0 +1,5 @@ +{ + "separateMethodMetaAndSource" : false, + "noMethodMetaData" : true, + "useCypressPropertiesFile" : true +} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTExtensionP1_2.class/README.md b/SmartTestDataOutsideP4.package/SmTExtensionP4.class/README.md similarity index 100% rename from SmartTestDataOutsideP1.package/SmTExtensionP1_2.class/README.md rename to SmartTestDataOutsideP4.package/SmTExtensionP4.class/README.md diff --git a/SmartTestDataOutsideP1.package/SmTExtensionP1_2.class/instance/method1ExtensionTestInside.st b/SmartTestDataOutsideP4.package/SmTExtensionP4.class/instance/method1ExtensionTestInside.st similarity index 100% rename from SmartTestDataOutsideP1.package/SmTExtensionP1_2.class/instance/method1ExtensionTestInside.st rename to SmartTestDataOutsideP4.package/SmTExtensionP4.class/instance/method1ExtensionTestInside.st diff --git a/SmartTestDataOutsideP1.package/SmTExtensionP1_2.class/properties.json b/SmartTestDataOutsideP4.package/SmTExtensionP4.class/properties.json similarity index 61% rename from SmartTestDataOutsideP1.package/SmTExtensionP1_2.class/properties.json rename to SmartTestDataOutsideP4.package/SmTExtensionP4.class/properties.json index 954e7ab..3b5590f 100644 --- a/SmartTestDataOutsideP1.package/SmTExtensionP1_2.class/properties.json +++ b/SmartTestDataOutsideP4.package/SmTExtensionP4.class/properties.json @@ -1,11 +1,11 @@ { "commentStamp" : "", "super" : "Object", - "category" : "SmartTestDataOutsideP1-SenderExtensionMethod", + "category" : "SmartTestDataOutsideP4", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], "instvars" : [ ], - "name" : "SmTExtensionP1_2", + "name" : "SmTExtensionP4", "type" : "normal" } \ No newline at end of file diff --git a/SmartTestDataOutsideP4.package/monticello.meta/categories.st b/SmartTestDataOutsideP4.package/monticello.meta/categories.st new file mode 100644 index 0000000..dba4d10 --- /dev/null +++ b/SmartTestDataOutsideP4.package/monticello.meta/categories.st @@ -0,0 +1 @@ +SystemOrganization addCategory: #SmartTestDataOutsideP4! diff --git a/SmartTestDataOutsideP4.package/monticello.meta/initializers.st b/SmartTestDataOutsideP4.package/monticello.meta/initializers.st new file mode 100644 index 0000000..e69de29 diff --git a/SmartTestDataOutsideP4.package/monticello.meta/package b/SmartTestDataOutsideP4.package/monticello.meta/package new file mode 100644 index 0000000..1dc58cb --- /dev/null +++ b/SmartTestDataOutsideP4.package/monticello.meta/package @@ -0,0 +1 @@ +(name 'SmartTestDataOutsideP4') \ No newline at end of file diff --git a/SmartTestDataOutsideP4.package/properties.json b/SmartTestDataOutsideP4.package/properties.json new file mode 100644 index 0000000..6f31cf5 --- /dev/null +++ b/SmartTestDataOutsideP4.package/properties.json @@ -0,0 +1 @@ +{ } \ No newline at end of file From a6fdb71b174c803f726de1cba551668a6af2291c Mon Sep 17 00:00:00 2001 From: eleonoreW Date: Mon, 28 May 2018 12:01:43 +0200 Subject: [PATCH 073/150] Removing the package SmT_TestData ( not used anymore) --- .../ManifestSmartTestTestData.class/README.md | 2 -- .../ManifestSmartTestTestData.class/properties.json | 11 ----------- SmT_TestData.package/SmTClassOutside.class/README.md | 1 - .../SmTClassOutside.class/instance/method2.st | 3 --- .../SmTClassOutside.class/properties.json | 11 ----------- .../SmTClassOutsideTest.class/README.md | 2 -- .../instance/testMethodOutsidePackage1.st | 5 ----- .../SmTClassOutsideTest.class/properties.json | 11 ----------- 8 files changed, 46 deletions(-) delete mode 100644 SmT_TestData.package/ManifestSmartTestTestData.class/README.md delete mode 100644 SmT_TestData.package/ManifestSmartTestTestData.class/properties.json delete mode 100644 SmT_TestData.package/SmTClassOutside.class/README.md delete mode 100644 SmT_TestData.package/SmTClassOutside.class/instance/method2.st delete mode 100644 SmT_TestData.package/SmTClassOutside.class/properties.json delete mode 100644 SmT_TestData.package/SmTClassOutsideTest.class/README.md delete mode 100644 SmT_TestData.package/SmTClassOutsideTest.class/instance/testMethodOutsidePackage1.st delete mode 100644 SmT_TestData.package/SmTClassOutsideTest.class/properties.json diff --git a/SmT_TestData.package/ManifestSmartTestTestData.class/README.md b/SmT_TestData.package/ManifestSmartTestTestData.class/README.md deleted file mode 100644 index 42c5da7..0000000 --- a/SmT_TestData.package/ManifestSmartTestTestData.class/README.md +++ /dev/null @@ -1,2 +0,0 @@ -This package gathers test data to test SmartTest. -Normally, SmartTest looks for methods only inside the package where the method has been changed but to be sure, we add some data outside SmartTest package (and so in this package SmartTest_TestData) to be sure. \ No newline at end of file diff --git a/SmT_TestData.package/ManifestSmartTestTestData.class/properties.json b/SmT_TestData.package/ManifestSmartTestTestData.class/properties.json deleted file mode 100644 index fe89955..0000000 --- a/SmT_TestData.package/ManifestSmartTestTestData.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/3/2018 09:57", - "super" : "PackageManifest", - "category" : "SmT_TestData", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "ManifestSmartTestTestData", - "type" : "normal" -} \ No newline at end of file diff --git a/SmT_TestData.package/SmTClassOutside.class/README.md b/SmT_TestData.package/SmTClassOutside.class/README.md deleted file mode 100644 index 21736c8..0000000 --- a/SmT_TestData.package/SmTClassOutside.class/README.md +++ /dev/null @@ -1 +0,0 @@ -This class has method with the same name than SmTClass in SmartTest package. SmTClassOutSide aims to check that by default SmartTest does not look for test outside the package. \ No newline at end of file diff --git a/SmT_TestData.package/SmTClassOutside.class/instance/method2.st b/SmT_TestData.package/SmTClassOutside.class/instance/method2.st deleted file mode 100644 index f17578e..0000000 --- a/SmT_TestData.package/SmTClassOutside.class/instance/method2.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -method2 - ^ true \ No newline at end of file diff --git a/SmT_TestData.package/SmTClassOutside.class/properties.json b/SmT_TestData.package/SmTClassOutside.class/properties.json deleted file mode 100644 index ca54bf4..0000000 --- a/SmT_TestData.package/SmTClassOutside.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/2/2018 14:26", - "super" : "Object", - "category" : "SmT_TestData", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTClassOutside", - "type" : "normal" -} \ No newline at end of file diff --git a/SmT_TestData.package/SmTClassOutsideTest.class/README.md b/SmT_TestData.package/SmTClassOutsideTest.class/README.md deleted file mode 100644 index 30cb5ca..0000000 --- a/SmT_TestData.package/SmTClassOutsideTest.class/README.md +++ /dev/null @@ -1,2 +0,0 @@ -This class has test that calls SmTClassOutside >> method2, a method also present in the SmartTest package. -As SmTClassOutside, SmTClassOutSideTest aims to check that by default SmartTest does bot look for test outside the package. \ No newline at end of file diff --git a/SmT_TestData.package/SmTClassOutsideTest.class/instance/testMethodOutsidePackage1.st b/SmT_TestData.package/SmTClassOutsideTest.class/instance/testMethodOutsidePackage1.st deleted file mode 100644 index 223bad1..0000000 --- a/SmT_TestData.package/SmTClassOutsideTest.class/instance/testMethodOutsidePackage1.st +++ /dev/null @@ -1,5 +0,0 @@ -tests -testMethodOutsidePackage1 - "this is data for SmTFinderAbstractTest tests" - ^ SmTClassOutside new method2 - \ No newline at end of file diff --git a/SmT_TestData.package/SmTClassOutsideTest.class/properties.json b/SmT_TestData.package/SmTClassOutsideTest.class/properties.json deleted file mode 100644 index b0c9c05..0000000 --- a/SmT_TestData.package/SmTClassOutsideTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/2/2018 14:29", - "super" : "TestCase", - "category" : "SmT_TestData", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTClassOutsideTest", - "type" : "normal" -} \ No newline at end of file From 774844a113ff2e2973336b4926d4f6deea620e76 Mon Sep 17 00:00:00 2001 From: eleonoreW Date: Mon, 28 May 2018 13:17:03 +0200 Subject: [PATCH 074/150] Changed the baseline to load the packages in the right order. --- .../BaselineOfSmartTest.class/instance/baseline..st | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/baseline..st b/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/baseline..st index 2f75726..dd89af7 100644 --- a/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/baseline..st +++ b/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/baseline..st @@ -7,9 +7,9 @@ baseline: spec spec repository: 'github://badetitou/SmartTest' ; package: 'SmartTest'; - package: 'SmartTestDataOutsideP1' with: [ spec requires: #('SmartTest') ]; + package: 'SmartTestDataOutsideP1' with: [ spec requires: #('SmartTest' 'SmartTestDataOutsideP3' 'SmartTestDataOutsideP2') ]; package: 'SmartTestDataOutsideP2' with: [ spec requires: #('SmartTest') ]; - package: 'SmartTestDataOutsideP3' with: [ spec requires: #('SmartTest') ]; - package: 'SmT_TestData' with: [ spec requires: #('SmartTest') ]; + package: 'SmartTestDataOutsideP3' with: [ spec requires: #('SmartTest' 'SmartTestDataOutsideP4') ]; + package: 'SmartTestDataOutsideP4' with: [ spec requires: #('SmartTest') ]; group: 'default' - with: #('SmartTest' 'SmartTestDataOutsideP1' 'SmartTestDataOutsideP2' 'SmartTestDataOutsideP3' 'SmT_TestData')] \ No newline at end of file + with: #('SmartTest' 'SmartTestDataOutsideP1' 'SmartTestDataOutsideP2' 'SmartTestDataOutsideP3')] \ No newline at end of file From c47bd9779c27e905036d4b82fe9782d6c2a2a99e Mon Sep 17 00:00:00 2001 From: eleonoreW Date: Mon, 28 May 2018 14:03:41 +0200 Subject: [PATCH 075/150] removed unused methods --- .../SmTFinderAbstractTest.class/instance/setUp.st | 7 +------ .../instance/initCache.st | 2 -- .../SmTTestCoverageFinderTest.class/instance/initCache.st | 2 -- 3 files changed, 1 insertion(+), 10 deletions(-) diff --git a/SmartTest.package/SmTFinderAbstractTest.class/instance/setUp.st b/SmartTest.package/SmTFinderAbstractTest.class/instance/setUp.st index 35123a6..520e057 100644 --- a/SmartTest.package/SmTFinderAbstractTest.class/instance/setUp.st +++ b/SmartTest.package/SmTFinderAbstractTest.class/instance/setUp.st @@ -38,9 +38,4 @@ setUp selector: #testMethod1 isMetaSide: - false. - testMethodOutsidePackage1 := (SmTClassOutsideTest - >> - #testMethodOutsidePackage1) - asRingDefinition - "testMethod1OutsidePackage := (SmTClassOutsideTest >> #testMethod1OutsidePackage) asRingDefinition." \ No newline at end of file + false. \ No newline at end of file diff --git a/SmartTest.package/SmTFinderStrategyReflectivityTest.class/instance/initCache.st b/SmartTest.package/SmTFinderStrategyReflectivityTest.class/instance/initCache.st index a1a94ce..54621d1 100644 --- a/SmartTest.package/SmTFinderStrategyReflectivityTest.class/instance/initCache.st +++ b/SmartTest.package/SmTFinderStrategyReflectivityTest.class/instance/initCache.st @@ -24,8 +24,6 @@ initCache -> {(SmTClassTest >> #testMethod5) asRingDefinition} asSet). ((SmTClassTest >> #testMethod4) asRingDefinition -> {(SmTClassTest >> #testMethod4) asRingDefinition} asSet). - ((SmTClassOutside >> #method2) asRingDefinition - -> {(SmTClassOutsideTest >> #testMethodOutsidePackage1) asRingDefinition} asSet). ((('SmTP1' , 'Inheritance') asClass >> ('method1' , 'Inheritance') asSymbol) asRingDefinition -> diff --git a/SmartTest.package/SmTTestCoverageFinderTest.class/instance/initCache.st b/SmartTest.package/SmTTestCoverageFinderTest.class/instance/initCache.st index 8bdca6c..c33a90a 100644 --- a/SmartTest.package/SmTTestCoverageFinderTest.class/instance/initCache.st +++ b/SmartTest.package/SmTTestCoverageFinderTest.class/instance/initCache.st @@ -24,8 +24,6 @@ initCache -> {(SmTClassTest >> #testMethod5) asRingDefinition} asSet). ((SmTClassTest >> #testMethod4) asRingDefinition -> {(SmTClassTest >> #testMethod4) asRingDefinition} asSet). - ((SmTClassOutside >> #method2) asRingDefinition - -> {(SmTClassOutsideTest >> #testMethodOutsidePackage1) asRingDefinition} asSet). ((('SmTP1' , 'Inheritance') asClass >> ('method1' , 'Inheritance') asSymbol) asRingDefinition -> From 2d730da3797244551e04c343946f7257a66a6fce Mon Sep 17 00:00:00 2001 From: eleonoreW Date: Mon, 28 May 2018 14:14:44 +0200 Subject: [PATCH 076/150] Modification on a time limit for a test so travis doesn't fail. --- .../instance/testModificationOnInitialize.st | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/SmartTest.package/SmTFinderAbstractTest.class/instance/testModificationOnInitialize.st b/SmartTest.package/SmTFinderAbstractTest.class/instance/testModificationOnInitialize.st index 515a06d..309c626 100644 --- a/SmartTest.package/SmTFinderAbstractTest.class/instance/testModificationOnInitialize.st +++ b/SmartTest.package/SmTFinderAbstractTest.class/instance/testModificationOnInitialize.st @@ -1,7 +1,12 @@ tests testModificationOnInitialize - | testsFound | + | testsFound |self + timeLimit: + 35 + seconds. + "this one needs more time than the other" + self flag: 'Takes a very long time'. testsFound := self searchTestMethodsFor: SmTClass2 >> #initialize. self deny: (testsFound includes: testMethod1). From c18bb9f11f70f6beeba9ef3990b99413af1acbbf Mon Sep 17 00:00:00 2001 From: eleonoreW Date: Mon, 28 May 2018 17:28:36 +0200 Subject: [PATCH 077/150] Added a method to find the tests relative to a class. --- .../instance/methodsForAClass..st | 8 ++++++++ .../instance/testsForAClass..st | 4 ++++ 2 files changed, 12 insertions(+) create mode 100644 SmartTest.package/SmTTestFinderStrategy.class/instance/methodsForAClass..st create mode 100644 SmartTest.package/SmTTestFinderStrategy.class/instance/testsForAClass..st diff --git a/SmartTest.package/SmTTestFinderStrategy.class/instance/methodsForAClass..st b/SmartTest.package/SmTTestFinderStrategy.class/instance/methodsForAClass..st new file mode 100644 index 0000000..bf506ac --- /dev/null +++ b/SmartTest.package/SmTTestFinderStrategy.class/instance/methodsForAClass..st @@ -0,0 +1,8 @@ +accessing +methodsForAClass: aClass +|methodsFound| + methodsFound := (aClass methods) asSet . + aClass subclasses do:[:aSubClass | methodsFound addAll: (self methodsForAClass: aSubClass)]. + + ^methodsFound. + \ No newline at end of file diff --git a/SmartTest.package/SmTTestFinderStrategy.class/instance/testsForAClass..st b/SmartTest.package/SmTTestFinderStrategy.class/instance/testsForAClass..st new file mode 100644 index 0000000..5de3dfb --- /dev/null +++ b/SmartTest.package/SmTTestFinderStrategy.class/instance/testsForAClass..st @@ -0,0 +1,4 @@ +accessing +testsForAClass: aClass +^ (self methodsForAClass: aClass) do: [:aMethod |self methodsFor: aMethod.]. + \ No newline at end of file From 70abd955cbf843321d31d03a399543a820c954a1 Mon Sep 17 00:00:00 2001 From: badetitou Date: Mon, 28 May 2018 19:36:03 +0200 Subject: [PATCH 078/150] remove SmTTestData --- SmT_TestData.package/.filetree | 5 ----- SmT_TestData.package/monticello.meta/categories.st | 1 - SmT_TestData.package/monticello.meta/initializers.st | 0 SmT_TestData.package/monticello.meta/package | 1 - SmT_TestData.package/properties.json | 1 - 5 files changed, 8 deletions(-) delete mode 100644 SmT_TestData.package/.filetree delete mode 100644 SmT_TestData.package/monticello.meta/categories.st delete mode 100644 SmT_TestData.package/monticello.meta/initializers.st delete mode 100644 SmT_TestData.package/monticello.meta/package delete mode 100644 SmT_TestData.package/properties.json diff --git a/SmT_TestData.package/.filetree b/SmT_TestData.package/.filetree deleted file mode 100644 index 57a6797..0000000 --- a/SmT_TestData.package/.filetree +++ /dev/null @@ -1,5 +0,0 @@ -{ - "separateMethodMetaAndSource" : false, - "noMethodMetaData" : true, - "useCypressPropertiesFile" : true -} \ No newline at end of file diff --git a/SmT_TestData.package/monticello.meta/categories.st b/SmT_TestData.package/monticello.meta/categories.st deleted file mode 100644 index 81a85b8..0000000 --- a/SmT_TestData.package/monticello.meta/categories.st +++ /dev/null @@ -1 +0,0 @@ -SystemOrganization addCategory: #SmT_TestData! diff --git a/SmT_TestData.package/monticello.meta/initializers.st b/SmT_TestData.package/monticello.meta/initializers.st deleted file mode 100644 index e69de29..0000000 diff --git a/SmT_TestData.package/monticello.meta/package b/SmT_TestData.package/monticello.meta/package deleted file mode 100644 index 3c1d5f1..0000000 --- a/SmT_TestData.package/monticello.meta/package +++ /dev/null @@ -1 +0,0 @@ -(name 'SmT_TestData') \ No newline at end of file diff --git a/SmT_TestData.package/properties.json b/SmT_TestData.package/properties.json deleted file mode 100644 index 6f31cf5..0000000 --- a/SmT_TestData.package/properties.json +++ /dev/null @@ -1 +0,0 @@ -{ } \ No newline at end of file From 0dcc705202047819784384b99cd12d260b7e3fcc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Verhaeghe?= Date: Wed, 30 May 2018 12:11:09 +0200 Subject: [PATCH 079/150] fix Iceberg --- .../instance/extractPackagesFrom..st | 5 +++++ .../instance/shouldEntityBeFiltered.inPackages..st | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 SmartTest.package/SmTIcebergLoadedPackagesFilter.class/instance/extractPackagesFrom..st diff --git a/SmartTest.package/SmTIcebergLoadedPackagesFilter.class/instance/extractPackagesFrom..st b/SmartTest.package/SmTIcebergLoadedPackagesFilter.class/instance/extractPackagesFrom..st new file mode 100644 index 0000000..5be8a6f --- /dev/null +++ b/SmartTest.package/SmTIcebergLoadedPackagesFilter.class/instance/extractPackagesFrom..st @@ -0,0 +1,5 @@ +asserting +extractPackagesFrom: aCompiledMethod + "Can be implemented to init the filter for a specific research" + + ^ ((IceRepository registry reject: [ :registry | registry name = 'pharo' ]) flatCollect: [ :repository | repository loadedPackages]) \ No newline at end of file diff --git a/SmartTest.package/SmTIcebergLoadedPackagesFilter.class/instance/shouldEntityBeFiltered.inPackages..st b/SmartTest.package/SmTIcebergLoadedPackagesFilter.class/instance/shouldEntityBeFiltered.inPackages..st index 3a81fb5..0323a18 100644 --- a/SmartTest.package/SmTIcebergLoadedPackagesFilter.class/instance/shouldEntityBeFiltered.inPackages..st +++ b/SmartTest.package/SmTIcebergLoadedPackagesFilter.class/instance/shouldEntityBeFiltered.inPackages..st @@ -1,3 +1,3 @@ asserting shouldEntityBeFiltered: anEntity inPackages: packages - ^ (((IceRepository registry reject: [ :registry | registry name = 'pharo' ]) flatCollect: [ :repository | repository loadedPackages collect: #name]) includes: anEntity package name) not. \ No newline at end of file + ^ ((packages collect: #name) includes: anEntity package name) not \ No newline at end of file From 724bc4d6085a82f45ebd2bbe5613cd618210a062 Mon Sep 17 00:00:00 2001 From: eleonoreW Date: Wed, 30 May 2018 13:56:52 +0200 Subject: [PATCH 080/150] Modification of how the tests related to a modified class are found. Added tests to assert that the new methods work correctly (spoiler: it doesn't). --- .../instance/searchTestMethodsForAClass..st | 4 ++++ ...ClassFirstLevelSendersOutsideWithRefInMethod.st | 7 +++++++ .../instance/testClassInheritance.st | 10 ++++++++++ .../instance/testClassSubClass.st | 8 ++++++++ .../instance/testClassTestsInside.st | 7 +++++++ .../instance/testInheritance.st | 4 ++-- .../instance/initCache.st | 4 ++-- .../instance/testInheritance.st | 4 ++-- .../instance/initCache.st | 4 ++-- .../instance/methodsForAClass..st | 8 -------- .../instance/testsForAClass..st | 14 ++++++++++++-- .../instance/method1ExtensionTestInside.st | 2 +- 12 files changed, 57 insertions(+), 19 deletions(-) create mode 100644 SmartTest.package/SmTFilterAbstractTest.class/instance/searchTestMethodsForAClass..st create mode 100644 SmartTest.package/SmTFilterAbstractTest.class/instance/testClassFirstLevelSendersOutsideWithRefInMethod.st create mode 100644 SmartTest.package/SmTFilterAbstractTest.class/instance/testClassInheritance.st create mode 100644 SmartTest.package/SmTFilterAbstractTest.class/instance/testClassSubClass.st create mode 100644 SmartTest.package/SmTFilterAbstractTest.class/instance/testClassTestsInside.st delete mode 100644 SmartTest.package/SmTTestFinderStrategy.class/instance/methodsForAClass..st diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/searchTestMethodsForAClass..st b/SmartTest.package/SmTFilterAbstractTest.class/instance/searchTestMethodsForAClass..st new file mode 100644 index 0000000..5836386 --- /dev/null +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/searchTestMethodsForAClass..st @@ -0,0 +1,4 @@ +helpers +searchTestMethodsForAClass: aClass + + ^ smartFinder smtFinder testsForAClass: aClass . \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassFirstLevelSendersOutsideWithRefInMethod.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassFirstLevelSendersOutsideWithRefInMethod.st new file mode 100644 index 0000000..d838563 --- /dev/null +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassFirstLevelSendersOutsideWithRefInMethod.st @@ -0,0 +1,7 @@ +tests +testClassFirstLevelSendersOutsideWithRefInMethod +"In this test, we want to assert that if the class is used in a method, we find the tests related to this method." + + | testsFound | + testsFound := self searchTestMethodsForAClass: ('SmTClassP1FirstLevelSendersOutsideWithRefIn','Method') asClass. + self assert: (testsFound includes: ((('SmTClassTest','P2') asClass >> ('testMethod1FirstLevelSendersOutsideWithRefIn','Method') asSymbol) asRingDefinition )). \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassInheritance.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassInheritance.st new file mode 100644 index 0000000..a460457 --- /dev/null +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassInheritance.st @@ -0,0 +1,10 @@ +tests +testClassInheritance +"In this test we want to assert that if the modified class has subclasses, SmartTest finds all the inherited methods (implemented or not)" + + | testsFound testMethodSubClass1 testMethodSubClass2 | + testsFound := self searchTestMethodsForAClass: (('SmT','P1InheritanceTest') asClass). + testMethodSubClass1 := RGMethodDefinition className: ('SmTP1','InheritanceSubClass1Test') selector:('testMethod1','Inheritance') isMetaSide: false. + testMethodSubClass2 := RGMethodDefinition className: ('SmTP1','InheritanceSubClass2Test') selector:('testMethod1','Inheritance') isMetaSide: false. + self assert: (testsFound includes: testMethodSubClass1). + self assert: (testsFound includes: testMethodSubClass2). \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassSubClass.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassSubClass.st new file mode 100644 index 0000000..0463051 --- /dev/null +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassSubClass.st @@ -0,0 +1,8 @@ +tests +testClassSubClass + + | testsFound testMethodSubClass2 | + testsFound := self searchTestMethodsForAClass: (('SmT','P1InheritanceSubClass2Test') asClass). + testMethodSubClass2 := RGMethodDefinition className: ('SmTP1','InheritanceSubClass2Test') selector:('testMethod1','Inheritance') isMetaSide: false. + self assert: testsFound size equals: 1. + self assert: (testsFound includes: testMethodSubClass2). \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassTestsInside.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassTestsInside.st new file mode 100644 index 0000000..0a9ca34 --- /dev/null +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassTestsInside.st @@ -0,0 +1,7 @@ +tests +testClassTestsInside +"In this test we want to assert that SmartTest finds the test owned directly by a class." + + | testsFound | + testsFound := self searchTestMethodsForAClass: ('SmTClassTest','P2') asClass. + self assert: (testsFound includes: ((('SmTClassTest','P2') asClass >> ('testMethod1FirstLevelSendersOutsideWithRefIn','Class') asSymbol) asRingDefinition )). \ No newline at end of file diff --git a/SmartTest.package/SmTFinderAbstractTest.class/instance/testInheritance.st b/SmartTest.package/SmTFinderAbstractTest.class/instance/testInheritance.st index bd47a91..9375096 100644 --- a/SmartTest.package/SmTFinderAbstractTest.class/instance/testInheritance.st +++ b/SmartTest.package/SmTFinderAbstractTest.class/instance/testInheritance.st @@ -3,7 +3,7 @@ testInheritance | testsFound testMethod | testsFound := self searchTestMethodsFor: ('SmTP1' , 'Inheritance') asClass >> ('method1','Inheritance') asSymbol . -testMethod := RGMethodDefinition className: 'SmTP1InheritanceSubClass2Test' selector: #testMethod1Inheritance isMetaSide: false. +testMethod := RGMethodDefinition className: ('SmTP1InheritanceSubClass2','Test') selector:('testMethod1','Inheritance') asSymbol isMetaSide: false. self assert: testsFound size equals: 2. - self assert: (testsFound includes: ((SmTP1InheritanceSubClass1Test >> #testMethod1Inheritance) asRingDefinition )). + self assert: (testsFound includes: ((('SmTP1InheritanceSubClass1Test') asClass >> ('testMethod1Inheritance') asSymbol) asRingDefinition )). self assert: (testsFound includes: (testMethod) ). \ No newline at end of file diff --git a/SmartTest.package/SmTFinderStrategyReflectivityTest.class/instance/initCache.st b/SmartTest.package/SmTFinderStrategyReflectivityTest.class/instance/initCache.st index 54621d1..cd478c7 100644 --- a/SmartTest.package/SmTFinderStrategyReflectivityTest.class/instance/initCache.st +++ b/SmartTest.package/SmTFinderStrategyReflectivityTest.class/instance/initCache.st @@ -27,6 +27,6 @@ initCache ((('SmTP1' , 'Inheritance') asClass >> ('method1' , 'Inheritance') asSymbol) asRingDefinition -> - {(('SmTP1' , 'InheritanceSubClass1Test') asClass >> 'testMethod1Inheritance' asSymbol) + {(('SmTP1' , 'InheritanceSubClass1Test') asClass >> ('testMethod1','Inheritance') asSymbol) asRingDefinition. - (RGMethodDefinition className: 'SmTP1InheritanceSubClass2Test' selector: #testMethod1Inheritance isMetaSide: false)} asSet)} asDictionary \ No newline at end of file + (RGMethodDefinition className: ('SmTP1InheritanceSubClass2','Test') selector: ('testMethod1','Inheritance') asSymbol isMetaSide: false)} asSet)} asDictionary \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/testInheritance.st b/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/testInheritance.st index 9c4cdc8..de200be 100644 --- a/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/testInheritance.st +++ b/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/testInheritance.st @@ -6,5 +6,5 @@ testInheritance testsFound := self searchTestMethodsFor: ('SmTP1' , 'Inheritance') asClass >> #method1Inheritance. self assert: testsFound isEmpty. - self deny: (testsFound includes: ((SmTP1InheritanceSubClass1Test >> #testMethod1Inheritance) asRingDefinition )). - self deny: (testsFound includes: ( (RGMethodDefinition className: 'SmTP1InheritanceSubClass2Test' selector: #testMethod1Inheritance isMetaSide: false) asRingDefinition )). \ No newline at end of file + self deny: (testsFound includes: ((('SmTP1InheritanceSubClass1','Test')asClass >> ('testMethod1','Inheritance')asSymbol) asRingDefinition )). + self deny: (testsFound includes: ( (RGMethodDefinition className: ('SmTP1InheritanceSubClass2','Test') selector: ('testMethod1','Inheritance') asSymbol isMetaSide: false) asRingDefinition )). \ No newline at end of file diff --git a/SmartTest.package/SmTTestCoverageFinderTest.class/instance/initCache.st b/SmartTest.package/SmTTestCoverageFinderTest.class/instance/initCache.st index c33a90a..3e53be9 100644 --- a/SmartTest.package/SmTTestCoverageFinderTest.class/instance/initCache.st +++ b/SmartTest.package/SmTTestCoverageFinderTest.class/instance/initCache.st @@ -27,7 +27,7 @@ initCache ((('SmTP1' , 'Inheritance') asClass >> ('method1' , 'Inheritance') asSymbol) asRingDefinition -> - {(('SmTP1' , 'InheritanceSubClass1Test') asClass >> 'testMethod1Inheritance' asSymbol) + {(('SmTP1' , 'InheritanceSubClass1Test') asClass >> ('testMethod1','Inheritance') asSymbol) asRingDefinition. - (RGMethodDefinition className: 'SmTP1InheritanceSubClass2Test' selector: #testMethod1Inheritance isMetaSide: false) + (RGMethodDefinition className: ('SmTP1InheritanceSubClass2','Test') selector: ('testMethod1','Inheritance') isMetaSide: false) asRingDefinition} asSet)} asDictionary \ No newline at end of file diff --git a/SmartTest.package/SmTTestFinderStrategy.class/instance/methodsForAClass..st b/SmartTest.package/SmTTestFinderStrategy.class/instance/methodsForAClass..st deleted file mode 100644 index bf506ac..0000000 --- a/SmartTest.package/SmTTestFinderStrategy.class/instance/methodsForAClass..st +++ /dev/null @@ -1,8 +0,0 @@ -accessing -methodsForAClass: aClass -|methodsFound| - methodsFound := (aClass methods) asSet . - aClass subclasses do:[:aSubClass | methodsFound addAll: (self methodsForAClass: aSubClass)]. - - ^methodsFound. - \ No newline at end of file diff --git a/SmartTest.package/SmTTestFinderStrategy.class/instance/testsForAClass..st b/SmartTest.package/SmTTestFinderStrategy.class/instance/testsForAClass..st index 5de3dfb..ae39742 100644 --- a/SmartTest.package/SmTTestFinderStrategy.class/instance/testsForAClass..st +++ b/SmartTest.package/SmTTestFinderStrategy.class/instance/testsForAClass..st @@ -1,4 +1,14 @@ accessing testsForAClass: aClass -^ (self methodsForAClass: aClass) do: [:aMethod |self methodsFor: aMethod.]. - \ No newline at end of file + "This method returns all the tests related to a class. + If it is a testCase, it returns all the tests owned by the class. + If the class is abstract, we compute the subclasses inherited tests methods and we add them to the test found. + We also want to find the tests related to methods that uses the class." + + | testsFound | + testsFound := Set new. + aClass isTestCase + ifTrue: [ (aClass methods select: [ :aMethod | aMethod isTestMethod ]) do: [ :eachTestMethod | testsFound addAll: (self methodsFor: eachTestMethod) ] ]. + aClass subclasses do: [ :aSubClass | testsFound addAll: (self testsForAClass: aSubClass) ]. + aClass allCallsOn do: [ :aRGMethodDefinition | testsFound addAll: (self methodsFor: aRGMethodDefinition method) ]. + ^ testsFound \ No newline at end of file diff --git a/SmartTestDataOutsideP4.package/SmTExtensionP4.class/instance/method1ExtensionTestInside.st b/SmartTestDataOutsideP4.package/SmTExtensionP4.class/instance/method1ExtensionTestInside.st index e45251d..ef5c3d1 100644 --- a/SmartTestDataOutsideP4.package/SmTExtensionP4.class/instance/method1ExtensionTestInside.st +++ b/SmartTestDataOutsideP4.package/SmTExtensionP4.class/instance/method1ExtensionTestInside.st @@ -1,2 +1,2 @@ -as yet unclassified +method1 method1ExtensionTestInside \ No newline at end of file From 1440862beacc787d17834971439d559f4128a4ee Mon Sep 17 00:00:00 2001 From: eleonoreW Date: Thu, 31 May 2018 10:52:49 +0200 Subject: [PATCH 081/150] Corrections on the research of the tests for a Class. Removed the useless test "testInheritedMethod". Modification on the name of a test. --- ...endersOutsideClassOutsidePackageWithRefInMethod.st} | 4 ++-- .../instance/testInheritedMethod.st | 10 ---------- .../SmTFilterAbstractTest.class/properties.json | 7 ++----- .../instance/testInheritedMethod.st | 10 ---------- .../instance/testsForAClass..st | 8 +++++--- 5 files changed, 9 insertions(+), 30 deletions(-) rename SmartTest.package/SmTFilterAbstractTest.class/instance/{testClassFirstLevelSendersOutsideWithRefInMethod.st => testClassFirstLevelSendersOutsideClassOutsidePackageWithRefInMethod.st} (73%) delete mode 100644 SmartTest.package/SmTFilterAbstractTest.class/instance/testInheritedMethod.st delete mode 100644 SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testInheritedMethod.st diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassFirstLevelSendersOutsideWithRefInMethod.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassFirstLevelSendersOutsideClassOutsidePackageWithRefInMethod.st similarity index 73% rename from SmartTest.package/SmTFilterAbstractTest.class/instance/testClassFirstLevelSendersOutsideWithRefInMethod.st rename to SmartTest.package/SmTFilterAbstractTest.class/instance/testClassFirstLevelSendersOutsideClassOutsidePackageWithRefInMethod.st index d838563..3def475 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassFirstLevelSendersOutsideWithRefInMethod.st +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassFirstLevelSendersOutsideClassOutsidePackageWithRefInMethod.st @@ -1,7 +1,7 @@ tests -testClassFirstLevelSendersOutsideWithRefInMethod +testClassFirstLevelSendersOutsideClassOutsidePackageWithRefInMethod "In this test, we want to assert that if the class is used in a method, we find the tests related to this method." | testsFound | testsFound := self searchTestMethodsForAClass: ('SmTClassP1FirstLevelSendersOutsideWithRefIn','Method') asClass. - self assert: (testsFound includes: ((('SmTClassTest','P2') asClass >> ('testMethod1FirstLevelSendersOutsideWithRefIn','Method') asSymbol) asRingDefinition )). \ No newline at end of file + self assert: (testsFound includes: ((('SmTClassTest','P2') asClass >> ('testMethod1FirstLevelSendersOutsideWithRef','InMethod') asSymbol) asRingDefinition )). \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testInheritedMethod.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testInheritedMethod.st deleted file mode 100644 index ca24f74..0000000 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/testInheritedMethod.st +++ /dev/null @@ -1,10 +0,0 @@ -tests -testInheritedMethod - - | testsFound | - testsFound := self - searchTestMethodsFor: ('SmT' , 'P1Inheritance') asClass >> ('method1' , 'Inheritance') asSymbol. - self - assert: testsFound - equalsToMethods: - #('SmTP1InheritanceSubClass1Test>>#testMethod1Inheritance' 'SmTP1InheritanceSubClass2Test>>#testMethod1Inheritance') \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/properties.json b/SmartTest.package/SmTFilterAbstractTest.class/properties.json index 5f99439..6d4dee5 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/properties.json +++ b/SmartTest.package/SmTFilterAbstractTest.class/properties.json @@ -7,16 +7,13 @@ "classvars" : [ ], "instvars" : [ "smartFinder", - "testMethod1FirstLevelSendersInsidePackage", "testMethod1FirstLevelSendersOutsidePackage", "testMethod2SecondLevelSendersInsidePackageWithTestInside", - "testMethod2SecondLevelSendersOutsidePackageWithTestInside", "testMethod2SecondLevelSendersInsidePackageWithTestOutside", "testMethod2SecondLevelSendersOutsidePackageWithTestOutside", "testmethod1FirstLevelSendersInsidePackage", - "testmethod1FirstLevelSendersOutsidePackage", - "testmethod2SecondLevelSendersInsidePackageWithTestInside", - "testmethod2SecondLevelSendersOutsidePackageWithTestInside" + "testMethod1FirstLevelSendersInsidePackage", + "testMethod2SecondLevelSendersOutsidePackageWithTestInside" ], "name" : "SmTFilterAbstractTest", "type" : "normal" diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testInheritedMethod.st b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testInheritedMethod.st deleted file mode 100644 index ca24f74..0000000 --- a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testInheritedMethod.st +++ /dev/null @@ -1,10 +0,0 @@ -tests -testInheritedMethod - - | testsFound | - testsFound := self - searchTestMethodsFor: ('SmT' , 'P1Inheritance') asClass >> ('method1' , 'Inheritance') asSymbol. - self - assert: testsFound - equalsToMethods: - #('SmTP1InheritanceSubClass1Test>>#testMethod1Inheritance' 'SmTP1InheritanceSubClass2Test>>#testMethod1Inheritance') \ No newline at end of file diff --git a/SmartTest.package/SmTTestFinderStrategy.class/instance/testsForAClass..st b/SmartTest.package/SmTTestFinderStrategy.class/instance/testsForAClass..st index ae39742..985de8d 100644 --- a/SmartTest.package/SmTTestFinderStrategy.class/instance/testsForAClass..st +++ b/SmartTest.package/SmTTestFinderStrategy.class/instance/testsForAClass..st @@ -8,7 +8,9 @@ testsForAClass: aClass | testsFound | testsFound := Set new. aClass isTestCase - ifTrue: [ (aClass methods select: [ :aMethod | aMethod isTestMethod ]) do: [ :eachTestMethod | testsFound addAll: (self methodsFor: eachTestMethod) ] ]. - aClass subclasses do: [ :aSubClass | testsFound addAll: (self testsForAClass: aSubClass) ]. - aClass allCallsOn do: [ :aRGMethodDefinition | testsFound addAll: (self methodsFor: aRGMethodDefinition method) ]. + ifTrue: [ (aClass methods select: [ :aMethod | aMethod isTestMethod ]) do: [ :eachTestMethod | testsFound addAll: (self methodsFor: eachTestMethod) ]. + (aClass allTestSelectors) do:[:each| testsFound add: (RGMethodDefinition className: (aClass name) selector: each isMetaSide:false).]. + ]. + aClass subclasses do: [ :aSubClass | testsFound addAll: (self testsForAClass: aSubClass)]. + aClass allCallsOn do: [ :aRGMethodDefinition | testsFound addAll: (self methodsFor: aRGMethodDefinition method).]. ^ testsFound \ No newline at end of file From 0429d793d2f7e3612be63716beb63dee0b9d5c94 Mon Sep 17 00:00:00 2001 From: eleonoreW Date: Thu, 31 May 2018 11:09:01 +0200 Subject: [PATCH 082/150] A test was added for the method "testsForAClass:" and the method was corrected. --- ...SendersOutsideClassInsidePackageWithRefInMethod.st | 7 +++++++ .../instance/testsForAClass..st | 2 +- .../README.md | 0 .../method1FirstLevelSendersInsideWithRefInMethod.st | 5 +++++ .../properties.json | 11 +++++++++++ .../README.md | 0 ...stMethod1FirstLevelSendersInsideWithRefInMethod.st | 3 +++ .../properties.json | 11 +++++++++++ 8 files changed, 38 insertions(+), 1 deletion(-) create mode 100644 SmartTest.package/SmTFilterAbstractTest.class/instance/testClassFirstLevelSendersOutsideClassInsidePackageWithRefInMethod.st create mode 100644 SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersInsideWithRefInMethod.class/README.md create mode 100644 SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersInsideWithRefInMethod.class/instance/method1FirstLevelSendersInsideWithRefInMethod.st create mode 100644 SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersInsideWithRefInMethod.class/properties.json create mode 100644 SmartTestDataOutsideP1.package/SmTP1FirstLevelSendersInsideWithRefInMethodTest.class/README.md create mode 100644 SmartTestDataOutsideP1.package/SmTP1FirstLevelSendersInsideWithRefInMethodTest.class/instance/testMethod1FirstLevelSendersInsideWithRefInMethod.st create mode 100644 SmartTestDataOutsideP1.package/SmTP1FirstLevelSendersInsideWithRefInMethodTest.class/properties.json diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassFirstLevelSendersOutsideClassInsidePackageWithRefInMethod.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassFirstLevelSendersOutsideClassInsidePackageWithRefInMethod.st new file mode 100644 index 0000000..92ca31c --- /dev/null +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassFirstLevelSendersOutsideClassInsidePackageWithRefInMethod.st @@ -0,0 +1,7 @@ +tests +testClassFirstLevelSendersOutsideClassInsidePackageWithRefInMethod +"In this test, we want to assert that if the class is used in a method, we find the tests related to this method." + + | testsFound | + testsFound := self searchTestMethodsForAClass: ('SmTClassP1FirstLevelSendersInsideWithRefIn','Method') asClass. + self assert: (testsFound includes: ((('SmTP1FirstLevelSendersInsideWithRefInMethod','Test') asClass >> ('testMethod1FirstLevelSendersInsideWithRefIn','Method') asSymbol) asRingDefinition )). \ No newline at end of file diff --git a/SmartTest.package/SmTTestFinderStrategy.class/instance/testsForAClass..st b/SmartTest.package/SmTTestFinderStrategy.class/instance/testsForAClass..st index 985de8d..855ab91 100644 --- a/SmartTest.package/SmTTestFinderStrategy.class/instance/testsForAClass..st +++ b/SmartTest.package/SmTTestFinderStrategy.class/instance/testsForAClass..st @@ -12,5 +12,5 @@ testsForAClass: aClass (aClass allTestSelectors) do:[:each| testsFound add: (RGMethodDefinition className: (aClass name) selector: each isMetaSide:false).]. ]. aClass subclasses do: [ :aSubClass | testsFound addAll: (self testsForAClass: aSubClass)]. - aClass allCallsOn do: [ :aRGMethodDefinition | testsFound addAll: (self methodsFor: aRGMethodDefinition method).]. + testsFound addAll: (aClass allCallsOn do: [ :aRGMethodDefinition | testsFound addAll: (self methodsFor: aRGMethodDefinition compiledMethod).]). ^ testsFound \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersInsideWithRefInMethod.class/README.md b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersInsideWithRefInMethod.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersInsideWithRefInMethod.class/instance/method1FirstLevelSendersInsideWithRefInMethod.st b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersInsideWithRefInMethod.class/instance/method1FirstLevelSendersInsideWithRefInMethod.st new file mode 100644 index 0000000..492989f --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersInsideWithRefInMethod.class/instance/method1FirstLevelSendersInsideWithRefInMethod.st @@ -0,0 +1,5 @@ +method1 +method1FirstLevelSendersInsideWithRefInMethod +"Data for tests: method directly called by a test method not from the same package" + +" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersInsideWithRefInMethod.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersInsideWithRefInMethod.class/properties.json new file mode 100644 index 0000000..2420b81 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersInsideWithRefInMethod.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "Object", + "category" : "SmartTestDataOutsideP1-FirstLevelWithRef", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTClassP1FirstLevelSendersInsideWithRefInMethod", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTP1FirstLevelSendersInsideWithRefInMethodTest.class/README.md b/SmartTestDataOutsideP1.package/SmTP1FirstLevelSendersInsideWithRefInMethodTest.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTestDataOutsideP1.package/SmTP1FirstLevelSendersInsideWithRefInMethodTest.class/instance/testMethod1FirstLevelSendersInsideWithRefInMethod.st b/SmartTestDataOutsideP1.package/SmTP1FirstLevelSendersInsideWithRefInMethodTest.class/instance/testMethod1FirstLevelSendersInsideWithRefInMethod.st new file mode 100644 index 0000000..3553715 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTP1FirstLevelSendersInsideWithRefInMethodTest.class/instance/testMethod1FirstLevelSendersInsideWithRefInMethod.st @@ -0,0 +1,3 @@ +tests +testMethod1FirstLevelSendersInsideWithRefInMethod +SmTClassP1FirstLevelSendersInsideWithRefInMethod >> #method1FirstLevelSendersInsideWithRefInMethod \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTP1FirstLevelSendersInsideWithRefInMethodTest.class/properties.json b/SmartTestDataOutsideP1.package/SmTP1FirstLevelSendersInsideWithRefInMethodTest.class/properties.json new file mode 100644 index 0000000..3baaf3b --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTP1FirstLevelSendersInsideWithRefInMethodTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "Object", + "category" : "SmartTestDataOutsideP1-Tests", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTP1FirstLevelSendersInsideWithRefInMethodTest", + "type" : "normal" +} \ No newline at end of file From 91a1b95c8402ba79a89a41c102db0c79bb2ccbc1 Mon Sep 17 00:00:00 2001 From: eleonoreW Date: Thu, 31 May 2018 15:11:59 +0200 Subject: [PATCH 083/150] Modification of the classification of the classes : - Classes related to the testsForAMethod search are in tags beginning with "ModificationOnMethod' - Classes related to the testsForAClass search are in tags beginning with "ModificationOnClass' Addition of new classes specific to the search of tests for a modified Class. Modifications of the tests to use the classes created. --- .../instance/testClassAbstractTestCase.st | 10 ++++++++++ ...OutsideClassInsidePackageWithRefInMethod.st | 7 ------- ...utsideClassOutsidePackageWithRefInMethod.st | 7 ------- .../instance/testClassInheritance.st | 10 ---------- .../instance/testClassInheritanceSubClass1.st | 8 ++++++++ .../instance/testClassInsidePackageWithRef.st | 7 +++++++ .../instance/testClassOutsidePackageWithRef.st | 7 +++++++ .../instance/testClassSimpleTestCase.st | 7 +++++++ .../instance/testClassSubClass.st | 8 -------- .../instance/testsForAClass..st | 9 ++++----- .../README.md | 0 ...sModificationOnClassInsidePackageWithRef.st | 3 +++ .../properties.json | 11 +++++++++++ .../README.md | 0 .../properties.json | 11 +++++++++++ .../README.md | 0 .../properties.json | 11 +++++++++++ .../README.md | 0 .../testModificationOnClassSimpleTestCase.st | 3 +++ .../properties.json | 11 +++++++++++ .../SmTClassP1.class/properties.json | 2 +- .../properties.json | 2 +- .../properties.json | 2 +- .../properties.json | 2 +- .../properties.json | 2 +- .../properties.json | 2 +- .../properties.json | 2 +- .../properties.json | 2 +- .../properties.json | 2 +- .../properties.json | 2 +- .../properties.json | 2 +- .../properties.json | 2 +- .../SmTClassTestP1.class/properties.json | 2 +- .../SmTExtensionP1.class/properties.json | 2 +- .../README.md | 6 ++++++ .../class/isAbstract.st | 4 ++++ .../testModificationOnClassAbstractTestCase.st | 4 ++++ .../properties.json | 11 +++++++++++ .../README.md | 0 ...d1FirstLevelSendersInsideWithRefInMethod.st | 0 .../properties.json | 11 +++++++++++ .../README.md | 0 .../properties.json | 11 +++++++++++ .../README.md | 0 .../testModificationOnClassAbstractTestCase.st | 3 +++ .../properties.json | 11 +++++++++++ .../SmTP1Inheritance.class/properties.json | 2 +- .../properties.json | 2 +- .../properties.json | 2 +- .../SmTP1InheritanceTest.class/properties.json | 2 +- .../README.md | 0 .../properties.json | 4 ++-- .../monticello.meta/categories.st | 18 ++++++++++-------- .../README.md | 0 ...ModificationOnClassOutsidePackageWithRef.st | 3 +++ .../properties.json | 11 +++++++++++ .../monticello.meta/categories.st | 1 + 57 files changed, 199 insertions(+), 65 deletions(-) create mode 100644 SmartTest.package/SmTFilterAbstractTest.class/instance/testClassAbstractTestCase.st delete mode 100644 SmartTest.package/SmTFilterAbstractTest.class/instance/testClassFirstLevelSendersOutsideClassInsidePackageWithRefInMethod.st delete mode 100644 SmartTest.package/SmTFilterAbstractTest.class/instance/testClassFirstLevelSendersOutsideClassOutsidePackageWithRefInMethod.st delete mode 100644 SmartTest.package/SmTFilterAbstractTest.class/instance/testClassInheritance.st create mode 100644 SmartTest.package/SmTFilterAbstractTest.class/instance/testClassInheritanceSubClass1.st create mode 100644 SmartTest.package/SmTFilterAbstractTest.class/instance/testClassInsidePackageWithRef.st create mode 100644 SmartTest.package/SmTFilterAbstractTest.class/instance/testClassOutsidePackageWithRef.st create mode 100644 SmartTest.package/SmTFilterAbstractTest.class/instance/testClassSimpleTestCase.st delete mode 100644 SmartTest.package/SmTFilterAbstractTest.class/instance/testClassSubClass.st rename SmartTestDataOutsideP1.package/{SmTP1FirstLevelSendersInsideWithRefInMethodTest.class => RefToSmTClassModificationOnClassInsidePackageWithRef.class}/README.md (100%) create mode 100644 SmartTestDataOutsideP1.package/RefToSmTClassModificationOnClassInsidePackageWithRef.class/instance/testRefToSmTClassModificationOnClassInsidePackageWithRef.st create mode 100644 SmartTestDataOutsideP1.package/RefToSmTClassModificationOnClassInsidePackageWithRef.class/properties.json create mode 100644 SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageWithRef.class/README.md create mode 100644 SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageWithRef.class/properties.json create mode 100644 SmartTestDataOutsideP1.package/SmTClassModificationOnClassOutsidePackageWithRef.class/README.md create mode 100644 SmartTestDataOutsideP1.package/SmTClassModificationOnClassOutsidePackageWithRef.class/properties.json create mode 100644 SmartTestDataOutsideP1.package/SmTClassModificationOnClassSimpleTestCase.class/README.md create mode 100644 SmartTestDataOutsideP1.package/SmTClassModificationOnClassSimpleTestCase.class/instance/testModificationOnClassSimpleTestCase.st create mode 100644 SmartTestDataOutsideP1.package/SmTClassModificationOnClassSimpleTestCase.class/properties.json create mode 100644 SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/README.md create mode 100644 SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/class/isAbstract.st create mode 100644 SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/instance/testModificationOnClassAbstractTestCase.st create mode 100644 SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/properties.json create mode 100644 SmartTestDataOutsideP1.package/SmTP1ClassTestFirstLevelSendersInsideWithRefInMethod.class/README.md rename SmartTestDataOutsideP1.package/{SmTP1FirstLevelSendersInsideWithRefInMethodTest.class => SmTP1ClassTestFirstLevelSendersInsideWithRefInMethod.class}/instance/testMethod1FirstLevelSendersInsideWithRefInMethod.st (100%) create mode 100644 SmartTestDataOutsideP1.package/SmTP1ClassTestFirstLevelSendersInsideWithRefInMethod.class/properties.json create mode 100644 SmartTestDataOutsideP1.package/SmTP1ClassTestSubClassDoesntRedefineMethod.class/README.md create mode 100644 SmartTestDataOutsideP1.package/SmTP1ClassTestSubClassDoesntRedefineMethod.class/properties.json create mode 100644 SmartTestDataOutsideP1.package/SmTP1ClassTestSubclassRedefinesMethod.class/README.md create mode 100644 SmartTestDataOutsideP1.package/SmTP1ClassTestSubclassRedefinesMethod.class/instance/testModificationOnClassAbstractTestCase.st create mode 100644 SmartTestDataOutsideP1.package/SmTP1ClassTestSubclassRedefinesMethod.class/properties.json create mode 100644 SmartTestDataOutsideP1.package/SmTP1ModificationOnClassAbstractTestCase.class/README.md rename SmartTestDataOutsideP1.package/{SmTP1FirstLevelSendersInsideWithRefInMethodTest.class => SmTP1ModificationOnClassAbstractTestCase.class}/properties.json (55%) create mode 100644 SmartTestDataOutsideP2.package/RefToSmTClassModificationOnClassOutsidePackageWithRef.class/README.md create mode 100644 SmartTestDataOutsideP2.package/RefToSmTClassModificationOnClassOutsidePackageWithRef.class/instance/testRefToSmTClassModificationOnClassOutsidePackageWithRef.st create mode 100644 SmartTestDataOutsideP2.package/RefToSmTClassModificationOnClassOutsidePackageWithRef.class/properties.json diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassAbstractTestCase.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassAbstractTestCase.st new file mode 100644 index 0000000..fbf2862 --- /dev/null +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassAbstractTestCase.st @@ -0,0 +1,10 @@ +tests +testClassAbstractTestCase +"In this test we want to assert that if the modified class has subclasses, SmartTest finds all the inherited methods (implemented or not)" + + | testsFound testMethodSubClass1 testMethodSubClass2 | + testsFound := self searchTestMethodsForAClass: (('SmTP1ClassTestAbstractTestCase') asClass). + testMethodSubClass1 := RGMethodDefinition className: ('SmTP1ClassTestSubClassDoesntRedefine','Method') selector:('testModificationOnClassAbstract','TestCase') isMetaSide: false. + testMethodSubClass2 := RGMethodDefinition className: ('SmTP1ClassTestSubclassRedefines','Method') selector:('testModificationOnClassAbstract','TestCase') isMetaSide: false. + self assert: (testsFound includes: testMethodSubClass1). + self assert: (testsFound includes: testMethodSubClass2). \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassFirstLevelSendersOutsideClassInsidePackageWithRefInMethod.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassFirstLevelSendersOutsideClassInsidePackageWithRefInMethod.st deleted file mode 100644 index 92ca31c..0000000 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassFirstLevelSendersOutsideClassInsidePackageWithRefInMethod.st +++ /dev/null @@ -1,7 +0,0 @@ -tests -testClassFirstLevelSendersOutsideClassInsidePackageWithRefInMethod -"In this test, we want to assert that if the class is used in a method, we find the tests related to this method." - - | testsFound | - testsFound := self searchTestMethodsForAClass: ('SmTClassP1FirstLevelSendersInsideWithRefIn','Method') asClass. - self assert: (testsFound includes: ((('SmTP1FirstLevelSendersInsideWithRefInMethod','Test') asClass >> ('testMethod1FirstLevelSendersInsideWithRefIn','Method') asSymbol) asRingDefinition )). \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassFirstLevelSendersOutsideClassOutsidePackageWithRefInMethod.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassFirstLevelSendersOutsideClassOutsidePackageWithRefInMethod.st deleted file mode 100644 index 3def475..0000000 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassFirstLevelSendersOutsideClassOutsidePackageWithRefInMethod.st +++ /dev/null @@ -1,7 +0,0 @@ -tests -testClassFirstLevelSendersOutsideClassOutsidePackageWithRefInMethod -"In this test, we want to assert that if the class is used in a method, we find the tests related to this method." - - | testsFound | - testsFound := self searchTestMethodsForAClass: ('SmTClassP1FirstLevelSendersOutsideWithRefIn','Method') asClass. - self assert: (testsFound includes: ((('SmTClassTest','P2') asClass >> ('testMethod1FirstLevelSendersOutsideWithRef','InMethod') asSymbol) asRingDefinition )). \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassInheritance.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassInheritance.st deleted file mode 100644 index a460457..0000000 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassInheritance.st +++ /dev/null @@ -1,10 +0,0 @@ -tests -testClassInheritance -"In this test we want to assert that if the modified class has subclasses, SmartTest finds all the inherited methods (implemented or not)" - - | testsFound testMethodSubClass1 testMethodSubClass2 | - testsFound := self searchTestMethodsForAClass: (('SmT','P1InheritanceTest') asClass). - testMethodSubClass1 := RGMethodDefinition className: ('SmTP1','InheritanceSubClass1Test') selector:('testMethod1','Inheritance') isMetaSide: false. - testMethodSubClass2 := RGMethodDefinition className: ('SmTP1','InheritanceSubClass2Test') selector:('testMethod1','Inheritance') isMetaSide: false. - self assert: (testsFound includes: testMethodSubClass1). - self assert: (testsFound includes: testMethodSubClass2). \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassInheritanceSubClass1.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassInheritanceSubClass1.st new file mode 100644 index 0000000..b6aaaf8 --- /dev/null +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassInheritanceSubClass1.st @@ -0,0 +1,8 @@ +tests +testClassInheritanceSubClass1 + + | testsFound testMethodSubClass2 | + testsFound := self searchTestMethodsForAClass: (('SmTP1ClassTestSubClass','DoesntRedefineMethod') asClass). + testMethodSubClass2 := RGMethodDefinition className: ('SmTP1ClassTestSubClass','DoesntRedefineMethod') selector:('testModificationOnClass','AbstractTestCase') isMetaSide: false. + self assert: testsFound size equals: 1. + self assert: (testsFound includes: testMethodSubClass2). \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassInsidePackageWithRef.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassInsidePackageWithRef.st new file mode 100644 index 0000000..81f7120 --- /dev/null +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassInsidePackageWithRef.st @@ -0,0 +1,7 @@ +tests +testClassInsidePackageWithRef +"In this test, we want to assert that if the class is used in a method, we find the tests related to this method." + + | testsFound | + testsFound := self searchTestMethodsForAClass: ('SmTClassModificationOnClass','InsidePackageWithRef') asClass. + self assert: (testsFound includes: ((('RefToSmTClassModificationOnClass','InsidePackageWithRef') asClass >> ('testRefToSmTClassModificationOnClassInsidePackageWithRef') asSymbol) asRingDefinition )). \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassOutsidePackageWithRef.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassOutsidePackageWithRef.st new file mode 100644 index 0000000..b12e864 --- /dev/null +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassOutsidePackageWithRef.st @@ -0,0 +1,7 @@ +tests +testClassOutsidePackageWithRef +"In this test, we want to assert that if the class is used in a method, we find the tests related to this method." + + | testsFound | + testsFound := self searchTestMethodsForAClass: ('SmTClassModificationOnClass','OutsidePackageWithRef') asClass. + self assert: (testsFound includes: ((('RefToSmTClassModificationOnClassOutsidePackageWithRef') asClass >> ('testRefToSmTClassModificationOnClass','OutsidePackageWithRef') asSymbol) asRingDefinition )). \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassSimpleTestCase.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassSimpleTestCase.st new file mode 100644 index 0000000..3adb2ec --- /dev/null +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassSimpleTestCase.st @@ -0,0 +1,7 @@ +tests +testClassSimpleTestCase +"In this test we want to assert that SmartTest finds the test owned directly by a class." + + | testsFound | + testsFound := self searchTestMethodsForAClass: ('SmTClassModificationOnClass','SimpleTestCase') asClass. + self assert: (testsFound includes: ((('SmTClassModificationOnClass','SimpleTestCase') asClass >> ('testModificationOnClass','SimpleTestCase') asSymbol) asRingDefinition )). \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassSubClass.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassSubClass.st deleted file mode 100644 index 0463051..0000000 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassSubClass.st +++ /dev/null @@ -1,8 +0,0 @@ -tests -testClassSubClass - - | testsFound testMethodSubClass2 | - testsFound := self searchTestMethodsForAClass: (('SmT','P1InheritanceSubClass2Test') asClass). - testMethodSubClass2 := RGMethodDefinition className: ('SmTP1','InheritanceSubClass2Test') selector:('testMethod1','Inheritance') isMetaSide: false. - self assert: testsFound size equals: 1. - self assert: (testsFound includes: testMethodSubClass2). \ No newline at end of file diff --git a/SmartTest.package/SmTTestFinderStrategy.class/instance/testsForAClass..st b/SmartTest.package/SmTTestFinderStrategy.class/instance/testsForAClass..st index 855ab91..ed51cb4 100644 --- a/SmartTest.package/SmTTestFinderStrategy.class/instance/testsForAClass..st +++ b/SmartTest.package/SmTTestFinderStrategy.class/instance/testsForAClass..st @@ -2,15 +2,14 @@ accessing testsForAClass: aClass "This method returns all the tests related to a class. If it is a testCase, it returns all the tests owned by the class. - If the class is abstract, we compute the subclasses inherited tests methods and we add them to the test found. + If the class is am abstract testCase, we compute the subclasses inherited tests methods and we add them to the test found. We also want to find the tests related to methods that uses the class." | testsFound | testsFound := Set new. aClass isTestCase ifTrue: [ (aClass methods select: [ :aMethod | aMethod isTestMethod ]) do: [ :eachTestMethod | testsFound addAll: (self methodsFor: eachTestMethod) ]. - (aClass allTestSelectors) do:[:each| testsFound add: (RGMethodDefinition className: (aClass name) selector: each isMetaSide:false).]. - ]. - aClass subclasses do: [ :aSubClass | testsFound addAll: (self testsForAClass: aSubClass)]. - testsFound addAll: (aClass allCallsOn do: [ :aRGMethodDefinition | testsFound addAll: (self methodsFor: aRGMethodDefinition compiledMethod).]). + aClass allTestSelectors do: [ :each | testsFound add: (RGMethodDefinition className: aClass name selector: each isMetaSide: false) ] ]. + aClass subclasses do: [ :aSubClass | testsFound addAll: (self testsForAClass: aSubClass) ]. + testsFound addAll: (aClass allCallsOn flatCollect: [ :aRGMethodDefinition | self methodsFor: aRGMethodDefinition compiledMethod ]). ^ testsFound \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTP1FirstLevelSendersInsideWithRefInMethodTest.class/README.md b/SmartTestDataOutsideP1.package/RefToSmTClassModificationOnClassInsidePackageWithRef.class/README.md similarity index 100% rename from SmartTestDataOutsideP1.package/SmTP1FirstLevelSendersInsideWithRefInMethodTest.class/README.md rename to SmartTestDataOutsideP1.package/RefToSmTClassModificationOnClassInsidePackageWithRef.class/README.md diff --git a/SmartTestDataOutsideP1.package/RefToSmTClassModificationOnClassInsidePackageWithRef.class/instance/testRefToSmTClassModificationOnClassInsidePackageWithRef.st b/SmartTestDataOutsideP1.package/RefToSmTClassModificationOnClassInsidePackageWithRef.class/instance/testRefToSmTClassModificationOnClassInsidePackageWithRef.st new file mode 100644 index 0000000..3a45b24 --- /dev/null +++ b/SmartTestDataOutsideP1.package/RefToSmTClassModificationOnClassInsidePackageWithRef.class/instance/testRefToSmTClassModificationOnClassInsidePackageWithRef.st @@ -0,0 +1,3 @@ +tests +testRefToSmTClassModificationOnClassInsidePackageWithRef +SmTClassModificationOnClassInsidePackageWithRef new. \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/RefToSmTClassModificationOnClassInsidePackageWithRef.class/properties.json b/SmartTestDataOutsideP1.package/RefToSmTClassModificationOnClassInsidePackageWithRef.class/properties.json new file mode 100644 index 0000000..e726e43 --- /dev/null +++ b/SmartTestDataOutsideP1.package/RefToSmTClassModificationOnClassInsidePackageWithRef.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "TestCase", + "category" : "SmartTestDataOutsideP1-ModificationOnClass-Tests", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "RefToSmTClassModificationOnClassInsidePackageWithRef", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageWithRef.class/README.md b/SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageWithRef.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageWithRef.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageWithRef.class/properties.json new file mode 100644 index 0000000..c2827ea --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageWithRef.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "Object", + "category" : "SmartTestDataOutsideP1-ModificationOnClass-Tests", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTClassModificationOnClassInsidePackageWithRef", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassModificationOnClassOutsidePackageWithRef.class/README.md b/SmartTestDataOutsideP1.package/SmTClassModificationOnClassOutsidePackageWithRef.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTestDataOutsideP1.package/SmTClassModificationOnClassOutsidePackageWithRef.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassModificationOnClassOutsidePackageWithRef.class/properties.json new file mode 100644 index 0000000..a1a49db --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassModificationOnClassOutsidePackageWithRef.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "Object", + "category" : "SmartTestDataOutsideP1-ModificationOnClass-Tests", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTClassModificationOnClassOutsidePackageWithRef", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassModificationOnClassSimpleTestCase.class/README.md b/SmartTestDataOutsideP1.package/SmTClassModificationOnClassSimpleTestCase.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTestDataOutsideP1.package/SmTClassModificationOnClassSimpleTestCase.class/instance/testModificationOnClassSimpleTestCase.st b/SmartTestDataOutsideP1.package/SmTClassModificationOnClassSimpleTestCase.class/instance/testModificationOnClassSimpleTestCase.st new file mode 100644 index 0000000..74de0bc --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassModificationOnClassSimpleTestCase.class/instance/testModificationOnClassSimpleTestCase.st @@ -0,0 +1,3 @@ +tests +testModificationOnClassSimpleTestCase +"The behaviour of this method is irrelevant." \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassModificationOnClassSimpleTestCase.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassModificationOnClassSimpleTestCase.class/properties.json new file mode 100644 index 0000000..c6043c1 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassModificationOnClassSimpleTestCase.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "TestCase", + "category" : "SmartTestDataOutsideP1-ModificationOnClass-Tests", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTClassModificationOnClassSimpleTestCase", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1.class/properties.json index c121676..a55ae1c 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1.class/properties.json +++ b/SmartTestDataOutsideP1.package/SmTClassP1.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "EleonoreWALD 5/11/2018 13:40", "super" : "Object", - "category" : "SmartTestDataOutsideP1-WithoutRef", + "category" : "SmartTestDataOutsideP1-ModificationOnMethod-WithoutRef", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersInsideWithRefInMethod.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersInsideWithRefInMethod.class/properties.json index 2420b81..c992413 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersInsideWithRefInMethod.class/properties.json +++ b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersInsideWithRefInMethod.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "", "super" : "Object", - "category" : "SmartTestDataOutsideP1-FirstLevelWithRef", + "category" : "SmartTestDataOutsideP1-ModificationOnMethod-FirstLevelWithRef", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class/properties.json index c860ba5..8fbb924 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class/properties.json +++ b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "EleonoreWALD 5/14/2018 15:35", "super" : "Object", - "category" : "SmartTestDataOutsideP1-FirstLevelWithRef", + "category" : "SmartTestDataOutsideP1-ModificationOnMethod-FirstLevelWithRef", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class/properties.json index e701892..226ff4d 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class/properties.json +++ b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "EleonoreWALD 5/14/2018 15:35", "super" : "Object", - "category" : "SmartTestDataOutsideP1-FirstLevelWithRef", + "category" : "SmartTestDataOutsideP1-ModificationOnMethod-FirstLevelWithRef", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class/properties.json index 6172eb5..7a112c5 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class/properties.json +++ b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "EleonoreWALD 5/14/2018 15:35", "super" : "Object", - "category" : "SmartTestDataOutsideP1-FirstLevelWithRef", + "category" : "SmartTestDataOutsideP1-ModificationOnMethod-FirstLevelWithRef", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class/properties.json index c2368cb..97d8117 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class/properties.json +++ b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "EleonoreWALD 5/16/2018 16:22", "super" : "Object", - "category" : "SmartTestDataOutsideP1-SenderInTestOutWithRef", + "category" : "SmartTestDataOutsideP1-ModificationOnMethod-SenderInTestOutWithRef", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class/properties.json index 2638bb0..50c4ab4 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class/properties.json +++ b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "EleonoreWALD 5/16/2018 16:22", "super" : "Object", - "category" : "SmartTestDataOutsideP1-SenderInTestOutWithRef", + "category" : "SmartTestDataOutsideP1-ModificationOnMethod-SenderInTestOutWithRef", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class/properties.json index e6932a4..13a15fb 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class/properties.json +++ b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "EleonoreWALD 5/16/2018 16:22", "super" : "Object", - "category" : "SmartTestDataOutsideP1-SenderInTestOutWithRef", + "category" : "SmartTestDataOutsideP1-ModificationOnMethod-SenderInTestOutWithRef", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.class/properties.json index effa0e4..1f116dc 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.class/properties.json +++ b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "EleonoreWALD 5/16/2018 16:22", "super" : "Object", - "category" : "SmartTestDataOutsideP1-SenderOutTestInWithRef", + "category" : "SmartTestDataOutsideP1-ModificationOnMethod-SenderOutTestInWithRef", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class/properties.json index 452c521..f612c90 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class/properties.json +++ b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "EleonoreWALD 5/16/2018 16:22", "super" : "Object", - "category" : "SmartTestDataOutsideP1-SenderOutTestInWithRef", + "category" : "SmartTestDataOutsideP1-ModificationOnMethod-SenderOutTestInWithRef", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.class/properties.json index 3132684..c2a2998 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.class/properties.json +++ b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "EleonoreWALD 5/16/2018 16:22", "super" : "Object", - "category" : "SmartTestDataOutsideP1-SenderOutTestInWithRef", + "category" : "SmartTestDataOutsideP1-ModificationOnMethod-SenderOutTestInWithRef", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/properties.json index 80ac952..f009d87 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/properties.json +++ b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "EleonoreWALD 5/17/2018 10:51", "super" : "Object", - "category" : "SmartTestDataOutsideP1-SenderOutTestOutWithRef", + "category" : "SmartTestDataOutsideP1-ModificationOnMethod-SenderOutTestOutWithRef", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTestDataOutsideP1.package/SmTClassTestP1.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassTestP1.class/properties.json index 3876ada..9a8461c 100644 --- a/SmartTestDataOutsideP1.package/SmTClassTestP1.class/properties.json +++ b/SmartTestDataOutsideP1.package/SmTClassTestP1.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "EleonoreWALD 5/11/2018 11:54", "super" : "TestCase", - "category" : "SmartTestDataOutsideP1-Tests", + "category" : "SmartTestDataOutsideP1-ModificationOnMethod-Tests", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTestDataOutsideP1.package/SmTExtensionP1.class/properties.json b/SmartTestDataOutsideP1.package/SmTExtensionP1.class/properties.json index bf64387..8ba3837 100644 --- a/SmartTestDataOutsideP1.package/SmTExtensionP1.class/properties.json +++ b/SmartTestDataOutsideP1.package/SmTExtensionP1.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "", "super" : "Object", - "category" : "SmartTestDataOutsideP1-SenderExtensionMethod", + "category" : "SmartTestDataOutsideP1-ModificationOnMethod-SenderExtensionMethod", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/README.md b/SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/README.md new file mode 100644 index 0000000..92ef52b --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/README.md @@ -0,0 +1,6 @@ +Data for SmartTest tests on the testForClass:. + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +We will use this that to assert that SmartTest behaves correctly when dealing with inherited methods. \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/class/isAbstract.st b/SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/class/isAbstract.st new file mode 100644 index 0000000..5ec8231 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/class/isAbstract.st @@ -0,0 +1,4 @@ +testing +isAbstract + + ^ self == SmTP1ClassTestAbstractTestCase \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/instance/testModificationOnClassAbstractTestCase.st b/SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/instance/testModificationOnClassAbstractTestCase.st new file mode 100644 index 0000000..917c326 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/instance/testModificationOnClassAbstractTestCase.st @@ -0,0 +1,4 @@ +tests +testModificationOnClassAbstractTestCase + + ('SmTP1ModificationOnClassAbstract','TestCase') asClass new. \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/properties.json b/SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/properties.json new file mode 100644 index 0000000..63e3721 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "eleonoreW 5/31/2018 13:34", + "super" : "TestCase", + "category" : "SmartTestDataOutsideP1-ModificationOnClass-Tests", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTP1ClassTestAbstractTestCase", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTP1ClassTestFirstLevelSendersInsideWithRefInMethod.class/README.md b/SmartTestDataOutsideP1.package/SmTP1ClassTestFirstLevelSendersInsideWithRefInMethod.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTestDataOutsideP1.package/SmTP1FirstLevelSendersInsideWithRefInMethodTest.class/instance/testMethod1FirstLevelSendersInsideWithRefInMethod.st b/SmartTestDataOutsideP1.package/SmTP1ClassTestFirstLevelSendersInsideWithRefInMethod.class/instance/testMethod1FirstLevelSendersInsideWithRefInMethod.st similarity index 100% rename from SmartTestDataOutsideP1.package/SmTP1FirstLevelSendersInsideWithRefInMethodTest.class/instance/testMethod1FirstLevelSendersInsideWithRefInMethod.st rename to SmartTestDataOutsideP1.package/SmTP1ClassTestFirstLevelSendersInsideWithRefInMethod.class/instance/testMethod1FirstLevelSendersInsideWithRefInMethod.st diff --git a/SmartTestDataOutsideP1.package/SmTP1ClassTestFirstLevelSendersInsideWithRefInMethod.class/properties.json b/SmartTestDataOutsideP1.package/SmTP1ClassTestFirstLevelSendersInsideWithRefInMethod.class/properties.json new file mode 100644 index 0000000..25c7261 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTP1ClassTestFirstLevelSendersInsideWithRefInMethod.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "TestCase", + "category" : "SmartTestDataOutsideP1-ModificationOnMethod-Tests", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTP1ClassTestFirstLevelSendersInsideWithRefInMethod", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTP1ClassTestSubClassDoesntRedefineMethod.class/README.md b/SmartTestDataOutsideP1.package/SmTP1ClassTestSubClassDoesntRedefineMethod.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTestDataOutsideP1.package/SmTP1ClassTestSubClassDoesntRedefineMethod.class/properties.json b/SmartTestDataOutsideP1.package/SmTP1ClassTestSubClassDoesntRedefineMethod.class/properties.json new file mode 100644 index 0000000..081f291 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTP1ClassTestSubClassDoesntRedefineMethod.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTP1ClassTestAbstractTestCase", + "category" : "SmartTestDataOutsideP1-ModificationOnClass-Tests", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTP1ClassTestSubClassDoesntRedefineMethod", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTP1ClassTestSubclassRedefinesMethod.class/README.md b/SmartTestDataOutsideP1.package/SmTP1ClassTestSubclassRedefinesMethod.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTestDataOutsideP1.package/SmTP1ClassTestSubclassRedefinesMethod.class/instance/testModificationOnClassAbstractTestCase.st b/SmartTestDataOutsideP1.package/SmTP1ClassTestSubclassRedefinesMethod.class/instance/testModificationOnClassAbstractTestCase.st new file mode 100644 index 0000000..d7007cf --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTP1ClassTestSubclassRedefinesMethod.class/instance/testModificationOnClassAbstractTestCase.st @@ -0,0 +1,3 @@ +tests +testModificationOnClassAbstractTestCase +^super testModificationOnClassAbstractTestCase. \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTP1ClassTestSubclassRedefinesMethod.class/properties.json b/SmartTestDataOutsideP1.package/SmTP1ClassTestSubclassRedefinesMethod.class/properties.json new file mode 100644 index 0000000..17e8d5e --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTP1ClassTestSubclassRedefinesMethod.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTP1ClassTestAbstractTestCase", + "category" : "SmartTestDataOutsideP1-ModificationOnClass-Tests", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTP1ClassTestSubclassRedefinesMethod", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTP1Inheritance.class/properties.json b/SmartTestDataOutsideP1.package/SmTP1Inheritance.class/properties.json index dd16184..7aba621 100644 --- a/SmartTestDataOutsideP1.package/SmTP1Inheritance.class/properties.json +++ b/SmartTestDataOutsideP1.package/SmTP1Inheritance.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "", "super" : "Object", - "category" : "SmartTestDataOutsideP1-Inheritance", + "category" : "SmartTestDataOutsideP1-ModificationOnMethod-Inheritance", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass1Test.class/properties.json b/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass1Test.class/properties.json index 3967c82..ff62c87 100644 --- a/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass1Test.class/properties.json +++ b/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass1Test.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "EleonoreWALD 5/17/2018 11:19", "super" : "SmTP1InheritanceTest", - "category" : "SmartTestDataOutsideP1-Tests", + "category" : "SmartTestDataOutsideP1-ModificationOnMethod-Tests", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass2Test.class/properties.json b/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass2Test.class/properties.json index 59fc0e2..040986f 100644 --- a/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass2Test.class/properties.json +++ b/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass2Test.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "EleonoreWALD 5/17/2018 11:51", "super" : "SmTP1InheritanceTest", - "category" : "SmartTestDataOutsideP1-Tests", + "category" : "SmartTestDataOutsideP1-ModificationOnMethod-Tests", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTestDataOutsideP1.package/SmTP1InheritanceTest.class/properties.json b/SmartTestDataOutsideP1.package/SmTP1InheritanceTest.class/properties.json index 40fbb28..e1fcbb4 100644 --- a/SmartTestDataOutsideP1.package/SmTP1InheritanceTest.class/properties.json +++ b/SmartTestDataOutsideP1.package/SmTP1InheritanceTest.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "EleonoreWALD 5/17/2018 11:14", "super" : "TestCase", - "category" : "SmartTestDataOutsideP1-Tests", + "category" : "SmartTestDataOutsideP1-ModificationOnMethod-Tests", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTestDataOutsideP1.package/SmTP1ModificationOnClassAbstractTestCase.class/README.md b/SmartTestDataOutsideP1.package/SmTP1ModificationOnClassAbstractTestCase.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTestDataOutsideP1.package/SmTP1FirstLevelSendersInsideWithRefInMethodTest.class/properties.json b/SmartTestDataOutsideP1.package/SmTP1ModificationOnClassAbstractTestCase.class/properties.json similarity index 55% rename from SmartTestDataOutsideP1.package/SmTP1FirstLevelSendersInsideWithRefInMethodTest.class/properties.json rename to SmartTestDataOutsideP1.package/SmTP1ModificationOnClassAbstractTestCase.class/properties.json index 3baaf3b..399768c 100644 --- a/SmartTestDataOutsideP1.package/SmTP1FirstLevelSendersInsideWithRefInMethodTest.class/properties.json +++ b/SmartTestDataOutsideP1.package/SmTP1ModificationOnClassAbstractTestCase.class/properties.json @@ -1,11 +1,11 @@ { "commentStamp" : "", "super" : "Object", - "category" : "SmartTestDataOutsideP1-Tests", + "category" : "SmartTestDataOutsideP1-ModificationOnMethod", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], "instvars" : [ ], - "name" : "SmTP1FirstLevelSendersInsideWithRefInMethodTest", + "name" : "SmTP1ModificationOnClassAbstractTestCase", "type" : "normal" } \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/monticello.meta/categories.st b/SmartTestDataOutsideP1.package/monticello.meta/categories.st index febba68..b4fad86 100644 --- a/SmartTestDataOutsideP1.package/monticello.meta/categories.st +++ b/SmartTestDataOutsideP1.package/monticello.meta/categories.st @@ -1,9 +1,11 @@ SystemOrganization addCategory: #SmartTestDataOutsideP1! -SystemOrganization addCategory: #'SmartTestDataOutsideP1-FirstLevelWithRef'! -SystemOrganization addCategory: #'SmartTestDataOutsideP1-Inheritance'! -SystemOrganization addCategory: #'SmartTestDataOutsideP1-SenderExtensionMethod'! -SystemOrganization addCategory: #'SmartTestDataOutsideP1-SenderInTestOutWithRef'! -SystemOrganization addCategory: #'SmartTestDataOutsideP1-SenderOutTestInWithRef'! -SystemOrganization addCategory: #'SmartTestDataOutsideP1-SenderOutTestOutWithRef'! -SystemOrganization addCategory: #'SmartTestDataOutsideP1-Tests'! -SystemOrganization addCategory: #'SmartTestDataOutsideP1-WithoutRef'! +SystemOrganization addCategory: #'SmartTestDataOutsideP1-ModificationOnClass-Tests'! +SystemOrganization addCategory: #'SmartTestDataOutsideP1-ModificationOnMethod'! +SystemOrganization addCategory: #'SmartTestDataOutsideP1-ModificationOnMethod-FirstLevelWithRef'! +SystemOrganization addCategory: #'SmartTestDataOutsideP1-ModificationOnMethod-Inheritance'! +SystemOrganization addCategory: #'SmartTestDataOutsideP1-ModificationOnMethod-SenderExtensionMethod'! +SystemOrganization addCategory: #'SmartTestDataOutsideP1-ModificationOnMethod-SenderInTestOutWithRef'! +SystemOrganization addCategory: #'SmartTestDataOutsideP1-ModificationOnMethod-SenderOutTestInWithRef'! +SystemOrganization addCategory: #'SmartTestDataOutsideP1-ModificationOnMethod-SenderOutTestOutWithRef'! +SystemOrganization addCategory: #'SmartTestDataOutsideP1-ModificationOnMethod-Tests'! +SystemOrganization addCategory: #'SmartTestDataOutsideP1-ModificationOnMethod-WithoutRef'! diff --git a/SmartTestDataOutsideP2.package/RefToSmTClassModificationOnClassOutsidePackageWithRef.class/README.md b/SmartTestDataOutsideP2.package/RefToSmTClassModificationOnClassOutsidePackageWithRef.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTestDataOutsideP2.package/RefToSmTClassModificationOnClassOutsidePackageWithRef.class/instance/testRefToSmTClassModificationOnClassOutsidePackageWithRef.st b/SmartTestDataOutsideP2.package/RefToSmTClassModificationOnClassOutsidePackageWithRef.class/instance/testRefToSmTClassModificationOnClassOutsidePackageWithRef.st new file mode 100644 index 0000000..e78daec --- /dev/null +++ b/SmartTestDataOutsideP2.package/RefToSmTClassModificationOnClassOutsidePackageWithRef.class/instance/testRefToSmTClassModificationOnClassOutsidePackageWithRef.st @@ -0,0 +1,3 @@ +tests +testRefToSmTClassModificationOnClassOutsidePackageWithRef +SmTClassModificationOnClassOutsidePackageWithRef new. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/RefToSmTClassModificationOnClassOutsidePackageWithRef.class/properties.json b/SmartTestDataOutsideP2.package/RefToSmTClassModificationOnClassOutsidePackageWithRef.class/properties.json new file mode 100644 index 0000000..9020f8e --- /dev/null +++ b/SmartTestDataOutsideP2.package/RefToSmTClassModificationOnClassOutsidePackageWithRef.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "TestCase", + "category" : "SmartTestDataOutsideP2-ModificationOnClass-Tests", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "RefToSmTClassModificationOnClassOutsidePackageWithRef", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/monticello.meta/categories.st b/SmartTestDataOutsideP2.package/monticello.meta/categories.st index 0261acc..58fa957 100644 --- a/SmartTestDataOutsideP2.package/monticello.meta/categories.st +++ b/SmartTestDataOutsideP2.package/monticello.meta/categories.st @@ -1,4 +1,5 @@ SystemOrganization addCategory: #SmartTestDataOutsideP2! +SystemOrganization addCategory: #'SmartTestDataOutsideP2-ModificationOnClass-Tests'! SystemOrganization addCategory: #'SmartTestDataOutsideP2-References'! SystemOrganization addCategory: #'SmartTestDataOutsideP2-SenderOutTestInWithRef'! SystemOrganization addCategory: #'SmartTestDataOutsideP2-SenderOutTestOutWithRef'! From e2b57941063b632ab5207ea1120baf81c4648bed Mon Sep 17 00:00:00 2001 From: eleonoreW Date: Fri, 1 Jun 2018 14:56:39 +0200 Subject: [PATCH 084/150] Addition of tests + data --- .../instance/testClassInsidePackageWithRef.st | 1 + .../instance/testClassOutsidePackageWithRef.st | 1 + .../instance/testClassSimpleTestCase.st | 1 + .../instance/testInstVarInsideClass.st | 9 +++++++++ .../instance/testInstVarInsidePackage.st | 9 +++++++++ .../instance/testInstVarOutsidePackage.st | 9 +++++++++ .../README.md | 6 ++++++ .../instVarModificationOnVariableInsideClass..st | 3 +++ .../instVarModificationOnVariableInsideClass.st | 3 +++ ...instVarModificationOnVariableInsidePackage..st | 3 +++ .../instVarModificationOnVariableInsidePackage.st | 3 +++ ...nstVarModificationOnVariableOutsidePackage..st | 3 +++ ...instVarModificationOnVariableOutsidePackage.st | 3 +++ .../testModificationOnVariableInsideClass.st | 5 +++++ .../properties.json | 15 +++++++++++++++ .../README.md | 6 ++++++ .../testModificationOnVariableInsidePackage.st | 5 +++++ .../properties.json | 13 +++++++++++++ .../README.md | 2 +- .../properties.json | 2 +- .../monticello.meta/categories.st | 1 + .../README.md | 0 ...nstVarModificationOnVariableOutsidePackage..st | 3 +++ ...instVarModificationOnVariableOutsidePackage.st | 3 +++ .../testModificationOnVariableOutsidePackage.st | 5 +++++ .../properties.json | 13 +++++++++++++ .../SmTClassP2.class/properties.json | 2 +- .../properties.json | 2 +- .../properties.json | 2 +- .../properties.json | 2 +- .../properties.json | 2 +- .../properties.json | 2 +- .../SmTClassTestP2.class/properties.json | 2 +- .../SmTExtensionP2.class/properties.json | 2 +- .../monticello.meta/categories.st | 13 +++++++------ 35 files changed, 140 insertions(+), 16 deletions(-) create mode 100644 SmartTest.package/SmTFilterAbstractTest.class/instance/testInstVarInsideClass.st create mode 100644 SmartTest.package/SmTFilterAbstractTest.class/instance/testInstVarInsidePackage.st create mode 100644 SmartTest.package/SmTFilterAbstractTest.class/instance/testInstVarOutsidePackage.st create mode 100644 SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/README.md create mode 100644 SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/instVarModificationOnVariableInsideClass..st create mode 100644 SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/instVarModificationOnVariableInsideClass.st create mode 100644 SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/instVarModificationOnVariableInsidePackage..st create mode 100644 SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/instVarModificationOnVariableInsidePackage.st create mode 100644 SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/instVarModificationOnVariableOutsidePackage..st create mode 100644 SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/instVarModificationOnVariableOutsidePackage.st create mode 100644 SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/testModificationOnVariableInsideClass.st create mode 100644 SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/properties.json create mode 100644 SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsidePackage.class/README.md create mode 100644 SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsidePackage.class/instance/testModificationOnVariableInsidePackage.st create mode 100644 SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsidePackage.class/properties.json create mode 100644 SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackage.class/README.md create mode 100644 SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackage.class/instance/instVarModificationOnVariableOutsidePackage..st create mode 100644 SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackage.class/instance/instVarModificationOnVariableOutsidePackage.st create mode 100644 SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackage.class/instance/testModificationOnVariableOutsidePackage.st create mode 100644 SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackage.class/properties.json diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassInsidePackageWithRef.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassInsidePackageWithRef.st index 81f7120..692ead5 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassInsidePackageWithRef.st +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassInsidePackageWithRef.st @@ -4,4 +4,5 @@ testClassInsidePackageWithRef | testsFound | testsFound := self searchTestMethodsForAClass: ('SmTClassModificationOnClass','InsidePackageWithRef') asClass. + self assert: testsFound size equals: 1. self assert: (testsFound includes: ((('RefToSmTClassModificationOnClass','InsidePackageWithRef') asClass >> ('testRefToSmTClassModificationOnClassInsidePackageWithRef') asSymbol) asRingDefinition )). \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassOutsidePackageWithRef.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassOutsidePackageWithRef.st index b12e864..e57335d 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassOutsidePackageWithRef.st +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassOutsidePackageWithRef.st @@ -4,4 +4,5 @@ testClassOutsidePackageWithRef | testsFound | testsFound := self searchTestMethodsForAClass: ('SmTClassModificationOnClass','OutsidePackageWithRef') asClass. + self assert: testsFound size equals: 1. self assert: (testsFound includes: ((('RefToSmTClassModificationOnClassOutsidePackageWithRef') asClass >> ('testRefToSmTClassModificationOnClass','OutsidePackageWithRef') asSymbol) asRingDefinition )). \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassSimpleTestCase.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassSimpleTestCase.st index 3adb2ec..e3dea70 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassSimpleTestCase.st +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassSimpleTestCase.st @@ -4,4 +4,5 @@ testClassSimpleTestCase | testsFound | testsFound := self searchTestMethodsForAClass: ('SmTClassModificationOnClass','SimpleTestCase') asClass. + self assert: testsFound size equals: 1. self assert: (testsFound includes: ((('SmTClassModificationOnClass','SimpleTestCase') asClass >> ('testModificationOnClass','SimpleTestCase') asSymbol) asRingDefinition )). \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testInstVarInsideClass.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testInstVarInsideClass.st new file mode 100644 index 0000000..c7c14c6 --- /dev/null +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testInstVarInsideClass.st @@ -0,0 +1,9 @@ +tests +testInstVarInsideClass +"In this test we want to assert that if the modified class has subclasses, SmartTest finds all the inherited methods (implemented or not)" + + | testsFound aInstVar| + aInstVar := self instanceVariableNamed: 'instVarModificationOnVariableInsideClass' fromClass: 'SmTClassP1ModificationOnVariable'. + testsFound := self searchTestsForInstVar: aInstVar. + self assert: (testsFound includes: ('SmTClassP1','ModificationOnVariable') asClass >> ('testModificationOnVariable','InsideClass')asSymbol). + \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testInstVarInsidePackage.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testInstVarInsidePackage.st new file mode 100644 index 0000000..6347997 --- /dev/null +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testInstVarInsidePackage.st @@ -0,0 +1,9 @@ +tests +testInstVarInsidePackage +"In this test we want to assert that if the modified class has subclasses, SmartTest finds all the inherited methods (implemented or not)" + + | testsFound aInstVar| + aInstVar := self instanceVariableNamed: 'instVarModificationOnVariableInsidePackage' fromClass: 'SmTClassP1ModificationOnVariable'. + testsFound := self searchTestsForInstVar: aInstVar. + self assert: (testsFound includes: ('SmTClassP1ModificationOnVariable','InsidePackage') asClass >> ('testModificationOnVariable','InsidePackage')asSymbol). + \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testInstVarOutsidePackage.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testInstVarOutsidePackage.st new file mode 100644 index 0000000..c19f521 --- /dev/null +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testInstVarOutsidePackage.st @@ -0,0 +1,9 @@ +tests +testInstVarOutsidePackage +"In this test we want to assert that if the modified class has subclasses, SmartTest finds all the inherited methods (implemented or not)" + + | testsFound aInstVar| + aInstVar := self instanceVariableNamed: 'instVarModificationOnVariableOutsidePackage' fromClass: 'SmTClassP1ModificationOnVariable'. + testsFound := self searchTestsForInstVar: aInstVar. + self assert: (testsFound includes: ('SmTClassP1ModificationOnVariable','OutsidePackage') asClass >> ('testModificationOnVariable','OutsidePackage')asSymbol). + \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/README.md b/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/README.md new file mode 100644 index 0000000..92ec6c1 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/README.md @@ -0,0 +1,6 @@ +Data for SmartTest tests on the testForAnInstanceVariable:. + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +We will use this that to assert that SmartTest behaves correctly when dealing with modifications on instance variables. \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/instVarModificationOnVariableInsideClass..st b/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/instVarModificationOnVariableInsideClass..st new file mode 100644 index 0000000..57981dc --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/instVarModificationOnVariableInsideClass..st @@ -0,0 +1,3 @@ +accessing +instVarModificationOnVariableInsideClass: anObject + instVarModificationOnVariableInsideClass := anObject \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/instVarModificationOnVariableInsideClass.st b/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/instVarModificationOnVariableInsideClass.st new file mode 100644 index 0000000..2062647 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/instVarModificationOnVariableInsideClass.st @@ -0,0 +1,3 @@ +accessing +instVarModificationOnVariableInsideClass + ^ instVarModificationOnVariableInsideClass \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/instVarModificationOnVariableInsidePackage..st b/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/instVarModificationOnVariableInsidePackage..st new file mode 100644 index 0000000..1dadc5b --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/instVarModificationOnVariableInsidePackage..st @@ -0,0 +1,3 @@ +accessing +instVarModificationOnVariableInsidePackage: anObject + instVarModificationOnVariableInsidePackage := anObject \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/instVarModificationOnVariableInsidePackage.st b/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/instVarModificationOnVariableInsidePackage.st new file mode 100644 index 0000000..54e008f --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/instVarModificationOnVariableInsidePackage.st @@ -0,0 +1,3 @@ +accessing +instVarModificationOnVariableInsidePackage + ^ instVarModificationOnVariableInsidePackage \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/instVarModificationOnVariableOutsidePackage..st b/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/instVarModificationOnVariableOutsidePackage..st new file mode 100644 index 0000000..fc92231 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/instVarModificationOnVariableOutsidePackage..st @@ -0,0 +1,3 @@ +accessing +instVarModificationOnVariableOutsidePackage: anObject + instVarModificationOnVariableOutsidePackage := anObject \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/instVarModificationOnVariableOutsidePackage.st b/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/instVarModificationOnVariableOutsidePackage.st new file mode 100644 index 0000000..812e85d --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/instVarModificationOnVariableOutsidePackage.st @@ -0,0 +1,3 @@ +accessing +instVarModificationOnVariableOutsidePackage + ^ instVarModificationOnVariableOutsidePackage \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/testModificationOnVariableInsideClass.st b/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/testModificationOnVariableInsideClass.st new file mode 100644 index 0000000..58f23b7 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/testModificationOnVariableInsideClass.st @@ -0,0 +1,5 @@ +tests +testModificationOnVariableInsideClass +|anObject| +anObject := ('SmTClassP1ModificationOn','Variable') asClass new. +anObject instVarModificationOnVariableInsideClass \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/properties.json new file mode 100644 index 0000000..d1df3fa --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/properties.json @@ -0,0 +1,15 @@ +{ + "commentStamp" : "eleonoreW 6/1/2018 14:13", + "super" : "TestCase", + "category" : "SmartTestDataOutsideP1-ModificationOnVariable", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ + "instVarModificationOnVariableInsidePackage", + "instVarModificationOnVariableOutsidePackage", + "instVarModificationOnVariableInsideClass" + ], + "name" : "SmTClassP1ModificationOnVariable", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsidePackage.class/README.md b/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsidePackage.class/README.md new file mode 100644 index 0000000..92ec6c1 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsidePackage.class/README.md @@ -0,0 +1,6 @@ +Data for SmartTest tests on the testForAnInstanceVariable:. + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +We will use this that to assert that SmartTest behaves correctly when dealing with modifications on instance variables. \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsidePackage.class/instance/testModificationOnVariableInsidePackage.st b/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsidePackage.class/instance/testModificationOnVariableInsidePackage.st new file mode 100644 index 0000000..5a76e2b --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsidePackage.class/instance/testModificationOnVariableInsidePackage.st @@ -0,0 +1,5 @@ +tests +testModificationOnVariableInsidePackage +|anObject| +anObject := ('SmTClassP1','ModificationOnVariable')asClass new. +anObject instVarModificationOnVariableInsidePackage \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsidePackage.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsidePackage.class/properties.json new file mode 100644 index 0000000..b52e0d2 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsidePackage.class/properties.json @@ -0,0 +1,13 @@ +{ + "commentStamp" : "eleonoreW 6/1/2018 14:13", + "super" : "TestCase", + "category" : "SmartTestDataOutsideP1-ModificationOnVariable", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ + "instVarModificationOnVariable" + ], + "name" : "SmTClassP1ModificationOnVariableInsidePackage", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/README.md b/SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/README.md index 92ef52b..d3aee6f 100644 --- a/SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/README.md +++ b/SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/README.md @@ -3,4 +3,4 @@ Data for SmartTest tests on the testForClass:. Methods of this class have long name in order to be unique and explicit. Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. -We will use this that to assert that SmartTest behaves correctly when dealing with inherited methods. \ No newline at end of file +We will use this that to assert that SmartTest behaves correctly when dealing with inherited methods ans class. \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/properties.json b/SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/properties.json index 63e3721..416155f 100644 --- a/SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/properties.json +++ b/SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "eleonoreW 5/31/2018 13:34", + "commentStamp" : "eleonoreW 6/1/2018 10:16", "super" : "TestCase", "category" : "SmartTestDataOutsideP1-ModificationOnClass-Tests", "classinstvars" : [ ], diff --git a/SmartTestDataOutsideP1.package/monticello.meta/categories.st b/SmartTestDataOutsideP1.package/monticello.meta/categories.st index b4fad86..0b40091 100644 --- a/SmartTestDataOutsideP1.package/monticello.meta/categories.st +++ b/SmartTestDataOutsideP1.package/monticello.meta/categories.st @@ -9,3 +9,4 @@ SystemOrganization addCategory: #'SmartTestDataOutsideP1-ModificationOnMethod-Se SystemOrganization addCategory: #'SmartTestDataOutsideP1-ModificationOnMethod-SenderOutTestOutWithRef'! SystemOrganization addCategory: #'SmartTestDataOutsideP1-ModificationOnMethod-Tests'! SystemOrganization addCategory: #'SmartTestDataOutsideP1-ModificationOnMethod-WithoutRef'! +SystemOrganization addCategory: #'SmartTestDataOutsideP1-ModificationOnVariable'! diff --git a/SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackage.class/README.md b/SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackage.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackage.class/instance/instVarModificationOnVariableOutsidePackage..st b/SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackage.class/instance/instVarModificationOnVariableOutsidePackage..st new file mode 100644 index 0000000..fc92231 --- /dev/null +++ b/SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackage.class/instance/instVarModificationOnVariableOutsidePackage..st @@ -0,0 +1,3 @@ +accessing +instVarModificationOnVariableOutsidePackage: anObject + instVarModificationOnVariableOutsidePackage := anObject \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackage.class/instance/instVarModificationOnVariableOutsidePackage.st b/SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackage.class/instance/instVarModificationOnVariableOutsidePackage.st new file mode 100644 index 0000000..812e85d --- /dev/null +++ b/SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackage.class/instance/instVarModificationOnVariableOutsidePackage.st @@ -0,0 +1,3 @@ +accessing +instVarModificationOnVariableOutsidePackage + ^ instVarModificationOnVariableOutsidePackage \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackage.class/instance/testModificationOnVariableOutsidePackage.st b/SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackage.class/instance/testModificationOnVariableOutsidePackage.st new file mode 100644 index 0000000..a419d7a --- /dev/null +++ b/SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackage.class/instance/testModificationOnVariableOutsidePackage.st @@ -0,0 +1,5 @@ +tests +testModificationOnVariableOutsidePackage +|anObject| +anObject := ('SmTClassP1','ModificationOnVariable')asClass new. +anObject instVarModificationOnVariableOutsidePackage \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackage.class/properties.json b/SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackage.class/properties.json new file mode 100644 index 0000000..d756f1f --- /dev/null +++ b/SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackage.class/properties.json @@ -0,0 +1,13 @@ +{ + "commentStamp" : "", + "super" : "TestCase", + "category" : "SmartTestDataOutsideP2-ModificationOnVariable", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ + "instVarModificationOnVariableOutsidePackage" + ], + "name" : "SmTClassP1ModificationOnVariableOutsidePackage", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassP2.class/properties.json b/SmartTestDataOutsideP2.package/SmTClassP2.class/properties.json index 124ad3c..dee3199 100644 --- a/SmartTestDataOutsideP2.package/SmTClassP2.class/properties.json +++ b/SmartTestDataOutsideP2.package/SmTClassP2.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "EleonoreWALD 5/11/2018 13:40", "super" : "Object", - "category" : "SmartTestDataOutsideP2-WithoutRef", + "category" : "SmartTestDataOutsideP2-ModificationOnMethod-WithoutRef", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/properties.json b/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/properties.json index 80306a7..7f96c35 100644 --- a/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/properties.json +++ b/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "EleonoreWALD 5/17/2018 08:45", "super" : "Object", - "category" : "SmartTestDataOutsideP2-References", + "category" : "SmartTestDataOutsideP2-ModificationOnMethod-References", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/properties.json b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/properties.json index 53008eb..94f3220 100644 --- a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/properties.json +++ b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "EleonoreWALD 5/17/2018 08:53", "super" : "Object", - "category" : "SmartTestDataOutsideP2-SenderOutTestInWithRef", + "category" : "SmartTestDataOutsideP2-ModificationOnMethod-SenderOutTestInWithRef", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInMethod.class/properties.json b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInMethod.class/properties.json index 367ee39..236dcf6 100644 --- a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInMethod.class/properties.json +++ b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInMethod.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "EleonoreWALD 5/17/2018 09:00", "super" : "Object", - "category" : "SmartTestDataOutsideP2-SenderOutTestInWithRef", + "category" : "SmartTestDataOutsideP2-ModificationOnMethod-SenderOutTestInWithRef", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage.class/properties.json b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage.class/properties.json index 835cbc2..dd9b12d 100644 --- a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage.class/properties.json +++ b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "EleonoreWALD 5/17/2018 08:53", "super" : "Object", - "category" : "SmartTestDataOutsideP2-SenderOutTestInWithRef", + "category" : "SmartTestDataOutsideP2-ModificationOnMethod-SenderOutTestInWithRef", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/properties.json b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/properties.json index df5f918..17c63f7 100644 --- a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/properties.json +++ b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "EleonoreWALD 5/17/2018 10:51", "super" : "Object", - "category" : "SmartTestDataOutsideP2-SenderOutTestOutWithRef", + "category" : "SmartTestDataOutsideP2-ModificationOnMethod-SenderOutTestOutWithRef", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2.class/properties.json b/SmartTestDataOutsideP2.package/SmTClassTestP2.class/properties.json index 1d1568e..918e931 100644 --- a/SmartTestDataOutsideP2.package/SmTClassTestP2.class/properties.json +++ b/SmartTestDataOutsideP2.package/SmTClassTestP2.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "EleonoreWALD 5/11/2018 11:55", "super" : "TestCase", - "category" : "SmartTestDataOutsideP2-Tests", + "category" : "SmartTestDataOutsideP2-ModificationOnMethod-Tests", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTestDataOutsideP2.package/SmTExtensionP2.class/properties.json b/SmartTestDataOutsideP2.package/SmTExtensionP2.class/properties.json index dd3d43e..f9af9d2 100644 --- a/SmartTestDataOutsideP2.package/SmTExtensionP2.class/properties.json +++ b/SmartTestDataOutsideP2.package/SmTExtensionP2.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "", "super" : "TestCase", - "category" : "SmartTestDataOutsideP2-extensionMethod", + "category" : "SmartTestDataOutsideP2-ModificationOnMethod-ExtensionMethod", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTestDataOutsideP2.package/monticello.meta/categories.st b/SmartTestDataOutsideP2.package/monticello.meta/categories.st index 58fa957..53373c1 100644 --- a/SmartTestDataOutsideP2.package/monticello.meta/categories.st +++ b/SmartTestDataOutsideP2.package/monticello.meta/categories.st @@ -1,8 +1,9 @@ SystemOrganization addCategory: #SmartTestDataOutsideP2! SystemOrganization addCategory: #'SmartTestDataOutsideP2-ModificationOnClass-Tests'! -SystemOrganization addCategory: #'SmartTestDataOutsideP2-References'! -SystemOrganization addCategory: #'SmartTestDataOutsideP2-SenderOutTestInWithRef'! -SystemOrganization addCategory: #'SmartTestDataOutsideP2-SenderOutTestOutWithRef'! -SystemOrganization addCategory: #'SmartTestDataOutsideP2-Tests'! -SystemOrganization addCategory: #'SmartTestDataOutsideP2-WithoutRef'! -SystemOrganization addCategory: #'SmartTestDataOutsideP2-extensionMethod'! +SystemOrganization addCategory: #'SmartTestDataOutsideP2-ModificationOnMethod-ExtensionMethod'! +SystemOrganization addCategory: #'SmartTestDataOutsideP2-ModificationOnMethod-References'! +SystemOrganization addCategory: #'SmartTestDataOutsideP2-ModificationOnMethod-SenderOutTestInWithRef'! +SystemOrganization addCategory: #'SmartTestDataOutsideP2-ModificationOnMethod-SenderOutTestOutWithRef'! +SystemOrganization addCategory: #'SmartTestDataOutsideP2-ModificationOnMethod-Tests'! +SystemOrganization addCategory: #'SmartTestDataOutsideP2-ModificationOnMethod-WithoutRef'! +SystemOrganization addCategory: #'SmartTestDataOutsideP2-ModificationOnVariable'! From 53ba1a8904aada0fbc64c4c10ab259ee352e0bfb Mon Sep 17 00:00:00 2001 From: eleonoreW Date: Fri, 1 Jun 2018 14:57:29 +0200 Subject: [PATCH 085/150] Correction of an issue : we can change the regex in the settings --- .../SmTRules.class/class/packagesRegex..st | 3 +++ .../SmTRules.class/class/packagesRegex.st | 3 +++ .../SmTRules.class/class/settingsOn..st | 13 ++++++++++++- SmartTest.package/SmTRules.class/properties.json | 3 ++- 4 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 SmartTest.package/SmTRules.class/class/packagesRegex..st create mode 100644 SmartTest.package/SmTRules.class/class/packagesRegex.st diff --git a/SmartTest.package/SmTRules.class/class/packagesRegex..st b/SmartTest.package/SmTRules.class/class/packagesRegex..st new file mode 100644 index 0000000..397489a --- /dev/null +++ b/SmartTest.package/SmTRules.class/class/packagesRegex..st @@ -0,0 +1,3 @@ +settings +packagesRegex: aRegexStringCollection + collectionOfRegex := aRegexStringCollection \ No newline at end of file diff --git a/SmartTest.package/SmTRules.class/class/packagesRegex.st b/SmartTest.package/SmTRules.class/class/packagesRegex.st new file mode 100644 index 0000000..03131c4 --- /dev/null +++ b/SmartTest.package/SmTRules.class/class/packagesRegex.st @@ -0,0 +1,3 @@ +settings +packagesRegex +^ collectionOfRegex ifNil: [ collectionOfRegex := '' ] \ No newline at end of file diff --git a/SmartTest.package/SmTRules.class/class/settingsOn..st b/SmartTest.package/SmTRules.class/class/settingsOn..st index eeaef0c..16cea8e 100644 --- a/SmartTest.package/SmTRules.class/class/settingsOn..st +++ b/SmartTest.package/SmTRules.class/class/settingsOn..st @@ -38,9 +38,20 @@ settingsOn: aBuilder order: 0.5; label: 'SmartTest filter'; target: self; - parent: #SmartFinder; + parent: #SmTFilter; domainValues: SmTFilterStrategy allSubclasses; description: 'The testing strategy defines when SmartTest will run the test it has found.' ]. + (aBuilder setting: #packagesRegex) + label: 'SmartTest filter Regex configuration'; + target: self; + parent: #SmTFilter; + ghostHelp: 'SmartTe|Star*Wnrs'; + notInStyle; + default: ''; + description: + 'Change the value to scope the package you want to explore. +If you want to check the packages are well detected,run + SmTFilterSpecifyPackageSettings selectedPackage'. (aBuilder group: #SmTActivationRenrakuOption) order: 6; with: [ (aBuilder setting: #activated) diff --git a/SmartTest.package/SmTRules.class/properties.json b/SmartTest.package/SmTRules.class/properties.json index 93adb5f..149b0e7 100644 --- a/SmartTest.package/SmTRules.class/properties.json +++ b/SmartTest.package/SmTRules.class/properties.json @@ -9,7 +9,8 @@ "smTClassTestingStrategy", "smTFilter", "smTFinder", - "smTTestRunner" + "smTTestRunner", + "collectionOfRegex" ], "pools" : [ ], "classvars" : [ From c0c13de5ec4a58caae8d0a2065c2dd45677b1337 Mon Sep 17 00:00:00 2001 From: badetitou Date: Sun, 3 Jun 2018 18:07:08 +0200 Subject: [PATCH 086/150] Add tests changement in the settings --- .../instance/setUp.st | 50 +++++-------------- .../SmTRules.class/class/testFinder..st | 5 ++ .../SmTSettingsBasicCacheTest.class/README.md | 0 .../instance/cacheStrategy.st | 3 ++ .../properties.json | 11 ++++ .../SmTSettingsCacheTest.class/README.md | 0 .../class/isAbstract.st | 3 ++ .../instance/cacheStrategy.st | 3 ++ .../instance/testChangeCacheStrategy.st | 7 +++ .../properties.json | 11 ++++ .../README.md | 0 .../instance/filterStrategy.st | 3 ++ .../properties.json | 11 ++++ .../README.md | 0 .../instance/filterStrategy.st | 3 ++ .../properties.json | 11 ++++ .../README.md | 0 .../instance/filterStrategy.st | 3 ++ .../properties.json | 11 ++++ .../README.md | 0 .../instance/filterStrategy.st | 3 ++ .../properties.json | 11 ++++ .../README.md | 0 .../instance/dataForTestRegex.st | 3 ++ .../instance/filterStrategy.st | 3 ++ .../instance/setUp.st | 5 ++ .../instance/tearDown.st | 5 ++ .../instance/testChangeRegexWhenChanged.st | 4 ++ .../properties.json | 13 +++++ .../SmTSettingsFilterTest.class/README.md | 0 .../class/isAbstract.st | 3 ++ .../instance/filterStrategy.st | 3 ++ .../instance/testChangeFilterStrategy.st | 7 +++ .../properties.json | 11 ++++ .../README.md | 0 .../instance/finderStrategy.st | 3 ++ .../properties.json | 11 ++++ .../README.md | 0 .../instance/finderStrategy.st | 3 ++ .../properties.json | 11 ++++ .../SmTSettingsFinderTest.class/README.md | 0 .../class/isAbstract.st | 3 ++ .../instance/finderStrategy.st | 3 ++ .../instance/testChangeFinderStrategy.st | 9 ++++ .../properties.json | 11 ++++ .../README.md | 0 .../instance/finderStrategy.st | 3 ++ .../properties.json | 11 ++++ .../SmTSettingsNoCacheTest.class/README.md | 0 .../instance/cacheStrategy.st | 3 ++ .../properties.json | 11 ++++ .../README.md | 0 .../class/isAbstract.st | 3 ++ .../instance/dataForTestRegex.st | 3 ++ .../instance/setUp.st | 5 ++ .../instance/tearDown.st | 5 ++ .../instance/testChangeRegex.st | 4 ++ .../properties.json | 14 ++++++ .../README.md | 0 .../instance/runnerStrategy.st | 3 ++ .../properties.json | 11 ++++ .../README.md | 0 .../instance/runnerStrategy.st | 3 ++ .../properties.json | 11 ++++ .../README.md | 0 .../instance/runnerStrategy.st | 3 ++ .../properties.json | 11 ++++ .../SmTSettingsRunnerTest.class/README.md | 0 .../class/isAbstract.st | 3 ++ .../instance/runnerStrategy.st | 3 ++ .../instance/testChangeRunnerStrategy.st | 7 +++ .../properties.json | 11 ++++ .../SmTSettingsTest.class/README.md | 0 .../SmTSettingsTest.class/class/isAbstract.st | 3 ++ .../SmTSettingsTest.class/instance/setUp.st | 4 ++ .../instance/tearDown.st | 4 ++ .../SmTSettingsTest.class/properties.json | 13 +++++ .../README.md | 0 .../instance/getTestingStrategy.st | 3 ++ .../properties.json | 11 ++++ .../README.md | 0 .../instance/getTestingStrategy.st | 3 ++ .../properties.json | 11 ++++ .../README.md | 0 .../instance/getTestingStrategy.st | 3 ++ .../properties.json | 11 ++++ .../README.md | 0 .../instance/getTestingStrategy.st | 3 ++ .../properties.json | 11 ++++ .../README.md | 0 .../class/isAbstract.st | 3 ++ .../instance/getTestingStrategy.st | 3 ++ .../testChangeTestingStrategyStrategy.st | 8 +++ .../properties.json | 11 ++++ .../{packagesRegEx..st => packagesRegex..st} | 0 95 files changed, 455 insertions(+), 38 deletions(-) create mode 100644 SmartTest.package/SmTRules.class/class/testFinder..st create mode 100644 SmartTest.package/SmTSettingsBasicCacheTest.class/README.md create mode 100644 SmartTest.package/SmTSettingsBasicCacheTest.class/instance/cacheStrategy.st create mode 100644 SmartTest.package/SmTSettingsBasicCacheTest.class/properties.json create mode 100644 SmartTest.package/SmTSettingsCacheTest.class/README.md create mode 100644 SmartTest.package/SmTSettingsCacheTest.class/class/isAbstract.st create mode 100644 SmartTest.package/SmTSettingsCacheTest.class/instance/cacheStrategy.st create mode 100644 SmartTest.package/SmTSettingsCacheTest.class/instance/testChangeCacheStrategy.st create mode 100644 SmartTest.package/SmTSettingsCacheTest.class/properties.json create mode 100644 SmartTest.package/SmTSettingsFilterDefaultClassPackagesTest.class/README.md create mode 100644 SmartTest.package/SmTSettingsFilterDefaultClassPackagesTest.class/instance/filterStrategy.st create mode 100644 SmartTest.package/SmTSettingsFilterDefaultClassPackagesTest.class/properties.json create mode 100644 SmartTest.package/SmTSettingsFilterDefaultPackagesTest.class/README.md create mode 100644 SmartTest.package/SmTSettingsFilterDefaultPackagesTest.class/instance/filterStrategy.st create mode 100644 SmartTest.package/SmTSettingsFilterDefaultPackagesTest.class/properties.json create mode 100644 SmartTest.package/SmTSettingsFilterIcebergTest.class/README.md create mode 100644 SmartTest.package/SmTSettingsFilterIcebergTest.class/instance/filterStrategy.st create mode 100644 SmartTest.package/SmTSettingsFilterIcebergTest.class/properties.json create mode 100644 SmartTest.package/SmTSettingsFilterNoFilterTest.class/README.md create mode 100644 SmartTest.package/SmTSettingsFilterNoFilterTest.class/instance/filterStrategy.st create mode 100644 SmartTest.package/SmTSettingsFilterNoFilterTest.class/properties.json create mode 100644 SmartTest.package/SmTSettingsFilterSpecifyPackagesNameTest.class/README.md create mode 100644 SmartTest.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/dataForTestRegex.st create mode 100644 SmartTest.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/filterStrategy.st create mode 100644 SmartTest.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/setUp.st create mode 100644 SmartTest.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/tearDown.st create mode 100644 SmartTest.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/testChangeRegexWhenChanged.st create mode 100644 SmartTest.package/SmTSettingsFilterSpecifyPackagesNameTest.class/properties.json create mode 100644 SmartTest.package/SmTSettingsFilterTest.class/README.md create mode 100644 SmartTest.package/SmTSettingsFilterTest.class/class/isAbstract.st create mode 100644 SmartTest.package/SmTSettingsFilterTest.class/instance/filterStrategy.st create mode 100644 SmartTest.package/SmTSettingsFilterTest.class/instance/testChangeFilterStrategy.st create mode 100644 SmartTest.package/SmTSettingsFilterTest.class/properties.json create mode 100644 SmartTest.package/SmTSettingsFinderReflectivityTest.class/README.md create mode 100644 SmartTest.package/SmTSettingsFinderReflectivityTest.class/instance/finderStrategy.st create mode 100644 SmartTest.package/SmTSettingsFinderReflectivityTest.class/properties.json create mode 100644 SmartTest.package/SmTSettingsFinderSenderTestTest.class/README.md create mode 100644 SmartTest.package/SmTSettingsFinderSenderTestTest.class/instance/finderStrategy.st create mode 100644 SmartTest.package/SmTSettingsFinderSenderTestTest.class/properties.json create mode 100644 SmartTest.package/SmTSettingsFinderTest.class/README.md create mode 100644 SmartTest.package/SmTSettingsFinderTest.class/class/isAbstract.st create mode 100644 SmartTest.package/SmTSettingsFinderTest.class/instance/finderStrategy.st create mode 100644 SmartTest.package/SmTSettingsFinderTest.class/instance/testChangeFinderStrategy.st create mode 100644 SmartTest.package/SmTSettingsFinderTest.class/properties.json create mode 100644 SmartTest.package/SmTSettingsFinderTestCoverageTest.class/README.md create mode 100644 SmartTest.package/SmTSettingsFinderTestCoverageTest.class/instance/finderStrategy.st create mode 100644 SmartTest.package/SmTSettingsFinderTestCoverageTest.class/properties.json create mode 100644 SmartTest.package/SmTSettingsNoCacheTest.class/README.md create mode 100644 SmartTest.package/SmTSettingsNoCacheTest.class/instance/cacheStrategy.st create mode 100644 SmartTest.package/SmTSettingsNoCacheTest.class/properties.json create mode 100644 SmartTest.package/SmTSettingsPackagesRegexTest.class/README.md create mode 100644 SmartTest.package/SmTSettingsPackagesRegexTest.class/class/isAbstract.st create mode 100644 SmartTest.package/SmTSettingsPackagesRegexTest.class/instance/dataForTestRegex.st create mode 100644 SmartTest.package/SmTSettingsPackagesRegexTest.class/instance/setUp.st create mode 100644 SmartTest.package/SmTSettingsPackagesRegexTest.class/instance/tearDown.st create mode 100644 SmartTest.package/SmTSettingsPackagesRegexTest.class/instance/testChangeRegex.st create mode 100644 SmartTest.package/SmTSettingsPackagesRegexTest.class/properties.json create mode 100644 SmartTest.package/SmTSettingsRunnerDebugTest.class/README.md create mode 100644 SmartTest.package/SmTSettingsRunnerDebugTest.class/instance/runnerStrategy.st create mode 100644 SmartTest.package/SmTSettingsRunnerDebugTest.class/properties.json create mode 100644 SmartTest.package/SmTSettingsRunnerNoticeTest.class/README.md create mode 100644 SmartTest.package/SmTSettingsRunnerNoticeTest.class/instance/runnerStrategy.st create mode 100644 SmartTest.package/SmTSettingsRunnerNoticeTest.class/properties.json create mode 100644 SmartTest.package/SmTSettingsRunnerSmartTest.class/README.md create mode 100644 SmartTest.package/SmTSettingsRunnerSmartTest.class/instance/runnerStrategy.st create mode 100644 SmartTest.package/SmTSettingsRunnerSmartTest.class/properties.json create mode 100644 SmartTest.package/SmTSettingsRunnerTest.class/README.md create mode 100644 SmartTest.package/SmTSettingsRunnerTest.class/class/isAbstract.st create mode 100644 SmartTest.package/SmTSettingsRunnerTest.class/instance/runnerStrategy.st create mode 100644 SmartTest.package/SmTSettingsRunnerTest.class/instance/testChangeRunnerStrategy.st create mode 100644 SmartTest.package/SmTSettingsRunnerTest.class/properties.json create mode 100644 SmartTest.package/SmTSettingsTest.class/README.md create mode 100644 SmartTest.package/SmTSettingsTest.class/class/isAbstract.st create mode 100644 SmartTest.package/SmTSettingsTest.class/instance/setUp.st create mode 100644 SmartTest.package/SmTSettingsTest.class/instance/tearDown.st create mode 100644 SmartTest.package/SmTSettingsTest.class/properties.json create mode 100644 SmartTest.package/SmTSettingsTestingStrategyAlwaysTest.class/README.md create mode 100644 SmartTest.package/SmTSettingsTestingStrategyAlwaysTest.class/instance/getTestingStrategy.st create mode 100644 SmartTest.package/SmTSettingsTestingStrategyAlwaysTest.class/properties.json create mode 100644 SmartTest.package/SmTSettingsTestingStrategyEachModificationTest.class/README.md create mode 100644 SmartTest.package/SmTSettingsTestingStrategyEachModificationTest.class/instance/getTestingStrategy.st create mode 100644 SmartTest.package/SmTSettingsTestingStrategyEachModificationTest.class/properties.json create mode 100644 SmartTest.package/SmTSettingsTestingStrategyFiveMinutesTest.class/README.md create mode 100644 SmartTest.package/SmTSettingsTestingStrategyFiveMinutesTest.class/instance/getTestingStrategy.st create mode 100644 SmartTest.package/SmTSettingsTestingStrategyFiveMinutesTest.class/properties.json create mode 100644 SmartTest.package/SmTSettingsTestingStrategyNeverTest.class/README.md create mode 100644 SmartTest.package/SmTSettingsTestingStrategyNeverTest.class/instance/getTestingStrategy.st create mode 100644 SmartTest.package/SmTSettingsTestingStrategyNeverTest.class/properties.json create mode 100644 SmartTest.package/SmTSettingsTestingStrategyTest.class/README.md create mode 100644 SmartTest.package/SmTSettingsTestingStrategyTest.class/class/isAbstract.st create mode 100644 SmartTest.package/SmTSettingsTestingStrategyTest.class/instance/getTestingStrategy.st create mode 100644 SmartTest.package/SmTSettingsTestingStrategyTest.class/instance/testChangeTestingStrategyStrategy.st create mode 100644 SmartTest.package/SmTSettingsTestingStrategyTest.class/properties.json rename SmartTest.package/SmTSpecifyPackagesNameFilter.class/class/{packagesRegEx..st => packagesRegex..st} (100%) diff --git a/SmartTest.package/SmTFinderAbstractTest.class/instance/setUp.st b/SmartTest.package/SmTFinderAbstractTest.class/instance/setUp.st index 520e057..2217412 100644 --- a/SmartTest.package/SmTFinderAbstractTest.class/instance/setUp.st +++ b/SmartTest.package/SmTFinderAbstractTest.class/instance/setUp.st @@ -1,41 +1,15 @@ running setUp - super - setUp. - self - timeLimit: - 30 - seconds. "super long time for travis CI" - smartFinder := SmartFinder - new. - smartFinder - filter: - SmTDefaultClassPackagesFilter - new. - testMethod1 := (SmTClassTest - >> - #testMethod1) - asRingDefinition. - testMethod2 := (SmTClassTest - >> - #testMethod2) - asRingDefinition. - testMethod3 := (SmTClassTest - >> - #testMethod3) - asRingDefinition. - testMethod4 := (SmTClassTest - >> - #testMethod4) - asRingDefinition. - testMethod5 := (SmTClassTest - >> - #testMethod5) - asRingDefinition. + super setUp. + self timeLimit: 30 seconds. "super long time for travis CI" + smartFinder := SmartFinder new. + smartFinder filter: SmTDefaultClassPackagesFilter new. + testMethod1 := (SmTClassTest >> #testMethod1) asRingDefinition. + testMethod2 := (SmTClassTest >> #testMethod2) asRingDefinition. + testMethod3 := (SmTClassTest >> #testMethod3) asRingDefinition. + testMethod4 := (SmTClassTest >> #testMethod4) asRingDefinition. + testMethod5 := (SmTClassTest >> #testMethod5) asRingDefinition. testInheritedMethod1 := RGMethodDefinition - className: - 'SmTInheritClassTest' - selector: - #testMethod1 - isMetaSide: - false. \ No newline at end of file + className: 'SmTInheritClassTest' + selector: #testMethod1 + isMetaSide: false \ No newline at end of file diff --git a/SmartTest.package/SmTRules.class/class/testFinder..st b/SmartTest.package/SmTRules.class/class/testFinder..st new file mode 100644 index 0000000..cd3be6d --- /dev/null +++ b/SmartTest.package/SmTRules.class/class/testFinder..st @@ -0,0 +1,5 @@ +instance creation +testFinder: aSmTSmartFinder + "It should be used only for tests" + + SmTSmartFinder := aSmTSmartFinder \ No newline at end of file diff --git a/SmartTest.package/SmTSettingsBasicCacheTest.class/README.md b/SmartTest.package/SmTSettingsBasicCacheTest.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTest.package/SmTSettingsBasicCacheTest.class/instance/cacheStrategy.st b/SmartTest.package/SmTSettingsBasicCacheTest.class/instance/cacheStrategy.st new file mode 100644 index 0000000..ec438a3 --- /dev/null +++ b/SmartTest.package/SmTSettingsBasicCacheTest.class/instance/cacheStrategy.st @@ -0,0 +1,3 @@ +settings +cacheStrategy + ^ SmTBasicCacheStrategy \ No newline at end of file diff --git a/SmartTest.package/SmTSettingsBasicCacheTest.class/properties.json b/SmartTest.package/SmTSettingsBasicCacheTest.class/properties.json new file mode 100644 index 0000000..d3ac0c7 --- /dev/null +++ b/SmartTest.package/SmTSettingsBasicCacheTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTSettingsCacheTest", + "category" : "SmartTest-Tests", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTSettingsBasicCacheTest", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTest.package/SmTSettingsCacheTest.class/README.md b/SmartTest.package/SmTSettingsCacheTest.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTest.package/SmTSettingsCacheTest.class/class/isAbstract.st b/SmartTest.package/SmTSettingsCacheTest.class/class/isAbstract.st new file mode 100644 index 0000000..3416abb --- /dev/null +++ b/SmartTest.package/SmTSettingsCacheTest.class/class/isAbstract.st @@ -0,0 +1,3 @@ +testing +isAbstract + ^ self = SmTSettingsCacheTest \ No newline at end of file diff --git a/SmartTest.package/SmTSettingsCacheTest.class/instance/cacheStrategy.st b/SmartTest.package/SmTSettingsCacheTest.class/instance/cacheStrategy.st new file mode 100644 index 0000000..6b3c91d --- /dev/null +++ b/SmartTest.package/SmTSettingsCacheTest.class/instance/cacheStrategy.st @@ -0,0 +1,3 @@ +settings +cacheStrategy + self subclassResponsibility \ No newline at end of file diff --git a/SmartTest.package/SmTSettingsCacheTest.class/instance/testChangeCacheStrategy.st b/SmartTest.package/SmTSettingsCacheTest.class/instance/testChangeCacheStrategy.st new file mode 100644 index 0000000..32b772b --- /dev/null +++ b/SmartTest.package/SmTSettingsCacheTest.class/instance/testChangeCacheStrategy.st @@ -0,0 +1,7 @@ +running +testChangeCacheStrategy + "Test changement of the runner in the setting (throught SmTRules methods)" + + SmTRules cacheStrategy: self cacheStrategy. + self assert: (SmTRules testFinder cacheStrategy isKindOf: self cacheStrategy). + self assert: (SmTRules testFinder smtFinder cache isKindOf: self cacheStrategy) \ No newline at end of file diff --git a/SmartTest.package/SmTSettingsCacheTest.class/properties.json b/SmartTest.package/SmTSettingsCacheTest.class/properties.json new file mode 100644 index 0000000..2b95c71 --- /dev/null +++ b/SmartTest.package/SmTSettingsCacheTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTSettingsTest", + "category" : "SmartTest-Tests", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTSettingsCacheTest", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTest.package/SmTSettingsFilterDefaultClassPackagesTest.class/README.md b/SmartTest.package/SmTSettingsFilterDefaultClassPackagesTest.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTest.package/SmTSettingsFilterDefaultClassPackagesTest.class/instance/filterStrategy.st b/SmartTest.package/SmTSettingsFilterDefaultClassPackagesTest.class/instance/filterStrategy.st new file mode 100644 index 0000000..57ada31 --- /dev/null +++ b/SmartTest.package/SmTSettingsFilterDefaultClassPackagesTest.class/instance/filterStrategy.st @@ -0,0 +1,3 @@ +running +filterStrategy + ^ SmTDefaultClassPackagesFilter \ No newline at end of file diff --git a/SmartTest.package/SmTSettingsFilterDefaultClassPackagesTest.class/properties.json b/SmartTest.package/SmTSettingsFilterDefaultClassPackagesTest.class/properties.json new file mode 100644 index 0000000..5453bf0 --- /dev/null +++ b/SmartTest.package/SmTSettingsFilterDefaultClassPackagesTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTSettingsFilterTest", + "category" : "SmartTest-Tests", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTSettingsFilterDefaultClassPackagesTest", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTest.package/SmTSettingsFilterDefaultPackagesTest.class/README.md b/SmartTest.package/SmTSettingsFilterDefaultPackagesTest.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTest.package/SmTSettingsFilterDefaultPackagesTest.class/instance/filterStrategy.st b/SmartTest.package/SmTSettingsFilterDefaultPackagesTest.class/instance/filterStrategy.st new file mode 100644 index 0000000..d9a54d5 --- /dev/null +++ b/SmartTest.package/SmTSettingsFilterDefaultPackagesTest.class/instance/filterStrategy.st @@ -0,0 +1,3 @@ +running +filterStrategy + ^ SmTDefaultPackagesFilter \ No newline at end of file diff --git a/SmartTest.package/SmTSettingsFilterDefaultPackagesTest.class/properties.json b/SmartTest.package/SmTSettingsFilterDefaultPackagesTest.class/properties.json new file mode 100644 index 0000000..46cb535 --- /dev/null +++ b/SmartTest.package/SmTSettingsFilterDefaultPackagesTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTSettingsFilterTest", + "category" : "SmartTest-Tests", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTSettingsFilterDefaultPackagesTest", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTest.package/SmTSettingsFilterIcebergTest.class/README.md b/SmartTest.package/SmTSettingsFilterIcebergTest.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTest.package/SmTSettingsFilterIcebergTest.class/instance/filterStrategy.st b/SmartTest.package/SmTSettingsFilterIcebergTest.class/instance/filterStrategy.st new file mode 100644 index 0000000..1ebdc3f --- /dev/null +++ b/SmartTest.package/SmTSettingsFilterIcebergTest.class/instance/filterStrategy.st @@ -0,0 +1,3 @@ +running +filterStrategy + ^ SmTIcebergLoadedPackagesFilter \ No newline at end of file diff --git a/SmartTest.package/SmTSettingsFilterIcebergTest.class/properties.json b/SmartTest.package/SmTSettingsFilterIcebergTest.class/properties.json new file mode 100644 index 0000000..c1fd78d --- /dev/null +++ b/SmartTest.package/SmTSettingsFilterIcebergTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTSettingsFilterTest", + "category" : "SmartTest-Tests", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTSettingsFilterIcebergTest", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTest.package/SmTSettingsFilterNoFilterTest.class/README.md b/SmartTest.package/SmTSettingsFilterNoFilterTest.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTest.package/SmTSettingsFilterNoFilterTest.class/instance/filterStrategy.st b/SmartTest.package/SmTSettingsFilterNoFilterTest.class/instance/filterStrategy.st new file mode 100644 index 0000000..cf78b21 --- /dev/null +++ b/SmartTest.package/SmTSettingsFilterNoFilterTest.class/instance/filterStrategy.st @@ -0,0 +1,3 @@ +running +filterStrategy + ^ SmTNoFilter \ No newline at end of file diff --git a/SmartTest.package/SmTSettingsFilterNoFilterTest.class/properties.json b/SmartTest.package/SmTSettingsFilterNoFilterTest.class/properties.json new file mode 100644 index 0000000..f5570aa --- /dev/null +++ b/SmartTest.package/SmTSettingsFilterNoFilterTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTSettingsFilterTest", + "category" : "SmartTest-Tests", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTSettingsFilterNoFilterTest", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTest.package/SmTSettingsFilterSpecifyPackagesNameTest.class/README.md b/SmartTest.package/SmTSettingsFilterSpecifyPackagesNameTest.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTest.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/dataForTestRegex.st b/SmartTest.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/dataForTestRegex.st new file mode 100644 index 0000000..f9324cf --- /dev/null +++ b/SmartTest.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/dataForTestRegex.st @@ -0,0 +1,3 @@ +running +dataForTestRegex + ^ 'SmartTes*|StarWars' \ No newline at end of file diff --git a/SmartTest.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/filterStrategy.st b/SmartTest.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/filterStrategy.st new file mode 100644 index 0000000..8b28c3a --- /dev/null +++ b/SmartTest.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/filterStrategy.st @@ -0,0 +1,3 @@ +running +filterStrategy + ^ SmTSpecifyPackagesNameFilter \ No newline at end of file diff --git a/SmartTest.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/setUp.st b/SmartTest.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/setUp.st new file mode 100644 index 0000000..9769d58 --- /dev/null +++ b/SmartTest.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/setUp.st @@ -0,0 +1,5 @@ +running +setUp + super setUp. + oldRegex := SmTRules packagesRegex. + SmTRules packagesRegex: self dataForTestRegex \ No newline at end of file diff --git a/SmartTest.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/tearDown.st b/SmartTest.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/tearDown.st new file mode 100644 index 0000000..ff5a0e9 --- /dev/null +++ b/SmartTest.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/tearDown.st @@ -0,0 +1,5 @@ +running +tearDown + + SmTRules packagesRegex: oldRegex. + super tearDown \ No newline at end of file diff --git a/SmartTest.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/testChangeRegexWhenChanged.st b/SmartTest.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/testChangeRegexWhenChanged.st new file mode 100644 index 0000000..2c37f78 --- /dev/null +++ b/SmartTest.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/testChangeRegexWhenChanged.st @@ -0,0 +1,4 @@ +running +testChangeRegexWhenChanged + SmTRules filter: self filterStrategy. + self assert: SmTRules testFinder filter packagesRegex equals: self dataForTestRegex \ No newline at end of file diff --git a/SmartTest.package/SmTSettingsFilterSpecifyPackagesNameTest.class/properties.json b/SmartTest.package/SmTSettingsFilterSpecifyPackagesNameTest.class/properties.json new file mode 100644 index 0000000..d37e3d8 --- /dev/null +++ b/SmartTest.package/SmTSettingsFilterSpecifyPackagesNameTest.class/properties.json @@ -0,0 +1,13 @@ +{ + "commentStamp" : "", + "super" : "SmTSettingsFilterTest", + "category" : "SmartTest-Tests", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ + "oldRegex" + ], + "name" : "SmTSettingsFilterSpecifyPackagesNameTest", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTest.package/SmTSettingsFilterTest.class/README.md b/SmartTest.package/SmTSettingsFilterTest.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTest.package/SmTSettingsFilterTest.class/class/isAbstract.st b/SmartTest.package/SmTSettingsFilterTest.class/class/isAbstract.st new file mode 100644 index 0000000..38cd750 --- /dev/null +++ b/SmartTest.package/SmTSettingsFilterTest.class/class/isAbstract.st @@ -0,0 +1,3 @@ +testing +isAbstract + ^ self = SmTSettingsFilterTest \ No newline at end of file diff --git a/SmartTest.package/SmTSettingsFilterTest.class/instance/filterStrategy.st b/SmartTest.package/SmTSettingsFilterTest.class/instance/filterStrategy.st new file mode 100644 index 0000000..0e4dd42 --- /dev/null +++ b/SmartTest.package/SmTSettingsFilterTest.class/instance/filterStrategy.st @@ -0,0 +1,3 @@ +running +filterStrategy + self subclassResponsibility \ No newline at end of file diff --git a/SmartTest.package/SmTSettingsFilterTest.class/instance/testChangeFilterStrategy.st b/SmartTest.package/SmTSettingsFilterTest.class/instance/testChangeFilterStrategy.st new file mode 100644 index 0000000..979c7cb --- /dev/null +++ b/SmartTest.package/SmTSettingsFilterTest.class/instance/testChangeFilterStrategy.st @@ -0,0 +1,7 @@ +running +testChangeFilterStrategy + "Test changement of the runner in the setting (throught SmTRules methods)" + + SmTRules filter: self filterStrategy. + self assert: (SmTRules testFinder filter isKindOf: self filterStrategy). + self assert: (SmTRules testFinder smtFinder filter isKindOf: self filterStrategy) \ No newline at end of file diff --git a/SmartTest.package/SmTSettingsFilterTest.class/properties.json b/SmartTest.package/SmTSettingsFilterTest.class/properties.json new file mode 100644 index 0000000..0d3d2f5 --- /dev/null +++ b/SmartTest.package/SmTSettingsFilterTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTSettingsTest", + "category" : "SmartTest-Tests", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTSettingsFilterTest", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTest.package/SmTSettingsFinderReflectivityTest.class/README.md b/SmartTest.package/SmTSettingsFinderReflectivityTest.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTest.package/SmTSettingsFinderReflectivityTest.class/instance/finderStrategy.st b/SmartTest.package/SmTSettingsFinderReflectivityTest.class/instance/finderStrategy.st new file mode 100644 index 0000000..b2a46ab --- /dev/null +++ b/SmartTest.package/SmTSettingsFinderReflectivityTest.class/instance/finderStrategy.st @@ -0,0 +1,3 @@ +running +finderStrategy + ^ SmTReflectivityTestFinderStrategy \ No newline at end of file diff --git a/SmartTest.package/SmTSettingsFinderReflectivityTest.class/properties.json b/SmartTest.package/SmTSettingsFinderReflectivityTest.class/properties.json new file mode 100644 index 0000000..2a5caa5 --- /dev/null +++ b/SmartTest.package/SmTSettingsFinderReflectivityTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTSettingsFinderTest", + "category" : "SmartTest-Tests", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTSettingsFinderReflectivityTest", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTest.package/SmTSettingsFinderSenderTestTest.class/README.md b/SmartTest.package/SmTSettingsFinderSenderTestTest.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTest.package/SmTSettingsFinderSenderTestTest.class/instance/finderStrategy.st b/SmartTest.package/SmTSettingsFinderSenderTestTest.class/instance/finderStrategy.st new file mode 100644 index 0000000..9343188 --- /dev/null +++ b/SmartTest.package/SmTSettingsFinderSenderTestTest.class/instance/finderStrategy.st @@ -0,0 +1,3 @@ +running +finderStrategy + ^ SmTSenderTestFinderStrategy \ No newline at end of file diff --git a/SmartTest.package/SmTSettingsFinderSenderTestTest.class/properties.json b/SmartTest.package/SmTSettingsFinderSenderTestTest.class/properties.json new file mode 100644 index 0000000..b2a158c --- /dev/null +++ b/SmartTest.package/SmTSettingsFinderSenderTestTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTSettingsFinderTest", + "category" : "SmartTest-Tests", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTSettingsFinderSenderTestTest", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTest.package/SmTSettingsFinderTest.class/README.md b/SmartTest.package/SmTSettingsFinderTest.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTest.package/SmTSettingsFinderTest.class/class/isAbstract.st b/SmartTest.package/SmTSettingsFinderTest.class/class/isAbstract.st new file mode 100644 index 0000000..27238b9 --- /dev/null +++ b/SmartTest.package/SmTSettingsFinderTest.class/class/isAbstract.st @@ -0,0 +1,3 @@ +testing +isAbstract + ^ self = SmTSettingsFinderTest \ No newline at end of file diff --git a/SmartTest.package/SmTSettingsFinderTest.class/instance/finderStrategy.st b/SmartTest.package/SmTSettingsFinderTest.class/instance/finderStrategy.st new file mode 100644 index 0000000..fea0ff8 --- /dev/null +++ b/SmartTest.package/SmTSettingsFinderTest.class/instance/finderStrategy.st @@ -0,0 +1,3 @@ +running +finderStrategy + self subclassResponsibility \ No newline at end of file diff --git a/SmartTest.package/SmTSettingsFinderTest.class/instance/testChangeFinderStrategy.st b/SmartTest.package/SmTSettingsFinderTest.class/instance/testChangeFinderStrategy.st new file mode 100644 index 0000000..f4ca38a --- /dev/null +++ b/SmartTest.package/SmTSettingsFinderTest.class/instance/testChangeFinderStrategy.st @@ -0,0 +1,9 @@ +running +testChangeFinderStrategy + "Test changement of the runner in the setting (throught SmTRules methods)" + + SmTRules finder: self finderStrategy. + self assert: (SmTRules testFinder smtFinder isKindOf: self finderStrategy). + self assert: (SmTRules testFinder smtFinder filter isKindOf: SmTRules filter). + self assert: (SmTRules testFinder smtFinder cache isKindOf: SmTRules cacheStrategy). + self assert: (SmTRules testFinder smtFinder filter isKindOf: SmTRules filter) \ No newline at end of file diff --git a/SmartTest.package/SmTSettingsFinderTest.class/properties.json b/SmartTest.package/SmTSettingsFinderTest.class/properties.json new file mode 100644 index 0000000..fc3159a --- /dev/null +++ b/SmartTest.package/SmTSettingsFinderTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTSettingsTest", + "category" : "SmartTest-Tests", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTSettingsFinderTest", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTest.package/SmTSettingsFinderTestCoverageTest.class/README.md b/SmartTest.package/SmTSettingsFinderTestCoverageTest.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTest.package/SmTSettingsFinderTestCoverageTest.class/instance/finderStrategy.st b/SmartTest.package/SmTSettingsFinderTestCoverageTest.class/instance/finderStrategy.st new file mode 100644 index 0000000..7dd53de --- /dev/null +++ b/SmartTest.package/SmTSettingsFinderTestCoverageTest.class/instance/finderStrategy.st @@ -0,0 +1,3 @@ +running +finderStrategy + ^ SmTTestCoverageTestFinderStrategy \ No newline at end of file diff --git a/SmartTest.package/SmTSettingsFinderTestCoverageTest.class/properties.json b/SmartTest.package/SmTSettingsFinderTestCoverageTest.class/properties.json new file mode 100644 index 0000000..22b8432 --- /dev/null +++ b/SmartTest.package/SmTSettingsFinderTestCoverageTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTSettingsFinderTest", + "category" : "SmartTest-Tests", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTSettingsFinderTestCoverageTest", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTest.package/SmTSettingsNoCacheTest.class/README.md b/SmartTest.package/SmTSettingsNoCacheTest.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTest.package/SmTSettingsNoCacheTest.class/instance/cacheStrategy.st b/SmartTest.package/SmTSettingsNoCacheTest.class/instance/cacheStrategy.st new file mode 100644 index 0000000..9d8fd7b --- /dev/null +++ b/SmartTest.package/SmTSettingsNoCacheTest.class/instance/cacheStrategy.st @@ -0,0 +1,3 @@ +settings +cacheStrategy + ^ SmTNoCacheStrategy \ No newline at end of file diff --git a/SmartTest.package/SmTSettingsNoCacheTest.class/properties.json b/SmartTest.package/SmTSettingsNoCacheTest.class/properties.json new file mode 100644 index 0000000..1e804af --- /dev/null +++ b/SmartTest.package/SmTSettingsNoCacheTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTSettingsCacheTest", + "category" : "SmartTest-Tests", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTSettingsNoCacheTest", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTest.package/SmTSettingsPackagesRegexTest.class/README.md b/SmartTest.package/SmTSettingsPackagesRegexTest.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTest.package/SmTSettingsPackagesRegexTest.class/class/isAbstract.st b/SmartTest.package/SmTSettingsPackagesRegexTest.class/class/isAbstract.st new file mode 100644 index 0000000..d9df9bb --- /dev/null +++ b/SmartTest.package/SmTSettingsPackagesRegexTest.class/class/isAbstract.st @@ -0,0 +1,3 @@ +testing +isAbstract + ^ false \ No newline at end of file diff --git a/SmartTest.package/SmTSettingsPackagesRegexTest.class/instance/dataForTestRegex.st b/SmartTest.package/SmTSettingsPackagesRegexTest.class/instance/dataForTestRegex.st new file mode 100644 index 0000000..f9324cf --- /dev/null +++ b/SmartTest.package/SmTSettingsPackagesRegexTest.class/instance/dataForTestRegex.st @@ -0,0 +1,3 @@ +running +dataForTestRegex + ^ 'SmartTes*|StarWars' \ No newline at end of file diff --git a/SmartTest.package/SmTSettingsPackagesRegexTest.class/instance/setUp.st b/SmartTest.package/SmTSettingsPackagesRegexTest.class/instance/setUp.st new file mode 100644 index 0000000..7c05c8f --- /dev/null +++ b/SmartTest.package/SmTSettingsPackagesRegexTest.class/instance/setUp.st @@ -0,0 +1,5 @@ +running +setUp + super setUp. + oldRegex := SmTRules packagesRegex. + oldFilter := SmTRules filter. \ No newline at end of file diff --git a/SmartTest.package/SmTSettingsPackagesRegexTest.class/instance/tearDown.st b/SmartTest.package/SmTSettingsPackagesRegexTest.class/instance/tearDown.st new file mode 100644 index 0000000..b596626 --- /dev/null +++ b/SmartTest.package/SmTSettingsPackagesRegexTest.class/instance/tearDown.st @@ -0,0 +1,5 @@ +running +tearDown + SmTRules packagesRegex: oldRegex. + SmTRules filter: oldFilter. + super tearDown \ No newline at end of file diff --git a/SmartTest.package/SmTSettingsPackagesRegexTest.class/instance/testChangeRegex.st b/SmartTest.package/SmTSettingsPackagesRegexTest.class/instance/testChangeRegex.st new file mode 100644 index 0000000..ee3ca78 --- /dev/null +++ b/SmartTest.package/SmTSettingsPackagesRegexTest.class/instance/testChangeRegex.st @@ -0,0 +1,4 @@ +tests +testChangeRegex + SmTRules packagesRegex: self dataForTestRegex. + self assert: SmTRules testFinder filter packagesRegex equals: self dataForTestRegex \ No newline at end of file diff --git a/SmartTest.package/SmTSettingsPackagesRegexTest.class/properties.json b/SmartTest.package/SmTSettingsPackagesRegexTest.class/properties.json new file mode 100644 index 0000000..e8694dd --- /dev/null +++ b/SmartTest.package/SmTSettingsPackagesRegexTest.class/properties.json @@ -0,0 +1,14 @@ +{ + "commentStamp" : "", + "super" : "SmTSettingsTest", + "category" : "SmartTest-Tests", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ + "oldRegex", + "oldFilter" + ], + "name" : "SmTSettingsPackagesRegexTest", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTest.package/SmTSettingsRunnerDebugTest.class/README.md b/SmartTest.package/SmTSettingsRunnerDebugTest.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTest.package/SmTSettingsRunnerDebugTest.class/instance/runnerStrategy.st b/SmartTest.package/SmTSettingsRunnerDebugTest.class/instance/runnerStrategy.st new file mode 100644 index 0000000..cd30455 --- /dev/null +++ b/SmartTest.package/SmTSettingsRunnerDebugTest.class/instance/runnerStrategy.st @@ -0,0 +1,3 @@ +running +runnerStrategy + ^ SmTRunnerStrategyDebug \ No newline at end of file diff --git a/SmartTest.package/SmTSettingsRunnerDebugTest.class/properties.json b/SmartTest.package/SmTSettingsRunnerDebugTest.class/properties.json new file mode 100644 index 0000000..0bbeafb --- /dev/null +++ b/SmartTest.package/SmTSettingsRunnerDebugTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTSettingsRunnerTest", + "category" : "SmartTest-Tests", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTSettingsRunnerDebugTest", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTest.package/SmTSettingsRunnerNoticeTest.class/README.md b/SmartTest.package/SmTSettingsRunnerNoticeTest.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTest.package/SmTSettingsRunnerNoticeTest.class/instance/runnerStrategy.st b/SmartTest.package/SmTSettingsRunnerNoticeTest.class/instance/runnerStrategy.st new file mode 100644 index 0000000..56dcb02 --- /dev/null +++ b/SmartTest.package/SmTSettingsRunnerNoticeTest.class/instance/runnerStrategy.st @@ -0,0 +1,3 @@ +running +runnerStrategy + ^ SmTRunnerStrategyNotice \ No newline at end of file diff --git a/SmartTest.package/SmTSettingsRunnerNoticeTest.class/properties.json b/SmartTest.package/SmTSettingsRunnerNoticeTest.class/properties.json new file mode 100644 index 0000000..3cdd43f --- /dev/null +++ b/SmartTest.package/SmTSettingsRunnerNoticeTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTSettingsRunnerTest", + "category" : "SmartTest-Tests", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTSettingsRunnerNoticeTest", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTest.package/SmTSettingsRunnerSmartTest.class/README.md b/SmartTest.package/SmTSettingsRunnerSmartTest.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTest.package/SmTSettingsRunnerSmartTest.class/instance/runnerStrategy.st b/SmartTest.package/SmTSettingsRunnerSmartTest.class/instance/runnerStrategy.st new file mode 100644 index 0000000..43c285d --- /dev/null +++ b/SmartTest.package/SmTSettingsRunnerSmartTest.class/instance/runnerStrategy.st @@ -0,0 +1,3 @@ +running +runnerStrategy + ^ SmTRunnerStrategySmart \ No newline at end of file diff --git a/SmartTest.package/SmTSettingsRunnerSmartTest.class/properties.json b/SmartTest.package/SmTSettingsRunnerSmartTest.class/properties.json new file mode 100644 index 0000000..77f1678 --- /dev/null +++ b/SmartTest.package/SmTSettingsRunnerSmartTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTSettingsRunnerTest", + "category" : "SmartTest-Tests", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTSettingsRunnerSmartTest", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTest.package/SmTSettingsRunnerTest.class/README.md b/SmartTest.package/SmTSettingsRunnerTest.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTest.package/SmTSettingsRunnerTest.class/class/isAbstract.st b/SmartTest.package/SmTSettingsRunnerTest.class/class/isAbstract.st new file mode 100644 index 0000000..aa5ac68 --- /dev/null +++ b/SmartTest.package/SmTSettingsRunnerTest.class/class/isAbstract.st @@ -0,0 +1,3 @@ +testing +isAbstract + ^ self = SmTSettingsRunnerTest \ No newline at end of file diff --git a/SmartTest.package/SmTSettingsRunnerTest.class/instance/runnerStrategy.st b/SmartTest.package/SmTSettingsRunnerTest.class/instance/runnerStrategy.st new file mode 100644 index 0000000..122fd7f --- /dev/null +++ b/SmartTest.package/SmTSettingsRunnerTest.class/instance/runnerStrategy.st @@ -0,0 +1,3 @@ +running +runnerStrategy + self subclassResponsibility \ No newline at end of file diff --git a/SmartTest.package/SmTSettingsRunnerTest.class/instance/testChangeRunnerStrategy.st b/SmartTest.package/SmTSettingsRunnerTest.class/instance/testChangeRunnerStrategy.st new file mode 100644 index 0000000..fb729af --- /dev/null +++ b/SmartTest.package/SmTSettingsRunnerTest.class/instance/testChangeRunnerStrategy.st @@ -0,0 +1,7 @@ +running +testChangeRunnerStrategy + "Test changement of the runner in the setting (throught SmTRules methods)" + + SmTRules runner: self runnerStrategy. + self assert: SmTRules testFinder testRunner equals: self runnerStrategy. + self assert: SmTRules testFinder testingStrategy runner equals: self runnerStrategy. \ No newline at end of file diff --git a/SmartTest.package/SmTSettingsRunnerTest.class/properties.json b/SmartTest.package/SmTSettingsRunnerTest.class/properties.json new file mode 100644 index 0000000..89830f9 --- /dev/null +++ b/SmartTest.package/SmTSettingsRunnerTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTSettingsTest", + "category" : "SmartTest-Tests", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTSettingsRunnerTest", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTest.package/SmTSettingsTest.class/README.md b/SmartTest.package/SmTSettingsTest.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTest.package/SmTSettingsTest.class/class/isAbstract.st b/SmartTest.package/SmTSettingsTest.class/class/isAbstract.st new file mode 100644 index 0000000..44b4751 --- /dev/null +++ b/SmartTest.package/SmTSettingsTest.class/class/isAbstract.st @@ -0,0 +1,3 @@ +testing +isAbstract + ^ true \ No newline at end of file diff --git a/SmartTest.package/SmTSettingsTest.class/instance/setUp.st b/SmartTest.package/SmTSettingsTest.class/instance/setUp.st new file mode 100644 index 0000000..2da55ab --- /dev/null +++ b/SmartTest.package/SmTSettingsTest.class/instance/setUp.st @@ -0,0 +1,4 @@ +running +setUp + super setUp. + oldSettings := SmTRules testFinder \ No newline at end of file diff --git a/SmartTest.package/SmTSettingsTest.class/instance/tearDown.st b/SmartTest.package/SmTSettingsTest.class/instance/tearDown.st new file mode 100644 index 0000000..45635eb --- /dev/null +++ b/SmartTest.package/SmTSettingsTest.class/instance/tearDown.st @@ -0,0 +1,4 @@ +running +tearDown + SmTRules testFinder: oldSettings. + super tearDown \ No newline at end of file diff --git a/SmartTest.package/SmTSettingsTest.class/properties.json b/SmartTest.package/SmTSettingsTest.class/properties.json new file mode 100644 index 0000000..1ca47d9 --- /dev/null +++ b/SmartTest.package/SmTSettingsTest.class/properties.json @@ -0,0 +1,13 @@ +{ + "commentStamp" : "", + "super" : "TestCase", + "category" : "SmartTest-Tests", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ + "oldSettings" + ], + "name" : "SmTSettingsTest", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTest.package/SmTSettingsTestingStrategyAlwaysTest.class/README.md b/SmartTest.package/SmTSettingsTestingStrategyAlwaysTest.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTest.package/SmTSettingsTestingStrategyAlwaysTest.class/instance/getTestingStrategy.st b/SmartTest.package/SmTSettingsTestingStrategyAlwaysTest.class/instance/getTestingStrategy.st new file mode 100644 index 0000000..81062d3 --- /dev/null +++ b/SmartTest.package/SmTSettingsTestingStrategyAlwaysTest.class/instance/getTestingStrategy.st @@ -0,0 +1,3 @@ +running +getTestingStrategy + ^ SmTTestingStrategyAlways \ No newline at end of file diff --git a/SmartTest.package/SmTSettingsTestingStrategyAlwaysTest.class/properties.json b/SmartTest.package/SmTSettingsTestingStrategyAlwaysTest.class/properties.json new file mode 100644 index 0000000..c0bfb35 --- /dev/null +++ b/SmartTest.package/SmTSettingsTestingStrategyAlwaysTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTSettingsTestingStrategyTest", + "category" : "SmartTest-Tests", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTSettingsTestingStrategyAlwaysTest", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTest.package/SmTSettingsTestingStrategyEachModificationTest.class/README.md b/SmartTest.package/SmTSettingsTestingStrategyEachModificationTest.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTest.package/SmTSettingsTestingStrategyEachModificationTest.class/instance/getTestingStrategy.st b/SmartTest.package/SmTSettingsTestingStrategyEachModificationTest.class/instance/getTestingStrategy.st new file mode 100644 index 0000000..68208a8 --- /dev/null +++ b/SmartTest.package/SmTSettingsTestingStrategyEachModificationTest.class/instance/getTestingStrategy.st @@ -0,0 +1,3 @@ +running +getTestingStrategy + ^ SmTTestingStrategyEachModification \ No newline at end of file diff --git a/SmartTest.package/SmTSettingsTestingStrategyEachModificationTest.class/properties.json b/SmartTest.package/SmTSettingsTestingStrategyEachModificationTest.class/properties.json new file mode 100644 index 0000000..9131109 --- /dev/null +++ b/SmartTest.package/SmTSettingsTestingStrategyEachModificationTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTSettingsTestingStrategyTest", + "category" : "SmartTest-Tests", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTSettingsTestingStrategyEachModificationTest", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTest.package/SmTSettingsTestingStrategyFiveMinutesTest.class/README.md b/SmartTest.package/SmTSettingsTestingStrategyFiveMinutesTest.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTest.package/SmTSettingsTestingStrategyFiveMinutesTest.class/instance/getTestingStrategy.st b/SmartTest.package/SmTSettingsTestingStrategyFiveMinutesTest.class/instance/getTestingStrategy.st new file mode 100644 index 0000000..dc89876 --- /dev/null +++ b/SmartTest.package/SmTSettingsTestingStrategyFiveMinutesTest.class/instance/getTestingStrategy.st @@ -0,0 +1,3 @@ +running +getTestingStrategy + ^ SmTTestingStrategyFiveMinutes \ No newline at end of file diff --git a/SmartTest.package/SmTSettingsTestingStrategyFiveMinutesTest.class/properties.json b/SmartTest.package/SmTSettingsTestingStrategyFiveMinutesTest.class/properties.json new file mode 100644 index 0000000..5b42a34 --- /dev/null +++ b/SmartTest.package/SmTSettingsTestingStrategyFiveMinutesTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTSettingsTestingStrategyTest", + "category" : "SmartTest-Tests", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTSettingsTestingStrategyFiveMinutesTest", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTest.package/SmTSettingsTestingStrategyNeverTest.class/README.md b/SmartTest.package/SmTSettingsTestingStrategyNeverTest.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTest.package/SmTSettingsTestingStrategyNeverTest.class/instance/getTestingStrategy.st b/SmartTest.package/SmTSettingsTestingStrategyNeverTest.class/instance/getTestingStrategy.st new file mode 100644 index 0000000..28f7c5c --- /dev/null +++ b/SmartTest.package/SmTSettingsTestingStrategyNeverTest.class/instance/getTestingStrategy.st @@ -0,0 +1,3 @@ +running +getTestingStrategy + ^ SmTTestingStrategyNever \ No newline at end of file diff --git a/SmartTest.package/SmTSettingsTestingStrategyNeverTest.class/properties.json b/SmartTest.package/SmTSettingsTestingStrategyNeverTest.class/properties.json new file mode 100644 index 0000000..4164679 --- /dev/null +++ b/SmartTest.package/SmTSettingsTestingStrategyNeverTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTSettingsTestingStrategyTest", + "category" : "SmartTest-Tests", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTSettingsTestingStrategyNeverTest", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTest.package/SmTSettingsTestingStrategyTest.class/README.md b/SmartTest.package/SmTSettingsTestingStrategyTest.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTest.package/SmTSettingsTestingStrategyTest.class/class/isAbstract.st b/SmartTest.package/SmTSettingsTestingStrategyTest.class/class/isAbstract.st new file mode 100644 index 0000000..e2c3b4d --- /dev/null +++ b/SmartTest.package/SmTSettingsTestingStrategyTest.class/class/isAbstract.st @@ -0,0 +1,3 @@ +testing +isAbstract + ^ self = SmTSettingsTestingStrategyTest \ No newline at end of file diff --git a/SmartTest.package/SmTSettingsTestingStrategyTest.class/instance/getTestingStrategy.st b/SmartTest.package/SmTSettingsTestingStrategyTest.class/instance/getTestingStrategy.st new file mode 100644 index 0000000..baa4567 --- /dev/null +++ b/SmartTest.package/SmTSettingsTestingStrategyTest.class/instance/getTestingStrategy.st @@ -0,0 +1,3 @@ +running +getTestingStrategy + self subclassResponsibility \ No newline at end of file diff --git a/SmartTest.package/SmTSettingsTestingStrategyTest.class/instance/testChangeTestingStrategyStrategy.st b/SmartTest.package/SmTSettingsTestingStrategyTest.class/instance/testChangeTestingStrategyStrategy.st new file mode 100644 index 0000000..1d2267d --- /dev/null +++ b/SmartTest.package/SmTSettingsTestingStrategyTest.class/instance/testChangeTestingStrategyStrategy.st @@ -0,0 +1,8 @@ +running +testChangeTestingStrategyStrategy + "Test changement of the runner in the setting (throught SmTRules methods)" + + SmTRules strategy: self getTestingStrategy . + self assert: (SmTRules testFinder testingStrategy isKindOf: self getTestingStrategy ). + self assert: SmTRules testFinder testingStrategy runner equals: SmTRules runner. + self assert: SmTRules testFinder testingStrategy finder equals: SmTRules testFinder smtFinder \ No newline at end of file diff --git a/SmartTest.package/SmTSettingsTestingStrategyTest.class/properties.json b/SmartTest.package/SmTSettingsTestingStrategyTest.class/properties.json new file mode 100644 index 0000000..fc5fd27 --- /dev/null +++ b/SmartTest.package/SmTSettingsTestingStrategyTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTSettingsTest", + "category" : "SmartTest-Tests", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTSettingsTestingStrategyTest", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTest.package/SmTSpecifyPackagesNameFilter.class/class/packagesRegEx..st b/SmartTest.package/SmTSpecifyPackagesNameFilter.class/class/packagesRegex..st similarity index 100% rename from SmartTest.package/SmTSpecifyPackagesNameFilter.class/class/packagesRegEx..st rename to SmartTest.package/SmTSpecifyPackagesNameFilter.class/class/packagesRegex..st From 90d7c7683b62a784ab8a532e5b38cea073a4209b Mon Sep 17 00:00:00 2001 From: eleonoreW Date: Mon, 4 Jun 2018 14:18:01 +0200 Subject: [PATCH 087/150] Corrected the issue with the setting that specified the regex of which packages should be searched. --- .../instance/instanceVariableNamed.fromClass..st | 3 +++ .../instance/searchTestsForInstVar..st | 3 +++ .../instance/testInstVarInsideClass.st | 2 +- SmartTest.package/SmTRules.class/class/filter..st | 1 + SmartTest.package/SmTRules.class/class/packagesRegex..st | 3 ++- .../SmTRules.class/class/propagateRegexToTestFinder.st | 4 ++++ .../instance/testsForAInstVar..st | 7 +++++++ 7 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 SmartTest.package/SmTFilterAbstractTest.class/instance/instanceVariableNamed.fromClass..st create mode 100644 SmartTest.package/SmTFilterAbstractTest.class/instance/searchTestsForInstVar..st create mode 100644 SmartTest.package/SmTRules.class/class/propagateRegexToTestFinder.st create mode 100644 SmartTest.package/SmTTestFinderStrategy.class/instance/testsForAInstVar..st diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/instanceVariableNamed.fromClass..st b/SmartTest.package/SmTFilterAbstractTest.class/instance/instanceVariableNamed.fromClass..st new file mode 100644 index 0000000..cee8cb6 --- /dev/null +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/instanceVariableNamed.fromClass..st @@ -0,0 +1,3 @@ +helper +instanceVariableNamed: aInstVarName fromClass: aClass + ^ aClass instanceVariables select:[:instVar| instVar = aInstVarName ] . \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/searchTestsForInstVar..st b/SmartTest.package/SmTFilterAbstractTest.class/instance/searchTestsForInstVar..st new file mode 100644 index 0000000..45fdac0 --- /dev/null +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/searchTestsForInstVar..st @@ -0,0 +1,3 @@ +helper +searchTestsForInstVar: aInstanceVariable + ^ smartFinder finder testsForAInstVar: aInstanceVariable. \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testInstVarInsideClass.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testInstVarInsideClass.st index c7c14c6..bccc599 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/testInstVarInsideClass.st +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testInstVarInsideClass.st @@ -3,7 +3,7 @@ testInstVarInsideClass "In this test we want to assert that if the modified class has subclasses, SmartTest finds all the inherited methods (implemented or not)" | testsFound aInstVar| - aInstVar := self instanceVariableNamed: 'instVarModificationOnVariableInsideClass' fromClass: 'SmTClassP1ModificationOnVariable'. + aInstVar := self instanceVariableNamed: 'instVarModificationOnVariableInsideClass' fromClass: ('SmTClassP1','ModificationOnVariable')asClass. testsFound := self searchTestsForInstVar: aInstVar. self assert: (testsFound includes: ('SmTClassP1','ModificationOnVariable') asClass >> ('testModificationOnVariable','InsideClass')asSymbol). \ No newline at end of file diff --git a/SmartTest.package/SmTRules.class/class/filter..st b/SmartTest.package/SmTRules.class/class/filter..st index 511cd13..8aa4c30 100644 --- a/SmartTest.package/SmTRules.class/class/filter..st +++ b/SmartTest.package/SmTRules.class/class/filter..st @@ -1,4 +1,5 @@ settings filter: aSelector self testFinder filter: aSelector new. + self propagateRegexToTestFinder. ^ smTFilter := aSelector \ No newline at end of file diff --git a/SmartTest.package/SmTRules.class/class/packagesRegex..st b/SmartTest.package/SmTRules.class/class/packagesRegex..st index 397489a..3e917be 100644 --- a/SmartTest.package/SmTRules.class/class/packagesRegex..st +++ b/SmartTest.package/SmTRules.class/class/packagesRegex..st @@ -1,3 +1,4 @@ settings packagesRegex: aRegexStringCollection - collectionOfRegex := aRegexStringCollection \ No newline at end of file + collectionOfRegex := aRegexStringCollection. + self propagateRegexToTestFinder. \ No newline at end of file diff --git a/SmartTest.package/SmTRules.class/class/propagateRegexToTestFinder.st b/SmartTest.package/SmTRules.class/class/propagateRegexToTestFinder.st new file mode 100644 index 0000000..8604048 --- /dev/null +++ b/SmartTest.package/SmTRules.class/class/propagateRegexToTestFinder.st @@ -0,0 +1,4 @@ +settings +propagateRegexToTestFinder + self testFinder filter class = SmTSpecifyPackagesNameFilter + ifTrue: [ self testFinder filter packagesRegex: self packagesRegex ] \ No newline at end of file diff --git a/SmartTest.package/SmTTestFinderStrategy.class/instance/testsForAInstVar..st b/SmartTest.package/SmTTestFinderStrategy.class/instance/testsForAInstVar..st new file mode 100644 index 0000000..018aed5 --- /dev/null +++ b/SmartTest.package/SmTTestFinderStrategy.class/instance/testsForAInstVar..st @@ -0,0 +1,7 @@ +accessing +testsForAInstVar: aInstVar + "This method returns all the tests related to a instance variable." + + | testsFound | + testsFound := Set new. + ^ testsFound \ No newline at end of file From b21555188f7b02e2f5e2df4c6faa7bd89dcce193 Mon Sep 17 00:00:00 2001 From: eleonoreW Date: Thu, 7 Jun 2018 11:27:10 +0200 Subject: [PATCH 088/150] Changed some methods so they work with both methods and classes --- .../instance/extractPackagesFrom..st | 12 ++++++------ .../instance/testsForAClass.forTheFinder..st | 15 +++++++++++++++ .../instance/extractClassPackageBaseName..st | 3 +++ .../instance/extractPackagesFrom..st | 11 +++++++---- .../shouldEntityBeFiltered.inPackages..st | 1 + .../instance/searchTestMethodsForAClass..st | 2 +- .../recursiveSearchForAClass.inPackages..st | 3 +++ ...archForAClass.inPackages.alreadyVisited..st | 18 ++++++++++++++++++ ...tandardMethod.inPackages.alreadyVisited..st | 2 +- .../instance/testsForAClass..st | 5 +++++ .../shouldEntityBeFiltered.inPackages..st | 1 + .../instance/testsForAClass..st | 15 ++------------- 12 files changed, 63 insertions(+), 25 deletions(-) create mode 100644 SmartTest.package/SmTDefaultClassPackagesFilter.class/instance/testsForAClass.forTheFinder..st create mode 100644 SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractClassPackageBaseName..st create mode 100644 SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAClass.inPackages..st create mode 100644 SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAClass.inPackages.alreadyVisited..st create mode 100644 SmartTest.package/SmTSenderTestFinderStrategy.class/instance/testsForAClass..st diff --git a/SmartTest.package/SmTDefaultClassPackagesFilter.class/instance/extractPackagesFrom..st b/SmartTest.package/SmTDefaultClassPackagesFilter.class/instance/extractPackagesFrom..st index cb14e48..cb3f9f5 100644 --- a/SmartTest.package/SmTDefaultClassPackagesFilter.class/instance/extractPackagesFrom..st +++ b/SmartTest.package/SmTDefaultClassPackagesFilter.class/instance/extractPackagesFrom..st @@ -1,11 +1,11 @@ accessing -extractPackagesFrom: aCompiledMethod +extractPackagesFrom: anEntity "This method is supposed to find (in addition of the supermethod) for the compiled method: - the packages of the senders of the compiled method - the packages that contains at least one method of the compiled method class" - - | packages | - packages := super extractPackagesFrom: aCompiledMethod. - aCompiledMethod methodClass allCallsOn do: [ :rgMethod | packages add: (self extractCompiledMethodPackageBaseName: rgMethod compiledMethod) ]. - aCompiledMethod methodClass extendingPackages do: [ :aPackage | packages add: (self extractCompiledMethodPackageBaseName: aPackage) ]. + | packages class| + packages := (super extractPackagesFrom: anEntity) asSet. + (anEntity isClass) ifTrue: [ class := anEntity ]ifFalse:[class := anEntity methodClass]. + class allCallsOn do: [ :rgMethod | packages add: (self extractCompiledMethodPackageBaseName: rgMethod compiledMethod) ]. + class extendingPackages do: [ :aPackage | packages add: (self extractCompiledMethodPackageBaseName: aPackage) ]. ^ packages \ No newline at end of file diff --git a/SmartTest.package/SmTDefaultClassPackagesFilter.class/instance/testsForAClass.forTheFinder..st b/SmartTest.package/SmTDefaultClassPackagesFilter.class/instance/testsForAClass.forTheFinder..st new file mode 100644 index 0000000..2c2bba1 --- /dev/null +++ b/SmartTest.package/SmTDefaultClassPackagesFilter.class/instance/testsForAClass.forTheFinder..st @@ -0,0 +1,15 @@ +accessing +testsForAClass: aClass forTheFinder: aFinder + "This method returns all the tests related to a class. + If it is a testCase, it returns all the tests owned by the class. + If the class is am abstract testCase, we compute the subclasses inherited tests methods and we add them to the test found. + We also want to find the tests related to methods that uses the class." + + | testsFound | + testsFound := Set new. + aClass isTestCase + ifTrue: [ (aClass methods select: [ :aMethod | aMethod isTestMethod ]) do: [ :eachTestMethod | testsFound addAll: (aFinder methodsFor: eachTestMethod) ]. + aClass allTestSelectors do: [ :each | testsFound add: (RGMethodDefinition className: aClass name selector: each isMetaSide: false) ] ]. + aClass subclasses do: [ :aSubClass | testsFound addAll: (self testsForAClass: aSubClass forTheFinder: aFinder) ]. + testsFound addAll: (aClass allCallsOn flatCollect: [ :aRGMethodDefinition | aFinder methodsFor: aRGMethodDefinition compiledMethod ]). + ^ testsFound \ No newline at end of file diff --git a/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractClassPackageBaseName..st b/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractClassPackageBaseName..st new file mode 100644 index 0000000..238c898 --- /dev/null +++ b/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractClassPackageBaseName..st @@ -0,0 +1,3 @@ +parsing +extractClassPackageBaseName: aClass + ^ self extractPackageBaseName: aClass package name \ No newline at end of file diff --git a/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractPackagesFrom..st b/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractPackagesFrom..st index 0fd93e5..6ce0201 100644 --- a/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractPackagesFrom..st +++ b/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractPackagesFrom..st @@ -1,11 +1,14 @@ accessing -extractPackagesFrom: aCompiledMethod +extractPackagesFrom: anEntity "Thid method find: - the package of the classes that owned the method - the package that contains the method if its an extension" | packages | - packages := {(self extractCompiledMethodPackageBaseName: aCompiledMethod)} asOrderedCollection. - aCompiledMethod isExtension - ifTrue: [ (aCompiledMethod package extendedClasses do: [ :aClass | packages add: aClass package name ]) ]. + packages := Set new. + anEntity isClass + ifTrue: [ packages add: (self extractClassPackageBaseName: anEntity)] + ifFalse: [ packages := {(self extractCompiledMethodPackageBaseName: anEntity)} asSet. + anEntity isExtension + ifTrue: [ anEntity package extendedClasses do: [ :aClass | packages add: aClass package name ] ] ]. ^ packages \ No newline at end of file diff --git a/SmartTest.package/SmTDefaultPackagesFilter.class/instance/shouldEntityBeFiltered.inPackages..st b/SmartTest.package/SmTDefaultPackagesFilter.class/instance/shouldEntityBeFiltered.inPackages..st index 2f4b3e6..6c7fe07 100644 --- a/SmartTest.package/SmTDefaultPackagesFilter.class/instance/shouldEntityBeFiltered.inPackages..st +++ b/SmartTest.package/SmTDefaultPackagesFilter.class/instance/shouldEntityBeFiltered.inPackages..st @@ -1,4 +1,5 @@ asserting shouldEntityBeFiltered: anEntity inPackages: packages "(anEntity methodClass allCallsOn collect: #ciPackage) not." + (anEntity isClass )ifTrue: [^(packages includes: (anEntity package)) not]. ^ (packages includes: (self extractMethodDefinitionPackageBaseName: anEntity )) not \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/searchTestMethodsForAClass..st b/SmartTest.package/SmTFilterAbstractTest.class/instance/searchTestMethodsForAClass..st index 5836386..891b8b2 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/searchTestMethodsForAClass..st +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/searchTestMethodsForAClass..st @@ -1,4 +1,4 @@ helpers searchTestMethodsForAClass: aClass - ^ smartFinder smtFinder testsForAClass: aClass . \ No newline at end of file + ^ smartFinder smtFinder testsForAClass: aClass. \ No newline at end of file diff --git a/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAClass.inPackages..st b/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAClass.inPackages..st new file mode 100644 index 0000000..d8d4a71 --- /dev/null +++ b/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAClass.inPackages..st @@ -0,0 +1,3 @@ +private - search +recursiveSearchForAClass: aClass inPackages: packagesToLookAt + ^ self recursiveSearchForAClass: aClass inPackages: packagesToLookAt alreadyVisited: Set new \ No newline at end of file diff --git a/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAClass.inPackages.alreadyVisited..st b/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAClass.inPackages.alreadyVisited..st new file mode 100644 index 0000000..35f84e2 --- /dev/null +++ b/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAClass.inPackages.alreadyVisited..st @@ -0,0 +1,18 @@ +private - search +recursiveSearchForAClass: aClass inPackages: packagesToLookAt alreadyVisited: alreadyVisitedClass + | foundMethods | + foundMethods := Set new. + aClass isTestCase + ifTrue: [ (aClass methods select: [ :aMethod | aMethod isTestMethod ]) do: [ :eachTestMethod | foundMethods addAll: (self methodsFor: eachTestMethod) ]. + aClass allTestSelectors do: [ :each | foundMethods add: (RGMethodDefinition className: aClass name selector: each isMetaSide: false) ] ]. + foundMethods addAll: ((aClass allCallsOn )flatCollect: [ :aRGMethodDefinition | self recursiveSearchForAStandardMethod: aRGMethodDefinition inPackages: packagesToLookAt] ). + (aClass subclasses) + reject: [ :aSubClass | + | reject | + reject := (filter shouldEntityBeFiltered: aSubClass inPackages: packagesToLookAt) or: [ alreadyVisitedClass includes: aSubClass ]. + alreadyVisitedClass add: aSubClass. + reject ] + thenDo: [ :aSubClass | + foundMethods add: aSubClass . + foundMethods addAll: (self recursiveSearchForAClass: aSubClass inPackages: packagesToLookAt alreadyVisited: alreadyVisitedClass)]. + ^ foundMethods \ No newline at end of file diff --git a/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAStandardMethod.inPackages.alreadyVisited..st b/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAStandardMethod.inPackages.alreadyVisited..st index 147d3d9..145be81 100644 --- a/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAStandardMethod.inPackages.alreadyVisited..st +++ b/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAStandardMethod.inPackages.alreadyVisited..st @@ -1,7 +1,7 @@ private - search recursiveSearchForAStandardMethod: aRGMethodDefinition inPackages: packages alreadyVisited: alreadyVisitedMethods | foundMethods | - foundMethods := OrderedCollection new. + foundMethods := Set new. (self collectSenderOfRGMethodeDefintion: aRGMethodDefinition) reject: [ :aSenderMethod | | reject | diff --git a/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/testsForAClass..st b/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/testsForAClass..st new file mode 100644 index 0000000..7e48475 --- /dev/null +++ b/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/testsForAClass..st @@ -0,0 +1,5 @@ +accessing +testsForAClass: aClass + | packagesToLookAt | + packagesToLookAt := self filter extractPackagesFrom: aClass. + ^ self recursiveSearchForAClass: aClass inPackages: packagesToLookAt \ No newline at end of file diff --git a/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/shouldEntityBeFiltered.inPackages..st b/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/shouldEntityBeFiltered.inPackages..st index f8e5ff5..a30a26f 100644 --- a/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/shouldEntityBeFiltered.inPackages..st +++ b/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/shouldEntityBeFiltered.inPackages..st @@ -1,4 +1,5 @@ accessing shouldEntityBeFiltered: anEntity inPackages: anObject "(anEntity methodClass allCallsOn collect: #ciPackage) not." + (anEntity isClass) ifTrue:[^ (self packages includes: anEntity category) not]. ^ (self packages includes: anEntity methodClass category) not \ No newline at end of file diff --git a/SmartTest.package/SmTTestFinderStrategy.class/instance/testsForAClass..st b/SmartTest.package/SmTTestFinderStrategy.class/instance/testsForAClass..st index ed51cb4..ec94fbf 100644 --- a/SmartTest.package/SmTTestFinderStrategy.class/instance/testsForAClass..st +++ b/SmartTest.package/SmTTestFinderStrategy.class/instance/testsForAClass..st @@ -1,15 +1,4 @@ accessing testsForAClass: aClass - "This method returns all the tests related to a class. - If it is a testCase, it returns all the tests owned by the class. - If the class is am abstract testCase, we compute the subclasses inherited tests methods and we add them to the test found. - We also want to find the tests related to methods that uses the class." - - | testsFound | - testsFound := Set new. - aClass isTestCase - ifTrue: [ (aClass methods select: [ :aMethod | aMethod isTestMethod ]) do: [ :eachTestMethod | testsFound addAll: (self methodsFor: eachTestMethod) ]. - aClass allTestSelectors do: [ :each | testsFound add: (RGMethodDefinition className: aClass name selector: each isMetaSide: false) ] ]. - aClass subclasses do: [ :aSubClass | testsFound addAll: (self testsForAClass: aSubClass) ]. - testsFound addAll: (aClass allCallsOn flatCollect: [ :aRGMethodDefinition | self methodsFor: aRGMethodDefinition compiledMethod ]). - ^ testsFound \ No newline at end of file + self subclassResponsibility + \ No newline at end of file From 8f9c59494d6feb9c2d7e255423c18318a8fae2be Mon Sep 17 00:00:00 2001 From: eleonoreW Date: Thu, 7 Jun 2018 16:53:38 +0200 Subject: [PATCH 089/150] Fixed problems with testsForClass --- .../shouldEntityBeFiltered.inPackages..st | 2 +- .../instance/extractPackagesFrom..st | 4 +-- .../instance/testRunCaseNotifyIconGreen.st | 5 +++- .../instance/methodsFor.forThePackage..st | 26 +++++++++++++++++++ ...rchForAClass.inPackages.alreadyVisited..st | 23 +++++++++------- .../testClassOutsidePackageWithRef.st | 7 +++++ .../testClassOutsidePackageWithRef.st | 7 +++++ 7 files changed, 59 insertions(+), 15 deletions(-) create mode 100644 SmartTest.package/SmTSenderTestFinderStrategy.class/instance/methodsFor.forThePackage..st create mode 100644 SmartTest.package/SmTSendersFilterTestDefaultPackage.class/instance/testClassOutsidePackageWithRef.st create mode 100644 SmartTest.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/testClassOutsidePackageWithRef.st diff --git a/SmartTest.package/SmTDefaultPackagesFilter.class/instance/shouldEntityBeFiltered.inPackages..st b/SmartTest.package/SmTDefaultPackagesFilter.class/instance/shouldEntityBeFiltered.inPackages..st index 6c7fe07..6b9cf38 100644 --- a/SmartTest.package/SmTDefaultPackagesFilter.class/instance/shouldEntityBeFiltered.inPackages..st +++ b/SmartTest.package/SmTDefaultPackagesFilter.class/instance/shouldEntityBeFiltered.inPackages..st @@ -1,5 +1,5 @@ asserting shouldEntityBeFiltered: anEntity inPackages: packages "(anEntity methodClass allCallsOn collect: #ciPackage) not." - (anEntity isClass )ifTrue: [^(packages includes: (anEntity package)) not]. + (anEntity isClass )ifTrue: [^(packages includes: (anEntity package name)) not]. ^ (packages includes: (self extractMethodDefinitionPackageBaseName: anEntity )) not \ No newline at end of file diff --git a/SmartTest.package/SmTFilterStrategy.class/instance/extractPackagesFrom..st b/SmartTest.package/SmTFilterStrategy.class/instance/extractPackagesFrom..st index 530ba02..8943843 100644 --- a/SmartTest.package/SmTFilterStrategy.class/instance/extractPackagesFrom..st +++ b/SmartTest.package/SmTFilterStrategy.class/instance/extractPackagesFrom..st @@ -1,5 +1,3 @@ asserting extractPackagesFrom: aCompiledMethod - "Can be implemented to init the filter for a specific research" - - self subclassResponsibility \ No newline at end of file + "Can be implemented to init the filter for a specific research" \ No newline at end of file diff --git a/SmartTest.package/SmTRunnerTest.class/instance/testRunCaseNotifyIconGreen.st b/SmartTest.package/SmTRunnerTest.class/instance/testRunCaseNotifyIconGreen.st index 2eee162..c2a6f59 100644 --- a/SmartTest.package/SmTRunnerTest.class/instance/testRunCaseNotifyIconGreen.st +++ b/SmartTest.package/SmTRunnerTest.class/instance/testRunCaseNotifyIconGreen.st @@ -7,4 +7,7 @@ testRunCaseNotifyIconGreen self assert: result passed size equals: 1. self assert: result errors size equals: 0. self assert: result failures size equals: 0. - self assert: anIcon labelGraphic equals: #testGreenIcon asIcon \ No newline at end of file + self + assert: anIcon labelGraphic + equals: + (self iconNamed: #testGreenIcon) \ No newline at end of file diff --git a/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/methodsFor.forThePackage..st b/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/methodsFor.forThePackage..st new file mode 100644 index 0000000..ece7f9c --- /dev/null +++ b/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/methodsFor.forThePackage..st @@ -0,0 +1,26 @@ +api +methodsFor: aCompiledMethod forThePackage: packages + ^ self cache + at: aCompiledMethod methodReference + ifAbsent: [ (self testsForATestMethod: aCompiledMethod) + ifNotEmpty: [ :methods | + ^ (self testsForMethod: aCompiledMethod) + addAll: (self computeInheritedTestFromDiscoveredTest: methods); + yourself ]. + (self testsForASetUpMethod: aCompiledMethod) + ifNotEmpty: [ :methods | + ^ (self testsForMethod: aCompiledMethod) + addAll: (self computeInheritedTestFromDiscoveredTest: methods); + yourself ]. + (self testsForATearDownMethod: aCompiledMethod) + ifNotEmpty: [ :methods | + ^ (self testsForMethod: aCompiledMethod) + addAll: (self computeInheritedTestFromDiscoveredTest: methods); + yourself ]. + (self recursiveSearchForAStandardMethod: (aCompiledMethod asRingDefinition) inPackages: packages ) + ifNotEmpty: [ :methods | + ^ (self testsForMethod: aCompiledMethod) + addAll: (self computeInheritedTestFromDiscoveredTest: methods); + yourself ]. + self cache at: aCompiledMethod methodReference put: Set new. + ^ {} ] \ No newline at end of file diff --git a/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAClass.inPackages.alreadyVisited..st b/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAClass.inPackages.alreadyVisited..st index 35f84e2..3d1780f 100644 --- a/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAClass.inPackages.alreadyVisited..st +++ b/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAClass.inPackages.alreadyVisited..st @@ -1,18 +1,21 @@ private - search recursiveSearchForAClass: aClass inPackages: packagesToLookAt alreadyVisited: alreadyVisitedClass - | foundMethods | - foundMethods := Set new. + | testsFound allCallsOnClass | + testsFound := Set new. aClass isTestCase - ifTrue: [ (aClass methods select: [ :aMethod | aMethod isTestMethod ]) do: [ :eachTestMethod | foundMethods addAll: (self methodsFor: eachTestMethod) ]. - aClass allTestSelectors do: [ :each | foundMethods add: (RGMethodDefinition className: aClass name selector: each isMetaSide: false) ] ]. - foundMethods addAll: ((aClass allCallsOn )flatCollect: [ :aRGMethodDefinition | self recursiveSearchForAStandardMethod: aRGMethodDefinition inPackages: packagesToLookAt] ). - (aClass subclasses) - reject: [ :aSubClass | + ifTrue: [ (aClass methods select: [ :aMethod | aMethod isTestMethod ]) do: [ :eachTestMethod | testsFound addAll: (self methodsFor: eachTestMethod) ]. + aClass allTestSelectors do: [ :each | testsFound add: (RGMethodDefinition className: aClass name selector: each isMetaSide: false) ] ]. + testsFound + addAll: + ((aClass allCallsOn select: [ :aCallOn | (filter shouldEntityBeFiltered: aCallOn inPackages: packagesToLookAt) not ]) + flatCollect: [ :aRGMethodDefinition | self methodsFor: aRGMethodDefinition compiledMethod forThePackage: packagesToLookAt ]). + aClass subclasses + reject: [ :aSubClass | | reject | reject := (filter shouldEntityBeFiltered: aSubClass inPackages: packagesToLookAt) or: [ alreadyVisitedClass includes: aSubClass ]. alreadyVisitedClass add: aSubClass. reject ] thenDo: [ :aSubClass | - foundMethods add: aSubClass . - foundMethods addAll: (self recursiveSearchForAClass: aSubClass inPackages: packagesToLookAt alreadyVisited: alreadyVisitedClass)]. - ^ foundMethods \ No newline at end of file + testsFound add: aSubClass. + testsFound addAll: (self recursiveSearchForAClass: aSubClass inPackages: packagesToLookAt alreadyVisited: alreadyVisitedClass) ]. + ^ testsFound \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestDefaultPackage.class/instance/testClassOutsidePackageWithRef.st b/SmartTest.package/SmTSendersFilterTestDefaultPackage.class/instance/testClassOutsidePackageWithRef.st new file mode 100644 index 0000000..f8cffb2 --- /dev/null +++ b/SmartTest.package/SmTSendersFilterTestDefaultPackage.class/instance/testClassOutsidePackageWithRef.st @@ -0,0 +1,7 @@ +tests +testClassOutsidePackageWithRef +"In this test, we want to assert that if the class is used in a method, we find the tests related to this method." + + | testsFound | + testsFound := self searchTestMethodsForAClass: ('SmTClassModificationOnClass','OutsidePackageWithRef') asClass. + self assert: testsFound size equals: 0. \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/testClassOutsidePackageWithRef.st b/SmartTest.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/testClassOutsidePackageWithRef.st new file mode 100644 index 0000000..f8cffb2 --- /dev/null +++ b/SmartTest.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/testClassOutsidePackageWithRef.st @@ -0,0 +1,7 @@ +tests +testClassOutsidePackageWithRef +"In this test, we want to assert that if the class is used in a method, we find the tests related to this method." + + | testsFound | + testsFound := self searchTestMethodsForAClass: ('SmTClassModificationOnClass','OutsidePackageWithRef') asClass. + self assert: testsFound size equals: 0. \ No newline at end of file From 316596a3c19ad03dd43ccbcc60a2e0f3dbc71c1e Mon Sep 17 00:00:00 2001 From: eleonoreW Date: Fri, 8 Jun 2018 10:22:49 +0200 Subject: [PATCH 090/150] COrrection of the search of tests for a class and for an instance variable. --- .../instance/instanceVariableNamed.fromClass..st | 2 +- .../instance/searchTestsForInstVar..st | 3 --- .../instance/searchTestsForInstVar.ofClass..st | 3 +++ .../instance/testInstVarInsideClass.st | 6 +++--- .../instance/testInstVarInsidePackage.st | 6 +++--- .../instance/testInstVarOutsidePackage.st | 6 +++--- .../instance/testsForAInstVar.OfClass..st | 12 ++++++++++++ .../instance/testInstVarOutsidePackage.st | 9 +++++++++ .../instance/testInstVarOutsidePackage.st | 9 +++++++++ .../instance/testInstVarOutsidePackage.st | 9 +++++++++ 10 files changed, 52 insertions(+), 13 deletions(-) delete mode 100644 SmartTest.package/SmTFilterAbstractTest.class/instance/searchTestsForInstVar..st create mode 100644 SmartTest.package/SmTFilterAbstractTest.class/instance/searchTestsForInstVar.ofClass..st create mode 100644 SmartTest.package/SmTSenderTestFinderStrategy.class/instance/testsForAInstVar.OfClass..st create mode 100644 SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testInstVarOutsidePackage.st create mode 100644 SmartTest.package/SmTSendersFilterTestDefaultPackage.class/instance/testInstVarOutsidePackage.st create mode 100644 SmartTest.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/testInstVarOutsidePackage.st diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/instanceVariableNamed.fromClass..st b/SmartTest.package/SmTFilterAbstractTest.class/instance/instanceVariableNamed.fromClass..st index cee8cb6..1be6379 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/instanceVariableNamed.fromClass..st +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/instanceVariableNamed.fromClass..st @@ -1,3 +1,3 @@ helper instanceVariableNamed: aInstVarName fromClass: aClass - ^ aClass instanceVariables select:[:instVar| instVar = aInstVarName ] . \ No newline at end of file + ^ (aClass instanceVariables select:[:instVar| instVar = aInstVarName ])first . \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/searchTestsForInstVar..st b/SmartTest.package/SmTFilterAbstractTest.class/instance/searchTestsForInstVar..st deleted file mode 100644 index 45fdac0..0000000 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/searchTestsForInstVar..st +++ /dev/null @@ -1,3 +0,0 @@ -helper -searchTestsForInstVar: aInstanceVariable - ^ smartFinder finder testsForAInstVar: aInstanceVariable. \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/searchTestsForInstVar.ofClass..st b/SmartTest.package/SmTFilterAbstractTest.class/instance/searchTestsForInstVar.ofClass..st new file mode 100644 index 0000000..66565cf --- /dev/null +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/searchTestsForInstVar.ofClass..st @@ -0,0 +1,3 @@ +helper +searchTestsForInstVar: aInstanceVariable ofClass: aClass + ^ smartFinder smtFinder testsForAInstVar: aInstanceVariable OfClass: aClass \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testInstVarInsideClass.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testInstVarInsideClass.st index bccc599..a16d038 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/testInstVarInsideClass.st +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testInstVarInsideClass.st @@ -3,7 +3,7 @@ testInstVarInsideClass "In this test we want to assert that if the modified class has subclasses, SmartTest finds all the inherited methods (implemented or not)" | testsFound aInstVar| - aInstVar := self instanceVariableNamed: 'instVarModificationOnVariableInsideClass' fromClass: ('SmTClassP1','ModificationOnVariable')asClass. - testsFound := self searchTestsForInstVar: aInstVar. - self assert: (testsFound includes: ('SmTClassP1','ModificationOnVariable') asClass >> ('testModificationOnVariable','InsideClass')asSymbol). + aInstVar := self instanceVariableNamed: 'instVarModificationOnVariableInsideClass' fromClass: (('SmTClassP1','ModificationOnVariable') asClass). + testsFound := self searchTestsForInstVar: aInstVar ofClass: (('SmTClassP1','ModificationOnVariable') asClass). + self assert: (testsFound includes: (('SmTClassP1','ModificationOnVariable') asClass >> ('testModificationOnVariable','InsideClass')asSymbol)asRingDefinition ). \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testInstVarInsidePackage.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testInstVarInsidePackage.st index 6347997..c35fb9a 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/testInstVarInsidePackage.st +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testInstVarInsidePackage.st @@ -3,7 +3,7 @@ testInstVarInsidePackage "In this test we want to assert that if the modified class has subclasses, SmartTest finds all the inherited methods (implemented or not)" | testsFound aInstVar| - aInstVar := self instanceVariableNamed: 'instVarModificationOnVariableInsidePackage' fromClass: 'SmTClassP1ModificationOnVariable'. - testsFound := self searchTestsForInstVar: aInstVar. - self assert: (testsFound includes: ('SmTClassP1ModificationOnVariable','InsidePackage') asClass >> ('testModificationOnVariable','InsidePackage')asSymbol). + aInstVar := self instanceVariableNamed: 'instVarModificationOnVariableInsidePackage' fromClass: ('SmTClassP1ModificationOn','Variable') asClass. + testsFound := self searchTestsForInstVar: aInstVar ofClass: ('SmTClassP1ModificationOn','Variable') asClass. + self assert: (testsFound includes: (('SmTClassP1ModificationOnVariable','InsidePackage') asClass >> ('testModificationOnVariable','InsidePackage')asSymbol)asRingDefinition ). \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testInstVarOutsidePackage.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testInstVarOutsidePackage.st index c19f521..1dd4ad4 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/testInstVarOutsidePackage.st +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testInstVarOutsidePackage.st @@ -3,7 +3,7 @@ testInstVarOutsidePackage "In this test we want to assert that if the modified class has subclasses, SmartTest finds all the inherited methods (implemented or not)" | testsFound aInstVar| - aInstVar := self instanceVariableNamed: 'instVarModificationOnVariableOutsidePackage' fromClass: 'SmTClassP1ModificationOnVariable'. - testsFound := self searchTestsForInstVar: aInstVar. - self assert: (testsFound includes: ('SmTClassP1ModificationOnVariable','OutsidePackage') asClass >> ('testModificationOnVariable','OutsidePackage')asSymbol). + aInstVar := self instanceVariableNamed: 'instVarModificationOnVariableOutsidePackage' fromClass: ('SmTClassP1ModificationOnVariable') asClass . + testsFound := self searchTestsForInstVar: aInstVar ofClass: ('SmTClassP1ModificationOnVariable') asClass. + self assert: (testsFound includes: (('SmTClassP1ModificationOnVariable','OutsidePackage') asClass >> ('testModificationOnVariable','OutsidePackage')asSymbol)asRingDefinition ). \ No newline at end of file diff --git a/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/testsForAInstVar.OfClass..st b/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/testsForAInstVar.OfClass..st new file mode 100644 index 0000000..90fe65a --- /dev/null +++ b/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/testsForAInstVar.OfClass..st @@ -0,0 +1,12 @@ +accessing +testsForAInstVar: aInstanceVariable OfClass: aClass + "This method returns all the tests related to a instance variable." + + | testsFound senders | + testsFound := Set new. + senders := Set new. + senders + addAll: ((aClass classLayout allVisibleSlots select: [ :eachSlot | eachSlot name = aInstanceVariable ]) flatCollect: #usingMethods). + testsFound + addAll: (senders flatCollect: [ :each | self methodsFor: each forThePackage: (filter extractPackagesFrom: aClass) ]). + ^ testsFound \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testInstVarOutsidePackage.st b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testInstVarOutsidePackage.st new file mode 100644 index 0000000..e0a1cdc --- /dev/null +++ b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testInstVarOutsidePackage.st @@ -0,0 +1,9 @@ +tests +testInstVarOutsidePackage +"In this test we want to assert that if the modified class has subclasses, SmartTest finds all the inherited methods (implemented or not)" + + | testsFound aInstVar| + aInstVar := self instanceVariableNamed: 'instVarModificationOnVariableOutsidePackage' fromClass: ('SmTClassP1ModificationOnVariable') asClass . + testsFound := self searchTestsForInstVar: aInstVar ofClass: ('SmTClassP1ModificationOnVariable') asClass. + self assert: testsFound size equals: 0. + \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestDefaultPackage.class/instance/testInstVarOutsidePackage.st b/SmartTest.package/SmTSendersFilterTestDefaultPackage.class/instance/testInstVarOutsidePackage.st new file mode 100644 index 0000000..e0a1cdc --- /dev/null +++ b/SmartTest.package/SmTSendersFilterTestDefaultPackage.class/instance/testInstVarOutsidePackage.st @@ -0,0 +1,9 @@ +tests +testInstVarOutsidePackage +"In this test we want to assert that if the modified class has subclasses, SmartTest finds all the inherited methods (implemented or not)" + + | testsFound aInstVar| + aInstVar := self instanceVariableNamed: 'instVarModificationOnVariableOutsidePackage' fromClass: ('SmTClassP1ModificationOnVariable') asClass . + testsFound := self searchTestsForInstVar: aInstVar ofClass: ('SmTClassP1ModificationOnVariable') asClass. + self assert: testsFound size equals: 0. + \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/testInstVarOutsidePackage.st b/SmartTest.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/testInstVarOutsidePackage.st new file mode 100644 index 0000000..1a6bba4 --- /dev/null +++ b/SmartTest.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/testInstVarOutsidePackage.st @@ -0,0 +1,9 @@ +tests +testInstVarOutsidePackage +"In this test we want to assert that if the modified class has subclasses, SmartTest finds all the inherited methods (implemented or not)" + + | testsFound aInstVar| + aInstVar := self instanceVariableNamed: 'instVarModificationOnVariableOutsidePackage' fromClass: ('SmTClassP1ModificationOnVariable') asClass . + testsFound := self searchTestsForInstVar: aInstVar ofClass:('SmTClassP1ModificationOnVariable') asClass . + self assert: testsFound size equals: 0. + \ No newline at end of file From ef3dc41469f5282e0f04c2cd4c35524d0025bc9b Mon Sep 17 00:00:00 2001 From: eleonoreW Date: Mon, 11 Jun 2018 12:06:33 +0200 Subject: [PATCH 091/150] Comments and classification --- .../instance/instanceVariableNamed.fromClass..st | 2 +- .../instance/searchTestsForInstVar.ofClass..st | 2 +- .../SmTFilterAbstractTest.class/instance/setUp.st | 6 +++--- ...estClassAbstractTestCaseDoesntRedefineMethod.st} | 4 ++-- .../testClassAbstractTestCaseRedefinesMethod.st | 8 ++++++++ .../instance/testClassInheritanceSubClass1.st | 2 +- .../instance/testClassInsidePackageWithRef.st | 4 ++-- .../instance/testClassOutsidePackageWithRef.st | 2 +- .../instance/testClassSimpleTestCase.st | 2 +- .../instance/testClassTestsInside.st | 2 +- .../testExtensionMethodFirstLevelSendersInside.st | 2 +- .../testExtensionMethodFirstLevelSendersOutside.st | 2 +- .../testExtensionMethodSecondLevelSendersInside.st | 2 +- .../instance/testExtensionTestInside.st | 2 +- .../instance/testInstVarInsideClass.st | 8 ++++---- .../instance/testInstVarInsidePackage.st | 4 ++-- .../instance/testInstVarOutsidePackage.st | 4 ++-- ...tStandardMethodFirstLevelSendersInsidePackage.st | 2 +- ...StandardMethodFirstLevelSendersOutsidePackage.st | 2 +- ...FirstLevelSendersOutsidePackageWithRefInClass.st | 2 +- ...irstLevelSendersOutsidePackageWithRefInMethod.st | 2 +- ...rstLevelSendersOutsidePackageWithRefInPackage.st | 2 +- ...SecondLevelSendersInsidePackageWithTestInside.st | 2 +- ...econdLevelSendersInsidePackageWithTestOutside.st | 2 +- ...ndLevelSendersInsideTestOutsideWithRefInClass.st | 2 +- ...dLevelSendersInsideTestOutsideWithRefInMethod.st | 2 +- ...LevelSendersInsideTestOutsideWithRefInPackage.st | 2 +- ...econdLevelSendersOutsidePackageWithTestInside.st | 2 +- ...condLevelSendersOutsidePackageWithTestOutside.st | 2 +- ...ndLevelSendersOutsideTestInsideWithRefInClass.st | 2 +- ...dLevelSendersOutsideTestInsideWithRefInMethod.st | 2 +- ...LevelSendersOutsideTestInsideWithRefInPackage.st | 2 +- ...LevelSendersOutsideTestOutsideWithRefInMethod.st | 2 +- .../README.md | 8 ++++++++ ...TClassModificationOnClassInsidePackageWithRef.st | 0 .../properties.json | 4 ++-- .../README.md | 8 ++++++++ .../properties.json | 4 ++-- .../README.md | 8 ++++++++ .../properties.json | 4 ++-- .../README.md | 8 ++++++++ .../properties.json | 2 +- .../README.md | 2 +- .../properties.json | 2 +- .../README.md | 4 ++-- .../properties.json | 2 +- .../README.md | 4 ++-- .../properties.json | 2 +- .../README.md | 4 +++- .../properties.json | 7 +++---- .../README.md | 8 ++++++++ .../instVarModificationOnVariableInsideClass..st | 0 .../instVarModificationOnVariableInsideClass.st | 0 .../testModificationOnVariableInsideClass.st | 2 +- .../properties.json | 13 +++++++++++++ .../README.md | 0 .../testModificationOnVariableInsidePackage.st | 0 .../properties.json | 4 ++-- .../testExtensionMethod1FirstLevelSendersInside.st | 2 +- .../SmTExtensionP1.class/README.md | 8 ++++++++ .../SmTExtensionP1.class/properties.json | 2 +- .../SmTExtensionP2.extension/properties.json | 3 --- .../extensionMethod1FirstLevelSendersInside.st | 0 .../extensionMethod1FirstLevelSendersOutside.st | 0 .../SmTExtensionP2Test.extension/properties.json | 3 +++ .../SmTP1ClassTestAbstractTestCase.class/README.md | 4 +++- .../testModificationOnClassAbstractTestCase.st | 1 - .../properties.json | 2 +- .../README.md | 8 ++++++++ .../properties.json | 2 +- .../README.md | 8 ++++++++ .../properties.json | 2 +- .../SmTP1Inheritance.class/README.md | 9 +++++++++ .../SmTP1Inheritance.class/properties.json | 2 +- .../monticello.meta/categories.st | 2 ++ .../instVarModificationOnVariableOutsidePackage..st | 3 --- .../instVarModificationOnVariableOutsidePackage.st | 3 --- .../README.md | 0 .../testModificationOnVariableOutsidePackage.st | 0 .../properties.json | 4 ++-- .../testExtensionMethod1FirstLevelSendersOutside.st | 3 --- .../README.md | 0 ...ClassP1FirstLevelSendersOutsideWithRefInClass.st | 0 ...ndLevelSendersInsideTestOutsideWithRefInClass.st | 0 .../testExtensionMethod1FirstLevelSendersOutside.st | 3 +++ .../testMethod1FirstLevelSendersOutsidePackage.st | 0 ...Method1FirstLevelSendersOutsideWithRefInClass.st | 0 ...ethod1FirstLevelSendersOutsideWithRefInMethod.st | 0 ...thod1FirstLevelSendersOutsideWithRefInPackage.st | 0 ...ondLevelSenderInsideTestOutsideWithRefInClass.st | 0 ...ndLevelSenderInsideTestOutsideWithRefInMethod.st | 0 ...dLevelSenderInsideTestOutsideWithRefInPackage.st | 0 ...econdLevelSendersInsidePackageWithTestOutside.st | 0 ...condLevelSendersOutsidePackageWithTestOutside.st | 0 .../properties.json | 2 +- .../SmTExtensionP2.class/README.md | 0 .../README.md | 0 .../properties.json | 4 ++-- .../monticello.meta/categories.st | 4 ++-- 99 files changed, 183 insertions(+), 91 deletions(-) rename SmartTest.package/SmTFilterAbstractTest.class/instance/{testClassAbstractTestCase.st => testClassAbstractTestCaseDoesntRedefineMethod.st} (91%) create mode 100644 SmartTest.package/SmTFilterAbstractTest.class/instance/testClassAbstractTestCaseRedefinesMethod.st create mode 100644 SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageTestOutsideWithRefTest.class/README.md rename SmartTestDataOutsideP1.package/{RefToSmTClassModificationOnClassInsidePackageWithRef.class => SmTClassModificationOnClassInsidePackageTestOutsideWithRefTest.class}/instance/testRefToSmTClassModificationOnClassInsidePackageWithRef.st (100%) rename SmartTestDataOutsideP1.package/{RefToSmTClassModificationOnClassInsidePackageWithRef.class => SmTClassModificationOnClassInsidePackageTestOutsideWithRefTest.class}/properties.json (60%) create mode 100644 SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsideClassTest.class/README.md rename SmartTestDataOutsideP1.package/{SmTClassP1ModificationOnVariable.class => SmTClassP1ModificationOnVariableInsideClassTest.class}/instance/instVarModificationOnVariableInsideClass..st (100%) rename SmartTestDataOutsideP1.package/{SmTClassP1ModificationOnVariable.class => SmTClassP1ModificationOnVariableInsideClassTest.class}/instance/instVarModificationOnVariableInsideClass.st (100%) rename SmartTestDataOutsideP1.package/{SmTClassP1ModificationOnVariable.class => SmTClassP1ModificationOnVariableInsideClassTest.class}/instance/testModificationOnVariableInsideClass.st (56%) create mode 100644 SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsideClassTest.class/properties.json rename SmartTestDataOutsideP1.package/{SmTClassP1ModificationOnVariableInsidePackage.class => SmTClassP1ModificationOnVariableInsidePackageTest.class}/README.md (100%) rename SmartTestDataOutsideP1.package/{SmTClassP1ModificationOnVariableInsidePackage.class => SmTClassP1ModificationOnVariableInsidePackageTest.class}/instance/testModificationOnVariableInsidePackage.st (100%) rename SmartTestDataOutsideP1.package/{SmTClassP1ModificationOnVariableInsidePackage.class => SmTClassP1ModificationOnVariableInsidePackageTest.class}/properties.json (60%) delete mode 100644 SmartTestDataOutsideP1.package/SmTExtensionP2.extension/properties.json rename SmartTestDataOutsideP1.package/{SmTExtensionP2.extension => SmTExtensionP2Test.extension}/instance/extensionMethod1FirstLevelSendersInside.st (100%) rename SmartTestDataOutsideP1.package/{SmTExtensionP2.extension => SmTExtensionP2Test.extension}/instance/extensionMethod1FirstLevelSendersOutside.st (100%) create mode 100644 SmartTestDataOutsideP1.package/SmTExtensionP2Test.extension/properties.json delete mode 100644 SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackage.class/instance/instVarModificationOnVariableOutsidePackage..st delete mode 100644 SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackage.class/instance/instVarModificationOnVariableOutsidePackage.st rename {SmartTestDataOutsideP1.package/RefToSmTClassModificationOnClassInsidePackageWithRef.class => SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackageTest.class}/README.md (100%) rename SmartTestDataOutsideP2.package/{SmTClassP1ModificationOnVariableOutsidePackage.class => SmTClassP1ModificationOnVariableOutsidePackageTest.class}/instance/testModificationOnVariableOutsidePackage.st (100%) rename SmartTestDataOutsideP2.package/{SmTClassP1ModificationOnVariableOutsidePackage.class => SmTClassP1ModificationOnVariableOutsidePackageTest.class}/properties.json (59%) delete mode 100644 SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testExtensionMethod1FirstLevelSendersOutside.st rename SmartTestDataOutsideP2.package/{SmTClassTestP2.class => SmTClassTestP2Test.class}/README.md (100%) rename SmartTestDataOutsideP2.package/{SmTClassTestP2.class => SmTClassTestP2Test.class}/instance/referenceToSmTClassP1FirstLevelSendersOutsideWithRefInClass.st (100%) rename SmartTestDataOutsideP2.package/{SmTClassTestP2.class => SmTClassTestP2Test.class}/instance/referenceToSmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.st (100%) create mode 100644 SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testExtensionMethod1FirstLevelSendersOutside.st rename SmartTestDataOutsideP2.package/{SmTClassTestP2.class => SmTClassTestP2Test.class}/instance/testMethod1FirstLevelSendersOutsidePackage.st (100%) rename SmartTestDataOutsideP2.package/{SmTClassTestP2.class => SmTClassTestP2Test.class}/instance/testMethod1FirstLevelSendersOutsideWithRefInClass.st (100%) rename SmartTestDataOutsideP2.package/{SmTClassTestP2.class => SmTClassTestP2Test.class}/instance/testMethod1FirstLevelSendersOutsideWithRefInMethod.st (100%) rename SmartTestDataOutsideP2.package/{SmTClassTestP2.class => SmTClassTestP2Test.class}/instance/testMethod1FirstLevelSendersOutsideWithRefInPackage.st (100%) rename SmartTestDataOutsideP2.package/{SmTClassTestP2.class => SmTClassTestP2Test.class}/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInClass.st (100%) rename SmartTestDataOutsideP2.package/{SmTClassTestP2.class => SmTClassTestP2Test.class}/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInMethod.st (100%) rename SmartTestDataOutsideP2.package/{SmTClassTestP2.class => SmTClassTestP2Test.class}/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInPackage.st (100%) rename SmartTestDataOutsideP2.package/{SmTClassTestP2.class => SmTClassTestP2Test.class}/instance/testMethod2SecondLevelSendersInsidePackageWithTestOutside.st (100%) rename SmartTestDataOutsideP2.package/{SmTClassTestP2.class => SmTClassTestP2Test.class}/instance/testMethod2SecondLevelSendersOutsidePackageWithTestOutside.st (100%) rename SmartTestDataOutsideP2.package/{SmTClassTestP2.class => SmTClassTestP2Test.class}/properties.json (88%) delete mode 100644 SmartTestDataOutsideP2.package/SmTExtensionP2.class/README.md rename SmartTestDataOutsideP2.package/{SmTClassP1ModificationOnVariableOutsidePackage.class => SmTExtensionP2Test.class}/README.md (100%) rename SmartTestDataOutsideP2.package/{SmTExtensionP2.class => SmTExtensionP2Test.class}/properties.json (80%) diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/instanceVariableNamed.fromClass..st b/SmartTest.package/SmTFilterAbstractTest.class/instance/instanceVariableNamed.fromClass..st index 1be6379..75c330d 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/instanceVariableNamed.fromClass..st +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/instanceVariableNamed.fromClass..st @@ -1,3 +1,3 @@ -helper +helpers instanceVariableNamed: aInstVarName fromClass: aClass ^ (aClass instanceVariables select:[:instVar| instVar = aInstVarName ])first . \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/searchTestsForInstVar.ofClass..st b/SmartTest.package/SmTFilterAbstractTest.class/instance/searchTestsForInstVar.ofClass..st index 66565cf..3c10bfc 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/searchTestsForInstVar.ofClass..st +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/searchTestsForInstVar.ofClass..st @@ -1,3 +1,3 @@ -helper +helpers searchTestsForInstVar: aInstanceVariable ofClass: aClass ^ smartFinder smtFinder testsForAInstVar: aInstanceVariable OfClass: aClass \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/setUp.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/setUp.st index ef02264..cf49713 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/setUp.st +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/setUp.st @@ -5,7 +5,7 @@ setUp smartFinder filter: SmTDefaultPackagesFilter new. testMethod1FirstLevelSendersInsidePackage := (('SmTClass' , 'TestP1') asClass >> ('test' , 'Method1FirstLevelSendersInsidePackage') asSymbol) asRingDefinition. - testMethod1FirstLevelSendersOutsidePackage := (('SmTClass' , 'TestP2') asClass + testMethod1FirstLevelSendersOutsidePackage := (('SmTClass' , 'TestP2Test') asClass >> ('test' , 'Method1FirstLevelSendersOutsidePackage') asSymbol) asRingDefinition. testMethod2SecondLevelSendersInsidePackageWithTestInside := (('SmTClass' , 'TestP1') asClass >> ('test' , 'Method2SecondLevelSendersInsidePackageWithTestInside') asSymbol) @@ -13,10 +13,10 @@ setUp testMethod2SecondLevelSendersOutsidePackageWithTestInside := (('SmTClass' , 'TestP1') asClass >> ('test' , 'Method2SecondLevelSendersOutsidePackageWithTestInside') asSymbol) asRingDefinition. - testMethod2SecondLevelSendersInsidePackageWithTestOutside := (('SmTClass' , 'TestP2') + testMethod2SecondLevelSendersInsidePackageWithTestOutside := (('SmTClass' , 'TestP2Test') asClass >> ('test' , 'Method2SecondLevelSendersInsidePackageWithTestOutside') asSymbol) asRingDefinition. - testMethod2SecondLevelSendersOutsidePackageWithTestOutside := (('SmTClass' , 'TestP2') + testMethod2SecondLevelSendersOutsidePackageWithTestOutside := (('SmTClass' , 'TestP2Test') asClass >> ('test' , 'Method2SecondLevelSendersOutsidePackageWithTestOutside') asSymbol) asRingDefinition \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassAbstractTestCase.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassAbstractTestCaseDoesntRedefineMethod.st similarity index 91% rename from SmartTest.package/SmTFilterAbstractTest.class/instance/testClassAbstractTestCase.st rename to SmartTest.package/SmTFilterAbstractTest.class/instance/testClassAbstractTestCaseDoesntRedefineMethod.st index fbf2862..bb4763e 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassAbstractTestCase.st +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassAbstractTestCaseDoesntRedefineMethod.st @@ -1,5 +1,5 @@ -tests -testClassAbstractTestCase +test -modification on class +testClassAbstractTestCaseDoesntRedefineMethod "In this test we want to assert that if the modified class has subclasses, SmartTest finds all the inherited methods (implemented or not)" | testsFound testMethodSubClass1 testMethodSubClass2 | diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassAbstractTestCaseRedefinesMethod.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassAbstractTestCaseRedefinesMethod.st new file mode 100644 index 0000000..cd18903 --- /dev/null +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassAbstractTestCaseRedefinesMethod.st @@ -0,0 +1,8 @@ +test -modification on class +testClassAbstractTestCaseRedefinesMethod +"In this test we want to assert that if the modified class has subclasses, SmartTest finds all the inherited methods (implemented or not)" + + | testsFound testMethodSubClass1 testMethodSubClass2 | + testsFound := self searchTestMethodsForAClass: (('SmTP1ClassTestAbstractTestCase') asClass). + testMethodSubClass2 := RGMethodDefinition className: ('SmTP1ClassTestSubclassRedefines','Method') selector:('testModificationOnClassAbstract','TestCase') isMetaSide: false. + self assert: (testsFound includes: testMethodSubClass2). \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassInheritanceSubClass1.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassInheritanceSubClass1.st index b6aaaf8..2411b3e 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassInheritanceSubClass1.st +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassInheritanceSubClass1.st @@ -1,4 +1,4 @@ -tests +test -modification on class testClassInheritanceSubClass1 | testsFound testMethodSubClass2 | diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassInsidePackageWithRef.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassInsidePackageWithRef.st index 692ead5..a51df6d 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassInsidePackageWithRef.st +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassInsidePackageWithRef.st @@ -1,8 +1,8 @@ -tests +test -modification on class testClassInsidePackageWithRef "In this test, we want to assert that if the class is used in a method, we find the tests related to this method." | testsFound | testsFound := self searchTestMethodsForAClass: ('SmTClassModificationOnClass','InsidePackageWithRef') asClass. self assert: testsFound size equals: 1. - self assert: (testsFound includes: ((('RefToSmTClassModificationOnClass','InsidePackageWithRef') asClass >> ('testRefToSmTClassModificationOnClassInsidePackageWithRef') asSymbol) asRingDefinition )). \ No newline at end of file + self assert: (testsFound includes: ((('SmTClassModificationOnClassInsidePackageTestOutside','WithRefTest') asClass >> ('testRefToSmTClassModificationOnClassInsidePackageWithRef') asSymbol) asRingDefinition )). \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassOutsidePackageWithRef.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassOutsidePackageWithRef.st index e57335d..e714252 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassOutsidePackageWithRef.st +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassOutsidePackageWithRef.st @@ -1,4 +1,4 @@ -tests +test -modification on class testClassOutsidePackageWithRef "In this test, we want to assert that if the class is used in a method, we find the tests related to this method." diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassSimpleTestCase.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassSimpleTestCase.st index e3dea70..d96f706 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassSimpleTestCase.st +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassSimpleTestCase.st @@ -1,4 +1,4 @@ -tests +test -modification on class testClassSimpleTestCase "In this test we want to assert that SmartTest finds the test owned directly by a class." diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassTestsInside.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassTestsInside.st index 0a9ca34..f67955b 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassTestsInside.st +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassTestsInside.st @@ -1,4 +1,4 @@ -tests +test -modification on class testClassTestsInside "In this test we want to assert that SmartTest finds the test owned directly by a class." diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testExtensionMethodFirstLevelSendersInside.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testExtensionMethodFirstLevelSendersInside.st index d6d0f5a..c276aaa 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/testExtensionMethodFirstLevelSendersInside.st +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testExtensionMethodFirstLevelSendersInside.st @@ -1,4 +1,4 @@ -tests +test - extension method testExtensionMethodFirstLevelSendersInside | testsFound | diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testExtensionMethodFirstLevelSendersOutside.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testExtensionMethodFirstLevelSendersOutside.st index d3bf210..8845ab2 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/testExtensionMethodFirstLevelSendersOutside.st +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testExtensionMethodFirstLevelSendersOutside.st @@ -1,4 +1,4 @@ -tests +test - extension method testExtensionMethodFirstLevelSendersOutside | testsFound | diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testExtensionMethodSecondLevelSendersInside.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testExtensionMethodSecondLevelSendersInside.st index dae3388..6394ed5 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/testExtensionMethodSecondLevelSendersInside.st +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testExtensionMethodSecondLevelSendersInside.st @@ -1,4 +1,4 @@ -tests +test - extension method testExtensionMethodSecondLevelSendersInside | testsFound | diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testExtensionTestInside.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testExtensionTestInside.st index 96e7cf5..3959a77 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/testExtensionTestInside.st +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testExtensionTestInside.st @@ -1,4 +1,4 @@ -tests +test - extension method testExtensionTestInside | testsFound | diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testInstVarInsideClass.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testInstVarInsideClass.st index a16d038..d6ae7ff 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/testInstVarInsideClass.st +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testInstVarInsideClass.st @@ -1,9 +1,9 @@ -tests +test - instance variable testInstVarInsideClass "In this test we want to assert that if the modified class has subclasses, SmartTest finds all the inherited methods (implemented or not)" | testsFound aInstVar| - aInstVar := self instanceVariableNamed: 'instVarModificationOnVariableInsideClass' fromClass: (('SmTClassP1','ModificationOnVariable') asClass). - testsFound := self searchTestsForInstVar: aInstVar ofClass: (('SmTClassP1','ModificationOnVariable') asClass). - self assert: (testsFound includes: (('SmTClassP1','ModificationOnVariable') asClass >> ('testModificationOnVariable','InsideClass')asSymbol)asRingDefinition ). + aInstVar := self instanceVariableNamed: 'instVarModificationOnVariableInsideClass' fromClass: (('SmTClassP1ModificationOn','VariableInsideClassTest') asClass). + testsFound := self searchTestsForInstVar: aInstVar ofClass: (('SmTClassP1ModificationOn','VariableInsideClassTest') asClass). + self assert: (testsFound includes: (('SmTClassP1ModificationOn','VariableInsideClassTest') asClass >> ('testModificationOnVariable','InsideClass')asSymbol)asRingDefinition ). \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testInstVarInsidePackage.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testInstVarInsidePackage.st index c35fb9a..3463639 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/testInstVarInsidePackage.st +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testInstVarInsidePackage.st @@ -1,9 +1,9 @@ -tests +test - instance variable testInstVarInsidePackage "In this test we want to assert that if the modified class has subclasses, SmartTest finds all the inherited methods (implemented or not)" | testsFound aInstVar| aInstVar := self instanceVariableNamed: 'instVarModificationOnVariableInsidePackage' fromClass: ('SmTClassP1ModificationOn','Variable') asClass. testsFound := self searchTestsForInstVar: aInstVar ofClass: ('SmTClassP1ModificationOn','Variable') asClass. - self assert: (testsFound includes: (('SmTClassP1ModificationOnVariable','InsidePackage') asClass >> ('testModificationOnVariable','InsidePackage')asSymbol)asRingDefinition ). + self assert: (testsFound includes: (('SmTClassP1ModificationOnVariable','InsidePackageTest') asClass >> ('testModificationOnVariable','InsidePackage')asSymbol)asRingDefinition ). \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testInstVarOutsidePackage.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testInstVarOutsidePackage.st index 1dd4ad4..ae3a2b3 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/testInstVarOutsidePackage.st +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testInstVarOutsidePackage.st @@ -1,9 +1,9 @@ -tests +test - instance variable testInstVarOutsidePackage "In this test we want to assert that if the modified class has subclasses, SmartTest finds all the inherited methods (implemented or not)" | testsFound aInstVar| aInstVar := self instanceVariableNamed: 'instVarModificationOnVariableOutsidePackage' fromClass: ('SmTClassP1ModificationOnVariable') asClass . testsFound := self searchTestsForInstVar: aInstVar ofClass: ('SmTClassP1ModificationOnVariable') asClass. - self assert: (testsFound includes: (('SmTClassP1ModificationOnVariable','OutsidePackage') asClass >> ('testModificationOnVariable','OutsidePackage')asSymbol)asRingDefinition ). + self assert: (testsFound includes: (('SmTClassP1ModificationOnVariable','OutsidePackageTest') asClass >> ('testModificationOnVariable','OutsidePackage')asSymbol)asRingDefinition ). \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersInsidePackage.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersInsidePackage.st index a44c9d8..e377f08 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersInsidePackage.st +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersInsidePackage.st @@ -1,4 +1,4 @@ -tests +test - standard method - first level sender testStandardMethodFirstLevelSendersInsidePackage "method1 is called by testMethod1, a tests owned by the same package as method1, the only test found should be testMethod1" diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st index 94eb698..083ce27 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st @@ -1,4 +1,4 @@ -tests +test - standard method - first level sender testStandardMethodFirstLevelSendersOutsidePackage "method1 is called by testMethod2, a test not owned by the same package as method1, thus it should not be found" diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st index 899d96c..3cffe53 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st @@ -1,4 +1,4 @@ -tests +test - standard method - first level sender testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass "method1 is called by testMethod1" diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st index a19b4e8..70a1e32 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st @@ -1,4 +1,4 @@ -tests +test - standard method - first level sender testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod "method1 is called by testMethod1" diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st index d5ae7d1..3e11e70 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st @@ -1,4 +1,4 @@ -tests +test - standard method - first level sender testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage "method1 is called by testMethod1" diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestInside.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestInside.st index 42b6ccf..3b02fd1 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestInside.st +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestInside.st @@ -1,4 +1,4 @@ -tests +test - standard method - second level sender testStandardMethodSecondLevelSendersInsidePackageWithTestInside "method1 is called by method2, which itself is called by testMethod2, a tests owned by the same package as myMethod1, thus testMethod2 should be found. diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestOutside.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestOutside.st index a0b0422..cc86fcb 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestOutside.st +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestOutside.st @@ -1,4 +1,4 @@ -tests +test - standard method - second level sender testStandardMethodSecondLevelSendersInsidePackageWithTestOutside "method1 is called by method2, which itself is called by testMethod2, a test not owned by the same package as method1, thus testMethod2 should not be found. diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st index bfeaafe..2e38a82 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st @@ -1,4 +1,4 @@ -tests +test - standard method - second level sender - with references testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass "method1 is called by method 2,itself called by testMethod1" diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st index af89175..6e74fc6 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st @@ -1,4 +1,4 @@ -tests +test - standard method - second level sender - with references testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod "method1 is called by method 2,itself called by testMethod1" diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st index adeda71..53e03f7 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st @@ -1,4 +1,4 @@ -tests +test - standard method - second level sender - with references testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage "method1 is called by method 2,itself called by testMethod1" diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestInside.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestInside.st index 7b0f9bf..9af20e5 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestInside.st +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestInside.st @@ -1,4 +1,4 @@ -tests +test - standard method - second level sender testStandardMethodSecondLevelSendersOutsidePackageWithTestInside "method1 is called by method2, which itself is called by testMethod2, thus testMethod2 should not be found. diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestOutside.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestOutside.st index 0143b83..bda0954 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestOutside.st +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestOutside.st @@ -1,4 +1,4 @@ -tests +test - standard method - second level sender testStandardMethodSecondLevelSendersOutsidePackageWithTestOutside "method1 is called by method2, which itself is called by testMethod2, thus testMethod2 should not be found. diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st index 8475688..1db8746 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st @@ -1,4 +1,4 @@ -tests +test - standard method - second level sender - with references testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass "method1 is called by method 2,itself called by testMethod1" diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st index d9271d8..0ee7b35 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st @@ -1,4 +1,4 @@ -tests +test - standard method - second level sender - with references testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod "method1 is called by method 2,itself called by testMethod1" diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st index 0896057..0fb7e51 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st @@ -1,4 +1,4 @@ -tests +test - standard method - second level sender - with references testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage "method1 is called by method 2,itself called by testMethod1" diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefInMethod.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefInMethod.st index 6130c7e..cb7c41b 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefInMethod.st +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefInMethod.st @@ -1,4 +1,4 @@ -tests +test - standard method - second level sender - with references testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefInMethod "method1 is called by method 2,itself called by testMethod1" diff --git a/SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageTestOutsideWithRefTest.class/README.md b/SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageTestOutsideWithRefTest.class/README.md new file mode 100644 index 0000000..feaf30f --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageTestOutsideWithRefTest.class/README.md @@ -0,0 +1,8 @@ +Data for SmartTest tests on the testForClass:. + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +We will use this that to assert that SmartTest behaves correctly when dealing with inherited methods ans class. + +This class has a test that references the class SmTClassModificationOnClassInsidePackageWithRef \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/RefToSmTClassModificationOnClassInsidePackageWithRef.class/instance/testRefToSmTClassModificationOnClassInsidePackageWithRef.st b/SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageTestOutsideWithRefTest.class/instance/testRefToSmTClassModificationOnClassInsidePackageWithRef.st similarity index 100% rename from SmartTestDataOutsideP1.package/RefToSmTClassModificationOnClassInsidePackageWithRef.class/instance/testRefToSmTClassModificationOnClassInsidePackageWithRef.st rename to SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageTestOutsideWithRefTest.class/instance/testRefToSmTClassModificationOnClassInsidePackageWithRef.st diff --git a/SmartTestDataOutsideP1.package/RefToSmTClassModificationOnClassInsidePackageWithRef.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageTestOutsideWithRefTest.class/properties.json similarity index 60% rename from SmartTestDataOutsideP1.package/RefToSmTClassModificationOnClassInsidePackageWithRef.class/properties.json rename to SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageTestOutsideWithRefTest.class/properties.json index e726e43..c378741 100644 --- a/SmartTestDataOutsideP1.package/RefToSmTClassModificationOnClassInsidePackageWithRef.class/properties.json +++ b/SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageTestOutsideWithRefTest.class/properties.json @@ -1,11 +1,11 @@ { - "commentStamp" : "", + "commentStamp" : "eleonoreW 6/11/2018 11:21", "super" : "TestCase", "category" : "SmartTestDataOutsideP1-ModificationOnClass-Tests", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], "instvars" : [ ], - "name" : "RefToSmTClassModificationOnClassInsidePackageWithRef", + "name" : "SmTClassModificationOnClassInsidePackageTestOutsideWithRefTest", "type" : "normal" } \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageWithRef.class/README.md b/SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageWithRef.class/README.md index e69de29..a58820e 100644 --- a/SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageWithRef.class/README.md +++ b/SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageWithRef.class/README.md @@ -0,0 +1,8 @@ +Data for SmartTest tests on the testForClass:. + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +We will use this that to assert that SmartTest behaves correctly when dealing with inherited methods ans class. + +This class is referenced inside it package in the test SmTClassModificationOnClassInsidePackageTestOutsideWithRefTest >> testRefToSmTClassModificationOnClassInsidePackageWithRef \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageWithRef.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageWithRef.class/properties.json index c2827ea..c13622d 100644 --- a/SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageWithRef.class/properties.json +++ b/SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageWithRef.class/properties.json @@ -1,7 +1,7 @@ { - "commentStamp" : "", + "commentStamp" : "eleonoreW 6/11/2018 11:48", "super" : "Object", - "category" : "SmartTestDataOutsideP1-ModificationOnClass-Tests", + "category" : "SmartTestDataOutsideP1-ModificationOnClass", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTestDataOutsideP1.package/SmTClassModificationOnClassOutsidePackageWithRef.class/README.md b/SmartTestDataOutsideP1.package/SmTClassModificationOnClassOutsidePackageWithRef.class/README.md index e69de29..aa04ed3 100644 --- a/SmartTestDataOutsideP1.package/SmTClassModificationOnClassOutsidePackageWithRef.class/README.md +++ b/SmartTestDataOutsideP1.package/SmTClassModificationOnClassOutsidePackageWithRef.class/README.md @@ -0,0 +1,8 @@ +Data for SmartTest tests on the testForClass:. + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +We will use this that to assert that SmartTest behaves correctly when dealing with inherited methods ans class. + +This class is referenced outside its package (in SmartTestDataOutsideP2) in the test RefToSmTClassModificationOnClassOutsidePackageWithRef >> testRefToSmTClassModificationOnClassOutsidePackageWithRef \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassModificationOnClassOutsidePackageWithRef.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassModificationOnClassOutsidePackageWithRef.class/properties.json index a1a49db..cb02d99 100644 --- a/SmartTestDataOutsideP1.package/SmTClassModificationOnClassOutsidePackageWithRef.class/properties.json +++ b/SmartTestDataOutsideP1.package/SmTClassModificationOnClassOutsidePackageWithRef.class/properties.json @@ -1,7 +1,7 @@ { - "commentStamp" : "", + "commentStamp" : "eleonoreW 6/11/2018 11:48", "super" : "Object", - "category" : "SmartTestDataOutsideP1-ModificationOnClass-Tests", + "category" : "SmartTestDataOutsideP1-ModificationOnClass", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTestDataOutsideP1.package/SmTClassModificationOnClassSimpleTestCase.class/README.md b/SmartTestDataOutsideP1.package/SmTClassModificationOnClassSimpleTestCase.class/README.md index e69de29..4fc56e1 100644 --- a/SmartTestDataOutsideP1.package/SmTClassModificationOnClassSimpleTestCase.class/README.md +++ b/SmartTestDataOutsideP1.package/SmTClassModificationOnClassSimpleTestCase.class/README.md @@ -0,0 +1,8 @@ +Data for SmartTest tests on the testForClass:. + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +We will use this that to assert that SmartTest behaves correctly when dealing with inherited methods ans class. + +This class is a subclass of TestCase and contains a test. \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassModificationOnClassSimpleTestCase.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassModificationOnClassSimpleTestCase.class/properties.json index c6043c1..f37e249 100644 --- a/SmartTestDataOutsideP1.package/SmTClassModificationOnClassSimpleTestCase.class/properties.json +++ b/SmartTestDataOutsideP1.package/SmTClassModificationOnClassSimpleTestCase.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "", + "commentStamp" : "eleonoreW 6/11/2018 11:51", "super" : "TestCase", "category" : "SmartTestDataOutsideP1-ModificationOnClass-Tests", "classinstvars" : [ ], diff --git a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class/README.md b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class/README.md index daf34ed..caf9473 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class/README.md +++ b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class/README.md @@ -1,4 +1,4 @@ -Data for SmartTest tests on the DefaultClassPackage filter. +Data for SmartTest tests on the filters. Methods of this class have long name in order to be unique and explicit. Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. diff --git a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class/properties.json index 8fbb924..8fa57df 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class/properties.json +++ b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "EleonoreWALD 5/14/2018 15:35", + "commentStamp" : "eleonoreW 6/11/2018 09:53", "super" : "Object", "category" : "SmartTestDataOutsideP1-ModificationOnMethod-FirstLevelWithRef", "classinstvars" : [ ], diff --git a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class/README.md b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class/README.md index a5f1de0..5a332eb 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class/README.md +++ b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class/README.md @@ -1,8 +1,8 @@ -Data for SmartTest tests on the DefaultClassPackage filter. +Data for SmartTest tests on the filters. Methods of this class have long name in order to be unique and explicit. Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). -This class is referenced by SmTClassTestP2FirstLevelSendersOutsideWithRefInMethod >>testMethod1FirstLevelSendersOutsideWithRefInMethod . \ No newline at end of file +This class is referenced by SmartTestDataOutside: SmTClassTestP2 >> testMethod1FirstLevelSendersOutsideWithRefInMethod . \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class/properties.json index 226ff4d..aca6399 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class/properties.json +++ b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "EleonoreWALD 5/14/2018 15:35", + "commentStamp" : "eleonoreW 6/11/2018 09:56", "super" : "Object", "category" : "SmartTestDataOutsideP1-ModificationOnMethod-FirstLevelWithRef", "classinstvars" : [ ], diff --git a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class/README.md b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class/README.md index a5f1de0..2bd355b 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class/README.md +++ b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class/README.md @@ -1,8 +1,8 @@ -Data for SmartTest tests on the DefaultClassPackage filter. +Data for SmartTest tests on the filters. Methods of this class have long name in order to be unique and explicit. Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). -This class is referenced by SmTClassTestP2FirstLevelSendersOutsideWithRefInMethod >>testMethod1FirstLevelSendersOutsideWithRefInMethod . \ No newline at end of file +This class is referenced by SmartTestDataOutsideP2: SmTClassP2ReferencesInPackage >> referenceToSmTClassP1FirstLevelSendersOutsideWithRefInPackage . \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class/properties.json index 7a112c5..41396ce 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class/properties.json +++ b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "EleonoreWALD 5/14/2018 15:35", + "commentStamp" : "eleonoreW 6/11/2018 09:55", "super" : "Object", "category" : "SmartTestDataOutsideP1-ModificationOnMethod-FirstLevelWithRef", "classinstvars" : [ ], diff --git a/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/README.md b/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/README.md index 92ec6c1..e222370 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/README.md +++ b/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/README.md @@ -3,4 +3,6 @@ Data for SmartTest tests on the testForAnInstanceVariable:. Methods of this class have long name in order to be unique and explicit. Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. -We will use this that to assert that SmartTest behaves correctly when dealing with modifications on instance variables. \ No newline at end of file +We will use this that to assert that SmartTest behaves correctly when dealing with modifications on instance variables. + +It contains different instance variables that are used in tests. Each variable has only one test that calls them. \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/properties.json index d1df3fa..0ae4d3f 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/properties.json +++ b/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/properties.json @@ -1,14 +1,13 @@ { - "commentStamp" : "eleonoreW 6/1/2018 14:13", - "super" : "TestCase", + "commentStamp" : "eleonoreW 6/11/2018 10:31", + "super" : "Object", "category" : "SmartTestDataOutsideP1-ModificationOnVariable", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], "instvars" : [ "instVarModificationOnVariableInsidePackage", - "instVarModificationOnVariableOutsidePackage", - "instVarModificationOnVariableInsideClass" + "instVarModificationOnVariableOutsidePackage" ], "name" : "SmTClassP1ModificationOnVariable", "type" : "normal" diff --git a/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsideClassTest.class/README.md b/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsideClassTest.class/README.md new file mode 100644 index 0000000..4c281fe --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsideClassTest.class/README.md @@ -0,0 +1,8 @@ +Data for SmartTest tests on the testForAnInstanceVariable:. + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +We will use this that to assert that SmartTest behaves correctly when dealing with modifications on instance variables. + +This class has an instance variable used inside the class in a test. \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/instVarModificationOnVariableInsideClass..st b/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsideClassTest.class/instance/instVarModificationOnVariableInsideClass..st similarity index 100% rename from SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/instVarModificationOnVariableInsideClass..st rename to SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsideClassTest.class/instance/instVarModificationOnVariableInsideClass..st diff --git a/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/instVarModificationOnVariableInsideClass.st b/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsideClassTest.class/instance/instVarModificationOnVariableInsideClass.st similarity index 100% rename from SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/instVarModificationOnVariableInsideClass.st rename to SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsideClassTest.class/instance/instVarModificationOnVariableInsideClass.st diff --git a/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/testModificationOnVariableInsideClass.st b/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsideClassTest.class/instance/testModificationOnVariableInsideClass.st similarity index 56% rename from SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/testModificationOnVariableInsideClass.st rename to SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsideClassTest.class/instance/testModificationOnVariableInsideClass.st index 58f23b7..f5e3b50 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/testModificationOnVariableInsideClass.st +++ b/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsideClassTest.class/instance/testModificationOnVariableInsideClass.st @@ -1,5 +1,5 @@ tests testModificationOnVariableInsideClass |anObject| -anObject := ('SmTClassP1ModificationOn','Variable') asClass new. +anObject := ('SmTClassP1ModificationOn','VariableInsideClassTest') asClass new. anObject instVarModificationOnVariableInsideClass \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsideClassTest.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsideClassTest.class/properties.json new file mode 100644 index 0000000..fc5298d --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsideClassTest.class/properties.json @@ -0,0 +1,13 @@ +{ + "commentStamp" : "eleonoreW 6/11/2018 10:27", + "super" : "TestCase", + "category" : "SmartTestDataOutsideP1-ModificationOnVariable-Tests", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ + "instVarModificationOnVariableInsideClass" + ], + "name" : "SmTClassP1ModificationOnVariableInsideClassTest", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsidePackage.class/README.md b/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsidePackageTest.class/README.md similarity index 100% rename from SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsidePackage.class/README.md rename to SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsidePackageTest.class/README.md diff --git a/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsidePackage.class/instance/testModificationOnVariableInsidePackage.st b/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsidePackageTest.class/instance/testModificationOnVariableInsidePackage.st similarity index 100% rename from SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsidePackage.class/instance/testModificationOnVariableInsidePackage.st rename to SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsidePackageTest.class/instance/testModificationOnVariableInsidePackage.st diff --git a/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsidePackage.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsidePackageTest.class/properties.json similarity index 60% rename from SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsidePackage.class/properties.json rename to SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsidePackageTest.class/properties.json index b52e0d2..4654731 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsidePackage.class/properties.json +++ b/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsidePackageTest.class/properties.json @@ -1,13 +1,13 @@ { "commentStamp" : "eleonoreW 6/1/2018 14:13", "super" : "TestCase", - "category" : "SmartTestDataOutsideP1-ModificationOnVariable", + "category" : "SmartTestDataOutsideP1-ModificationOnVariable-Tests", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], "instvars" : [ "instVarModificationOnVariable" ], - "name" : "SmTClassP1ModificationOnVariableInsidePackage", + "name" : "SmTClassP1ModificationOnVariableInsidePackageTest", "type" : "normal" } \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testExtensionMethod1FirstLevelSendersInside.st b/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testExtensionMethod1FirstLevelSendersInside.st index aa10c00..caf4b9c 100644 --- a/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testExtensionMethod1FirstLevelSendersInside.st +++ b/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testExtensionMethod1FirstLevelSendersInside.st @@ -1,3 +1,3 @@ testMethod1 testExtensionMethod1FirstLevelSendersInside -SmTExtensionP2 >> #extensionMethod1FirstLevelSendersInside \ No newline at end of file +SmTExtensionP2Test >> #extensionMethod1FirstLevelSendersInside \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTExtensionP1.class/README.md b/SmartTestDataOutsideP1.package/SmTExtensionP1.class/README.md index e69de29..f08ae56 100644 --- a/SmartTestDataOutsideP1.package/SmTExtensionP1.class/README.md +++ b/SmartTestDataOutsideP1.package/SmTExtensionP1.class/README.md @@ -0,0 +1,8 @@ +Data for SmartTest tests on the filters:. + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +We will use this that to assert that SmartTest behaves correctly when dealing with inherited methods ans class. + +This class inherits one test from its superior class and doesn't redefine it. \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTExtensionP1.class/properties.json b/SmartTestDataOutsideP1.package/SmTExtensionP1.class/properties.json index 8ba3837..3911250 100644 --- a/SmartTestDataOutsideP1.package/SmTExtensionP1.class/properties.json +++ b/SmartTestDataOutsideP1.package/SmTExtensionP1.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "", + "commentStamp" : "eleonoreW 6/11/2018 10:56", "super" : "Object", "category" : "SmartTestDataOutsideP1-ModificationOnMethod-SenderExtensionMethod", "classinstvars" : [ ], diff --git a/SmartTestDataOutsideP1.package/SmTExtensionP2.extension/properties.json b/SmartTestDataOutsideP1.package/SmTExtensionP2.extension/properties.json deleted file mode 100644 index bf29821..0000000 --- a/SmartTestDataOutsideP1.package/SmTExtensionP2.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "SmTExtensionP2" -} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTExtensionP2.extension/instance/extensionMethod1FirstLevelSendersInside.st b/SmartTestDataOutsideP1.package/SmTExtensionP2Test.extension/instance/extensionMethod1FirstLevelSendersInside.st similarity index 100% rename from SmartTestDataOutsideP1.package/SmTExtensionP2.extension/instance/extensionMethod1FirstLevelSendersInside.st rename to SmartTestDataOutsideP1.package/SmTExtensionP2Test.extension/instance/extensionMethod1FirstLevelSendersInside.st diff --git a/SmartTestDataOutsideP1.package/SmTExtensionP2.extension/instance/extensionMethod1FirstLevelSendersOutside.st b/SmartTestDataOutsideP1.package/SmTExtensionP2Test.extension/instance/extensionMethod1FirstLevelSendersOutside.st similarity index 100% rename from SmartTestDataOutsideP1.package/SmTExtensionP2.extension/instance/extensionMethod1FirstLevelSendersOutside.st rename to SmartTestDataOutsideP1.package/SmTExtensionP2Test.extension/instance/extensionMethod1FirstLevelSendersOutside.st diff --git a/SmartTestDataOutsideP1.package/SmTExtensionP2Test.extension/properties.json b/SmartTestDataOutsideP1.package/SmTExtensionP2Test.extension/properties.json new file mode 100644 index 0000000..bf6e127 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTExtensionP2Test.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "SmTExtensionP2Test" +} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/README.md b/SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/README.md index d3aee6f..13cf63b 100644 --- a/SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/README.md +++ b/SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/README.md @@ -3,4 +3,6 @@ Data for SmartTest tests on the testForClass:. Methods of this class have long name in order to be unique and explicit. Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. -We will use this that to assert that SmartTest behaves correctly when dealing with inherited methods ans class. \ No newline at end of file +We will use this that to assert that SmartTest behaves correctly when dealing with inherited methods ans class. + +This class is abstract and has one test, the subclasses will herit this test. The first subclass redefines this test ("SmTP1ClassTestSubClassRedefinesMethod") and the other doesn't ("SmTP1ClassTestSubClassDoesntRedefineMethod"). \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/instance/testModificationOnClassAbstractTestCase.st b/SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/instance/testModificationOnClassAbstractTestCase.st index 917c326..47e7516 100644 --- a/SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/instance/testModificationOnClassAbstractTestCase.st +++ b/SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/instance/testModificationOnClassAbstractTestCase.st @@ -1,4 +1,3 @@ tests testModificationOnClassAbstractTestCase - ('SmTP1ModificationOnClassAbstract','TestCase') asClass new. \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/properties.json b/SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/properties.json index 416155f..a87f9a8 100644 --- a/SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/properties.json +++ b/SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "eleonoreW 6/1/2018 10:16", + "commentStamp" : "eleonoreW 6/11/2018 10:36", "super" : "TestCase", "category" : "SmartTestDataOutsideP1-ModificationOnClass-Tests", "classinstvars" : [ ], diff --git a/SmartTestDataOutsideP1.package/SmTP1ClassTestSubClassDoesntRedefineMethod.class/README.md b/SmartTestDataOutsideP1.package/SmTP1ClassTestSubClassDoesntRedefineMethod.class/README.md index e69de29..095b5d8 100644 --- a/SmartTestDataOutsideP1.package/SmTP1ClassTestSubClassDoesntRedefineMethod.class/README.md +++ b/SmartTestDataOutsideP1.package/SmTP1ClassTestSubClassDoesntRedefineMethod.class/README.md @@ -0,0 +1,8 @@ +Data for SmartTest tests on the testForClass:. + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +We will use this that to assert that SmartTest behaves correctly when dealing with inherited methods ans class. + +This class inherits one test from its superior class and doesn't redefine it. \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTP1ClassTestSubClassDoesntRedefineMethod.class/properties.json b/SmartTestDataOutsideP1.package/SmTP1ClassTestSubClassDoesntRedefineMethod.class/properties.json index 081f291..1676777 100644 --- a/SmartTestDataOutsideP1.package/SmTP1ClassTestSubClassDoesntRedefineMethod.class/properties.json +++ b/SmartTestDataOutsideP1.package/SmTP1ClassTestSubClassDoesntRedefineMethod.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "", + "commentStamp" : "eleonoreW 6/11/2018 10:38", "super" : "SmTP1ClassTestAbstractTestCase", "category" : "SmartTestDataOutsideP1-ModificationOnClass-Tests", "classinstvars" : [ ], diff --git a/SmartTestDataOutsideP1.package/SmTP1ClassTestSubclassRedefinesMethod.class/README.md b/SmartTestDataOutsideP1.package/SmTP1ClassTestSubclassRedefinesMethod.class/README.md index e69de29..345ccac 100644 --- a/SmartTestDataOutsideP1.package/SmTP1ClassTestSubclassRedefinesMethod.class/README.md +++ b/SmartTestDataOutsideP1.package/SmTP1ClassTestSubclassRedefinesMethod.class/README.md @@ -0,0 +1,8 @@ +Data for SmartTest tests on the testForClass:. + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +We will use this that to assert that SmartTest behaves correctly when dealing with inherited methods ans class. + +This class inherits one test from its superior class and redefines it. \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTP1ClassTestSubclassRedefinesMethod.class/properties.json b/SmartTestDataOutsideP1.package/SmTP1ClassTestSubclassRedefinesMethod.class/properties.json index 17e8d5e..00da709 100644 --- a/SmartTestDataOutsideP1.package/SmTP1ClassTestSubclassRedefinesMethod.class/properties.json +++ b/SmartTestDataOutsideP1.package/SmTP1ClassTestSubclassRedefinesMethod.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "", + "commentStamp" : "eleonoreW 6/11/2018 10:38", "super" : "SmTP1ClassTestAbstractTestCase", "category" : "SmartTestDataOutsideP1-ModificationOnClass-Tests", "classinstvars" : [ ], diff --git a/SmartTestDataOutsideP1.package/SmTP1Inheritance.class/README.md b/SmartTestDataOutsideP1.package/SmTP1Inheritance.class/README.md index e69de29..5cddd59 100644 --- a/SmartTestDataOutsideP1.package/SmTP1Inheritance.class/README.md +++ b/SmartTestDataOutsideP1.package/SmTP1Inheritance.class/README.md @@ -0,0 +1,9 @@ +Data for SmartTest tests on the filters. + +With this class, we try to assert that SmartTest work correctly with Inherited methods and tests. + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). + diff --git a/SmartTestDataOutsideP1.package/SmTP1Inheritance.class/properties.json b/SmartTestDataOutsideP1.package/SmTP1Inheritance.class/properties.json index 7aba621..cf0f742 100644 --- a/SmartTestDataOutsideP1.package/SmTP1Inheritance.class/properties.json +++ b/SmartTestDataOutsideP1.package/SmTP1Inheritance.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "", + "commentStamp" : "eleonoreW 6/11/2018 09:57", "super" : "Object", "category" : "SmartTestDataOutsideP1-ModificationOnMethod-Inheritance", "classinstvars" : [ ], diff --git a/SmartTestDataOutsideP1.package/monticello.meta/categories.st b/SmartTestDataOutsideP1.package/monticello.meta/categories.st index 0b40091..ba7ea09 100644 --- a/SmartTestDataOutsideP1.package/monticello.meta/categories.st +++ b/SmartTestDataOutsideP1.package/monticello.meta/categories.st @@ -10,3 +10,5 @@ SystemOrganization addCategory: #'SmartTestDataOutsideP1-ModificationOnMethod-Se SystemOrganization addCategory: #'SmartTestDataOutsideP1-ModificationOnMethod-Tests'! SystemOrganization addCategory: #'SmartTestDataOutsideP1-ModificationOnMethod-WithoutRef'! SystemOrganization addCategory: #'SmartTestDataOutsideP1-ModificationOnVariable'! +temOrganization addCategory: #'SmartTestDataOutsideP1-ModificationOnVariable'! +SystemOrganization addCategory: #'SmartTestDataOutsideP1-ModificationOnVariable-Tests'! diff --git a/SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackage.class/instance/instVarModificationOnVariableOutsidePackage..st b/SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackage.class/instance/instVarModificationOnVariableOutsidePackage..st deleted file mode 100644 index fc92231..0000000 --- a/SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackage.class/instance/instVarModificationOnVariableOutsidePackage..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -instVarModificationOnVariableOutsidePackage: anObject - instVarModificationOnVariableOutsidePackage := anObject \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackage.class/instance/instVarModificationOnVariableOutsidePackage.st b/SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackage.class/instance/instVarModificationOnVariableOutsidePackage.st deleted file mode 100644 index 812e85d..0000000 --- a/SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackage.class/instance/instVarModificationOnVariableOutsidePackage.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -instVarModificationOnVariableOutsidePackage - ^ instVarModificationOnVariableOutsidePackage \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/RefToSmTClassModificationOnClassInsidePackageWithRef.class/README.md b/SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackageTest.class/README.md similarity index 100% rename from SmartTestDataOutsideP1.package/RefToSmTClassModificationOnClassInsidePackageWithRef.class/README.md rename to SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackageTest.class/README.md diff --git a/SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackage.class/instance/testModificationOnVariableOutsidePackage.st b/SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackageTest.class/instance/testModificationOnVariableOutsidePackage.st similarity index 100% rename from SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackage.class/instance/testModificationOnVariableOutsidePackage.st rename to SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackageTest.class/instance/testModificationOnVariableOutsidePackage.st diff --git a/SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackage.class/properties.json b/SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackageTest.class/properties.json similarity index 59% rename from SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackage.class/properties.json rename to SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackageTest.class/properties.json index d756f1f..7817562 100644 --- a/SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackage.class/properties.json +++ b/SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackageTest.class/properties.json @@ -1,13 +1,13 @@ { "commentStamp" : "", "super" : "TestCase", - "category" : "SmartTestDataOutsideP2-ModificationOnVariable", + "category" : "SmartTestDataOutsideP2-ModificationOnVariable-Tests", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], "instvars" : [ "instVarModificationOnVariableOutsidePackage" ], - "name" : "SmTClassP1ModificationOnVariableOutsidePackage", + "name" : "SmTClassP1ModificationOnVariableOutsidePackageTest", "type" : "normal" } \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testExtensionMethod1FirstLevelSendersOutside.st b/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testExtensionMethod1FirstLevelSendersOutside.st deleted file mode 100644 index ecdad3d..0000000 --- a/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testExtensionMethod1FirstLevelSendersOutside.st +++ /dev/null @@ -1,3 +0,0 @@ -testMethod1 -testExtensionMethod1FirstLevelSendersOutside -SmTExtensionP2 >> #extensionMethod1FirstLevelSendersOutside. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2.class/README.md b/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/README.md similarity index 100% rename from SmartTestDataOutsideP2.package/SmTClassTestP2.class/README.md rename to SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/README.md diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/referenceToSmTClassP1FirstLevelSendersOutsideWithRefInClass.st b/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/referenceToSmTClassP1FirstLevelSendersOutsideWithRefInClass.st similarity index 100% rename from SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/referenceToSmTClassP1FirstLevelSendersOutsideWithRefInClass.st rename to SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/referenceToSmTClassP1FirstLevelSendersOutsideWithRefInClass.st diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/referenceToSmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.st b/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/referenceToSmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.st similarity index 100% rename from SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/referenceToSmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.st rename to SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/referenceToSmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.st diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testExtensionMethod1FirstLevelSendersOutside.st b/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testExtensionMethod1FirstLevelSendersOutside.st new file mode 100644 index 0000000..25b76db --- /dev/null +++ b/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testExtensionMethod1FirstLevelSendersOutside.st @@ -0,0 +1,3 @@ +testMethod1 +testExtensionMethod1FirstLevelSendersOutside +SmTExtensionP2Test >> #extensionMethod1FirstLevelSendersOutside. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testMethod1FirstLevelSendersOutsidePackage.st b/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod1FirstLevelSendersOutsidePackage.st similarity index 100% rename from SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testMethod1FirstLevelSendersOutsidePackage.st rename to SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod1FirstLevelSendersOutsidePackage.st diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testMethod1FirstLevelSendersOutsideWithRefInClass.st b/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod1FirstLevelSendersOutsideWithRefInClass.st similarity index 100% rename from SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testMethod1FirstLevelSendersOutsideWithRefInClass.st rename to SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod1FirstLevelSendersOutsideWithRefInClass.st diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testMethod1FirstLevelSendersOutsideWithRefInMethod.st b/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod1FirstLevelSendersOutsideWithRefInMethod.st similarity index 100% rename from SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testMethod1FirstLevelSendersOutsideWithRefInMethod.st rename to SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod1FirstLevelSendersOutsideWithRefInMethod.st diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testMethod1FirstLevelSendersOutsideWithRefInPackage.st b/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod1FirstLevelSendersOutsideWithRefInPackage.st similarity index 100% rename from SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testMethod1FirstLevelSendersOutsideWithRefInPackage.st rename to SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod1FirstLevelSendersOutsideWithRefInPackage.st diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInClass.st b/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInClass.st similarity index 100% rename from SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInClass.st rename to SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInClass.st diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInMethod.st b/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInMethod.st similarity index 100% rename from SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInMethod.st rename to SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInMethod.st diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInPackage.st b/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInPackage.st similarity index 100% rename from SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInPackage.st rename to SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInPackage.st diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testMethod2SecondLevelSendersInsidePackageWithTestOutside.st b/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod2SecondLevelSendersInsidePackageWithTestOutside.st similarity index 100% rename from SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testMethod2SecondLevelSendersInsidePackageWithTestOutside.st rename to SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod2SecondLevelSendersInsidePackageWithTestOutside.st diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testMethod2SecondLevelSendersOutsidePackageWithTestOutside.st b/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod2SecondLevelSendersOutsidePackageWithTestOutside.st similarity index 100% rename from SmartTestDataOutsideP2.package/SmTClassTestP2.class/instance/testMethod2SecondLevelSendersOutsidePackageWithTestOutside.st rename to SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod2SecondLevelSendersOutsidePackageWithTestOutside.st diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2.class/properties.json b/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/properties.json similarity index 88% rename from SmartTestDataOutsideP2.package/SmTClassTestP2.class/properties.json rename to SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/properties.json index 918e931..7ab592e 100644 --- a/SmartTestDataOutsideP2.package/SmTClassTestP2.class/properties.json +++ b/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/properties.json @@ -6,6 +6,6 @@ "pools" : [ ], "classvars" : [ ], "instvars" : [ ], - "name" : "SmTClassTestP2", + "name" : "SmTClassTestP2Test", "type" : "normal" } \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTExtensionP2.class/README.md b/SmartTestDataOutsideP2.package/SmTExtensionP2.class/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackage.class/README.md b/SmartTestDataOutsideP2.package/SmTExtensionP2Test.class/README.md similarity index 100% rename from SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackage.class/README.md rename to SmartTestDataOutsideP2.package/SmTExtensionP2Test.class/README.md diff --git a/SmartTestDataOutsideP2.package/SmTExtensionP2.class/properties.json b/SmartTestDataOutsideP2.package/SmTExtensionP2Test.class/properties.json similarity index 80% rename from SmartTestDataOutsideP2.package/SmTExtensionP2.class/properties.json rename to SmartTestDataOutsideP2.package/SmTExtensionP2Test.class/properties.json index f9af9d2..f053454 100644 --- a/SmartTestDataOutsideP2.package/SmTExtensionP2.class/properties.json +++ b/SmartTestDataOutsideP2.package/SmTExtensionP2Test.class/properties.json @@ -1,11 +1,11 @@ { "commentStamp" : "", "super" : "TestCase", - "category" : "SmartTestDataOutsideP2-ModificationOnMethod-ExtensionMethod", + "category" : "SmartTestDataOutsideP2-ModificationOnMethod-ExtensionMethod-Test", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], "instvars" : [ ], - "name" : "SmTExtensionP2", + "name" : "SmTExtensionP2Test", "type" : "normal" } \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/monticello.meta/categories.st b/SmartTestDataOutsideP2.package/monticello.meta/categories.st index 53373c1..c834304 100644 --- a/SmartTestDataOutsideP2.package/monticello.meta/categories.st +++ b/SmartTestDataOutsideP2.package/monticello.meta/categories.st @@ -1,9 +1,9 @@ SystemOrganization addCategory: #SmartTestDataOutsideP2! SystemOrganization addCategory: #'SmartTestDataOutsideP2-ModificationOnClass-Tests'! -SystemOrganization addCategory: #'SmartTestDataOutsideP2-ModificationOnMethod-ExtensionMethod'! +SystemOrganization addCategory: #'SmartTestDataOutsideP2-ModificationOnMethod-ExtensionMethod-Test'! SystemOrganization addCategory: #'SmartTestDataOutsideP2-ModificationOnMethod-References'! SystemOrganization addCategory: #'SmartTestDataOutsideP2-ModificationOnMethod-SenderOutTestInWithRef'! SystemOrganization addCategory: #'SmartTestDataOutsideP2-ModificationOnMethod-SenderOutTestOutWithRef'! SystemOrganization addCategory: #'SmartTestDataOutsideP2-ModificationOnMethod-Tests'! SystemOrganization addCategory: #'SmartTestDataOutsideP2-ModificationOnMethod-WithoutRef'! -SystemOrganization addCategory: #'SmartTestDataOutsideP2-ModificationOnVariable'! +SystemOrganization addCategory: #'SmartTestDataOutsideP2-ModificationOnVariable-Tests'! From 226463c1e7eec384302916329ab5d248f1af5f2f Mon Sep 17 00:00:00 2001 From: eleonoreW Date: Mon, 11 Jun 2018 12:59:19 +0200 Subject: [PATCH 092/150] COrrecting issue with a class name --- .../instance/testClassTestsInside.st | 4 ++-- .../instance/testExtensionMethodFirstLevelSendersInside.st | 2 +- .../instance/testExtensionMethodFirstLevelSendersOutside.st | 4 ++-- ...dardMethodFirstLevelSendersOutsidePackageWithRefInClass.st | 2 +- ...ardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st | 2 +- ...rdMethodFirstLevelSendersOutsidePackageWithRefInPackage.st | 2 +- ...MethodSecondLevelSendersInsideTestOutsideWithRefInClass.st | 2 +- ...ethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st | 2 +- ...thodSecondLevelSendersInsideTestOutsideWithRefInPackage.st | 2 +- ...dardMethodFirstLevelSendersOutsidePackageWithRefInClass.st | 2 +- ...ardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st | 2 +- ...rdMethodFirstLevelSendersOutsidePackageWithRefInPackage.st | 2 +- ...MethodSecondLevelSendersInsideTestOutsideWithRefInClass.st | 2 +- ...ethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st | 2 +- ...thodSecondLevelSendersInsideTestOutsideWithRefInPackage.st | 2 +- ...dardMethodFirstLevelSendersOutsidePackageWithRefInClass.st | 2 +- ...ardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st | 2 +- ...rdMethodFirstLevelSendersOutsidePackageWithRefInPackage.st | 2 +- ...MethodSecondLevelSendersInsideTestOutsideWithRefInClass.st | 2 +- ...ethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st | 2 +- ...thodSecondLevelSendersInsideTestOutsideWithRefInPackage.st | 2 +- .../instance/testExtensionMethodFirstLevelSendersOutside.st | 4 ++-- 22 files changed, 25 insertions(+), 25 deletions(-) diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassTestsInside.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassTestsInside.st index f67955b..a3a3c1b 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassTestsInside.st +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassTestsInside.st @@ -3,5 +3,5 @@ testClassTestsInside "In this test we want to assert that SmartTest finds the test owned directly by a class." | testsFound | - testsFound := self searchTestMethodsForAClass: ('SmTClassTest','P2') asClass. - self assert: (testsFound includes: ((('SmTClassTest','P2') asClass >> ('testMethod1FirstLevelSendersOutsideWithRefIn','Class') asSymbol) asRingDefinition )). \ No newline at end of file + testsFound := self searchTestMethodsForAClass: ('SmTClassTest','P2Test') asClass. + self assert: (testsFound includes: ((('SmTClassTest','P2Test') asClass >> ('testMethod1FirstLevelSendersOutsideWithRefIn','Class') asSymbol) asRingDefinition )). \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testExtensionMethodFirstLevelSendersInside.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testExtensionMethodFirstLevelSendersInside.st index c276aaa..836f010 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/testExtensionMethodFirstLevelSendersInside.st +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testExtensionMethodFirstLevelSendersInside.st @@ -2,6 +2,6 @@ test - extension method testExtensionMethodFirstLevelSendersInside | testsFound | - testsFound := self searchTestMethodsFor:( ('SmT','ExtensionP2') asClass >> ('extensionMethod1FirstLevelSenders','Inside') asSymbol). + testsFound := self searchTestMethodsFor:( ('SmT','ExtensionP2Test') asClass >> ('extensionMethod1FirstLevelSenders','Inside') asSymbol). self assert: (testsFound includes: ((('SmT','ClassTestP1') asClass >> ('testExtensionMethod1FirstLevelSenders','Inside') asSymbol) asRingDefinition)). \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testExtensionMethodFirstLevelSendersOutside.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testExtensionMethodFirstLevelSendersOutside.st index 8845ab2..ad65fd1 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/testExtensionMethodFirstLevelSendersOutside.st +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testExtensionMethodFirstLevelSendersOutside.st @@ -2,6 +2,6 @@ test - extension method testExtensionMethodFirstLevelSendersOutside | testsFound | - testsFound := self searchTestMethodsFor:( ('SmT','ExtensionP2') asClass >> ('extensionMethod1FirstLevelSenders','Outside') asSymbol). - self assert: (testsFound includes: ((('SmT','ClassTestP2') asClass >> ('testExtensionMethod1FirstLevelSenders','Outside') asSymbol) asRingDefinition )). + testsFound := self searchTestMethodsFor:( ('SmT','ExtensionP2Test') asClass >> ('extensionMethod1FirstLevelSenders','Outside') asSymbol). + self assert: (testsFound includes: ((('SmT','ClassTestP2Test') asClass >> ('testExtensionMethod1FirstLevelSenders','Outside') asSymbol) asRingDefinition )). \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st index 3cffe53..eb29a66 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st @@ -9,4 +9,4 @@ testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass | testsFound | testsFound := self searchTestMethodsFor: ( ('SmTClassP1FirstLevelSendersOutsideWithRefIn','Class') asClass >> ('method1','FirstLevelSendersWithRefInClass') asSymbol). self assert: testsFound isEmpty. - self deny: (testsFound includes: (('SmTClassTest','P2') asClass >> ('testMethod1FirstLevelSendersOutsideWithRefIn','Class') asSymbol) asRingDefinition ). \ No newline at end of file + self deny: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod1FirstLevelSendersOutsideWithRefIn','Class') asSymbol) asRingDefinition ). \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st index 70a1e32..c32ed4f 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st @@ -9,4 +9,4 @@ testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod | testsFound | testsFound := self searchTestMethodsFor: ( ('SmTClassP1FirstLevelSendersOutsideWithRefIn','Method') asClass >> ('method1','FirstLevelSendersWithRefInMethod') asSymbol). self assert: testsFound isEmpty. - self deny: (testsFound includes: (('SmTClassTest','P2') asClass >> ('testMethod1FirstLevelSendersOutsideWithRefIn','Method') asSymbol) asRingDefinition ). \ No newline at end of file + self deny: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod1FirstLevelSendersOutsideWithRefIn','Method') asSymbol) asRingDefinition ). \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st index 3e11e70..4813918 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st @@ -9,5 +9,5 @@ testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage | testsFound | testsFound := self searchTestMethodsFor: ( ('SmTClassP1FirstLevelSendersOutsideWithRefIn','Package') asClass >> ('method1FirstLevelSendersWithRefIn','Package') asSymbol). self assert: testsFound isEmpty. - self deny: (testsFound includes: (('SmTClassTest','P2') asClass >> ('testMethod1FirstLevelSendersOutsideWithRefIn','Package') asSymbol) asRingDefinition ). + self deny: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod1FirstLevelSendersOutsideWithRefIn','Package') asSymbol) asRingDefinition ). \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st index 2e38a82..e1c1e64 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st @@ -9,5 +9,5 @@ testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass | testsFound | testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersInsideTestOutsideWithRefIn','Class') asClass >> ('method1SecondLevelSendersInsideTestOutsideWithRefIn','Class') asSymbol). self assert: testsFound isEmpty. - self deny: (testsFound includes: (('SmTClassTest','P2') asClass >> ('testMethod2SecondLevelSenderInsideTestOutsideWithRefIn','Class') asSymbol) asRingDefinition ). + self deny: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod2SecondLevelSenderInsideTestOutsideWithRefIn','Class') asSymbol) asRingDefinition ). \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st index 6e74fc6..d3c8a56 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st @@ -9,5 +9,5 @@ testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod | testsFound | testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersInsideTestOutsideWithRefIn','Method') asClass >> ('method1SecondLevelSendersInsideTestOutsideWithRefIn','Method') asSymbol). self assert: testsFound isEmpty. - self deny: (testsFound includes: (('SmTClassTest','P2') asClass >> ('testMethod2SecondLevelSenderInsideTestOutsideWithRefIn','Method')asSymbol) asRingDefinition ). + self deny: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod2SecondLevelSenderInsideTestOutsideWithRefIn','Method')asSymbol) asRingDefinition ). \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st index 53e03f7..3e0debf 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st @@ -9,5 +9,5 @@ testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage | testsFound | testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersInsideTestOutsideWithRefIn','Package') asClass >> ('method1SecondLevelSendersInsideTestOutsideWithRefIn','Package') asSymbol). self assert: testsFound isEmpty. - self deny: (testsFound includes: (('SmTClassTest','P2') asClass >> ('testMethod2SecondLevelSenderInsideTestOutsideWithRefIn','Package') asSymbol) asRingDefinition ). + self deny: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod2SecondLevelSenderInsideTestOutsideWithRefIn','Package') asSymbol) asRingDefinition ). \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st index ded11ee..3711712 100644 --- a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st +++ b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st @@ -9,4 +9,4 @@ testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass | testsFound | testsFound := self searchTestMethodsFor: ( ('SmTClassP1FirstLevelSendersOutsideWithRefIn','Class') asClass >> ('method1','FirstLevelSendersWithRefInClass') asSymbol). self assert: testsFound size equals: 1. - self assert: (testsFound includes: (('SmTClassTest','P2') asClass >> ('testMethod1FirstLevelSendersOutsideWithRefIn','Class') asSymbol) asRingDefinition ). \ No newline at end of file + self assert: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod1FirstLevelSendersOutsideWithRefIn','Class') asSymbol) asRingDefinition ). \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st index db6f779..af519a0 100644 --- a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st +++ b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st @@ -9,4 +9,4 @@ testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod | testsFound | testsFound := self searchTestMethodsFor: ( ('SmTClassP1FirstLevelSendersOutsideWithRefIn','Method') asClass >> ('method1','FirstLevelSendersWithRefInMethod') asSymbol). self assert: testsFound size equals: 1. - self assert: (testsFound includes: (('SmTClassTest','P2') asClass >> ('testMethod1FirstLevelSendersOutsideWithRefIn','Method') asSymbol) asRingDefinition ). \ No newline at end of file + self assert: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod1FirstLevelSendersOutsideWithRefIn','Method') asSymbol) asRingDefinition ). \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st index ad5ac35..e70c0c2 100644 --- a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st +++ b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st @@ -9,5 +9,5 @@ testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage | testsFound | testsFound := self searchTestMethodsFor: ( ('SmTClassP1FirstLevelSendersOutsideWithRefIn','Package') asClass >> ('method1FirstLevelSendersWithRefIn','Package') asSymbol). self assert: testsFound size equals: 1. - self assert: (testsFound includes: (('SmTClassTest','P2') asClass >> ('testMethod1FirstLevelSendersOutsideWithRefIn','Package') asSymbol) asRingDefinition ). + self assert: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod1FirstLevelSendersOutsideWithRefIn','Package') asSymbol) asRingDefinition ). \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st index 2442242..be07332 100644 --- a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st +++ b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st @@ -9,5 +9,5 @@ testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass | testsFound | testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersInsideTestOutsideWithRefIn','Class') asClass >> ('method1SecondLevelSendersInsideTestOutsideWithRefIn','Class') asSymbol). self assert: testsFound size equals: 1. - self assert: (testsFound includes: (('SmTClassTest','P2') asClass >> ('testMethod2SecondLevelSenderInsideTestOutsideWithRefIn','Class') asSymbol) asRingDefinition ). + self assert: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod2SecondLevelSenderInsideTestOutsideWithRefIn','Class') asSymbol) asRingDefinition ). \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st index 29d83d5..9bf9fb4 100644 --- a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st +++ b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st @@ -9,5 +9,5 @@ testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod | testsFound | testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersInsideTestOutsideWithRefIn','Method') asClass >> ('method1SecondLevelSendersInsideTestOutsideWithRefIn','Method') asSymbol). self assert: testsFound size equals: 1. - self assert: (testsFound includes: (('SmTClassTest','P2') asClass >> ('testMethod2SecondLevelSenderInsideTestOutsideWithRefIn','Method')asSymbol) asRingDefinition ). + self assert: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod2SecondLevelSenderInsideTestOutsideWithRefIn','Method')asSymbol) asRingDefinition ). \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st index 1560e8a..32d056c 100644 --- a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st +++ b/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st @@ -9,5 +9,5 @@ testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage | testsFound | testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersInsideTestOutsideWithRefIn','Package') asClass >> ('method1SecondLevelSendersInsideTestOutsideWithRefIn','Package') asSymbol). self assert: testsFound size equals: 1. - self assert: (testsFound includes: (('SmTClassTest','P2') asClass >> ('testMethod2SecondLevelSenderInsideTestOutsideWithRefIn','Package') asSymbol) asRingDefinition ). + self assert: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod2SecondLevelSenderInsideTestOutsideWithRefIn','Package') asSymbol) asRingDefinition ). \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st b/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st index ded11ee..3711712 100644 --- a/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st +++ b/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st @@ -9,4 +9,4 @@ testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass | testsFound | testsFound := self searchTestMethodsFor: ( ('SmTClassP1FirstLevelSendersOutsideWithRefIn','Class') asClass >> ('method1','FirstLevelSendersWithRefInClass') asSymbol). self assert: testsFound size equals: 1. - self assert: (testsFound includes: (('SmTClassTest','P2') asClass >> ('testMethod1FirstLevelSendersOutsideWithRefIn','Class') asSymbol) asRingDefinition ). \ No newline at end of file + self assert: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod1FirstLevelSendersOutsideWithRefIn','Class') asSymbol) asRingDefinition ). \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st b/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st index db6f779..af519a0 100644 --- a/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st +++ b/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st @@ -9,4 +9,4 @@ testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod | testsFound | testsFound := self searchTestMethodsFor: ( ('SmTClassP1FirstLevelSendersOutsideWithRefIn','Method') asClass >> ('method1','FirstLevelSendersWithRefInMethod') asSymbol). self assert: testsFound size equals: 1. - self assert: (testsFound includes: (('SmTClassTest','P2') asClass >> ('testMethod1FirstLevelSendersOutsideWithRefIn','Method') asSymbol) asRingDefinition ). \ No newline at end of file + self assert: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod1FirstLevelSendersOutsideWithRefIn','Method') asSymbol) asRingDefinition ). \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st b/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st index ad5ac35..e70c0c2 100644 --- a/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st +++ b/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st @@ -9,5 +9,5 @@ testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage | testsFound | testsFound := self searchTestMethodsFor: ( ('SmTClassP1FirstLevelSendersOutsideWithRefIn','Package') asClass >> ('method1FirstLevelSendersWithRefIn','Package') asSymbol). self assert: testsFound size equals: 1. - self assert: (testsFound includes: (('SmTClassTest','P2') asClass >> ('testMethod1FirstLevelSendersOutsideWithRefIn','Package') asSymbol) asRingDefinition ). + self assert: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod1FirstLevelSendersOutsideWithRefIn','Package') asSymbol) asRingDefinition ). \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st b/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st index 2442242..be07332 100644 --- a/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st +++ b/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st @@ -9,5 +9,5 @@ testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass | testsFound | testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersInsideTestOutsideWithRefIn','Class') asClass >> ('method1SecondLevelSendersInsideTestOutsideWithRefIn','Class') asSymbol). self assert: testsFound size equals: 1. - self assert: (testsFound includes: (('SmTClassTest','P2') asClass >> ('testMethod2SecondLevelSenderInsideTestOutsideWithRefIn','Class') asSymbol) asRingDefinition ). + self assert: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod2SecondLevelSenderInsideTestOutsideWithRefIn','Class') asSymbol) asRingDefinition ). \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st b/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st index 29d83d5..9bf9fb4 100644 --- a/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st +++ b/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st @@ -9,5 +9,5 @@ testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod | testsFound | testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersInsideTestOutsideWithRefIn','Method') asClass >> ('method1SecondLevelSendersInsideTestOutsideWithRefIn','Method') asSymbol). self assert: testsFound size equals: 1. - self assert: (testsFound includes: (('SmTClassTest','P2') asClass >> ('testMethod2SecondLevelSenderInsideTestOutsideWithRefIn','Method')asSymbol) asRingDefinition ). + self assert: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod2SecondLevelSenderInsideTestOutsideWithRefIn','Method')asSymbol) asRingDefinition ). \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st b/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st index 1560e8a..32d056c 100644 --- a/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st +++ b/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st @@ -9,5 +9,5 @@ testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage | testsFound | testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersInsideTestOutsideWithRefIn','Package') asClass >> ('method1SecondLevelSendersInsideTestOutsideWithRefIn','Package') asSymbol). self assert: testsFound size equals: 1. - self assert: (testsFound includes: (('SmTClassTest','P2') asClass >> ('testMethod2SecondLevelSenderInsideTestOutsideWithRefIn','Package') asSymbol) asRingDefinition ). + self assert: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod2SecondLevelSenderInsideTestOutsideWithRefIn','Package') asSymbol) asRingDefinition ). \ No newline at end of file diff --git a/SmartTest.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/testExtensionMethodFirstLevelSendersOutside.st b/SmartTest.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/testExtensionMethodFirstLevelSendersOutside.st index eef1c4c..fbbf6f2 100644 --- a/SmartTest.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/testExtensionMethodFirstLevelSendersOutside.st +++ b/SmartTest.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/testExtensionMethodFirstLevelSendersOutside.st @@ -2,5 +2,5 @@ tests testExtensionMethodFirstLevelSendersOutside | testsFound | - testsFound := self searchTestMethodsFor:( ('SmT','ExtensionP2') asClass >> ('extensionMethod1FirstLevelSenders','Outside') asSymbol). - self deny: (testsFound includes: ((('SmT','ClassTestP2') asClass >> ('testExtensionMethod1FirstLevelSenders','Outside') asSymbol) asRingDefinition )). \ No newline at end of file + testsFound := self searchTestMethodsFor:( ('SmT','ExtensionP2Test') asClass >> ('extensionMethod1FirstLevelSenders','Outside') asSymbol). + self deny: (testsFound includes: ((('SmT','ClassTestP2Test') asClass >> ('testExtensionMethod1FirstLevelSenders','Outside') asSymbol) asRingDefinition )). \ No newline at end of file From 874a86d18a9720c776f851602a7a0da3806dc533 Mon Sep 17 00:00:00 2001 From: eleonoreW Date: Mon, 11 Jun 2018 14:02:16 +0200 Subject: [PATCH 093/150] Small fix --- .../testModificationOnClassAbstractTestCase.st | 2 +- .../README.md | 0 .../properties.json | 11 ----------- .../monticello.meta/categories.st | 4 ++-- 4 files changed, 3 insertions(+), 14 deletions(-) delete mode 100644 SmartTestDataOutsideP1.package/SmTP1ModificationOnClassAbstractTestCase.class/README.md delete mode 100644 SmartTestDataOutsideP1.package/SmTP1ModificationOnClassAbstractTestCase.class/properties.json diff --git a/SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/instance/testModificationOnClassAbstractTestCase.st b/SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/instance/testModificationOnClassAbstractTestCase.st index 47e7516..fefab3c 100644 --- a/SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/instance/testModificationOnClassAbstractTestCase.st +++ b/SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/instance/testModificationOnClassAbstractTestCase.st @@ -1,3 +1,3 @@ tests testModificationOnClassAbstractTestCase - ('SmTP1ModificationOnClassAbstract','TestCase') asClass new. \ No newline at end of file +"the behaviour of this test is irrelevant" \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTP1ModificationOnClassAbstractTestCase.class/README.md b/SmartTestDataOutsideP1.package/SmTP1ModificationOnClassAbstractTestCase.class/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/SmartTestDataOutsideP1.package/SmTP1ModificationOnClassAbstractTestCase.class/properties.json b/SmartTestDataOutsideP1.package/SmTP1ModificationOnClassAbstractTestCase.class/properties.json deleted file mode 100644 index 399768c..0000000 --- a/SmartTestDataOutsideP1.package/SmTP1ModificationOnClassAbstractTestCase.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "Object", - "category" : "SmartTestDataOutsideP1-ModificationOnMethod", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTP1ModificationOnClassAbstractTestCase", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/monticello.meta/categories.st b/SmartTestDataOutsideP1.package/monticello.meta/categories.st index ba7ea09..c239265 100644 --- a/SmartTestDataOutsideP1.package/monticello.meta/categories.st +++ b/SmartTestDataOutsideP1.package/monticello.meta/categories.st @@ -1,6 +1,6 @@ SystemOrganization addCategory: #SmartTestDataOutsideP1! +SystemOrganization addCategory: #'SmartTestDataOutsideP1-ModificationOnClass'! SystemOrganization addCategory: #'SmartTestDataOutsideP1-ModificationOnClass-Tests'! -SystemOrganization addCategory: #'SmartTestDataOutsideP1-ModificationOnMethod'! SystemOrganization addCategory: #'SmartTestDataOutsideP1-ModificationOnMethod-FirstLevelWithRef'! SystemOrganization addCategory: #'SmartTestDataOutsideP1-ModificationOnMethod-Inheritance'! SystemOrganization addCategory: #'SmartTestDataOutsideP1-ModificationOnMethod-SenderExtensionMethod'! @@ -10,5 +10,5 @@ SystemOrganization addCategory: #'SmartTestDataOutsideP1-ModificationOnMethod-Se SystemOrganization addCategory: #'SmartTestDataOutsideP1-ModificationOnMethod-Tests'! SystemOrganization addCategory: #'SmartTestDataOutsideP1-ModificationOnMethod-WithoutRef'! SystemOrganization addCategory: #'SmartTestDataOutsideP1-ModificationOnVariable'! -temOrganization addCategory: #'SmartTestDataOutsideP1-ModificationOnVariable'! SystemOrganization addCategory: #'SmartTestDataOutsideP1-ModificationOnVariable-Tests'! + From 8f4f983ff7fe5b56d9e4349c5245d0c3a4f2ebd5 Mon Sep 17 00:00:00 2001 From: eleonoreW Date: Mon, 11 Jun 2018 15:49:13 +0200 Subject: [PATCH 094/150] Comments and quick fix --- .../instance/testClassOutsidePackageWithRef.st | 2 +- .../README.md | 8 ++++++++ .../properties.json | 2 +- .../README.md | 12 ++++++++++++ .../properties.json | 2 +- .../monticello.meta/categories.st | 1 - .../README.md | 0 .../README.md | 8 ++++++++ ...TClassModificationOnClassOutsidePackageWithRef.st | 0 .../properties.json | 4 ++-- .../README.md | 8 ++++++++ .../properties.json | 2 +- .../SmTExtensionP2Test.class/README.md | 1 + .../SmTExtensionP2Test.class/properties.json | 2 +- .../SmTExtensionP3.class/README.md | 1 + .../SmTExtensionP3.class/properties.json | 2 +- .../SmTExtensionP4.class/README.md | 1 + .../SmTExtensionP4.class/properties.json | 2 +- 18 files changed, 48 insertions(+), 10 deletions(-) delete mode 100644 SmartTestDataOutsideP2.package/RefToSmTClassModificationOnClassOutsidePackageWithRef.class/README.md create mode 100644 SmartTestDataOutsideP2.package/SmTClassModificationOnClassOutsidePackageWithRefTest.class/README.md rename SmartTestDataOutsideP2.package/{RefToSmTClassModificationOnClassOutsidePackageWithRef.class => SmTClassModificationOnClassOutsidePackageWithRefTest.class}/instance/testRefToSmTClassModificationOnClassOutsidePackageWithRef.st (100%) rename SmartTestDataOutsideP2.package/{RefToSmTClassModificationOnClassOutsidePackageWithRef.class => SmTClassModificationOnClassOutsidePackageWithRefTest.class}/properties.json (62%) diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassOutsidePackageWithRef.st b/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassOutsidePackageWithRef.st index e714252..33066bb 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassOutsidePackageWithRef.st +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassOutsidePackageWithRef.st @@ -5,4 +5,4 @@ testClassOutsidePackageWithRef | testsFound | testsFound := self searchTestMethodsForAClass: ('SmTClassModificationOnClass','OutsidePackageWithRef') asClass. self assert: testsFound size equals: 1. - self assert: (testsFound includes: ((('RefToSmTClassModificationOnClassOutsidePackageWithRef') asClass >> ('testRefToSmTClassModificationOnClass','OutsidePackageWithRef') asSymbol) asRingDefinition )). \ No newline at end of file + self assert: (testsFound includes: ((('SmTClassModificationOnClassOutsidePackageWith','RefTest') asClass >> ('testRefToSmTClassModificationOnClass','OutsidePackageWithRef') asSymbol) asRingDefinition )). \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersInsideWithRefInMethod.class/README.md b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersInsideWithRefInMethod.class/README.md index e69de29..ca905b8 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersInsideWithRefInMethod.class/README.md +++ b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersInsideWithRefInMethod.class/README.md @@ -0,0 +1,8 @@ +Data for SmartTest tests on the filters. + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). + +This class is referenced by SmTP1ClassTestFirstLevelSendersInsideWithRefInMethod >> testMethod1FirstLevelSendersInsideWithRefInMethod . diff --git a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersInsideWithRefInMethod.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersInsideWithRefInMethod.class/properties.json index c992413..1be1b61 100644 --- a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersInsideWithRefInMethod.class/properties.json +++ b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersInsideWithRefInMethod.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "", + "commentStamp" : "eleonoreW 6/11/2018 14:22", "super" : "Object", "category" : "SmartTestDataOutsideP1-ModificationOnMethod-FirstLevelWithRef", "classinstvars" : [ ], diff --git a/SmartTestDataOutsideP1.package/SmTP1ClassTestFirstLevelSendersInsideWithRefInMethod.class/README.md b/SmartTestDataOutsideP1.package/SmTP1ClassTestFirstLevelSendersInsideWithRefInMethod.class/README.md index e69de29..dc88eb7 100644 --- a/SmartTestDataOutsideP1.package/SmTP1ClassTestFirstLevelSendersInsideWithRefInMethod.class/README.md +++ b/SmartTestDataOutsideP1.package/SmTP1ClassTestFirstLevelSendersInsideWithRefInMethod.class/README.md @@ -0,0 +1,12 @@ +Data for SmartTest tests on the filters (default, defaultClass, restricted package). + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are controlled and consequently the tests are independent the one from the others. + +In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). + +If the name of the test contains 'method2', the test use the method method2, if the test contains 'method1', the test directly uses the modified method. + + +This class contains a method that references the class SmTClassP1FirstLevelSendersInsideWithRefInMethod. + diff --git a/SmartTestDataOutsideP1.package/SmTP1ClassTestFirstLevelSendersInsideWithRefInMethod.class/properties.json b/SmartTestDataOutsideP1.package/SmTP1ClassTestFirstLevelSendersInsideWithRefInMethod.class/properties.json index 25c7261..5e1e701 100644 --- a/SmartTestDataOutsideP1.package/SmTP1ClassTestFirstLevelSendersInsideWithRefInMethod.class/properties.json +++ b/SmartTestDataOutsideP1.package/SmTP1ClassTestFirstLevelSendersInsideWithRefInMethod.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "", + "commentStamp" : "eleonoreW 6/11/2018 14:29", "super" : "TestCase", "category" : "SmartTestDataOutsideP1-ModificationOnMethod-Tests", "classinstvars" : [ ], diff --git a/SmartTestDataOutsideP1.package/monticello.meta/categories.st b/SmartTestDataOutsideP1.package/monticello.meta/categories.st index c239265..02b75a0 100644 --- a/SmartTestDataOutsideP1.package/monticello.meta/categories.st +++ b/SmartTestDataOutsideP1.package/monticello.meta/categories.st @@ -11,4 +11,3 @@ SystemOrganization addCategory: #'SmartTestDataOutsideP1-ModificationOnMethod-Te SystemOrganization addCategory: #'SmartTestDataOutsideP1-ModificationOnMethod-WithoutRef'! SystemOrganization addCategory: #'SmartTestDataOutsideP1-ModificationOnVariable'! SystemOrganization addCategory: #'SmartTestDataOutsideP1-ModificationOnVariable-Tests'! - diff --git a/SmartTestDataOutsideP2.package/RefToSmTClassModificationOnClassOutsidePackageWithRef.class/README.md b/SmartTestDataOutsideP2.package/RefToSmTClassModificationOnClassOutsidePackageWithRef.class/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/SmartTestDataOutsideP2.package/SmTClassModificationOnClassOutsidePackageWithRefTest.class/README.md b/SmartTestDataOutsideP2.package/SmTClassModificationOnClassOutsidePackageWithRefTest.class/README.md new file mode 100644 index 0000000..66ee0bc --- /dev/null +++ b/SmartTestDataOutsideP2.package/SmTClassModificationOnClassOutsidePackageWithRefTest.class/README.md @@ -0,0 +1,8 @@ +Data for SmartTest tests on the testForAnInstanceVariable:. + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +We will use this that to assert that SmartTest behaves correctly when dealing with modifications on instance variables. + +This class has an instance variable used inside the class in a test the instance variable is located outside of this package (in "SmartTestDataOutsideP1"). \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/RefToSmTClassModificationOnClassOutsidePackageWithRef.class/instance/testRefToSmTClassModificationOnClassOutsidePackageWithRef.st b/SmartTestDataOutsideP2.package/SmTClassModificationOnClassOutsidePackageWithRefTest.class/instance/testRefToSmTClassModificationOnClassOutsidePackageWithRef.st similarity index 100% rename from SmartTestDataOutsideP2.package/RefToSmTClassModificationOnClassOutsidePackageWithRef.class/instance/testRefToSmTClassModificationOnClassOutsidePackageWithRef.st rename to SmartTestDataOutsideP2.package/SmTClassModificationOnClassOutsidePackageWithRefTest.class/instance/testRefToSmTClassModificationOnClassOutsidePackageWithRef.st diff --git a/SmartTestDataOutsideP2.package/RefToSmTClassModificationOnClassOutsidePackageWithRef.class/properties.json b/SmartTestDataOutsideP2.package/SmTClassModificationOnClassOutsidePackageWithRefTest.class/properties.json similarity index 62% rename from SmartTestDataOutsideP2.package/RefToSmTClassModificationOnClassOutsidePackageWithRef.class/properties.json rename to SmartTestDataOutsideP2.package/SmTClassModificationOnClassOutsidePackageWithRefTest.class/properties.json index 9020f8e..93314e4 100644 --- a/SmartTestDataOutsideP2.package/RefToSmTClassModificationOnClassOutsidePackageWithRef.class/properties.json +++ b/SmartTestDataOutsideP2.package/SmTClassModificationOnClassOutsidePackageWithRefTest.class/properties.json @@ -1,11 +1,11 @@ { - "commentStamp" : "", + "commentStamp" : "eleonoreW 6/11/2018 14:35", "super" : "TestCase", "category" : "SmartTestDataOutsideP2-ModificationOnClass-Tests", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], "instvars" : [ ], - "name" : "RefToSmTClassModificationOnClassOutsidePackageWithRef", + "name" : "SmTClassModificationOnClassOutsidePackageWithRefTest", "type" : "normal" } \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackageTest.class/README.md b/SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackageTest.class/README.md index e69de29..7c5a1e4 100644 --- a/SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackageTest.class/README.md +++ b/SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackageTest.class/README.md @@ -0,0 +1,8 @@ +Data for SmartTest tests on the testForAnInstanceVariable:. + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +We will use this that to assert that SmartTest behaves correctly when dealing with modifications on instance variables. + +This class uses an instance variable contained inside a class in a different package. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackageTest.class/properties.json b/SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackageTest.class/properties.json index 7817562..6f948eb 100644 --- a/SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackageTest.class/properties.json +++ b/SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackageTest.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "", + "commentStamp" : "eleonoreW 6/11/2018 15:46", "super" : "TestCase", "category" : "SmartTestDataOutsideP2-ModificationOnVariable-Tests", "classinstvars" : [ ], diff --git a/SmartTestDataOutsideP2.package/SmTExtensionP2Test.class/README.md b/SmartTestDataOutsideP2.package/SmTExtensionP2Test.class/README.md index e69de29..7366ace 100644 --- a/SmartTestDataOutsideP2.package/SmTExtensionP2Test.class/README.md +++ b/SmartTestDataOutsideP2.package/SmTExtensionP2Test.class/README.md @@ -0,0 +1 @@ +Data for the tests for an extension method. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTExtensionP2Test.class/properties.json b/SmartTestDataOutsideP2.package/SmTExtensionP2Test.class/properties.json index f053454..ec7b54e 100644 --- a/SmartTestDataOutsideP2.package/SmTExtensionP2Test.class/properties.json +++ b/SmartTestDataOutsideP2.package/SmTExtensionP2Test.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "", + "commentStamp" : "eleonoreW 6/11/2018 14:43", "super" : "TestCase", "category" : "SmartTestDataOutsideP2-ModificationOnMethod-ExtensionMethod-Test", "classinstvars" : [ ], diff --git a/SmartTestDataOutsideP3.package/SmTExtensionP3.class/README.md b/SmartTestDataOutsideP3.package/SmTExtensionP3.class/README.md index e69de29..73b89fa 100644 --- a/SmartTestDataOutsideP3.package/SmTExtensionP3.class/README.md +++ b/SmartTestDataOutsideP3.package/SmTExtensionP3.class/README.md @@ -0,0 +1 @@ +This class is an extension of the package P3, it is located in the package p4. \ No newline at end of file diff --git a/SmartTestDataOutsideP3.package/SmTExtensionP3.class/properties.json b/SmartTestDataOutsideP3.package/SmTExtensionP3.class/properties.json index 49b56c6..832e5af 100644 --- a/SmartTestDataOutsideP3.package/SmTExtensionP3.class/properties.json +++ b/SmartTestDataOutsideP3.package/SmTExtensionP3.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "", + "commentStamp" : "eleonoreW 6/11/2018 15:48", "super" : "Object", "category" : "SmartTestDataOutsideP3", "classinstvars" : [ ], diff --git a/SmartTestDataOutsideP4.package/SmTExtensionP4.class/README.md b/SmartTestDataOutsideP4.package/SmTExtensionP4.class/README.md index e69de29..73b89fa 100644 --- a/SmartTestDataOutsideP4.package/SmTExtensionP4.class/README.md +++ b/SmartTestDataOutsideP4.package/SmTExtensionP4.class/README.md @@ -0,0 +1 @@ +This class is an extension of the package P3, it is located in the package p4. \ No newline at end of file diff --git a/SmartTestDataOutsideP4.package/SmTExtensionP4.class/properties.json b/SmartTestDataOutsideP4.package/SmTExtensionP4.class/properties.json index 3b5590f..66eb7e6 100644 --- a/SmartTestDataOutsideP4.package/SmTExtensionP4.class/properties.json +++ b/SmartTestDataOutsideP4.package/SmTExtensionP4.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "", + "commentStamp" : "eleonoreW 6/11/2018 15:47", "super" : "Object", "category" : "SmartTestDataOutsideP4", "classinstvars" : [ ], From b3580941b9573a3fa5fa30c580b9d00d3e0a8c98 Mon Sep 17 00:00:00 2001 From: eleonoreW Date: Thu, 14 Jun 2018 09:40:06 +0200 Subject: [PATCH 095/150] renaming a mispelled method --- .../instance/searchTestMethodsFor..st | 2 +- .../instance/testsForAClass.forTheFinder..st | 15 --------------- .../instance/searchTestMethodsFor..st | 2 +- .../instance/searchTestMethodsFor..st | 2 +- .../class/createIconForMethod..st | 4 +++- .../class/createIconForMethods..st | 4 +++- ...tsForMethod..st => researchTestsForMethod..st} | 2 +- 7 files changed, 10 insertions(+), 21 deletions(-) delete mode 100644 SmartTest.package/SmTDefaultClassPackagesFilter.class/instance/testsForAClass.forTheFinder..st rename SmartTest.package/SmartFinder.class/instance/{resarchTestsForMethod..st => researchTestsForMethod..st} (55%) diff --git a/SmartTest.package/SmTCacheBuilderTest.class/instance/searchTestMethodsFor..st b/SmartTest.package/SmTCacheBuilderTest.class/instance/searchTestMethodsFor..st index 509300c..dbdfb36 100644 --- a/SmartTest.package/SmTCacheBuilderTest.class/instance/searchTestMethodsFor..st +++ b/SmartTest.package/SmTCacheBuilderTest.class/instance/searchTestMethodsFor..st @@ -1,4 +1,4 @@ helpers searchTestMethodsFor: aCompiledMethod - ^ smartFinder resarchTestsForMethod: aCompiledMethod . \ No newline at end of file + ^ smartFinder researchTestsForMethod: aCompiledMethod . \ No newline at end of file diff --git a/SmartTest.package/SmTDefaultClassPackagesFilter.class/instance/testsForAClass.forTheFinder..st b/SmartTest.package/SmTDefaultClassPackagesFilter.class/instance/testsForAClass.forTheFinder..st deleted file mode 100644 index 2c2bba1..0000000 --- a/SmartTest.package/SmTDefaultClassPackagesFilter.class/instance/testsForAClass.forTheFinder..st +++ /dev/null @@ -1,15 +0,0 @@ -accessing -testsForAClass: aClass forTheFinder: aFinder - "This method returns all the tests related to a class. - If it is a testCase, it returns all the tests owned by the class. - If the class is am abstract testCase, we compute the subclasses inherited tests methods and we add them to the test found. - We also want to find the tests related to methods that uses the class." - - | testsFound | - testsFound := Set new. - aClass isTestCase - ifTrue: [ (aClass methods select: [ :aMethod | aMethod isTestMethod ]) do: [ :eachTestMethod | testsFound addAll: (aFinder methodsFor: eachTestMethod) ]. - aClass allTestSelectors do: [ :each | testsFound add: (RGMethodDefinition className: aClass name selector: each isMetaSide: false) ] ]. - aClass subclasses do: [ :aSubClass | testsFound addAll: (self testsForAClass: aSubClass forTheFinder: aFinder) ]. - testsFound addAll: (aClass allCallsOn flatCollect: [ :aRGMethodDefinition | aFinder methodsFor: aRGMethodDefinition compiledMethod ]). - ^ testsFound \ No newline at end of file diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/searchTestMethodsFor..st b/SmartTest.package/SmTFilterAbstractTest.class/instance/searchTestMethodsFor..st index 509300c..dbdfb36 100644 --- a/SmartTest.package/SmTFilterAbstractTest.class/instance/searchTestMethodsFor..st +++ b/SmartTest.package/SmTFilterAbstractTest.class/instance/searchTestMethodsFor..st @@ -1,4 +1,4 @@ helpers searchTestMethodsFor: aCompiledMethod - ^ smartFinder resarchTestsForMethod: aCompiledMethod . \ No newline at end of file + ^ smartFinder researchTestsForMethod: aCompiledMethod . \ No newline at end of file diff --git a/SmartTest.package/SmTFinderAbstractTest.class/instance/searchTestMethodsFor..st b/SmartTest.package/SmTFinderAbstractTest.class/instance/searchTestMethodsFor..st index 509300c..dbdfb36 100644 --- a/SmartTest.package/SmTFinderAbstractTest.class/instance/searchTestMethodsFor..st +++ b/SmartTest.package/SmTFinderAbstractTest.class/instance/searchTestMethodsFor..st @@ -1,4 +1,4 @@ helpers searchTestMethodsFor: aCompiledMethod - ^ smartFinder resarchTestsForMethod: aCompiledMethod . \ No newline at end of file + ^ smartFinder researchTestsForMethod: aCompiledMethod . \ No newline at end of file diff --git a/SmartTest.package/SmTIconFabric.class/class/createIconForMethod..st b/SmartTest.package/SmTIconFabric.class/class/createIconForMethod..st index bb22cf2..82c9a48 100644 --- a/SmartTest.package/SmTIconFabric.class/class/createIconForMethod..st +++ b/SmartTest.package/SmTIconFabric.class/class/createIconForMethod..st @@ -8,7 +8,9 @@ createIconForMethod: testMethod arguments: {testMethod. ib}; - labelGraphic: (SmTRules runner iconForTestFromTestCaseHistory: testMethod) asIcon; + labelGraphic: + (self + iconNamed: (SmTRules runner iconForTestFromTestCaseHistory: testMethod)); color: Color transparent; borderColor: Color transparent; helpText: 'Run the test'. diff --git a/SmartTest.package/SmTIconFabric.class/class/createIconForMethods..st b/SmartTest.package/SmTIconFabric.class/class/createIconForMethods..st index f6f5102..a1de49e 100644 --- a/SmartTest.package/SmTIconFabric.class/class/createIconForMethods..st +++ b/SmartTest.package/SmTIconFabric.class/class/createIconForMethods..st @@ -8,7 +8,9 @@ createIconForMethods: aTestCollection arguments: {aTestCollection. ib}; - labelGraphic:(SmTRules runner iconForTestFromTestsCasesHistory: aTestCollection) asIcon; + labelGraphic: + (self + iconNamed: (SmTRules runner iconForTestFromTestsCasesHistory: aTestCollection)); color: Color transparent; borderColor: Color transparent; helpText: 'Run the test'. diff --git a/SmartTest.package/SmartFinder.class/instance/resarchTestsForMethod..st b/SmartTest.package/SmartFinder.class/instance/researchTestsForMethod..st similarity index 55% rename from SmartTest.package/SmartFinder.class/instance/resarchTestsForMethod..st rename to SmartTest.package/SmartFinder.class/instance/researchTestsForMethod..st index 3078b17..eacc0b6 100644 --- a/SmartTest.package/SmartFinder.class/instance/resarchTestsForMethod..st +++ b/SmartTest.package/SmartFinder.class/instance/researchTestsForMethod..st @@ -1,4 +1,4 @@ api -resarchTestsForMethod: aCompiledMethod +researchTestsForMethod: aCompiledMethod ^ self smtFinder methodsFor: aCompiledMethod. \ No newline at end of file From 8ec64623b634d175a5a27abd47ef96c28fb1be80 Mon Sep 17 00:00:00 2001 From: eleonoreW Date: Thu, 14 Jun 2018 14:41:32 +0200 Subject: [PATCH 096/150] Promoted SmartTest-Tests and SmartTest-TestData to package (and added them to the repository). --- SmartTest-Tests-Data.package/.filetree | 5 +++++ .../SmTClass.class/README.md | 0 .../SmTClass.class/instance/method1.st | 0 .../SmTClass.class/instance/method2.st | 0 .../SmTClass.class/instance/method3..st | 0 .../SmTClass.class/instance/method4.st | 0 .../SmTClass.class/properties.json | 0 .../SmTClass2.class/README.md | 0 .../SmTClass2.class/instance/initialize.st | 0 .../SmTClass2.class/properties.json | 0 .../SmTClassTest.class/README.md | 0 .../SmTClassTest.class/instance/setUp.st | 0 .../SmTClassTest.class/instance/tearDown.st | 0 .../SmTClassTest.class/instance/testMethod1.st | 0 .../SmTClassTest.class/instance/testMethod2.st | 0 .../SmTClassTest.class/instance/testMethod3.st | 0 .../SmTClassTest.class/instance/testMethod4.st | 0 .../SmTClassTest.class/instance/testMethod5.st | 0 .../instance/testMethodOutsidePackage1.st | 0 .../SmTClassTest.class/properties.json | 0 .../SmTInheritClassTest.class/README.md | 0 .../SmTInheritClassTest.class/instance/setUp.st | 0 .../SmTInheritClassTest.class/properties.json | 0 .../SmTSuperClassTest.class/README.md | 0 .../SmTSuperClassTest.class/class/isAbstract.st | 0 .../SmTSuperClassTest.class/instance/testMethod1.st | 0 .../SmTSuperClassTest.class/properties.json | 0 SmartTest-Tests-Data.package/monticello.meta/categories.st | 1 + .../monticello.meta/initializers.st | 0 SmartTest-Tests-Data.package/monticello.meta/package | 1 + SmartTest-Tests-Data.package/properties.json | 1 + SmartTest-Tests.package/.filetree | 5 +++++ .../SmTCacheBuilderReflectivityTest.class/README.md | 0 .../instance/dynamiqueFinder.st | 0 .../instance/testRunningTestMethod1ToBuildCache.st | 0 .../instance/testRunningTestMethod2ToBuildCache.st | 0 .../instance/testRunningTestMethod5ToBuildCache.st | 0 .../SmTCacheBuilderReflectivityTest.class/properties.json | 0 .../SmTCacheBuilderTest.class/README.md | 0 .../SmTCacheBuilderTest.class/class/isAbstract.st | 0 .../SmTCacheBuilderTest.class/instance/dynamiqueFinder.st | 0 .../instance/searchTestMethodsFor..st | 0 .../SmTCacheBuilderTest.class/instance/setUp.st | 0 .../SmTCacheBuilderTest.class/instance/tearDown.st | 0 .../testResearchTestsForStandardMethodWhileEmptyCache.st | 0 .../instance/testRunningTestMethod1ToBuildCache.st | 0 .../instance/testRunningTestMethod2ToBuildCache.st | 0 .../instance/testRunningTestMethod5ToBuildCache.st | 0 .../SmTCacheBuilderTest.class/properties.json | 0 .../SmTCacheBuilderTestCoverageTest.class/README.md | 0 .../instance/dynamiqueFinder.st | 0 .../SmTCacheBuilderTestCoverageTest.class/properties.json | 0 .../SmTFilterAbstractTest.class/README.md | 0 .../SmTFilterAbstractTest.class/class/isAbstract.st | 0 .../instance/assert.containsAtLeastMethods..st | 0 .../instance/assert.equalsToMethods..st | 0 .../instance/instanceVariableNamed.fromClass..st | 0 .../instance/searchTestMethodsFor..st | 0 .../instance/searchTestMethodsForAClass..st | 0 .../instance/searchTestsForInstVar.ofClass..st | 0 .../SmTFilterAbstractTest.class/instance/setUp.st | 0 .../SmTFilterAbstractTest.class/instance/tearDown.st | 0 .../testClassAbstractTestCaseDoesntRedefineMethod.st | 0 .../instance/testClassAbstractTestCaseRedefinesMethod.st | 0 .../instance/testClassInheritanceSubClass1.st | 0 .../instance/testClassInsidePackageWithRef.st | 0 .../instance/testClassOutsidePackageWithRef.st | 0 .../instance/testClassSimpleTestCase.st | 0 .../instance/testClassTestsInside.st | 0 .../instance/testExtensionMethodFirstLevelSendersInside.st | 0 .../testExtensionMethodFirstLevelSendersOutside.st | 0 .../testExtensionMethodSecondLevelSendersInside.st | 0 .../instance/testExtensionTestInside.st | 0 .../instance/testInstVarInsideClass.st | 0 .../instance/testInstVarInsidePackage.st | 0 .../instance/testInstVarOutsidePackage.st | 0 .../testStandardMethodFirstLevelSendersInsidePackage.st | 0 .../testStandardMethodFirstLevelSendersOutsidePackage.st | 0 ...dMethodFirstLevelSendersOutsidePackageWithRefInClass.st | 0 ...MethodFirstLevelSendersOutsidePackageWithRefInMethod.st | 0 ...ethodFirstLevelSendersOutsidePackageWithRefInPackage.st | 0 ...dMethodSecondLevelSendersInsidePackageWithTestInside.st | 0 ...MethodSecondLevelSendersInsidePackageWithTestOutside.st | 0 ...hodSecondLevelSendersInsideTestOutsideWithRefInClass.st | 0 ...odSecondLevelSendersInsideTestOutsideWithRefInMethod.st | 0 ...dSecondLevelSendersInsideTestOutsideWithRefInPackage.st | 0 ...MethodSecondLevelSendersOutsidePackageWithTestInside.st | 0 ...ethodSecondLevelSendersOutsidePackageWithTestOutside.st | 0 ...hodSecondLevelSendersOutsideTestInsideWithRefInClass.st | 0 ...odSecondLevelSendersOutsideTestInsideWithRefInMethod.st | 0 ...dSecondLevelSendersOutsideTestInsideWithRefInPackage.st | 0 ...dSecondLevelSendersOutsideTestOutsideWithRefInMethod.st | 0 .../SmTFilterAbstractTest.class/properties.json | 0 .../SmTFinderAbstractTest.class/README.md | 0 .../SmTFinderAbstractTest.class/class/isAbstract.st | 0 .../instance/searchTestMethodsFor..st | 0 .../SmTFinderAbstractTest.class/instance/setUp.st | 0 .../SmTFinderAbstractTest.class/instance/tearDown.st | 0 .../instance/testInheritance.st | 0 .../instance/testModificationOnInitialize.st | 0 .../instance/testModificationOnTest.st | 0 .../instance/testSetupMethodFindsTests.st | 0 .../instance/testSetupMethodWithNonSetupFindsNoTests.st | 0 .../instance/testStandardMethodFirstLevelSenders.st | 0 .../instance/testStandardMethodSecondLevelSenders.st | 0 .../instance/testStandardMethodThirdLevelSenders.st | 0 .../instance/testTearDownMethodFindsTests.st | 0 .../testTearDownMethodWithNoneTearDownFindsNoTests.st | 0 .../instance/testTestSelfSelected.st | 0 .../instance/testsForASetUpMethod..st | 0 .../instance/testsForATearDownMethod..st | 0 .../instance/testsForATestMethod..st | 0 .../SmTFinderAbstractTest.class/properties.json | 0 .../SmTFinderStrategyReflectivityTest.class/README.md | 0 .../instance/initCache.st | 0 .../instance/setUp.st | 0 .../properties.json | 0 .../SmTOnModificationTest.class/README.md | 0 .../SmTOnModificationTest.class/instance/setUp.st | 0 .../SmTOnModificationTest.class/instance/tearDown.st | 0 .../SmTOnModificationTest.class/instance/testAdd.st | 0 .../SmTOnModificationTest.class/instance/testGet.st | 0 .../SmTOnModificationTest.class/properties.json | 0 .../SmTRunnerTest.class/README.md | 0 .../SmTRunnerTest.class/instance/noop.st | 0 .../SmTRunnerTest.class/instance/setUp.st | 0 .../instance/testIconForTestResultGreen.st | 0 .../instance/testIconForTestResultRed.st | 0 .../instance/testIconForTestResultWhite.st | 0 .../instance/testIconForTestResultYellow.st | 0 .../instance/testRunCaseNotifyIconGreen.st | 0 .../instance/testRunCaseNotifyIconRed.st | 0 .../instance/testRunCaseNotifyIconYellow.st | 0 .../instance/testRunCasesNotifyIconGreen.st | 0 .../instance/testRunCasesNotifyIconRed.st | 0 .../instance/testRunCasesNotifyIconYellow.st | 0 .../SmTRunnerTest.class/properties.json | 0 .../README.md | 0 .../instance/setUp.st | 0 .../instance/testExtensionTestInside.st | 0 .../instance/testInstVarOutsidePackage.st | 0 ...dMethodFirstLevelSendersOutsidePackageWithRefInClass.st | 0 ...MethodFirstLevelSendersOutsidePackageWithRefInMethod.st | 0 ...ethodFirstLevelSendersOutsidePackageWithRefInPackage.st | 0 ...hodSecondLevelSendersInsideTestOutsideWithRefInClass.st | 0 ...odSecondLevelSendersInsideTestOutsideWithRefInMethod.st | 0 ...dSecondLevelSendersInsideTestOutsideWithRefInPackage.st | 0 ...hodSecondLevelSendersOutsideTestInsideWithRefInClass.st | 0 ...odSecondLevelSendersOutsideTestInsideWithRefInMethod.st | 0 ...dSecondLevelSendersOutsideTestInsideWithRefInPackage.st | 0 ...dSecondLevelSendersOutsideTestOutsideWithRefInMethod.st | 0 .../properties.json | 0 .../SmTSendersFilterTestDefaultPackage.class/README.md | 0 .../instance/testClassOutsidePackageWithRef.st | 0 .../instance/testInstVarOutsidePackage.st | 0 .../properties.json | 0 .../README.md | 0 .../instance/setUp.st | 0 .../testStandardMethodFirstLevelSendersOutsidePackage.st | 0 ...dMethodFirstLevelSendersOutsidePackageWithRefInClass.st | 0 ...MethodFirstLevelSendersOutsidePackageWithRefInMethod.st | 0 ...ethodFirstLevelSendersOutsidePackageWithRefInPackage.st | 0 ...MethodSecondLevelSendersInsidePackageWithTestOutside.st | 0 ...hodSecondLevelSendersInsideTestOutsideWithRefInClass.st | 0 ...odSecondLevelSendersInsideTestOutsideWithRefInMethod.st | 0 ...dSecondLevelSendersInsideTestOutsideWithRefInPackage.st | 0 ...MethodSecondLevelSendersOutsidePackageWithTestInside.st | 0 ...ethodSecondLevelSendersOutsidePackageWithTestOutside.st | 0 ...hodSecondLevelSendersOutsideTestInsideWithRefInClass.st | 0 ...odSecondLevelSendersOutsideTestInsideWithRefInMethod.st | 0 ...dSecondLevelSendersOutsideTestInsideWithRefInPackage.st | 0 .../properties.json | 0 .../README.md | 0 .../instance/setUp.st | 0 .../instance/testClassOutsidePackageWithRef.st | 0 .../testExtensionMethodFirstLevelSendersOutside.st | 0 .../instance/testInstVarOutsidePackage.st | 0 .../properties.json | 0 .../README.md | 0 .../instance/setUp.st | 0 .../instance/testStandardMethodSecondLevelSenders.st | 0 .../properties.json | 0 .../README.md | 0 .../instance/setUp.st | 0 .../instance/testInheritance.st | 0 .../instance/testStandardMethodFirstLevelSenders.st | 0 .../instance/testStandardMethodSecondLevelSenders.st | 0 .../instance/testStandardMethodThirdLevelSenders.st | 0 .../properties.json | 0 .../SmTSendersFinderTestWithoutCache.class/README.md | 0 .../instance/setUp.st | 0 .../instance/tearDown.st | 0 .../SmTSendersFinderTestWithoutCache.class/properties.json | 0 .../SmTTestCoverageFinderTest.class/README.md | 0 .../SmTTestCoverageFinderTest.class/instance/initCache.st | 0 .../SmTTestCoverageFinderTest.class/instance/setUp.st | 0 .../SmTTestCoverageFinderTest.class/instance/tearDown.st | 0 .../instance/testModificationOnTest.st | 0 .../instance/testTestSelfSelected.st | 0 .../SmTTestCoverageFinderTest.class/properties.json | 0 .../SmartFinderTest.class/README.md | 0 .../SmartFinderTest.class/instance/initCache.st | 0 .../SmartFinderTest.class/instance/setUp.st | 0 .../SmartFinderTest.class/instance/tearDown.st | 0 .../instance/testChangeCacheClassFinder.st | 0 .../instance/testChangeFilterFinder.st | 0 .../instance/testChangeFilterTryFindTestFinder.st | 0 .../instance/testChangeFinderTestingStrategy.st | 0 .../instance/testChangeRunnerTestingStrategy.st | 0 .../SmartFinderTest.class/instance/testResetCache.st | 0 .../instance/testTwoSmartFinderhaveTwoDifferentCache.st | 0 .../SmartFinderTest.class/properties.json | 0 SmartTest-Tests.package/monticello.meta/categories.st | 1 + SmartTest-Tests.package/monticello.meta/initializers.st | 0 SmartTest-Tests.package/monticello.meta/package | 1 + SmartTest-Tests.package/properties.json | 1 + SmartTestDataOutsideP1.package/SmTTrait.trait/README.md | 1 + .../instance/traitMethod1InsidePackageTestInside.st | 3 +++ .../instance/traitMethod1InsidePackageTestOutside.st | 3 +++ .../SmTTrait.trait/properties.json | 7 +++++++ .../monticello.meta/categories.st | 1 + 221 files changed, 31 insertions(+) create mode 100644 SmartTest-Tests-Data.package/.filetree rename {SmartTest.package => SmartTest-Tests-Data.package}/SmTClass.class/README.md (100%) rename {SmartTest.package => SmartTest-Tests-Data.package}/SmTClass.class/instance/method1.st (100%) rename {SmartTest.package => SmartTest-Tests-Data.package}/SmTClass.class/instance/method2.st (100%) rename {SmartTest.package => SmartTest-Tests-Data.package}/SmTClass.class/instance/method3..st (100%) rename {SmartTest.package => SmartTest-Tests-Data.package}/SmTClass.class/instance/method4.st (100%) rename {SmartTest.package => SmartTest-Tests-Data.package}/SmTClass.class/properties.json (100%) rename {SmartTest.package => SmartTest-Tests-Data.package}/SmTClass2.class/README.md (100%) rename {SmartTest.package => SmartTest-Tests-Data.package}/SmTClass2.class/instance/initialize.st (100%) rename {SmartTest.package => SmartTest-Tests-Data.package}/SmTClass2.class/properties.json (100%) rename {SmartTest.package => SmartTest-Tests-Data.package}/SmTClassTest.class/README.md (100%) rename {SmartTest.package => SmartTest-Tests-Data.package}/SmTClassTest.class/instance/setUp.st (100%) rename {SmartTest.package => SmartTest-Tests-Data.package}/SmTClassTest.class/instance/tearDown.st (100%) rename {SmartTest.package => SmartTest-Tests-Data.package}/SmTClassTest.class/instance/testMethod1.st (100%) rename {SmartTest.package => SmartTest-Tests-Data.package}/SmTClassTest.class/instance/testMethod2.st (100%) rename {SmartTest.package => SmartTest-Tests-Data.package}/SmTClassTest.class/instance/testMethod3.st (100%) rename {SmartTest.package => SmartTest-Tests-Data.package}/SmTClassTest.class/instance/testMethod4.st (100%) rename {SmartTest.package => SmartTest-Tests-Data.package}/SmTClassTest.class/instance/testMethod5.st (100%) rename {SmartTest.package => SmartTest-Tests-Data.package}/SmTClassTest.class/instance/testMethodOutsidePackage1.st (100%) rename {SmartTest.package => SmartTest-Tests-Data.package}/SmTClassTest.class/properties.json (100%) rename {SmartTest.package => SmartTest-Tests-Data.package}/SmTInheritClassTest.class/README.md (100%) rename {SmartTest.package => SmartTest-Tests-Data.package}/SmTInheritClassTest.class/instance/setUp.st (100%) rename {SmartTest.package => SmartTest-Tests-Data.package}/SmTInheritClassTest.class/properties.json (100%) rename {SmartTest.package => SmartTest-Tests-Data.package}/SmTSuperClassTest.class/README.md (100%) rename {SmartTest.package => SmartTest-Tests-Data.package}/SmTSuperClassTest.class/class/isAbstract.st (100%) rename {SmartTest.package => SmartTest-Tests-Data.package}/SmTSuperClassTest.class/instance/testMethod1.st (100%) rename {SmartTest.package => SmartTest-Tests-Data.package}/SmTSuperClassTest.class/properties.json (100%) create mode 100644 SmartTest-Tests-Data.package/monticello.meta/categories.st create mode 100644 SmartTest-Tests-Data.package/monticello.meta/initializers.st create mode 100644 SmartTest-Tests-Data.package/monticello.meta/package create mode 100644 SmartTest-Tests-Data.package/properties.json create mode 100644 SmartTest-Tests.package/.filetree rename {SmartTest.package => SmartTest-Tests.package}/SmTCacheBuilderReflectivityTest.class/README.md (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTCacheBuilderReflectivityTest.class/instance/dynamiqueFinder.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod1ToBuildCache.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod2ToBuildCache.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod5ToBuildCache.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTCacheBuilderReflectivityTest.class/properties.json (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTCacheBuilderTest.class/README.md (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTCacheBuilderTest.class/class/isAbstract.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTCacheBuilderTest.class/instance/dynamiqueFinder.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTCacheBuilderTest.class/instance/searchTestMethodsFor..st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTCacheBuilderTest.class/instance/setUp.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTCacheBuilderTest.class/instance/tearDown.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTCacheBuilderTest.class/instance/testResearchTestsForStandardMethodWhileEmptyCache.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTCacheBuilderTest.class/instance/testRunningTestMethod1ToBuildCache.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTCacheBuilderTest.class/instance/testRunningTestMethod2ToBuildCache.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTCacheBuilderTest.class/instance/testRunningTestMethod5ToBuildCache.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTCacheBuilderTest.class/properties.json (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTCacheBuilderTestCoverageTest.class/README.md (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTCacheBuilderTestCoverageTest.class/instance/dynamiqueFinder.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTCacheBuilderTestCoverageTest.class/properties.json (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTFilterAbstractTest.class/README.md (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTFilterAbstractTest.class/class/isAbstract.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTFilterAbstractTest.class/instance/assert.containsAtLeastMethods..st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTFilterAbstractTest.class/instance/assert.equalsToMethods..st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTFilterAbstractTest.class/instance/instanceVariableNamed.fromClass..st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTFilterAbstractTest.class/instance/searchTestMethodsFor..st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTFilterAbstractTest.class/instance/searchTestMethodsForAClass..st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTFilterAbstractTest.class/instance/searchTestsForInstVar.ofClass..st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTFilterAbstractTest.class/instance/setUp.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTFilterAbstractTest.class/instance/tearDown.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTFilterAbstractTest.class/instance/testClassAbstractTestCaseDoesntRedefineMethod.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTFilterAbstractTest.class/instance/testClassAbstractTestCaseRedefinesMethod.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTFilterAbstractTest.class/instance/testClassInheritanceSubClass1.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTFilterAbstractTest.class/instance/testClassInsidePackageWithRef.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTFilterAbstractTest.class/instance/testClassOutsidePackageWithRef.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTFilterAbstractTest.class/instance/testClassSimpleTestCase.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTFilterAbstractTest.class/instance/testClassTestsInside.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTFilterAbstractTest.class/instance/testExtensionMethodFirstLevelSendersInside.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTFilterAbstractTest.class/instance/testExtensionMethodFirstLevelSendersOutside.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTFilterAbstractTest.class/instance/testExtensionMethodSecondLevelSendersInside.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTFilterAbstractTest.class/instance/testExtensionTestInside.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTFilterAbstractTest.class/instance/testInstVarInsideClass.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTFilterAbstractTest.class/instance/testInstVarInsidePackage.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTFilterAbstractTest.class/instance/testInstVarOutsidePackage.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersInsidePackage.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestInside.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestOutside.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestInside.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestOutside.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefInMethod.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTFilterAbstractTest.class/properties.json (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTFinderAbstractTest.class/README.md (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTFinderAbstractTest.class/class/isAbstract.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTFinderAbstractTest.class/instance/searchTestMethodsFor..st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTFinderAbstractTest.class/instance/setUp.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTFinderAbstractTest.class/instance/tearDown.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTFinderAbstractTest.class/instance/testInheritance.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTFinderAbstractTest.class/instance/testModificationOnInitialize.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTFinderAbstractTest.class/instance/testModificationOnTest.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTFinderAbstractTest.class/instance/testSetupMethodFindsTests.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTFinderAbstractTest.class/instance/testSetupMethodWithNonSetupFindsNoTests.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTFinderAbstractTest.class/instance/testStandardMethodFirstLevelSenders.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTFinderAbstractTest.class/instance/testStandardMethodSecondLevelSenders.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTFinderAbstractTest.class/instance/testStandardMethodThirdLevelSenders.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTFinderAbstractTest.class/instance/testTearDownMethodFindsTests.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTFinderAbstractTest.class/instance/testTearDownMethodWithNoneTearDownFindsNoTests.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTFinderAbstractTest.class/instance/testTestSelfSelected.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTFinderAbstractTest.class/instance/testsForASetUpMethod..st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTFinderAbstractTest.class/instance/testsForATearDownMethod..st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTFinderAbstractTest.class/instance/testsForATestMethod..st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTFinderAbstractTest.class/properties.json (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTFinderStrategyReflectivityTest.class/README.md (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTFinderStrategyReflectivityTest.class/instance/initCache.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTFinderStrategyReflectivityTest.class/instance/setUp.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTFinderStrategyReflectivityTest.class/properties.json (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTOnModificationTest.class/README.md (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTOnModificationTest.class/instance/setUp.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTOnModificationTest.class/instance/tearDown.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTOnModificationTest.class/instance/testAdd.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTOnModificationTest.class/instance/testGet.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTOnModificationTest.class/properties.json (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTRunnerTest.class/README.md (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTRunnerTest.class/instance/noop.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTRunnerTest.class/instance/setUp.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTRunnerTest.class/instance/testIconForTestResultGreen.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTRunnerTest.class/instance/testIconForTestResultRed.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTRunnerTest.class/instance/testIconForTestResultWhite.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTRunnerTest.class/instance/testIconForTestResultYellow.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTRunnerTest.class/instance/testRunCaseNotifyIconGreen.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTRunnerTest.class/instance/testRunCaseNotifyIconRed.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTRunnerTest.class/instance/testRunCaseNotifyIconYellow.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTRunnerTest.class/instance/testRunCasesNotifyIconGreen.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTRunnerTest.class/instance/testRunCasesNotifyIconRed.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTRunnerTest.class/instance/testRunCasesNotifyIconYellow.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTRunnerTest.class/properties.json (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSendersFilterTestDefaultClassPackage.class/README.md (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSendersFilterTestDefaultClassPackage.class/instance/setUp.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSendersFilterTestDefaultClassPackage.class/instance/testExtensionTestInside.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSendersFilterTestDefaultClassPackage.class/instance/testInstVarOutsidePackage.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefInMethod.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSendersFilterTestDefaultClassPackage.class/properties.json (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSendersFilterTestDefaultPackage.class/README.md (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSendersFilterTestDefaultPackage.class/instance/testClassOutsidePackageWithRef.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSendersFilterTestDefaultPackage.class/instance/testInstVarOutsidePackage.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSendersFilterTestDefaultPackage.class/properties.json (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSendersFilterTestWithMultipleRestrictedPackage.class/README.md (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/setUp.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestOutside.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestInside.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestOutside.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSendersFilterTestWithMultipleRestrictedPackage.class/properties.json (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSendersFilterTestWithRestrictedPackage.class/README.md (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSendersFilterTestWithRestrictedPackage.class/instance/setUp.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSendersFilterTestWithRestrictedPackage.class/instance/testClassOutsidePackageWithRef.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSendersFilterTestWithRestrictedPackage.class/instance/testExtensionMethodFirstLevelSendersOutside.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSendersFilterTestWithRestrictedPackage.class/instance/testInstVarOutsidePackage.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSendersFilterTestWithRestrictedPackage.class/properties.json (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSendersFinderTestDefaultClassPackage.class/README.md (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSendersFinderTestDefaultClassPackage.class/instance/setUp.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSendersFinderTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSenders.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSendersFinderTestDefaultClassPackage.class/properties.json (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSendersFinderTestWithRestrictedPackage.class/README.md (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSendersFinderTestWithRestrictedPackage.class/instance/setUp.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSendersFinderTestWithRestrictedPackage.class/instance/testInheritance.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSendersFinderTestWithRestrictedPackage.class/instance/testStandardMethodFirstLevelSenders.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSendersFinderTestWithRestrictedPackage.class/instance/testStandardMethodSecondLevelSenders.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSendersFinderTestWithRestrictedPackage.class/instance/testStandardMethodThirdLevelSenders.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSendersFinderTestWithRestrictedPackage.class/properties.json (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSendersFinderTestWithoutCache.class/README.md (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSendersFinderTestWithoutCache.class/instance/setUp.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSendersFinderTestWithoutCache.class/instance/tearDown.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSendersFinderTestWithoutCache.class/properties.json (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTTestCoverageFinderTest.class/README.md (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTTestCoverageFinderTest.class/instance/initCache.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTTestCoverageFinderTest.class/instance/setUp.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTTestCoverageFinderTest.class/instance/tearDown.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTTestCoverageFinderTest.class/instance/testModificationOnTest.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTTestCoverageFinderTest.class/instance/testTestSelfSelected.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTTestCoverageFinderTest.class/properties.json (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmartFinderTest.class/README.md (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmartFinderTest.class/instance/initCache.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmartFinderTest.class/instance/setUp.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmartFinderTest.class/instance/tearDown.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmartFinderTest.class/instance/testChangeCacheClassFinder.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmartFinderTest.class/instance/testChangeFilterFinder.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmartFinderTest.class/instance/testChangeFilterTryFindTestFinder.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmartFinderTest.class/instance/testChangeFinderTestingStrategy.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmartFinderTest.class/instance/testChangeRunnerTestingStrategy.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmartFinderTest.class/instance/testResetCache.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmartFinderTest.class/instance/testTwoSmartFinderhaveTwoDifferentCache.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmartFinderTest.class/properties.json (100%) create mode 100644 SmartTest-Tests.package/monticello.meta/categories.st create mode 100644 SmartTest-Tests.package/monticello.meta/initializers.st create mode 100644 SmartTest-Tests.package/monticello.meta/package create mode 100644 SmartTest-Tests.package/properties.json create mode 100644 SmartTestDataOutsideP1.package/SmTTrait.trait/README.md create mode 100644 SmartTestDataOutsideP1.package/SmTTrait.trait/instance/traitMethod1InsidePackageTestInside.st create mode 100644 SmartTestDataOutsideP1.package/SmTTrait.trait/instance/traitMethod1InsidePackageTestOutside.st create mode 100644 SmartTestDataOutsideP1.package/SmTTrait.trait/properties.json diff --git a/SmartTest-Tests-Data.package/.filetree b/SmartTest-Tests-Data.package/.filetree new file mode 100644 index 0000000..57a6797 --- /dev/null +++ b/SmartTest-Tests-Data.package/.filetree @@ -0,0 +1,5 @@ +{ + "separateMethodMetaAndSource" : false, + "noMethodMetaData" : true, + "useCypressPropertiesFile" : true +} \ No newline at end of file diff --git a/SmartTest.package/SmTClass.class/README.md b/SmartTest-Tests-Data.package/SmTClass.class/README.md similarity index 100% rename from SmartTest.package/SmTClass.class/README.md rename to SmartTest-Tests-Data.package/SmTClass.class/README.md diff --git a/SmartTest.package/SmTClass.class/instance/method1.st b/SmartTest-Tests-Data.package/SmTClass.class/instance/method1.st similarity index 100% rename from SmartTest.package/SmTClass.class/instance/method1.st rename to SmartTest-Tests-Data.package/SmTClass.class/instance/method1.st diff --git a/SmartTest.package/SmTClass.class/instance/method2.st b/SmartTest-Tests-Data.package/SmTClass.class/instance/method2.st similarity index 100% rename from SmartTest.package/SmTClass.class/instance/method2.st rename to SmartTest-Tests-Data.package/SmTClass.class/instance/method2.st diff --git a/SmartTest.package/SmTClass.class/instance/method3..st b/SmartTest-Tests-Data.package/SmTClass.class/instance/method3..st similarity index 100% rename from SmartTest.package/SmTClass.class/instance/method3..st rename to SmartTest-Tests-Data.package/SmTClass.class/instance/method3..st diff --git a/SmartTest.package/SmTClass.class/instance/method4.st b/SmartTest-Tests-Data.package/SmTClass.class/instance/method4.st similarity index 100% rename from SmartTest.package/SmTClass.class/instance/method4.st rename to SmartTest-Tests-Data.package/SmTClass.class/instance/method4.st diff --git a/SmartTest.package/SmTClass.class/properties.json b/SmartTest-Tests-Data.package/SmTClass.class/properties.json similarity index 100% rename from SmartTest.package/SmTClass.class/properties.json rename to SmartTest-Tests-Data.package/SmTClass.class/properties.json diff --git a/SmartTest.package/SmTClass2.class/README.md b/SmartTest-Tests-Data.package/SmTClass2.class/README.md similarity index 100% rename from SmartTest.package/SmTClass2.class/README.md rename to SmartTest-Tests-Data.package/SmTClass2.class/README.md diff --git a/SmartTest.package/SmTClass2.class/instance/initialize.st b/SmartTest-Tests-Data.package/SmTClass2.class/instance/initialize.st similarity index 100% rename from SmartTest.package/SmTClass2.class/instance/initialize.st rename to SmartTest-Tests-Data.package/SmTClass2.class/instance/initialize.st diff --git a/SmartTest.package/SmTClass2.class/properties.json b/SmartTest-Tests-Data.package/SmTClass2.class/properties.json similarity index 100% rename from SmartTest.package/SmTClass2.class/properties.json rename to SmartTest-Tests-Data.package/SmTClass2.class/properties.json diff --git a/SmartTest.package/SmTClassTest.class/README.md b/SmartTest-Tests-Data.package/SmTClassTest.class/README.md similarity index 100% rename from SmartTest.package/SmTClassTest.class/README.md rename to SmartTest-Tests-Data.package/SmTClassTest.class/README.md diff --git a/SmartTest.package/SmTClassTest.class/instance/setUp.st b/SmartTest-Tests-Data.package/SmTClassTest.class/instance/setUp.st similarity index 100% rename from SmartTest.package/SmTClassTest.class/instance/setUp.st rename to SmartTest-Tests-Data.package/SmTClassTest.class/instance/setUp.st diff --git a/SmartTest.package/SmTClassTest.class/instance/tearDown.st b/SmartTest-Tests-Data.package/SmTClassTest.class/instance/tearDown.st similarity index 100% rename from SmartTest.package/SmTClassTest.class/instance/tearDown.st rename to SmartTest-Tests-Data.package/SmTClassTest.class/instance/tearDown.st diff --git a/SmartTest.package/SmTClassTest.class/instance/testMethod1.st b/SmartTest-Tests-Data.package/SmTClassTest.class/instance/testMethod1.st similarity index 100% rename from SmartTest.package/SmTClassTest.class/instance/testMethod1.st rename to SmartTest-Tests-Data.package/SmTClassTest.class/instance/testMethod1.st diff --git a/SmartTest.package/SmTClassTest.class/instance/testMethod2.st b/SmartTest-Tests-Data.package/SmTClassTest.class/instance/testMethod2.st similarity index 100% rename from SmartTest.package/SmTClassTest.class/instance/testMethod2.st rename to SmartTest-Tests-Data.package/SmTClassTest.class/instance/testMethod2.st diff --git a/SmartTest.package/SmTClassTest.class/instance/testMethod3.st b/SmartTest-Tests-Data.package/SmTClassTest.class/instance/testMethod3.st similarity index 100% rename from SmartTest.package/SmTClassTest.class/instance/testMethod3.st rename to SmartTest-Tests-Data.package/SmTClassTest.class/instance/testMethod3.st diff --git a/SmartTest.package/SmTClassTest.class/instance/testMethod4.st b/SmartTest-Tests-Data.package/SmTClassTest.class/instance/testMethod4.st similarity index 100% rename from SmartTest.package/SmTClassTest.class/instance/testMethod4.st rename to SmartTest-Tests-Data.package/SmTClassTest.class/instance/testMethod4.st diff --git a/SmartTest.package/SmTClassTest.class/instance/testMethod5.st b/SmartTest-Tests-Data.package/SmTClassTest.class/instance/testMethod5.st similarity index 100% rename from SmartTest.package/SmTClassTest.class/instance/testMethod5.st rename to SmartTest-Tests-Data.package/SmTClassTest.class/instance/testMethod5.st diff --git a/SmartTest.package/SmTClassTest.class/instance/testMethodOutsidePackage1.st b/SmartTest-Tests-Data.package/SmTClassTest.class/instance/testMethodOutsidePackage1.st similarity index 100% rename from SmartTest.package/SmTClassTest.class/instance/testMethodOutsidePackage1.st rename to SmartTest-Tests-Data.package/SmTClassTest.class/instance/testMethodOutsidePackage1.st diff --git a/SmartTest.package/SmTClassTest.class/properties.json b/SmartTest-Tests-Data.package/SmTClassTest.class/properties.json similarity index 100% rename from SmartTest.package/SmTClassTest.class/properties.json rename to SmartTest-Tests-Data.package/SmTClassTest.class/properties.json diff --git a/SmartTest.package/SmTInheritClassTest.class/README.md b/SmartTest-Tests-Data.package/SmTInheritClassTest.class/README.md similarity index 100% rename from SmartTest.package/SmTInheritClassTest.class/README.md rename to SmartTest-Tests-Data.package/SmTInheritClassTest.class/README.md diff --git a/SmartTest.package/SmTInheritClassTest.class/instance/setUp.st b/SmartTest-Tests-Data.package/SmTInheritClassTest.class/instance/setUp.st similarity index 100% rename from SmartTest.package/SmTInheritClassTest.class/instance/setUp.st rename to SmartTest-Tests-Data.package/SmTInheritClassTest.class/instance/setUp.st diff --git a/SmartTest.package/SmTInheritClassTest.class/properties.json b/SmartTest-Tests-Data.package/SmTInheritClassTest.class/properties.json similarity index 100% rename from SmartTest.package/SmTInheritClassTest.class/properties.json rename to SmartTest-Tests-Data.package/SmTInheritClassTest.class/properties.json diff --git a/SmartTest.package/SmTSuperClassTest.class/README.md b/SmartTest-Tests-Data.package/SmTSuperClassTest.class/README.md similarity index 100% rename from SmartTest.package/SmTSuperClassTest.class/README.md rename to SmartTest-Tests-Data.package/SmTSuperClassTest.class/README.md diff --git a/SmartTest.package/SmTSuperClassTest.class/class/isAbstract.st b/SmartTest-Tests-Data.package/SmTSuperClassTest.class/class/isAbstract.st similarity index 100% rename from SmartTest.package/SmTSuperClassTest.class/class/isAbstract.st rename to SmartTest-Tests-Data.package/SmTSuperClassTest.class/class/isAbstract.st diff --git a/SmartTest.package/SmTSuperClassTest.class/instance/testMethod1.st b/SmartTest-Tests-Data.package/SmTSuperClassTest.class/instance/testMethod1.st similarity index 100% rename from SmartTest.package/SmTSuperClassTest.class/instance/testMethod1.st rename to SmartTest-Tests-Data.package/SmTSuperClassTest.class/instance/testMethod1.st diff --git a/SmartTest.package/SmTSuperClassTest.class/properties.json b/SmartTest-Tests-Data.package/SmTSuperClassTest.class/properties.json similarity index 100% rename from SmartTest.package/SmTSuperClassTest.class/properties.json rename to SmartTest-Tests-Data.package/SmTSuperClassTest.class/properties.json diff --git a/SmartTest-Tests-Data.package/monticello.meta/categories.st b/SmartTest-Tests-Data.package/monticello.meta/categories.st new file mode 100644 index 0000000..fbb2915 --- /dev/null +++ b/SmartTest-Tests-Data.package/monticello.meta/categories.st @@ -0,0 +1 @@ +SystemOrganization addCategory: #'SmartTest-Tests-Data'! diff --git a/SmartTest-Tests-Data.package/monticello.meta/initializers.st b/SmartTest-Tests-Data.package/monticello.meta/initializers.st new file mode 100644 index 0000000..e69de29 diff --git a/SmartTest-Tests-Data.package/monticello.meta/package b/SmartTest-Tests-Data.package/monticello.meta/package new file mode 100644 index 0000000..750f36f --- /dev/null +++ b/SmartTest-Tests-Data.package/monticello.meta/package @@ -0,0 +1 @@ +(name 'SmartTest-Tests-Data') \ No newline at end of file diff --git a/SmartTest-Tests-Data.package/properties.json b/SmartTest-Tests-Data.package/properties.json new file mode 100644 index 0000000..6f31cf5 --- /dev/null +++ b/SmartTest-Tests-Data.package/properties.json @@ -0,0 +1 @@ +{ } \ No newline at end of file diff --git a/SmartTest-Tests.package/.filetree b/SmartTest-Tests.package/.filetree new file mode 100644 index 0000000..57a6797 --- /dev/null +++ b/SmartTest-Tests.package/.filetree @@ -0,0 +1,5 @@ +{ + "separateMethodMetaAndSource" : false, + "noMethodMetaData" : true, + "useCypressPropertiesFile" : true +} \ No newline at end of file diff --git a/SmartTest.package/SmTCacheBuilderReflectivityTest.class/README.md b/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/README.md similarity index 100% rename from SmartTest.package/SmTCacheBuilderReflectivityTest.class/README.md rename to SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/README.md diff --git a/SmartTest.package/SmTCacheBuilderReflectivityTest.class/instance/dynamiqueFinder.st b/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/instance/dynamiqueFinder.st similarity index 100% rename from SmartTest.package/SmTCacheBuilderReflectivityTest.class/instance/dynamiqueFinder.st rename to SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/instance/dynamiqueFinder.st diff --git a/SmartTest.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod1ToBuildCache.st b/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod1ToBuildCache.st similarity index 100% rename from SmartTest.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod1ToBuildCache.st rename to SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod1ToBuildCache.st diff --git a/SmartTest.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod2ToBuildCache.st b/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod2ToBuildCache.st similarity index 100% rename from SmartTest.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod2ToBuildCache.st rename to SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod2ToBuildCache.st diff --git a/SmartTest.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod5ToBuildCache.st b/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod5ToBuildCache.st similarity index 100% rename from SmartTest.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod5ToBuildCache.st rename to SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod5ToBuildCache.st diff --git a/SmartTest.package/SmTCacheBuilderReflectivityTest.class/properties.json b/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/properties.json similarity index 100% rename from SmartTest.package/SmTCacheBuilderReflectivityTest.class/properties.json rename to SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/properties.json diff --git a/SmartTest.package/SmTCacheBuilderTest.class/README.md b/SmartTest-Tests.package/SmTCacheBuilderTest.class/README.md similarity index 100% rename from SmartTest.package/SmTCacheBuilderTest.class/README.md rename to SmartTest-Tests.package/SmTCacheBuilderTest.class/README.md diff --git a/SmartTest.package/SmTCacheBuilderTest.class/class/isAbstract.st b/SmartTest-Tests.package/SmTCacheBuilderTest.class/class/isAbstract.st similarity index 100% rename from SmartTest.package/SmTCacheBuilderTest.class/class/isAbstract.st rename to SmartTest-Tests.package/SmTCacheBuilderTest.class/class/isAbstract.st diff --git a/SmartTest.package/SmTCacheBuilderTest.class/instance/dynamiqueFinder.st b/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/dynamiqueFinder.st similarity index 100% rename from SmartTest.package/SmTCacheBuilderTest.class/instance/dynamiqueFinder.st rename to SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/dynamiqueFinder.st diff --git a/SmartTest.package/SmTCacheBuilderTest.class/instance/searchTestMethodsFor..st b/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/searchTestMethodsFor..st similarity index 100% rename from SmartTest.package/SmTCacheBuilderTest.class/instance/searchTestMethodsFor..st rename to SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/searchTestMethodsFor..st diff --git a/SmartTest.package/SmTCacheBuilderTest.class/instance/setUp.st b/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/setUp.st similarity index 100% rename from SmartTest.package/SmTCacheBuilderTest.class/instance/setUp.st rename to SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/setUp.st diff --git a/SmartTest.package/SmTCacheBuilderTest.class/instance/tearDown.st b/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/tearDown.st similarity index 100% rename from SmartTest.package/SmTCacheBuilderTest.class/instance/tearDown.st rename to SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/tearDown.st diff --git a/SmartTest.package/SmTCacheBuilderTest.class/instance/testResearchTestsForStandardMethodWhileEmptyCache.st b/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/testResearchTestsForStandardMethodWhileEmptyCache.st similarity index 100% rename from SmartTest.package/SmTCacheBuilderTest.class/instance/testResearchTestsForStandardMethodWhileEmptyCache.st rename to SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/testResearchTestsForStandardMethodWhileEmptyCache.st diff --git a/SmartTest.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod1ToBuildCache.st b/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod1ToBuildCache.st similarity index 100% rename from SmartTest.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod1ToBuildCache.st rename to SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod1ToBuildCache.st diff --git a/SmartTest.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod2ToBuildCache.st b/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod2ToBuildCache.st similarity index 100% rename from SmartTest.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod2ToBuildCache.st rename to SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod2ToBuildCache.st diff --git a/SmartTest.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod5ToBuildCache.st b/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod5ToBuildCache.st similarity index 100% rename from SmartTest.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod5ToBuildCache.st rename to SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod5ToBuildCache.st diff --git a/SmartTest.package/SmTCacheBuilderTest.class/properties.json b/SmartTest-Tests.package/SmTCacheBuilderTest.class/properties.json similarity index 100% rename from SmartTest.package/SmTCacheBuilderTest.class/properties.json rename to SmartTest-Tests.package/SmTCacheBuilderTest.class/properties.json diff --git a/SmartTest.package/SmTCacheBuilderTestCoverageTest.class/README.md b/SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/README.md similarity index 100% rename from SmartTest.package/SmTCacheBuilderTestCoverageTest.class/README.md rename to SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/README.md diff --git a/SmartTest.package/SmTCacheBuilderTestCoverageTest.class/instance/dynamiqueFinder.st b/SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/instance/dynamiqueFinder.st similarity index 100% rename from SmartTest.package/SmTCacheBuilderTestCoverageTest.class/instance/dynamiqueFinder.st rename to SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/instance/dynamiqueFinder.st diff --git a/SmartTest.package/SmTCacheBuilderTestCoverageTest.class/properties.json b/SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/properties.json similarity index 100% rename from SmartTest.package/SmTCacheBuilderTestCoverageTest.class/properties.json rename to SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/properties.json diff --git a/SmartTest.package/SmTFilterAbstractTest.class/README.md b/SmartTest-Tests.package/SmTFilterAbstractTest.class/README.md similarity index 100% rename from SmartTest.package/SmTFilterAbstractTest.class/README.md rename to SmartTest-Tests.package/SmTFilterAbstractTest.class/README.md diff --git a/SmartTest.package/SmTFilterAbstractTest.class/class/isAbstract.st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/class/isAbstract.st similarity index 100% rename from SmartTest.package/SmTFilterAbstractTest.class/class/isAbstract.st rename to SmartTest-Tests.package/SmTFilterAbstractTest.class/class/isAbstract.st diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/assert.containsAtLeastMethods..st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/assert.containsAtLeastMethods..st similarity index 100% rename from SmartTest.package/SmTFilterAbstractTest.class/instance/assert.containsAtLeastMethods..st rename to SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/assert.containsAtLeastMethods..st diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/assert.equalsToMethods..st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/assert.equalsToMethods..st similarity index 100% rename from SmartTest.package/SmTFilterAbstractTest.class/instance/assert.equalsToMethods..st rename to SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/assert.equalsToMethods..st diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/instanceVariableNamed.fromClass..st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/instanceVariableNamed.fromClass..st similarity index 100% rename from SmartTest.package/SmTFilterAbstractTest.class/instance/instanceVariableNamed.fromClass..st rename to SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/instanceVariableNamed.fromClass..st diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/searchTestMethodsFor..st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/searchTestMethodsFor..st similarity index 100% rename from SmartTest.package/SmTFilterAbstractTest.class/instance/searchTestMethodsFor..st rename to SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/searchTestMethodsFor..st diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/searchTestMethodsForAClass..st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/searchTestMethodsForAClass..st similarity index 100% rename from SmartTest.package/SmTFilterAbstractTest.class/instance/searchTestMethodsForAClass..st rename to SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/searchTestMethodsForAClass..st diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/searchTestsForInstVar.ofClass..st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/searchTestsForInstVar.ofClass..st similarity index 100% rename from SmartTest.package/SmTFilterAbstractTest.class/instance/searchTestsForInstVar.ofClass..st rename to SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/searchTestsForInstVar.ofClass..st diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/setUp.st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/setUp.st similarity index 100% rename from SmartTest.package/SmTFilterAbstractTest.class/instance/setUp.st rename to SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/setUp.st diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/tearDown.st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/tearDown.st similarity index 100% rename from SmartTest.package/SmTFilterAbstractTest.class/instance/tearDown.st rename to SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/tearDown.st diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassAbstractTestCaseDoesntRedefineMethod.st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassAbstractTestCaseDoesntRedefineMethod.st similarity index 100% rename from SmartTest.package/SmTFilterAbstractTest.class/instance/testClassAbstractTestCaseDoesntRedefineMethod.st rename to SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassAbstractTestCaseDoesntRedefineMethod.st diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassAbstractTestCaseRedefinesMethod.st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassAbstractTestCaseRedefinesMethod.st similarity index 100% rename from SmartTest.package/SmTFilterAbstractTest.class/instance/testClassAbstractTestCaseRedefinesMethod.st rename to SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassAbstractTestCaseRedefinesMethod.st diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassInheritanceSubClass1.st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassInheritanceSubClass1.st similarity index 100% rename from SmartTest.package/SmTFilterAbstractTest.class/instance/testClassInheritanceSubClass1.st rename to SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassInheritanceSubClass1.st diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassInsidePackageWithRef.st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassInsidePackageWithRef.st similarity index 100% rename from SmartTest.package/SmTFilterAbstractTest.class/instance/testClassInsidePackageWithRef.st rename to SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassInsidePackageWithRef.st diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassOutsidePackageWithRef.st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassOutsidePackageWithRef.st similarity index 100% rename from SmartTest.package/SmTFilterAbstractTest.class/instance/testClassOutsidePackageWithRef.st rename to SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassOutsidePackageWithRef.st diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassSimpleTestCase.st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassSimpleTestCase.st similarity index 100% rename from SmartTest.package/SmTFilterAbstractTest.class/instance/testClassSimpleTestCase.st rename to SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassSimpleTestCase.st diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testClassTestsInside.st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassTestsInside.st similarity index 100% rename from SmartTest.package/SmTFilterAbstractTest.class/instance/testClassTestsInside.st rename to SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassTestsInside.st diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testExtensionMethodFirstLevelSendersInside.st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testExtensionMethodFirstLevelSendersInside.st similarity index 100% rename from SmartTest.package/SmTFilterAbstractTest.class/instance/testExtensionMethodFirstLevelSendersInside.st rename to SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testExtensionMethodFirstLevelSendersInside.st diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testExtensionMethodFirstLevelSendersOutside.st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testExtensionMethodFirstLevelSendersOutside.st similarity index 100% rename from SmartTest.package/SmTFilterAbstractTest.class/instance/testExtensionMethodFirstLevelSendersOutside.st rename to SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testExtensionMethodFirstLevelSendersOutside.st diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testExtensionMethodSecondLevelSendersInside.st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testExtensionMethodSecondLevelSendersInside.st similarity index 100% rename from SmartTest.package/SmTFilterAbstractTest.class/instance/testExtensionMethodSecondLevelSendersInside.st rename to SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testExtensionMethodSecondLevelSendersInside.st diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testExtensionTestInside.st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testExtensionTestInside.st similarity index 100% rename from SmartTest.package/SmTFilterAbstractTest.class/instance/testExtensionTestInside.st rename to SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testExtensionTestInside.st diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testInstVarInsideClass.st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testInstVarInsideClass.st similarity index 100% rename from SmartTest.package/SmTFilterAbstractTest.class/instance/testInstVarInsideClass.st rename to SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testInstVarInsideClass.st diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testInstVarInsidePackage.st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testInstVarInsidePackage.st similarity index 100% rename from SmartTest.package/SmTFilterAbstractTest.class/instance/testInstVarInsidePackage.st rename to SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testInstVarInsidePackage.st diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testInstVarOutsidePackage.st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testInstVarOutsidePackage.st similarity index 100% rename from SmartTest.package/SmTFilterAbstractTest.class/instance/testInstVarOutsidePackage.st rename to SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testInstVarOutsidePackage.st diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersInsidePackage.st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersInsidePackage.st similarity index 100% rename from SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersInsidePackage.st rename to SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersInsidePackage.st diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st similarity index 100% rename from SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st rename to SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st similarity index 100% rename from SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st rename to SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st similarity index 100% rename from SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st rename to SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st similarity index 100% rename from SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st rename to SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestInside.st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestInside.st similarity index 100% rename from SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestInside.st rename to SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestInside.st diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestOutside.st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestOutside.st similarity index 100% rename from SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestOutside.st rename to SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestOutside.st diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st similarity index 100% rename from SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st rename to SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st similarity index 100% rename from SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st rename to SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st similarity index 100% rename from SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st rename to SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestInside.st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestInside.st similarity index 100% rename from SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestInside.st rename to SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestInside.st diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestOutside.st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestOutside.st similarity index 100% rename from SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestOutside.st rename to SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestOutside.st diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st similarity index 100% rename from SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st rename to SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st similarity index 100% rename from SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st rename to SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st similarity index 100% rename from SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st rename to SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st diff --git a/SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefInMethod.st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefInMethod.st similarity index 100% rename from SmartTest.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefInMethod.st rename to SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefInMethod.st diff --git a/SmartTest.package/SmTFilterAbstractTest.class/properties.json b/SmartTest-Tests.package/SmTFilterAbstractTest.class/properties.json similarity index 100% rename from SmartTest.package/SmTFilterAbstractTest.class/properties.json rename to SmartTest-Tests.package/SmTFilterAbstractTest.class/properties.json diff --git a/SmartTest.package/SmTFinderAbstractTest.class/README.md b/SmartTest-Tests.package/SmTFinderAbstractTest.class/README.md similarity index 100% rename from SmartTest.package/SmTFinderAbstractTest.class/README.md rename to SmartTest-Tests.package/SmTFinderAbstractTest.class/README.md diff --git a/SmartTest.package/SmTFinderAbstractTest.class/class/isAbstract.st b/SmartTest-Tests.package/SmTFinderAbstractTest.class/class/isAbstract.st similarity index 100% rename from SmartTest.package/SmTFinderAbstractTest.class/class/isAbstract.st rename to SmartTest-Tests.package/SmTFinderAbstractTest.class/class/isAbstract.st diff --git a/SmartTest.package/SmTFinderAbstractTest.class/instance/searchTestMethodsFor..st b/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/searchTestMethodsFor..st similarity index 100% rename from SmartTest.package/SmTFinderAbstractTest.class/instance/searchTestMethodsFor..st rename to SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/searchTestMethodsFor..st diff --git a/SmartTest.package/SmTFinderAbstractTest.class/instance/setUp.st b/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/setUp.st similarity index 100% rename from SmartTest.package/SmTFinderAbstractTest.class/instance/setUp.st rename to SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/setUp.st diff --git a/SmartTest.package/SmTFinderAbstractTest.class/instance/tearDown.st b/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/tearDown.st similarity index 100% rename from SmartTest.package/SmTFinderAbstractTest.class/instance/tearDown.st rename to SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/tearDown.st diff --git a/SmartTest.package/SmTFinderAbstractTest.class/instance/testInheritance.st b/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testInheritance.st similarity index 100% rename from SmartTest.package/SmTFinderAbstractTest.class/instance/testInheritance.st rename to SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testInheritance.st diff --git a/SmartTest.package/SmTFinderAbstractTest.class/instance/testModificationOnInitialize.st b/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testModificationOnInitialize.st similarity index 100% rename from SmartTest.package/SmTFinderAbstractTest.class/instance/testModificationOnInitialize.st rename to SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testModificationOnInitialize.st diff --git a/SmartTest.package/SmTFinderAbstractTest.class/instance/testModificationOnTest.st b/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testModificationOnTest.st similarity index 100% rename from SmartTest.package/SmTFinderAbstractTest.class/instance/testModificationOnTest.st rename to SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testModificationOnTest.st diff --git a/SmartTest.package/SmTFinderAbstractTest.class/instance/testSetupMethodFindsTests.st b/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testSetupMethodFindsTests.st similarity index 100% rename from SmartTest.package/SmTFinderAbstractTest.class/instance/testSetupMethodFindsTests.st rename to SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testSetupMethodFindsTests.st diff --git a/SmartTest.package/SmTFinderAbstractTest.class/instance/testSetupMethodWithNonSetupFindsNoTests.st b/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testSetupMethodWithNonSetupFindsNoTests.st similarity index 100% rename from SmartTest.package/SmTFinderAbstractTest.class/instance/testSetupMethodWithNonSetupFindsNoTests.st rename to SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testSetupMethodWithNonSetupFindsNoTests.st diff --git a/SmartTest.package/SmTFinderAbstractTest.class/instance/testStandardMethodFirstLevelSenders.st b/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testStandardMethodFirstLevelSenders.st similarity index 100% rename from SmartTest.package/SmTFinderAbstractTest.class/instance/testStandardMethodFirstLevelSenders.st rename to SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testStandardMethodFirstLevelSenders.st diff --git a/SmartTest.package/SmTFinderAbstractTest.class/instance/testStandardMethodSecondLevelSenders.st b/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testStandardMethodSecondLevelSenders.st similarity index 100% rename from SmartTest.package/SmTFinderAbstractTest.class/instance/testStandardMethodSecondLevelSenders.st rename to SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testStandardMethodSecondLevelSenders.st diff --git a/SmartTest.package/SmTFinderAbstractTest.class/instance/testStandardMethodThirdLevelSenders.st b/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testStandardMethodThirdLevelSenders.st similarity index 100% rename from SmartTest.package/SmTFinderAbstractTest.class/instance/testStandardMethodThirdLevelSenders.st rename to SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testStandardMethodThirdLevelSenders.st diff --git a/SmartTest.package/SmTFinderAbstractTest.class/instance/testTearDownMethodFindsTests.st b/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testTearDownMethodFindsTests.st similarity index 100% rename from SmartTest.package/SmTFinderAbstractTest.class/instance/testTearDownMethodFindsTests.st rename to SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testTearDownMethodFindsTests.st diff --git a/SmartTest.package/SmTFinderAbstractTest.class/instance/testTearDownMethodWithNoneTearDownFindsNoTests.st b/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testTearDownMethodWithNoneTearDownFindsNoTests.st similarity index 100% rename from SmartTest.package/SmTFinderAbstractTest.class/instance/testTearDownMethodWithNoneTearDownFindsNoTests.st rename to SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testTearDownMethodWithNoneTearDownFindsNoTests.st diff --git a/SmartTest.package/SmTFinderAbstractTest.class/instance/testTestSelfSelected.st b/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testTestSelfSelected.st similarity index 100% rename from SmartTest.package/SmTFinderAbstractTest.class/instance/testTestSelfSelected.st rename to SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testTestSelfSelected.st diff --git a/SmartTest.package/SmTFinderAbstractTest.class/instance/testsForASetUpMethod..st b/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testsForASetUpMethod..st similarity index 100% rename from SmartTest.package/SmTFinderAbstractTest.class/instance/testsForASetUpMethod..st rename to SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testsForASetUpMethod..st diff --git a/SmartTest.package/SmTFinderAbstractTest.class/instance/testsForATearDownMethod..st b/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testsForATearDownMethod..st similarity index 100% rename from SmartTest.package/SmTFinderAbstractTest.class/instance/testsForATearDownMethod..st rename to SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testsForATearDownMethod..st diff --git a/SmartTest.package/SmTFinderAbstractTest.class/instance/testsForATestMethod..st b/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testsForATestMethod..st similarity index 100% rename from SmartTest.package/SmTFinderAbstractTest.class/instance/testsForATestMethod..st rename to SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testsForATestMethod..st diff --git a/SmartTest.package/SmTFinderAbstractTest.class/properties.json b/SmartTest-Tests.package/SmTFinderAbstractTest.class/properties.json similarity index 100% rename from SmartTest.package/SmTFinderAbstractTest.class/properties.json rename to SmartTest-Tests.package/SmTFinderAbstractTest.class/properties.json diff --git a/SmartTest.package/SmTFinderStrategyReflectivityTest.class/README.md b/SmartTest-Tests.package/SmTFinderStrategyReflectivityTest.class/README.md similarity index 100% rename from SmartTest.package/SmTFinderStrategyReflectivityTest.class/README.md rename to SmartTest-Tests.package/SmTFinderStrategyReflectivityTest.class/README.md diff --git a/SmartTest.package/SmTFinderStrategyReflectivityTest.class/instance/initCache.st b/SmartTest-Tests.package/SmTFinderStrategyReflectivityTest.class/instance/initCache.st similarity index 100% rename from SmartTest.package/SmTFinderStrategyReflectivityTest.class/instance/initCache.st rename to SmartTest-Tests.package/SmTFinderStrategyReflectivityTest.class/instance/initCache.st diff --git a/SmartTest.package/SmTFinderStrategyReflectivityTest.class/instance/setUp.st b/SmartTest-Tests.package/SmTFinderStrategyReflectivityTest.class/instance/setUp.st similarity index 100% rename from SmartTest.package/SmTFinderStrategyReflectivityTest.class/instance/setUp.st rename to SmartTest-Tests.package/SmTFinderStrategyReflectivityTest.class/instance/setUp.st diff --git a/SmartTest.package/SmTFinderStrategyReflectivityTest.class/properties.json b/SmartTest-Tests.package/SmTFinderStrategyReflectivityTest.class/properties.json similarity index 100% rename from SmartTest.package/SmTFinderStrategyReflectivityTest.class/properties.json rename to SmartTest-Tests.package/SmTFinderStrategyReflectivityTest.class/properties.json diff --git a/SmartTest.package/SmTOnModificationTest.class/README.md b/SmartTest-Tests.package/SmTOnModificationTest.class/README.md similarity index 100% rename from SmartTest.package/SmTOnModificationTest.class/README.md rename to SmartTest-Tests.package/SmTOnModificationTest.class/README.md diff --git a/SmartTest.package/SmTOnModificationTest.class/instance/setUp.st b/SmartTest-Tests.package/SmTOnModificationTest.class/instance/setUp.st similarity index 100% rename from SmartTest.package/SmTOnModificationTest.class/instance/setUp.st rename to SmartTest-Tests.package/SmTOnModificationTest.class/instance/setUp.st diff --git a/SmartTest.package/SmTOnModificationTest.class/instance/tearDown.st b/SmartTest-Tests.package/SmTOnModificationTest.class/instance/tearDown.st similarity index 100% rename from SmartTest.package/SmTOnModificationTest.class/instance/tearDown.st rename to SmartTest-Tests.package/SmTOnModificationTest.class/instance/tearDown.st diff --git a/SmartTest.package/SmTOnModificationTest.class/instance/testAdd.st b/SmartTest-Tests.package/SmTOnModificationTest.class/instance/testAdd.st similarity index 100% rename from SmartTest.package/SmTOnModificationTest.class/instance/testAdd.st rename to SmartTest-Tests.package/SmTOnModificationTest.class/instance/testAdd.st diff --git a/SmartTest.package/SmTOnModificationTest.class/instance/testGet.st b/SmartTest-Tests.package/SmTOnModificationTest.class/instance/testGet.st similarity index 100% rename from SmartTest.package/SmTOnModificationTest.class/instance/testGet.st rename to SmartTest-Tests.package/SmTOnModificationTest.class/instance/testGet.st diff --git a/SmartTest.package/SmTOnModificationTest.class/properties.json b/SmartTest-Tests.package/SmTOnModificationTest.class/properties.json similarity index 100% rename from SmartTest.package/SmTOnModificationTest.class/properties.json rename to SmartTest-Tests.package/SmTOnModificationTest.class/properties.json diff --git a/SmartTest.package/SmTRunnerTest.class/README.md b/SmartTest-Tests.package/SmTRunnerTest.class/README.md similarity index 100% rename from SmartTest.package/SmTRunnerTest.class/README.md rename to SmartTest-Tests.package/SmTRunnerTest.class/README.md diff --git a/SmartTest.package/SmTRunnerTest.class/instance/noop.st b/SmartTest-Tests.package/SmTRunnerTest.class/instance/noop.st similarity index 100% rename from SmartTest.package/SmTRunnerTest.class/instance/noop.st rename to SmartTest-Tests.package/SmTRunnerTest.class/instance/noop.st diff --git a/SmartTest.package/SmTRunnerTest.class/instance/setUp.st b/SmartTest-Tests.package/SmTRunnerTest.class/instance/setUp.st similarity index 100% rename from SmartTest.package/SmTRunnerTest.class/instance/setUp.st rename to SmartTest-Tests.package/SmTRunnerTest.class/instance/setUp.st diff --git a/SmartTest.package/SmTRunnerTest.class/instance/testIconForTestResultGreen.st b/SmartTest-Tests.package/SmTRunnerTest.class/instance/testIconForTestResultGreen.st similarity index 100% rename from SmartTest.package/SmTRunnerTest.class/instance/testIconForTestResultGreen.st rename to SmartTest-Tests.package/SmTRunnerTest.class/instance/testIconForTestResultGreen.st diff --git a/SmartTest.package/SmTRunnerTest.class/instance/testIconForTestResultRed.st b/SmartTest-Tests.package/SmTRunnerTest.class/instance/testIconForTestResultRed.st similarity index 100% rename from SmartTest.package/SmTRunnerTest.class/instance/testIconForTestResultRed.st rename to SmartTest-Tests.package/SmTRunnerTest.class/instance/testIconForTestResultRed.st diff --git a/SmartTest.package/SmTRunnerTest.class/instance/testIconForTestResultWhite.st b/SmartTest-Tests.package/SmTRunnerTest.class/instance/testIconForTestResultWhite.st similarity index 100% rename from SmartTest.package/SmTRunnerTest.class/instance/testIconForTestResultWhite.st rename to SmartTest-Tests.package/SmTRunnerTest.class/instance/testIconForTestResultWhite.st diff --git a/SmartTest.package/SmTRunnerTest.class/instance/testIconForTestResultYellow.st b/SmartTest-Tests.package/SmTRunnerTest.class/instance/testIconForTestResultYellow.st similarity index 100% rename from SmartTest.package/SmTRunnerTest.class/instance/testIconForTestResultYellow.st rename to SmartTest-Tests.package/SmTRunnerTest.class/instance/testIconForTestResultYellow.st diff --git a/SmartTest.package/SmTRunnerTest.class/instance/testRunCaseNotifyIconGreen.st b/SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCaseNotifyIconGreen.st similarity index 100% rename from SmartTest.package/SmTRunnerTest.class/instance/testRunCaseNotifyIconGreen.st rename to SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCaseNotifyIconGreen.st diff --git a/SmartTest.package/SmTRunnerTest.class/instance/testRunCaseNotifyIconRed.st b/SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCaseNotifyIconRed.st similarity index 100% rename from SmartTest.package/SmTRunnerTest.class/instance/testRunCaseNotifyIconRed.st rename to SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCaseNotifyIconRed.st diff --git a/SmartTest.package/SmTRunnerTest.class/instance/testRunCaseNotifyIconYellow.st b/SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCaseNotifyIconYellow.st similarity index 100% rename from SmartTest.package/SmTRunnerTest.class/instance/testRunCaseNotifyIconYellow.st rename to SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCaseNotifyIconYellow.st diff --git a/SmartTest.package/SmTRunnerTest.class/instance/testRunCasesNotifyIconGreen.st b/SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCasesNotifyIconGreen.st similarity index 100% rename from SmartTest.package/SmTRunnerTest.class/instance/testRunCasesNotifyIconGreen.st rename to SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCasesNotifyIconGreen.st diff --git a/SmartTest.package/SmTRunnerTest.class/instance/testRunCasesNotifyIconRed.st b/SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCasesNotifyIconRed.st similarity index 100% rename from SmartTest.package/SmTRunnerTest.class/instance/testRunCasesNotifyIconRed.st rename to SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCasesNotifyIconRed.st diff --git a/SmartTest.package/SmTRunnerTest.class/instance/testRunCasesNotifyIconYellow.st b/SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCasesNotifyIconYellow.st similarity index 100% rename from SmartTest.package/SmTRunnerTest.class/instance/testRunCasesNotifyIconYellow.st rename to SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCasesNotifyIconYellow.st diff --git a/SmartTest.package/SmTRunnerTest.class/properties.json b/SmartTest-Tests.package/SmTRunnerTest.class/properties.json similarity index 100% rename from SmartTest.package/SmTRunnerTest.class/properties.json rename to SmartTest-Tests.package/SmTRunnerTest.class/properties.json diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/README.md b/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/README.md similarity index 100% rename from SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/README.md rename to SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/README.md diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/setUp.st b/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/setUp.st similarity index 100% rename from SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/setUp.st rename to SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/setUp.st diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testExtensionTestInside.st b/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testExtensionTestInside.st similarity index 100% rename from SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testExtensionTestInside.st rename to SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testExtensionTestInside.st diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testInstVarOutsidePackage.st b/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testInstVarOutsidePackage.st similarity index 100% rename from SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testInstVarOutsidePackage.st rename to SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testInstVarOutsidePackage.st diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st b/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st similarity index 100% rename from SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st rename to SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st b/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st similarity index 100% rename from SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st rename to SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st b/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st similarity index 100% rename from SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st rename to SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st b/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st similarity index 100% rename from SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st rename to SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st b/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st similarity index 100% rename from SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st rename to SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st b/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st similarity index 100% rename from SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st rename to SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st b/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st similarity index 100% rename from SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st rename to SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st b/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st similarity index 100% rename from SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st rename to SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st b/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st similarity index 100% rename from SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st rename to SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefInMethod.st b/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefInMethod.st similarity index 100% rename from SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefInMethod.st rename to SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefInMethod.st diff --git a/SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/properties.json b/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/properties.json similarity index 100% rename from SmartTest.package/SmTSendersFilterTestDefaultClassPackage.class/properties.json rename to SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/properties.json diff --git a/SmartTest.package/SmTSendersFilterTestDefaultPackage.class/README.md b/SmartTest-Tests.package/SmTSendersFilterTestDefaultPackage.class/README.md similarity index 100% rename from SmartTest.package/SmTSendersFilterTestDefaultPackage.class/README.md rename to SmartTest-Tests.package/SmTSendersFilterTestDefaultPackage.class/README.md diff --git a/SmartTest.package/SmTSendersFilterTestDefaultPackage.class/instance/testClassOutsidePackageWithRef.st b/SmartTest-Tests.package/SmTSendersFilterTestDefaultPackage.class/instance/testClassOutsidePackageWithRef.st similarity index 100% rename from SmartTest.package/SmTSendersFilterTestDefaultPackage.class/instance/testClassOutsidePackageWithRef.st rename to SmartTest-Tests.package/SmTSendersFilterTestDefaultPackage.class/instance/testClassOutsidePackageWithRef.st diff --git a/SmartTest.package/SmTSendersFilterTestDefaultPackage.class/instance/testInstVarOutsidePackage.st b/SmartTest-Tests.package/SmTSendersFilterTestDefaultPackage.class/instance/testInstVarOutsidePackage.st similarity index 100% rename from SmartTest.package/SmTSendersFilterTestDefaultPackage.class/instance/testInstVarOutsidePackage.st rename to SmartTest-Tests.package/SmTSendersFilterTestDefaultPackage.class/instance/testInstVarOutsidePackage.st diff --git a/SmartTest.package/SmTSendersFilterTestDefaultPackage.class/properties.json b/SmartTest-Tests.package/SmTSendersFilterTestDefaultPackage.class/properties.json similarity index 100% rename from SmartTest.package/SmTSendersFilterTestDefaultPackage.class/properties.json rename to SmartTest-Tests.package/SmTSendersFilterTestDefaultPackage.class/properties.json diff --git a/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/README.md b/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/README.md similarity index 100% rename from SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/README.md rename to SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/README.md diff --git a/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/setUp.st b/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/setUp.st similarity index 100% rename from SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/setUp.st rename to SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/setUp.st diff --git a/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st b/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st similarity index 100% rename from SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st rename to SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st diff --git a/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st b/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st similarity index 100% rename from SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st rename to SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st diff --git a/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st b/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st similarity index 100% rename from SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st rename to SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st diff --git a/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st b/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st similarity index 100% rename from SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st rename to SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st diff --git a/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestOutside.st b/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestOutside.st similarity index 100% rename from SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestOutside.st rename to SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestOutside.st diff --git a/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st b/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st similarity index 100% rename from SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st rename to SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st diff --git a/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st b/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st similarity index 100% rename from SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st rename to SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st diff --git a/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st b/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st similarity index 100% rename from SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st rename to SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st diff --git a/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestInside.st b/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestInside.st similarity index 100% rename from SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestInside.st rename to SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestInside.st diff --git a/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestOutside.st b/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestOutside.st similarity index 100% rename from SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestOutside.st rename to SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestOutside.st diff --git a/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st b/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st similarity index 100% rename from SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st rename to SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st diff --git a/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st b/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st similarity index 100% rename from SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st rename to SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st diff --git a/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st b/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st similarity index 100% rename from SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st rename to SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st diff --git a/SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/properties.json b/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/properties.json similarity index 100% rename from SmartTest.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/properties.json rename to SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/properties.json diff --git a/SmartTest.package/SmTSendersFilterTestWithRestrictedPackage.class/README.md b/SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/README.md similarity index 100% rename from SmartTest.package/SmTSendersFilterTestWithRestrictedPackage.class/README.md rename to SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/README.md diff --git a/SmartTest.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/setUp.st b/SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/setUp.st similarity index 100% rename from SmartTest.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/setUp.st rename to SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/setUp.st diff --git a/SmartTest.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/testClassOutsidePackageWithRef.st b/SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/testClassOutsidePackageWithRef.st similarity index 100% rename from SmartTest.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/testClassOutsidePackageWithRef.st rename to SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/testClassOutsidePackageWithRef.st diff --git a/SmartTest.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/testExtensionMethodFirstLevelSendersOutside.st b/SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/testExtensionMethodFirstLevelSendersOutside.st similarity index 100% rename from SmartTest.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/testExtensionMethodFirstLevelSendersOutside.st rename to SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/testExtensionMethodFirstLevelSendersOutside.st diff --git a/SmartTest.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/testInstVarOutsidePackage.st b/SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/testInstVarOutsidePackage.st similarity index 100% rename from SmartTest.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/testInstVarOutsidePackage.st rename to SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/testInstVarOutsidePackage.st diff --git a/SmartTest.package/SmTSendersFilterTestWithRestrictedPackage.class/properties.json b/SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/properties.json similarity index 100% rename from SmartTest.package/SmTSendersFilterTestWithRestrictedPackage.class/properties.json rename to SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/properties.json diff --git a/SmartTest.package/SmTSendersFinderTestDefaultClassPackage.class/README.md b/SmartTest-Tests.package/SmTSendersFinderTestDefaultClassPackage.class/README.md similarity index 100% rename from SmartTest.package/SmTSendersFinderTestDefaultClassPackage.class/README.md rename to SmartTest-Tests.package/SmTSendersFinderTestDefaultClassPackage.class/README.md diff --git a/SmartTest.package/SmTSendersFinderTestDefaultClassPackage.class/instance/setUp.st b/SmartTest-Tests.package/SmTSendersFinderTestDefaultClassPackage.class/instance/setUp.st similarity index 100% rename from SmartTest.package/SmTSendersFinderTestDefaultClassPackage.class/instance/setUp.st rename to SmartTest-Tests.package/SmTSendersFinderTestDefaultClassPackage.class/instance/setUp.st diff --git a/SmartTest.package/SmTSendersFinderTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSenders.st b/SmartTest-Tests.package/SmTSendersFinderTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSenders.st similarity index 100% rename from SmartTest.package/SmTSendersFinderTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSenders.st rename to SmartTest-Tests.package/SmTSendersFinderTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSenders.st diff --git a/SmartTest.package/SmTSendersFinderTestDefaultClassPackage.class/properties.json b/SmartTest-Tests.package/SmTSendersFinderTestDefaultClassPackage.class/properties.json similarity index 100% rename from SmartTest.package/SmTSendersFinderTestDefaultClassPackage.class/properties.json rename to SmartTest-Tests.package/SmTSendersFinderTestDefaultClassPackage.class/properties.json diff --git a/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/README.md b/SmartTest-Tests.package/SmTSendersFinderTestWithRestrictedPackage.class/README.md similarity index 100% rename from SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/README.md rename to SmartTest-Tests.package/SmTSendersFinderTestWithRestrictedPackage.class/README.md diff --git a/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/setUp.st b/SmartTest-Tests.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/setUp.st similarity index 100% rename from SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/setUp.st rename to SmartTest-Tests.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/setUp.st diff --git a/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/testInheritance.st b/SmartTest-Tests.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/testInheritance.st similarity index 100% rename from SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/testInheritance.st rename to SmartTest-Tests.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/testInheritance.st diff --git a/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/testStandardMethodFirstLevelSenders.st b/SmartTest-Tests.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/testStandardMethodFirstLevelSenders.st similarity index 100% rename from SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/testStandardMethodFirstLevelSenders.st rename to SmartTest-Tests.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/testStandardMethodFirstLevelSenders.st diff --git a/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/testStandardMethodSecondLevelSenders.st b/SmartTest-Tests.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/testStandardMethodSecondLevelSenders.st similarity index 100% rename from SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/testStandardMethodSecondLevelSenders.st rename to SmartTest-Tests.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/testStandardMethodSecondLevelSenders.st diff --git a/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/testStandardMethodThirdLevelSenders.st b/SmartTest-Tests.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/testStandardMethodThirdLevelSenders.st similarity index 100% rename from SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/testStandardMethodThirdLevelSenders.st rename to SmartTest-Tests.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/testStandardMethodThirdLevelSenders.st diff --git a/SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/properties.json b/SmartTest-Tests.package/SmTSendersFinderTestWithRestrictedPackage.class/properties.json similarity index 100% rename from SmartTest.package/SmTSendersFinderTestWithRestrictedPackage.class/properties.json rename to SmartTest-Tests.package/SmTSendersFinderTestWithRestrictedPackage.class/properties.json diff --git a/SmartTest.package/SmTSendersFinderTestWithoutCache.class/README.md b/SmartTest-Tests.package/SmTSendersFinderTestWithoutCache.class/README.md similarity index 100% rename from SmartTest.package/SmTSendersFinderTestWithoutCache.class/README.md rename to SmartTest-Tests.package/SmTSendersFinderTestWithoutCache.class/README.md diff --git a/SmartTest.package/SmTSendersFinderTestWithoutCache.class/instance/setUp.st b/SmartTest-Tests.package/SmTSendersFinderTestWithoutCache.class/instance/setUp.st similarity index 100% rename from SmartTest.package/SmTSendersFinderTestWithoutCache.class/instance/setUp.st rename to SmartTest-Tests.package/SmTSendersFinderTestWithoutCache.class/instance/setUp.st diff --git a/SmartTest.package/SmTSendersFinderTestWithoutCache.class/instance/tearDown.st b/SmartTest-Tests.package/SmTSendersFinderTestWithoutCache.class/instance/tearDown.st similarity index 100% rename from SmartTest.package/SmTSendersFinderTestWithoutCache.class/instance/tearDown.st rename to SmartTest-Tests.package/SmTSendersFinderTestWithoutCache.class/instance/tearDown.st diff --git a/SmartTest.package/SmTSendersFinderTestWithoutCache.class/properties.json b/SmartTest-Tests.package/SmTSendersFinderTestWithoutCache.class/properties.json similarity index 100% rename from SmartTest.package/SmTSendersFinderTestWithoutCache.class/properties.json rename to SmartTest-Tests.package/SmTSendersFinderTestWithoutCache.class/properties.json diff --git a/SmartTest.package/SmTTestCoverageFinderTest.class/README.md b/SmartTest-Tests.package/SmTTestCoverageFinderTest.class/README.md similarity index 100% rename from SmartTest.package/SmTTestCoverageFinderTest.class/README.md rename to SmartTest-Tests.package/SmTTestCoverageFinderTest.class/README.md diff --git a/SmartTest.package/SmTTestCoverageFinderTest.class/instance/initCache.st b/SmartTest-Tests.package/SmTTestCoverageFinderTest.class/instance/initCache.st similarity index 100% rename from SmartTest.package/SmTTestCoverageFinderTest.class/instance/initCache.st rename to SmartTest-Tests.package/SmTTestCoverageFinderTest.class/instance/initCache.st diff --git a/SmartTest.package/SmTTestCoverageFinderTest.class/instance/setUp.st b/SmartTest-Tests.package/SmTTestCoverageFinderTest.class/instance/setUp.st similarity index 100% rename from SmartTest.package/SmTTestCoverageFinderTest.class/instance/setUp.st rename to SmartTest-Tests.package/SmTTestCoverageFinderTest.class/instance/setUp.st diff --git a/SmartTest.package/SmTTestCoverageFinderTest.class/instance/tearDown.st b/SmartTest-Tests.package/SmTTestCoverageFinderTest.class/instance/tearDown.st similarity index 100% rename from SmartTest.package/SmTTestCoverageFinderTest.class/instance/tearDown.st rename to SmartTest-Tests.package/SmTTestCoverageFinderTest.class/instance/tearDown.st diff --git a/SmartTest.package/SmTTestCoverageFinderTest.class/instance/testModificationOnTest.st b/SmartTest-Tests.package/SmTTestCoverageFinderTest.class/instance/testModificationOnTest.st similarity index 100% rename from SmartTest.package/SmTTestCoverageFinderTest.class/instance/testModificationOnTest.st rename to SmartTest-Tests.package/SmTTestCoverageFinderTest.class/instance/testModificationOnTest.st diff --git a/SmartTest.package/SmTTestCoverageFinderTest.class/instance/testTestSelfSelected.st b/SmartTest-Tests.package/SmTTestCoverageFinderTest.class/instance/testTestSelfSelected.st similarity index 100% rename from SmartTest.package/SmTTestCoverageFinderTest.class/instance/testTestSelfSelected.st rename to SmartTest-Tests.package/SmTTestCoverageFinderTest.class/instance/testTestSelfSelected.st diff --git a/SmartTest.package/SmTTestCoverageFinderTest.class/properties.json b/SmartTest-Tests.package/SmTTestCoverageFinderTest.class/properties.json similarity index 100% rename from SmartTest.package/SmTTestCoverageFinderTest.class/properties.json rename to SmartTest-Tests.package/SmTTestCoverageFinderTest.class/properties.json diff --git a/SmartTest.package/SmartFinderTest.class/README.md b/SmartTest-Tests.package/SmartFinderTest.class/README.md similarity index 100% rename from SmartTest.package/SmartFinderTest.class/README.md rename to SmartTest-Tests.package/SmartFinderTest.class/README.md diff --git a/SmartTest.package/SmartFinderTest.class/instance/initCache.st b/SmartTest-Tests.package/SmartFinderTest.class/instance/initCache.st similarity index 100% rename from SmartTest.package/SmartFinderTest.class/instance/initCache.st rename to SmartTest-Tests.package/SmartFinderTest.class/instance/initCache.st diff --git a/SmartTest.package/SmartFinderTest.class/instance/setUp.st b/SmartTest-Tests.package/SmartFinderTest.class/instance/setUp.st similarity index 100% rename from SmartTest.package/SmartFinderTest.class/instance/setUp.st rename to SmartTest-Tests.package/SmartFinderTest.class/instance/setUp.st diff --git a/SmartTest.package/SmartFinderTest.class/instance/tearDown.st b/SmartTest-Tests.package/SmartFinderTest.class/instance/tearDown.st similarity index 100% rename from SmartTest.package/SmartFinderTest.class/instance/tearDown.st rename to SmartTest-Tests.package/SmartFinderTest.class/instance/tearDown.st diff --git a/SmartTest.package/SmartFinderTest.class/instance/testChangeCacheClassFinder.st b/SmartTest-Tests.package/SmartFinderTest.class/instance/testChangeCacheClassFinder.st similarity index 100% rename from SmartTest.package/SmartFinderTest.class/instance/testChangeCacheClassFinder.st rename to SmartTest-Tests.package/SmartFinderTest.class/instance/testChangeCacheClassFinder.st diff --git a/SmartTest.package/SmartFinderTest.class/instance/testChangeFilterFinder.st b/SmartTest-Tests.package/SmartFinderTest.class/instance/testChangeFilterFinder.st similarity index 100% rename from SmartTest.package/SmartFinderTest.class/instance/testChangeFilterFinder.st rename to SmartTest-Tests.package/SmartFinderTest.class/instance/testChangeFilterFinder.st diff --git a/SmartTest.package/SmartFinderTest.class/instance/testChangeFilterTryFindTestFinder.st b/SmartTest-Tests.package/SmartFinderTest.class/instance/testChangeFilterTryFindTestFinder.st similarity index 100% rename from SmartTest.package/SmartFinderTest.class/instance/testChangeFilterTryFindTestFinder.st rename to SmartTest-Tests.package/SmartFinderTest.class/instance/testChangeFilterTryFindTestFinder.st diff --git a/SmartTest.package/SmartFinderTest.class/instance/testChangeFinderTestingStrategy.st b/SmartTest-Tests.package/SmartFinderTest.class/instance/testChangeFinderTestingStrategy.st similarity index 100% rename from SmartTest.package/SmartFinderTest.class/instance/testChangeFinderTestingStrategy.st rename to SmartTest-Tests.package/SmartFinderTest.class/instance/testChangeFinderTestingStrategy.st diff --git a/SmartTest.package/SmartFinderTest.class/instance/testChangeRunnerTestingStrategy.st b/SmartTest-Tests.package/SmartFinderTest.class/instance/testChangeRunnerTestingStrategy.st similarity index 100% rename from SmartTest.package/SmartFinderTest.class/instance/testChangeRunnerTestingStrategy.st rename to SmartTest-Tests.package/SmartFinderTest.class/instance/testChangeRunnerTestingStrategy.st diff --git a/SmartTest.package/SmartFinderTest.class/instance/testResetCache.st b/SmartTest-Tests.package/SmartFinderTest.class/instance/testResetCache.st similarity index 100% rename from SmartTest.package/SmartFinderTest.class/instance/testResetCache.st rename to SmartTest-Tests.package/SmartFinderTest.class/instance/testResetCache.st diff --git a/SmartTest.package/SmartFinderTest.class/instance/testTwoSmartFinderhaveTwoDifferentCache.st b/SmartTest-Tests.package/SmartFinderTest.class/instance/testTwoSmartFinderhaveTwoDifferentCache.st similarity index 100% rename from SmartTest.package/SmartFinderTest.class/instance/testTwoSmartFinderhaveTwoDifferentCache.st rename to SmartTest-Tests.package/SmartFinderTest.class/instance/testTwoSmartFinderhaveTwoDifferentCache.st diff --git a/SmartTest.package/SmartFinderTest.class/properties.json b/SmartTest-Tests.package/SmartFinderTest.class/properties.json similarity index 100% rename from SmartTest.package/SmartFinderTest.class/properties.json rename to SmartTest-Tests.package/SmartFinderTest.class/properties.json diff --git a/SmartTest-Tests.package/monticello.meta/categories.st b/SmartTest-Tests.package/monticello.meta/categories.st new file mode 100644 index 0000000..0953ee4 --- /dev/null +++ b/SmartTest-Tests.package/monticello.meta/categories.st @@ -0,0 +1 @@ +SystemOrganization addCategory: #'SmartTest-Tests'! diff --git a/SmartTest-Tests.package/monticello.meta/initializers.st b/SmartTest-Tests.package/monticello.meta/initializers.st new file mode 100644 index 0000000..e69de29 diff --git a/SmartTest-Tests.package/monticello.meta/package b/SmartTest-Tests.package/monticello.meta/package new file mode 100644 index 0000000..9e2d096 --- /dev/null +++ b/SmartTest-Tests.package/monticello.meta/package @@ -0,0 +1 @@ +(name 'SmartTest-Tests') \ No newline at end of file diff --git a/SmartTest-Tests.package/properties.json b/SmartTest-Tests.package/properties.json new file mode 100644 index 0000000..6f31cf5 --- /dev/null +++ b/SmartTest-Tests.package/properties.json @@ -0,0 +1 @@ +{ } \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTTrait.trait/README.md b/SmartTestDataOutsideP1.package/SmTTrait.trait/README.md new file mode 100644 index 0000000..a8ee72e --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTTrait.trait/README.md @@ -0,0 +1 @@ +This trait was created to test the behaviour of SmartTest to assert that SmartTest finds the correct tests for a modified trait. \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTTrait.trait/instance/traitMethod1InsidePackageTestInside.st b/SmartTestDataOutsideP1.package/SmTTrait.trait/instance/traitMethod1InsidePackageTestInside.st new file mode 100644 index 0000000..33537a2 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTTrait.trait/instance/traitMethod1InsidePackageTestInside.st @@ -0,0 +1,3 @@ +method1 +traitMethod1InsidePackageTestInside +"The behaviour of this test is irrelevent." \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTTrait.trait/instance/traitMethod1InsidePackageTestOutside.st b/SmartTestDataOutsideP1.package/SmTTrait.trait/instance/traitMethod1InsidePackageTestOutside.st new file mode 100644 index 0000000..92b62f2 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTTrait.trait/instance/traitMethod1InsidePackageTestOutside.st @@ -0,0 +1,3 @@ +method1 +traitMethod1InsidePackageTestOutside +"The behaviour of this test is irrelevent." \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTTrait.trait/properties.json b/SmartTestDataOutsideP1.package/SmTTrait.trait/properties.json new file mode 100644 index 0000000..fec09cf --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTTrait.trait/properties.json @@ -0,0 +1,7 @@ +{ + "commentStamp" : "eleonoreW 6/14/2018 13:30", + "classinstvars" : [ ], + "category" : "SmartTestDataOutsideP1-ModificationOnTrait", + "instvars" : [ ], + "name" : "SmTTrait" +} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/monticello.meta/categories.st b/SmartTestDataOutsideP1.package/monticello.meta/categories.st index 02b75a0..3ec7f40 100644 --- a/SmartTestDataOutsideP1.package/monticello.meta/categories.st +++ b/SmartTestDataOutsideP1.package/monticello.meta/categories.st @@ -11,3 +11,4 @@ SystemOrganization addCategory: #'SmartTestDataOutsideP1-ModificationOnMethod-Te SystemOrganization addCategory: #'SmartTestDataOutsideP1-ModificationOnMethod-WithoutRef'! SystemOrganization addCategory: #'SmartTestDataOutsideP1-ModificationOnVariable'! SystemOrganization addCategory: #'SmartTestDataOutsideP1-ModificationOnVariable-Tests'! +anization addCategory: #'SmartTestDataOutsideP1-ModificationOnVariable-Tests'! From 1e2c5938831ccb8612dad3dfbde9ee6b0c73699d Mon Sep 17 00:00:00 2001 From: eleonoreW Date: Fri, 15 Jun 2018 10:09:23 +0200 Subject: [PATCH 097/150] Changed comments and added a method to get the package base name of package in test coverage finder. --- .../SmTFilterAbstractTest.class/README.md | 8 ++- .../properties.json | 2 +- .../instance/setUp.st | 49 ++++--------------- .../instance/extractPackageBaseName..st | 3 ++ .../instance/installProxyFor..st | 2 +- 5 files changed, 21 insertions(+), 43 deletions(-) create mode 100644 SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/extractPackageBaseName..st diff --git a/SmartTest-Tests.package/SmTFilterAbstractTest.class/README.md b/SmartTest-Tests.package/SmTFilterAbstractTest.class/README.md index 5e3fcdc..a5e2cf6 100644 --- a/SmartTest-Tests.package/SmTFilterAbstractTest.class/README.md +++ b/SmartTest-Tests.package/SmTFilterAbstractTest.class/README.md @@ -13,14 +13,18 @@ Being unique, the senders of each method are controlled and consequently the tes If the name of a test contains « FirstLevelSender » then the corresponding method2 and testMethod2 do not exist. If the name of a test contains « SecondLevelSender » then the corresponding testMethod1 does not exist. -We use the Classification Tree Method to represent the tests. +We use the Classification Tree Method to represent the tests (see https://en.wikipedia.org/wiki/Classification_Tree_Method) . + +We will use the Classification Tree Method for the description of the tests. +Exemple for the first line of the following description: +Test FirstLevelSendersInside : the modified method "method1FirstLevelSendersInside" is located in package P1 and testMethod1FirstLevelSendersInside calls method1FirstLevelSendersInside and is located inside the package P1. Simple tests (no references): Method: TestMethod1 Method2 TestMethod2 Test Identificator Package: P1 P2 P1 P2 P1 P2 • | | | | | FirstLevelSendersInside - | • | | | | FirstLevelSendersInside + | • | | | | FirstLevelSendersOutside | | • | • | SecondLevelSendersInsideTestInside | | • | | • SecondLevelSendersInsideTestOutside | | | • • | SecondLevelSendersOutsideTestInside diff --git a/SmartTest-Tests.package/SmTFilterAbstractTest.class/properties.json b/SmartTest-Tests.package/SmTFilterAbstractTest.class/properties.json index 6d4dee5..db5d213 100644 --- a/SmartTest-Tests.package/SmTFilterAbstractTest.class/properties.json +++ b/SmartTest-Tests.package/SmTFilterAbstractTest.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "EleonoreWald 5/18/2018 13:18", + "commentStamp" : "eleonoreW 6/15/2018 10:07", "super" : "TestCase", "category" : "SmartTest-Tests", "classinstvars" : [ ], diff --git a/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/setUp.st b/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/setUp.st index 520e057..8728ade 100644 --- a/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/setUp.st +++ b/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/setUp.st @@ -1,41 +1,12 @@ running setUp - super - setUp. - self - timeLimit: - 30 - seconds. "super long time for travis CI" - smartFinder := SmartFinder - new. - smartFinder - filter: - SmTDefaultClassPackagesFilter - new. - testMethod1 := (SmTClassTest - >> - #testMethod1) - asRingDefinition. - testMethod2 := (SmTClassTest - >> - #testMethod2) - asRingDefinition. - testMethod3 := (SmTClassTest - >> - #testMethod3) - asRingDefinition. - testMethod4 := (SmTClassTest - >> - #testMethod4) - asRingDefinition. - testMethod5 := (SmTClassTest - >> - #testMethod5) - asRingDefinition. - testInheritedMethod1 := RGMethodDefinition - className: - 'SmTInheritClassTest' - selector: - #testMethod1 - isMetaSide: - false. \ No newline at end of file + super setUp. + self timeLimit: 30 seconds. "super long time for travis CI" + smartFinder := SmartFinder new. + smartFinder filter: SmTDefaultClassPackagesFilter new. + testMethod1 := (SmTClassTest >> #testMethod1) asRingDefinition. + testMethod2 := (SmTClassTest >> #testMethod2) asRingDefinition. + testMethod3 := (SmTClassTest >> #testMethod3) asRingDefinition. + testMethod4 := (SmTClassTest >> #testMethod4) asRingDefinition. + testMethod5 := (SmTClassTest >> #testMethod5) asRingDefinition. + testInheritedMethod1 := RGMethodDefinition className: 'SmTInheritClassTest' selector: #testMethod1 isMetaSide: false \ No newline at end of file diff --git a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/extractPackageBaseName..st b/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/extractPackageBaseName..st new file mode 100644 index 0000000..0e63598 --- /dev/null +++ b/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/extractPackageBaseName..st @@ -0,0 +1,3 @@ +parsing +extractPackageBaseName: aPackageName + ^(aPackageName substrings: '-') at: 1 \ No newline at end of file diff --git a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/installProxyFor..st b/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/installProxyFor..st index 38a29eb..b75d780 100644 --- a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/installProxyFor..st +++ b/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/installProxyFor..st @@ -4,7 +4,7 @@ installProxyFor: aTestCase self currentTestExecution: aTestCase. self addATest: aTestCase toMethodReference: aTestCase methodReference. listOfPackage := OrderedCollection new. - listOfPackage add: aTestCase methodReference compiledMethod package name. + listOfPackage add: (self extractPackageBaseName: (aTestCase methodReference compiledMethod package name)). methodToWrap := Set new. methodToWrap addAll: (self collectMethodToTestForPackagesNamed: listOfPackage). "methodToWrap addAll: (self collectClassToTestForPackagesNamed: listOfPackage)." From b8686655a5d9971f6dde97e29b761b900a56c9d9 Mon Sep 17 00:00:00 2001 From: eleonoreW Date: Fri, 15 Jun 2018 11:26:11 +0200 Subject: [PATCH 098/150] Corrected the baseline, default loads only SmartTest and the group "test" loads SmartTest + the tests data --- .../BaselineOfSmartTest.class/instance/baseline..st | 6 +++++- .../instance/collectRelativeTestMethodOfMethods..st | 7 ------- .../instance/installProxyFor..st | 1 - 3 files changed, 5 insertions(+), 9 deletions(-) delete mode 100644 SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectRelativeTestMethodOfMethods..st diff --git a/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/baseline..st b/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/baseline..st index dd89af7..745d5c7 100644 --- a/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/baseline..st +++ b/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/baseline..st @@ -7,9 +7,13 @@ baseline: spec spec repository: 'github://badetitou/SmartTest' ; package: 'SmartTest'; + package: 'SmartTest-Tests' with: [ spec requires: #('SmartTest' 'SmartTest-Tests-Data' 'SmartTestDataOutsideP1' 'SmartTestDataOutsideP3' 'SmartTestDataOutsideP2' 'SmartTestDataOutsideP4') ]; package: 'SmartTestDataOutsideP1' with: [ spec requires: #('SmartTest' 'SmartTestDataOutsideP3' 'SmartTestDataOutsideP2') ]; package: 'SmartTestDataOutsideP2' with: [ spec requires: #('SmartTest') ]; package: 'SmartTestDataOutsideP3' with: [ spec requires: #('SmartTest' 'SmartTestDataOutsideP4') ]; package: 'SmartTestDataOutsideP4' with: [ spec requires: #('SmartTest') ]; + package: 'SmartTest-Tests-Data' with: [ spec requires: #('SmartTest') ]; group: 'default' - with: #('SmartTest' 'SmartTestDataOutsideP1' 'SmartTestDataOutsideP2' 'SmartTestDataOutsideP3')] \ No newline at end of file + with: #('SmartTest'); + group: 'test' + with: #('SmartTest' 'SmartTest-Tests')] \ No newline at end of file diff --git a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectRelativeTestMethodOfMethods..st b/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectRelativeTestMethodOfMethods..st deleted file mode 100644 index c66b4c0..0000000 --- a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectRelativeTestMethodOfMethods..st +++ /dev/null @@ -1,7 +0,0 @@ -search -collectRelativeTestMethodOfMethods: methods - ^ (self availableTestMethods - intersection: - ((methods collect: [ :aMethod | aMethod asTestMethod ]) - select: [ :aTestMethod | aTestMethod isNotNil ]) asSet) - collect: [ :method | method methodClass selector: method selector ] \ No newline at end of file diff --git a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/installProxyFor..st b/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/installProxyFor..st index b75d780..8dc0f4d 100644 --- a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/installProxyFor..st +++ b/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/installProxyFor..st @@ -7,7 +7,6 @@ installProxyFor: aTestCase listOfPackage add: (self extractPackageBaseName: (aTestCase methodReference compiledMethod package name)). methodToWrap := Set new. methodToWrap addAll: (self collectMethodToTestForPackagesNamed: listOfPackage). - "methodToWrap addAll: (self collectClassToTestForPackagesNamed: listOfPackage)." methodToWrap := methodToWrap intersection: self availableMethods. wrappers at: aTestCase From 017232b4416e269b77d89112d2c5d4a6b68e48ba Mon Sep 17 00:00:00 2001 From: eleonoreW Date: Fri, 15 Jun 2018 11:36:40 +0200 Subject: [PATCH 099/150] Update .smalltalk.ston --- .smalltalk.ston | 1 + 1 file changed, 1 insertion(+) diff --git a/.smalltalk.ston b/.smalltalk.ston index b751a01..35bb0bc 100644 --- a/.smalltalk.ston +++ b/.smalltalk.ston @@ -3,6 +3,7 @@ SmalltalkCISpec { SCIMetacelloLoadSpec { #baseline : 'SmartTest', #directory : '', + #load : [ 'test' ], #platforms : [ #pharo ] } ] From dd1fde2981c14bca2b67cc599d1cbfdcb7778a23 Mon Sep 17 00:00:00 2001 From: eleonoreW Date: Fri, 15 Jun 2018 11:56:45 +0200 Subject: [PATCH 100/150] Moved graphic classes to package SmartTest-UI and updated the baseline. --- .../instance/baseline..st | 14 ++++++-------- SmartTest-UI.package/.filetree | 5 +++++ .../README.md | 0 .../class/canBeExecutedInContext..st | 0 .../instance/decorateTableCell.using..st | 0 .../instance/description.st | 0 .../instance/execute.st | 0 .../properties.json | 2 +- .../ClyRunClassRelatedTestsCommand.class/README.md | 0 .../instance/canBeExecutedInContext..st | 0 .../instance/decorateTableCell.using..st | 0 .../instance/description.st | 0 .../instance/execute.st | 0 .../properties.json | 2 +- .../SmTAutoTestsWindows.class/README.md | 0 .../SmTAutoTestsWindows.class/class/defaultSpec.st | 0 .../SmTAutoTestsWindows.class/instance/button.st | 0 .../SmTAutoTestsWindows.class/instance/extent.st | 0 .../SmTAutoTestsWindows.class/instance/icons.st | 0 .../instance/initializePresenter.st | 0 .../instance/initializeWidgets.st | 0 .../SmTAutoTestsWindows.class/instance/setList..st | 0 .../SmTAutoTestsWindows.class/instance/testList.st | 0 .../SmTAutoTestsWindows.class/instance/title.st | 0 .../SmTAutoTestsWindows.class/properties.json | 2 +- .../SmTBigButtonCollector.class/README.md | 0 .../class/activated..st | 0 .../SmTBigButtonCollector.class/class/activated.st | 0 .../SmTBigButtonCollector.class/class/bigButton.st | 0 .../class/initialize.st | 0 .../SmTBigButtonCollector.class/class/reset.st | 0 .../class/settingsOn..st | 0 .../instance/activated..st | 0 .../instance/changeColorFromTestResult..st | 0 .../instance/collector..st | 0 .../instance/collector.st | 0 .../instance/disable.st | 0 .../SmTBigButtonCollector.class/instance/enable.st | 0 .../instance/initialize.st | 0 .../instance/methodModified..st | 0 .../SmTBigButtonCollector.class/instance/notify.st | 0 .../instance/updateList..st | 0 .../instance/updateNumberOfTheProgressCircle.st | 0 .../instance/updateUIAfterAddingMethod..st | 0 .../SmTBigButtonCollector.class/properties.json | 2 +- .../SmTButtonResultWindow.class/README.md | 0 .../class/defaultSpec.st | 0 .../instance/addToListTestsMethods..st | 0 .../instance/button..st | 0 .../SmTButtonResultWindow.class/instance/button.st | 0 .../instance/buttonMorph.st | 0 .../instance/buttonText..st | 0 .../instance/buttonText.st | 0 .../instance/controler..st | 0 .../instance/controler.st | 0 .../SmTButtonResultWindow.class/instance/extent.st | 0 .../instance/fillFailedTestListFromTestResult..st | 0 .../SmTButtonResultWindow.class/instance/icons..st | 0 .../SmTButtonResultWindow.class/instance/icons.st | 0 .../instance/initializeWidgets.st | 0 .../instance/setList..st | 0 .../instance/testList..st | 0 .../instance/testList.st | 0 .../SmTButtonResultWindow.class/instance/title.st | 0 .../SmTButtonResultWindow.class/properties.json | 2 +- .../SmTCollector.class/README.md | 0 .../SmTCollector.class/instance/addTestMethod..st | 0 .../SmTCollector.class/instance/addTestMethods..st | 0 .../SmTCollector.class/instance/collector.st | 0 .../SmTCollector.class/instance/flush.st | 0 .../SmTCollector.class/properties.json | 2 +- .../SmTFivesMinutesCollector.class/README.md | 0 .../class/addTestMethod..st | 0 .../class/addTestMethods..st | 0 .../SmTFivesMinutesCollector.class/class/start.st | 0 .../SmTFivesMinutesCollector.class/class/stop.st | 0 .../class/uniqueInstance.st | 0 .../instance/collector.st | 0 .../instance/process.st | 0 .../instance/reset.st | 0 .../instance/showResult..st | 0 .../instance/start.st | 0 .../instance/stop.st | 0 .../SmTFivesMinutesCollector.class/properties.json | 2 +- .../SmTIconFabric.class/README.md | 0 .../class/createIconForMethod..st | 0 .../class/createIconForMethods..st | 0 .../SmTIconFabric.class/properties.json | 2 +- .../SmTProgressCircle.class/README.md | 0 .../SmTProgressCircle.class/instance/controler..st | 0 .../SmTProgressCircle.class/instance/drawOn..st | 0 .../instance/handlesMouseDown..st | 0 .../SmTProgressCircle.class/instance/mouseDown..st | 0 .../instance/percentage..st | 0 .../SmTProgressCircle.class/instance/percentage.st | 0 .../SmTProgressCircle.class/properties.json | 2 +- SmartTest-UI.package/monticello.meta/categories.st | 5 +++++ .../monticello.meta/initializers.st | 0 SmartTest-UI.package/monticello.meta/package | 1 + SmartTest-UI.package/properties.json | 1 + 100 files changed, 27 insertions(+), 17 deletions(-) create mode 100644 SmartTest-UI.package/.filetree rename {SmartTest.package => SmartTest-UI.package}/ClyOpenClassRelatedTestsCommand.class/README.md (100%) rename {SmartTest.package => SmartTest-UI.package}/ClyOpenClassRelatedTestsCommand.class/class/canBeExecutedInContext..st (100%) rename {SmartTest.package => SmartTest-UI.package}/ClyOpenClassRelatedTestsCommand.class/instance/decorateTableCell.using..st (100%) rename {SmartTest.package => SmartTest-UI.package}/ClyOpenClassRelatedTestsCommand.class/instance/description.st (100%) rename {SmartTest.package => SmartTest-UI.package}/ClyOpenClassRelatedTestsCommand.class/instance/execute.st (100%) rename {SmartTest.package => SmartTest-UI.package}/ClyOpenClassRelatedTestsCommand.class/properties.json (82%) rename {SmartTest.package => SmartTest-UI.package}/ClyRunClassRelatedTestsCommand.class/README.md (100%) rename {SmartTest.package => SmartTest-UI.package}/ClyRunClassRelatedTestsCommand.class/instance/canBeExecutedInContext..st (100%) rename {SmartTest.package => SmartTest-UI.package}/ClyRunClassRelatedTestsCommand.class/instance/decorateTableCell.using..st (100%) rename {SmartTest.package => SmartTest-UI.package}/ClyRunClassRelatedTestsCommand.class/instance/description.st (100%) rename {SmartTest.package => SmartTest-UI.package}/ClyRunClassRelatedTestsCommand.class/instance/execute.st (100%) rename {SmartTest.package => SmartTest-UI.package}/ClyRunClassRelatedTestsCommand.class/properties.json (82%) rename {SmartTest.package => SmartTest-UI.package}/SmTAutoTestsWindows.class/README.md (100%) rename {SmartTest.package => SmartTest-UI.package}/SmTAutoTestsWindows.class/class/defaultSpec.st (100%) rename {SmartTest.package => SmartTest-UI.package}/SmTAutoTestsWindows.class/instance/button.st (100%) rename {SmartTest.package => SmartTest-UI.package}/SmTAutoTestsWindows.class/instance/extent.st (100%) rename {SmartTest.package => SmartTest-UI.package}/SmTAutoTestsWindows.class/instance/icons.st (100%) rename {SmartTest.package => SmartTest-UI.package}/SmTAutoTestsWindows.class/instance/initializePresenter.st (100%) rename {SmartTest.package => SmartTest-UI.package}/SmTAutoTestsWindows.class/instance/initializeWidgets.st (100%) rename {SmartTest.package => SmartTest-UI.package}/SmTAutoTestsWindows.class/instance/setList..st (100%) rename {SmartTest.package => SmartTest-UI.package}/SmTAutoTestsWindows.class/instance/testList.st (100%) rename {SmartTest.package => SmartTest-UI.package}/SmTAutoTestsWindows.class/instance/title.st (100%) rename {SmartTest.package => SmartTest-UI.package}/SmTAutoTestsWindows.class/properties.json (87%) rename {SmartTest.package => SmartTest-UI.package}/SmTBigButtonCollector.class/README.md (100%) rename {SmartTest.package => SmartTest-UI.package}/SmTBigButtonCollector.class/class/activated..st (100%) rename {SmartTest.package => SmartTest-UI.package}/SmTBigButtonCollector.class/class/activated.st (100%) rename {SmartTest.package => SmartTest-UI.package}/SmTBigButtonCollector.class/class/bigButton.st (100%) rename {SmartTest.package => SmartTest-UI.package}/SmTBigButtonCollector.class/class/initialize.st (100%) rename {SmartTest.package => SmartTest-UI.package}/SmTBigButtonCollector.class/class/reset.st (100%) rename {SmartTest.package => SmartTest-UI.package}/SmTBigButtonCollector.class/class/settingsOn..st (100%) rename {SmartTest.package => SmartTest-UI.package}/SmTBigButtonCollector.class/instance/activated..st (100%) rename {SmartTest.package => SmartTest-UI.package}/SmTBigButtonCollector.class/instance/changeColorFromTestResult..st (100%) rename {SmartTest.package => SmartTest-UI.package}/SmTBigButtonCollector.class/instance/collector..st (100%) rename {SmartTest.package => SmartTest-UI.package}/SmTBigButtonCollector.class/instance/collector.st (100%) rename {SmartTest.package => SmartTest-UI.package}/SmTBigButtonCollector.class/instance/disable.st (100%) rename {SmartTest.package => SmartTest-UI.package}/SmTBigButtonCollector.class/instance/enable.st (100%) rename {SmartTest.package => SmartTest-UI.package}/SmTBigButtonCollector.class/instance/initialize.st (100%) rename {SmartTest.package => SmartTest-UI.package}/SmTBigButtonCollector.class/instance/methodModified..st (100%) rename {SmartTest.package => SmartTest-UI.package}/SmTBigButtonCollector.class/instance/notify.st (100%) rename {SmartTest.package => SmartTest-UI.package}/SmTBigButtonCollector.class/instance/updateList..st (100%) rename {SmartTest.package => SmartTest-UI.package}/SmTBigButtonCollector.class/instance/updateNumberOfTheProgressCircle.st (100%) rename {SmartTest.package => SmartTest-UI.package}/SmTBigButtonCollector.class/instance/updateUIAfterAddingMethod..st (100%) rename {SmartTest.package => SmartTest-UI.package}/SmTBigButtonCollector.class/properties.json (87%) rename {SmartTest.package => SmartTest-UI.package}/SmTButtonResultWindow.class/README.md (100%) rename {SmartTest.package => SmartTest-UI.package}/SmTButtonResultWindow.class/class/defaultSpec.st (100%) rename {SmartTest.package => SmartTest-UI.package}/SmTButtonResultWindow.class/instance/addToListTestsMethods..st (100%) rename {SmartTest.package => SmartTest-UI.package}/SmTButtonResultWindow.class/instance/button..st (100%) rename {SmartTest.package => SmartTest-UI.package}/SmTButtonResultWindow.class/instance/button.st (100%) rename {SmartTest.package => SmartTest-UI.package}/SmTButtonResultWindow.class/instance/buttonMorph.st (100%) rename {SmartTest.package => SmartTest-UI.package}/SmTButtonResultWindow.class/instance/buttonText..st (100%) rename {SmartTest.package => SmartTest-UI.package}/SmTButtonResultWindow.class/instance/buttonText.st (100%) rename {SmartTest.package => SmartTest-UI.package}/SmTButtonResultWindow.class/instance/controler..st (100%) rename {SmartTest.package => SmartTest-UI.package}/SmTButtonResultWindow.class/instance/controler.st (100%) rename {SmartTest.package => SmartTest-UI.package}/SmTButtonResultWindow.class/instance/extent.st (100%) rename {SmartTest.package => SmartTest-UI.package}/SmTButtonResultWindow.class/instance/fillFailedTestListFromTestResult..st (100%) rename {SmartTest.package => SmartTest-UI.package}/SmTButtonResultWindow.class/instance/icons..st (100%) rename {SmartTest.package => SmartTest-UI.package}/SmTButtonResultWindow.class/instance/icons.st (100%) rename {SmartTest.package => SmartTest-UI.package}/SmTButtonResultWindow.class/instance/initializeWidgets.st (100%) rename {SmartTest.package => SmartTest-UI.package}/SmTButtonResultWindow.class/instance/setList..st (100%) rename {SmartTest.package => SmartTest-UI.package}/SmTButtonResultWindow.class/instance/testList..st (100%) rename {SmartTest.package => SmartTest-UI.package}/SmTButtonResultWindow.class/instance/testList.st (100%) rename {SmartTest.package => SmartTest-UI.package}/SmTButtonResultWindow.class/instance/title.st (100%) rename {SmartTest.package => SmartTest-UI.package}/SmTButtonResultWindow.class/properties.json (88%) rename {SmartTest.package => SmartTest-UI.package}/SmTCollector.class/README.md (100%) rename {SmartTest.package => SmartTest-UI.package}/SmTCollector.class/instance/addTestMethod..st (100%) rename {SmartTest.package => SmartTest-UI.package}/SmTCollector.class/instance/addTestMethods..st (100%) rename {SmartTest.package => SmartTest-UI.package}/SmTCollector.class/instance/collector.st (100%) rename {SmartTest.package => SmartTest-UI.package}/SmTCollector.class/instance/flush.st (100%) rename {SmartTest.package => SmartTest-UI.package}/SmTCollector.class/properties.json (83%) rename {SmartTest.package => SmartTest-UI.package}/SmTFivesMinutesCollector.class/README.md (100%) rename {SmartTest.package => SmartTest-UI.package}/SmTFivesMinutesCollector.class/class/addTestMethod..st (100%) rename {SmartTest.package => SmartTest-UI.package}/SmTFivesMinutesCollector.class/class/addTestMethods..st (100%) rename {SmartTest.package => SmartTest-UI.package}/SmTFivesMinutesCollector.class/class/start.st (100%) rename {SmartTest.package => SmartTest-UI.package}/SmTFivesMinutesCollector.class/class/stop.st (100%) rename {SmartTest.package => SmartTest-UI.package}/SmTFivesMinutesCollector.class/class/uniqueInstance.st (100%) rename {SmartTest.package => SmartTest-UI.package}/SmTFivesMinutesCollector.class/instance/collector.st (100%) rename {SmartTest.package => SmartTest-UI.package}/SmTFivesMinutesCollector.class/instance/process.st (100%) rename {SmartTest.package => SmartTest-UI.package}/SmTFivesMinutesCollector.class/instance/reset.st (100%) rename {SmartTest.package => SmartTest-UI.package}/SmTFivesMinutesCollector.class/instance/showResult..st (100%) rename {SmartTest.package => SmartTest-UI.package}/SmTFivesMinutesCollector.class/instance/start.st (100%) rename {SmartTest.package => SmartTest-UI.package}/SmTFivesMinutesCollector.class/instance/stop.st (100%) rename {SmartTest.package => SmartTest-UI.package}/SmTFivesMinutesCollector.class/properties.json (86%) rename {SmartTest.package => SmartTest-UI.package}/SmTIconFabric.class/README.md (100%) rename {SmartTest.package => SmartTest-UI.package}/SmTIconFabric.class/class/createIconForMethod..st (100%) rename {SmartTest.package => SmartTest-UI.package}/SmTIconFabric.class/class/createIconForMethods..st (100%) rename {SmartTest.package => SmartTest-UI.package}/SmTIconFabric.class/properties.json (84%) rename {SmartTest.package => SmartTest-UI.package}/SmTProgressCircle.class/README.md (100%) rename {SmartTest.package => SmartTest-UI.package}/SmTProgressCircle.class/instance/controler..st (100%) rename {SmartTest.package => SmartTest-UI.package}/SmTProgressCircle.class/instance/drawOn..st (100%) rename {SmartTest.package => SmartTest-UI.package}/SmTProgressCircle.class/instance/handlesMouseDown..st (100%) rename {SmartTest.package => SmartTest-UI.package}/SmTProgressCircle.class/instance/mouseDown..st (100%) rename {SmartTest.package => SmartTest-UI.package}/SmTProgressCircle.class/instance/percentage..st (100%) rename {SmartTest.package => SmartTest-UI.package}/SmTProgressCircle.class/instance/percentage.st (100%) rename {SmartTest.package => SmartTest-UI.package}/SmTProgressCircle.class/properties.json (85%) create mode 100644 SmartTest-UI.package/monticello.meta/categories.st create mode 100644 SmartTest-UI.package/monticello.meta/initializers.st create mode 100644 SmartTest-UI.package/monticello.meta/package create mode 100644 SmartTest-UI.package/properties.json diff --git a/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/baseline..st b/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/baseline..st index 745d5c7..baf5e33 100644 --- a/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/baseline..st +++ b/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/baseline..st @@ -3,17 +3,15 @@ baseline: spec spec for: #common - do: [ - spec - repository: 'github://badetitou/SmartTest' ; - package: 'SmartTest'; + do: [ spec + repository: 'github://badetitou/SmartTest'; + package: 'SmartTest' with: [ spec requires: #('SmartTest-UI') ]; package: 'SmartTest-Tests' with: [ spec requires: #('SmartTest' 'SmartTest-Tests-Data' 'SmartTestDataOutsideP1' 'SmartTestDataOutsideP3' 'SmartTestDataOutsideP2' 'SmartTestDataOutsideP4') ]; package: 'SmartTestDataOutsideP1' with: [ spec requires: #('SmartTest' 'SmartTestDataOutsideP3' 'SmartTestDataOutsideP2') ]; package: 'SmartTestDataOutsideP2' with: [ spec requires: #('SmartTest') ]; package: 'SmartTestDataOutsideP3' with: [ spec requires: #('SmartTest' 'SmartTestDataOutsideP4') ]; package: 'SmartTestDataOutsideP4' with: [ spec requires: #('SmartTest') ]; package: 'SmartTest-Tests-Data' with: [ spec requires: #('SmartTest') ]; - group: 'default' - with: #('SmartTest'); - group: 'test' - with: #('SmartTest' 'SmartTest-Tests')] \ No newline at end of file + package: 'SmartTest-UI' with: [ spec requires: #('SmartTest') ]; + group: 'default' with: #('SmartTest'); + group: 'test' with: #('SmartTest' 'SmartTest-Tests') ] \ No newline at end of file diff --git a/SmartTest-UI.package/.filetree b/SmartTest-UI.package/.filetree new file mode 100644 index 0000000..57a6797 --- /dev/null +++ b/SmartTest-UI.package/.filetree @@ -0,0 +1,5 @@ +{ + "separateMethodMetaAndSource" : false, + "noMethodMetaData" : true, + "useCypressPropertiesFile" : true +} \ No newline at end of file diff --git a/SmartTest.package/ClyOpenClassRelatedTestsCommand.class/README.md b/SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/README.md similarity index 100% rename from SmartTest.package/ClyOpenClassRelatedTestsCommand.class/README.md rename to SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/README.md diff --git a/SmartTest.package/ClyOpenClassRelatedTestsCommand.class/class/canBeExecutedInContext..st b/SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/class/canBeExecutedInContext..st similarity index 100% rename from SmartTest.package/ClyOpenClassRelatedTestsCommand.class/class/canBeExecutedInContext..st rename to SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/class/canBeExecutedInContext..st diff --git a/SmartTest.package/ClyOpenClassRelatedTestsCommand.class/instance/decorateTableCell.using..st b/SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/instance/decorateTableCell.using..st similarity index 100% rename from SmartTest.package/ClyOpenClassRelatedTestsCommand.class/instance/decorateTableCell.using..st rename to SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/instance/decorateTableCell.using..st diff --git a/SmartTest.package/ClyOpenClassRelatedTestsCommand.class/instance/description.st b/SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/instance/description.st similarity index 100% rename from SmartTest.package/ClyOpenClassRelatedTestsCommand.class/instance/description.st rename to SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/instance/description.st diff --git a/SmartTest.package/ClyOpenClassRelatedTestsCommand.class/instance/execute.st b/SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/instance/execute.st similarity index 100% rename from SmartTest.package/ClyOpenClassRelatedTestsCommand.class/instance/execute.st rename to SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/instance/execute.st diff --git a/SmartTest.package/ClyOpenClassRelatedTestsCommand.class/properties.json b/SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/properties.json similarity index 82% rename from SmartTest.package/ClyOpenClassRelatedTestsCommand.class/properties.json rename to SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/properties.json index 0dfe780..a2f79b3 100644 --- a/SmartTest.package/ClyOpenClassRelatedTestsCommand.class/properties.json +++ b/SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "EleonoreWALD 4/26/2018 09:35", "super" : "ClyCritiqueCommand", - "category" : "SmartTest-CalypsoExtension", + "category" : "SmartTest-UI-CalypsoExtension", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTest.package/ClyRunClassRelatedTestsCommand.class/README.md b/SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/README.md similarity index 100% rename from SmartTest.package/ClyRunClassRelatedTestsCommand.class/README.md rename to SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/README.md diff --git a/SmartTest.package/ClyRunClassRelatedTestsCommand.class/instance/canBeExecutedInContext..st b/SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/instance/canBeExecutedInContext..st similarity index 100% rename from SmartTest.package/ClyRunClassRelatedTestsCommand.class/instance/canBeExecutedInContext..st rename to SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/instance/canBeExecutedInContext..st diff --git a/SmartTest.package/ClyRunClassRelatedTestsCommand.class/instance/decorateTableCell.using..st b/SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/instance/decorateTableCell.using..st similarity index 100% rename from SmartTest.package/ClyRunClassRelatedTestsCommand.class/instance/decorateTableCell.using..st rename to SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/instance/decorateTableCell.using..st diff --git a/SmartTest.package/ClyRunClassRelatedTestsCommand.class/instance/description.st b/SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/instance/description.st similarity index 100% rename from SmartTest.package/ClyRunClassRelatedTestsCommand.class/instance/description.st rename to SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/instance/description.st diff --git a/SmartTest.package/ClyRunClassRelatedTestsCommand.class/instance/execute.st b/SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/instance/execute.st similarity index 100% rename from SmartTest.package/ClyRunClassRelatedTestsCommand.class/instance/execute.st rename to SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/instance/execute.st diff --git a/SmartTest.package/ClyRunClassRelatedTestsCommand.class/properties.json b/SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/properties.json similarity index 82% rename from SmartTest.package/ClyRunClassRelatedTestsCommand.class/properties.json rename to SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/properties.json index f1f18c3..9a2f2ac 100644 --- a/SmartTest.package/ClyRunClassRelatedTestsCommand.class/properties.json +++ b/SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "EleonoreWALD 4/26/2018 09:36", "super" : "ClyCritiqueCommand", - "category" : "SmartTest-CalypsoExtension", + "category" : "SmartTest-UI-CalypsoExtension", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTest.package/SmTAutoTestsWindows.class/README.md b/SmartTest-UI.package/SmTAutoTestsWindows.class/README.md similarity index 100% rename from SmartTest.package/SmTAutoTestsWindows.class/README.md rename to SmartTest-UI.package/SmTAutoTestsWindows.class/README.md diff --git a/SmartTest.package/SmTAutoTestsWindows.class/class/defaultSpec.st b/SmartTest-UI.package/SmTAutoTestsWindows.class/class/defaultSpec.st similarity index 100% rename from SmartTest.package/SmTAutoTestsWindows.class/class/defaultSpec.st rename to SmartTest-UI.package/SmTAutoTestsWindows.class/class/defaultSpec.st diff --git a/SmartTest.package/SmTAutoTestsWindows.class/instance/button.st b/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/button.st similarity index 100% rename from SmartTest.package/SmTAutoTestsWindows.class/instance/button.st rename to SmartTest-UI.package/SmTAutoTestsWindows.class/instance/button.st diff --git a/SmartTest.package/SmTAutoTestsWindows.class/instance/extent.st b/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/extent.st similarity index 100% rename from SmartTest.package/SmTAutoTestsWindows.class/instance/extent.st rename to SmartTest-UI.package/SmTAutoTestsWindows.class/instance/extent.st diff --git a/SmartTest.package/SmTAutoTestsWindows.class/instance/icons.st b/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/icons.st similarity index 100% rename from SmartTest.package/SmTAutoTestsWindows.class/instance/icons.st rename to SmartTest-UI.package/SmTAutoTestsWindows.class/instance/icons.st diff --git a/SmartTest.package/SmTAutoTestsWindows.class/instance/initializePresenter.st b/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/initializePresenter.st similarity index 100% rename from SmartTest.package/SmTAutoTestsWindows.class/instance/initializePresenter.st rename to SmartTest-UI.package/SmTAutoTestsWindows.class/instance/initializePresenter.st diff --git a/SmartTest.package/SmTAutoTestsWindows.class/instance/initializeWidgets.st b/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/initializeWidgets.st similarity index 100% rename from SmartTest.package/SmTAutoTestsWindows.class/instance/initializeWidgets.st rename to SmartTest-UI.package/SmTAutoTestsWindows.class/instance/initializeWidgets.st diff --git a/SmartTest.package/SmTAutoTestsWindows.class/instance/setList..st b/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/setList..st similarity index 100% rename from SmartTest.package/SmTAutoTestsWindows.class/instance/setList..st rename to SmartTest-UI.package/SmTAutoTestsWindows.class/instance/setList..st diff --git a/SmartTest.package/SmTAutoTestsWindows.class/instance/testList.st b/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/testList.st similarity index 100% rename from SmartTest.package/SmTAutoTestsWindows.class/instance/testList.st rename to SmartTest-UI.package/SmTAutoTestsWindows.class/instance/testList.st diff --git a/SmartTest.package/SmTAutoTestsWindows.class/instance/title.st b/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/title.st similarity index 100% rename from SmartTest.package/SmTAutoTestsWindows.class/instance/title.st rename to SmartTest-UI.package/SmTAutoTestsWindows.class/instance/title.st diff --git a/SmartTest.package/SmTAutoTestsWindows.class/properties.json b/SmartTest-UI.package/SmTAutoTestsWindows.class/properties.json similarity index 87% rename from SmartTest.package/SmTAutoTestsWindows.class/properties.json rename to SmartTest-UI.package/SmTAutoTestsWindows.class/properties.json index 1270a25..55798db 100644 --- a/SmartTest.package/SmTAutoTestsWindows.class/properties.json +++ b/SmartTest-UI.package/SmTAutoTestsWindows.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "BenoitVerhaeghe 6/28/2017 09:32", "super" : "ComposableModel", - "category" : "SmartTest-Morph", + "category" : "SmartTest-UI-Morph", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTest.package/SmTBigButtonCollector.class/README.md b/SmartTest-UI.package/SmTBigButtonCollector.class/README.md similarity index 100% rename from SmartTest.package/SmTBigButtonCollector.class/README.md rename to SmartTest-UI.package/SmTBigButtonCollector.class/README.md diff --git a/SmartTest.package/SmTBigButtonCollector.class/class/activated..st b/SmartTest-UI.package/SmTBigButtonCollector.class/class/activated..st similarity index 100% rename from SmartTest.package/SmTBigButtonCollector.class/class/activated..st rename to SmartTest-UI.package/SmTBigButtonCollector.class/class/activated..st diff --git a/SmartTest.package/SmTBigButtonCollector.class/class/activated.st b/SmartTest-UI.package/SmTBigButtonCollector.class/class/activated.st similarity index 100% rename from SmartTest.package/SmTBigButtonCollector.class/class/activated.st rename to SmartTest-UI.package/SmTBigButtonCollector.class/class/activated.st diff --git a/SmartTest.package/SmTBigButtonCollector.class/class/bigButton.st b/SmartTest-UI.package/SmTBigButtonCollector.class/class/bigButton.st similarity index 100% rename from SmartTest.package/SmTBigButtonCollector.class/class/bigButton.st rename to SmartTest-UI.package/SmTBigButtonCollector.class/class/bigButton.st diff --git a/SmartTest.package/SmTBigButtonCollector.class/class/initialize.st b/SmartTest-UI.package/SmTBigButtonCollector.class/class/initialize.st similarity index 100% rename from SmartTest.package/SmTBigButtonCollector.class/class/initialize.st rename to SmartTest-UI.package/SmTBigButtonCollector.class/class/initialize.st diff --git a/SmartTest.package/SmTBigButtonCollector.class/class/reset.st b/SmartTest-UI.package/SmTBigButtonCollector.class/class/reset.st similarity index 100% rename from SmartTest.package/SmTBigButtonCollector.class/class/reset.st rename to SmartTest-UI.package/SmTBigButtonCollector.class/class/reset.st diff --git a/SmartTest.package/SmTBigButtonCollector.class/class/settingsOn..st b/SmartTest-UI.package/SmTBigButtonCollector.class/class/settingsOn..st similarity index 100% rename from SmartTest.package/SmTBigButtonCollector.class/class/settingsOn..st rename to SmartTest-UI.package/SmTBigButtonCollector.class/class/settingsOn..st diff --git a/SmartTest.package/SmTBigButtonCollector.class/instance/activated..st b/SmartTest-UI.package/SmTBigButtonCollector.class/instance/activated..st similarity index 100% rename from SmartTest.package/SmTBigButtonCollector.class/instance/activated..st rename to SmartTest-UI.package/SmTBigButtonCollector.class/instance/activated..st diff --git a/SmartTest.package/SmTBigButtonCollector.class/instance/changeColorFromTestResult..st b/SmartTest-UI.package/SmTBigButtonCollector.class/instance/changeColorFromTestResult..st similarity index 100% rename from SmartTest.package/SmTBigButtonCollector.class/instance/changeColorFromTestResult..st rename to SmartTest-UI.package/SmTBigButtonCollector.class/instance/changeColorFromTestResult..st diff --git a/SmartTest.package/SmTBigButtonCollector.class/instance/collector..st b/SmartTest-UI.package/SmTBigButtonCollector.class/instance/collector..st similarity index 100% rename from SmartTest.package/SmTBigButtonCollector.class/instance/collector..st rename to SmartTest-UI.package/SmTBigButtonCollector.class/instance/collector..st diff --git a/SmartTest.package/SmTBigButtonCollector.class/instance/collector.st b/SmartTest-UI.package/SmTBigButtonCollector.class/instance/collector.st similarity index 100% rename from SmartTest.package/SmTBigButtonCollector.class/instance/collector.st rename to SmartTest-UI.package/SmTBigButtonCollector.class/instance/collector.st diff --git a/SmartTest.package/SmTBigButtonCollector.class/instance/disable.st b/SmartTest-UI.package/SmTBigButtonCollector.class/instance/disable.st similarity index 100% rename from SmartTest.package/SmTBigButtonCollector.class/instance/disable.st rename to SmartTest-UI.package/SmTBigButtonCollector.class/instance/disable.st diff --git a/SmartTest.package/SmTBigButtonCollector.class/instance/enable.st b/SmartTest-UI.package/SmTBigButtonCollector.class/instance/enable.st similarity index 100% rename from SmartTest.package/SmTBigButtonCollector.class/instance/enable.st rename to SmartTest-UI.package/SmTBigButtonCollector.class/instance/enable.st diff --git a/SmartTest.package/SmTBigButtonCollector.class/instance/initialize.st b/SmartTest-UI.package/SmTBigButtonCollector.class/instance/initialize.st similarity index 100% rename from SmartTest.package/SmTBigButtonCollector.class/instance/initialize.st rename to SmartTest-UI.package/SmTBigButtonCollector.class/instance/initialize.st diff --git a/SmartTest.package/SmTBigButtonCollector.class/instance/methodModified..st b/SmartTest-UI.package/SmTBigButtonCollector.class/instance/methodModified..st similarity index 100% rename from SmartTest.package/SmTBigButtonCollector.class/instance/methodModified..st rename to SmartTest-UI.package/SmTBigButtonCollector.class/instance/methodModified..st diff --git a/SmartTest.package/SmTBigButtonCollector.class/instance/notify.st b/SmartTest-UI.package/SmTBigButtonCollector.class/instance/notify.st similarity index 100% rename from SmartTest.package/SmTBigButtonCollector.class/instance/notify.st rename to SmartTest-UI.package/SmTBigButtonCollector.class/instance/notify.st diff --git a/SmartTest.package/SmTBigButtonCollector.class/instance/updateList..st b/SmartTest-UI.package/SmTBigButtonCollector.class/instance/updateList..st similarity index 100% rename from SmartTest.package/SmTBigButtonCollector.class/instance/updateList..st rename to SmartTest-UI.package/SmTBigButtonCollector.class/instance/updateList..st diff --git a/SmartTest.package/SmTBigButtonCollector.class/instance/updateNumberOfTheProgressCircle.st b/SmartTest-UI.package/SmTBigButtonCollector.class/instance/updateNumberOfTheProgressCircle.st similarity index 100% rename from SmartTest.package/SmTBigButtonCollector.class/instance/updateNumberOfTheProgressCircle.st rename to SmartTest-UI.package/SmTBigButtonCollector.class/instance/updateNumberOfTheProgressCircle.st diff --git a/SmartTest.package/SmTBigButtonCollector.class/instance/updateUIAfterAddingMethod..st b/SmartTest-UI.package/SmTBigButtonCollector.class/instance/updateUIAfterAddingMethod..st similarity index 100% rename from SmartTest.package/SmTBigButtonCollector.class/instance/updateUIAfterAddingMethod..st rename to SmartTest-UI.package/SmTBigButtonCollector.class/instance/updateUIAfterAddingMethod..st diff --git a/SmartTest.package/SmTBigButtonCollector.class/properties.json b/SmartTest-UI.package/SmTBigButtonCollector.class/properties.json similarity index 87% rename from SmartTest.package/SmTBigButtonCollector.class/properties.json rename to SmartTest-UI.package/SmTBigButtonCollector.class/properties.json index 1cebfaa..fa85a3a 100644 --- a/SmartTest.package/SmTBigButtonCollector.class/properties.json +++ b/SmartTest-UI.package/SmTBigButtonCollector.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "BenoitVerhaeghe 8/11/2017 08:48", "super" : "SmTCollector", - "category" : "SmartTest-Collector", + "category" : "SmartTest-UI-Collector", "classinstvars" : [ "activated", "bigButton" diff --git a/SmartTest.package/SmTButtonResultWindow.class/README.md b/SmartTest-UI.package/SmTButtonResultWindow.class/README.md similarity index 100% rename from SmartTest.package/SmTButtonResultWindow.class/README.md rename to SmartTest-UI.package/SmTButtonResultWindow.class/README.md diff --git a/SmartTest.package/SmTButtonResultWindow.class/class/defaultSpec.st b/SmartTest-UI.package/SmTButtonResultWindow.class/class/defaultSpec.st similarity index 100% rename from SmartTest.package/SmTButtonResultWindow.class/class/defaultSpec.st rename to SmartTest-UI.package/SmTButtonResultWindow.class/class/defaultSpec.st diff --git a/SmartTest.package/SmTButtonResultWindow.class/instance/addToListTestsMethods..st b/SmartTest-UI.package/SmTButtonResultWindow.class/instance/addToListTestsMethods..st similarity index 100% rename from SmartTest.package/SmTButtonResultWindow.class/instance/addToListTestsMethods..st rename to SmartTest-UI.package/SmTButtonResultWindow.class/instance/addToListTestsMethods..st diff --git a/SmartTest.package/SmTButtonResultWindow.class/instance/button..st b/SmartTest-UI.package/SmTButtonResultWindow.class/instance/button..st similarity index 100% rename from SmartTest.package/SmTButtonResultWindow.class/instance/button..st rename to SmartTest-UI.package/SmTButtonResultWindow.class/instance/button..st diff --git a/SmartTest.package/SmTButtonResultWindow.class/instance/button.st b/SmartTest-UI.package/SmTButtonResultWindow.class/instance/button.st similarity index 100% rename from SmartTest.package/SmTButtonResultWindow.class/instance/button.st rename to SmartTest-UI.package/SmTButtonResultWindow.class/instance/button.st diff --git a/SmartTest.package/SmTButtonResultWindow.class/instance/buttonMorph.st b/SmartTest-UI.package/SmTButtonResultWindow.class/instance/buttonMorph.st similarity index 100% rename from SmartTest.package/SmTButtonResultWindow.class/instance/buttonMorph.st rename to SmartTest-UI.package/SmTButtonResultWindow.class/instance/buttonMorph.st diff --git a/SmartTest.package/SmTButtonResultWindow.class/instance/buttonText..st b/SmartTest-UI.package/SmTButtonResultWindow.class/instance/buttonText..st similarity index 100% rename from SmartTest.package/SmTButtonResultWindow.class/instance/buttonText..st rename to SmartTest-UI.package/SmTButtonResultWindow.class/instance/buttonText..st diff --git a/SmartTest.package/SmTButtonResultWindow.class/instance/buttonText.st b/SmartTest-UI.package/SmTButtonResultWindow.class/instance/buttonText.st similarity index 100% rename from SmartTest.package/SmTButtonResultWindow.class/instance/buttonText.st rename to SmartTest-UI.package/SmTButtonResultWindow.class/instance/buttonText.st diff --git a/SmartTest.package/SmTButtonResultWindow.class/instance/controler..st b/SmartTest-UI.package/SmTButtonResultWindow.class/instance/controler..st similarity index 100% rename from SmartTest.package/SmTButtonResultWindow.class/instance/controler..st rename to SmartTest-UI.package/SmTButtonResultWindow.class/instance/controler..st diff --git a/SmartTest.package/SmTButtonResultWindow.class/instance/controler.st b/SmartTest-UI.package/SmTButtonResultWindow.class/instance/controler.st similarity index 100% rename from SmartTest.package/SmTButtonResultWindow.class/instance/controler.st rename to SmartTest-UI.package/SmTButtonResultWindow.class/instance/controler.st diff --git a/SmartTest.package/SmTButtonResultWindow.class/instance/extent.st b/SmartTest-UI.package/SmTButtonResultWindow.class/instance/extent.st similarity index 100% rename from SmartTest.package/SmTButtonResultWindow.class/instance/extent.st rename to SmartTest-UI.package/SmTButtonResultWindow.class/instance/extent.st diff --git a/SmartTest.package/SmTButtonResultWindow.class/instance/fillFailedTestListFromTestResult..st b/SmartTest-UI.package/SmTButtonResultWindow.class/instance/fillFailedTestListFromTestResult..st similarity index 100% rename from SmartTest.package/SmTButtonResultWindow.class/instance/fillFailedTestListFromTestResult..st rename to SmartTest-UI.package/SmTButtonResultWindow.class/instance/fillFailedTestListFromTestResult..st diff --git a/SmartTest.package/SmTButtonResultWindow.class/instance/icons..st b/SmartTest-UI.package/SmTButtonResultWindow.class/instance/icons..st similarity index 100% rename from SmartTest.package/SmTButtonResultWindow.class/instance/icons..st rename to SmartTest-UI.package/SmTButtonResultWindow.class/instance/icons..st diff --git a/SmartTest.package/SmTButtonResultWindow.class/instance/icons.st b/SmartTest-UI.package/SmTButtonResultWindow.class/instance/icons.st similarity index 100% rename from SmartTest.package/SmTButtonResultWindow.class/instance/icons.st rename to SmartTest-UI.package/SmTButtonResultWindow.class/instance/icons.st diff --git a/SmartTest.package/SmTButtonResultWindow.class/instance/initializeWidgets.st b/SmartTest-UI.package/SmTButtonResultWindow.class/instance/initializeWidgets.st similarity index 100% rename from SmartTest.package/SmTButtonResultWindow.class/instance/initializeWidgets.st rename to SmartTest-UI.package/SmTButtonResultWindow.class/instance/initializeWidgets.st diff --git a/SmartTest.package/SmTButtonResultWindow.class/instance/setList..st b/SmartTest-UI.package/SmTButtonResultWindow.class/instance/setList..st similarity index 100% rename from SmartTest.package/SmTButtonResultWindow.class/instance/setList..st rename to SmartTest-UI.package/SmTButtonResultWindow.class/instance/setList..st diff --git a/SmartTest.package/SmTButtonResultWindow.class/instance/testList..st b/SmartTest-UI.package/SmTButtonResultWindow.class/instance/testList..st similarity index 100% rename from SmartTest.package/SmTButtonResultWindow.class/instance/testList..st rename to SmartTest-UI.package/SmTButtonResultWindow.class/instance/testList..st diff --git a/SmartTest.package/SmTButtonResultWindow.class/instance/testList.st b/SmartTest-UI.package/SmTButtonResultWindow.class/instance/testList.st similarity index 100% rename from SmartTest.package/SmTButtonResultWindow.class/instance/testList.st rename to SmartTest-UI.package/SmTButtonResultWindow.class/instance/testList.st diff --git a/SmartTest.package/SmTButtonResultWindow.class/instance/title.st b/SmartTest-UI.package/SmTButtonResultWindow.class/instance/title.st similarity index 100% rename from SmartTest.package/SmTButtonResultWindow.class/instance/title.st rename to SmartTest-UI.package/SmTButtonResultWindow.class/instance/title.st diff --git a/SmartTest.package/SmTButtonResultWindow.class/properties.json b/SmartTest-UI.package/SmTButtonResultWindow.class/properties.json similarity index 88% rename from SmartTest.package/SmTButtonResultWindow.class/properties.json rename to SmartTest-UI.package/SmTButtonResultWindow.class/properties.json index f04b48a..7a12fc3 100644 --- a/SmartTest.package/SmTButtonResultWindow.class/properties.json +++ b/SmartTest-UI.package/SmTButtonResultWindow.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "EleonoreWALD 5/2/2018 10:22", "super" : "ComposableModel", - "category" : "SmartTest-Morph", + "category" : "SmartTest-UI-Morph", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTest.package/SmTCollector.class/README.md b/SmartTest-UI.package/SmTCollector.class/README.md similarity index 100% rename from SmartTest.package/SmTCollector.class/README.md rename to SmartTest-UI.package/SmTCollector.class/README.md diff --git a/SmartTest.package/SmTCollector.class/instance/addTestMethod..st b/SmartTest-UI.package/SmTCollector.class/instance/addTestMethod..st similarity index 100% rename from SmartTest.package/SmTCollector.class/instance/addTestMethod..st rename to SmartTest-UI.package/SmTCollector.class/instance/addTestMethod..st diff --git a/SmartTest.package/SmTCollector.class/instance/addTestMethods..st b/SmartTest-UI.package/SmTCollector.class/instance/addTestMethods..st similarity index 100% rename from SmartTest.package/SmTCollector.class/instance/addTestMethods..st rename to SmartTest-UI.package/SmTCollector.class/instance/addTestMethods..st diff --git a/SmartTest.package/SmTCollector.class/instance/collector.st b/SmartTest-UI.package/SmTCollector.class/instance/collector.st similarity index 100% rename from SmartTest.package/SmTCollector.class/instance/collector.st rename to SmartTest-UI.package/SmTCollector.class/instance/collector.st diff --git a/SmartTest.package/SmTCollector.class/instance/flush.st b/SmartTest-UI.package/SmTCollector.class/instance/flush.st similarity index 100% rename from SmartTest.package/SmTCollector.class/instance/flush.st rename to SmartTest-UI.package/SmTCollector.class/instance/flush.st diff --git a/SmartTest.package/SmTCollector.class/properties.json b/SmartTest-UI.package/SmTCollector.class/properties.json similarity index 83% rename from SmartTest.package/SmTCollector.class/properties.json rename to SmartTest-UI.package/SmTCollector.class/properties.json index 3c96abb..272622f 100644 --- a/SmartTest.package/SmTCollector.class/properties.json +++ b/SmartTest-UI.package/SmTCollector.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "EleonoreWALD 5/3/2018 17:39", "super" : "Object", - "category" : "SmartTest-Collector", + "category" : "SmartTest-UI-Collector", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTest.package/SmTFivesMinutesCollector.class/README.md b/SmartTest-UI.package/SmTFivesMinutesCollector.class/README.md similarity index 100% rename from SmartTest.package/SmTFivesMinutesCollector.class/README.md rename to SmartTest-UI.package/SmTFivesMinutesCollector.class/README.md diff --git a/SmartTest.package/SmTFivesMinutesCollector.class/class/addTestMethod..st b/SmartTest-UI.package/SmTFivesMinutesCollector.class/class/addTestMethod..st similarity index 100% rename from SmartTest.package/SmTFivesMinutesCollector.class/class/addTestMethod..st rename to SmartTest-UI.package/SmTFivesMinutesCollector.class/class/addTestMethod..st diff --git a/SmartTest.package/SmTFivesMinutesCollector.class/class/addTestMethods..st b/SmartTest-UI.package/SmTFivesMinutesCollector.class/class/addTestMethods..st similarity index 100% rename from SmartTest.package/SmTFivesMinutesCollector.class/class/addTestMethods..st rename to SmartTest-UI.package/SmTFivesMinutesCollector.class/class/addTestMethods..st diff --git a/SmartTest.package/SmTFivesMinutesCollector.class/class/start.st b/SmartTest-UI.package/SmTFivesMinutesCollector.class/class/start.st similarity index 100% rename from SmartTest.package/SmTFivesMinutesCollector.class/class/start.st rename to SmartTest-UI.package/SmTFivesMinutesCollector.class/class/start.st diff --git a/SmartTest.package/SmTFivesMinutesCollector.class/class/stop.st b/SmartTest-UI.package/SmTFivesMinutesCollector.class/class/stop.st similarity index 100% rename from SmartTest.package/SmTFivesMinutesCollector.class/class/stop.st rename to SmartTest-UI.package/SmTFivesMinutesCollector.class/class/stop.st diff --git a/SmartTest.package/SmTFivesMinutesCollector.class/class/uniqueInstance.st b/SmartTest-UI.package/SmTFivesMinutesCollector.class/class/uniqueInstance.st similarity index 100% rename from SmartTest.package/SmTFivesMinutesCollector.class/class/uniqueInstance.st rename to SmartTest-UI.package/SmTFivesMinutesCollector.class/class/uniqueInstance.st diff --git a/SmartTest.package/SmTFivesMinutesCollector.class/instance/collector.st b/SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/collector.st similarity index 100% rename from SmartTest.package/SmTFivesMinutesCollector.class/instance/collector.st rename to SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/collector.st diff --git a/SmartTest.package/SmTFivesMinutesCollector.class/instance/process.st b/SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/process.st similarity index 100% rename from SmartTest.package/SmTFivesMinutesCollector.class/instance/process.st rename to SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/process.st diff --git a/SmartTest.package/SmTFivesMinutesCollector.class/instance/reset.st b/SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/reset.st similarity index 100% rename from SmartTest.package/SmTFivesMinutesCollector.class/instance/reset.st rename to SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/reset.st diff --git a/SmartTest.package/SmTFivesMinutesCollector.class/instance/showResult..st b/SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/showResult..st similarity index 100% rename from SmartTest.package/SmTFivesMinutesCollector.class/instance/showResult..st rename to SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/showResult..st diff --git a/SmartTest.package/SmTFivesMinutesCollector.class/instance/start.st b/SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/start.st similarity index 100% rename from SmartTest.package/SmTFivesMinutesCollector.class/instance/start.st rename to SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/start.st diff --git a/SmartTest.package/SmTFivesMinutesCollector.class/instance/stop.st b/SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/stop.st similarity index 100% rename from SmartTest.package/SmTFivesMinutesCollector.class/instance/stop.st rename to SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/stop.st diff --git a/SmartTest.package/SmTFivesMinutesCollector.class/properties.json b/SmartTest-UI.package/SmTFivesMinutesCollector.class/properties.json similarity index 86% rename from SmartTest.package/SmTFivesMinutesCollector.class/properties.json rename to SmartTest-UI.package/SmTFivesMinutesCollector.class/properties.json index 3fb9d48..d851b41 100644 --- a/SmartTest.package/SmTFivesMinutesCollector.class/properties.json +++ b/SmartTest-UI.package/SmTFivesMinutesCollector.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "BenoitVerhaeghe 6/28/2017 16:19", "super" : "SmTCollector", - "category" : "SmartTest-Collector", + "category" : "SmartTest-UI-Collector", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ diff --git a/SmartTest.package/SmTIconFabric.class/README.md b/SmartTest-UI.package/SmTIconFabric.class/README.md similarity index 100% rename from SmartTest.package/SmTIconFabric.class/README.md rename to SmartTest-UI.package/SmTIconFabric.class/README.md diff --git a/SmartTest.package/SmTIconFabric.class/class/createIconForMethod..st b/SmartTest-UI.package/SmTIconFabric.class/class/createIconForMethod..st similarity index 100% rename from SmartTest.package/SmTIconFabric.class/class/createIconForMethod..st rename to SmartTest-UI.package/SmTIconFabric.class/class/createIconForMethod..st diff --git a/SmartTest.package/SmTIconFabric.class/class/createIconForMethods..st b/SmartTest-UI.package/SmTIconFabric.class/class/createIconForMethods..st similarity index 100% rename from SmartTest.package/SmTIconFabric.class/class/createIconForMethods..st rename to SmartTest-UI.package/SmTIconFabric.class/class/createIconForMethods..st diff --git a/SmartTest.package/SmTIconFabric.class/properties.json b/SmartTest-UI.package/SmTIconFabric.class/properties.json similarity index 84% rename from SmartTest.package/SmTIconFabric.class/properties.json rename to SmartTest-UI.package/SmTIconFabric.class/properties.json index 0a733c4..ff9dd74 100644 --- a/SmartTest.package/SmTIconFabric.class/properties.json +++ b/SmartTest-UI.package/SmTIconFabric.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "BenoitVerhaeghe 6/28/2017 15:45", "super" : "Object", - "category" : "SmartTest-Tools", + "category" : "SmartTest-UI-Tools", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTest.package/SmTProgressCircle.class/README.md b/SmartTest-UI.package/SmTProgressCircle.class/README.md similarity index 100% rename from SmartTest.package/SmTProgressCircle.class/README.md rename to SmartTest-UI.package/SmTProgressCircle.class/README.md diff --git a/SmartTest.package/SmTProgressCircle.class/instance/controler..st b/SmartTest-UI.package/SmTProgressCircle.class/instance/controler..st similarity index 100% rename from SmartTest.package/SmTProgressCircle.class/instance/controler..st rename to SmartTest-UI.package/SmTProgressCircle.class/instance/controler..st diff --git a/SmartTest.package/SmTProgressCircle.class/instance/drawOn..st b/SmartTest-UI.package/SmTProgressCircle.class/instance/drawOn..st similarity index 100% rename from SmartTest.package/SmTProgressCircle.class/instance/drawOn..st rename to SmartTest-UI.package/SmTProgressCircle.class/instance/drawOn..st diff --git a/SmartTest.package/SmTProgressCircle.class/instance/handlesMouseDown..st b/SmartTest-UI.package/SmTProgressCircle.class/instance/handlesMouseDown..st similarity index 100% rename from SmartTest.package/SmTProgressCircle.class/instance/handlesMouseDown..st rename to SmartTest-UI.package/SmTProgressCircle.class/instance/handlesMouseDown..st diff --git a/SmartTest.package/SmTProgressCircle.class/instance/mouseDown..st b/SmartTest-UI.package/SmTProgressCircle.class/instance/mouseDown..st similarity index 100% rename from SmartTest.package/SmTProgressCircle.class/instance/mouseDown..st rename to SmartTest-UI.package/SmTProgressCircle.class/instance/mouseDown..st diff --git a/SmartTest.package/SmTProgressCircle.class/instance/percentage..st b/SmartTest-UI.package/SmTProgressCircle.class/instance/percentage..st similarity index 100% rename from SmartTest.package/SmTProgressCircle.class/instance/percentage..st rename to SmartTest-UI.package/SmTProgressCircle.class/instance/percentage..st diff --git a/SmartTest.package/SmTProgressCircle.class/instance/percentage.st b/SmartTest-UI.package/SmTProgressCircle.class/instance/percentage.st similarity index 100% rename from SmartTest.package/SmTProgressCircle.class/instance/percentage.st rename to SmartTest-UI.package/SmTProgressCircle.class/instance/percentage.st diff --git a/SmartTest.package/SmTProgressCircle.class/properties.json b/SmartTest-UI.package/SmTProgressCircle.class/properties.json similarity index 85% rename from SmartTest.package/SmTProgressCircle.class/properties.json rename to SmartTest-UI.package/SmTProgressCircle.class/properties.json index 7a6c116..b54f264 100644 --- a/SmartTest.package/SmTProgressCircle.class/properties.json +++ b/SmartTest-UI.package/SmTProgressCircle.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "BenoitVerhaeghe 7/18/2017 10:40", "super" : "CircleMorph", - "category" : "SmartTest-Morph", + "category" : "SmartTest-UI-Collector", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTest-UI.package/monticello.meta/categories.st b/SmartTest-UI.package/monticello.meta/categories.st new file mode 100644 index 0000000..353c91a --- /dev/null +++ b/SmartTest-UI.package/monticello.meta/categories.st @@ -0,0 +1,5 @@ +SystemOrganization addCategory: #'SmartTest-UI'! +SystemOrganization addCategory: #'SmartTest-UI-CalypsoExtension'! +SystemOrganization addCategory: #'SmartTest-UI-Collector'! +SystemOrganization addCategory: #'SmartTest-UI-Morph'! +SystemOrganization addCategory: #'SmartTest-UI-Tools'! diff --git a/SmartTest-UI.package/monticello.meta/initializers.st b/SmartTest-UI.package/monticello.meta/initializers.st new file mode 100644 index 0000000..e69de29 diff --git a/SmartTest-UI.package/monticello.meta/package b/SmartTest-UI.package/monticello.meta/package new file mode 100644 index 0000000..e49594a --- /dev/null +++ b/SmartTest-UI.package/monticello.meta/package @@ -0,0 +1 @@ +(name 'SmartTest-UI') \ No newline at end of file diff --git a/SmartTest-UI.package/properties.json b/SmartTest-UI.package/properties.json new file mode 100644 index 0000000..6f31cf5 --- /dev/null +++ b/SmartTest-UI.package/properties.json @@ -0,0 +1 @@ +{ } \ No newline at end of file From 02761e79e455b022228ecbe62c3e2a8ed6f5b6d1 Mon Sep 17 00:00:00 2001 From: eleonoreW Date: Fri, 15 Jun 2018 12:01:04 +0200 Subject: [PATCH 101/150] Small correction because there was a loop in the baseline installation --- .../BaselineOfSmartTest.class/instance/baseline..st | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/baseline..st b/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/baseline..st index baf5e33..cc66b3b 100644 --- a/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/baseline..st +++ b/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/baseline..st @@ -5,7 +5,7 @@ baseline: spec for: #common do: [ spec repository: 'github://badetitou/SmartTest'; - package: 'SmartTest' with: [ spec requires: #('SmartTest-UI') ]; + package: 'SmartTest'; package: 'SmartTest-Tests' with: [ spec requires: #('SmartTest' 'SmartTest-Tests-Data' 'SmartTestDataOutsideP1' 'SmartTestDataOutsideP3' 'SmartTestDataOutsideP2' 'SmartTestDataOutsideP4') ]; package: 'SmartTestDataOutsideP1' with: [ spec requires: #('SmartTest' 'SmartTestDataOutsideP3' 'SmartTestDataOutsideP2') ]; package: 'SmartTestDataOutsideP2' with: [ spec requires: #('SmartTest') ]; @@ -13,5 +13,5 @@ baseline: spec package: 'SmartTestDataOutsideP4' with: [ spec requires: #('SmartTest') ]; package: 'SmartTest-Tests-Data' with: [ spec requires: #('SmartTest') ]; package: 'SmartTest-UI' with: [ spec requires: #('SmartTest') ]; - group: 'default' with: #('SmartTest'); + group: 'default' with: #('SmartTest' 'SmartTest-UI'); group: 'test' with: #('SmartTest' 'SmartTest-Tests') ] \ No newline at end of file From 67be86245e135420729bea57d15dffc5c2d582af Mon Sep 17 00:00:00 2001 From: eleonoreW Date: Fri, 15 Jun 2018 14:14:29 +0200 Subject: [PATCH 102/150] Just renaming methods beginning with "test" with "searchTest" because it is not good practice --- .../instance/searchTestMethodsForAClass..st | 2 +- .../instance/searchTestsForInstVar.ofClass..st | 2 +- .../instance/searchTestsForASetUpMethod..st | 3 +++ .../instance/searchTestsForATearDownMethod..st | 3 +++ .../instance/searchTestsForATestMethod..st | 3 +++ .../instance/testSetupMethodFindsTests.st | 2 +- .../testSetupMethodWithNonSetupFindsNoTests.st | 2 +- .../instance/testTearDownMethodFindsTests.st | 2 +- ...TearDownMethodWithNoneTearDownFindsNoTests.st | 2 +- .../instance/testTestSelfSelected.st | 2 +- .../instance/testsForASetUpMethod..st | 3 --- .../instance/testsForATearDownMethod..st | 3 --- .../instance/testsForATestMethod..st | 3 --- .../instance/testTestSelfSelected.st | 2 +- ...nce..st => searchTestsForMethodReference..st} | 2 +- .../instance/searchTestsForMethodReference..st | 3 +++ .../instance/testsForMethodReference..st | 3 --- .../instance/searchTestsForMethodReference..st | 3 +++ .../instance/testsForMethodReference..st | 3 --- ...hod..st => searchTestsForAStandardMethod..st} | 4 ++-- .../instance/methodsFor.forThePackage..st | 14 +++++++------- ...stsForAClass..st => searchTestsForAClass..st} | 2 +- ...ss..st => searchTestsForAInstVar.OfClass..st} | 2 +- ...hod..st => searchTestsForAStandardMethod..st} | 2 +- .../instance/addATest.toMethodReference..st | 2 +- .../instance/searchTestsForAStandardMethod..st | 4 ++++ ...testsForClass..st => searchTestsForClass..st} | 2 +- .../instance/testsForAStandardMethod..st | 4 ---- .../instance/addATest.toMethod..st | 2 +- .../instance/methodsFor..st | 4 ++-- .../instance/methodsFor..st | 16 ++++++++-------- ...stsForAClass..st => searchTestsForAClass..st} | 2 +- ...orAInstVar..st => searchTestsForAInstVar..st} | 2 +- ...Method..st => searchTestsForASetUpMethod..st} | 2 +- ...hod..st => searchTestsForAStandardMethod..st} | 2 +- ...hod..st => searchTestsForATearDownMethod..st} | 2 +- ...tMethod..st => searchTestsForATestMethod..st} | 2 +- ...Of..st => searchTestsForClassReferenceOf..st} | 2 +- ...stsForMethod..st => searchTestsForMethod..st} | 2 +- .../instance/searchTestsForMethodReference..st | 3 +++ .../instance/testsForMethodReference..st | 3 --- .../instance/searchTestsForASetUpMethod..st | 3 +++ .../instance/searchTestsForATearDownMethod..st | 3 +++ .../instance/searchTestsForATestMethod..st | 3 +++ .../instance/testsForASetUpMethod..st | 3 --- .../instance/testsForATearDownMethod..st | 3 --- .../instance/testsForATestMethod..st | 3 --- 47 files changed, 73 insertions(+), 73 deletions(-) create mode 100644 SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/searchTestsForASetUpMethod..st create mode 100644 SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/searchTestsForATearDownMethod..st create mode 100644 SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/searchTestsForATestMethod..st delete mode 100644 SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testsForASetUpMethod..st delete mode 100644 SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testsForATearDownMethod..st delete mode 100644 SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testsForATestMethod..st rename SmartTest.package/SmTBasicCacheStrategy.class/instance/{testsForMethodReference..st => searchTestsForMethodReference..st} (60%) create mode 100644 SmartTest.package/SmTCacheStrategy.class/instance/searchTestsForMethodReference..st delete mode 100644 SmartTest.package/SmTCacheStrategy.class/instance/testsForMethodReference..st create mode 100644 SmartTest.package/SmTNoCacheStrategy.class/instance/searchTestsForMethodReference..st delete mode 100644 SmartTest.package/SmTNoCacheStrategy.class/instance/testsForMethodReference..st rename SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/{testsForAStandardMethod..st => searchTestsForAStandardMethod..st} (51%) rename SmartTest.package/SmTSenderTestFinderStrategy.class/instance/{testsForAClass..st => searchTestsForAClass..st} (84%) rename SmartTest.package/SmTSenderTestFinderStrategy.class/instance/{testsForAInstVar.OfClass..st => searchTestsForAInstVar.OfClass..st} (88%) rename SmartTest.package/SmTSenderTestFinderStrategy.class/instance/{testsForAStandardMethod..st => searchTestsForAStandardMethod..st} (82%) create mode 100644 SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/searchTestsForAStandardMethod..st rename SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/{testsForClass..st => searchTestsForClass..st} (94%) delete mode 100644 SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/testsForAStandardMethod..st rename SmartTest.package/SmTTestFinderStrategy.class/instance/{testsForAClass..st => searchTestsForAClass..st} (58%) rename SmartTest.package/SmTTestFinderStrategy.class/instance/{testsForAInstVar..st => searchTestsForAInstVar..st} (80%) rename SmartTest.package/SmTTestFinderStrategy.class/instance/{testsForASetUpMethod..st => searchTestsForASetUpMethod..st} (90%) rename SmartTest.package/SmTTestFinderStrategy.class/instance/{testsForAStandardMethod..st => searchTestsForAStandardMethod..st} (65%) rename SmartTest.package/SmTTestFinderStrategy.class/instance/{testsForATearDownMethod..st => searchTestsForATearDownMethod..st} (90%) rename SmartTest.package/SmTTestFinderStrategy.class/instance/{testsForATestMethod..st => searchTestsForATestMethod..st} (71%) rename SmartTest.package/SmTTestFinderStrategy.class/instance/{testsForClassReferenceOf..st => searchTestsForClassReferenceOf..st} (90%) rename SmartTest.package/SmTTestFinderStrategy.class/instance/{testsForMethod..st => searchTestsForMethod..st} (76%) create mode 100644 SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForMethodReference..st delete mode 100644 SmartTest.package/SmTTestFinderStrategy.class/instance/testsForMethodReference..st create mode 100644 SmartTest.package/SmartFinder.class/instance/searchTestsForASetUpMethod..st create mode 100644 SmartTest.package/SmartFinder.class/instance/searchTestsForATearDownMethod..st create mode 100644 SmartTest.package/SmartFinder.class/instance/searchTestsForATestMethod..st delete mode 100644 SmartTest.package/SmartFinder.class/instance/testsForASetUpMethod..st delete mode 100644 SmartTest.package/SmartFinder.class/instance/testsForATearDownMethod..st delete mode 100644 SmartTest.package/SmartFinder.class/instance/testsForATestMethod..st diff --git a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/searchTestMethodsForAClass..st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/searchTestMethodsForAClass..st index 891b8b2..752bfa5 100644 --- a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/searchTestMethodsForAClass..st +++ b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/searchTestMethodsForAClass..st @@ -1,4 +1,4 @@ helpers searchTestMethodsForAClass: aClass - ^ smartFinder smtFinder testsForAClass: aClass. \ No newline at end of file + ^ smartFinder smtFinder searchTestsForAClass: aClass. \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/searchTestsForInstVar.ofClass..st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/searchTestsForInstVar.ofClass..st index 3c10bfc..e067f9c 100644 --- a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/searchTestsForInstVar.ofClass..st +++ b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/searchTestsForInstVar.ofClass..st @@ -1,3 +1,3 @@ helpers searchTestsForInstVar: aInstanceVariable ofClass: aClass - ^ smartFinder smtFinder testsForAInstVar: aInstanceVariable OfClass: aClass \ No newline at end of file + ^ smartFinder smtFinder searchTestsForAInstVar: aInstanceVariable OfClass: aClass \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/searchTestsForASetUpMethod..st b/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/searchTestsForASetUpMethod..st new file mode 100644 index 0000000..dbb2c8c --- /dev/null +++ b/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/searchTestsForASetUpMethod..st @@ -0,0 +1,3 @@ +helpers +searchTestsForASetUpMethod: aCompiledMethod + ^ smartFinder searchTestsForASetUpMethod: aCompiledMethod \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/searchTestsForATearDownMethod..st b/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/searchTestsForATearDownMethod..st new file mode 100644 index 0000000..98d7510 --- /dev/null +++ b/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/searchTestsForATearDownMethod..st @@ -0,0 +1,3 @@ +helpers +searchTestsForATearDownMethod: aCompiledMethod + ^ smartFinder searchTestsForATearDownMethod: aCompiledMethod \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/searchTestsForATestMethod..st b/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/searchTestsForATestMethod..st new file mode 100644 index 0000000..3f5f50e --- /dev/null +++ b/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/searchTestsForATestMethod..st @@ -0,0 +1,3 @@ +helpers +searchTestsForATestMethod: aCompiledMethod + ^ smartFinder searchTestsForATestMethod: aCompiledMethod \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testSetupMethodFindsTests.st b/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testSetupMethodFindsTests.st index 5a2a133..d2f60ed 100644 --- a/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testSetupMethodFindsTests.st +++ b/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testSetupMethodFindsTests.st @@ -3,7 +3,7 @@ testSetupMethodFindsTests "asserts that the method SmTClassTest>>setup is related to the testMethods 1 to 4 and that 'testsForASetupMethod' finds all the good tests related to a setup method." | testsFound | - testsFound := self testsForASetUpMethod: SmTClassTest >> #setUp. + testsFound := self searchTestsForASetUpMethod: SmTClassTest >> #setUp. self assert: testsFound isNotEmpty. self assert: (testsFound includes: testMethod1). diff --git a/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testSetupMethodWithNonSetupFindsNoTests.st b/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testSetupMethodWithNonSetupFindsNoTests.st index df8f65a..aeb7567 100644 --- a/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testSetupMethodWithNonSetupFindsNoTests.st +++ b/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testSetupMethodWithNonSetupFindsNoTests.st @@ -3,6 +3,6 @@ testSetupMethodWithNonSetupFindsNoTests "asserts that if we use the method 'testsForASetupMethod' with a non setup method as a parameter, the method returns nothing" | testsFound | - testsFound := self testsForASetUpMethod: SmTClassTest >> #testMethod1. + testsFound := self searchTestsForASetUpMethod: SmTClassTest >> #testMethod1. self assert: testsFound isEmpty. \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testTearDownMethodFindsTests.st b/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testTearDownMethodFindsTests.st index 3275ae8..4d100d6 100644 --- a/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testTearDownMethodFindsTests.st +++ b/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testTearDownMethodFindsTests.st @@ -2,7 +2,7 @@ tests testTearDownMethodFindsTests | testsFound | - testsFound := self testsForATearDownMethod: SmTClassTest >> #tearDown. + testsFound := self searchTestsForATearDownMethod: SmTClassTest >> #tearDown. self assert: testsFound isNotEmpty. self assert: (testsFound includes: testMethod1). diff --git a/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testTearDownMethodWithNoneTearDownFindsNoTests.st b/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testTearDownMethodWithNoneTearDownFindsNoTests.st index 35308f1..898c8dd 100644 --- a/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testTearDownMethodWithNoneTearDownFindsNoTests.st +++ b/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testTearDownMethodWithNoneTearDownFindsNoTests.st @@ -2,4 +2,4 @@ tests testTearDownMethodWithNoneTearDownFindsNoTests - self assert: (self testsForATearDownMethod: SmTClassTest >> #testMethod1) isEmpty. \ No newline at end of file + self assert: (self searchTestsForATearDownMethod: SmTClassTest >> #testMethod1) isEmpty. \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testTestSelfSelected.st b/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testTestSelfSelected.st index 0b7efb6..245e871 100644 --- a/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testTestSelfSelected.st +++ b/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testTestSelfSelected.st @@ -2,7 +2,7 @@ tests testTestSelfSelected | testsFound | - testsFound := self testsForATestMethod: SmTClassTest >> #testMethod1. + testsFound := self searchTestsForATestMethod: SmTClassTest >> #testMethod1. self assert: (testsFound includes: testMethod1). self deny: (testsFound includes: testMethod2). diff --git a/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testsForASetUpMethod..st b/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testsForASetUpMethod..st deleted file mode 100644 index cf4973b..0000000 --- a/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testsForASetUpMethod..st +++ /dev/null @@ -1,3 +0,0 @@ -helpers -testsForASetUpMethod: aCompiledMethod - ^ smartFinder testsForASetUpMethod: aCompiledMethod \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testsForATearDownMethod..st b/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testsForATearDownMethod..st deleted file mode 100644 index a3b088e..0000000 --- a/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testsForATearDownMethod..st +++ /dev/null @@ -1,3 +0,0 @@ -helpers -testsForATearDownMethod: aCompiledMethod - ^ smartFinder testsForATearDownMethod: aCompiledMethod \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testsForATestMethod..st b/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testsForATestMethod..st deleted file mode 100644 index 030eaf6..0000000 --- a/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testsForATestMethod..st +++ /dev/null @@ -1,3 +0,0 @@ -helpers -testsForATestMethod: aCompiledMethod - ^ smartFinder testsForATestMethod: aCompiledMethod \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTTestCoverageFinderTest.class/instance/testTestSelfSelected.st b/SmartTest-Tests.package/SmTTestCoverageFinderTest.class/instance/testTestSelfSelected.st index ac7c355..ef87c9f 100644 --- a/SmartTest-Tests.package/SmTTestCoverageFinderTest.class/instance/testTestSelfSelected.st +++ b/SmartTest-Tests.package/SmTTestCoverageFinderTest.class/instance/testTestSelfSelected.st @@ -3,7 +3,7 @@ testTestSelfSelected "this method is redundant with the abstract method" | testsFound | - testsFound := self testsForATestMethod: SmTClassTest >> #testMethod1. + testsFound := self searchTestsForATestMethod: SmTClassTest >> #testMethod1. self assert: (testsFound includes: testMethod1). self deny: (testsFound includes: testMethod2). self deny: (testsFound includes: testMethod3). diff --git a/SmartTest.package/SmTBasicCacheStrategy.class/instance/testsForMethodReference..st b/SmartTest.package/SmTBasicCacheStrategy.class/instance/searchTestsForMethodReference..st similarity index 60% rename from SmartTest.package/SmTBasicCacheStrategy.class/instance/testsForMethodReference..st rename to SmartTest.package/SmTBasicCacheStrategy.class/instance/searchTestsForMethodReference..st index 267a88e..5a4bbd4 100644 --- a/SmartTest.package/SmTBasicCacheStrategy.class/instance/testsForMethodReference..st +++ b/SmartTest.package/SmTBasicCacheStrategy.class/instance/searchTestsForMethodReference..st @@ -1,3 +1,3 @@ private -testsForMethodReference: aMethodReference +searchTestsForMethodReference: aMethodReference ^ self currentCache at: aMethodReference ifAbsentPut: [ Set new ] \ No newline at end of file diff --git a/SmartTest.package/SmTCacheStrategy.class/instance/searchTestsForMethodReference..st b/SmartTest.package/SmTCacheStrategy.class/instance/searchTestsForMethodReference..st new file mode 100644 index 0000000..8fffffb --- /dev/null +++ b/SmartTest.package/SmTCacheStrategy.class/instance/searchTestsForMethodReference..st @@ -0,0 +1,3 @@ +private +searchTestsForMethodReference: aMethodReference + self subclassResponsibility \ No newline at end of file diff --git a/SmartTest.package/SmTCacheStrategy.class/instance/testsForMethodReference..st b/SmartTest.package/SmTCacheStrategy.class/instance/testsForMethodReference..st deleted file mode 100644 index da0a187..0000000 --- a/SmartTest.package/SmTCacheStrategy.class/instance/testsForMethodReference..st +++ /dev/null @@ -1,3 +0,0 @@ -private -testsForMethodReference: aMethodReference - self subclassResponsibility \ No newline at end of file diff --git a/SmartTest.package/SmTNoCacheStrategy.class/instance/searchTestsForMethodReference..st b/SmartTest.package/SmTNoCacheStrategy.class/instance/searchTestsForMethodReference..st new file mode 100644 index 0000000..f30a1fa --- /dev/null +++ b/SmartTest.package/SmTNoCacheStrategy.class/instance/searchTestsForMethodReference..st @@ -0,0 +1,3 @@ +private +searchTestsForMethodReference: aMethodReference + ^ Set new \ No newline at end of file diff --git a/SmartTest.package/SmTNoCacheStrategy.class/instance/testsForMethodReference..st b/SmartTest.package/SmTNoCacheStrategy.class/instance/testsForMethodReference..st deleted file mode 100644 index 2804a0d..0000000 --- a/SmartTest.package/SmTNoCacheStrategy.class/instance/testsForMethodReference..st +++ /dev/null @@ -1,3 +0,0 @@ -private -testsForMethodReference: aMethodReference - ^ Set new \ No newline at end of file diff --git a/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/testsForAStandardMethod..st b/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/searchTestsForAStandardMethod..st similarity index 51% rename from SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/testsForAStandardMethod..st rename to SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/searchTestsForAStandardMethod..st index 317c079..b7f774b 100644 --- a/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/testsForAStandardMethod..st +++ b/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/searchTestsForAStandardMethod..st @@ -1,6 +1,6 @@ private -testsForAStandardMethod: aCompiledMethod +searchTestsForAStandardMethod: aCompiledMethod self cache at: aCompiledMethod methodReference ifAbsent: [ self searchRelativeTestForMethod: aCompiledMethod ]. - ^ (self testsForMethod: aCompiledMethod) collect: #compiledMethod \ No newline at end of file + ^ (self searchTestsForMethod: aCompiledMethod) collect: #compiledMethod \ No newline at end of file diff --git a/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/methodsFor.forThePackage..st b/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/methodsFor.forThePackage..st index ece7f9c..f9327f5 100644 --- a/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/methodsFor.forThePackage..st +++ b/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/methodsFor.forThePackage..st @@ -2,24 +2,24 @@ api methodsFor: aCompiledMethod forThePackage: packages ^ self cache at: aCompiledMethod methodReference - ifAbsent: [ (self testsForATestMethod: aCompiledMethod) + ifAbsent: [ (self searchTestsForATestMethod: aCompiledMethod) ifNotEmpty: [ :methods | - ^ (self testsForMethod: aCompiledMethod) + ^ (self searchTestsForMethod: aCompiledMethod) addAll: (self computeInheritedTestFromDiscoveredTest: methods); yourself ]. - (self testsForASetUpMethod: aCompiledMethod) + (self searchTestsForASetUpMethod: aCompiledMethod) ifNotEmpty: [ :methods | - ^ (self testsForMethod: aCompiledMethod) + ^ (self searchTestsForMethod: aCompiledMethod) addAll: (self computeInheritedTestFromDiscoveredTest: methods); yourself ]. - (self testsForATearDownMethod: aCompiledMethod) + (self searchTestsForATearDownMethod: aCompiledMethod) ifNotEmpty: [ :methods | - ^ (self testsForMethod: aCompiledMethod) + ^ (self searchTestsForMethod: aCompiledMethod) addAll: (self computeInheritedTestFromDiscoveredTest: methods); yourself ]. (self recursiveSearchForAStandardMethod: (aCompiledMethod asRingDefinition) inPackages: packages ) ifNotEmpty: [ :methods | - ^ (self testsForMethod: aCompiledMethod) + ^ (self searchTestsForMethod: aCompiledMethod) addAll: (self computeInheritedTestFromDiscoveredTest: methods); yourself ]. self cache at: aCompiledMethod methodReference put: Set new. diff --git a/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/testsForAClass..st b/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/searchTestsForAClass..st similarity index 84% rename from SmartTest.package/SmTSenderTestFinderStrategy.class/instance/testsForAClass..st rename to SmartTest.package/SmTSenderTestFinderStrategy.class/instance/searchTestsForAClass..st index 7e48475..0e73de2 100644 --- a/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/testsForAClass..st +++ b/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/searchTestsForAClass..st @@ -1,5 +1,5 @@ accessing -testsForAClass: aClass +searchTestsForAClass: aClass | packagesToLookAt | packagesToLookAt := self filter extractPackagesFrom: aClass. ^ self recursiveSearchForAClass: aClass inPackages: packagesToLookAt \ No newline at end of file diff --git a/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/testsForAInstVar.OfClass..st b/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/searchTestsForAInstVar.OfClass..st similarity index 88% rename from SmartTest.package/SmTSenderTestFinderStrategy.class/instance/testsForAInstVar.OfClass..st rename to SmartTest.package/SmTSenderTestFinderStrategy.class/instance/searchTestsForAInstVar.OfClass..st index 90fe65a..e72ead9 100644 --- a/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/testsForAInstVar.OfClass..st +++ b/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/searchTestsForAInstVar.OfClass..st @@ -1,5 +1,5 @@ accessing -testsForAInstVar: aInstanceVariable OfClass: aClass +searchTestsForAInstVar: aInstanceVariable OfClass: aClass "This method returns all the tests related to a instance variable." | testsFound senders | diff --git a/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/testsForAStandardMethod..st b/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/searchTestsForAStandardMethod..st similarity index 82% rename from SmartTest.package/SmTSenderTestFinderStrategy.class/instance/testsForAStandardMethod..st rename to SmartTest.package/SmTSenderTestFinderStrategy.class/instance/searchTestsForAStandardMethod..st index ecf2b39..6706616 100644 --- a/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/testsForAStandardMethod..st +++ b/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/searchTestsForAStandardMethod..st @@ -1,5 +1,5 @@ API -testsForAStandardMethod: aCompiledMethod +searchTestsForAStandardMethod: aCompiledMethod | packagesToLookAt | packagesToLookAt := self filter extractPackagesFrom: aCompiledMethod. ^ (self diff --git a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/addATest.toMethodReference..st b/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/addATest.toMethodReference..st index 32bc102..e20b9e5 100644 --- a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/addATest.toMethodReference..st +++ b/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/addATest.toMethodReference..st @@ -1,4 +1,4 @@ adding addATest: aTestCase toMethodReference: aMethodReference - (self testsForMethodReference: aMethodReference) + (self searchTestsForMethodReference: aMethodReference) add: aTestCase methodReference \ No newline at end of file diff --git a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/searchTestsForAStandardMethod..st b/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/searchTestsForAStandardMethod..st new file mode 100644 index 0000000..0d11c84 --- /dev/null +++ b/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/searchTestsForAStandardMethod..st @@ -0,0 +1,4 @@ +api +searchTestsForAStandardMethod: aCompiledMethod + self searchRelativeTestForMethod: aCompiledMethod. + ^ self searchTestsForMethod: aCompiledMethod \ No newline at end of file diff --git a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/testsForClass..st b/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/searchTestsForClass..st similarity index 94% rename from SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/testsForClass..st rename to SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/searchTestsForClass..st index 06bed1c..7afb9c2 100644 --- a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/testsForClass..st +++ b/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/searchTestsForClass..st @@ -1,5 +1,5 @@ api -testsForClass: aClass +searchTestsForClass: aClass "Find all tests in related packages that reference the method's class" | allSendersClass allTests | allSendersClass := (aClass allCallsOn diff --git a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/testsForAStandardMethod..st b/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/testsForAStandardMethod..st deleted file mode 100644 index 9b787ed..0000000 --- a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/testsForAStandardMethod..st +++ /dev/null @@ -1,4 +0,0 @@ -api -testsForAStandardMethod: aCompiledMethod - self searchRelativeTestForMethod: aCompiledMethod. - ^ self testsForMethod: aCompiledMethod \ No newline at end of file diff --git a/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/addATest.toMethod..st b/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/addATest.toMethod..st index 3fbfe84..a88d7d3 100644 --- a/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/addATest.toMethod..st +++ b/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/addATest.toMethod..st @@ -1,4 +1,4 @@ api addATest: aTestCase toMethod: aCompiledMethod - (self testsForMethod: aCompiledMethod) + (self searchTestsForMethod: aCompiledMethod) add: aTestCase methodReference \ No newline at end of file diff --git a/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/methodsFor..st b/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/methodsFor..st index 5b22b36..540984c 100644 --- a/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/methodsFor..st +++ b/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/methodsFor..st @@ -5,14 +5,14 @@ methodsFor: aCompiledMethod at: aCompiledMethod methodReference ifAbsent: [ (self shouldTryToFindTestForDynamic ) ifFalse: [ ^ {} ]. - #(testsForATestMethod: testsForASetUpMethod: testsForATearDownMethod: testsForAStandardMethod:) + #(#searchTestsForATestMethod: #searchTestsForASetUpMethod: #searchTestsForATearDownMethod: #searchTestsForAStandardMethod:) do: [ :heuristic | | methods | methods := [ self perform: heuristic with: aCompiledMethod ] on: MessageNotUnderstood do: [ #() ]. methods isEmpty - ifFalse: [ finalFoundMethod := self testsForMethod: aCompiledMethod. + ifFalse: [ finalFoundMethod := self searchTestsForMethod: aCompiledMethod. finalFoundMethod addAll: (self computeInheritedTestFromDiscoveredTest: methods) asOrderedCollection. ^ finalFoundMethod ] ]. self cache at: aCompiledMethod methodReference put: Set new. diff --git a/SmartTest.package/SmTTestFinderStrategy.class/instance/methodsFor..st b/SmartTest.package/SmTTestFinderStrategy.class/instance/methodsFor..st index d99c2dc..0544d36 100644 --- a/SmartTest.package/SmTTestFinderStrategy.class/instance/methodsFor..st +++ b/SmartTest.package/SmTTestFinderStrategy.class/instance/methodsFor..st @@ -2,24 +2,24 @@ api methodsFor: aCompiledMethod ^ self cache at: aCompiledMethod methodReference - ifAbsent: [ (self testsForATestMethod: aCompiledMethod) + ifAbsent: [ (self searchTestsForATestMethod: aCompiledMethod) ifNotEmpty: [ :methods | - ^ (self testsForMethod: aCompiledMethod) + ^ (self searchTestsForMethod: aCompiledMethod) addAll: (self computeInheritedTestFromDiscoveredTest: methods); yourself ]. - (self testsForASetUpMethod: aCompiledMethod) + (self searchTestsForASetUpMethod: aCompiledMethod) ifNotEmpty: [ :methods | - ^ (self testsForMethod: aCompiledMethod) + ^ (self searchTestsForMethod: aCompiledMethod) addAll: (self computeInheritedTestFromDiscoveredTest: methods); yourself ]. - (self testsForATearDownMethod: aCompiledMethod) + (self searchTestsForATearDownMethod: aCompiledMethod) ifNotEmpty: [ :methods | - ^ (self testsForMethod: aCompiledMethod) + ^ (self searchTestsForMethod: aCompiledMethod) addAll: (self computeInheritedTestFromDiscoveredTest: methods); yourself ]. - (self testsForAStandardMethod: aCompiledMethod) + (self searchTestsForAStandardMethod: aCompiledMethod) ifNotEmpty: [ :methods | - ^ (self testsForMethod: aCompiledMethod) + ^ (self searchTestsForMethod: aCompiledMethod) addAll: (self computeInheritedTestFromDiscoveredTest: methods); yourself ]. self cache at: aCompiledMethod methodReference put: Set new. diff --git a/SmartTest.package/SmTTestFinderStrategy.class/instance/testsForAClass..st b/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForAClass..st similarity index 58% rename from SmartTest.package/SmTTestFinderStrategy.class/instance/testsForAClass..st rename to SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForAClass..st index ec94fbf..5189262 100644 --- a/SmartTest.package/SmTTestFinderStrategy.class/instance/testsForAClass..st +++ b/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForAClass..st @@ -1,4 +1,4 @@ accessing -testsForAClass: aClass +searchTestsForAClass: aClass self subclassResponsibility \ No newline at end of file diff --git a/SmartTest.package/SmTTestFinderStrategy.class/instance/testsForAInstVar..st b/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForAInstVar..st similarity index 80% rename from SmartTest.package/SmTTestFinderStrategy.class/instance/testsForAInstVar..st rename to SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForAInstVar..st index 018aed5..c6c6211 100644 --- a/SmartTest.package/SmTTestFinderStrategy.class/instance/testsForAInstVar..st +++ b/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForAInstVar..st @@ -1,5 +1,5 @@ accessing -testsForAInstVar: aInstVar +searchTestsForAInstVar: aInstVar "This method returns all the tests related to a instance variable." | testsFound | diff --git a/SmartTest.package/SmTTestFinderStrategy.class/instance/testsForASetUpMethod..st b/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForASetUpMethod..st similarity index 90% rename from SmartTest.package/SmTTestFinderStrategy.class/instance/testsForASetUpMethod..st rename to SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForASetUpMethod..st index 831aab8..67ae9b9 100644 --- a/SmartTest.package/SmTTestFinderStrategy.class/instance/testsForASetUpMethod..st +++ b/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForASetUpMethod..st @@ -1,5 +1,5 @@ private -testsForASetUpMethod: aCompiledMethod +searchTestsForASetUpMethod: aCompiledMethod "If the method is a TestCase setUp, returns all the tests of this TestCase and its subclasses" ^ (aCompiledMethod isTestSetUpMethod) ifTrue: [|result| diff --git a/SmartTest.package/SmTTestFinderStrategy.class/instance/testsForAStandardMethod..st b/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForAStandardMethod..st similarity index 65% rename from SmartTest.package/SmTTestFinderStrategy.class/instance/testsForAStandardMethod..st rename to SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForAStandardMethod..st index 297750f..16daa21 100644 --- a/SmartTest.package/SmTTestFinderStrategy.class/instance/testsForAStandardMethod..st +++ b/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForAStandardMethod..st @@ -1,5 +1,5 @@ private -testsForAStandardMethod: aCompiledMethod +searchTestsForAStandardMethod: aCompiledMethod "Should return a Collection of #methodReference" self subclassResponsibility \ No newline at end of file diff --git a/SmartTest.package/SmTTestFinderStrategy.class/instance/testsForATearDownMethod..st b/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForATearDownMethod..st similarity index 90% rename from SmartTest.package/SmTTestFinderStrategy.class/instance/testsForATearDownMethod..st rename to SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForATearDownMethod..st index 764f6cb..e4417f0 100644 --- a/SmartTest.package/SmTTestFinderStrategy.class/instance/testsForATearDownMethod..st +++ b/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForATearDownMethod..st @@ -1,5 +1,5 @@ private -testsForATearDownMethod: aCompiledMethod +searchTestsForATearDownMethod: aCompiledMethod "If the method is a TestCase tearDown, returns all the tests of this TestCase" ^ (aCompiledMethod isTestTearDownMethod) ifTrue: [ diff --git a/SmartTest.package/SmTTestFinderStrategy.class/instance/testsForATestMethod..st b/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForATestMethod..st similarity index 71% rename from SmartTest.package/SmTTestFinderStrategy.class/instance/testsForATestMethod..st rename to SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForATestMethod..st index 7a83ef3..eaa5ae8 100644 --- a/SmartTest.package/SmTTestFinderStrategy.class/instance/testsForATestMethod..st +++ b/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForATestMethod..st @@ -1,5 +1,5 @@ private -testsForATestMethod: aCompiledMethod +searchTestsForATestMethod: aCompiledMethod ^ aCompiledMethod isTestMethod ifTrue: [{aCompiledMethod methodReference}] ifFalse: [{}]. \ No newline at end of file diff --git a/SmartTest.package/SmTTestFinderStrategy.class/instance/testsForClassReferenceOf..st b/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForClassReferenceOf..st similarity index 90% rename from SmartTest.package/SmTTestFinderStrategy.class/instance/testsForClassReferenceOf..st rename to SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForClassReferenceOf..st index b89905c..fb1af37 100644 --- a/SmartTest.package/SmTTestFinderStrategy.class/instance/testsForClassReferenceOf..st +++ b/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForClassReferenceOf..st @@ -1,5 +1,5 @@ private -testsForClassReferenceOf: aCompiledMethod +searchTestsForClassReferenceOf: aCompiledMethod "Find all tests in related packages that reference the method's class" | allSendersClass allTests | allSendersClass := (aCompiledMethod methodClass allCallsOn diff --git a/SmartTest.package/SmTTestFinderStrategy.class/instance/testsForMethod..st b/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForMethod..st similarity index 76% rename from SmartTest.package/SmTTestFinderStrategy.class/instance/testsForMethod..st rename to SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForMethod..st index ebdc7f1..69ae4c1 100644 --- a/SmartTest.package/SmTTestFinderStrategy.class/instance/testsForMethod..st +++ b/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForMethod..st @@ -1,5 +1,5 @@ accessing -testsForMethod: aCompiledMethod +searchTestsForMethod: aCompiledMethod ^ self cache relevantTestsFor: aCompiledMethod "at: aCompiledMethod methodReference ifAbsentPut: [ Set new ]" \ No newline at end of file diff --git a/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForMethodReference..st b/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForMethodReference..st new file mode 100644 index 0000000..334bc02 --- /dev/null +++ b/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForMethodReference..st @@ -0,0 +1,3 @@ +accessing +searchTestsForMethodReference: aMethodReference + ^ self cache searchTestsForMethodReference: aMethodReference \ No newline at end of file diff --git a/SmartTest.package/SmTTestFinderStrategy.class/instance/testsForMethodReference..st b/SmartTest.package/SmTTestFinderStrategy.class/instance/testsForMethodReference..st deleted file mode 100644 index 648d70b..0000000 --- a/SmartTest.package/SmTTestFinderStrategy.class/instance/testsForMethodReference..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -testsForMethodReference: aMethodReference - ^ self cache testsForMethodReference: aMethodReference \ No newline at end of file diff --git a/SmartTest.package/SmartFinder.class/instance/searchTestsForASetUpMethod..st b/SmartTest.package/SmartFinder.class/instance/searchTestsForASetUpMethod..st new file mode 100644 index 0000000..de42585 --- /dev/null +++ b/SmartTest.package/SmartFinder.class/instance/searchTestsForASetUpMethod..st @@ -0,0 +1,3 @@ +api +searchTestsForASetUpMethod: aCompiledMethod + ^ self smtFinder searchTestsForASetUpMethod: aCompiledMethod \ No newline at end of file diff --git a/SmartTest.package/SmartFinder.class/instance/searchTestsForATearDownMethod..st b/SmartTest.package/SmartFinder.class/instance/searchTestsForATearDownMethod..st new file mode 100644 index 0000000..a9d746c --- /dev/null +++ b/SmartTest.package/SmartFinder.class/instance/searchTestsForATearDownMethod..st @@ -0,0 +1,3 @@ +api +searchTestsForATearDownMethod: aCompiledMethod + ^ self smtFinder searchTestsForATearDownMethod: aCompiledMethod \ No newline at end of file diff --git a/SmartTest.package/SmartFinder.class/instance/searchTestsForATestMethod..st b/SmartTest.package/SmartFinder.class/instance/searchTestsForATestMethod..st new file mode 100644 index 0000000..1a11564 --- /dev/null +++ b/SmartTest.package/SmartFinder.class/instance/searchTestsForATestMethod..st @@ -0,0 +1,3 @@ +api +searchTestsForATestMethod: aCompiledMethod + ^ self smtFinder searchTestsForATestMethod: aCompiledMethod \ No newline at end of file diff --git a/SmartTest.package/SmartFinder.class/instance/testsForASetUpMethod..st b/SmartTest.package/SmartFinder.class/instance/testsForASetUpMethod..st deleted file mode 100644 index 368bab8..0000000 --- a/SmartTest.package/SmartFinder.class/instance/testsForASetUpMethod..st +++ /dev/null @@ -1,3 +0,0 @@ -api -testsForASetUpMethod: aCompiledMethod - ^ self smtFinder testsForASetUpMethod: aCompiledMethod \ No newline at end of file diff --git a/SmartTest.package/SmartFinder.class/instance/testsForATearDownMethod..st b/SmartTest.package/SmartFinder.class/instance/testsForATearDownMethod..st deleted file mode 100644 index 7c8e8dc..0000000 --- a/SmartTest.package/SmartFinder.class/instance/testsForATearDownMethod..st +++ /dev/null @@ -1,3 +0,0 @@ -api -testsForATearDownMethod: aCompiledMethod - ^ self smtFinder testsForATearDownMethod: aCompiledMethod \ No newline at end of file diff --git a/SmartTest.package/SmartFinder.class/instance/testsForATestMethod..st b/SmartTest.package/SmartFinder.class/instance/testsForATestMethod..st deleted file mode 100644 index 82f154f..0000000 --- a/SmartTest.package/SmartFinder.class/instance/testsForATestMethod..st +++ /dev/null @@ -1,3 +0,0 @@ -api -testsForATestMethod: aCompiledMethod - ^ self smtFinder testsForATestMethod: aCompiledMethod \ No newline at end of file From 06bc52a78276aad7250a49665261373540b4378f Mon Sep 17 00:00:00 2001 From: eleonoreW Date: Fri, 15 Jun 2018 14:37:54 +0200 Subject: [PATCH 103/150] Added tags to the SmartTest package and organized the tests classes accordingly. --- .../SmTCacheBuilderReflectivityTest.class/properties.json | 2 +- .../SmTCacheBuilderTest.class/properties.json | 2 +- .../SmTCacheBuilderTestCoverageTest.class/properties.json | 2 +- .../SmTFilterAbstractTest.class/properties.json | 2 +- .../SmTFinderAbstractTest.class/properties.json | 2 +- .../SmTFinderStrategyReflectivityTest.class/properties.json | 2 +- .../SmTOnModificationTest.class/properties.json | 2 +- SmartTest-Tests.package/SmTRunnerTest.class/properties.json | 2 +- .../properties.json | 2 +- .../SmTSendersFilterTestDefaultPackage.class/properties.json | 2 +- .../properties.json | 2 +- .../properties.json | 2 +- .../properties.json | 2 +- .../properties.json | 2 +- .../SmTSendersFinderTestWithoutCache.class/properties.json | 2 +- .../SmTTestCoverageFinderTest.class/properties.json | 2 +- .../SmartFinderTest.class/properties.json | 2 +- SmartTest-Tests.package/monticello.meta/categories.st | 5 +++++ 18 files changed, 22 insertions(+), 17 deletions(-) diff --git a/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/properties.json b/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/properties.json index 4d2df82..bac52fd 100644 --- a/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/properties.json +++ b/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "EleonoreWALD 4/27/2018 16:00", "super" : "SmTCacheBuilderTest", - "category" : "SmartTest-Tests", + "category" : "SmartTest-Tests-Builder", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTest-Tests.package/SmTCacheBuilderTest.class/properties.json b/SmartTest-Tests.package/SmTCacheBuilderTest.class/properties.json index 7df7b8a..afa3211 100644 --- a/SmartTest-Tests.package/SmTCacheBuilderTest.class/properties.json +++ b/SmartTest-Tests.package/SmTCacheBuilderTest.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "AnneEtien 3/2/2018 15:34", "super" : "TestCase", - "category" : "SmartTest-Tests", + "category" : "SmartTest-Tests-Builder", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/properties.json b/SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/properties.json index 3e84ec5..16823a1 100644 --- a/SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/properties.json +++ b/SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "EleonoreWALD 5/3/2018 14:22", "super" : "SmTCacheBuilderTest", - "category" : "SmartTest-Tests", + "category" : "SmartTest-Tests-Builder", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTest-Tests.package/SmTFilterAbstractTest.class/properties.json b/SmartTest-Tests.package/SmTFilterAbstractTest.class/properties.json index db5d213..fc3df9f 100644 --- a/SmartTest-Tests.package/SmTFilterAbstractTest.class/properties.json +++ b/SmartTest-Tests.package/SmTFilterAbstractTest.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "eleonoreW 6/15/2018 10:07", "super" : "TestCase", - "category" : "SmartTest-Tests", + "category" : "SmartTest-Tests-Filter", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTest-Tests.package/SmTFinderAbstractTest.class/properties.json b/SmartTest-Tests.package/SmTFinderAbstractTest.class/properties.json index 3ecf973..f5274de 100644 --- a/SmartTest-Tests.package/SmTFinderAbstractTest.class/properties.json +++ b/SmartTest-Tests.package/SmTFinderAbstractTest.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "EleonoreWALD 5/3/2018 14:21", "super" : "TestCase", - "category" : "SmartTest-Tests", + "category" : "SmartTest-Tests-Finder", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTest-Tests.package/SmTFinderStrategyReflectivityTest.class/properties.json b/SmartTest-Tests.package/SmTFinderStrategyReflectivityTest.class/properties.json index 69f5ef9..9a9fb07 100644 --- a/SmartTest-Tests.package/SmTFinderStrategyReflectivityTest.class/properties.json +++ b/SmartTest-Tests.package/SmTFinderStrategyReflectivityTest.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "EleonoreWALD 4/27/2018 16:02", "super" : "SmTFinderAbstractTest", - "category" : "SmartTest-Tests", + "category" : "SmartTest-Tests-Finder", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTest-Tests.package/SmTOnModificationTest.class/properties.json b/SmartTest-Tests.package/SmTOnModificationTest.class/properties.json index cc0be84..e1c0260 100644 --- a/SmartTest-Tests.package/SmTOnModificationTest.class/properties.json +++ b/SmartTest-Tests.package/SmTOnModificationTest.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "", "super" : "TestCase", - "category" : "SmartTest-Tests", + "category" : "SmartTest-Tests-OnModification", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTest-Tests.package/SmTRunnerTest.class/properties.json b/SmartTest-Tests.package/SmTRunnerTest.class/properties.json index 02ef695..90bccf8 100644 --- a/SmartTest-Tests.package/SmTRunnerTest.class/properties.json +++ b/SmartTest-Tests.package/SmTRunnerTest.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "BenoitVerhaeghe 6/30/2017 14:48", "super" : "TestCase", - "category" : "SmartTest-Tests", + "category" : "SmartTest-Tests-Runner", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/properties.json b/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/properties.json index 538f1a9..28bb79c 100644 --- a/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/properties.json +++ b/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "EleonoreWALD 5/14/2018 14:06", "super" : "SmTFilterAbstractTest", - "category" : "SmartTest-Tests", + "category" : "SmartTest-Tests-Filter", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTest-Tests.package/SmTSendersFilterTestDefaultPackage.class/properties.json b/SmartTest-Tests.package/SmTSendersFilterTestDefaultPackage.class/properties.json index 62b13e6..648bd0d 100644 --- a/SmartTest-Tests.package/SmTSendersFilterTestDefaultPackage.class/properties.json +++ b/SmartTest-Tests.package/SmTSendersFilterTestDefaultPackage.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "EleonoreWALD 5/14/2018 14:06", "super" : "SmTFilterAbstractTest", - "category" : "SmartTest-Tests", + "category" : "SmartTest-Tests-Filter", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/properties.json b/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/properties.json index b3aa2a8..88d6a92 100644 --- a/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/properties.json +++ b/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "EleonoreWALD 5/14/2018 14:07", "super" : "SmTFilterAbstractTest", - "category" : "SmartTest-Tests", + "category" : "SmartTest-Tests-Filter", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/properties.json b/SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/properties.json index 4a9f20f..0daa47e 100644 --- a/SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/properties.json +++ b/SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "EleonoreWALD 5/14/2018 14:07", "super" : "SmTFilterAbstractTest", - "category" : "SmartTest-Tests", + "category" : "SmartTest-Tests-Filter", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTest-Tests.package/SmTSendersFinderTestDefaultClassPackage.class/properties.json b/SmartTest-Tests.package/SmTSendersFinderTestDefaultClassPackage.class/properties.json index b654d1c..0ce57b3 100644 --- a/SmartTest-Tests.package/SmTSendersFinderTestDefaultClassPackage.class/properties.json +++ b/SmartTest-Tests.package/SmTSendersFinderTestDefaultClassPackage.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "EleonoreWALD 5/3/2018 14:23", "super" : "SmTFinderAbstractTest", - "category" : "SmartTest-Tests", + "category" : "SmartTest-Tests-Finder", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTest-Tests.package/SmTSendersFinderTestWithRestrictedPackage.class/properties.json b/SmartTest-Tests.package/SmTSendersFinderTestWithRestrictedPackage.class/properties.json index 6602ac2..e8f81e0 100644 --- a/SmartTest-Tests.package/SmTSendersFinderTestWithRestrictedPackage.class/properties.json +++ b/SmartTest-Tests.package/SmTSendersFinderTestWithRestrictedPackage.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "EleonoreWALD 5/3/2018 16:17", "super" : "SmTFinderAbstractTest", - "category" : "SmartTest-Tests", + "category" : "SmartTest-Tests-Finder", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTest-Tests.package/SmTSendersFinderTestWithoutCache.class/properties.json b/SmartTest-Tests.package/SmTSendersFinderTestWithoutCache.class/properties.json index 746f619..392a377 100644 --- a/SmartTest-Tests.package/SmTSendersFinderTestWithoutCache.class/properties.json +++ b/SmartTest-Tests.package/SmTSendersFinderTestWithoutCache.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "EleonoreWALD 5/7/2018 11:25", "super" : "SmTFinderAbstractTest", - "category" : "SmartTest-Tests", + "category" : "SmartTest-Tests-Finder", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTest-Tests.package/SmTTestCoverageFinderTest.class/properties.json b/SmartTest-Tests.package/SmTTestCoverageFinderTest.class/properties.json index 1a53dfd..473de56 100644 --- a/SmartTest-Tests.package/SmTTestCoverageFinderTest.class/properties.json +++ b/SmartTest-Tests.package/SmTTestCoverageFinderTest.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "EleonoreWALD 5/3/2018 14:25", "super" : "SmTFinderAbstractTest", - "category" : "SmartTest-Tests", + "category" : "SmartTest-Tests-Finder", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTest-Tests.package/SmartFinderTest.class/properties.json b/SmartTest-Tests.package/SmartFinderTest.class/properties.json index f5cc478..1d906dd 100644 --- a/SmartTest-Tests.package/SmartFinderTest.class/properties.json +++ b/SmartTest-Tests.package/SmartFinderTest.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "", "super" : "TestCase", - "category" : "SmartTest-Tests", + "category" : "SmartTest-Tests-Finder", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTest-Tests.package/monticello.meta/categories.st b/SmartTest-Tests.package/monticello.meta/categories.st index 0953ee4..390a699 100644 --- a/SmartTest-Tests.package/monticello.meta/categories.st +++ b/SmartTest-Tests.package/monticello.meta/categories.st @@ -1 +1,6 @@ SystemOrganization addCategory: #'SmartTest-Tests'! +SystemOrganization addCategory: #'SmartTest-Tests-Builder'! +SystemOrganization addCategory: #'SmartTest-Tests-Filter'! +SystemOrganization addCategory: #'SmartTest-Tests-Finder'! +SystemOrganization addCategory: #'SmartTest-Tests-OnModification'! +SystemOrganization addCategory: #'SmartTest-Tests-Runner'! From e608f7b90d381fd4a298ce28a4fec85a65060495 Mon Sep 17 00:00:00 2001 From: eleonoreW Date: Mon, 18 Jun 2018 16:09:59 +0200 Subject: [PATCH 104/150] Just some reformating. --- .../testRunningTestMethod5ToBuildCache.st | 10 ++---- .../testRunningTestMethod1ToBuildCache.st | 4 +-- .../testRunningTestMethod2ToBuildCache.st | 36 +++---------------- .../testRunningTestMethod5ToBuildCache.st | 9 ++--- .../instance/extractPackagesFromTrait..st | 3 ++ .../instance/searchTestsForATrait..st | 5 +++ 6 files changed, 18 insertions(+), 49 deletions(-) create mode 100644 SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractPackagesFromTrait..st create mode 100644 SmartTest.package/SmTSenderTestFinderStrategy.class/instance/searchTestsForATrait..st diff --git a/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod5ToBuildCache.st b/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod5ToBuildCache.st index 6efc77b..15b408d 100644 --- a/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod5ToBuildCache.st +++ b/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod5ToBuildCache.st @@ -7,11 +7,5 @@ testRunningTestMethod5ToBuildCache SmTClassTest run: #testMethod5. "Running the test fill the cache that is then no more empty but contains only the association between SmTClass>>method1 and SmTClassTest>>testMethod1" self assert: smartFinder currentCache isNotEmpty. - - - self - assert: (smartFinder currentCache at: (SmTClass2 >> #initialize )asRingDefinition) - equals: {(SmTClassTest >> #testMethod5 )asRingDefinition} asSet. - self - assert: (smartFinder currentCache at: (SmTClassTest >> #testMethod5 )asRingDefinition) - equals: {(SmTClassTest >> #testMethod5 )asRingDefinition} asSet \ No newline at end of file + self assert: (smartFinder currentCache at: (SmTClass2 >> #initialize) asRingDefinition) equals: {(SmTClassTest >> #testMethod5) asRingDefinition} asSet. + self assert: (smartFinder currentCache at: (SmTClassTest >> #testMethod5) asRingDefinition) equals: {(SmTClassTest >> #testMethod5) asRingDefinition} asSet \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod1ToBuildCache.st b/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod1ToBuildCache.st index cfa432d..ace7f65 100644 --- a/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod1ToBuildCache.st +++ b/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod1ToBuildCache.st @@ -8,6 +8,4 @@ testRunningTestMethod1ToBuildCache self assert: smartFinder currentCache size equals: 2. "Not sure about the format of the dictionnary." - self - assert: (smartFinder currentCache at: (SmTClass >> #method1 ) asRingDefinition) - equals: {(SmTClassTest >> #testMethod1) asRingDefinition} asSet \ No newline at end of file + self assert: (smartFinder currentCache at: (SmTClass >> #method1) asRingDefinition) equals: {(SmTClassTest >> #testMethod1) asRingDefinition} asSet \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod2ToBuildCache.st b/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod2ToBuildCache.st index e9ad22d..2f3c52c 100644 --- a/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod2ToBuildCache.st +++ b/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod2ToBuildCache.st @@ -5,36 +5,10 @@ testRunningTestMethod2ToBuildCache SmTClassTest run: #testMethod2. "Running the test fills the cache that is then no more empty but contains only the association between SmTClass>>methodi (with i = 1 to 4) and SmTClassTest>>testMethod2. The cache should contain 5 associations one for each method as key and testMethod2 asValue" self assert: smartFinder currentCache isNotEmpty. - self - assert: smartFinder currentCache size - equals: 5. - self - assert: - (smartFinder currentCache - at: (SmTClass >> #method1) asRingDefinition) - equals: - {( SmTClassTest >> #testMethod2) asRingDefinition} - asSet. + self assert: smartFinder currentCache size equals: 5. + self assert: (smartFinder currentCache at: (SmTClass >> #method1) asRingDefinition) equals: {(SmTClassTest >> #testMethod2) asRingDefinition} asSet. "Not sure about the format of the dictionnary." - self - assert: - (smartFinder currentCache - at: (SmTClass >> #method2 )asRingDefinition) - equals: - {(SmTClassTest >> #testMethod2) asRingDefinition} - asSet. - self - assert: - (smartFinder currentCache - at: (SmTClass >> #method3: )asRingDefinition) - equals: - {(SmTClassTest >> #testMethod2 )asRingDefinition} - asSet. - self - assert: - (smartFinder currentCache - at: (SmTClass >> #method4 )asRingDefinition) - equals: - {(SmTClassTest >> #testMethod2 )asRingDefinition} - asSet \ No newline at end of file + self assert: (smartFinder currentCache at: (SmTClass >> #method2) asRingDefinition) equals: {(SmTClassTest >> #testMethod2) asRingDefinition} asSet. + self assert: (smartFinder currentCache at: (SmTClass >> #method3:) asRingDefinition) equals: {(SmTClassTest >> #testMethod2) asRingDefinition} asSet. + self assert: (smartFinder currentCache at: (SmTClass >> #method4) asRingDefinition) equals: {(SmTClassTest >> #testMethod2) asRingDefinition} asSet \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod5ToBuildCache.st b/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod5ToBuildCache.st index 678ced9..03e4ce6 100644 --- a/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod5ToBuildCache.st +++ b/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod5ToBuildCache.st @@ -8,10 +8,5 @@ testRunningTestMethod5ToBuildCache "Running the test fill the cache that is then no more empty but contains only the association between SmTClass2>>initialize and SmTClassTest>>testMethod5" self assert: smartFinder currentCache isNotEmpty. self assert: smartFinder currentCache size equals: 2. - - self - assert: (smartFinder currentCache at: (SmTClass2 >> #initialize ) asRingDefinition) - equals: {(SmTClassTest >> #testMethod5 )asRingDefinition} asSet. - self - assert: (smartFinder currentCache at: (SmTClassTest >> #testMethod5 )asRingDefinition) - equals: {(SmTClassTest >> #testMethod5 )asRingDefinition} asSet \ No newline at end of file + self assert: (smartFinder currentCache at: (SmTClass2 >> #initialize) asRingDefinition) equals: {(SmTClassTest >> #testMethod5) asRingDefinition} asSet. + self assert: (smartFinder currentCache at: (SmTClassTest >> #testMethod5) asRingDefinition) equals: {(SmTClassTest >> #testMethod5) asRingDefinition} asSet \ No newline at end of file diff --git a/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractPackagesFromTrait..st b/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractPackagesFromTrait..st new file mode 100644 index 0000000..1f41232 --- /dev/null +++ b/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractPackagesFromTrait..st @@ -0,0 +1,3 @@ +asserting +extractPackagesFromTrait: aTrait + ^ self extractPackageBaseName: aTrait package name \ No newline at end of file diff --git a/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/searchTestsForATrait..st b/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/searchTestsForATrait..st new file mode 100644 index 0000000..fbe6a7a --- /dev/null +++ b/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/searchTestsForATrait..st @@ -0,0 +1,5 @@ +accessing +searchTestsForATrait: aTrait + | packagesToLookAt | + packagesToLookAt := self filter extractPackagesFromTrait: aTrait. + ^ self recursiveSearchForAClass: aTrait inPackages: packagesToLookAt \ No newline at end of file From 47bfbb526db3f9bf20e7ed30c1cbed5ed7bb67be Mon Sep 17 00:00:00 2001 From: eleonoreW Date: Tue, 19 Jun 2018 14:40:31 +0200 Subject: [PATCH 105/150] removed unused methods --- .../instance/testMethodOutsidePackage1.st | 5 ----- .../instance/assert.containsAtLeastMethods..st | 6 ------ .../instance/assert.equalsToMethods..st | 5 ----- .../instance/searchTestsForATrait..st | 8 +++++--- SmartTestDataOutsideP1.package/SmTTrait.trait/README.md | 1 - .../instance/traitMethod1InsidePackageTestInside.st | 3 --- .../instance/traitMethod1InsidePackageTestOutside.st | 3 --- .../SmTTrait.trait/properties.json | 7 ------- .../monticello.meta/categories.st | 1 - 9 files changed, 5 insertions(+), 34 deletions(-) delete mode 100644 SmartTest-Tests-Data.package/SmTClassTest.class/instance/testMethodOutsidePackage1.st delete mode 100644 SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/assert.containsAtLeastMethods..st delete mode 100644 SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/assert.equalsToMethods..st delete mode 100644 SmartTestDataOutsideP1.package/SmTTrait.trait/README.md delete mode 100644 SmartTestDataOutsideP1.package/SmTTrait.trait/instance/traitMethod1InsidePackageTestInside.st delete mode 100644 SmartTestDataOutsideP1.package/SmTTrait.trait/instance/traitMethod1InsidePackageTestOutside.st delete mode 100644 SmartTestDataOutsideP1.package/SmTTrait.trait/properties.json diff --git a/SmartTest-Tests-Data.package/SmTClassTest.class/instance/testMethodOutsidePackage1.st b/SmartTest-Tests-Data.package/SmTClassTest.class/instance/testMethodOutsidePackage1.st deleted file mode 100644 index cdf429d..0000000 --- a/SmartTest-Tests-Data.package/SmTClassTest.class/instance/testMethodOutsidePackage1.st +++ /dev/null @@ -1,5 +0,0 @@ -test data -testMethodOutsidePackage1 - "this is data for SmTFinderAbstractTest tests" - "^ SmTClassOutside new method2 " - \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/assert.containsAtLeastMethods..st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/assert.containsAtLeastMethods..st deleted file mode 100644 index c6c1a67..0000000 --- a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/assert.containsAtLeastMethods..st +++ /dev/null @@ -1,6 +0,0 @@ -helpers -assert: foundMethods containsAtLeastMethods: aCollectionOfStringRepresentedMethod - | foundMethodsNames | - foundMethodsNames := foundMethods collect: #asString. - aCollectionOfStringRepresentedMethod - do: [ :method | self assert: (foundMethodsNames includes: method) ] \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/assert.equalsToMethods..st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/assert.equalsToMethods..st deleted file mode 100644 index 604257e..0000000 --- a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/assert.equalsToMethods..st +++ /dev/null @@ -1,5 +0,0 @@ -helpers -assert: foundMethods equalsToMethods: aCollectionOfStringRepresentedMethod - self - assert: (foundMethods collect: #asString) - equals: aCollectionOfStringRepresentedMethod asSet \ No newline at end of file diff --git a/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/searchTestsForATrait..st b/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/searchTestsForATrait..st index fbe6a7a..7ccd32f 100644 --- a/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/searchTestsForATrait..st +++ b/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/searchTestsForATrait..st @@ -1,5 +1,7 @@ accessing searchTestsForATrait: aTrait - | packagesToLookAt | - packagesToLookAt := self filter extractPackagesFromTrait: aTrait. - ^ self recursiveSearchForAClass: aTrait inPackages: packagesToLookAt \ No newline at end of file + | packagesToLookAt testsFound| + testsFound := Set new. + packagesToLookAt := self filter extractPackagesFrom: aTrait. + aTrait users do: [:eachClass | ]. + ^testsFound \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTTrait.trait/README.md b/SmartTestDataOutsideP1.package/SmTTrait.trait/README.md deleted file mode 100644 index a8ee72e..0000000 --- a/SmartTestDataOutsideP1.package/SmTTrait.trait/README.md +++ /dev/null @@ -1 +0,0 @@ -This trait was created to test the behaviour of SmartTest to assert that SmartTest finds the correct tests for a modified trait. \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTTrait.trait/instance/traitMethod1InsidePackageTestInside.st b/SmartTestDataOutsideP1.package/SmTTrait.trait/instance/traitMethod1InsidePackageTestInside.st deleted file mode 100644 index 33537a2..0000000 --- a/SmartTestDataOutsideP1.package/SmTTrait.trait/instance/traitMethod1InsidePackageTestInside.st +++ /dev/null @@ -1,3 +0,0 @@ -method1 -traitMethod1InsidePackageTestInside -"The behaviour of this test is irrelevent." \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTTrait.trait/instance/traitMethod1InsidePackageTestOutside.st b/SmartTestDataOutsideP1.package/SmTTrait.trait/instance/traitMethod1InsidePackageTestOutside.st deleted file mode 100644 index 92b62f2..0000000 --- a/SmartTestDataOutsideP1.package/SmTTrait.trait/instance/traitMethod1InsidePackageTestOutside.st +++ /dev/null @@ -1,3 +0,0 @@ -method1 -traitMethod1InsidePackageTestOutside -"The behaviour of this test is irrelevent." \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTTrait.trait/properties.json b/SmartTestDataOutsideP1.package/SmTTrait.trait/properties.json deleted file mode 100644 index fec09cf..0000000 --- a/SmartTestDataOutsideP1.package/SmTTrait.trait/properties.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "commentStamp" : "eleonoreW 6/14/2018 13:30", - "classinstvars" : [ ], - "category" : "SmartTestDataOutsideP1-ModificationOnTrait", - "instvars" : [ ], - "name" : "SmTTrait" -} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/monticello.meta/categories.st b/SmartTestDataOutsideP1.package/monticello.meta/categories.st index 3ec7f40..02b75a0 100644 --- a/SmartTestDataOutsideP1.package/monticello.meta/categories.st +++ b/SmartTestDataOutsideP1.package/monticello.meta/categories.st @@ -11,4 +11,3 @@ SystemOrganization addCategory: #'SmartTestDataOutsideP1-ModificationOnMethod-Te SystemOrganization addCategory: #'SmartTestDataOutsideP1-ModificationOnMethod-WithoutRef'! SystemOrganization addCategory: #'SmartTestDataOutsideP1-ModificationOnVariable'! SystemOrganization addCategory: #'SmartTestDataOutsideP1-ModificationOnVariable-Tests'! -anization addCategory: #'SmartTestDataOutsideP1-ModificationOnVariable-Tests'! From 0a25beec4e4179f9883a88d4034ea00cc04f923a Mon Sep 17 00:00:00 2001 From: eleonoreW Date: Tue, 19 Jun 2018 17:15:47 +0200 Subject: [PATCH 106/150] Finally fixed the testsfortraits feature --- .../instance/testTraitTestInside.st | 8 ++++++++ .../instance/testTraitTestOutside.st | 8 ++++++++ .../instance/searchTestsForATrait..st | 2 +- .../SmTClassUsesTrait.class/README.md | 0 .../SmTClassUsesTrait.class/properties.json | 13 +++++++++++++ .../SmTTrait.trait/README.md | 1 + .../SmTTrait.trait/instance/traitMethod1Inside.st | 3 +++ .../SmTTrait.trait/properties.json | 7 +++++++ .../SmTTraitTest.class/README.md | 0 .../instance/testTraitMethod1Inside.st | 3 +++ .../instance/testTraitMethod1Insidedwefwe.st | 3 +++ .../SmTTraitTest.class/properties.json | 11 +++++++++++ .../monticello.meta/categories.st | 2 ++ 13 files changed, 60 insertions(+), 1 deletion(-) create mode 100644 SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testTraitTestInside.st create mode 100644 SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testTraitTestOutside.st create mode 100644 SmartTestDataOutsideP1.package/SmTClassUsesTrait.class/README.md create mode 100644 SmartTestDataOutsideP1.package/SmTClassUsesTrait.class/properties.json create mode 100644 SmartTestDataOutsideP1.package/SmTTrait.trait/README.md create mode 100644 SmartTestDataOutsideP1.package/SmTTrait.trait/instance/traitMethod1Inside.st create mode 100644 SmartTestDataOutsideP1.package/SmTTrait.trait/properties.json create mode 100644 SmartTestDataOutsideP1.package/SmTTraitTest.class/README.md create mode 100644 SmartTestDataOutsideP1.package/SmTTraitTest.class/instance/testTraitMethod1Inside.st create mode 100644 SmartTestDataOutsideP1.package/SmTTraitTest.class/instance/testTraitMethod1Insidedwefwe.st create mode 100644 SmartTestDataOutsideP1.package/SmTTraitTest.class/properties.json diff --git a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testTraitTestInside.st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testTraitTestInside.st new file mode 100644 index 0000000..3c3eab5 --- /dev/null +++ b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testTraitTestInside.st @@ -0,0 +1,8 @@ +test - extension method +testTraitTestInside + + | testsFound | + testsFound := smartFinder smtFinder searchTestsForATrait: SmTTrait. + self assert: (testsFound includes: ((('SmT','TraitTest') asClass >> ('testTraitMethod1','Inside') asSymbol) asRingDefinition )). + + \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testTraitTestOutside.st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testTraitTestOutside.st new file mode 100644 index 0000000..2c9bff9 --- /dev/null +++ b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testTraitTestOutside.st @@ -0,0 +1,8 @@ +test - extension method +testTraitTestOutside + + | testsFound | + testsFound := smartFinder smtFinder searchTestsForATrait: SmTTrait. + self assert: (testsFound includes: ((('SmT','TraitTest') asClass >> ('testTraitMethod1','Inside') asSymbol) asRingDefinition )). + + \ No newline at end of file diff --git a/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/searchTestsForATrait..st b/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/searchTestsForATrait..st index 7ccd32f..e293697 100644 --- a/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/searchTestsForATrait..st +++ b/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/searchTestsForATrait..st @@ -3,5 +3,5 @@ searchTestsForATrait: aTrait | packagesToLookAt testsFound| testsFound := Set new. packagesToLookAt := self filter extractPackagesFrom: aTrait. - aTrait users do: [:eachClass | ]. + aTrait users do: [:eachClass | testsFound addAll: (self recursiveSearchForAClass: eachClass inPackages: packagesToLookAt)]. ^testsFound \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassUsesTrait.class/README.md b/SmartTestDataOutsideP1.package/SmTClassUsesTrait.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTestDataOutsideP1.package/SmTClassUsesTrait.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassUsesTrait.class/properties.json new file mode 100644 index 0000000..ecfa4fb --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTClassUsesTrait.class/properties.json @@ -0,0 +1,13 @@ +{ + "classtraitcomposition" : "SmTTrait classTrait", + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTClassUsesTrait", + "commentStamp" : "", + "super" : "Object", + "traitcomposition" : "SmTTrait", + "type" : "normal", + "classinstvars" : [ ], + "pools" : [ ], + "category" : "SmartTestDataOutsideP1-ModificationOnTrait" +} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTTrait.trait/README.md b/SmartTestDataOutsideP1.package/SmTTrait.trait/README.md new file mode 100644 index 0000000..9e6bfed --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTTrait.trait/README.md @@ -0,0 +1 @@ +This trait is used mostly for testing the behaviour of SmartTest when dealing with traits. \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTTrait.trait/instance/traitMethod1Inside.st b/SmartTestDataOutsideP1.package/SmTTrait.trait/instance/traitMethod1Inside.st new file mode 100644 index 0000000..e1897a9 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTTrait.trait/instance/traitMethod1Inside.st @@ -0,0 +1,3 @@ +method1 +traitMethod1Inside +"The behaviour of this method is irrelevant" diff --git a/SmartTestDataOutsideP1.package/SmTTrait.trait/properties.json b/SmartTestDataOutsideP1.package/SmTTrait.trait/properties.json new file mode 100644 index 0000000..e662f04 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTTrait.trait/properties.json @@ -0,0 +1,7 @@ +{ + "commentStamp" : "eleonoreW 6/19/2018 15:32", + "classinstvars" : [ ], + "category" : "SmartTestDataOutsideP1-ModificationOnTrait", + "instvars" : [ ], + "name" : "SmTTrait" +} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTTraitTest.class/README.md b/SmartTestDataOutsideP1.package/SmTTraitTest.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTestDataOutsideP1.package/SmTTraitTest.class/instance/testTraitMethod1Inside.st b/SmartTestDataOutsideP1.package/SmTTraitTest.class/instance/testTraitMethod1Inside.st new file mode 100644 index 0000000..499eca2 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTTraitTest.class/instance/testTraitMethod1Inside.st @@ -0,0 +1,3 @@ +tests +testTraitMethod1Inside +SmTClassUsesTrait >> #traitMethod1Inside \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTTraitTest.class/instance/testTraitMethod1Insidedwefwe.st b/SmartTestDataOutsideP1.package/SmTTraitTest.class/instance/testTraitMethod1Insidedwefwe.st new file mode 100644 index 0000000..8677b9d --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTTraitTest.class/instance/testTraitMethod1Insidedwefwe.st @@ -0,0 +1,3 @@ +tests +testTraitMethod1Insidedwefwe +SmTClassUsesTrait >> #traitMethod1Inside \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTTraitTest.class/properties.json b/SmartTestDataOutsideP1.package/SmTTraitTest.class/properties.json new file mode 100644 index 0000000..6395a04 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTTraitTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "TestCase", + "category" : "SmartTestDataOutsideP1-ModificationOnTrait-Test", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTTraitTest", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/monticello.meta/categories.st b/SmartTestDataOutsideP1.package/monticello.meta/categories.st index 02b75a0..3063180 100644 --- a/SmartTestDataOutsideP1.package/monticello.meta/categories.st +++ b/SmartTestDataOutsideP1.package/monticello.meta/categories.st @@ -9,5 +9,7 @@ SystemOrganization addCategory: #'SmartTestDataOutsideP1-ModificationOnMethod-Se SystemOrganization addCategory: #'SmartTestDataOutsideP1-ModificationOnMethod-SenderOutTestOutWithRef'! SystemOrganization addCategory: #'SmartTestDataOutsideP1-ModificationOnMethod-Tests'! SystemOrganization addCategory: #'SmartTestDataOutsideP1-ModificationOnMethod-WithoutRef'! +SystemOrganization addCategory: #'SmartTestDataOutsideP1-ModificationOnTrait'! +SystemOrganization addCategory: #'SmartTestDataOutsideP1-ModificationOnTrait-Test'! SystemOrganization addCategory: #'SmartTestDataOutsideP1-ModificationOnVariable'! SystemOrganization addCategory: #'SmartTestDataOutsideP1-ModificationOnVariable-Tests'! From 6cdcdaf4223822fe76d6e48a64be74203ff6e7f3 Mon Sep 17 00:00:00 2001 From: badetitou Date: Sun, 24 Jun 2018 15:50:34 +0200 Subject: [PATCH 107/150] ~ fix tests ~ reorganize Settings tests --- .../SmTSettingsBasicCacheTest.class/README.md | 0 .../SmTSettingsBasicCacheTest.class/instance/cacheStrategy.st | 0 .../SmTSettingsBasicCacheTest.class/properties.json | 2 +- .../SmTSettingsCacheTest.class/README.md | 0 .../SmTSettingsCacheTest.class/class/isAbstract.st | 0 .../SmTSettingsCacheTest.class/instance/cacheStrategy.st | 0 .../instance/testChangeCacheStrategy.st | 0 .../SmTSettingsCacheTest.class/properties.json | 2 +- .../SmTSettingsFilterDefaultClassPackagesTest.class/README.md | 0 .../instance/filterStrategy.st | 0 .../properties.json | 2 +- .../SmTSettingsFilterDefaultPackagesTest.class/README.md | 0 .../instance/filterStrategy.st | 0 .../properties.json | 2 +- .../SmTSettingsFilterIcebergTest.class/README.md | 0 .../instance/filterStrategy.st | 0 .../SmTSettingsFilterIcebergTest.class/properties.json | 2 +- .../SmTSettingsFilterNoFilterTest.class/README.md | 0 .../instance/filterStrategy.st | 0 .../SmTSettingsFilterNoFilterTest.class/properties.json | 2 +- .../SmTSettingsFilterSpecifyPackagesNameTest.class/README.md | 0 .../instance/dataForTestRegex.st | 0 .../instance/filterStrategy.st | 0 .../instance/setUp.st | 0 .../instance/tearDown.st | 0 .../instance/testChangeRegexWhenChanged.st | 0 .../properties.json | 2 +- .../SmTSettingsFilterTest.class/README.md | 0 .../SmTSettingsFilterTest.class/class/isAbstract.st | 0 .../SmTSettingsFilterTest.class/instance/filterStrategy.st | 0 .../instance/testChangeFilterStrategy.st | 0 .../SmTSettingsFilterTest.class/properties.json | 2 +- .../SmTSettingsFinderReflectivityTest.class/README.md | 0 .../instance/finderStrategy.st | 0 .../SmTSettingsFinderReflectivityTest.class/properties.json | 2 +- .../SmTSettingsFinderSenderTestTest.class/README.md | 0 .../instance/finderStrategy.st | 0 .../SmTSettingsFinderSenderTestTest.class/properties.json | 2 +- .../SmTSettingsFinderTest.class/README.md | 0 .../SmTSettingsFinderTest.class/class/isAbstract.st | 0 .../SmTSettingsFinderTest.class/instance/finderStrategy.st | 0 .../instance/testChangeFinderStrategy.st | 0 .../SmTSettingsFinderTest.class/properties.json | 2 +- .../SmTSettingsFinderTestCoverageTest.class/README.md | 0 .../instance/finderStrategy.st | 0 .../SmTSettingsFinderTestCoverageTest.class/properties.json | 2 +- .../SmTSettingsNoCacheTest.class/README.md | 0 .../SmTSettingsNoCacheTest.class/instance/cacheStrategy.st | 0 .../SmTSettingsNoCacheTest.class/properties.json | 2 +- .../SmTSettingsPackagesRegexTest.class/README.md | 0 .../SmTSettingsPackagesRegexTest.class/class/isAbstract.st | 0 .../instance/dataForTestRegex.st | 0 .../SmTSettingsPackagesRegexTest.class/instance/setUp.st | 0 .../SmTSettingsPackagesRegexTest.class/instance/tearDown.st | 0 .../instance/testChangeRegex.st | 0 .../SmTSettingsPackagesRegexTest.class/properties.json | 2 +- .../SmTSettingsRunnerDebugTest.class/README.md | 0 .../instance/runnerStrategy.st | 0 .../SmTSettingsRunnerDebugTest.class/properties.json | 2 +- .../SmTSettingsRunnerNoticeTest.class/README.md | 0 .../instance/runnerStrategy.st | 0 .../SmTSettingsRunnerNoticeTest.class/properties.json | 2 +- .../SmTSettingsRunnerSmartTest.class/README.md | 0 .../instance/runnerStrategy.st | 0 .../SmTSettingsRunnerSmartTest.class/properties.json | 2 +- .../SmTSettingsRunnerTest.class/README.md | 0 .../SmTSettingsRunnerTest.class/class/isAbstract.st | 0 .../SmTSettingsRunnerTest.class/instance/runnerStrategy.st | 0 .../instance/testChangeRunnerStrategy.st | 0 .../SmTSettingsRunnerTest.class/properties.json | 2 +- .../SmTSettingsTest.class/README.md | 0 .../SmTSettingsTest.class/class/isAbstract.st | 0 .../SmTSettingsTest.class/instance/setUp.st | 0 .../SmTSettingsTest.class/instance/tearDown.st | 0 .../SmTSettingsTest.class/properties.json | 2 +- .../SmTSettingsTestingStrategyAlwaysTest.class/README.md | 0 .../instance/getTestingStrategy.st | 0 .../properties.json | 2 +- .../README.md | 0 .../instance/getTestingStrategy.st | 0 .../properties.json | 2 +- .../SmTSettingsTestingStrategyFiveMinutesTest.class/README.md | 0 .../instance/getTestingStrategy.st | 0 .../properties.json | 2 +- .../SmTSettingsTestingStrategyNeverTest.class/README.md | 0 .../instance/getTestingStrategy.st | 0 .../SmTSettingsTestingStrategyNeverTest.class/properties.json | 2 +- .../SmTSettingsTestingStrategyTest.class/README.md | 0 .../SmTSettingsTestingStrategyTest.class/class/isAbstract.st | 0 .../instance/getTestingStrategy.st | 0 .../instance/testChangeTestingStrategyStrategy.st | 0 .../SmTSettingsTestingStrategyTest.class/properties.json | 2 +- SmartTest-Tests.package/monticello.meta/categories.st | 1 + .../instance/availablePackages.st | 2 +- .../instance/installProxyFor..st | 4 ++-- 95 files changed, 28 insertions(+), 27 deletions(-) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsBasicCacheTest.class/README.md (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsBasicCacheTest.class/instance/cacheStrategy.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsBasicCacheTest.class/properties.json (82%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsCacheTest.class/README.md (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsCacheTest.class/class/isAbstract.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsCacheTest.class/instance/cacheStrategy.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsCacheTest.class/instance/testChangeCacheStrategy.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsCacheTest.class/properties.json (81%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsFilterDefaultClassPackagesTest.class/README.md (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsFilterDefaultClassPackagesTest.class/instance/filterStrategy.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsFilterDefaultClassPackagesTest.class/properties.json (83%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsFilterDefaultPackagesTest.class/README.md (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsFilterDefaultPackagesTest.class/instance/filterStrategy.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsFilterDefaultPackagesTest.class/properties.json (83%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsFilterIcebergTest.class/README.md (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsFilterIcebergTest.class/instance/filterStrategy.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsFilterIcebergTest.class/properties.json (82%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsFilterNoFilterTest.class/README.md (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsFilterNoFilterTest.class/instance/filterStrategy.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsFilterNoFilterTest.class/properties.json (82%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsFilterSpecifyPackagesNameTest.class/README.md (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/dataForTestRegex.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/filterStrategy.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/setUp.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/tearDown.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/testChangeRegexWhenChanged.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsFilterSpecifyPackagesNameTest.class/properties.json (84%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsFilterTest.class/README.md (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsFilterTest.class/class/isAbstract.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsFilterTest.class/instance/filterStrategy.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsFilterTest.class/instance/testChangeFilterStrategy.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsFilterTest.class/properties.json (81%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsFinderReflectivityTest.class/README.md (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsFinderReflectivityTest.class/instance/finderStrategy.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsFinderReflectivityTest.class/properties.json (83%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsFinderSenderTestTest.class/README.md (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsFinderSenderTestTest.class/instance/finderStrategy.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsFinderSenderTestTest.class/properties.json (82%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsFinderTest.class/README.md (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsFinderTest.class/class/isAbstract.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsFinderTest.class/instance/finderStrategy.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsFinderTest.class/instance/testChangeFinderStrategy.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsFinderTest.class/properties.json (81%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsFinderTestCoverageTest.class/README.md (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsFinderTestCoverageTest.class/instance/finderStrategy.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsFinderTestCoverageTest.class/properties.json (83%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsNoCacheTest.class/README.md (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsNoCacheTest.class/instance/cacheStrategy.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsNoCacheTest.class/properties.json (82%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsPackagesRegexTest.class/README.md (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsPackagesRegexTest.class/class/isAbstract.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsPackagesRegexTest.class/instance/dataForTestRegex.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsPackagesRegexTest.class/instance/setUp.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsPackagesRegexTest.class/instance/tearDown.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsPackagesRegexTest.class/instance/testChangeRegex.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsPackagesRegexTest.class/properties.json (84%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsRunnerDebugTest.class/README.md (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsRunnerDebugTest.class/instance/runnerStrategy.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsRunnerDebugTest.class/properties.json (82%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsRunnerNoticeTest.class/README.md (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsRunnerNoticeTest.class/instance/runnerStrategy.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsRunnerNoticeTest.class/properties.json (82%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsRunnerSmartTest.class/README.md (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsRunnerSmartTest.class/instance/runnerStrategy.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsRunnerSmartTest.class/properties.json (82%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsRunnerTest.class/README.md (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsRunnerTest.class/class/isAbstract.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsRunnerTest.class/instance/runnerStrategy.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsRunnerTest.class/instance/testChangeRunnerStrategy.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsRunnerTest.class/properties.json (81%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsTest.class/README.md (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsTest.class/class/isAbstract.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsTest.class/instance/setUp.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsTest.class/instance/tearDown.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsTest.class/properties.json (82%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsTestingStrategyAlwaysTest.class/README.md (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsTestingStrategyAlwaysTest.class/instance/getTestingStrategy.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsTestingStrategyAlwaysTest.class/properties.json (83%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsTestingStrategyEachModificationTest.class/README.md (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsTestingStrategyEachModificationTest.class/instance/getTestingStrategy.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsTestingStrategyEachModificationTest.class/properties.json (84%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsTestingStrategyFiveMinutesTest.class/README.md (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsTestingStrategyFiveMinutesTest.class/instance/getTestingStrategy.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsTestingStrategyFiveMinutesTest.class/properties.json (84%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsTestingStrategyNeverTest.class/README.md (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsTestingStrategyNeverTest.class/instance/getTestingStrategy.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsTestingStrategyNeverTest.class/properties.json (83%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsTestingStrategyTest.class/README.md (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsTestingStrategyTest.class/class/isAbstract.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsTestingStrategyTest.class/instance/getTestingStrategy.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsTestingStrategyTest.class/instance/testChangeTestingStrategyStrategy.st (100%) rename {SmartTest.package => SmartTest-Tests.package}/SmTSettingsTestingStrategyTest.class/properties.json (82%) diff --git a/SmartTest.package/SmTSettingsBasicCacheTest.class/README.md b/SmartTest-Tests.package/SmTSettingsBasicCacheTest.class/README.md similarity index 100% rename from SmartTest.package/SmTSettingsBasicCacheTest.class/README.md rename to SmartTest-Tests.package/SmTSettingsBasicCacheTest.class/README.md diff --git a/SmartTest.package/SmTSettingsBasicCacheTest.class/instance/cacheStrategy.st b/SmartTest-Tests.package/SmTSettingsBasicCacheTest.class/instance/cacheStrategy.st similarity index 100% rename from SmartTest.package/SmTSettingsBasicCacheTest.class/instance/cacheStrategy.st rename to SmartTest-Tests.package/SmTSettingsBasicCacheTest.class/instance/cacheStrategy.st diff --git a/SmartTest.package/SmTSettingsBasicCacheTest.class/properties.json b/SmartTest-Tests.package/SmTSettingsBasicCacheTest.class/properties.json similarity index 82% rename from SmartTest.package/SmTSettingsBasicCacheTest.class/properties.json rename to SmartTest-Tests.package/SmTSettingsBasicCacheTest.class/properties.json index d3ac0c7..c248630 100644 --- a/SmartTest.package/SmTSettingsBasicCacheTest.class/properties.json +++ b/SmartTest-Tests.package/SmTSettingsBasicCacheTest.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "", "super" : "SmTSettingsCacheTest", - "category" : "SmartTest-Tests", + "category" : "SmartTest-Tests-Settings", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTest.package/SmTSettingsCacheTest.class/README.md b/SmartTest-Tests.package/SmTSettingsCacheTest.class/README.md similarity index 100% rename from SmartTest.package/SmTSettingsCacheTest.class/README.md rename to SmartTest-Tests.package/SmTSettingsCacheTest.class/README.md diff --git a/SmartTest.package/SmTSettingsCacheTest.class/class/isAbstract.st b/SmartTest-Tests.package/SmTSettingsCacheTest.class/class/isAbstract.st similarity index 100% rename from SmartTest.package/SmTSettingsCacheTest.class/class/isAbstract.st rename to SmartTest-Tests.package/SmTSettingsCacheTest.class/class/isAbstract.st diff --git a/SmartTest.package/SmTSettingsCacheTest.class/instance/cacheStrategy.st b/SmartTest-Tests.package/SmTSettingsCacheTest.class/instance/cacheStrategy.st similarity index 100% rename from SmartTest.package/SmTSettingsCacheTest.class/instance/cacheStrategy.st rename to SmartTest-Tests.package/SmTSettingsCacheTest.class/instance/cacheStrategy.st diff --git a/SmartTest.package/SmTSettingsCacheTest.class/instance/testChangeCacheStrategy.st b/SmartTest-Tests.package/SmTSettingsCacheTest.class/instance/testChangeCacheStrategy.st similarity index 100% rename from SmartTest.package/SmTSettingsCacheTest.class/instance/testChangeCacheStrategy.st rename to SmartTest-Tests.package/SmTSettingsCacheTest.class/instance/testChangeCacheStrategy.st diff --git a/SmartTest.package/SmTSettingsCacheTest.class/properties.json b/SmartTest-Tests.package/SmTSettingsCacheTest.class/properties.json similarity index 81% rename from SmartTest.package/SmTSettingsCacheTest.class/properties.json rename to SmartTest-Tests.package/SmTSettingsCacheTest.class/properties.json index 2b95c71..f83f581 100644 --- a/SmartTest.package/SmTSettingsCacheTest.class/properties.json +++ b/SmartTest-Tests.package/SmTSettingsCacheTest.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "", "super" : "SmTSettingsTest", - "category" : "SmartTest-Tests", + "category" : "SmartTest-Tests-Settings", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTest.package/SmTSettingsFilterDefaultClassPackagesTest.class/README.md b/SmartTest-Tests.package/SmTSettingsFilterDefaultClassPackagesTest.class/README.md similarity index 100% rename from SmartTest.package/SmTSettingsFilterDefaultClassPackagesTest.class/README.md rename to SmartTest-Tests.package/SmTSettingsFilterDefaultClassPackagesTest.class/README.md diff --git a/SmartTest.package/SmTSettingsFilterDefaultClassPackagesTest.class/instance/filterStrategy.st b/SmartTest-Tests.package/SmTSettingsFilterDefaultClassPackagesTest.class/instance/filterStrategy.st similarity index 100% rename from SmartTest.package/SmTSettingsFilterDefaultClassPackagesTest.class/instance/filterStrategy.st rename to SmartTest-Tests.package/SmTSettingsFilterDefaultClassPackagesTest.class/instance/filterStrategy.st diff --git a/SmartTest.package/SmTSettingsFilterDefaultClassPackagesTest.class/properties.json b/SmartTest-Tests.package/SmTSettingsFilterDefaultClassPackagesTest.class/properties.json similarity index 83% rename from SmartTest.package/SmTSettingsFilterDefaultClassPackagesTest.class/properties.json rename to SmartTest-Tests.package/SmTSettingsFilterDefaultClassPackagesTest.class/properties.json index 5453bf0..faf7616 100644 --- a/SmartTest.package/SmTSettingsFilterDefaultClassPackagesTest.class/properties.json +++ b/SmartTest-Tests.package/SmTSettingsFilterDefaultClassPackagesTest.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "", "super" : "SmTSettingsFilterTest", - "category" : "SmartTest-Tests", + "category" : "SmartTest-Tests-Settings", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTest.package/SmTSettingsFilterDefaultPackagesTest.class/README.md b/SmartTest-Tests.package/SmTSettingsFilterDefaultPackagesTest.class/README.md similarity index 100% rename from SmartTest.package/SmTSettingsFilterDefaultPackagesTest.class/README.md rename to SmartTest-Tests.package/SmTSettingsFilterDefaultPackagesTest.class/README.md diff --git a/SmartTest.package/SmTSettingsFilterDefaultPackagesTest.class/instance/filterStrategy.st b/SmartTest-Tests.package/SmTSettingsFilterDefaultPackagesTest.class/instance/filterStrategy.st similarity index 100% rename from SmartTest.package/SmTSettingsFilterDefaultPackagesTest.class/instance/filterStrategy.st rename to SmartTest-Tests.package/SmTSettingsFilterDefaultPackagesTest.class/instance/filterStrategy.st diff --git a/SmartTest.package/SmTSettingsFilterDefaultPackagesTest.class/properties.json b/SmartTest-Tests.package/SmTSettingsFilterDefaultPackagesTest.class/properties.json similarity index 83% rename from SmartTest.package/SmTSettingsFilterDefaultPackagesTest.class/properties.json rename to SmartTest-Tests.package/SmTSettingsFilterDefaultPackagesTest.class/properties.json index 46cb535..12278e2 100644 --- a/SmartTest.package/SmTSettingsFilterDefaultPackagesTest.class/properties.json +++ b/SmartTest-Tests.package/SmTSettingsFilterDefaultPackagesTest.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "", "super" : "SmTSettingsFilterTest", - "category" : "SmartTest-Tests", + "category" : "SmartTest-Tests-Settings", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTest.package/SmTSettingsFilterIcebergTest.class/README.md b/SmartTest-Tests.package/SmTSettingsFilterIcebergTest.class/README.md similarity index 100% rename from SmartTest.package/SmTSettingsFilterIcebergTest.class/README.md rename to SmartTest-Tests.package/SmTSettingsFilterIcebergTest.class/README.md diff --git a/SmartTest.package/SmTSettingsFilterIcebergTest.class/instance/filterStrategy.st b/SmartTest-Tests.package/SmTSettingsFilterIcebergTest.class/instance/filterStrategy.st similarity index 100% rename from SmartTest.package/SmTSettingsFilterIcebergTest.class/instance/filterStrategy.st rename to SmartTest-Tests.package/SmTSettingsFilterIcebergTest.class/instance/filterStrategy.st diff --git a/SmartTest.package/SmTSettingsFilterIcebergTest.class/properties.json b/SmartTest-Tests.package/SmTSettingsFilterIcebergTest.class/properties.json similarity index 82% rename from SmartTest.package/SmTSettingsFilterIcebergTest.class/properties.json rename to SmartTest-Tests.package/SmTSettingsFilterIcebergTest.class/properties.json index c1fd78d..321e2a0 100644 --- a/SmartTest.package/SmTSettingsFilterIcebergTest.class/properties.json +++ b/SmartTest-Tests.package/SmTSettingsFilterIcebergTest.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "", "super" : "SmTSettingsFilterTest", - "category" : "SmartTest-Tests", + "category" : "SmartTest-Tests-Settings", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTest.package/SmTSettingsFilterNoFilterTest.class/README.md b/SmartTest-Tests.package/SmTSettingsFilterNoFilterTest.class/README.md similarity index 100% rename from SmartTest.package/SmTSettingsFilterNoFilterTest.class/README.md rename to SmartTest-Tests.package/SmTSettingsFilterNoFilterTest.class/README.md diff --git a/SmartTest.package/SmTSettingsFilterNoFilterTest.class/instance/filterStrategy.st b/SmartTest-Tests.package/SmTSettingsFilterNoFilterTest.class/instance/filterStrategy.st similarity index 100% rename from SmartTest.package/SmTSettingsFilterNoFilterTest.class/instance/filterStrategy.st rename to SmartTest-Tests.package/SmTSettingsFilterNoFilterTest.class/instance/filterStrategy.st diff --git a/SmartTest.package/SmTSettingsFilterNoFilterTest.class/properties.json b/SmartTest-Tests.package/SmTSettingsFilterNoFilterTest.class/properties.json similarity index 82% rename from SmartTest.package/SmTSettingsFilterNoFilterTest.class/properties.json rename to SmartTest-Tests.package/SmTSettingsFilterNoFilterTest.class/properties.json index f5570aa..d5116b6 100644 --- a/SmartTest.package/SmTSettingsFilterNoFilterTest.class/properties.json +++ b/SmartTest-Tests.package/SmTSettingsFilterNoFilterTest.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "", "super" : "SmTSettingsFilterTest", - "category" : "SmartTest-Tests", + "category" : "SmartTest-Tests-Settings", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTest.package/SmTSettingsFilterSpecifyPackagesNameTest.class/README.md b/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/README.md similarity index 100% rename from SmartTest.package/SmTSettingsFilterSpecifyPackagesNameTest.class/README.md rename to SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/README.md diff --git a/SmartTest.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/dataForTestRegex.st b/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/dataForTestRegex.st similarity index 100% rename from SmartTest.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/dataForTestRegex.st rename to SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/dataForTestRegex.st diff --git a/SmartTest.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/filterStrategy.st b/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/filterStrategy.st similarity index 100% rename from SmartTest.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/filterStrategy.st rename to SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/filterStrategy.st diff --git a/SmartTest.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/setUp.st b/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/setUp.st similarity index 100% rename from SmartTest.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/setUp.st rename to SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/setUp.st diff --git a/SmartTest.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/tearDown.st b/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/tearDown.st similarity index 100% rename from SmartTest.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/tearDown.st rename to SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/tearDown.st diff --git a/SmartTest.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/testChangeRegexWhenChanged.st b/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/testChangeRegexWhenChanged.st similarity index 100% rename from SmartTest.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/testChangeRegexWhenChanged.st rename to SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/testChangeRegexWhenChanged.st diff --git a/SmartTest.package/SmTSettingsFilterSpecifyPackagesNameTest.class/properties.json b/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/properties.json similarity index 84% rename from SmartTest.package/SmTSettingsFilterSpecifyPackagesNameTest.class/properties.json rename to SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/properties.json index d37e3d8..a847d2d 100644 --- a/SmartTest.package/SmTSettingsFilterSpecifyPackagesNameTest.class/properties.json +++ b/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "", "super" : "SmTSettingsFilterTest", - "category" : "SmartTest-Tests", + "category" : "SmartTest-Tests-Settings", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTest.package/SmTSettingsFilterTest.class/README.md b/SmartTest-Tests.package/SmTSettingsFilterTest.class/README.md similarity index 100% rename from SmartTest.package/SmTSettingsFilterTest.class/README.md rename to SmartTest-Tests.package/SmTSettingsFilterTest.class/README.md diff --git a/SmartTest.package/SmTSettingsFilterTest.class/class/isAbstract.st b/SmartTest-Tests.package/SmTSettingsFilterTest.class/class/isAbstract.st similarity index 100% rename from SmartTest.package/SmTSettingsFilterTest.class/class/isAbstract.st rename to SmartTest-Tests.package/SmTSettingsFilterTest.class/class/isAbstract.st diff --git a/SmartTest.package/SmTSettingsFilterTest.class/instance/filterStrategy.st b/SmartTest-Tests.package/SmTSettingsFilterTest.class/instance/filterStrategy.st similarity index 100% rename from SmartTest.package/SmTSettingsFilterTest.class/instance/filterStrategy.st rename to SmartTest-Tests.package/SmTSettingsFilterTest.class/instance/filterStrategy.st diff --git a/SmartTest.package/SmTSettingsFilterTest.class/instance/testChangeFilterStrategy.st b/SmartTest-Tests.package/SmTSettingsFilterTest.class/instance/testChangeFilterStrategy.st similarity index 100% rename from SmartTest.package/SmTSettingsFilterTest.class/instance/testChangeFilterStrategy.st rename to SmartTest-Tests.package/SmTSettingsFilterTest.class/instance/testChangeFilterStrategy.st diff --git a/SmartTest.package/SmTSettingsFilterTest.class/properties.json b/SmartTest-Tests.package/SmTSettingsFilterTest.class/properties.json similarity index 81% rename from SmartTest.package/SmTSettingsFilterTest.class/properties.json rename to SmartTest-Tests.package/SmTSettingsFilterTest.class/properties.json index 0d3d2f5..9317b69 100644 --- a/SmartTest.package/SmTSettingsFilterTest.class/properties.json +++ b/SmartTest-Tests.package/SmTSettingsFilterTest.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "", "super" : "SmTSettingsTest", - "category" : "SmartTest-Tests", + "category" : "SmartTest-Tests-Settings", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTest.package/SmTSettingsFinderReflectivityTest.class/README.md b/SmartTest-Tests.package/SmTSettingsFinderReflectivityTest.class/README.md similarity index 100% rename from SmartTest.package/SmTSettingsFinderReflectivityTest.class/README.md rename to SmartTest-Tests.package/SmTSettingsFinderReflectivityTest.class/README.md diff --git a/SmartTest.package/SmTSettingsFinderReflectivityTest.class/instance/finderStrategy.st b/SmartTest-Tests.package/SmTSettingsFinderReflectivityTest.class/instance/finderStrategy.st similarity index 100% rename from SmartTest.package/SmTSettingsFinderReflectivityTest.class/instance/finderStrategy.st rename to SmartTest-Tests.package/SmTSettingsFinderReflectivityTest.class/instance/finderStrategy.st diff --git a/SmartTest.package/SmTSettingsFinderReflectivityTest.class/properties.json b/SmartTest-Tests.package/SmTSettingsFinderReflectivityTest.class/properties.json similarity index 83% rename from SmartTest.package/SmTSettingsFinderReflectivityTest.class/properties.json rename to SmartTest-Tests.package/SmTSettingsFinderReflectivityTest.class/properties.json index 2a5caa5..d337601 100644 --- a/SmartTest.package/SmTSettingsFinderReflectivityTest.class/properties.json +++ b/SmartTest-Tests.package/SmTSettingsFinderReflectivityTest.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "", "super" : "SmTSettingsFinderTest", - "category" : "SmartTest-Tests", + "category" : "SmartTest-Tests-Settings", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTest.package/SmTSettingsFinderSenderTestTest.class/README.md b/SmartTest-Tests.package/SmTSettingsFinderSenderTestTest.class/README.md similarity index 100% rename from SmartTest.package/SmTSettingsFinderSenderTestTest.class/README.md rename to SmartTest-Tests.package/SmTSettingsFinderSenderTestTest.class/README.md diff --git a/SmartTest.package/SmTSettingsFinderSenderTestTest.class/instance/finderStrategy.st b/SmartTest-Tests.package/SmTSettingsFinderSenderTestTest.class/instance/finderStrategy.st similarity index 100% rename from SmartTest.package/SmTSettingsFinderSenderTestTest.class/instance/finderStrategy.st rename to SmartTest-Tests.package/SmTSettingsFinderSenderTestTest.class/instance/finderStrategy.st diff --git a/SmartTest.package/SmTSettingsFinderSenderTestTest.class/properties.json b/SmartTest-Tests.package/SmTSettingsFinderSenderTestTest.class/properties.json similarity index 82% rename from SmartTest.package/SmTSettingsFinderSenderTestTest.class/properties.json rename to SmartTest-Tests.package/SmTSettingsFinderSenderTestTest.class/properties.json index b2a158c..52d93c0 100644 --- a/SmartTest.package/SmTSettingsFinderSenderTestTest.class/properties.json +++ b/SmartTest-Tests.package/SmTSettingsFinderSenderTestTest.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "", "super" : "SmTSettingsFinderTest", - "category" : "SmartTest-Tests", + "category" : "SmartTest-Tests-Settings", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTest.package/SmTSettingsFinderTest.class/README.md b/SmartTest-Tests.package/SmTSettingsFinderTest.class/README.md similarity index 100% rename from SmartTest.package/SmTSettingsFinderTest.class/README.md rename to SmartTest-Tests.package/SmTSettingsFinderTest.class/README.md diff --git a/SmartTest.package/SmTSettingsFinderTest.class/class/isAbstract.st b/SmartTest-Tests.package/SmTSettingsFinderTest.class/class/isAbstract.st similarity index 100% rename from SmartTest.package/SmTSettingsFinderTest.class/class/isAbstract.st rename to SmartTest-Tests.package/SmTSettingsFinderTest.class/class/isAbstract.st diff --git a/SmartTest.package/SmTSettingsFinderTest.class/instance/finderStrategy.st b/SmartTest-Tests.package/SmTSettingsFinderTest.class/instance/finderStrategy.st similarity index 100% rename from SmartTest.package/SmTSettingsFinderTest.class/instance/finderStrategy.st rename to SmartTest-Tests.package/SmTSettingsFinderTest.class/instance/finderStrategy.st diff --git a/SmartTest.package/SmTSettingsFinderTest.class/instance/testChangeFinderStrategy.st b/SmartTest-Tests.package/SmTSettingsFinderTest.class/instance/testChangeFinderStrategy.st similarity index 100% rename from SmartTest.package/SmTSettingsFinderTest.class/instance/testChangeFinderStrategy.st rename to SmartTest-Tests.package/SmTSettingsFinderTest.class/instance/testChangeFinderStrategy.st diff --git a/SmartTest.package/SmTSettingsFinderTest.class/properties.json b/SmartTest-Tests.package/SmTSettingsFinderTest.class/properties.json similarity index 81% rename from SmartTest.package/SmTSettingsFinderTest.class/properties.json rename to SmartTest-Tests.package/SmTSettingsFinderTest.class/properties.json index fc3159a..0bbc317 100644 --- a/SmartTest.package/SmTSettingsFinderTest.class/properties.json +++ b/SmartTest-Tests.package/SmTSettingsFinderTest.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "", "super" : "SmTSettingsTest", - "category" : "SmartTest-Tests", + "category" : "SmartTest-Tests-Settings", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTest.package/SmTSettingsFinderTestCoverageTest.class/README.md b/SmartTest-Tests.package/SmTSettingsFinderTestCoverageTest.class/README.md similarity index 100% rename from SmartTest.package/SmTSettingsFinderTestCoverageTest.class/README.md rename to SmartTest-Tests.package/SmTSettingsFinderTestCoverageTest.class/README.md diff --git a/SmartTest.package/SmTSettingsFinderTestCoverageTest.class/instance/finderStrategy.st b/SmartTest-Tests.package/SmTSettingsFinderTestCoverageTest.class/instance/finderStrategy.st similarity index 100% rename from SmartTest.package/SmTSettingsFinderTestCoverageTest.class/instance/finderStrategy.st rename to SmartTest-Tests.package/SmTSettingsFinderTestCoverageTest.class/instance/finderStrategy.st diff --git a/SmartTest.package/SmTSettingsFinderTestCoverageTest.class/properties.json b/SmartTest-Tests.package/SmTSettingsFinderTestCoverageTest.class/properties.json similarity index 83% rename from SmartTest.package/SmTSettingsFinderTestCoverageTest.class/properties.json rename to SmartTest-Tests.package/SmTSettingsFinderTestCoverageTest.class/properties.json index 22b8432..cd1ed10 100644 --- a/SmartTest.package/SmTSettingsFinderTestCoverageTest.class/properties.json +++ b/SmartTest-Tests.package/SmTSettingsFinderTestCoverageTest.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "", "super" : "SmTSettingsFinderTest", - "category" : "SmartTest-Tests", + "category" : "SmartTest-Tests-Settings", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTest.package/SmTSettingsNoCacheTest.class/README.md b/SmartTest-Tests.package/SmTSettingsNoCacheTest.class/README.md similarity index 100% rename from SmartTest.package/SmTSettingsNoCacheTest.class/README.md rename to SmartTest-Tests.package/SmTSettingsNoCacheTest.class/README.md diff --git a/SmartTest.package/SmTSettingsNoCacheTest.class/instance/cacheStrategy.st b/SmartTest-Tests.package/SmTSettingsNoCacheTest.class/instance/cacheStrategy.st similarity index 100% rename from SmartTest.package/SmTSettingsNoCacheTest.class/instance/cacheStrategy.st rename to SmartTest-Tests.package/SmTSettingsNoCacheTest.class/instance/cacheStrategy.st diff --git a/SmartTest.package/SmTSettingsNoCacheTest.class/properties.json b/SmartTest-Tests.package/SmTSettingsNoCacheTest.class/properties.json similarity index 82% rename from SmartTest.package/SmTSettingsNoCacheTest.class/properties.json rename to SmartTest-Tests.package/SmTSettingsNoCacheTest.class/properties.json index 1e804af..9e57baf 100644 --- a/SmartTest.package/SmTSettingsNoCacheTest.class/properties.json +++ b/SmartTest-Tests.package/SmTSettingsNoCacheTest.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "", "super" : "SmTSettingsCacheTest", - "category" : "SmartTest-Tests", + "category" : "SmartTest-Tests-Settings", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTest.package/SmTSettingsPackagesRegexTest.class/README.md b/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/README.md similarity index 100% rename from SmartTest.package/SmTSettingsPackagesRegexTest.class/README.md rename to SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/README.md diff --git a/SmartTest.package/SmTSettingsPackagesRegexTest.class/class/isAbstract.st b/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/class/isAbstract.st similarity index 100% rename from SmartTest.package/SmTSettingsPackagesRegexTest.class/class/isAbstract.st rename to SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/class/isAbstract.st diff --git a/SmartTest.package/SmTSettingsPackagesRegexTest.class/instance/dataForTestRegex.st b/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/instance/dataForTestRegex.st similarity index 100% rename from SmartTest.package/SmTSettingsPackagesRegexTest.class/instance/dataForTestRegex.st rename to SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/instance/dataForTestRegex.st diff --git a/SmartTest.package/SmTSettingsPackagesRegexTest.class/instance/setUp.st b/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/instance/setUp.st similarity index 100% rename from SmartTest.package/SmTSettingsPackagesRegexTest.class/instance/setUp.st rename to SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/instance/setUp.st diff --git a/SmartTest.package/SmTSettingsPackagesRegexTest.class/instance/tearDown.st b/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/instance/tearDown.st similarity index 100% rename from SmartTest.package/SmTSettingsPackagesRegexTest.class/instance/tearDown.st rename to SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/instance/tearDown.st diff --git a/SmartTest.package/SmTSettingsPackagesRegexTest.class/instance/testChangeRegex.st b/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/instance/testChangeRegex.st similarity index 100% rename from SmartTest.package/SmTSettingsPackagesRegexTest.class/instance/testChangeRegex.st rename to SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/instance/testChangeRegex.st diff --git a/SmartTest.package/SmTSettingsPackagesRegexTest.class/properties.json b/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/properties.json similarity index 84% rename from SmartTest.package/SmTSettingsPackagesRegexTest.class/properties.json rename to SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/properties.json index e8694dd..dc65adf 100644 --- a/SmartTest.package/SmTSettingsPackagesRegexTest.class/properties.json +++ b/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "", "super" : "SmTSettingsTest", - "category" : "SmartTest-Tests", + "category" : "SmartTest-Tests-Settings", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTest.package/SmTSettingsRunnerDebugTest.class/README.md b/SmartTest-Tests.package/SmTSettingsRunnerDebugTest.class/README.md similarity index 100% rename from SmartTest.package/SmTSettingsRunnerDebugTest.class/README.md rename to SmartTest-Tests.package/SmTSettingsRunnerDebugTest.class/README.md diff --git a/SmartTest.package/SmTSettingsRunnerDebugTest.class/instance/runnerStrategy.st b/SmartTest-Tests.package/SmTSettingsRunnerDebugTest.class/instance/runnerStrategy.st similarity index 100% rename from SmartTest.package/SmTSettingsRunnerDebugTest.class/instance/runnerStrategy.st rename to SmartTest-Tests.package/SmTSettingsRunnerDebugTest.class/instance/runnerStrategy.st diff --git a/SmartTest.package/SmTSettingsRunnerDebugTest.class/properties.json b/SmartTest-Tests.package/SmTSettingsRunnerDebugTest.class/properties.json similarity index 82% rename from SmartTest.package/SmTSettingsRunnerDebugTest.class/properties.json rename to SmartTest-Tests.package/SmTSettingsRunnerDebugTest.class/properties.json index 0bbeafb..9ff2a92 100644 --- a/SmartTest.package/SmTSettingsRunnerDebugTest.class/properties.json +++ b/SmartTest-Tests.package/SmTSettingsRunnerDebugTest.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "", "super" : "SmTSettingsRunnerTest", - "category" : "SmartTest-Tests", + "category" : "SmartTest-Tests-Settings", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTest.package/SmTSettingsRunnerNoticeTest.class/README.md b/SmartTest-Tests.package/SmTSettingsRunnerNoticeTest.class/README.md similarity index 100% rename from SmartTest.package/SmTSettingsRunnerNoticeTest.class/README.md rename to SmartTest-Tests.package/SmTSettingsRunnerNoticeTest.class/README.md diff --git a/SmartTest.package/SmTSettingsRunnerNoticeTest.class/instance/runnerStrategy.st b/SmartTest-Tests.package/SmTSettingsRunnerNoticeTest.class/instance/runnerStrategy.st similarity index 100% rename from SmartTest.package/SmTSettingsRunnerNoticeTest.class/instance/runnerStrategy.st rename to SmartTest-Tests.package/SmTSettingsRunnerNoticeTest.class/instance/runnerStrategy.st diff --git a/SmartTest.package/SmTSettingsRunnerNoticeTest.class/properties.json b/SmartTest-Tests.package/SmTSettingsRunnerNoticeTest.class/properties.json similarity index 82% rename from SmartTest.package/SmTSettingsRunnerNoticeTest.class/properties.json rename to SmartTest-Tests.package/SmTSettingsRunnerNoticeTest.class/properties.json index 3cdd43f..a583b96 100644 --- a/SmartTest.package/SmTSettingsRunnerNoticeTest.class/properties.json +++ b/SmartTest-Tests.package/SmTSettingsRunnerNoticeTest.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "", "super" : "SmTSettingsRunnerTest", - "category" : "SmartTest-Tests", + "category" : "SmartTest-Tests-Settings", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTest.package/SmTSettingsRunnerSmartTest.class/README.md b/SmartTest-Tests.package/SmTSettingsRunnerSmartTest.class/README.md similarity index 100% rename from SmartTest.package/SmTSettingsRunnerSmartTest.class/README.md rename to SmartTest-Tests.package/SmTSettingsRunnerSmartTest.class/README.md diff --git a/SmartTest.package/SmTSettingsRunnerSmartTest.class/instance/runnerStrategy.st b/SmartTest-Tests.package/SmTSettingsRunnerSmartTest.class/instance/runnerStrategy.st similarity index 100% rename from SmartTest.package/SmTSettingsRunnerSmartTest.class/instance/runnerStrategy.st rename to SmartTest-Tests.package/SmTSettingsRunnerSmartTest.class/instance/runnerStrategy.st diff --git a/SmartTest.package/SmTSettingsRunnerSmartTest.class/properties.json b/SmartTest-Tests.package/SmTSettingsRunnerSmartTest.class/properties.json similarity index 82% rename from SmartTest.package/SmTSettingsRunnerSmartTest.class/properties.json rename to SmartTest-Tests.package/SmTSettingsRunnerSmartTest.class/properties.json index 77f1678..cb02290 100644 --- a/SmartTest.package/SmTSettingsRunnerSmartTest.class/properties.json +++ b/SmartTest-Tests.package/SmTSettingsRunnerSmartTest.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "", "super" : "SmTSettingsRunnerTest", - "category" : "SmartTest-Tests", + "category" : "SmartTest-Tests-Settings", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTest.package/SmTSettingsRunnerTest.class/README.md b/SmartTest-Tests.package/SmTSettingsRunnerTest.class/README.md similarity index 100% rename from SmartTest.package/SmTSettingsRunnerTest.class/README.md rename to SmartTest-Tests.package/SmTSettingsRunnerTest.class/README.md diff --git a/SmartTest.package/SmTSettingsRunnerTest.class/class/isAbstract.st b/SmartTest-Tests.package/SmTSettingsRunnerTest.class/class/isAbstract.st similarity index 100% rename from SmartTest.package/SmTSettingsRunnerTest.class/class/isAbstract.st rename to SmartTest-Tests.package/SmTSettingsRunnerTest.class/class/isAbstract.st diff --git a/SmartTest.package/SmTSettingsRunnerTest.class/instance/runnerStrategy.st b/SmartTest-Tests.package/SmTSettingsRunnerTest.class/instance/runnerStrategy.st similarity index 100% rename from SmartTest.package/SmTSettingsRunnerTest.class/instance/runnerStrategy.st rename to SmartTest-Tests.package/SmTSettingsRunnerTest.class/instance/runnerStrategy.st diff --git a/SmartTest.package/SmTSettingsRunnerTest.class/instance/testChangeRunnerStrategy.st b/SmartTest-Tests.package/SmTSettingsRunnerTest.class/instance/testChangeRunnerStrategy.st similarity index 100% rename from SmartTest.package/SmTSettingsRunnerTest.class/instance/testChangeRunnerStrategy.st rename to SmartTest-Tests.package/SmTSettingsRunnerTest.class/instance/testChangeRunnerStrategy.st diff --git a/SmartTest.package/SmTSettingsRunnerTest.class/properties.json b/SmartTest-Tests.package/SmTSettingsRunnerTest.class/properties.json similarity index 81% rename from SmartTest.package/SmTSettingsRunnerTest.class/properties.json rename to SmartTest-Tests.package/SmTSettingsRunnerTest.class/properties.json index 89830f9..d02140e 100644 --- a/SmartTest.package/SmTSettingsRunnerTest.class/properties.json +++ b/SmartTest-Tests.package/SmTSettingsRunnerTest.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "", "super" : "SmTSettingsTest", - "category" : "SmartTest-Tests", + "category" : "SmartTest-Tests-Settings", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTest.package/SmTSettingsTest.class/README.md b/SmartTest-Tests.package/SmTSettingsTest.class/README.md similarity index 100% rename from SmartTest.package/SmTSettingsTest.class/README.md rename to SmartTest-Tests.package/SmTSettingsTest.class/README.md diff --git a/SmartTest.package/SmTSettingsTest.class/class/isAbstract.st b/SmartTest-Tests.package/SmTSettingsTest.class/class/isAbstract.st similarity index 100% rename from SmartTest.package/SmTSettingsTest.class/class/isAbstract.st rename to SmartTest-Tests.package/SmTSettingsTest.class/class/isAbstract.st diff --git a/SmartTest.package/SmTSettingsTest.class/instance/setUp.st b/SmartTest-Tests.package/SmTSettingsTest.class/instance/setUp.st similarity index 100% rename from SmartTest.package/SmTSettingsTest.class/instance/setUp.st rename to SmartTest-Tests.package/SmTSettingsTest.class/instance/setUp.st diff --git a/SmartTest.package/SmTSettingsTest.class/instance/tearDown.st b/SmartTest-Tests.package/SmTSettingsTest.class/instance/tearDown.st similarity index 100% rename from SmartTest.package/SmTSettingsTest.class/instance/tearDown.st rename to SmartTest-Tests.package/SmTSettingsTest.class/instance/tearDown.st diff --git a/SmartTest.package/SmTSettingsTest.class/properties.json b/SmartTest-Tests.package/SmTSettingsTest.class/properties.json similarity index 82% rename from SmartTest.package/SmTSettingsTest.class/properties.json rename to SmartTest-Tests.package/SmTSettingsTest.class/properties.json index 1ca47d9..830a25c 100644 --- a/SmartTest.package/SmTSettingsTest.class/properties.json +++ b/SmartTest-Tests.package/SmTSettingsTest.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "", "super" : "TestCase", - "category" : "SmartTest-Tests", + "category" : "SmartTest-Tests-Settings", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTest.package/SmTSettingsTestingStrategyAlwaysTest.class/README.md b/SmartTest-Tests.package/SmTSettingsTestingStrategyAlwaysTest.class/README.md similarity index 100% rename from SmartTest.package/SmTSettingsTestingStrategyAlwaysTest.class/README.md rename to SmartTest-Tests.package/SmTSettingsTestingStrategyAlwaysTest.class/README.md diff --git a/SmartTest.package/SmTSettingsTestingStrategyAlwaysTest.class/instance/getTestingStrategy.st b/SmartTest-Tests.package/SmTSettingsTestingStrategyAlwaysTest.class/instance/getTestingStrategy.st similarity index 100% rename from SmartTest.package/SmTSettingsTestingStrategyAlwaysTest.class/instance/getTestingStrategy.st rename to SmartTest-Tests.package/SmTSettingsTestingStrategyAlwaysTest.class/instance/getTestingStrategy.st diff --git a/SmartTest.package/SmTSettingsTestingStrategyAlwaysTest.class/properties.json b/SmartTest-Tests.package/SmTSettingsTestingStrategyAlwaysTest.class/properties.json similarity index 83% rename from SmartTest.package/SmTSettingsTestingStrategyAlwaysTest.class/properties.json rename to SmartTest-Tests.package/SmTSettingsTestingStrategyAlwaysTest.class/properties.json index c0bfb35..db21bc6 100644 --- a/SmartTest.package/SmTSettingsTestingStrategyAlwaysTest.class/properties.json +++ b/SmartTest-Tests.package/SmTSettingsTestingStrategyAlwaysTest.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "", "super" : "SmTSettingsTestingStrategyTest", - "category" : "SmartTest-Tests", + "category" : "SmartTest-Tests-Settings", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTest.package/SmTSettingsTestingStrategyEachModificationTest.class/README.md b/SmartTest-Tests.package/SmTSettingsTestingStrategyEachModificationTest.class/README.md similarity index 100% rename from SmartTest.package/SmTSettingsTestingStrategyEachModificationTest.class/README.md rename to SmartTest-Tests.package/SmTSettingsTestingStrategyEachModificationTest.class/README.md diff --git a/SmartTest.package/SmTSettingsTestingStrategyEachModificationTest.class/instance/getTestingStrategy.st b/SmartTest-Tests.package/SmTSettingsTestingStrategyEachModificationTest.class/instance/getTestingStrategy.st similarity index 100% rename from SmartTest.package/SmTSettingsTestingStrategyEachModificationTest.class/instance/getTestingStrategy.st rename to SmartTest-Tests.package/SmTSettingsTestingStrategyEachModificationTest.class/instance/getTestingStrategy.st diff --git a/SmartTest.package/SmTSettingsTestingStrategyEachModificationTest.class/properties.json b/SmartTest-Tests.package/SmTSettingsTestingStrategyEachModificationTest.class/properties.json similarity index 84% rename from SmartTest.package/SmTSettingsTestingStrategyEachModificationTest.class/properties.json rename to SmartTest-Tests.package/SmTSettingsTestingStrategyEachModificationTest.class/properties.json index 9131109..6c645de 100644 --- a/SmartTest.package/SmTSettingsTestingStrategyEachModificationTest.class/properties.json +++ b/SmartTest-Tests.package/SmTSettingsTestingStrategyEachModificationTest.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "", "super" : "SmTSettingsTestingStrategyTest", - "category" : "SmartTest-Tests", + "category" : "SmartTest-Tests-Settings", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTest.package/SmTSettingsTestingStrategyFiveMinutesTest.class/README.md b/SmartTest-Tests.package/SmTSettingsTestingStrategyFiveMinutesTest.class/README.md similarity index 100% rename from SmartTest.package/SmTSettingsTestingStrategyFiveMinutesTest.class/README.md rename to SmartTest-Tests.package/SmTSettingsTestingStrategyFiveMinutesTest.class/README.md diff --git a/SmartTest.package/SmTSettingsTestingStrategyFiveMinutesTest.class/instance/getTestingStrategy.st b/SmartTest-Tests.package/SmTSettingsTestingStrategyFiveMinutesTest.class/instance/getTestingStrategy.st similarity index 100% rename from SmartTest.package/SmTSettingsTestingStrategyFiveMinutesTest.class/instance/getTestingStrategy.st rename to SmartTest-Tests.package/SmTSettingsTestingStrategyFiveMinutesTest.class/instance/getTestingStrategy.st diff --git a/SmartTest.package/SmTSettingsTestingStrategyFiveMinutesTest.class/properties.json b/SmartTest-Tests.package/SmTSettingsTestingStrategyFiveMinutesTest.class/properties.json similarity index 84% rename from SmartTest.package/SmTSettingsTestingStrategyFiveMinutesTest.class/properties.json rename to SmartTest-Tests.package/SmTSettingsTestingStrategyFiveMinutesTest.class/properties.json index 5b42a34..cc0af9b 100644 --- a/SmartTest.package/SmTSettingsTestingStrategyFiveMinutesTest.class/properties.json +++ b/SmartTest-Tests.package/SmTSettingsTestingStrategyFiveMinutesTest.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "", "super" : "SmTSettingsTestingStrategyTest", - "category" : "SmartTest-Tests", + "category" : "SmartTest-Tests-Settings", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTest.package/SmTSettingsTestingStrategyNeverTest.class/README.md b/SmartTest-Tests.package/SmTSettingsTestingStrategyNeverTest.class/README.md similarity index 100% rename from SmartTest.package/SmTSettingsTestingStrategyNeverTest.class/README.md rename to SmartTest-Tests.package/SmTSettingsTestingStrategyNeverTest.class/README.md diff --git a/SmartTest.package/SmTSettingsTestingStrategyNeverTest.class/instance/getTestingStrategy.st b/SmartTest-Tests.package/SmTSettingsTestingStrategyNeverTest.class/instance/getTestingStrategy.st similarity index 100% rename from SmartTest.package/SmTSettingsTestingStrategyNeverTest.class/instance/getTestingStrategy.st rename to SmartTest-Tests.package/SmTSettingsTestingStrategyNeverTest.class/instance/getTestingStrategy.st diff --git a/SmartTest.package/SmTSettingsTestingStrategyNeverTest.class/properties.json b/SmartTest-Tests.package/SmTSettingsTestingStrategyNeverTest.class/properties.json similarity index 83% rename from SmartTest.package/SmTSettingsTestingStrategyNeverTest.class/properties.json rename to SmartTest-Tests.package/SmTSettingsTestingStrategyNeverTest.class/properties.json index 4164679..a830630 100644 --- a/SmartTest.package/SmTSettingsTestingStrategyNeverTest.class/properties.json +++ b/SmartTest-Tests.package/SmTSettingsTestingStrategyNeverTest.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "", "super" : "SmTSettingsTestingStrategyTest", - "category" : "SmartTest-Tests", + "category" : "SmartTest-Tests-Settings", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTest.package/SmTSettingsTestingStrategyTest.class/README.md b/SmartTest-Tests.package/SmTSettingsTestingStrategyTest.class/README.md similarity index 100% rename from SmartTest.package/SmTSettingsTestingStrategyTest.class/README.md rename to SmartTest-Tests.package/SmTSettingsTestingStrategyTest.class/README.md diff --git a/SmartTest.package/SmTSettingsTestingStrategyTest.class/class/isAbstract.st b/SmartTest-Tests.package/SmTSettingsTestingStrategyTest.class/class/isAbstract.st similarity index 100% rename from SmartTest.package/SmTSettingsTestingStrategyTest.class/class/isAbstract.st rename to SmartTest-Tests.package/SmTSettingsTestingStrategyTest.class/class/isAbstract.st diff --git a/SmartTest.package/SmTSettingsTestingStrategyTest.class/instance/getTestingStrategy.st b/SmartTest-Tests.package/SmTSettingsTestingStrategyTest.class/instance/getTestingStrategy.st similarity index 100% rename from SmartTest.package/SmTSettingsTestingStrategyTest.class/instance/getTestingStrategy.st rename to SmartTest-Tests.package/SmTSettingsTestingStrategyTest.class/instance/getTestingStrategy.st diff --git a/SmartTest.package/SmTSettingsTestingStrategyTest.class/instance/testChangeTestingStrategyStrategy.st b/SmartTest-Tests.package/SmTSettingsTestingStrategyTest.class/instance/testChangeTestingStrategyStrategy.st similarity index 100% rename from SmartTest.package/SmTSettingsTestingStrategyTest.class/instance/testChangeTestingStrategyStrategy.st rename to SmartTest-Tests.package/SmTSettingsTestingStrategyTest.class/instance/testChangeTestingStrategyStrategy.st diff --git a/SmartTest.package/SmTSettingsTestingStrategyTest.class/properties.json b/SmartTest-Tests.package/SmTSettingsTestingStrategyTest.class/properties.json similarity index 82% rename from SmartTest.package/SmTSettingsTestingStrategyTest.class/properties.json rename to SmartTest-Tests.package/SmTSettingsTestingStrategyTest.class/properties.json index fc5fd27..d5435e1 100644 --- a/SmartTest.package/SmTSettingsTestingStrategyTest.class/properties.json +++ b/SmartTest-Tests.package/SmTSettingsTestingStrategyTest.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "", "super" : "SmTSettingsTest", - "category" : "SmartTest-Tests", + "category" : "SmartTest-Tests-Settings", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTest-Tests.package/monticello.meta/categories.st b/SmartTest-Tests.package/monticello.meta/categories.st index 390a699..4a8349a 100644 --- a/SmartTest-Tests.package/monticello.meta/categories.st +++ b/SmartTest-Tests.package/monticello.meta/categories.st @@ -4,3 +4,4 @@ SystemOrganization addCategory: #'SmartTest-Tests-Filter'! SystemOrganization addCategory: #'SmartTest-Tests-Finder'! SystemOrganization addCategory: #'SmartTest-Tests-OnModification'! SystemOrganization addCategory: #'SmartTest-Tests-Runner'! +SystemOrganization addCategory: #'SmartTest-Tests-Settings'! diff --git a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/availablePackages.st b/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/availablePackages.st index 9a9bf2c..ea0719c 100644 --- a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/availablePackages.st +++ b/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/availablePackages.st @@ -11,7 +11,7 @@ or: [ (package packageName beginsWith: 'Ring') or: [ (package packageName beginsWith: 'Regex') or: [ (package packageName beginsWith: 'Exceptions') or: [ (package packageName beginsWith: 'SUnit') - or: [ (package packageName beginsWith: 'System') or: [ (package packageName includesSubstring: 'Tests' caseSensitive: false ) + or: [ (package packageName beginsWith: 'System') or: [ (package packageName endsWith: 'Tests') or: [ package packageName includesSubstring: 'HudsonBuildTools20' caseSensitive: false ] ] ] ] ] ] ] ] ] ]) sort: [ :a :b | a packageName < b packageName ]. ^ availablePackages \ No newline at end of file diff --git a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/installProxyFor..st b/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/installProxyFor..st index 8dc0f4d..ee02dce 100644 --- a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/installProxyFor..st +++ b/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/installProxyFor..st @@ -4,9 +4,9 @@ installProxyFor: aTestCase self currentTestExecution: aTestCase. self addATest: aTestCase toMethodReference: aTestCase methodReference. listOfPackage := OrderedCollection new. - listOfPackage add: (self extractPackageBaseName: (aTestCase methodReference compiledMethod package name)). + listOfPackage addAll: (SmalltalkImage current packages select: [ :package | package name beginsWith: (self extractPackageBaseName: (aTestCase methodReference compiledMethod package name)) ] ). methodToWrap := Set new. - methodToWrap addAll: (self collectMethodToTestForPackagesNamed: listOfPackage). + methodToWrap addAll: (self collectMethodToTestForPackagesNamed: (listOfPackage collect: #name)). methodToWrap := methodToWrap intersection: self availableMethods. wrappers at: aTestCase From ef21ef0ec3a2bf8c300c6d7f76906b7d63f0fe70 Mon Sep 17 00:00:00 2001 From: eleonoreW Date: Wed, 27 Jun 2018 10:28:09 +0200 Subject: [PATCH 108/150] reclassification --- .../instance/testChangeCacheStrategy.st | 2 +- .../instance/testChangeFilterStrategy.st | 2 +- .../instance/testChangeFinderStrategy.st | 2 +- .../instance/testChangeRunnerStrategy.st | 2 +- .../instance/testChangeTestingStrategyStrategy.st | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/SmartTest-Tests.package/SmTSettingsCacheTest.class/instance/testChangeCacheStrategy.st b/SmartTest-Tests.package/SmTSettingsCacheTest.class/instance/testChangeCacheStrategy.st index 32b772b..50663d8 100644 --- a/SmartTest-Tests.package/SmTSettingsCacheTest.class/instance/testChangeCacheStrategy.st +++ b/SmartTest-Tests.package/SmTSettingsCacheTest.class/instance/testChangeCacheStrategy.st @@ -1,4 +1,4 @@ -running +tests testChangeCacheStrategy "Test changement of the runner in the setting (throught SmTRules methods)" diff --git a/SmartTest-Tests.package/SmTSettingsFilterTest.class/instance/testChangeFilterStrategy.st b/SmartTest-Tests.package/SmTSettingsFilterTest.class/instance/testChangeFilterStrategy.st index 979c7cb..3798777 100644 --- a/SmartTest-Tests.package/SmTSettingsFilterTest.class/instance/testChangeFilterStrategy.st +++ b/SmartTest-Tests.package/SmTSettingsFilterTest.class/instance/testChangeFilterStrategy.st @@ -1,4 +1,4 @@ -running +tests testChangeFilterStrategy "Test changement of the runner in the setting (throught SmTRules methods)" diff --git a/SmartTest-Tests.package/SmTSettingsFinderTest.class/instance/testChangeFinderStrategy.st b/SmartTest-Tests.package/SmTSettingsFinderTest.class/instance/testChangeFinderStrategy.st index f4ca38a..9a069df 100644 --- a/SmartTest-Tests.package/SmTSettingsFinderTest.class/instance/testChangeFinderStrategy.st +++ b/SmartTest-Tests.package/SmTSettingsFinderTest.class/instance/testChangeFinderStrategy.st @@ -1,4 +1,4 @@ -running +tests testChangeFinderStrategy "Test changement of the runner in the setting (throught SmTRules methods)" diff --git a/SmartTest-Tests.package/SmTSettingsRunnerTest.class/instance/testChangeRunnerStrategy.st b/SmartTest-Tests.package/SmTSettingsRunnerTest.class/instance/testChangeRunnerStrategy.st index fb729af..56d97bd 100644 --- a/SmartTest-Tests.package/SmTSettingsRunnerTest.class/instance/testChangeRunnerStrategy.st +++ b/SmartTest-Tests.package/SmTSettingsRunnerTest.class/instance/testChangeRunnerStrategy.st @@ -1,4 +1,4 @@ -running +tests testChangeRunnerStrategy "Test changement of the runner in the setting (throught SmTRules methods)" diff --git a/SmartTest-Tests.package/SmTSettingsTestingStrategyTest.class/instance/testChangeTestingStrategyStrategy.st b/SmartTest-Tests.package/SmTSettingsTestingStrategyTest.class/instance/testChangeTestingStrategyStrategy.st index 1d2267d..681e96d 100644 --- a/SmartTest-Tests.package/SmTSettingsTestingStrategyTest.class/instance/testChangeTestingStrategyStrategy.st +++ b/SmartTest-Tests.package/SmTSettingsTestingStrategyTest.class/instance/testChangeTestingStrategyStrategy.st @@ -1,4 +1,4 @@ -running +tests testChangeTestingStrategyStrategy "Test changement of the runner in the setting (throught SmTRules methods)" From 549eea1e0125b65608549294aa3962f818d1b8f6 Mon Sep 17 00:00:00 2001 From: eleonoreW Date: Wed, 27 Jun 2018 11:27:04 +0200 Subject: [PATCH 109/150] Test for traits tests --- .../instance/testTraitTestInside.st | 4 ++-- .../instance/testTraitTestOutside.st | 4 ++-- .../instance/testTraitTestOutside.st | 9 +++++++++ .../README.md | 0 .../properties.json | 8 ++++---- .../README.md | 0 .../instance/traitMethod1Inside.st | 3 ++- .../properties.json | 4 ++-- .../README.md | 0 .../instance/testTraitMethod1Inside.st | 4 ++++ .../properties.json | 2 +- .../SmTTraitOutside.trait/README.md | 0 .../instance/traitMethod1Outside.st | 4 ++++ .../SmTTraitOutside.trait/properties.json | 7 +++++++ .../instance/testTraitMethod1Inside.st | 3 --- .../instance/testTraitMethod1Insidedwefwe.st | 3 --- .../SmTClassOutsideUsesTrait.class/README.md | 2 ++ .../SmTClassOutsideUsesTrait.class/properties.json | 13 +++++++++++++ .../SmTTraitOutsideTest.class/README.md | 1 + .../instance/testTraitMethod1Outside.st | 4 ++++ .../SmTTraitOutsideTest.class/properties.json | 11 +++++++++++ .../monticello.meta/categories.st | 2 ++ 22 files changed, 70 insertions(+), 18 deletions(-) create mode 100644 SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testTraitTestOutside.st rename SmartTestDataOutsideP1.package/{SmTTrait.trait => SmTClassInsideUsesTrait.class}/README.md (100%) rename SmartTestDataOutsideP1.package/{SmTClassUsesTrait.class => SmTClassInsideUsesTrait.class}/properties.json (50%) rename SmartTestDataOutsideP1.package/{SmTClassUsesTrait.class => SmTTraitInside.trait}/README.md (100%) rename SmartTestDataOutsideP1.package/{SmTTrait.trait => SmTTraitInside.trait}/instance/traitMethod1Inside.st (68%) rename SmartTestDataOutsideP1.package/{SmTTrait.trait => SmTTraitInside.trait}/properties.json (60%) rename SmartTestDataOutsideP1.package/{SmTTraitTest.class => SmTTraitInsideTest.class}/README.md (100%) create mode 100644 SmartTestDataOutsideP1.package/SmTTraitInsideTest.class/instance/testTraitMethod1Inside.st rename SmartTestDataOutsideP1.package/{SmTTraitTest.class => SmTTraitInsideTest.class}/properties.json (86%) create mode 100644 SmartTestDataOutsideP1.package/SmTTraitOutside.trait/README.md create mode 100644 SmartTestDataOutsideP1.package/SmTTraitOutside.trait/instance/traitMethod1Outside.st create mode 100644 SmartTestDataOutsideP1.package/SmTTraitOutside.trait/properties.json delete mode 100644 SmartTestDataOutsideP1.package/SmTTraitTest.class/instance/testTraitMethod1Inside.st delete mode 100644 SmartTestDataOutsideP1.package/SmTTraitTest.class/instance/testTraitMethod1Insidedwefwe.st create mode 100644 SmartTestDataOutsideP2.package/SmTClassOutsideUsesTrait.class/README.md create mode 100644 SmartTestDataOutsideP2.package/SmTClassOutsideUsesTrait.class/properties.json create mode 100644 SmartTestDataOutsideP2.package/SmTTraitOutsideTest.class/README.md create mode 100644 SmartTestDataOutsideP2.package/SmTTraitOutsideTest.class/instance/testTraitMethod1Outside.st create mode 100644 SmartTestDataOutsideP2.package/SmTTraitOutsideTest.class/properties.json diff --git a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testTraitTestInside.st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testTraitTestInside.st index 3c3eab5..02394c4 100644 --- a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testTraitTestInside.st +++ b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testTraitTestInside.st @@ -2,7 +2,7 @@ test - extension method testTraitTestInside | testsFound | - testsFound := smartFinder smtFinder searchTestsForATrait: SmTTrait. - self assert: (testsFound includes: ((('SmT','TraitTest') asClass >> ('testTraitMethod1','Inside') asSymbol) asRingDefinition )). + testsFound := smartFinder smtFinder searchTestsForATrait: SmTTraitInside. + self assert: (testsFound includes: ((('SmT','TraitInsideTest') asClass >> ('testTraitMethod1','Inside') asSymbol) asRingDefinition )). \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testTraitTestOutside.st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testTraitTestOutside.st index 2c9bff9..ff1028a 100644 --- a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testTraitTestOutside.st +++ b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testTraitTestOutside.st @@ -2,7 +2,7 @@ test - extension method testTraitTestOutside | testsFound | - testsFound := smartFinder smtFinder searchTestsForATrait: SmTTrait. - self assert: (testsFound includes: ((('SmT','TraitTest') asClass >> ('testTraitMethod1','Inside') asSymbol) asRingDefinition )). + testsFound := smartFinder smtFinder searchTestsForATrait: SmTTraitInside. + self deny: (testsFound includes: ((('SmT','TraitOutsideTest') asClass >> ('testTraitMethod1','Outside') asSymbol) asRingDefinition )). \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testTraitTestOutside.st b/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testTraitTestOutside.st new file mode 100644 index 0000000..df42af3 --- /dev/null +++ b/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testTraitTestOutside.st @@ -0,0 +1,9 @@ +test - extension method +testTraitTestOutside +"Should not find the test as it is outside of the scope of the finder" + + | testsFound | + testsFound := smartFinder smtFinder searchTestsForATrait: SmTTraitInside. + self assert: (testsFound includes: ((('SmT','TraitOutsideTest') asClass >> ('testTraitMethod1','Outside') asSymbol) asRingDefinition )). + + \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTTrait.trait/README.md b/SmartTestDataOutsideP1.package/SmTClassInsideUsesTrait.class/README.md similarity index 100% rename from SmartTestDataOutsideP1.package/SmTTrait.trait/README.md rename to SmartTestDataOutsideP1.package/SmTClassInsideUsesTrait.class/README.md diff --git a/SmartTestDataOutsideP1.package/SmTClassUsesTrait.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassInsideUsesTrait.class/properties.json similarity index 50% rename from SmartTestDataOutsideP1.package/SmTClassUsesTrait.class/properties.json rename to SmartTestDataOutsideP1.package/SmTClassInsideUsesTrait.class/properties.json index ecfa4fb..4775ea0 100644 --- a/SmartTestDataOutsideP1.package/SmTClassUsesTrait.class/properties.json +++ b/SmartTestDataOutsideP1.package/SmTClassInsideUsesTrait.class/properties.json @@ -1,11 +1,11 @@ { - "classtraitcomposition" : "SmTTrait classTrait", + "classtraitcomposition" : "SmTTraitInside classTrait", "classvars" : [ ], "instvars" : [ ], - "name" : "SmTClassUsesTrait", - "commentStamp" : "", + "name" : "SmTClassInsideUsesTrait", + "commentStamp" : "eleonoreW 6/27/2018 11:20", "super" : "Object", - "traitcomposition" : "SmTTrait", + "traitcomposition" : "SmTTraitInside", "type" : "normal", "classinstvars" : [ ], "pools" : [ ], diff --git a/SmartTestDataOutsideP1.package/SmTClassUsesTrait.class/README.md b/SmartTestDataOutsideP1.package/SmTTraitInside.trait/README.md similarity index 100% rename from SmartTestDataOutsideP1.package/SmTClassUsesTrait.class/README.md rename to SmartTestDataOutsideP1.package/SmTTraitInside.trait/README.md diff --git a/SmartTestDataOutsideP1.package/SmTTrait.trait/instance/traitMethod1Inside.st b/SmartTestDataOutsideP1.package/SmTTraitInside.trait/instance/traitMethod1Inside.st similarity index 68% rename from SmartTestDataOutsideP1.package/SmTTrait.trait/instance/traitMethod1Inside.st rename to SmartTestDataOutsideP1.package/SmTTraitInside.trait/instance/traitMethod1Inside.st index e1897a9..a59f122 100644 --- a/SmartTestDataOutsideP1.package/SmTTrait.trait/instance/traitMethod1Inside.st +++ b/SmartTestDataOutsideP1.package/SmTTraitInside.trait/instance/traitMethod1Inside.st @@ -1,3 +1,4 @@ -method1 +as yet unclassified +"method1" traitMethod1Inside "The behaviour of this method is irrelevant" diff --git a/SmartTestDataOutsideP1.package/SmTTrait.trait/properties.json b/SmartTestDataOutsideP1.package/SmTTraitInside.trait/properties.json similarity index 60% rename from SmartTestDataOutsideP1.package/SmTTrait.trait/properties.json rename to SmartTestDataOutsideP1.package/SmTTraitInside.trait/properties.json index e662f04..e87dced 100644 --- a/SmartTestDataOutsideP1.package/SmTTrait.trait/properties.json +++ b/SmartTestDataOutsideP1.package/SmTTraitInside.trait/properties.json @@ -1,7 +1,7 @@ { - "commentStamp" : "eleonoreW 6/19/2018 15:32", + "commentStamp" : "", "classinstvars" : [ ], "category" : "SmartTestDataOutsideP1-ModificationOnTrait", "instvars" : [ ], - "name" : "SmTTrait" + "name" : "SmTTraitInside" } \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTTraitTest.class/README.md b/SmartTestDataOutsideP1.package/SmTTraitInsideTest.class/README.md similarity index 100% rename from SmartTestDataOutsideP1.package/SmTTraitTest.class/README.md rename to SmartTestDataOutsideP1.package/SmTTraitInsideTest.class/README.md diff --git a/SmartTestDataOutsideP1.package/SmTTraitInsideTest.class/instance/testTraitMethod1Inside.st b/SmartTestDataOutsideP1.package/SmTTraitInsideTest.class/instance/testTraitMethod1Inside.st new file mode 100644 index 0000000..679b160 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTTraitInsideTest.class/instance/testTraitMethod1Inside.st @@ -0,0 +1,4 @@ +tests +"tests" +testTraitMethod1Inside +SmTClassInsideUsesTrait >> #traitMethod1Inside \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTTraitTest.class/properties.json b/SmartTestDataOutsideP1.package/SmTTraitInsideTest.class/properties.json similarity index 86% rename from SmartTestDataOutsideP1.package/SmTTraitTest.class/properties.json rename to SmartTestDataOutsideP1.package/SmTTraitInsideTest.class/properties.json index 6395a04..7b3f6f9 100644 --- a/SmartTestDataOutsideP1.package/SmTTraitTest.class/properties.json +++ b/SmartTestDataOutsideP1.package/SmTTraitInsideTest.class/properties.json @@ -6,6 +6,6 @@ "pools" : [ ], "classvars" : [ ], "instvars" : [ ], - "name" : "SmTTraitTest", + "name" : "SmTTraitInsideTest", "type" : "normal" } \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTTraitOutside.trait/README.md b/SmartTestDataOutsideP1.package/SmTTraitOutside.trait/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTestDataOutsideP1.package/SmTTraitOutside.trait/instance/traitMethod1Outside.st b/SmartTestDataOutsideP1.package/SmTTraitOutside.trait/instance/traitMethod1Outside.st new file mode 100644 index 0000000..9616918 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTTraitOutside.trait/instance/traitMethod1Outside.st @@ -0,0 +1,4 @@ +as yet unclassified +"method1" +traitMethod1Outside +"The behaviour of this method is irrelevant" diff --git a/SmartTestDataOutsideP1.package/SmTTraitOutside.trait/properties.json b/SmartTestDataOutsideP1.package/SmTTraitOutside.trait/properties.json new file mode 100644 index 0000000..59053b4 --- /dev/null +++ b/SmartTestDataOutsideP1.package/SmTTraitOutside.trait/properties.json @@ -0,0 +1,7 @@ +{ + "commentStamp" : "", + "classinstvars" : [ ], + "category" : "SmartTestDataOutsideP1-ModificationOnTrait", + "instvars" : [ ], + "name" : "SmTTraitOutside" +} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTTraitTest.class/instance/testTraitMethod1Inside.st b/SmartTestDataOutsideP1.package/SmTTraitTest.class/instance/testTraitMethod1Inside.st deleted file mode 100644 index 499eca2..0000000 --- a/SmartTestDataOutsideP1.package/SmTTraitTest.class/instance/testTraitMethod1Inside.st +++ /dev/null @@ -1,3 +0,0 @@ -tests -testTraitMethod1Inside -SmTClassUsesTrait >> #traitMethod1Inside \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTTraitTest.class/instance/testTraitMethod1Insidedwefwe.st b/SmartTestDataOutsideP1.package/SmTTraitTest.class/instance/testTraitMethod1Insidedwefwe.st deleted file mode 100644 index 8677b9d..0000000 --- a/SmartTestDataOutsideP1.package/SmTTraitTest.class/instance/testTraitMethod1Insidedwefwe.st +++ /dev/null @@ -1,3 +0,0 @@ -tests -testTraitMethod1Insidedwefwe -SmTClassUsesTrait >> #traitMethod1Inside \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassOutsideUsesTrait.class/README.md b/SmartTestDataOutsideP2.package/SmTClassOutsideUsesTrait.class/README.md new file mode 100644 index 0000000..9870cfa --- /dev/null +++ b/SmartTestDataOutsideP2.package/SmTClassOutsideUsesTrait.class/README.md @@ -0,0 +1,2 @@ +This trait is used mostly for testing the behaviour of SmartTest when dealing with traits. +It uses the trait SmTTraitOutside. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassOutsideUsesTrait.class/properties.json b/SmartTestDataOutsideP2.package/SmTClassOutsideUsesTrait.class/properties.json new file mode 100644 index 0000000..7ff0289 --- /dev/null +++ b/SmartTestDataOutsideP2.package/SmTClassOutsideUsesTrait.class/properties.json @@ -0,0 +1,13 @@ +{ + "classtraitcomposition" : "SmTTraitOutside classTrait", + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTClassOutsideUsesTrait", + "commentStamp" : "eleonoreW 6/27/2018 11:21", + "super" : "Object", + "traitcomposition" : "SmTTraitOutside", + "type" : "normal", + "classinstvars" : [ ], + "pools" : [ ], + "category" : "SmartTestDataOutsideP2-ModificationOnTrait" +} \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTTraitOutsideTest.class/README.md b/SmartTestDataOutsideP2.package/SmTTraitOutsideTest.class/README.md new file mode 100644 index 0000000..c9e3c1c --- /dev/null +++ b/SmartTestDataOutsideP2.package/SmTTraitOutsideTest.class/README.md @@ -0,0 +1 @@ +This trait is used mostly for testing the behaviour of SmartTest when dealing with traits. diff --git a/SmartTestDataOutsideP2.package/SmTTraitOutsideTest.class/instance/testTraitMethod1Outside.st b/SmartTestDataOutsideP2.package/SmTTraitOutsideTest.class/instance/testTraitMethod1Outside.st new file mode 100644 index 0000000..4d2adf7 --- /dev/null +++ b/SmartTestDataOutsideP2.package/SmTTraitOutsideTest.class/instance/testTraitMethod1Outside.st @@ -0,0 +1,4 @@ +tests +"tests" +testTraitMethod1Outside +SmTClassInsideUsesTrait >> #traitMethod1Inside \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTTraitOutsideTest.class/properties.json b/SmartTestDataOutsideP2.package/SmTTraitOutsideTest.class/properties.json new file mode 100644 index 0000000..fb3301d --- /dev/null +++ b/SmartTestDataOutsideP2.package/SmTTraitOutsideTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "eleonoreW 6/27/2018 11:22", + "super" : "TestCase", + "category" : "SmartTestDataOutsideP2-ModificationOnTrait-Test", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTTraitOutsideTest", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/monticello.meta/categories.st b/SmartTestDataOutsideP2.package/monticello.meta/categories.st index c834304..23fdcf3 100644 --- a/SmartTestDataOutsideP2.package/monticello.meta/categories.st +++ b/SmartTestDataOutsideP2.package/monticello.meta/categories.st @@ -7,3 +7,5 @@ SystemOrganization addCategory: #'SmartTestDataOutsideP2-ModificationOnMethod-Se SystemOrganization addCategory: #'SmartTestDataOutsideP2-ModificationOnMethod-Tests'! SystemOrganization addCategory: #'SmartTestDataOutsideP2-ModificationOnMethod-WithoutRef'! SystemOrganization addCategory: #'SmartTestDataOutsideP2-ModificationOnVariable-Tests'! +anization addCategory: #'SmartTestDataOutsideP2-ModificationOnTrait-Test'! +SystemOrganization addCategory: #'SmartTestDataOutsideP2-ModificationOnVariable-Tests'! From 578df52a292d85b25e295ef0282f8e4799b9d6c8 Mon Sep 17 00:00:00 2001 From: eleonoreW Date: Wed, 27 Jun 2018 12:01:51 +0200 Subject: [PATCH 110/150] trying to correct the bugs --- .../instance/testTraitTestInside.st | 8 -------- .../instance/testTraitTestOutside.st | 8 -------- .../SmTClassInsideUsesTrait.class/README.md | 1 - .../SmTClassInsideUsesTrait.class/properties.json | 13 ------------- .../SmTTraitInside.trait/README.md | 0 .../instance/traitMethod1Inside.st | 4 ---- .../SmTTraitInside.trait/properties.json | 7 ------- .../SmTTraitInsideTest.class/README.md | 0 .../instance/testTraitMethod1Inside.st | 4 ---- .../SmTTraitInsideTest.class/properties.json | 11 ----------- .../SmTTraitOutside.trait/README.md | 0 .../instance/traitMethod1Outside.st | 4 ---- .../SmTTraitOutside.trait/properties.json | 7 ------- .../SmTClassOutsideUsesTrait.class/README.md | 2 -- .../SmTClassOutsideUsesTrait.class/properties.json | 13 ------------- .../SmTTraitOutsideTest.class/README.md | 1 - .../instance/testTraitMethod1Outside.st | 4 ---- .../SmTTraitOutsideTest.class/properties.json | 11 ----------- .../monticello.meta/categories.st | 1 - 19 files changed, 99 deletions(-) delete mode 100644 SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testTraitTestInside.st delete mode 100644 SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testTraitTestOutside.st delete mode 100644 SmartTestDataOutsideP1.package/SmTClassInsideUsesTrait.class/README.md delete mode 100644 SmartTestDataOutsideP1.package/SmTClassInsideUsesTrait.class/properties.json delete mode 100644 SmartTestDataOutsideP1.package/SmTTraitInside.trait/README.md delete mode 100644 SmartTestDataOutsideP1.package/SmTTraitInside.trait/instance/traitMethod1Inside.st delete mode 100644 SmartTestDataOutsideP1.package/SmTTraitInside.trait/properties.json delete mode 100644 SmartTestDataOutsideP1.package/SmTTraitInsideTest.class/README.md delete mode 100644 SmartTestDataOutsideP1.package/SmTTraitInsideTest.class/instance/testTraitMethod1Inside.st delete mode 100644 SmartTestDataOutsideP1.package/SmTTraitInsideTest.class/properties.json delete mode 100644 SmartTestDataOutsideP1.package/SmTTraitOutside.trait/README.md delete mode 100644 SmartTestDataOutsideP1.package/SmTTraitOutside.trait/instance/traitMethod1Outside.st delete mode 100644 SmartTestDataOutsideP1.package/SmTTraitOutside.trait/properties.json delete mode 100644 SmartTestDataOutsideP2.package/SmTClassOutsideUsesTrait.class/README.md delete mode 100644 SmartTestDataOutsideP2.package/SmTClassOutsideUsesTrait.class/properties.json delete mode 100644 SmartTestDataOutsideP2.package/SmTTraitOutsideTest.class/README.md delete mode 100644 SmartTestDataOutsideP2.package/SmTTraitOutsideTest.class/instance/testTraitMethod1Outside.st delete mode 100644 SmartTestDataOutsideP2.package/SmTTraitOutsideTest.class/properties.json diff --git a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testTraitTestInside.st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testTraitTestInside.st deleted file mode 100644 index 02394c4..0000000 --- a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testTraitTestInside.st +++ /dev/null @@ -1,8 +0,0 @@ -test - extension method -testTraitTestInside - - | testsFound | - testsFound := smartFinder smtFinder searchTestsForATrait: SmTTraitInside. - self assert: (testsFound includes: ((('SmT','TraitInsideTest') asClass >> ('testTraitMethod1','Inside') asSymbol) asRingDefinition )). - - \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testTraitTestOutside.st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testTraitTestOutside.st deleted file mode 100644 index ff1028a..0000000 --- a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testTraitTestOutside.st +++ /dev/null @@ -1,8 +0,0 @@ -test - extension method -testTraitTestOutside - - | testsFound | - testsFound := smartFinder smtFinder searchTestsForATrait: SmTTraitInside. - self deny: (testsFound includes: ((('SmT','TraitOutsideTest') asClass >> ('testTraitMethod1','Outside') asSymbol) asRingDefinition )). - - \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassInsideUsesTrait.class/README.md b/SmartTestDataOutsideP1.package/SmTClassInsideUsesTrait.class/README.md deleted file mode 100644 index 9e6bfed..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassInsideUsesTrait.class/README.md +++ /dev/null @@ -1 +0,0 @@ -This trait is used mostly for testing the behaviour of SmartTest when dealing with traits. \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassInsideUsesTrait.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassInsideUsesTrait.class/properties.json deleted file mode 100644 index 4775ea0..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassInsideUsesTrait.class/properties.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "classtraitcomposition" : "SmTTraitInside classTrait", - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTClassInsideUsesTrait", - "commentStamp" : "eleonoreW 6/27/2018 11:20", - "super" : "Object", - "traitcomposition" : "SmTTraitInside", - "type" : "normal", - "classinstvars" : [ ], - "pools" : [ ], - "category" : "SmartTestDataOutsideP1-ModificationOnTrait" -} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTTraitInside.trait/README.md b/SmartTestDataOutsideP1.package/SmTTraitInside.trait/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/SmartTestDataOutsideP1.package/SmTTraitInside.trait/instance/traitMethod1Inside.st b/SmartTestDataOutsideP1.package/SmTTraitInside.trait/instance/traitMethod1Inside.st deleted file mode 100644 index a59f122..0000000 --- a/SmartTestDataOutsideP1.package/SmTTraitInside.trait/instance/traitMethod1Inside.st +++ /dev/null @@ -1,4 +0,0 @@ -as yet unclassified -"method1" -traitMethod1Inside -"The behaviour of this method is irrelevant" diff --git a/SmartTestDataOutsideP1.package/SmTTraitInside.trait/properties.json b/SmartTestDataOutsideP1.package/SmTTraitInside.trait/properties.json deleted file mode 100644 index e87dced..0000000 --- a/SmartTestDataOutsideP1.package/SmTTraitInside.trait/properties.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "commentStamp" : "", - "classinstvars" : [ ], - "category" : "SmartTestDataOutsideP1-ModificationOnTrait", - "instvars" : [ ], - "name" : "SmTTraitInside" -} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTTraitInsideTest.class/README.md b/SmartTestDataOutsideP1.package/SmTTraitInsideTest.class/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/SmartTestDataOutsideP1.package/SmTTraitInsideTest.class/instance/testTraitMethod1Inside.st b/SmartTestDataOutsideP1.package/SmTTraitInsideTest.class/instance/testTraitMethod1Inside.st deleted file mode 100644 index 679b160..0000000 --- a/SmartTestDataOutsideP1.package/SmTTraitInsideTest.class/instance/testTraitMethod1Inside.st +++ /dev/null @@ -1,4 +0,0 @@ -tests -"tests" -testTraitMethod1Inside -SmTClassInsideUsesTrait >> #traitMethod1Inside \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTTraitInsideTest.class/properties.json b/SmartTestDataOutsideP1.package/SmTTraitInsideTest.class/properties.json deleted file mode 100644 index 7b3f6f9..0000000 --- a/SmartTestDataOutsideP1.package/SmTTraitInsideTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "TestCase", - "category" : "SmartTestDataOutsideP1-ModificationOnTrait-Test", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTTraitInsideTest", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTTraitOutside.trait/README.md b/SmartTestDataOutsideP1.package/SmTTraitOutside.trait/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/SmartTestDataOutsideP1.package/SmTTraitOutside.trait/instance/traitMethod1Outside.st b/SmartTestDataOutsideP1.package/SmTTraitOutside.trait/instance/traitMethod1Outside.st deleted file mode 100644 index 9616918..0000000 --- a/SmartTestDataOutsideP1.package/SmTTraitOutside.trait/instance/traitMethod1Outside.st +++ /dev/null @@ -1,4 +0,0 @@ -as yet unclassified -"method1" -traitMethod1Outside -"The behaviour of this method is irrelevant" diff --git a/SmartTestDataOutsideP1.package/SmTTraitOutside.trait/properties.json b/SmartTestDataOutsideP1.package/SmTTraitOutside.trait/properties.json deleted file mode 100644 index 59053b4..0000000 --- a/SmartTestDataOutsideP1.package/SmTTraitOutside.trait/properties.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "commentStamp" : "", - "classinstvars" : [ ], - "category" : "SmartTestDataOutsideP1-ModificationOnTrait", - "instvars" : [ ], - "name" : "SmTTraitOutside" -} \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassOutsideUsesTrait.class/README.md b/SmartTestDataOutsideP2.package/SmTClassOutsideUsesTrait.class/README.md deleted file mode 100644 index 9870cfa..0000000 --- a/SmartTestDataOutsideP2.package/SmTClassOutsideUsesTrait.class/README.md +++ /dev/null @@ -1,2 +0,0 @@ -This trait is used mostly for testing the behaviour of SmartTest when dealing with traits. -It uses the trait SmTTraitOutside. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassOutsideUsesTrait.class/properties.json b/SmartTestDataOutsideP2.package/SmTClassOutsideUsesTrait.class/properties.json deleted file mode 100644 index 7ff0289..0000000 --- a/SmartTestDataOutsideP2.package/SmTClassOutsideUsesTrait.class/properties.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "classtraitcomposition" : "SmTTraitOutside classTrait", - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTClassOutsideUsesTrait", - "commentStamp" : "eleonoreW 6/27/2018 11:21", - "super" : "Object", - "traitcomposition" : "SmTTraitOutside", - "type" : "normal", - "classinstvars" : [ ], - "pools" : [ ], - "category" : "SmartTestDataOutsideP2-ModificationOnTrait" -} \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTTraitOutsideTest.class/README.md b/SmartTestDataOutsideP2.package/SmTTraitOutsideTest.class/README.md deleted file mode 100644 index c9e3c1c..0000000 --- a/SmartTestDataOutsideP2.package/SmTTraitOutsideTest.class/README.md +++ /dev/null @@ -1 +0,0 @@ -This trait is used mostly for testing the behaviour of SmartTest when dealing with traits. diff --git a/SmartTestDataOutsideP2.package/SmTTraitOutsideTest.class/instance/testTraitMethod1Outside.st b/SmartTestDataOutsideP2.package/SmTTraitOutsideTest.class/instance/testTraitMethod1Outside.st deleted file mode 100644 index 4d2adf7..0000000 --- a/SmartTestDataOutsideP2.package/SmTTraitOutsideTest.class/instance/testTraitMethod1Outside.st +++ /dev/null @@ -1,4 +0,0 @@ -tests -"tests" -testTraitMethod1Outside -SmTClassInsideUsesTrait >> #traitMethod1Inside \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTTraitOutsideTest.class/properties.json b/SmartTestDataOutsideP2.package/SmTTraitOutsideTest.class/properties.json deleted file mode 100644 index fb3301d..0000000 --- a/SmartTestDataOutsideP2.package/SmTTraitOutsideTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "eleonoreW 6/27/2018 11:22", - "super" : "TestCase", - "category" : "SmartTestDataOutsideP2-ModificationOnTrait-Test", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTTraitOutsideTest", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/monticello.meta/categories.st b/SmartTestDataOutsideP2.package/monticello.meta/categories.st index 23fdcf3..d0794d5 100644 --- a/SmartTestDataOutsideP2.package/monticello.meta/categories.st +++ b/SmartTestDataOutsideP2.package/monticello.meta/categories.st @@ -7,5 +7,4 @@ SystemOrganization addCategory: #'SmartTestDataOutsideP2-ModificationOnMethod-Se SystemOrganization addCategory: #'SmartTestDataOutsideP2-ModificationOnMethod-Tests'! SystemOrganization addCategory: #'SmartTestDataOutsideP2-ModificationOnMethod-WithoutRef'! SystemOrganization addCategory: #'SmartTestDataOutsideP2-ModificationOnVariable-Tests'! -anization addCategory: #'SmartTestDataOutsideP2-ModificationOnTrait-Test'! SystemOrganization addCategory: #'SmartTestDataOutsideP2-ModificationOnVariable-Tests'! From 991709732d0391e52e7f4b445545056b1a9c3288 Mon Sep 17 00:00:00 2001 From: eleonoreW Date: Wed, 27 Jun 2018 13:07:47 +0200 Subject: [PATCH 111/150] correcting last bug with traits --- .../instance/testTraitTestOutside.st | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testTraitTestOutside.st diff --git a/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testTraitTestOutside.st b/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testTraitTestOutside.st deleted file mode 100644 index df42af3..0000000 --- a/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testTraitTestOutside.st +++ /dev/null @@ -1,9 +0,0 @@ -test - extension method -testTraitTestOutside -"Should not find the test as it is outside of the scope of the finder" - - | testsFound | - testsFound := smartFinder smtFinder searchTestsForATrait: SmTTraitInside. - self assert: (testsFound includes: ((('SmT','TraitOutsideTest') asClass >> ('testTraitMethod1','Outside') asSymbol) asRingDefinition )). - - \ No newline at end of file From a5af9c5c6f94033030f6eb3a28c10418f68f3d8c Mon Sep 17 00:00:00 2001 From: eleonoreW Date: Fri, 29 Jun 2018 13:55:44 +0200 Subject: [PATCH 112/150] Changed the 'test' baseline to include SmartTest-UI + testChangeRegex fix --- .../BaselineOfSmartTest.class/instance/baseline..st | 2 +- .../SmTSettingsPackagesRegexTest.class/README.md | 1 + .../SmTSettingsPackagesRegexTest.class/instance/setUp.st | 1 + ...Regex.st => testChangeRegexSmTSpecifyPackagesNameFilter.st} | 3 ++- .../SmTSettingsPackagesRegexTest.class/properties.json | 2 +- 5 files changed, 6 insertions(+), 3 deletions(-) rename SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/instance/{testChangeRegex.st => testChangeRegexSmTSpecifyPackagesNameFilter.st} (60%) diff --git a/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/baseline..st b/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/baseline..st index cc66b3b..dffb2f5 100644 --- a/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/baseline..st +++ b/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/baseline..st @@ -14,4 +14,4 @@ baseline: spec package: 'SmartTest-Tests-Data' with: [ spec requires: #('SmartTest') ]; package: 'SmartTest-UI' with: [ spec requires: #('SmartTest') ]; group: 'default' with: #('SmartTest' 'SmartTest-UI'); - group: 'test' with: #('SmartTest' 'SmartTest-Tests') ] \ No newline at end of file + group: 'test' with: #('SmartTest' 'SmartTest-Tests' 'SmartTest-UI') ] \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/README.md b/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/README.md index e69de29..dbb2ac4 100644 --- a/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/README.md +++ b/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/README.md @@ -0,0 +1 @@ +We test if we correctly changed the regex when we changed it (or not) in the settings. \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/instance/setUp.st b/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/instance/setUp.st index 7c05c8f..2ae7e33 100644 --- a/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/instance/setUp.st +++ b/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/instance/setUp.st @@ -1,5 +1,6 @@ running setUp super setUp. + oldRegex := SmTRules packagesRegex. oldFilter := SmTRules filter. \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/instance/testChangeRegex.st b/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/instance/testChangeRegexSmTSpecifyPackagesNameFilter.st similarity index 60% rename from SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/instance/testChangeRegex.st rename to SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/instance/testChangeRegexSmTSpecifyPackagesNameFilter.st index ee3ca78..8232d38 100644 --- a/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/instance/testChangeRegex.st +++ b/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/instance/testChangeRegexSmTSpecifyPackagesNameFilter.st @@ -1,4 +1,5 @@ tests -testChangeRegex +testChangeRegexSmTSpecifyPackagesNameFilter + SmTRules filter: SmTSpecifyPackagesNameFilter. SmTRules packagesRegex: self dataForTestRegex. self assert: SmTRules testFinder filter packagesRegex equals: self dataForTestRegex \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/properties.json b/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/properties.json index dc65adf..37cee46 100644 --- a/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/properties.json +++ b/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "", + "commentStamp" : "eleonoreW 6/29/2018 13:24", "super" : "SmTSettingsTest", "category" : "SmartTest-Tests-Settings", "classinstvars" : [ ], From 68e43f4c81e0e23076e783a7ee8a89a1f7f6c698 Mon Sep 17 00:00:00 2001 From: eleonoreW Date: Fri, 29 Jun 2018 14:39:20 +0200 Subject: [PATCH 113/150] Baseline fix (dependancy to SMartTest-UI) --- .../BaselineOfSmartTest.class/instance/baseline..st | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/baseline..st b/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/baseline..st index dffb2f5..40ffd87 100644 --- a/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/baseline..st +++ b/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/baseline..st @@ -5,13 +5,13 @@ baseline: spec for: #common do: [ spec repository: 'github://badetitou/SmartTest'; - package: 'SmartTest'; - package: 'SmartTest-Tests' with: [ spec requires: #('SmartTest' 'SmartTest-Tests-Data' 'SmartTestDataOutsideP1' 'SmartTestDataOutsideP3' 'SmartTestDataOutsideP2' 'SmartTestDataOutsideP4') ]; + package: 'SmartTest' with: [spec requires: #('SmartTest-UI')]; + package: 'SmartTest-Tests' with: [ spec requires: #('SmartTest' 'SmartTest-Tests-Data' 'SmartTestDataOutsideP1' 'SmartTestDataOutsideP3' 'SmartTestDataOutsideP2' 'SmartTestDataOutsideP4' ) ]; package: 'SmartTestDataOutsideP1' with: [ spec requires: #('SmartTest' 'SmartTestDataOutsideP3' 'SmartTestDataOutsideP2') ]; package: 'SmartTestDataOutsideP2' with: [ spec requires: #('SmartTest') ]; package: 'SmartTestDataOutsideP3' with: [ spec requires: #('SmartTest' 'SmartTestDataOutsideP4') ]; package: 'SmartTestDataOutsideP4' with: [ spec requires: #('SmartTest') ]; package: 'SmartTest-Tests-Data' with: [ spec requires: #('SmartTest') ]; package: 'SmartTest-UI' with: [ spec requires: #('SmartTest') ]; - group: 'default' with: #('SmartTest' 'SmartTest-UI'); - group: 'test' with: #('SmartTest' 'SmartTest-Tests' 'SmartTest-UI') ] \ No newline at end of file + group: 'default' with: #('SmartTest'); + group: 'test' with: #('SmartTest-Tests') ] \ No newline at end of file From 1988906b6f09c28f7fd113cbfc39cb37883f9956 Mon Sep 17 00:00:00 2001 From: eleonoreW Date: Fri, 29 Jun 2018 14:44:09 +0200 Subject: [PATCH 114/150] Fix baseline --- .../BaselineOfSmartTest.class/instance/baseline..st | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/baseline..st b/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/baseline..st index 40ffd87..7561d6b 100644 --- a/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/baseline..st +++ b/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/baseline..st @@ -5,7 +5,7 @@ baseline: spec for: #common do: [ spec repository: 'github://badetitou/SmartTest'; - package: 'SmartTest' with: [spec requires: #('SmartTest-UI')]; + package: 'SmartTest'; package: 'SmartTest-Tests' with: [ spec requires: #('SmartTest' 'SmartTest-Tests-Data' 'SmartTestDataOutsideP1' 'SmartTestDataOutsideP3' 'SmartTestDataOutsideP2' 'SmartTestDataOutsideP4' ) ]; package: 'SmartTestDataOutsideP1' with: [ spec requires: #('SmartTest' 'SmartTestDataOutsideP3' 'SmartTestDataOutsideP2') ]; package: 'SmartTestDataOutsideP2' with: [ spec requires: #('SmartTest') ]; @@ -13,5 +13,5 @@ baseline: spec package: 'SmartTestDataOutsideP4' with: [ spec requires: #('SmartTest') ]; package: 'SmartTest-Tests-Data' with: [ spec requires: #('SmartTest') ]; package: 'SmartTest-UI' with: [ spec requires: #('SmartTest') ]; - group: 'default' with: #('SmartTest'); + group: 'default' with: #('SmartTest' 'SmartTest-UI'); group: 'test' with: #('SmartTest-Tests') ] \ No newline at end of file From d1fdd17ef768029d2443358574f6278a89415f6d Mon Sep 17 00:00:00 2001 From: eleonoreW Date: Fri, 29 Jun 2018 14:51:56 +0200 Subject: [PATCH 115/150] Baseline fix (again...) --- .../BaselineOfSmartTest.class/instance/baseline..st | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/baseline..st b/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/baseline..st index 7561d6b..7b69239 100644 --- a/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/baseline..st +++ b/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/baseline..st @@ -5,13 +5,13 @@ baseline: spec for: #common do: [ spec repository: 'github://badetitou/SmartTest'; - package: 'SmartTest'; + package: 'SmartTest' with: [ spec requires: #('SmartTest-UI') ]; package: 'SmartTest-Tests' with: [ spec requires: #('SmartTest' 'SmartTest-Tests-Data' 'SmartTestDataOutsideP1' 'SmartTestDataOutsideP3' 'SmartTestDataOutsideP2' 'SmartTestDataOutsideP4' ) ]; package: 'SmartTestDataOutsideP1' with: [ spec requires: #('SmartTest' 'SmartTestDataOutsideP3' 'SmartTestDataOutsideP2') ]; package: 'SmartTestDataOutsideP2' with: [ spec requires: #('SmartTest') ]; package: 'SmartTestDataOutsideP3' with: [ spec requires: #('SmartTest' 'SmartTestDataOutsideP4') ]; package: 'SmartTestDataOutsideP4' with: [ spec requires: #('SmartTest') ]; package: 'SmartTest-Tests-Data' with: [ spec requires: #('SmartTest') ]; - package: 'SmartTest-UI' with: [ spec requires: #('SmartTest') ]; + package: 'SmartTest-UI' ; group: 'default' with: #('SmartTest' 'SmartTest-UI'); group: 'test' with: #('SmartTest-Tests') ] \ No newline at end of file From dec818ef14650560ac3e5ccdb1285610f3d951d9 Mon Sep 17 00:00:00 2001 From: eleonoreW Date: Fri, 29 Jun 2018 16:24:26 +0200 Subject: [PATCH 116/150] Changed the names of the test classes to be more accurate and the behaviour of specify packagename filter --- .../README.md | 0 .../instance/initCache.st | 0 .../instance/setUp.st | 0 .../instance/tearDown.st | 0 .../instance/testModificationOnTest.st | 0 .../instance/testTestSelfSelected.st | 0 .../properties.json | 2 +- .../README.md | 0 .../instance/initCache.st | 0 .../instance/setUp.st | 0 .../properties.json | 2 +- .../README.md | 1 - .../README.md | 1 + .../instance/setUp.st | 0 .../instance/testStandardMethodSecondLevelSenders.st | 0 .../properties.json | 4 ++-- .../README.md | 0 .../instance/setUp.st | 0 .../instance/tearDown.st | 0 .../properties.json | 2 +- .../README.md | 0 .../instance/setUp.st | 3 ++- .../instance/testInheritance.st | 0 .../instance/testStandardMethodFirstLevelSenders.st | 0 .../instance/testStandardMethodSecondLevelSenders.st | 0 .../instance/testStandardMethodThirdLevelSenders.st | 0 .../properties.json | 2 +- .....st => shouldEntityBeFilteredOut.inPackages..st} | 2 +- .../instance/shouldEntityBeFiltered.inPackages..st | 3 --- .../shouldEntityBeFilteredOut.inPackages..st | 3 +++ .....st => shouldEntityBeFilteredOut.inPackages..st} | 2 +- .....st => shouldEntityBeFilteredOut.inPackages..st} | 2 +- ...siveSearchForAClass.inPackages.alreadyVisited..st | 4 ++-- ...hForAStandardMethod.inPackages.alreadyVisited..st | 2 +- .../instance/packages.st | 12 +++++++++--- .../instance/packagesRegex..st | 3 ++- .../instance/selectedPackages.st | 7 ------- .....st => shouldEntityBeFilteredOut.inPackages..st} | 2 +- .../properties.json | 3 ++- .../SmTTestFinderStrategy.class/README.md | 2 +- .../SmTTestFinderStrategy.class/properties.json | 2 +- 41 files changed, 34 insertions(+), 32 deletions(-) rename SmartTest-Tests.package/{SmTTestCoverageFinderTest.class => SmTDynamicCoverageStrategyTest.class}/README.md (100%) rename SmartTest-Tests.package/{SmTTestCoverageFinderTest.class => SmTDynamicCoverageStrategyTest.class}/instance/initCache.st (100%) rename SmartTest-Tests.package/{SmTTestCoverageFinderTest.class => SmTDynamicCoverageStrategyTest.class}/instance/setUp.st (100%) rename SmartTest-Tests.package/{SmTTestCoverageFinderTest.class => SmTDynamicCoverageStrategyTest.class}/instance/tearDown.st (100%) rename SmartTest-Tests.package/{SmTTestCoverageFinderTest.class => SmTDynamicCoverageStrategyTest.class}/instance/testModificationOnTest.st (100%) rename SmartTest-Tests.package/{SmTTestCoverageFinderTest.class => SmTDynamicCoverageStrategyTest.class}/instance/testTestSelfSelected.st (100%) rename SmartTest-Tests.package/{SmTTestCoverageFinderTest.class => SmTDynamicCoverageStrategyTest.class}/properties.json (83%) rename SmartTest-Tests.package/{SmTFinderStrategyReflectivityTest.class => SmTDynamicReflectivityStrategyTest.class}/README.md (100%) rename SmartTest-Tests.package/{SmTFinderStrategyReflectivityTest.class => SmTDynamicReflectivityStrategyTest.class}/instance/initCache.st (100%) rename SmartTest-Tests.package/{SmTFinderStrategyReflectivityTest.class => SmTDynamicReflectivityStrategyTest.class}/instance/setUp.st (100%) rename SmartTest-Tests.package/{SmTFinderStrategyReflectivityTest.class => SmTDynamicReflectivityStrategyTest.class}/properties.json (82%) delete mode 100644 SmartTest-Tests.package/SmTSendersFinderTestDefaultClassPackage.class/README.md create mode 100644 SmartTest-Tests.package/SmTStaticDefaultClassPackageBasicCacheTest.class/README.md rename SmartTest-Tests.package/{SmTSendersFinderTestDefaultClassPackage.class => SmTStaticDefaultClassPackageBasicCacheTest.class}/instance/setUp.st (100%) rename SmartTest-Tests.package/{SmTSendersFinderTestDefaultClassPackage.class => SmTStaticDefaultClassPackageBasicCacheTest.class}/instance/testStandardMethodSecondLevelSenders.st (100%) rename SmartTest-Tests.package/{SmTSendersFinderTestDefaultClassPackage.class => SmTStaticDefaultClassPackageBasicCacheTest.class}/properties.json (63%) rename SmartTest-Tests.package/{SmTSendersFinderTestWithoutCache.class => SmTStaticDefaultClassPackageWithoutCacheTest.class}/README.md (100%) rename SmartTest-Tests.package/{SmTSendersFinderTestWithoutCache.class => SmTStaticDefaultClassPackageWithoutCacheTest.class}/instance/setUp.st (100%) rename SmartTest-Tests.package/{SmTSendersFinderTestWithoutCache.class => SmTStaticDefaultClassPackageWithoutCacheTest.class}/instance/tearDown.st (100%) rename SmartTest-Tests.package/{SmTSendersFinderTestWithoutCache.class => SmTStaticDefaultClassPackageWithoutCacheTest.class}/properties.json (79%) rename SmartTest-Tests.package/{SmTSendersFinderTestWithRestrictedPackage.class => SmTStaticSpecifyPackageNameBasicCacheTest.class}/README.md (100%) rename SmartTest-Tests.package/{SmTSendersFinderTestWithRestrictedPackage.class => SmTStaticSpecifyPackageNameBasicCacheTest.class}/instance/setUp.st (64%) rename SmartTest-Tests.package/{SmTSendersFinderTestWithRestrictedPackage.class => SmTStaticSpecifyPackageNameBasicCacheTest.class}/instance/testInheritance.st (100%) rename SmartTest-Tests.package/{SmTSendersFinderTestWithRestrictedPackage.class => SmTStaticSpecifyPackageNameBasicCacheTest.class}/instance/testStandardMethodFirstLevelSenders.st (100%) rename SmartTest-Tests.package/{SmTSendersFinderTestWithRestrictedPackage.class => SmTStaticSpecifyPackageNameBasicCacheTest.class}/instance/testStandardMethodSecondLevelSenders.st (100%) rename SmartTest-Tests.package/{SmTSendersFinderTestWithRestrictedPackage.class => SmTStaticSpecifyPackageNameBasicCacheTest.class}/instance/testStandardMethodThirdLevelSenders.st (100%) rename SmartTest-Tests.package/{SmTSendersFinderTestWithRestrictedPackage.class => SmTStaticSpecifyPackageNameBasicCacheTest.class}/properties.json (80%) rename SmartTest.package/SmTDefaultPackagesFilter.class/instance/{shouldEntityBeFiltered.inPackages..st => shouldEntityBeFilteredOut.inPackages..st} (80%) delete mode 100644 SmartTest.package/SmTFilterStrategy.class/instance/shouldEntityBeFiltered.inPackages..st create mode 100644 SmartTest.package/SmTFilterStrategy.class/instance/shouldEntityBeFilteredOut.inPackages..st rename SmartTest.package/SmTIcebergLoadedPackagesFilter.class/instance/{shouldEntityBeFiltered.inPackages..st => shouldEntityBeFilteredOut.inPackages..st} (57%) rename SmartTest.package/SmTNoFilter.class/instance/{shouldEntityBeFiltered.inPackages..st => shouldEntityBeFilteredOut.inPackages..st} (58%) delete mode 100644 SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/selectedPackages.st rename SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/{shouldEntityBeFiltered.inPackages..st => shouldEntityBeFilteredOut.inPackages..st} (78%) diff --git a/SmartTest-Tests.package/SmTTestCoverageFinderTest.class/README.md b/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/README.md similarity index 100% rename from SmartTest-Tests.package/SmTTestCoverageFinderTest.class/README.md rename to SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/README.md diff --git a/SmartTest-Tests.package/SmTTestCoverageFinderTest.class/instance/initCache.st b/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/instance/initCache.st similarity index 100% rename from SmartTest-Tests.package/SmTTestCoverageFinderTest.class/instance/initCache.st rename to SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/instance/initCache.st diff --git a/SmartTest-Tests.package/SmTTestCoverageFinderTest.class/instance/setUp.st b/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/instance/setUp.st similarity index 100% rename from SmartTest-Tests.package/SmTTestCoverageFinderTest.class/instance/setUp.st rename to SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/instance/setUp.st diff --git a/SmartTest-Tests.package/SmTTestCoverageFinderTest.class/instance/tearDown.st b/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/instance/tearDown.st similarity index 100% rename from SmartTest-Tests.package/SmTTestCoverageFinderTest.class/instance/tearDown.st rename to SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/instance/tearDown.st diff --git a/SmartTest-Tests.package/SmTTestCoverageFinderTest.class/instance/testModificationOnTest.st b/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/instance/testModificationOnTest.st similarity index 100% rename from SmartTest-Tests.package/SmTTestCoverageFinderTest.class/instance/testModificationOnTest.st rename to SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/instance/testModificationOnTest.st diff --git a/SmartTest-Tests.package/SmTTestCoverageFinderTest.class/instance/testTestSelfSelected.st b/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/instance/testTestSelfSelected.st similarity index 100% rename from SmartTest-Tests.package/SmTTestCoverageFinderTest.class/instance/testTestSelfSelected.st rename to SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/instance/testTestSelfSelected.st diff --git a/SmartTest-Tests.package/SmTTestCoverageFinderTest.class/properties.json b/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/properties.json similarity index 83% rename from SmartTest-Tests.package/SmTTestCoverageFinderTest.class/properties.json rename to SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/properties.json index 473de56..aaf8fb2 100644 --- a/SmartTest-Tests.package/SmTTestCoverageFinderTest.class/properties.json +++ b/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/properties.json @@ -6,6 +6,6 @@ "pools" : [ ], "classvars" : [ ], "instvars" : [ ], - "name" : "SmTTestCoverageFinderTest", + "name" : "SmTDynamicCoverageStrategyTest", "type" : "normal" } \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTFinderStrategyReflectivityTest.class/README.md b/SmartTest-Tests.package/SmTDynamicReflectivityStrategyTest.class/README.md similarity index 100% rename from SmartTest-Tests.package/SmTFinderStrategyReflectivityTest.class/README.md rename to SmartTest-Tests.package/SmTDynamicReflectivityStrategyTest.class/README.md diff --git a/SmartTest-Tests.package/SmTFinderStrategyReflectivityTest.class/instance/initCache.st b/SmartTest-Tests.package/SmTDynamicReflectivityStrategyTest.class/instance/initCache.st similarity index 100% rename from SmartTest-Tests.package/SmTFinderStrategyReflectivityTest.class/instance/initCache.st rename to SmartTest-Tests.package/SmTDynamicReflectivityStrategyTest.class/instance/initCache.st diff --git a/SmartTest-Tests.package/SmTFinderStrategyReflectivityTest.class/instance/setUp.st b/SmartTest-Tests.package/SmTDynamicReflectivityStrategyTest.class/instance/setUp.st similarity index 100% rename from SmartTest-Tests.package/SmTFinderStrategyReflectivityTest.class/instance/setUp.st rename to SmartTest-Tests.package/SmTDynamicReflectivityStrategyTest.class/instance/setUp.st diff --git a/SmartTest-Tests.package/SmTFinderStrategyReflectivityTest.class/properties.json b/SmartTest-Tests.package/SmTDynamicReflectivityStrategyTest.class/properties.json similarity index 82% rename from SmartTest-Tests.package/SmTFinderStrategyReflectivityTest.class/properties.json rename to SmartTest-Tests.package/SmTDynamicReflectivityStrategyTest.class/properties.json index 9a9fb07..a23ab53 100644 --- a/SmartTest-Tests.package/SmTFinderStrategyReflectivityTest.class/properties.json +++ b/SmartTest-Tests.package/SmTDynamicReflectivityStrategyTest.class/properties.json @@ -6,6 +6,6 @@ "pools" : [ ], "classvars" : [ ], "instvars" : [ ], - "name" : "SmTFinderStrategyReflectivityTest", + "name" : "SmTDynamicReflectivityStrategyTest", "type" : "normal" } \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSendersFinderTestDefaultClassPackage.class/README.md b/SmartTest-Tests.package/SmTSendersFinderTestDefaultClassPackage.class/README.md deleted file mode 100644 index 406b399..0000000 --- a/SmartTest-Tests.package/SmTSendersFinderTestDefaultClassPackage.class/README.md +++ /dev/null @@ -1 +0,0 @@ -I test the finder "SendersStrategy". \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTStaticDefaultClassPackageBasicCacheTest.class/README.md b/SmartTest-Tests.package/SmTStaticDefaultClassPackageBasicCacheTest.class/README.md new file mode 100644 index 0000000..0038960 --- /dev/null +++ b/SmartTest-Tests.package/SmTStaticDefaultClassPackageBasicCacheTest.class/README.md @@ -0,0 +1 @@ +I test the static finder with DefaultClassPackageFilter and BasicCache \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSendersFinderTestDefaultClassPackage.class/instance/setUp.st b/SmartTest-Tests.package/SmTStaticDefaultClassPackageBasicCacheTest.class/instance/setUp.st similarity index 100% rename from SmartTest-Tests.package/SmTSendersFinderTestDefaultClassPackage.class/instance/setUp.st rename to SmartTest-Tests.package/SmTStaticDefaultClassPackageBasicCacheTest.class/instance/setUp.st diff --git a/SmartTest-Tests.package/SmTSendersFinderTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSenders.st b/SmartTest-Tests.package/SmTStaticDefaultClassPackageBasicCacheTest.class/instance/testStandardMethodSecondLevelSenders.st similarity index 100% rename from SmartTest-Tests.package/SmTSendersFinderTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSenders.st rename to SmartTest-Tests.package/SmTStaticDefaultClassPackageBasicCacheTest.class/instance/testStandardMethodSecondLevelSenders.st diff --git a/SmartTest-Tests.package/SmTSendersFinderTestDefaultClassPackage.class/properties.json b/SmartTest-Tests.package/SmTStaticDefaultClassPackageBasicCacheTest.class/properties.json similarity index 63% rename from SmartTest-Tests.package/SmTSendersFinderTestDefaultClassPackage.class/properties.json rename to SmartTest-Tests.package/SmTStaticDefaultClassPackageBasicCacheTest.class/properties.json index 0ce57b3..fe2f37e 100644 --- a/SmartTest-Tests.package/SmTSendersFinderTestDefaultClassPackage.class/properties.json +++ b/SmartTest-Tests.package/SmTStaticDefaultClassPackageBasicCacheTest.class/properties.json @@ -1,11 +1,11 @@ { - "commentStamp" : "EleonoreWALD 5/3/2018 14:23", + "commentStamp" : "eleonoreW 6/29/2018 16:19", "super" : "SmTFinderAbstractTest", "category" : "SmartTest-Tests-Finder", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], "instvars" : [ ], - "name" : "SmTSendersFinderTestDefaultClassPackage", + "name" : "SmTStaticDefaultClassPackageBasicCacheTest", "type" : "normal" } \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSendersFinderTestWithoutCache.class/README.md b/SmartTest-Tests.package/SmTStaticDefaultClassPackageWithoutCacheTest.class/README.md similarity index 100% rename from SmartTest-Tests.package/SmTSendersFinderTestWithoutCache.class/README.md rename to SmartTest-Tests.package/SmTStaticDefaultClassPackageWithoutCacheTest.class/README.md diff --git a/SmartTest-Tests.package/SmTSendersFinderTestWithoutCache.class/instance/setUp.st b/SmartTest-Tests.package/SmTStaticDefaultClassPackageWithoutCacheTest.class/instance/setUp.st similarity index 100% rename from SmartTest-Tests.package/SmTSendersFinderTestWithoutCache.class/instance/setUp.st rename to SmartTest-Tests.package/SmTStaticDefaultClassPackageWithoutCacheTest.class/instance/setUp.st diff --git a/SmartTest-Tests.package/SmTSendersFinderTestWithoutCache.class/instance/tearDown.st b/SmartTest-Tests.package/SmTStaticDefaultClassPackageWithoutCacheTest.class/instance/tearDown.st similarity index 100% rename from SmartTest-Tests.package/SmTSendersFinderTestWithoutCache.class/instance/tearDown.st rename to SmartTest-Tests.package/SmTStaticDefaultClassPackageWithoutCacheTest.class/instance/tearDown.st diff --git a/SmartTest-Tests.package/SmTSendersFinderTestWithoutCache.class/properties.json b/SmartTest-Tests.package/SmTStaticDefaultClassPackageWithoutCacheTest.class/properties.json similarity index 79% rename from SmartTest-Tests.package/SmTSendersFinderTestWithoutCache.class/properties.json rename to SmartTest-Tests.package/SmTStaticDefaultClassPackageWithoutCacheTest.class/properties.json index 392a377..b06a222 100644 --- a/SmartTest-Tests.package/SmTSendersFinderTestWithoutCache.class/properties.json +++ b/SmartTest-Tests.package/SmTStaticDefaultClassPackageWithoutCacheTest.class/properties.json @@ -6,6 +6,6 @@ "pools" : [ ], "classvars" : [ ], "instvars" : [ ], - "name" : "SmTSendersFinderTestWithoutCache", + "name" : "SmTStaticDefaultClassPackageWithoutCacheTest", "type" : "normal" } \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSendersFinderTestWithRestrictedPackage.class/README.md b/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/README.md similarity index 100% rename from SmartTest-Tests.package/SmTSendersFinderTestWithRestrictedPackage.class/README.md rename to SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/README.md diff --git a/SmartTest-Tests.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/setUp.st b/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/instance/setUp.st similarity index 64% rename from SmartTest-Tests.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/setUp.st rename to SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/instance/setUp.st index 3e1896d..02118d0 100644 --- a/SmartTest-Tests.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/setUp.st +++ b/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/instance/setUp.st @@ -1,4 +1,5 @@ running setUp super setUp. - smartFinder filter: (SmTSpecifyPackagesNameFilter packagesRegex: 'SmartTest-Tests-Data') \ No newline at end of file + smartFinder filter: (SmTSpecifyPackagesNameFilter packagesRegex: 'SmartTest-Tests-Data'). + smartFinder resetCache \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/testInheritance.st b/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/instance/testInheritance.st similarity index 100% rename from SmartTest-Tests.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/testInheritance.st rename to SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/instance/testInheritance.st diff --git a/SmartTest-Tests.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/testStandardMethodFirstLevelSenders.st b/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/instance/testStandardMethodFirstLevelSenders.st similarity index 100% rename from SmartTest-Tests.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/testStandardMethodFirstLevelSenders.st rename to SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/instance/testStandardMethodFirstLevelSenders.st diff --git a/SmartTest-Tests.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/testStandardMethodSecondLevelSenders.st b/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/instance/testStandardMethodSecondLevelSenders.st similarity index 100% rename from SmartTest-Tests.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/testStandardMethodSecondLevelSenders.st rename to SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/instance/testStandardMethodSecondLevelSenders.st diff --git a/SmartTest-Tests.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/testStandardMethodThirdLevelSenders.st b/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/instance/testStandardMethodThirdLevelSenders.st similarity index 100% rename from SmartTest-Tests.package/SmTSendersFinderTestWithRestrictedPackage.class/instance/testStandardMethodThirdLevelSenders.st rename to SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/instance/testStandardMethodThirdLevelSenders.st diff --git a/SmartTest-Tests.package/SmTSendersFinderTestWithRestrictedPackage.class/properties.json b/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/properties.json similarity index 80% rename from SmartTest-Tests.package/SmTSendersFinderTestWithRestrictedPackage.class/properties.json rename to SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/properties.json index e8f81e0..cafdede 100644 --- a/SmartTest-Tests.package/SmTSendersFinderTestWithRestrictedPackage.class/properties.json +++ b/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/properties.json @@ -6,6 +6,6 @@ "pools" : [ ], "classvars" : [ ], "instvars" : [ ], - "name" : "SmTSendersFinderTestWithRestrictedPackage", + "name" : "SmTStaticSpecifyPackageNameBasicCacheTest", "type" : "normal" } \ No newline at end of file diff --git a/SmartTest.package/SmTDefaultPackagesFilter.class/instance/shouldEntityBeFiltered.inPackages..st b/SmartTest.package/SmTDefaultPackagesFilter.class/instance/shouldEntityBeFilteredOut.inPackages..st similarity index 80% rename from SmartTest.package/SmTDefaultPackagesFilter.class/instance/shouldEntityBeFiltered.inPackages..st rename to SmartTest.package/SmTDefaultPackagesFilter.class/instance/shouldEntityBeFilteredOut.inPackages..st index 6b9cf38..fdfc70f 100644 --- a/SmartTest.package/SmTDefaultPackagesFilter.class/instance/shouldEntityBeFiltered.inPackages..st +++ b/SmartTest.package/SmTDefaultPackagesFilter.class/instance/shouldEntityBeFilteredOut.inPackages..st @@ -1,5 +1,5 @@ asserting -shouldEntityBeFiltered: anEntity inPackages: packages +shouldEntityBeFilteredOut: anEntity inPackages: packages "(anEntity methodClass allCallsOn collect: #ciPackage) not." (anEntity isClass )ifTrue: [^(packages includes: (anEntity package name)) not]. ^ (packages includes: (self extractMethodDefinitionPackageBaseName: anEntity )) not \ No newline at end of file diff --git a/SmartTest.package/SmTFilterStrategy.class/instance/shouldEntityBeFiltered.inPackages..st b/SmartTest.package/SmTFilterStrategy.class/instance/shouldEntityBeFiltered.inPackages..st deleted file mode 100644 index 2703122..0000000 --- a/SmartTest.package/SmTFilterStrategy.class/instance/shouldEntityBeFiltered.inPackages..st +++ /dev/null @@ -1,3 +0,0 @@ -asserting -shouldEntityBeFiltered: anEntity inPackages: anObject - self subclassResponsibility \ No newline at end of file diff --git a/SmartTest.package/SmTFilterStrategy.class/instance/shouldEntityBeFilteredOut.inPackages..st b/SmartTest.package/SmTFilterStrategy.class/instance/shouldEntityBeFilteredOut.inPackages..st new file mode 100644 index 0000000..b67367d --- /dev/null +++ b/SmartTest.package/SmTFilterStrategy.class/instance/shouldEntityBeFilteredOut.inPackages..st @@ -0,0 +1,3 @@ +asserting +shouldEntityBeFilteredOut: anEntity inPackages: anObject + self subclassResponsibility \ No newline at end of file diff --git a/SmartTest.package/SmTIcebergLoadedPackagesFilter.class/instance/shouldEntityBeFiltered.inPackages..st b/SmartTest.package/SmTIcebergLoadedPackagesFilter.class/instance/shouldEntityBeFilteredOut.inPackages..st similarity index 57% rename from SmartTest.package/SmTIcebergLoadedPackagesFilter.class/instance/shouldEntityBeFiltered.inPackages..st rename to SmartTest.package/SmTIcebergLoadedPackagesFilter.class/instance/shouldEntityBeFilteredOut.inPackages..st index 0323a18..debb58d 100644 --- a/SmartTest.package/SmTIcebergLoadedPackagesFilter.class/instance/shouldEntityBeFiltered.inPackages..st +++ b/SmartTest.package/SmTIcebergLoadedPackagesFilter.class/instance/shouldEntityBeFilteredOut.inPackages..st @@ -1,3 +1,3 @@ asserting -shouldEntityBeFiltered: anEntity inPackages: packages +shouldEntityBeFilteredOut: anEntity inPackages: packages ^ ((packages collect: #name) includes: anEntity package name) not \ No newline at end of file diff --git a/SmartTest.package/SmTNoFilter.class/instance/shouldEntityBeFiltered.inPackages..st b/SmartTest.package/SmTNoFilter.class/instance/shouldEntityBeFilteredOut.inPackages..st similarity index 58% rename from SmartTest.package/SmTNoFilter.class/instance/shouldEntityBeFiltered.inPackages..st rename to SmartTest.package/SmTNoFilter.class/instance/shouldEntityBeFilteredOut.inPackages..st index 8913a2f..cd37653 100644 --- a/SmartTest.package/SmTNoFilter.class/instance/shouldEntityBeFiltered.inPackages..st +++ b/SmartTest.package/SmTNoFilter.class/instance/shouldEntityBeFilteredOut.inPackages..st @@ -1,5 +1,5 @@ asserting -shouldEntityBeFiltered: anEntity inPackages: anObject +shouldEntityBeFilteredOut: anEntity inPackages: anObject "(anEntity methodClass allCallsOn collect: #ciPackage) not." ^ false \ No newline at end of file diff --git a/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAClass.inPackages.alreadyVisited..st b/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAClass.inPackages.alreadyVisited..st index 3d1780f..49d162c 100644 --- a/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAClass.inPackages.alreadyVisited..st +++ b/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAClass.inPackages.alreadyVisited..st @@ -7,12 +7,12 @@ recursiveSearchForAClass: aClass inPackages: packagesToLookAt alreadyVisited: al aClass allTestSelectors do: [ :each | testsFound add: (RGMethodDefinition className: aClass name selector: each isMetaSide: false) ] ]. testsFound addAll: - ((aClass allCallsOn select: [ :aCallOn | (filter shouldEntityBeFiltered: aCallOn inPackages: packagesToLookAt) not ]) + ((aClass allCallsOn select: [ :aCallOn | (filter shouldEntityBeFilteredOut: aCallOn inPackages: packagesToLookAt) not ]) flatCollect: [ :aRGMethodDefinition | self methodsFor: aRGMethodDefinition compiledMethod forThePackage: packagesToLookAt ]). aClass subclasses reject: [ :aSubClass | | reject | - reject := (filter shouldEntityBeFiltered: aSubClass inPackages: packagesToLookAt) or: [ alreadyVisitedClass includes: aSubClass ]. + reject := (filter shouldEntityBeFilteredOut: aSubClass inPackages: packagesToLookAt) or: [ alreadyVisitedClass includes: aSubClass ]. alreadyVisitedClass add: aSubClass. reject ] thenDo: [ :aSubClass | diff --git a/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAStandardMethod.inPackages.alreadyVisited..st b/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAStandardMethod.inPackages.alreadyVisited..st index 145be81..8c4c18f 100644 --- a/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAStandardMethod.inPackages.alreadyVisited..st +++ b/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAStandardMethod.inPackages.alreadyVisited..st @@ -5,7 +5,7 @@ recursiveSearchForAStandardMethod: aRGMethodDefinition inPackages: packages alre (self collectSenderOfRGMethodeDefintion: aRGMethodDefinition) reject: [ :aSenderMethod | | reject | - reject := (filter shouldEntityBeFiltered: aSenderMethod inPackages: packages) or: [ alreadyVisitedMethods includes: aSenderMethod ]. + reject := (filter shouldEntityBeFilteredOut: aSenderMethod inPackages: packages) or: [ alreadyVisitedMethods includes: aSenderMethod ]. alreadyVisitedMethods add: aSenderMethod. reject ] thenDo: [ :aSenderRGMethodDefinition | diff --git a/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/packages.st b/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/packages.st index 1e530b5..2c50833 100644 --- a/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/packages.st +++ b/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/packages.st @@ -1,5 +1,11 @@ accessing packages - "Return the collection of package that was find from the settings" - - ^ self selectedPackages \ No newline at end of file + "Return the collection of package that was found from the settings" + ^selectedPackages ifNil: [ + selectedPackages := (RPackageOrganizer default packages + flatCollect: [ :package | + package classTags + select: [ :classTag | self packagesRegex asRegex matchesPrefix: classTag categoryName ] + thenCollect: #categoryName ]) asSet + ]. + \ No newline at end of file diff --git a/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/packagesRegex..st b/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/packagesRegex..st index b85808c..819a1b4 100644 --- a/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/packagesRegex..st +++ b/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/packagesRegex..st @@ -1,3 +1,4 @@ accessing packagesRegex: anObject - packagesRegex := anObject \ No newline at end of file + packagesRegex := anObject. + selectedPackages := nil \ No newline at end of file diff --git a/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/selectedPackages.st b/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/selectedPackages.st deleted file mode 100644 index a3134ec..0000000 --- a/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/selectedPackages.st +++ /dev/null @@ -1,7 +0,0 @@ -accessing -selectedPackages - ^ (RPackageOrganizer default packages - flatCollect: [ :package | - package classTags - select: [ :classTag | self packagesRegex asRegex matchesPrefix: classTag categoryName ] - thenCollect: #categoryName ]) asSet \ No newline at end of file diff --git a/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/shouldEntityBeFiltered.inPackages..st b/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/shouldEntityBeFilteredOut.inPackages..st similarity index 78% rename from SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/shouldEntityBeFiltered.inPackages..st rename to SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/shouldEntityBeFilteredOut.inPackages..st index a30a26f..3d3f208 100644 --- a/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/shouldEntityBeFiltered.inPackages..st +++ b/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/shouldEntityBeFilteredOut.inPackages..st @@ -1,5 +1,5 @@ accessing -shouldEntityBeFiltered: anEntity inPackages: anObject +shouldEntityBeFilteredOut: anEntity inPackages: anObject "(anEntity methodClass allCallsOn collect: #ciPackage) not." (anEntity isClass) ifTrue:[^ (self packages includes: anEntity category) not]. ^ (self packages includes: anEntity methodClass category) not \ No newline at end of file diff --git a/SmartTest.package/SmTSpecifyPackagesNameFilter.class/properties.json b/SmartTest.package/SmTSpecifyPackagesNameFilter.class/properties.json index 51a6e86..27ca52a 100644 --- a/SmartTest.package/SmTSpecifyPackagesNameFilter.class/properties.json +++ b/SmartTest.package/SmTSpecifyPackagesNameFilter.class/properties.json @@ -6,7 +6,8 @@ "pools" : [ ], "classvars" : [ ], "instvars" : [ - "packagesRegex" + "packagesRegex", + "selectedPackages" ], "name" : "SmTSpecifyPackagesNameFilter", "type" : "normal" diff --git a/SmartTest.package/SmTTestFinderStrategy.class/README.md b/SmartTest.package/SmTTestFinderStrategy.class/README.md index 5fb39bf..f1608a4 100644 --- a/SmartTest.package/SmTTestFinderStrategy.class/README.md +++ b/SmartTest.package/SmTTestFinderStrategy.class/README.md @@ -1 +1 @@ -I represent the strategy used by the soft \ No newline at end of file +I represent an abstract strategy to find tests exercising some method \ No newline at end of file diff --git a/SmartTest.package/SmTTestFinderStrategy.class/properties.json b/SmartTest.package/SmTTestFinderStrategy.class/properties.json index b13a9e4..ad94c13 100644 --- a/SmartTest.package/SmTTestFinderStrategy.class/properties.json +++ b/SmartTest.package/SmTTestFinderStrategy.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "BenoitVerhaeghe 6/30/2017 08:44", + "commentStamp" : "eleonoreW 6/29/2018 15:25", "super" : "Object", "category" : "SmartTest-Finder", "classinstvars" : [ ], From b096c019029e2da883e6d7a667369c1c364d28a0 Mon Sep 17 00:00:00 2001 From: eleonoreW Date: Fri, 29 Jun 2018 17:04:06 +0200 Subject: [PATCH 117/150] Just a test comment --- .../instance/testStandardMethodFirstLevelSenders.st | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/instance/testStandardMethodFirstLevelSenders.st b/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/instance/testStandardMethodFirstLevelSenders.st index 6264dc1..669189f 100644 --- a/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/instance/testStandardMethodFirstLevelSenders.st +++ b/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/instance/testStandardMethodFirstLevelSenders.st @@ -1,6 +1,6 @@ tests testStandardMethodFirstLevelSenders - "In class, the research is limited to the SmartTest-Tests-Data package and is static. So the assertions are different. There should be only one test found that call the method2 message" + "Same test as in the superclass, but here there should be only one test found (there are many in the superclass)" | testsFound | From 10059edcbbc7f59d265e4e17c886a7bfe2076095 Mon Sep 17 00:00:00 2001 From: eleonoreW Date: Fri, 29 Jun 2018 17:23:13 +0200 Subject: [PATCH 118/150] Rolling back SpecifyPackageNameFilter methods --- .../instance/packages.st | 13 ++++--------- .../instance/packagesRegex..st | 3 +-- .../instance/selectedPackages.st | 7 +++++++ 3 files changed, 12 insertions(+), 11 deletions(-) create mode 100644 SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/selectedPackages.st diff --git a/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/packages.st b/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/packages.st index 2c50833..a95f07a 100644 --- a/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/packages.st +++ b/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/packages.st @@ -1,11 +1,6 @@ accessing packages - "Return the collection of package that was found from the settings" - ^selectedPackages ifNil: [ - selectedPackages := (RPackageOrganizer default packages - flatCollect: [ :package | - package classTags - select: [ :classTag | self packagesRegex asRegex matchesPrefix: classTag categoryName ] - thenCollect: #categoryName ]) asSet - ]. - \ No newline at end of file + "Return the collection of package that was find from the settings" + + + ^ self selectedPackages \ No newline at end of file diff --git a/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/packagesRegex..st b/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/packagesRegex..st index 819a1b4..b85808c 100644 --- a/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/packagesRegex..st +++ b/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/packagesRegex..st @@ -1,4 +1,3 @@ accessing packagesRegex: anObject - packagesRegex := anObject. - selectedPackages := nil \ No newline at end of file + packagesRegex := anObject \ No newline at end of file diff --git a/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/selectedPackages.st b/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/selectedPackages.st new file mode 100644 index 0000000..a3134ec --- /dev/null +++ b/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/selectedPackages.st @@ -0,0 +1,7 @@ +accessing +selectedPackages + ^ (RPackageOrganizer default packages + flatCollect: [ :package | + package classTags + select: [ :classTag | self packagesRegex asRegex matchesPrefix: classTag categoryName ] + thenCollect: #categoryName ]) asSet \ No newline at end of file From 9b9013af7f05f55f59d590ae932b1cda7ae495d4 Mon Sep 17 00:00:00 2001 From: eleonoreW Date: Thu, 12 Jul 2018 15:17:16 +0200 Subject: [PATCH 119/150] Adding 3 cache strategies --- .../instance/resetCacheForChange..st | 4 ++++ .../SmTCacheNeverReset.class/README.md | 3 +++ .../instance/resetCacheForChange..st | 3 +++ .../SmTCacheNeverReset.class/properties.json | 11 +++++++++++ .../SmTCacheResetEvery5Changes.class/README.md | 3 +++ .../instance/resetCacheForChange..st | 6 ++++++ .../properties.json | 13 +++++++++++++ .../SmTCacheResetEveryCommit.class/README.md | 3 +++ .../instance/resetCacheForChange..st | 4 ++++ .../SmTCacheResetEveryCommit.class/properties.json | 11 +++++++++++ .../instance/resetCacheForChange..st | 3 +++ 11 files changed, 64 insertions(+) create mode 100644 SmartTest.package/SmTBasicCacheStrategy.class/instance/resetCacheForChange..st create mode 100644 SmartTest.package/SmTCacheNeverReset.class/README.md create mode 100644 SmartTest.package/SmTCacheNeverReset.class/instance/resetCacheForChange..st create mode 100644 SmartTest.package/SmTCacheNeverReset.class/properties.json create mode 100644 SmartTest.package/SmTCacheResetEvery5Changes.class/README.md create mode 100644 SmartTest.package/SmTCacheResetEvery5Changes.class/instance/resetCacheForChange..st create mode 100644 SmartTest.package/SmTCacheResetEvery5Changes.class/properties.json create mode 100644 SmartTest.package/SmTCacheResetEveryCommit.class/README.md create mode 100644 SmartTest.package/SmTCacheResetEveryCommit.class/instance/resetCacheForChange..st create mode 100644 SmartTest.package/SmTCacheResetEveryCommit.class/properties.json create mode 100644 SmartTest.package/SmTCacheStrategy.class/instance/resetCacheForChange..st diff --git a/SmartTest.package/SmTBasicCacheStrategy.class/instance/resetCacheForChange..st b/SmartTest.package/SmTBasicCacheStrategy.class/instance/resetCacheForChange..st new file mode 100644 index 0000000..d389700 --- /dev/null +++ b/SmartTest.package/SmTBasicCacheStrategy.class/instance/resetCacheForChange..st @@ -0,0 +1,4 @@ +private +resetCacheForChange: aChange + super resetCache. + self subclassResponsibility \ No newline at end of file diff --git a/SmartTest.package/SmTCacheNeverReset.class/README.md b/SmartTest.package/SmTCacheNeverReset.class/README.md new file mode 100644 index 0000000..811b705 --- /dev/null +++ b/SmartTest.package/SmTCacheNeverReset.class/README.md @@ -0,0 +1,3 @@ +This strategy always adds the tests to the cache and always gives the tests when asked. + +When using this strategy, the cache is never reseted, even when told so. \ No newline at end of file diff --git a/SmartTest.package/SmTCacheNeverReset.class/instance/resetCacheForChange..st b/SmartTest.package/SmTCacheNeverReset.class/instance/resetCacheForChange..st new file mode 100644 index 0000000..0a67199 --- /dev/null +++ b/SmartTest.package/SmTCacheNeverReset.class/instance/resetCacheForChange..st @@ -0,0 +1,3 @@ +private +resetCacheForChange: aChange + "Never reset the cache for this strategy." \ No newline at end of file diff --git a/SmartTest.package/SmTCacheNeverReset.class/properties.json b/SmartTest.package/SmTCacheNeverReset.class/properties.json new file mode 100644 index 0000000..300e174 --- /dev/null +++ b/SmartTest.package/SmTCacheNeverReset.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "eleonoreW 7/12/2018 11:35", + "super" : "SmTBasicCacheStrategy", + "category" : "SmartTest-Cache", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTCacheNeverReset", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTest.package/SmTCacheResetEvery5Changes.class/README.md b/SmartTest.package/SmTCacheResetEvery5Changes.class/README.md new file mode 100644 index 0000000..b503ee6 --- /dev/null +++ b/SmartTest.package/SmTCacheResetEvery5Changes.class/README.md @@ -0,0 +1,3 @@ +This strategy always adds the tests to the cache and always gives the tests when asked. + +When using this strategy, the cache is reseted each 5 changes (changes manageable by SmartTest, for exemple changes on methods and classes). \ No newline at end of file diff --git a/SmartTest.package/SmTCacheResetEvery5Changes.class/instance/resetCacheForChange..st b/SmartTest.package/SmTCacheResetEvery5Changes.class/instance/resetCacheForChange..st new file mode 100644 index 0000000..5c6049c --- /dev/null +++ b/SmartTest.package/SmTCacheResetEvery5Changes.class/instance/resetCacheForChange..st @@ -0,0 +1,6 @@ +private +resetCacheForChange: aChange + numberOfChange := numberOfChange + 1. + (numberOfChange \\ 5 equals: 0) + ifTrue: [ cache removeAll ] + \ No newline at end of file diff --git a/SmartTest.package/SmTCacheResetEvery5Changes.class/properties.json b/SmartTest.package/SmTCacheResetEvery5Changes.class/properties.json new file mode 100644 index 0000000..d656b4f --- /dev/null +++ b/SmartTest.package/SmTCacheResetEvery5Changes.class/properties.json @@ -0,0 +1,13 @@ +{ + "commentStamp" : "eleonoreW 7/12/2018 11:38", + "super" : "SmTBasicCacheStrategy", + "category" : "SmartTest-Cache", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ + "numberOfChange" + ], + "name" : "SmTCacheResetEvery5Changes", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTest.package/SmTCacheResetEveryCommit.class/README.md b/SmartTest.package/SmTCacheResetEveryCommit.class/README.md new file mode 100644 index 0000000..d1d972b --- /dev/null +++ b/SmartTest.package/SmTCacheResetEveryCommit.class/README.md @@ -0,0 +1,3 @@ +This strategy always adds the tests to the cache and always gives the tests when asked. + +When using this strategy, the cache is reseted only when a commit is peformed. It is mostly used with SmartTest Experiment. \ No newline at end of file diff --git a/SmartTest.package/SmTCacheResetEveryCommit.class/instance/resetCacheForChange..st b/SmartTest.package/SmTCacheResetEveryCommit.class/instance/resetCacheForChange..st new file mode 100644 index 0000000..b9960d6 --- /dev/null +++ b/SmartTest.package/SmTCacheResetEveryCommit.class/instance/resetCacheForChange..st @@ -0,0 +1,4 @@ +private +resetCacheForChange: aChange + (aChange class equals: EpMonticelloVersionSave) ifTrue:[cache removeAll]. + \ No newline at end of file diff --git a/SmartTest.package/SmTCacheResetEveryCommit.class/properties.json b/SmartTest.package/SmTCacheResetEveryCommit.class/properties.json new file mode 100644 index 0000000..af23295 --- /dev/null +++ b/SmartTest.package/SmTCacheResetEveryCommit.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "eleonoreW 7/12/2018 11:39", + "super" : "SmTBasicCacheStrategy", + "category" : "SmartTest-Cache", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTCacheResetEveryCommit", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTest.package/SmTCacheStrategy.class/instance/resetCacheForChange..st b/SmartTest.package/SmTCacheStrategy.class/instance/resetCacheForChange..st new file mode 100644 index 0000000..36ae19e --- /dev/null +++ b/SmartTest.package/SmTCacheStrategy.class/instance/resetCacheForChange..st @@ -0,0 +1,3 @@ +private +resetCacheForChange: aChange + cache removeAll \ No newline at end of file From ce617bab30a107a6d7bf8712fd0750cef34d1241 Mon Sep 17 00:00:00 2001 From: eleonoreW Date: Fri, 13 Jul 2018 13:50:48 +0200 Subject: [PATCH 120/150] Added the cache and tests for the cache strategies --- .../README.md | 0 .../instance/strategyTested.st | 3 ++ .../properties.json | 11 +++++++ .../README.md | 0 .../instance/strategyTested.st | 3 ++ .../instance/testResetAfter5MethodChange.st | 10 ++++++ .../properties.json | 11 +++++++ .../README.md | 0 .../instance/strategyTested.st | 3 ++ .../instance/testResetOnceOnCommit.st | 5 +++ .../properties.json | 11 +++++++ .../SmTBasicCacheTest.class/README.md | 0 .../instance/strategyTested.st | 3 ++ .../instance/testResetAfter4MethodChange.st | 8 +++++ .../instance/testResetAfter5MethodChange.st | 9 +++++ .../instance/testResetOnceOnCommit.st | 5 +++ .../instance/testResetOnceOnMethodChange.st | 5 +++ .../SmTBasicCacheTest.class/properties.json | 11 +++++++ .../properties.json | 2 +- .../SmTCacheBuilderTest.class/properties.json | 2 +- .../properties.json | 2 +- .../SmTCacheTest.class/README.md | 0 .../SmTCacheTest.class/class/isAbstract.st | 3 ++ .../SmTCacheTest.class/instance/initCache.st | 33 +++++++++++++++++++ .../SmTCacheTest.class/instance/setUp.st | 11 +++++++ .../instance/strategyTested.st | 3 ++ .../instance/testInitCache.st | 3 ++ .../instance/testResetAfter4MethodChange.st | 8 +++++ .../instance/testResetAfter5MethodChange.st | 9 +++++ .../instance/testResetOnceOnCommit.st | 5 +++ .../instance/testResetOnceOnMethodChange.st | 5 +++ .../SmTCacheTest.class/properties.json | 14 ++++++++ .../monticello.meta/categories.st | 2 ++ .../README.md | 0 .../instance/resetCacheForChange..st | 0 .../properties.json | 2 +- .../README.md | 0 .../instance/initialize.st | 3 ++ .../instance/numberOfChange..st | 3 ++ .../instance/numberOfChange.st | 3 ++ .../instance/resetCacheForChange..st | 2 +- .../properties.json | 2 +- .../README.md | 0 .../instance/resetCacheForChange..st | 4 +++ .../properties.json | 2 +- .../instance/resetCacheForChange..st | 3 +- .../instance/resetCacheForChange..st | 4 --- 47 files changed, 215 insertions(+), 13 deletions(-) create mode 100644 SmartTest-Tests.package/SmTBasicCacheNeverResetTest.class/README.md create mode 100644 SmartTest-Tests.package/SmTBasicCacheNeverResetTest.class/instance/strategyTested.st create mode 100644 SmartTest-Tests.package/SmTBasicCacheNeverResetTest.class/properties.json create mode 100644 SmartTest-Tests.package/SmTBasicCacheResetEvery5ChangesTest.class/README.md create mode 100644 SmartTest-Tests.package/SmTBasicCacheResetEvery5ChangesTest.class/instance/strategyTested.st create mode 100644 SmartTest-Tests.package/SmTBasicCacheResetEvery5ChangesTest.class/instance/testResetAfter5MethodChange.st create mode 100644 SmartTest-Tests.package/SmTBasicCacheResetEvery5ChangesTest.class/properties.json create mode 100644 SmartTest-Tests.package/SmTBasicCacheResetEveryCommitTest.class/README.md create mode 100644 SmartTest-Tests.package/SmTBasicCacheResetEveryCommitTest.class/instance/strategyTested.st create mode 100644 SmartTest-Tests.package/SmTBasicCacheResetEveryCommitTest.class/instance/testResetOnceOnCommit.st create mode 100644 SmartTest-Tests.package/SmTBasicCacheResetEveryCommitTest.class/properties.json create mode 100644 SmartTest-Tests.package/SmTBasicCacheTest.class/README.md create mode 100644 SmartTest-Tests.package/SmTBasicCacheTest.class/instance/strategyTested.st create mode 100644 SmartTest-Tests.package/SmTBasicCacheTest.class/instance/testResetAfter4MethodChange.st create mode 100644 SmartTest-Tests.package/SmTBasicCacheTest.class/instance/testResetAfter5MethodChange.st create mode 100644 SmartTest-Tests.package/SmTBasicCacheTest.class/instance/testResetOnceOnCommit.st create mode 100644 SmartTest-Tests.package/SmTBasicCacheTest.class/instance/testResetOnceOnMethodChange.st create mode 100644 SmartTest-Tests.package/SmTBasicCacheTest.class/properties.json create mode 100644 SmartTest-Tests.package/SmTCacheTest.class/README.md create mode 100644 SmartTest-Tests.package/SmTCacheTest.class/class/isAbstract.st create mode 100644 SmartTest-Tests.package/SmTCacheTest.class/instance/initCache.st create mode 100644 SmartTest-Tests.package/SmTCacheTest.class/instance/setUp.st create mode 100644 SmartTest-Tests.package/SmTCacheTest.class/instance/strategyTested.st create mode 100644 SmartTest-Tests.package/SmTCacheTest.class/instance/testInitCache.st create mode 100644 SmartTest-Tests.package/SmTCacheTest.class/instance/testResetAfter4MethodChange.st create mode 100644 SmartTest-Tests.package/SmTCacheTest.class/instance/testResetAfter5MethodChange.st create mode 100644 SmartTest-Tests.package/SmTCacheTest.class/instance/testResetOnceOnCommit.st create mode 100644 SmartTest-Tests.package/SmTCacheTest.class/instance/testResetOnceOnMethodChange.st create mode 100644 SmartTest-Tests.package/SmTCacheTest.class/properties.json rename SmartTest.package/{SmTCacheNeverReset.class => SmTBasicCacheNeverResetStrategy.class}/README.md (100%) rename SmartTest.package/{SmTCacheNeverReset.class => SmTBasicCacheNeverResetStrategy.class}/instance/resetCacheForChange..st (100%) rename SmartTest.package/{SmTCacheNeverReset.class => SmTBasicCacheNeverResetStrategy.class}/properties.json (82%) rename SmartTest.package/{SmTCacheResetEvery5Changes.class => SmTBasicCacheResetEvery5ChangesStrategy.class}/README.md (100%) create mode 100644 SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/instance/initialize.st create mode 100644 SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/instance/numberOfChange..st create mode 100644 SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/instance/numberOfChange.st rename SmartTest.package/{SmTCacheResetEvery5Changes.class => SmTBasicCacheResetEvery5ChangesStrategy.class}/instance/resetCacheForChange..st (76%) rename SmartTest.package/{SmTCacheResetEvery5Changes.class => SmTBasicCacheResetEvery5ChangesStrategy.class}/properties.json (81%) rename SmartTest.package/{SmTCacheResetEveryCommit.class => SmTBasicCacheResetEveryCommitStrategy.class}/README.md (100%) create mode 100644 SmartTest.package/SmTBasicCacheResetEveryCommitStrategy.class/instance/resetCacheForChange..st rename SmartTest.package/{SmTCacheResetEveryCommit.class => SmTBasicCacheResetEveryCommitStrategy.class}/properties.json (80%) delete mode 100644 SmartTest.package/SmTCacheResetEveryCommit.class/instance/resetCacheForChange..st diff --git a/SmartTest-Tests.package/SmTBasicCacheNeverResetTest.class/README.md b/SmartTest-Tests.package/SmTBasicCacheNeverResetTest.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTest-Tests.package/SmTBasicCacheNeverResetTest.class/instance/strategyTested.st b/SmartTest-Tests.package/SmTBasicCacheNeverResetTest.class/instance/strategyTested.st new file mode 100644 index 0000000..3633db6 --- /dev/null +++ b/SmartTest-Tests.package/SmTBasicCacheNeverResetTest.class/instance/strategyTested.st @@ -0,0 +1,3 @@ +running +strategyTested +^ SmTBasicCacheNeverResetStrategy \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTBasicCacheNeverResetTest.class/properties.json b/SmartTest-Tests.package/SmTBasicCacheNeverResetTest.class/properties.json new file mode 100644 index 0000000..42b68ae --- /dev/null +++ b/SmartTest-Tests.package/SmTBasicCacheNeverResetTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTCacheTest", + "category" : "SmartTest-Tests-Cache", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTBasicCacheNeverResetTest", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTBasicCacheResetEvery5ChangesTest.class/README.md b/SmartTest-Tests.package/SmTBasicCacheResetEvery5ChangesTest.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTest-Tests.package/SmTBasicCacheResetEvery5ChangesTest.class/instance/strategyTested.st b/SmartTest-Tests.package/SmTBasicCacheResetEvery5ChangesTest.class/instance/strategyTested.st new file mode 100644 index 0000000..24f5d1e --- /dev/null +++ b/SmartTest-Tests.package/SmTBasicCacheResetEvery5ChangesTest.class/instance/strategyTested.st @@ -0,0 +1,3 @@ +running +strategyTested +^ SmTBasicCacheResetEvery5ChangesStrategy \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTBasicCacheResetEvery5ChangesTest.class/instance/testResetAfter5MethodChange.st b/SmartTest-Tests.package/SmTBasicCacheResetEvery5ChangesTest.class/instance/testResetAfter5MethodChange.st new file mode 100644 index 0000000..3d4f665 --- /dev/null +++ b/SmartTest-Tests.package/SmTBasicCacheResetEvery5ChangesTest.class/instance/testResetAfter5MethodChange.st @@ -0,0 +1,10 @@ +tests +testResetAfter5MethodChange +"After one method change, the cache should be empty for NeverRest, EveryFiveChange, and EveryCommit case." +smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. +smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. +smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. +smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. +smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. +self assert: (smartFinder cacheStrategy numberOfChange == 5). +self assert: (smartFinder currentCache isEmpty) \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTBasicCacheResetEvery5ChangesTest.class/properties.json b/SmartTest-Tests.package/SmTBasicCacheResetEvery5ChangesTest.class/properties.json new file mode 100644 index 0000000..9f6bcc9 --- /dev/null +++ b/SmartTest-Tests.package/SmTBasicCacheResetEvery5ChangesTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTCacheTest", + "category" : "SmartTest-Tests-Cache", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTBasicCacheResetEvery5ChangesTest", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTBasicCacheResetEveryCommitTest.class/README.md b/SmartTest-Tests.package/SmTBasicCacheResetEveryCommitTest.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTest-Tests.package/SmTBasicCacheResetEveryCommitTest.class/instance/strategyTested.st b/SmartTest-Tests.package/SmTBasicCacheResetEveryCommitTest.class/instance/strategyTested.st new file mode 100644 index 0000000..c1a0c01 --- /dev/null +++ b/SmartTest-Tests.package/SmTBasicCacheResetEveryCommitTest.class/instance/strategyTested.st @@ -0,0 +1,3 @@ +running +strategyTested +^ SmTBasicCacheResetEveryCommitStrategy \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTBasicCacheResetEveryCommitTest.class/instance/testResetOnceOnCommit.st b/SmartTest-Tests.package/SmTBasicCacheResetEveryCommitTest.class/instance/testResetOnceOnCommit.st new file mode 100644 index 0000000..8f49de6 --- /dev/null +++ b/SmartTest-Tests.package/SmTBasicCacheResetEveryCommitTest.class/instance/testResetOnceOnCommit.st @@ -0,0 +1,5 @@ +tests +testResetOnceOnCommit +"After one method change, the cache should be empty for NeverRest, EveryFiveChange, and EveryCommit case." +smartFinder cacheStrategy resetCacheForChange: EpMonticelloVersionSave new. +self assert: (smartFinder currentCache isEmpty) \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTBasicCacheResetEveryCommitTest.class/properties.json b/SmartTest-Tests.package/SmTBasicCacheResetEveryCommitTest.class/properties.json new file mode 100644 index 0000000..eb658c9 --- /dev/null +++ b/SmartTest-Tests.package/SmTBasicCacheResetEveryCommitTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTCacheTest", + "category" : "SmartTest-Tests-Cache", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTBasicCacheResetEveryCommitTest", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTBasicCacheTest.class/README.md b/SmartTest-Tests.package/SmTBasicCacheTest.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTest-Tests.package/SmTBasicCacheTest.class/instance/strategyTested.st b/SmartTest-Tests.package/SmTBasicCacheTest.class/instance/strategyTested.st new file mode 100644 index 0000000..af7828f --- /dev/null +++ b/SmartTest-Tests.package/SmTBasicCacheTest.class/instance/strategyTested.st @@ -0,0 +1,3 @@ +running +strategyTested +^ SmTBasicCacheStrategy \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTBasicCacheTest.class/instance/testResetAfter4MethodChange.st b/SmartTest-Tests.package/SmTBasicCacheTest.class/instance/testResetAfter4MethodChange.st new file mode 100644 index 0000000..525e59e --- /dev/null +++ b/SmartTest-Tests.package/SmTBasicCacheTest.class/instance/testResetAfter4MethodChange.st @@ -0,0 +1,8 @@ +tests +testResetAfter4MethodChange +"After one method change, the cache should be empty for NeverRest, EveryFiveChange, and EveryCommit case." +smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. +smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. +smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. +smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. +self assert: (smartFinder currentCache isEmpty) \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTBasicCacheTest.class/instance/testResetAfter5MethodChange.st b/SmartTest-Tests.package/SmTBasicCacheTest.class/instance/testResetAfter5MethodChange.st new file mode 100644 index 0000000..48458f2 --- /dev/null +++ b/SmartTest-Tests.package/SmTBasicCacheTest.class/instance/testResetAfter5MethodChange.st @@ -0,0 +1,9 @@ +tests +testResetAfter5MethodChange +"After one method change, the cache should be empty for NeverRest, EveryFiveChange, and EveryCommit case." +smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. +smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. +smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. +smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. +smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. +self assert: (smartFinder currentCache isEmpty) \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTBasicCacheTest.class/instance/testResetOnceOnCommit.st b/SmartTest-Tests.package/SmTBasicCacheTest.class/instance/testResetOnceOnCommit.st new file mode 100644 index 0000000..8f49de6 --- /dev/null +++ b/SmartTest-Tests.package/SmTBasicCacheTest.class/instance/testResetOnceOnCommit.st @@ -0,0 +1,5 @@ +tests +testResetOnceOnCommit +"After one method change, the cache should be empty for NeverRest, EveryFiveChange, and EveryCommit case." +smartFinder cacheStrategy resetCacheForChange: EpMonticelloVersionSave new. +self assert: (smartFinder currentCache isEmpty) \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTBasicCacheTest.class/instance/testResetOnceOnMethodChange.st b/SmartTest-Tests.package/SmTBasicCacheTest.class/instance/testResetOnceOnMethodChange.st new file mode 100644 index 0000000..3d0cc38 --- /dev/null +++ b/SmartTest-Tests.package/SmTBasicCacheTest.class/instance/testResetOnceOnMethodChange.st @@ -0,0 +1,5 @@ +tests +testResetOnceOnMethodChange +"Here, the cache should be empty because the BasicCache strategy allows that the reset of the cache" +smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. +self assert: (smartFinder currentCache isEmpty) \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTBasicCacheTest.class/properties.json b/SmartTest-Tests.package/SmTBasicCacheTest.class/properties.json new file mode 100644 index 0000000..c68267a --- /dev/null +++ b/SmartTest-Tests.package/SmTBasicCacheTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTCacheTest", + "category" : "SmartTest-Tests-Cache", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTBasicCacheTest", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/properties.json b/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/properties.json index bac52fd..49335b0 100644 --- a/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/properties.json +++ b/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "EleonoreWALD 4/27/2018 16:00", "super" : "SmTCacheBuilderTest", - "category" : "SmartTest-Tests-Builder", + "category" : "SmartTest-Tests-CacheBuilder", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTest-Tests.package/SmTCacheBuilderTest.class/properties.json b/SmartTest-Tests.package/SmTCacheBuilderTest.class/properties.json index afa3211..b73f2dd 100644 --- a/SmartTest-Tests.package/SmTCacheBuilderTest.class/properties.json +++ b/SmartTest-Tests.package/SmTCacheBuilderTest.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "AnneEtien 3/2/2018 15:34", "super" : "TestCase", - "category" : "SmartTest-Tests-Builder", + "category" : "SmartTest-Tests-CacheBuilder", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/properties.json b/SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/properties.json index 16823a1..5de372d 100644 --- a/SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/properties.json +++ b/SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/properties.json @@ -1,7 +1,7 @@ { "commentStamp" : "EleonoreWALD 5/3/2018 14:22", "super" : "SmTCacheBuilderTest", - "category" : "SmartTest-Tests-Builder", + "category" : "SmartTest-Tests-CacheBuilder", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], diff --git a/SmartTest-Tests.package/SmTCacheTest.class/README.md b/SmartTest-Tests.package/SmTCacheTest.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTest-Tests.package/SmTCacheTest.class/class/isAbstract.st b/SmartTest-Tests.package/SmTCacheTest.class/class/isAbstract.st new file mode 100644 index 0000000..db562eb --- /dev/null +++ b/SmartTest-Tests.package/SmTCacheTest.class/class/isAbstract.st @@ -0,0 +1,3 @@ +testing +isAbstract +^ (self == SmTCacheTest) \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheTest.class/instance/initCache.st b/SmartTest-Tests.package/SmTCacheTest.class/instance/initCache.st new file mode 100644 index 0000000..037b06c --- /dev/null +++ b/SmartTest-Tests.package/SmTCacheTest.class/instance/initCache.st @@ -0,0 +1,33 @@ +initialize-release +initCache + ^ {((SmTClass >> #method1) asRingDefinition + -> + {(SmTClassTest >> #testMethod1) asRingDefinition. + (SmTClassTest >> #testMethod2) asRingDefinition. + (RGMethodDefinition + className: 'SmTInheritClassTest' + selector: #testMethod1 + isMetaSide: false)} asSet). + ((SmTClass >> #method2) asRingDefinition + -> {(SmTClassTest >> #testMethod2) asRingDefinition} asSet). + ((SmTClass >> #method3:) asRingDefinition + -> + {(SmTClassTest >> #testMethod1) asRingDefinition. + (SmTClassTest >> #testMethod2) asRingDefinition. + (SmTClassTest >> #testMethod3) asRingDefinition} asSet). + ((SmTClass >> #method4) asRingDefinition + -> + {(SmTClassTest >> #testMethod2) asRingDefinition. + (SmTClassTest >> #testMethod3) asRingDefinition. + (SmTClassTest >> #testMethod4) asRingDefinition} asSet). + ((SmTClass2 >> #initialize) asRingDefinition + -> {(SmTClassTest >> #testMethod5) asRingDefinition} asSet). + ((SmTClassTest >> #testMethod4) asRingDefinition + -> {(SmTClassTest >> #testMethod4) asRingDefinition} asSet). + ((('SmTP1' , 'Inheritance') asClass >> ('method1' , 'Inheritance') asSymbol) + asRingDefinition + -> + {(('SmTP1' , 'InheritanceSubClass1Test') asClass >> ('testMethod1','Inheritance') asSymbol) + asRingDefinition. + (RGMethodDefinition className: ('SmTP1InheritanceSubClass2','Test') selector: ('testMethod1','Inheritance') isMetaSide: false) + asRingDefinition} asSet)} asDictionary \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheTest.class/instance/setUp.st b/SmartTest-Tests.package/SmTCacheTest.class/instance/setUp.st new file mode 100644 index 0000000..f170564 --- /dev/null +++ b/SmartTest-Tests.package/SmTCacheTest.class/instance/setUp.st @@ -0,0 +1,11 @@ +running +setUp + "fill in the cache" + + | initialCache | + super setUp. + smartFinder := SmartFinder new. + initialCache := self initCache. + smartFinder cacheStrategy: (self strategyTested new). + smartFinder setCacheValues: initialCache. + smartFinder smtFinder: SmTTestCoverageTestFinderStrategy new \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheTest.class/instance/strategyTested.st b/SmartTest-Tests.package/SmTCacheTest.class/instance/strategyTested.st new file mode 100644 index 0000000..a678b5a --- /dev/null +++ b/SmartTest-Tests.package/SmTCacheTest.class/instance/strategyTested.st @@ -0,0 +1,3 @@ +running +strategyTested +self subclassResponsibility \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheTest.class/instance/testInitCache.st b/SmartTest-Tests.package/SmTCacheTest.class/instance/testInitCache.st new file mode 100644 index 0000000..d43ea86 --- /dev/null +++ b/SmartTest-Tests.package/SmTCacheTest.class/instance/testInitCache.st @@ -0,0 +1,3 @@ +tests +testInitCache +self assert: (smartFinder currentCache isNotEmpty). \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheTest.class/instance/testResetAfter4MethodChange.st b/SmartTest-Tests.package/SmTCacheTest.class/instance/testResetAfter4MethodChange.st new file mode 100644 index 0000000..5a3147a --- /dev/null +++ b/SmartTest-Tests.package/SmTCacheTest.class/instance/testResetAfter4MethodChange.st @@ -0,0 +1,8 @@ +tests +testResetAfter4MethodChange +"After one method change, the cache should be empty for NeverRest, EveryFiveChange, and EveryCommit case." +smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. +smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. +smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. +smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. +self assert: (smartFinder currentCache isNotEmpty) \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheTest.class/instance/testResetAfter5MethodChange.st b/SmartTest-Tests.package/SmTCacheTest.class/instance/testResetAfter5MethodChange.st new file mode 100644 index 0000000..551d2a0 --- /dev/null +++ b/SmartTest-Tests.package/SmTCacheTest.class/instance/testResetAfter5MethodChange.st @@ -0,0 +1,9 @@ +tests +testResetAfter5MethodChange +"After one method change, the cache should be empty for NeverRest, EveryFiveChange, and EveryCommit case." +smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. +smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. +smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. +smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. +smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. +self assert: (smartFinder currentCache isNotEmpty) \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheTest.class/instance/testResetOnceOnCommit.st b/SmartTest-Tests.package/SmTCacheTest.class/instance/testResetOnceOnCommit.st new file mode 100644 index 0000000..d81da81 --- /dev/null +++ b/SmartTest-Tests.package/SmTCacheTest.class/instance/testResetOnceOnCommit.st @@ -0,0 +1,5 @@ +tests +testResetOnceOnCommit +"After one method change, the cache should be empty for NeverRest, EveryFiveChange, and EveryCommit case." +smartFinder cacheStrategy resetCacheForChange: EpMonticelloVersionSave new. +self assert: (smartFinder currentCache isNotEmpty) \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheTest.class/instance/testResetOnceOnMethodChange.st b/SmartTest-Tests.package/SmTCacheTest.class/instance/testResetOnceOnMethodChange.st new file mode 100644 index 0000000..81095fc --- /dev/null +++ b/SmartTest-Tests.package/SmTCacheTest.class/instance/testResetOnceOnMethodChange.st @@ -0,0 +1,5 @@ +tests +testResetOnceOnMethodChange +"After one method change, the cache should be empty for NeverRest, EveryFiveChange, and EveryCommit case." +smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. +self assert: (smartFinder currentCache isNotEmpty) \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheTest.class/properties.json b/SmartTest-Tests.package/SmTCacheTest.class/properties.json new file mode 100644 index 0000000..b7138c8 --- /dev/null +++ b/SmartTest-Tests.package/SmTCacheTest.class/properties.json @@ -0,0 +1,14 @@ +{ + "commentStamp" : "", + "super" : "TestCase", + "category" : "SmartTest-Tests-Cache", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ + "cache", + "smartFinder" + ], + "name" : "SmTCacheTest", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTest-Tests.package/monticello.meta/categories.st b/SmartTest-Tests.package/monticello.meta/categories.st index 4a8349a..931f222 100644 --- a/SmartTest-Tests.package/monticello.meta/categories.st +++ b/SmartTest-Tests.package/monticello.meta/categories.st @@ -5,3 +5,5 @@ SystemOrganization addCategory: #'SmartTest-Tests-Finder'! SystemOrganization addCategory: #'SmartTest-Tests-OnModification'! SystemOrganization addCategory: #'SmartTest-Tests-Runner'! SystemOrganization addCategory: #'SmartTest-Tests-Settings'! +! +SystemOrganization addCategory: #'SmartTest-Tests-Settings'! diff --git a/SmartTest.package/SmTCacheNeverReset.class/README.md b/SmartTest.package/SmTBasicCacheNeverResetStrategy.class/README.md similarity index 100% rename from SmartTest.package/SmTCacheNeverReset.class/README.md rename to SmartTest.package/SmTBasicCacheNeverResetStrategy.class/README.md diff --git a/SmartTest.package/SmTCacheNeverReset.class/instance/resetCacheForChange..st b/SmartTest.package/SmTBasicCacheNeverResetStrategy.class/instance/resetCacheForChange..st similarity index 100% rename from SmartTest.package/SmTCacheNeverReset.class/instance/resetCacheForChange..st rename to SmartTest.package/SmTBasicCacheNeverResetStrategy.class/instance/resetCacheForChange..st diff --git a/SmartTest.package/SmTCacheNeverReset.class/properties.json b/SmartTest.package/SmTBasicCacheNeverResetStrategy.class/properties.json similarity index 82% rename from SmartTest.package/SmTCacheNeverReset.class/properties.json rename to SmartTest.package/SmTBasicCacheNeverResetStrategy.class/properties.json index 300e174..bb2b73a 100644 --- a/SmartTest.package/SmTCacheNeverReset.class/properties.json +++ b/SmartTest.package/SmTBasicCacheNeverResetStrategy.class/properties.json @@ -6,6 +6,6 @@ "pools" : [ ], "classvars" : [ ], "instvars" : [ ], - "name" : "SmTCacheNeverReset", + "name" : "SmTBasicCacheNeverResetStrategy", "type" : "normal" } \ No newline at end of file diff --git a/SmartTest.package/SmTCacheResetEvery5Changes.class/README.md b/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/README.md similarity index 100% rename from SmartTest.package/SmTCacheResetEvery5Changes.class/README.md rename to SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/README.md diff --git a/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/instance/initialize.st b/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/instance/initialize.st new file mode 100644 index 0000000..29ec469 --- /dev/null +++ b/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/instance/initialize.st @@ -0,0 +1,3 @@ +initialization +initialize +self numberOfChange: 0. \ No newline at end of file diff --git a/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/instance/numberOfChange..st b/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/instance/numberOfChange..st new file mode 100644 index 0000000..62efcce --- /dev/null +++ b/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/instance/numberOfChange..st @@ -0,0 +1,3 @@ +accessing +numberOfChange: anObject + numberOfChange := anObject \ No newline at end of file diff --git a/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/instance/numberOfChange.st b/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/instance/numberOfChange.st new file mode 100644 index 0000000..6708985 --- /dev/null +++ b/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/instance/numberOfChange.st @@ -0,0 +1,3 @@ +accessing +numberOfChange + ^ numberOfChange \ No newline at end of file diff --git a/SmartTest.package/SmTCacheResetEvery5Changes.class/instance/resetCacheForChange..st b/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/instance/resetCacheForChange..st similarity index 76% rename from SmartTest.package/SmTCacheResetEvery5Changes.class/instance/resetCacheForChange..st rename to SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/instance/resetCacheForChange..st index 5c6049c..f2ce9c0 100644 --- a/SmartTest.package/SmTCacheResetEvery5Changes.class/instance/resetCacheForChange..st +++ b/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/instance/resetCacheForChange..st @@ -1,6 +1,6 @@ private resetCacheForChange: aChange numberOfChange := numberOfChange + 1. - (numberOfChange \\ 5 equals: 0) + (numberOfChange \\ 5 == 0) ifTrue: [ cache removeAll ] \ No newline at end of file diff --git a/SmartTest.package/SmTCacheResetEvery5Changes.class/properties.json b/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/properties.json similarity index 81% rename from SmartTest.package/SmTCacheResetEvery5Changes.class/properties.json rename to SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/properties.json index d656b4f..74500da 100644 --- a/SmartTest.package/SmTCacheResetEvery5Changes.class/properties.json +++ b/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/properties.json @@ -8,6 +8,6 @@ "instvars" : [ "numberOfChange" ], - "name" : "SmTCacheResetEvery5Changes", + "name" : "SmTBasicCacheResetEvery5ChangesStrategy", "type" : "normal" } \ No newline at end of file diff --git a/SmartTest.package/SmTCacheResetEveryCommit.class/README.md b/SmartTest.package/SmTBasicCacheResetEveryCommitStrategy.class/README.md similarity index 100% rename from SmartTest.package/SmTCacheResetEveryCommit.class/README.md rename to SmartTest.package/SmTBasicCacheResetEveryCommitStrategy.class/README.md diff --git a/SmartTest.package/SmTBasicCacheResetEveryCommitStrategy.class/instance/resetCacheForChange..st b/SmartTest.package/SmTBasicCacheResetEveryCommitStrategy.class/instance/resetCacheForChange..st new file mode 100644 index 0000000..0fb377f --- /dev/null +++ b/SmartTest.package/SmTBasicCacheResetEveryCommitStrategy.class/instance/resetCacheForChange..st @@ -0,0 +1,4 @@ +private +resetCacheForChange: aChange + (aChange isKindOf: EpMonticelloVersionSave) ifTrue:[cache removeAll]. + \ No newline at end of file diff --git a/SmartTest.package/SmTCacheResetEveryCommit.class/properties.json b/SmartTest.package/SmTBasicCacheResetEveryCommitStrategy.class/properties.json similarity index 80% rename from SmartTest.package/SmTCacheResetEveryCommit.class/properties.json rename to SmartTest.package/SmTBasicCacheResetEveryCommitStrategy.class/properties.json index af23295..85bdb00 100644 --- a/SmartTest.package/SmTCacheResetEveryCommit.class/properties.json +++ b/SmartTest.package/SmTBasicCacheResetEveryCommitStrategy.class/properties.json @@ -6,6 +6,6 @@ "pools" : [ ], "classvars" : [ ], "instvars" : [ ], - "name" : "SmTCacheResetEveryCommit", + "name" : "SmTBasicCacheResetEveryCommitStrategy", "type" : "normal" } \ No newline at end of file diff --git a/SmartTest.package/SmTBasicCacheStrategy.class/instance/resetCacheForChange..st b/SmartTest.package/SmTBasicCacheStrategy.class/instance/resetCacheForChange..st index d389700..ca7362e 100644 --- a/SmartTest.package/SmTBasicCacheStrategy.class/instance/resetCacheForChange..st +++ b/SmartTest.package/SmTBasicCacheStrategy.class/instance/resetCacheForChange..st @@ -1,4 +1,3 @@ private resetCacheForChange: aChange - super resetCache. - self subclassResponsibility \ No newline at end of file + self resetCache. \ No newline at end of file diff --git a/SmartTest.package/SmTCacheResetEveryCommit.class/instance/resetCacheForChange..st b/SmartTest.package/SmTCacheResetEveryCommit.class/instance/resetCacheForChange..st deleted file mode 100644 index b9960d6..0000000 --- a/SmartTest.package/SmTCacheResetEveryCommit.class/instance/resetCacheForChange..st +++ /dev/null @@ -1,4 +0,0 @@ -private -resetCacheForChange: aChange - (aChange class equals: EpMonticelloVersionSave) ifTrue:[cache removeAll]. - \ No newline at end of file From 4d6cde7b55927cba5c911c8ef4a89d8ba5352c51 Mon Sep 17 00:00:00 2001 From: eleonoreW Date: Fri, 13 Jul 2018 16:34:43 +0200 Subject: [PATCH 121/150] Changed implementation of resetCache and resetCacheForChange: --- .../instance/{resetCacheForChange..st => resetCache.st} | 2 +- .../instance/{resetCacheForChange..st => resetCache.st} | 2 +- .../instance/resetCacheForChange..st | 2 +- .../instance/resetCacheForChange..st | 3 --- .../SmTCacheStrategy.class/instance/resetCacheForChange..st | 2 +- .../instance/recursiveSearchForAClass.inPackages..st | 3 --- .../instance/searchTestsForAClass..st | 5 ----- 7 files changed, 4 insertions(+), 15 deletions(-) rename SmartTest.package/SmTBasicCacheNeverResetStrategy.class/instance/{resetCacheForChange..st => resetCache.st} (63%) rename SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/instance/{resetCacheForChange..st => resetCache.st} (78%) delete mode 100644 SmartTest.package/SmTBasicCacheStrategy.class/instance/resetCacheForChange..st delete mode 100644 SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAClass.inPackages..st delete mode 100644 SmartTest.package/SmTSenderTestFinderStrategy.class/instance/searchTestsForAClass..st diff --git a/SmartTest.package/SmTBasicCacheNeverResetStrategy.class/instance/resetCacheForChange..st b/SmartTest.package/SmTBasicCacheNeverResetStrategy.class/instance/resetCache.st similarity index 63% rename from SmartTest.package/SmTBasicCacheNeverResetStrategy.class/instance/resetCacheForChange..st rename to SmartTest.package/SmTBasicCacheNeverResetStrategy.class/instance/resetCache.st index 0a67199..0da6502 100644 --- a/SmartTest.package/SmTBasicCacheNeverResetStrategy.class/instance/resetCacheForChange..st +++ b/SmartTest.package/SmTBasicCacheNeverResetStrategy.class/instance/resetCache.st @@ -1,3 +1,3 @@ private -resetCacheForChange: aChange +resetCache "Never reset the cache for this strategy." \ No newline at end of file diff --git a/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/instance/resetCacheForChange..st b/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/instance/resetCache.st similarity index 78% rename from SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/instance/resetCacheForChange..st rename to SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/instance/resetCache.st index f2ce9c0..4b80101 100644 --- a/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/instance/resetCacheForChange..st +++ b/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/instance/resetCache.st @@ -1,5 +1,5 @@ private -resetCacheForChange: aChange +resetCache numberOfChange := numberOfChange + 1. (numberOfChange \\ 5 == 0) ifTrue: [ cache removeAll ] diff --git a/SmartTest.package/SmTBasicCacheResetEveryCommitStrategy.class/instance/resetCacheForChange..st b/SmartTest.package/SmTBasicCacheResetEveryCommitStrategy.class/instance/resetCacheForChange..st index 0fb377f..c725031 100644 --- a/SmartTest.package/SmTBasicCacheResetEveryCommitStrategy.class/instance/resetCacheForChange..st +++ b/SmartTest.package/SmTBasicCacheResetEveryCommitStrategy.class/instance/resetCacheForChange..st @@ -1,4 +1,4 @@ private resetCacheForChange: aChange - (aChange isKindOf: EpMonticelloVersionSave) ifTrue:[cache removeAll]. + (aChange isKindOf: EpMonticelloVersionSave) ifTrue:[self resetCache]. \ No newline at end of file diff --git a/SmartTest.package/SmTBasicCacheStrategy.class/instance/resetCacheForChange..st b/SmartTest.package/SmTBasicCacheStrategy.class/instance/resetCacheForChange..st deleted file mode 100644 index ca7362e..0000000 --- a/SmartTest.package/SmTBasicCacheStrategy.class/instance/resetCacheForChange..st +++ /dev/null @@ -1,3 +0,0 @@ -private -resetCacheForChange: aChange - self resetCache. \ No newline at end of file diff --git a/SmartTest.package/SmTCacheStrategy.class/instance/resetCacheForChange..st b/SmartTest.package/SmTCacheStrategy.class/instance/resetCacheForChange..st index 36ae19e..29e6ca9 100644 --- a/SmartTest.package/SmTCacheStrategy.class/instance/resetCacheForChange..st +++ b/SmartTest.package/SmTCacheStrategy.class/instance/resetCacheForChange..st @@ -1,3 +1,3 @@ private resetCacheForChange: aChange - cache removeAll \ No newline at end of file +self resetCache \ No newline at end of file diff --git a/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAClass.inPackages..st b/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAClass.inPackages..st deleted file mode 100644 index d8d4a71..0000000 --- a/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAClass.inPackages..st +++ /dev/null @@ -1,3 +0,0 @@ -private - search -recursiveSearchForAClass: aClass inPackages: packagesToLookAt - ^ self recursiveSearchForAClass: aClass inPackages: packagesToLookAt alreadyVisited: Set new \ No newline at end of file diff --git a/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/searchTestsForAClass..st b/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/searchTestsForAClass..st deleted file mode 100644 index 0e73de2..0000000 --- a/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/searchTestsForAClass..st +++ /dev/null @@ -1,5 +0,0 @@ -accessing -searchTestsForAClass: aClass - | packagesToLookAt | - packagesToLookAt := self filter extractPackagesFrom: aClass. - ^ self recursiveSearchForAClass: aClass inPackages: packagesToLookAt \ No newline at end of file From 26159f7778b810611d72b884746b247f498512f7 Mon Sep 17 00:00:00 2001 From: eleonoreW Date: Wed, 18 Jul 2018 10:49:59 +0200 Subject: [PATCH 122/150] Changed the inheritanc eof some methods (in the finders strategies) --- .../{testResetOnceOnCommit.st => testResetAfter1Commit.st} | 2 +- .../{testResetOnceOnCommit.st => testResetAfter1Commit.st} | 2 +- ...tOnceOnMethodChange.st => testResetAfter1MethodChange.st} | 2 +- SmartTest-Tests.package/SmTCacheTest.class/README.md | 5 +++++ .../{testResetOnceOnCommit.st => testResetAfter1Commit.st} | 2 +- ...tOnceOnMethodChange.st => testResetAfter1MethodChange.st} | 2 +- SmartTest-Tests.package/SmTCacheTest.class/properties.json | 2 +- SmartTest-Tests.package/SmTSettingsTest.class/README.md | 1 + .../SmTSettingsTest.class/properties.json | 2 +- .../instance/recursiveSearchForAClass.inPackages..st | 3 +++ .../recursiveSearchForAClass.inPackages.alreadyVisited..st | 2 +- .../instance/searchTestsForAClass..st | 5 +++-- .../instance/searchTestsForAInstVar.OfClass..st | 2 +- .../instance/searchTestsForATrait..st | 0 14 files changed, 21 insertions(+), 11 deletions(-) rename SmartTest-Tests.package/SmTBasicCacheResetEveryCommitTest.class/instance/{testResetOnceOnCommit.st => testResetAfter1Commit.st} (91%) rename SmartTest-Tests.package/SmTBasicCacheTest.class/instance/{testResetOnceOnCommit.st => testResetAfter1Commit.st} (91%) rename SmartTest-Tests.package/SmTBasicCacheTest.class/instance/{testResetOnceOnMethodChange.st => testResetAfter1MethodChange.st} (88%) rename SmartTest-Tests.package/SmTCacheTest.class/instance/{testResetOnceOnCommit.st => testResetAfter1Commit.st} (91%) rename SmartTest-Tests.package/SmTCacheTest.class/instance/{testResetOnceOnMethodChange.st => testResetAfter1MethodChange.st} (89%) create mode 100644 SmartTest.package/SmTTestFinderStrategy.class/instance/recursiveSearchForAClass.inPackages..st rename SmartTest.package/{SmTSenderTestFinderStrategy.class => SmTTestFinderStrategy.class}/instance/recursiveSearchForAClass.inPackages.alreadyVisited..st (94%) rename SmartTest.package/{SmTSenderTestFinderStrategy.class => SmTTestFinderStrategy.class}/instance/searchTestsForAInstVar.OfClass..st (88%) rename SmartTest.package/{SmTSenderTestFinderStrategy.class => SmTTestFinderStrategy.class}/instance/searchTestsForATrait..st (100%) diff --git a/SmartTest-Tests.package/SmTBasicCacheResetEveryCommitTest.class/instance/testResetOnceOnCommit.st b/SmartTest-Tests.package/SmTBasicCacheResetEveryCommitTest.class/instance/testResetAfter1Commit.st similarity index 91% rename from SmartTest-Tests.package/SmTBasicCacheResetEveryCommitTest.class/instance/testResetOnceOnCommit.st rename to SmartTest-Tests.package/SmTBasicCacheResetEveryCommitTest.class/instance/testResetAfter1Commit.st index 8f49de6..3441d01 100644 --- a/SmartTest-Tests.package/SmTBasicCacheResetEveryCommitTest.class/instance/testResetOnceOnCommit.st +++ b/SmartTest-Tests.package/SmTBasicCacheResetEveryCommitTest.class/instance/testResetAfter1Commit.st @@ -1,5 +1,5 @@ tests -testResetOnceOnCommit +testResetAfter1Commit "After one method change, the cache should be empty for NeverRest, EveryFiveChange, and EveryCommit case." smartFinder cacheStrategy resetCacheForChange: EpMonticelloVersionSave new. self assert: (smartFinder currentCache isEmpty) \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTBasicCacheTest.class/instance/testResetOnceOnCommit.st b/SmartTest-Tests.package/SmTBasicCacheTest.class/instance/testResetAfter1Commit.st similarity index 91% rename from SmartTest-Tests.package/SmTBasicCacheTest.class/instance/testResetOnceOnCommit.st rename to SmartTest-Tests.package/SmTBasicCacheTest.class/instance/testResetAfter1Commit.st index 8f49de6..3441d01 100644 --- a/SmartTest-Tests.package/SmTBasicCacheTest.class/instance/testResetOnceOnCommit.st +++ b/SmartTest-Tests.package/SmTBasicCacheTest.class/instance/testResetAfter1Commit.st @@ -1,5 +1,5 @@ tests -testResetOnceOnCommit +testResetAfter1Commit "After one method change, the cache should be empty for NeverRest, EveryFiveChange, and EveryCommit case." smartFinder cacheStrategy resetCacheForChange: EpMonticelloVersionSave new. self assert: (smartFinder currentCache isEmpty) \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTBasicCacheTest.class/instance/testResetOnceOnMethodChange.st b/SmartTest-Tests.package/SmTBasicCacheTest.class/instance/testResetAfter1MethodChange.st similarity index 88% rename from SmartTest-Tests.package/SmTBasicCacheTest.class/instance/testResetOnceOnMethodChange.st rename to SmartTest-Tests.package/SmTBasicCacheTest.class/instance/testResetAfter1MethodChange.st index 3d0cc38..982958c 100644 --- a/SmartTest-Tests.package/SmTBasicCacheTest.class/instance/testResetOnceOnMethodChange.st +++ b/SmartTest-Tests.package/SmTBasicCacheTest.class/instance/testResetAfter1MethodChange.st @@ -1,5 +1,5 @@ tests -testResetOnceOnMethodChange +testResetAfter1MethodChange "Here, the cache should be empty because the BasicCache strategy allows that the reset of the cache" smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. self assert: (smartFinder currentCache isEmpty) \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheTest.class/README.md b/SmartTest-Tests.package/SmTCacheTest.class/README.md index e69de29..b7a2888 100644 --- a/SmartTest-Tests.package/SmTCacheTest.class/README.md +++ b/SmartTest-Tests.package/SmTCacheTest.class/README.md @@ -0,0 +1,5 @@ +This tests are here to assert that cache strategies behave corectly. +- BasicCacheNeverReset should always have something in it. +- BasicCacheResetEvery5Changes should reset after 5 calls to its reset method +- BasicCacheResetEveryCommit should reset after each change that is a commit, and not the methods changes. +- BasicCache should reset each time its method reset is called diff --git a/SmartTest-Tests.package/SmTCacheTest.class/instance/testResetOnceOnCommit.st b/SmartTest-Tests.package/SmTCacheTest.class/instance/testResetAfter1Commit.st similarity index 91% rename from SmartTest-Tests.package/SmTCacheTest.class/instance/testResetOnceOnCommit.st rename to SmartTest-Tests.package/SmTCacheTest.class/instance/testResetAfter1Commit.st index d81da81..fdd9915 100644 --- a/SmartTest-Tests.package/SmTCacheTest.class/instance/testResetOnceOnCommit.st +++ b/SmartTest-Tests.package/SmTCacheTest.class/instance/testResetAfter1Commit.st @@ -1,5 +1,5 @@ tests -testResetOnceOnCommit +testResetAfter1Commit "After one method change, the cache should be empty for NeverRest, EveryFiveChange, and EveryCommit case." smartFinder cacheStrategy resetCacheForChange: EpMonticelloVersionSave new. self assert: (smartFinder currentCache isNotEmpty) \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheTest.class/instance/testResetOnceOnMethodChange.st b/SmartTest-Tests.package/SmTCacheTest.class/instance/testResetAfter1MethodChange.st similarity index 89% rename from SmartTest-Tests.package/SmTCacheTest.class/instance/testResetOnceOnMethodChange.st rename to SmartTest-Tests.package/SmTCacheTest.class/instance/testResetAfter1MethodChange.st index 81095fc..3293a3f 100644 --- a/SmartTest-Tests.package/SmTCacheTest.class/instance/testResetOnceOnMethodChange.st +++ b/SmartTest-Tests.package/SmTCacheTest.class/instance/testResetAfter1MethodChange.st @@ -1,5 +1,5 @@ tests -testResetOnceOnMethodChange +testResetAfter1MethodChange "After one method change, the cache should be empty for NeverRest, EveryFiveChange, and EveryCommit case." smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. self assert: (smartFinder currentCache isNotEmpty) \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheTest.class/properties.json b/SmartTest-Tests.package/SmTCacheTest.class/properties.json index b7138c8..353b099 100644 --- a/SmartTest-Tests.package/SmTCacheTest.class/properties.json +++ b/SmartTest-Tests.package/SmTCacheTest.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "", + "commentStamp" : "eleonoreW 7/18/2018 09:37", "super" : "TestCase", "category" : "SmartTest-Tests-Cache", "classinstvars" : [ ], diff --git a/SmartTest-Tests.package/SmTSettingsTest.class/README.md b/SmartTest-Tests.package/SmTSettingsTest.class/README.md index e69de29..380795d 100644 --- a/SmartTest-Tests.package/SmTSettingsTest.class/README.md +++ b/SmartTest-Tests.package/SmTSettingsTest.class/README.md @@ -0,0 +1 @@ +These tests are here to assert that when we change the settings of SmartTest in the environnement, they are indeed changed. \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSettingsTest.class/properties.json b/SmartTest-Tests.package/SmTSettingsTest.class/properties.json index 830a25c..4ea77cd 100644 --- a/SmartTest-Tests.package/SmTSettingsTest.class/properties.json +++ b/SmartTest-Tests.package/SmTSettingsTest.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "", + "commentStamp" : "eleonoreW 7/18/2018 10:15", "super" : "TestCase", "category" : "SmartTest-Tests-Settings", "classinstvars" : [ ], diff --git a/SmartTest.package/SmTTestFinderStrategy.class/instance/recursiveSearchForAClass.inPackages..st b/SmartTest.package/SmTTestFinderStrategy.class/instance/recursiveSearchForAClass.inPackages..st new file mode 100644 index 0000000..d8d4a71 --- /dev/null +++ b/SmartTest.package/SmTTestFinderStrategy.class/instance/recursiveSearchForAClass.inPackages..st @@ -0,0 +1,3 @@ +private - search +recursiveSearchForAClass: aClass inPackages: packagesToLookAt + ^ self recursiveSearchForAClass: aClass inPackages: packagesToLookAt alreadyVisited: Set new \ No newline at end of file diff --git a/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAClass.inPackages.alreadyVisited..st b/SmartTest.package/SmTTestFinderStrategy.class/instance/recursiveSearchForAClass.inPackages.alreadyVisited..st similarity index 94% rename from SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAClass.inPackages.alreadyVisited..st rename to SmartTest.package/SmTTestFinderStrategy.class/instance/recursiveSearchForAClass.inPackages.alreadyVisited..st index 49d162c..1b70cf9 100644 --- a/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAClass.inPackages.alreadyVisited..st +++ b/SmartTest.package/SmTTestFinderStrategy.class/instance/recursiveSearchForAClass.inPackages.alreadyVisited..st @@ -8,7 +8,7 @@ recursiveSearchForAClass: aClass inPackages: packagesToLookAt alreadyVisited: al testsFound addAll: ((aClass allCallsOn select: [ :aCallOn | (filter shouldEntityBeFilteredOut: aCallOn inPackages: packagesToLookAt) not ]) - flatCollect: [ :aRGMethodDefinition | self methodsFor: aRGMethodDefinition compiledMethod forThePackage: packagesToLookAt ]). + flatCollect: [ :aRGMethodDefinition | self methodsFor: aRGMethodDefinition compiledMethod]). aClass subclasses reject: [ :aSubClass | | reject | diff --git a/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForAClass..st b/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForAClass..st index 5189262..0e73de2 100644 --- a/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForAClass..st +++ b/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForAClass..st @@ -1,4 +1,5 @@ accessing searchTestsForAClass: aClass - self subclassResponsibility - \ No newline at end of file + | packagesToLookAt | + packagesToLookAt := self filter extractPackagesFrom: aClass. + ^ self recursiveSearchForAClass: aClass inPackages: packagesToLookAt \ No newline at end of file diff --git a/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/searchTestsForAInstVar.OfClass..st b/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForAInstVar.OfClass..st similarity index 88% rename from SmartTest.package/SmTSenderTestFinderStrategy.class/instance/searchTestsForAInstVar.OfClass..st rename to SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForAInstVar.OfClass..st index e72ead9..37757a6 100644 --- a/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/searchTestsForAInstVar.OfClass..st +++ b/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForAInstVar.OfClass..st @@ -8,5 +8,5 @@ searchTestsForAInstVar: aInstanceVariable OfClass: aClass senders addAll: ((aClass classLayout allVisibleSlots select: [ :eachSlot | eachSlot name = aInstanceVariable ]) flatCollect: #usingMethods). testsFound - addAll: (senders flatCollect: [ :each | self methodsFor: each forThePackage: (filter extractPackagesFrom: aClass) ]). + addAll: (senders flatCollect: [ :each | self methodsFor: each ]). ^ testsFound \ No newline at end of file diff --git a/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/searchTestsForATrait..st b/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForATrait..st similarity index 100% rename from SmartTest.package/SmTSenderTestFinderStrategy.class/instance/searchTestsForATrait..st rename to SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForATrait..st From fa95a78b94f0445cf44960842da46e5543ef196d Mon Sep 17 00:00:00 2001 From: eleonoreW Date: Thu, 19 Jul 2018 10:14:33 +0200 Subject: [PATCH 123/150] Added an hardReset method to be able to reset the cache even if the resetCache method doen't allow to (for example when changing experiments). --- .../instance/collector..st | 3 ++- .../fillFailedTestListFromTestResult..st | 17 ++++++++---- .../monticello.meta/categories.st | 8 +++--- .../instance/hardReset.st | 3 +++ .../monticello.meta/categories.st | 27 ++++++++----------- 5 files changed, 32 insertions(+), 26 deletions(-) create mode 100644 SmartTest.package/SmTCacheStrategy.class/instance/hardReset.st diff --git a/SmartTest-UI.package/SmTBigButtonCollector.class/instance/collector..st b/SmartTest-UI.package/SmTBigButtonCollector.class/instance/collector..st index 61f4cdb..8df7136 100644 --- a/SmartTest-UI.package/SmTBigButtonCollector.class/instance/collector..st +++ b/SmartTest-UI.package/SmTBigButtonCollector.class/instance/collector..st @@ -1,3 +1,4 @@ accessing collector: anObject - collector := anObject \ No newline at end of file + + collector := anObject \ No newline at end of file diff --git a/SmartTest-UI.package/SmTButtonResultWindow.class/instance/fillFailedTestListFromTestResult..st b/SmartTest-UI.package/SmTButtonResultWindow.class/instance/fillFailedTestListFromTestResult..st index 3417604..0c6237f 100644 --- a/SmartTest-UI.package/SmTButtonResultWindow.class/instance/fillFailedTestListFromTestResult..st +++ b/SmartTest-UI.package/SmTButtonResultWindow.class/instance/fillFailedTestListFromTestResult..st @@ -1,9 +1,16 @@ accessing fillFailedTestListFromTestResult: aTestResult - | list | - list := testList listItems asOrderedCollection . - list := list reject: [ :a | ((TestResult historyAt: a class) at: #passed) includes: a selector ]. + + | list list2 | + list := testList listItems asOrderedCollection. + list := list + reject: [ :a | ((TestResult historyAt: a class) at: #passed) includes: a selector ]. list addAll: aTestResult errors. list addAll: aTestResult failures. - list := (list collect: [ :a | (a class lookupSelector: a selector) methodReference ]) asSet. - self setList: ((list collect: [:methodReference | methodReference methodClass selector: methodReference selector]) asOrderedCollection sort: [ :a :b | a asString < b asString ] ) \ No newline at end of file + list := (list collect: [ :a | (a class lookupSelector: a selector) methodReference ]) + asSet. + self + setList: + ((list + collect: [ :methodReference | methodReference methodClass selector: methodReference selector ]) + asOrderedCollection sort: [ :a :b | a asString < b asString ]) \ No newline at end of file diff --git a/SmartTest-UI.package/monticello.meta/categories.st b/SmartTest-UI.package/monticello.meta/categories.st index 353c91a..fcc99c8 100644 --- a/SmartTest-UI.package/monticello.meta/categories.st +++ b/SmartTest-UI.package/monticello.meta/categories.st @@ -1,5 +1,5 @@ SystemOrganization addCategory: #'SmartTest-UI'! -SystemOrganization addCategory: #'SmartTest-UI-CalypsoExtension'! -SystemOrganization addCategory: #'SmartTest-UI-Collector'! -SystemOrganization addCategory: #'SmartTest-UI-Morph'! -SystemOrganization addCategory: #'SmartTest-UI-Tools'! +SystemOrganization addCategory: 'SmartTest-UI-CalypsoExtension'! +SystemOrganization addCategory: 'SmartTest-UI-Collector'! +SystemOrganization addCategory: 'SmartTest-UI-Morph'! +SystemOrganization addCategory: 'SmartTest-UI-Tools'! diff --git a/SmartTest.package/SmTCacheStrategy.class/instance/hardReset.st b/SmartTest.package/SmTCacheStrategy.class/instance/hardReset.st new file mode 100644 index 0000000..a5b41f6 --- /dev/null +++ b/SmartTest.package/SmTCacheStrategy.class/instance/hardReset.st @@ -0,0 +1,3 @@ +private +hardReset +cache removeAll \ No newline at end of file diff --git a/SmartTest.package/monticello.meta/categories.st b/SmartTest.package/monticello.meta/categories.st index 84ecd5f..6d38a2f 100644 --- a/SmartTest.package/monticello.meta/categories.st +++ b/SmartTest.package/monticello.meta/categories.st @@ -1,17 +1,12 @@ SystemOrganization addCategory: #SmartTest! -SystemOrganization addCategory: #'SmartTest-Cache'! -SystemOrganization addCategory: #'SmartTest-CalypsoExtension'! -SystemOrganization addCategory: #'SmartTest-Collector'! -SystemOrganization addCategory: #'SmartTest-Core'! -SystemOrganization addCategory: #'SmartTest-Critiques'! -SystemOrganization addCategory: #'SmartTest-Event'! -SystemOrganization addCategory: #'SmartTest-Filter'! -SystemOrganization addCategory: #'SmartTest-Finder'! -SystemOrganization addCategory: #'SmartTest-Listener'! -SystemOrganization addCategory: #'SmartTest-Morph'! -SystemOrganization addCategory: #'SmartTest-Rules'! -SystemOrganization addCategory: #'SmartTest-Runner'! -SystemOrganization addCategory: #'SmartTest-Testing'! -SystemOrganization addCategory: #'SmartTest-Tests'! -SystemOrganization addCategory: #'SmartTest-Tests-Data'! -SystemOrganization addCategory: #'SmartTest-Tools'! +SystemOrganization addCategory: 'SmartTest-Cache'! +SystemOrganization addCategory: 'SmartTest-Core'! +SystemOrganization addCategory: 'SmartTest-Critiques'! +SystemOrganization addCategory: 'SmartTest-Event'! +SystemOrganization addCategory: 'SmartTest-Filter'! +SystemOrganization addCategory: 'SmartTest-Finder'! +SystemOrganization addCategory: 'SmartTest-Listener'! +SystemOrganization addCategory: 'SmartTest-Rules'! +SystemOrganization addCategory: 'SmartTest-Runner'! +SystemOrganization addCategory: 'SmartTest-Testing'! +SystemOrganization addCategory: 'SmartTest-Tools'! From ff0fca84dcd09b2f9b6986df6d42edb6de41c20c Mon Sep 17 00:00:00 2001 From: eleonoreW Date: Thu, 19 Jul 2018 10:34:57 +0200 Subject: [PATCH 124/150] Iceberg non sense --- .../monticello.meta/categories.st | 15 +++++------ .../monticello.meta/categories.st | 26 +++++++++---------- .../monticello.meta/categories.st | 17 ++++++------ 3 files changed, 27 insertions(+), 31 deletions(-) diff --git a/SmartTest-Tests.package/monticello.meta/categories.st b/SmartTest-Tests.package/monticello.meta/categories.st index 931f222..7de83f6 100644 --- a/SmartTest-Tests.package/monticello.meta/categories.st +++ b/SmartTest-Tests.package/monticello.meta/categories.st @@ -1,9 +1,8 @@ SystemOrganization addCategory: #'SmartTest-Tests'! -SystemOrganization addCategory: #'SmartTest-Tests-Builder'! -SystemOrganization addCategory: #'SmartTest-Tests-Filter'! -SystemOrganization addCategory: #'SmartTest-Tests-Finder'! -SystemOrganization addCategory: #'SmartTest-Tests-OnModification'! -SystemOrganization addCategory: #'SmartTest-Tests-Runner'! -SystemOrganization addCategory: #'SmartTest-Tests-Settings'! -! -SystemOrganization addCategory: #'SmartTest-Tests-Settings'! +SystemOrganization addCategory: 'SmartTest-Tests-Cache'! +SystemOrganization addCategory: 'SmartTest-Tests-CacheBuilder'! +SystemOrganization addCategory: 'SmartTest-Tests-Filter'! +SystemOrganization addCategory: 'SmartTest-Tests-Finder'! +SystemOrganization addCategory: 'SmartTest-Tests-OnModification'! +SystemOrganization addCategory: 'SmartTest-Tests-Runner'! +SystemOrganization addCategory: 'SmartTest-Tests-Settings'! diff --git a/SmartTestDataOutsideP1.package/monticello.meta/categories.st b/SmartTestDataOutsideP1.package/monticello.meta/categories.st index 3063180..5d211d7 100644 --- a/SmartTestDataOutsideP1.package/monticello.meta/categories.st +++ b/SmartTestDataOutsideP1.package/monticello.meta/categories.st @@ -1,15 +1,13 @@ SystemOrganization addCategory: #SmartTestDataOutsideP1! -SystemOrganization addCategory: #'SmartTestDataOutsideP1-ModificationOnClass'! -SystemOrganization addCategory: #'SmartTestDataOutsideP1-ModificationOnClass-Tests'! -SystemOrganization addCategory: #'SmartTestDataOutsideP1-ModificationOnMethod-FirstLevelWithRef'! -SystemOrganization addCategory: #'SmartTestDataOutsideP1-ModificationOnMethod-Inheritance'! -SystemOrganization addCategory: #'SmartTestDataOutsideP1-ModificationOnMethod-SenderExtensionMethod'! -SystemOrganization addCategory: #'SmartTestDataOutsideP1-ModificationOnMethod-SenderInTestOutWithRef'! -SystemOrganization addCategory: #'SmartTestDataOutsideP1-ModificationOnMethod-SenderOutTestInWithRef'! -SystemOrganization addCategory: #'SmartTestDataOutsideP1-ModificationOnMethod-SenderOutTestOutWithRef'! -SystemOrganization addCategory: #'SmartTestDataOutsideP1-ModificationOnMethod-Tests'! -SystemOrganization addCategory: #'SmartTestDataOutsideP1-ModificationOnMethod-WithoutRef'! -SystemOrganization addCategory: #'SmartTestDataOutsideP1-ModificationOnTrait'! -SystemOrganization addCategory: #'SmartTestDataOutsideP1-ModificationOnTrait-Test'! -SystemOrganization addCategory: #'SmartTestDataOutsideP1-ModificationOnVariable'! -SystemOrganization addCategory: #'SmartTestDataOutsideP1-ModificationOnVariable-Tests'! +SystemOrganization addCategory: 'SmartTestDataOutsideP1-ModificationOnClass'! +SystemOrganization addCategory: 'SmartTestDataOutsideP1-ModificationOnClass-Tests'! +SystemOrganization addCategory: 'SmartTestDataOutsideP1-ModificationOnMethod-FirstLevelWithRef'! +SystemOrganization addCategory: 'SmartTestDataOutsideP1-ModificationOnMethod-Inheritance'! +SystemOrganization addCategory: 'SmartTestDataOutsideP1-ModificationOnMethod-SenderExtensionMethod'! +SystemOrganization addCategory: 'SmartTestDataOutsideP1-ModificationOnMethod-SenderInTestOutWithRef'! +SystemOrganization addCategory: 'SmartTestDataOutsideP1-ModificationOnMethod-SenderOutTestInWithRef'! +SystemOrganization addCategory: 'SmartTestDataOutsideP1-ModificationOnMethod-SenderOutTestOutWithRef'! +SystemOrganization addCategory: 'SmartTestDataOutsideP1-ModificationOnMethod-Tests'! +SystemOrganization addCategory: 'SmartTestDataOutsideP1-ModificationOnMethod-WithoutRef'! +SystemOrganization addCategory: 'SmartTestDataOutsideP1-ModificationOnVariable'! +SystemOrganization addCategory: 'SmartTestDataOutsideP1-ModificationOnVariable-Tests'! diff --git a/SmartTestDataOutsideP2.package/monticello.meta/categories.st b/SmartTestDataOutsideP2.package/monticello.meta/categories.st index d0794d5..d86853b 100644 --- a/SmartTestDataOutsideP2.package/monticello.meta/categories.st +++ b/SmartTestDataOutsideP2.package/monticello.meta/categories.st @@ -1,10 +1,9 @@ SystemOrganization addCategory: #SmartTestDataOutsideP2! -SystemOrganization addCategory: #'SmartTestDataOutsideP2-ModificationOnClass-Tests'! -SystemOrganization addCategory: #'SmartTestDataOutsideP2-ModificationOnMethod-ExtensionMethod-Test'! -SystemOrganization addCategory: #'SmartTestDataOutsideP2-ModificationOnMethod-References'! -SystemOrganization addCategory: #'SmartTestDataOutsideP2-ModificationOnMethod-SenderOutTestInWithRef'! -SystemOrganization addCategory: #'SmartTestDataOutsideP2-ModificationOnMethod-SenderOutTestOutWithRef'! -SystemOrganization addCategory: #'SmartTestDataOutsideP2-ModificationOnMethod-Tests'! -SystemOrganization addCategory: #'SmartTestDataOutsideP2-ModificationOnMethod-WithoutRef'! -SystemOrganization addCategory: #'SmartTestDataOutsideP2-ModificationOnVariable-Tests'! -SystemOrganization addCategory: #'SmartTestDataOutsideP2-ModificationOnVariable-Tests'! +SystemOrganization addCategory: 'SmartTestDataOutsideP2-ModificationOnClass-Tests'! +SystemOrganization addCategory: 'SmartTestDataOutsideP2-ModificationOnMethod-ExtensionMethod-Test'! +SystemOrganization addCategory: 'SmartTestDataOutsideP2-ModificationOnMethod-References'! +SystemOrganization addCategory: 'SmartTestDataOutsideP2-ModificationOnMethod-SenderOutTestInWithRef'! +SystemOrganization addCategory: 'SmartTestDataOutsideP2-ModificationOnMethod-SenderOutTestOutWithRef'! +SystemOrganization addCategory: 'SmartTestDataOutsideP2-ModificationOnMethod-Tests'! +SystemOrganization addCategory: 'SmartTestDataOutsideP2-ModificationOnMethod-WithoutRef'! +SystemOrganization addCategory: 'SmartTestDataOutsideP2-ModificationOnVariable-Tests'! From 57b63028b2c011c42f30b2ae1b0826adffa415a4 Mon Sep 17 00:00:00 2001 From: eleonoreW Date: Thu, 19 Jul 2018 10:56:05 +0200 Subject: [PATCH 125/150] Revert a useless change --- SmartTest.package/SmTCacheStrategy.class/instance/hardReset.st | 3 --- 1 file changed, 3 deletions(-) delete mode 100644 SmartTest.package/SmTCacheStrategy.class/instance/hardReset.st diff --git a/SmartTest.package/SmTCacheStrategy.class/instance/hardReset.st b/SmartTest.package/SmTCacheStrategy.class/instance/hardReset.st deleted file mode 100644 index a5b41f6..0000000 --- a/SmartTest.package/SmTCacheStrategy.class/instance/hardReset.st +++ /dev/null @@ -1,3 +0,0 @@ -private -hardReset -cache removeAll \ No newline at end of file From a915882fda17b4df0beac0d1f84f4b93f89ba54b Mon Sep 17 00:00:00 2001 From: eleonoreW Date: Thu, 19 Jul 2018 13:41:59 +0200 Subject: [PATCH 126/150] Added tests to assert that the different cache strategies work correctly. --- .../README.md | 0 .../instance/initCache.st | 33 +++++++++++++++++++ .../instance/setUp.st | 10 ++++++ .../instance/tearDown.st | 3 ++ .../instance/testModificationOnTest.st | 10 ++++++ .../instance/testTestSelfSelected.st | 10 ++++++ .../properties.json | 11 +++++++ .../README.md | 0 .../instance/initCache.st | 33 +++++++++++++++++++ .../instance/setUp.st | 10 ++++++ .../instance/tearDown.st | 3 ++ .../instance/testModificationOnTest.st | 10 ++++++ .../instance/testTestSelfSelected.st | 10 ++++++ .../properties.json | 11 +++++++ .../README.md | 0 .../instance/initCache.st | 33 +++++++++++++++++++ .../instance/setUp.st | 10 ++++++ .../instance/tearDown.st | 3 ++ .../instance/testModificationOnTest.st | 10 ++++++ .../instance/testTestSelfSelected.st | 10 ++++++ .../properties.json | 11 +++++++ 21 files changed, 231 insertions(+) create mode 100644 SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/README.md create mode 100644 SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/instance/initCache.st create mode 100644 SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/instance/setUp.st create mode 100644 SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/instance/tearDown.st create mode 100644 SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/instance/testModificationOnTest.st create mode 100644 SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/instance/testTestSelfSelected.st create mode 100644 SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/properties.json create mode 100644 SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/README.md create mode 100644 SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/instance/initCache.st create mode 100644 SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/instance/setUp.st create mode 100644 SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/instance/tearDown.st create mode 100644 SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/instance/testModificationOnTest.st create mode 100644 SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/instance/testTestSelfSelected.st create mode 100644 SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/properties.json create mode 100644 SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/README.md create mode 100644 SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/instance/initCache.st create mode 100644 SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/instance/setUp.st create mode 100644 SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/instance/tearDown.st create mode 100644 SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/instance/testModificationOnTest.st create mode 100644 SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/instance/testTestSelfSelected.st create mode 100644 SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/properties.json diff --git a/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/README.md b/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/instance/initCache.st b/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/instance/initCache.st new file mode 100644 index 0000000..3e53be9 --- /dev/null +++ b/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/instance/initCache.st @@ -0,0 +1,33 @@ +running +initCache + ^ {((SmTClass >> #method1) asRingDefinition + -> + {(SmTClassTest >> #testMethod1) asRingDefinition. + (SmTClassTest >> #testMethod2) asRingDefinition. + (RGMethodDefinition + className: 'SmTInheritClassTest' + selector: #testMethod1 + isMetaSide: false)} asSet). + ((SmTClass >> #method2) asRingDefinition + -> {(SmTClassTest >> #testMethod2) asRingDefinition} asSet). + ((SmTClass >> #method3:) asRingDefinition + -> + {(SmTClassTest >> #testMethod1) asRingDefinition. + (SmTClassTest >> #testMethod2) asRingDefinition. + (SmTClassTest >> #testMethod3) asRingDefinition} asSet). + ((SmTClass >> #method4) asRingDefinition + -> + {(SmTClassTest >> #testMethod2) asRingDefinition. + (SmTClassTest >> #testMethod3) asRingDefinition. + (SmTClassTest >> #testMethod4) asRingDefinition} asSet). + ((SmTClass2 >> #initialize) asRingDefinition + -> {(SmTClassTest >> #testMethod5) asRingDefinition} asSet). + ((SmTClassTest >> #testMethod4) asRingDefinition + -> {(SmTClassTest >> #testMethod4) asRingDefinition} asSet). + ((('SmTP1' , 'Inheritance') asClass >> ('method1' , 'Inheritance') asSymbol) + asRingDefinition + -> + {(('SmTP1' , 'InheritanceSubClass1Test') asClass >> ('testMethod1','Inheritance') asSymbol) + asRingDefinition. + (RGMethodDefinition className: ('SmTP1InheritanceSubClass2','Test') selector: ('testMethod1','Inheritance') isMetaSide: false) + asRingDefinition} asSet)} asDictionary \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/instance/setUp.st b/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/instance/setUp.st new file mode 100644 index 0000000..8e28d19 --- /dev/null +++ b/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/instance/setUp.st @@ -0,0 +1,10 @@ +running +setUp + "fill in the cache" + + | initialCache | + super setUp. + initialCache := self initCache. + smartFinder cacheStrategy: (SmTBasicCacheNeverResetStrategy new). + smartFinder setCacheValues: initialCache. + smartFinder smtFinder: SmTTestCoverageTestFinderStrategy new \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/instance/tearDown.st b/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/instance/tearDown.st new file mode 100644 index 0000000..6df396a --- /dev/null +++ b/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/instance/tearDown.st @@ -0,0 +1,3 @@ +helpers +tearDown + smartFinder resetCache. \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/instance/testModificationOnTest.st b/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/instance/testModificationOnTest.st new file mode 100644 index 0000000..4365e6b --- /dev/null +++ b/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/instance/testModificationOnTest.st @@ -0,0 +1,10 @@ +tests +testModificationOnTest +"this method is redundant with the abstract method" + + | testsFound | + testsFound := self searchTestMethodsFor: SmTClassTest >> #testMethod4. + self deny: (testsFound includes: testMethod1). + self deny: (testsFound includes: testMethod2). + self deny: (testsFound includes: testMethod3). + self assert: (testsFound includes: testMethod4) \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/instance/testTestSelfSelected.st b/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/instance/testTestSelfSelected.st new file mode 100644 index 0000000..ef87c9f --- /dev/null +++ b/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/instance/testTestSelfSelected.st @@ -0,0 +1,10 @@ +tests +testTestSelfSelected +"this method is redundant with the abstract method" + + | testsFound | + testsFound := self searchTestsForATestMethod: SmTClassTest >> #testMethod1. + self assert: (testsFound includes: testMethod1). + self deny: (testsFound includes: testMethod2). + self deny: (testsFound includes: testMethod3). + self deny: (testsFound includes: testMethod4) \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/properties.json b/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/properties.json new file mode 100644 index 0000000..928debe --- /dev/null +++ b/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTFinderAbstractTest", + "category" : "SmartTest-Tests-Finder", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTDynamicCoverageStrategyBasicCacheNeverResetTest", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/README.md b/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/instance/initCache.st b/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/instance/initCache.st new file mode 100644 index 0000000..3e53be9 --- /dev/null +++ b/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/instance/initCache.st @@ -0,0 +1,33 @@ +running +initCache + ^ {((SmTClass >> #method1) asRingDefinition + -> + {(SmTClassTest >> #testMethod1) asRingDefinition. + (SmTClassTest >> #testMethod2) asRingDefinition. + (RGMethodDefinition + className: 'SmTInheritClassTest' + selector: #testMethod1 + isMetaSide: false)} asSet). + ((SmTClass >> #method2) asRingDefinition + -> {(SmTClassTest >> #testMethod2) asRingDefinition} asSet). + ((SmTClass >> #method3:) asRingDefinition + -> + {(SmTClassTest >> #testMethod1) asRingDefinition. + (SmTClassTest >> #testMethod2) asRingDefinition. + (SmTClassTest >> #testMethod3) asRingDefinition} asSet). + ((SmTClass >> #method4) asRingDefinition + -> + {(SmTClassTest >> #testMethod2) asRingDefinition. + (SmTClassTest >> #testMethod3) asRingDefinition. + (SmTClassTest >> #testMethod4) asRingDefinition} asSet). + ((SmTClass2 >> #initialize) asRingDefinition + -> {(SmTClassTest >> #testMethod5) asRingDefinition} asSet). + ((SmTClassTest >> #testMethod4) asRingDefinition + -> {(SmTClassTest >> #testMethod4) asRingDefinition} asSet). + ((('SmTP1' , 'Inheritance') asClass >> ('method1' , 'Inheritance') asSymbol) + asRingDefinition + -> + {(('SmTP1' , 'InheritanceSubClass1Test') asClass >> ('testMethod1','Inheritance') asSymbol) + asRingDefinition. + (RGMethodDefinition className: ('SmTP1InheritanceSubClass2','Test') selector: ('testMethod1','Inheritance') isMetaSide: false) + asRingDefinition} asSet)} asDictionary \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/instance/setUp.st b/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/instance/setUp.st new file mode 100644 index 0000000..f28ccb5 --- /dev/null +++ b/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/instance/setUp.st @@ -0,0 +1,10 @@ +running +setUp + "fill in the cache" + + | initialCache | + super setUp. + initialCache := self initCache. + smartFinder cacheStrategy: (SmTBasicCacheResetEvery5ChangesStrategy new). + smartFinder setCacheValues: initialCache. + smartFinder smtFinder: SmTTestCoverageTestFinderStrategy new \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/instance/tearDown.st b/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/instance/tearDown.st new file mode 100644 index 0000000..6df396a --- /dev/null +++ b/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/instance/tearDown.st @@ -0,0 +1,3 @@ +helpers +tearDown + smartFinder resetCache. \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/instance/testModificationOnTest.st b/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/instance/testModificationOnTest.st new file mode 100644 index 0000000..4365e6b --- /dev/null +++ b/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/instance/testModificationOnTest.st @@ -0,0 +1,10 @@ +tests +testModificationOnTest +"this method is redundant with the abstract method" + + | testsFound | + testsFound := self searchTestMethodsFor: SmTClassTest >> #testMethod4. + self deny: (testsFound includes: testMethod1). + self deny: (testsFound includes: testMethod2). + self deny: (testsFound includes: testMethod3). + self assert: (testsFound includes: testMethod4) \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/instance/testTestSelfSelected.st b/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/instance/testTestSelfSelected.st new file mode 100644 index 0000000..ef87c9f --- /dev/null +++ b/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/instance/testTestSelfSelected.st @@ -0,0 +1,10 @@ +tests +testTestSelfSelected +"this method is redundant with the abstract method" + + | testsFound | + testsFound := self searchTestsForATestMethod: SmTClassTest >> #testMethod1. + self assert: (testsFound includes: testMethod1). + self deny: (testsFound includes: testMethod2). + self deny: (testsFound includes: testMethod3). + self deny: (testsFound includes: testMethod4) \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/properties.json b/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/properties.json new file mode 100644 index 0000000..1c18b9f --- /dev/null +++ b/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTFinderAbstractTest", + "category" : "SmartTest-Tests-Finder", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/README.md b/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/instance/initCache.st b/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/instance/initCache.st new file mode 100644 index 0000000..3e53be9 --- /dev/null +++ b/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/instance/initCache.st @@ -0,0 +1,33 @@ +running +initCache + ^ {((SmTClass >> #method1) asRingDefinition + -> + {(SmTClassTest >> #testMethod1) asRingDefinition. + (SmTClassTest >> #testMethod2) asRingDefinition. + (RGMethodDefinition + className: 'SmTInheritClassTest' + selector: #testMethod1 + isMetaSide: false)} asSet). + ((SmTClass >> #method2) asRingDefinition + -> {(SmTClassTest >> #testMethod2) asRingDefinition} asSet). + ((SmTClass >> #method3:) asRingDefinition + -> + {(SmTClassTest >> #testMethod1) asRingDefinition. + (SmTClassTest >> #testMethod2) asRingDefinition. + (SmTClassTest >> #testMethod3) asRingDefinition} asSet). + ((SmTClass >> #method4) asRingDefinition + -> + {(SmTClassTest >> #testMethod2) asRingDefinition. + (SmTClassTest >> #testMethod3) asRingDefinition. + (SmTClassTest >> #testMethod4) asRingDefinition} asSet). + ((SmTClass2 >> #initialize) asRingDefinition + -> {(SmTClassTest >> #testMethod5) asRingDefinition} asSet). + ((SmTClassTest >> #testMethod4) asRingDefinition + -> {(SmTClassTest >> #testMethod4) asRingDefinition} asSet). + ((('SmTP1' , 'Inheritance') asClass >> ('method1' , 'Inheritance') asSymbol) + asRingDefinition + -> + {(('SmTP1' , 'InheritanceSubClass1Test') asClass >> ('testMethod1','Inheritance') asSymbol) + asRingDefinition. + (RGMethodDefinition className: ('SmTP1InheritanceSubClass2','Test') selector: ('testMethod1','Inheritance') isMetaSide: false) + asRingDefinition} asSet)} asDictionary \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/instance/setUp.st b/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/instance/setUp.st new file mode 100644 index 0000000..96bd215 --- /dev/null +++ b/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/instance/setUp.st @@ -0,0 +1,10 @@ +running +setUp + "fill in the cache" + + | initialCache | + super setUp. + initialCache := self initCache. + smartFinder cacheStrategy: (SmTBasicCacheResetEveryCommitStrategy new). + smartFinder setCacheValues: initialCache. + smartFinder smtFinder: SmTTestCoverageTestFinderStrategy new \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/instance/tearDown.st b/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/instance/tearDown.st new file mode 100644 index 0000000..6df396a --- /dev/null +++ b/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/instance/tearDown.st @@ -0,0 +1,3 @@ +helpers +tearDown + smartFinder resetCache. \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/instance/testModificationOnTest.st b/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/instance/testModificationOnTest.st new file mode 100644 index 0000000..4365e6b --- /dev/null +++ b/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/instance/testModificationOnTest.st @@ -0,0 +1,10 @@ +tests +testModificationOnTest +"this method is redundant with the abstract method" + + | testsFound | + testsFound := self searchTestMethodsFor: SmTClassTest >> #testMethod4. + self deny: (testsFound includes: testMethod1). + self deny: (testsFound includes: testMethod2). + self deny: (testsFound includes: testMethod3). + self assert: (testsFound includes: testMethod4) \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/instance/testTestSelfSelected.st b/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/instance/testTestSelfSelected.st new file mode 100644 index 0000000..ef87c9f --- /dev/null +++ b/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/instance/testTestSelfSelected.st @@ -0,0 +1,10 @@ +tests +testTestSelfSelected +"this method is redundant with the abstract method" + + | testsFound | + testsFound := self searchTestsForATestMethod: SmTClassTest >> #testMethod1. + self assert: (testsFound includes: testMethod1). + self deny: (testsFound includes: testMethod2). + self deny: (testsFound includes: testMethod3). + self deny: (testsFound includes: testMethod4) \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/properties.json b/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/properties.json new file mode 100644 index 0000000..821a028 --- /dev/null +++ b/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTFinderAbstractTest", + "category" : "SmartTest-Tests-Finder", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest", + "type" : "normal" +} \ No newline at end of file From be60c0273f18341dc027c840fed76803c9a3157f Mon Sep 17 00:00:00 2001 From: eleonoreW Date: Thu, 19 Jul 2018 14:57:33 +0200 Subject: [PATCH 127/150] Added tests to cacheBuilder tests --- .../README.md | 0 .../instance/cacheStrategy.st | 3 +++ .../properties.json | 11 +++++++++++ .../README.md | 0 .../instance/cacheStrategy.st | 3 +++ .../properties.json | 11 +++++++++++ .../README.md | 0 .../instance/cacheStrategy.st | 3 +++ .../properties.json | 11 +++++++++++ .../README.md | 1 + .../properties.json | 11 +++++++++++ .../SmTCacheBuilderReflectivityTest.class/README.md | 2 +- .../class/isAbstract.st | 3 +++ .../instance/{dynamiqueFinder.st => dynamicFinder.st} | 4 ++-- .../instance/testRunningTestMethod1ToBuildCache.st | 2 +- .../instance/testRunningTestMethod2ToBuildCache.st | 2 +- .../instance/testRunningTestMethod5ToBuildCache.st | 2 +- .../properties.json | 2 +- .../instance/cacheStrategy.st | 3 +++ .../instance/{dynamiqueFinder.st => dynamicFinder.st} | 2 +- .../SmTCacheBuilderTest.class/instance/setUp.st | 4 ++-- .../README.md | 1 + .../properties.json | 11 +++++++++++ .../README.md | 0 .../instance/cacheStrategy.st | 3 +++ .../properties.json | 11 +++++++++++ .../README.md | 0 .../instance/cacheStrategy.st | 3 +++ .../properties.json | 11 +++++++++++ .../README.md | 0 .../instance/cacheStrategy.st | 3 +++ .../properties.json | 11 +++++++++++ .../SmTCacheBuilderTestCoverageTest.class/README.md | 2 +- .../class/isAbstract.st | 3 +++ .../instance/{dynamiqueFinder.st => dynamicFinder.st} | 2 +- .../properties.json | 2 +- 36 files changed, 130 insertions(+), 13 deletions(-) create mode 100644 SmartTest-Tests.package/SmTCacheBuilderReflectivityBasicCacheStrategyNeverResetTest.class/README.md create mode 100644 SmartTest-Tests.package/SmTCacheBuilderReflectivityBasicCacheStrategyNeverResetTest.class/instance/cacheStrategy.st create mode 100644 SmartTest-Tests.package/SmTCacheBuilderReflectivityBasicCacheStrategyNeverResetTest.class/properties.json create mode 100644 SmartTest-Tests.package/SmTCacheBuilderReflectivityBasicCacheStrategyResetEvery5ChangesTest.class/README.md create mode 100644 SmartTest-Tests.package/SmTCacheBuilderReflectivityBasicCacheStrategyResetEvery5ChangesTest.class/instance/cacheStrategy.st create mode 100644 SmartTest-Tests.package/SmTCacheBuilderReflectivityBasicCacheStrategyResetEvery5ChangesTest.class/properties.json create mode 100644 SmartTest-Tests.package/SmTCacheBuilderReflectivityBasicCacheStrategyResetEveryCommitTest.class/README.md create mode 100644 SmartTest-Tests.package/SmTCacheBuilderReflectivityBasicCacheStrategyResetEveryCommitTest.class/instance/cacheStrategy.st create mode 100644 SmartTest-Tests.package/SmTCacheBuilderReflectivityBasicCacheStrategyResetEveryCommitTest.class/properties.json create mode 100644 SmartTest-Tests.package/SmTCacheBuilderReflectivityBasicCacheTest.class/README.md create mode 100644 SmartTest-Tests.package/SmTCacheBuilderReflectivityBasicCacheTest.class/properties.json create mode 100644 SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/class/isAbstract.st rename SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/instance/{dynamiqueFinder.st => dynamicFinder.st} (56%) create mode 100644 SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/cacheStrategy.st rename SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/{dynamiqueFinder.st => dynamicFinder.st} (73%) create mode 100644 SmartTest-Tests.package/SmTCacheBuilderTestCoverageBasicCacheTest.class/README.md create mode 100644 SmartTest-Tests.package/SmTCacheBuilderTestCoverageBasicCacheTest.class/properties.json create mode 100644 SmartTest-Tests.package/SmTCacheBuilderTestCoverageNeverResetTest.class/README.md create mode 100644 SmartTest-Tests.package/SmTCacheBuilderTestCoverageNeverResetTest.class/instance/cacheStrategy.st create mode 100644 SmartTest-Tests.package/SmTCacheBuilderTestCoverageNeverResetTest.class/properties.json create mode 100644 SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEvery5ChangesTest.class/README.md create mode 100644 SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEvery5ChangesTest.class/instance/cacheStrategy.st create mode 100644 SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEvery5ChangesTest.class/properties.json create mode 100644 SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEveryCommitTest.class/README.md create mode 100644 SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEveryCommitTest.class/instance/cacheStrategy.st create mode 100644 SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEveryCommitTest.class/properties.json create mode 100644 SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/class/isAbstract.st rename SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/instance/{dynamiqueFinder.st => dynamicFinder.st} (77%) diff --git a/SmartTest-Tests.package/SmTCacheBuilderReflectivityBasicCacheStrategyNeverResetTest.class/README.md b/SmartTest-Tests.package/SmTCacheBuilderReflectivityBasicCacheStrategyNeverResetTest.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTest-Tests.package/SmTCacheBuilderReflectivityBasicCacheStrategyNeverResetTest.class/instance/cacheStrategy.st b/SmartTest-Tests.package/SmTCacheBuilderReflectivityBasicCacheStrategyNeverResetTest.class/instance/cacheStrategy.st new file mode 100644 index 0000000..5b80c72 --- /dev/null +++ b/SmartTest-Tests.package/SmTCacheBuilderReflectivityBasicCacheStrategyNeverResetTest.class/instance/cacheStrategy.st @@ -0,0 +1,3 @@ +initialization +cacheStrategy +^ SmTBasicCacheNeverResetStrategy \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderReflectivityBasicCacheStrategyNeverResetTest.class/properties.json b/SmartTest-Tests.package/SmTCacheBuilderReflectivityBasicCacheStrategyNeverResetTest.class/properties.json new file mode 100644 index 0000000..7028343 --- /dev/null +++ b/SmartTest-Tests.package/SmTCacheBuilderReflectivityBasicCacheStrategyNeverResetTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTCacheBuilderReflectivityTest", + "category" : "SmartTest-Tests-CacheBuilder", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTCacheBuilderReflectivityBasicCacheStrategyNeverResetTest", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderReflectivityBasicCacheStrategyResetEvery5ChangesTest.class/README.md b/SmartTest-Tests.package/SmTCacheBuilderReflectivityBasicCacheStrategyResetEvery5ChangesTest.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTest-Tests.package/SmTCacheBuilderReflectivityBasicCacheStrategyResetEvery5ChangesTest.class/instance/cacheStrategy.st b/SmartTest-Tests.package/SmTCacheBuilderReflectivityBasicCacheStrategyResetEvery5ChangesTest.class/instance/cacheStrategy.st new file mode 100644 index 0000000..5b80c72 --- /dev/null +++ b/SmartTest-Tests.package/SmTCacheBuilderReflectivityBasicCacheStrategyResetEvery5ChangesTest.class/instance/cacheStrategy.st @@ -0,0 +1,3 @@ +initialization +cacheStrategy +^ SmTBasicCacheNeverResetStrategy \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderReflectivityBasicCacheStrategyResetEvery5ChangesTest.class/properties.json b/SmartTest-Tests.package/SmTCacheBuilderReflectivityBasicCacheStrategyResetEvery5ChangesTest.class/properties.json new file mode 100644 index 0000000..082a6c6 --- /dev/null +++ b/SmartTest-Tests.package/SmTCacheBuilderReflectivityBasicCacheStrategyResetEvery5ChangesTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTCacheBuilderReflectivityTest", + "category" : "SmartTest-Tests-CacheBuilder", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTCacheBuilderReflectivityBasicCacheStrategyResetEvery5ChangesTest", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderReflectivityBasicCacheStrategyResetEveryCommitTest.class/README.md b/SmartTest-Tests.package/SmTCacheBuilderReflectivityBasicCacheStrategyResetEveryCommitTest.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTest-Tests.package/SmTCacheBuilderReflectivityBasicCacheStrategyResetEveryCommitTest.class/instance/cacheStrategy.st b/SmartTest-Tests.package/SmTCacheBuilderReflectivityBasicCacheStrategyResetEveryCommitTest.class/instance/cacheStrategy.st new file mode 100644 index 0000000..5b80c72 --- /dev/null +++ b/SmartTest-Tests.package/SmTCacheBuilderReflectivityBasicCacheStrategyResetEveryCommitTest.class/instance/cacheStrategy.st @@ -0,0 +1,3 @@ +initialization +cacheStrategy +^ SmTBasicCacheNeverResetStrategy \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderReflectivityBasicCacheStrategyResetEveryCommitTest.class/properties.json b/SmartTest-Tests.package/SmTCacheBuilderReflectivityBasicCacheStrategyResetEveryCommitTest.class/properties.json new file mode 100644 index 0000000..54ae34b --- /dev/null +++ b/SmartTest-Tests.package/SmTCacheBuilderReflectivityBasicCacheStrategyResetEveryCommitTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTCacheBuilderReflectivityTest", + "category" : "SmartTest-Tests-CacheBuilder", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTCacheBuilderReflectivityBasicCacheStrategyResetEveryCommitTest", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderReflectivityBasicCacheTest.class/README.md b/SmartTest-Tests.package/SmTCacheBuilderReflectivityBasicCacheTest.class/README.md new file mode 100644 index 0000000..ca2692a --- /dev/null +++ b/SmartTest-Tests.package/SmTCacheBuilderReflectivityBasicCacheTest.class/README.md @@ -0,0 +1 @@ +This class aims to test the construction of the cache in the context of dynamic method analysis using the Reflectivity strategy. \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderReflectivityBasicCacheTest.class/properties.json b/SmartTest-Tests.package/SmTCacheBuilderReflectivityBasicCacheTest.class/properties.json new file mode 100644 index 0000000..f1362b2 --- /dev/null +++ b/SmartTest-Tests.package/SmTCacheBuilderReflectivityBasicCacheTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "EleonoreWALD 4/27/2018 16:00", + "super" : "SmTCacheBuilderReflectivityTest", + "category" : "SmartTest-Tests-CacheBuilder", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTCacheBuilderReflectivityBasicCacheTest", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/README.md b/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/README.md index ca2692a..7faf820 100644 --- a/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/README.md +++ b/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/README.md @@ -1 +1 @@ -This class aims to test the construction of the cache in the context of dynamic method analysis using the Reflectivity strategy. \ No newline at end of file +This class tests... \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/class/isAbstract.st b/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/class/isAbstract.st new file mode 100644 index 0000000..9df82fc --- /dev/null +++ b/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/class/isAbstract.st @@ -0,0 +1,3 @@ +testing +isAbstract + ^ self == SmTCacheBuilderReflectivityTest \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/instance/dynamiqueFinder.st b/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/instance/dynamicFinder.st similarity index 56% rename from SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/instance/dynamiqueFinder.st rename to SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/instance/dynamicFinder.st index d61b6bd..b289608 100644 --- a/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/instance/dynamiqueFinder.st +++ b/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/instance/dynamicFinder.st @@ -1,3 +1,3 @@ -initialization -dynamiqueFinder +tests +dynamicFinder ^ SmTReflectivityTestFinderStrategy new \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod1ToBuildCache.st b/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod1ToBuildCache.st index f33801b..bb15332 100644 --- a/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod1ToBuildCache.st +++ b/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod1ToBuildCache.st @@ -1,4 +1,4 @@ -initialization +tests testRunningTestMethod1ToBuildCache self assert: smartFinder currentCache isEmpty. diff --git a/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod2ToBuildCache.st b/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod2ToBuildCache.st index e70badf..00d8a37 100644 --- a/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod2ToBuildCache.st +++ b/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod2ToBuildCache.st @@ -1,4 +1,4 @@ -initialization +tests testRunningTestMethod2ToBuildCache self assert: smartFinder currentCache isEmpty. diff --git a/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod5ToBuildCache.st b/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod5ToBuildCache.st index 15b408d..a234dd1 100644 --- a/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod5ToBuildCache.st +++ b/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod5ToBuildCache.st @@ -1,4 +1,4 @@ -initialization +tests testRunningTestMethod5ToBuildCache "This test if SmTTestCoverage find the initialize call" diff --git a/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/properties.json b/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/properties.json index 49335b0..fdd2f09 100644 --- a/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/properties.json +++ b/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "EleonoreWALD 4/27/2018 16:00", + "commentStamp" : "", "super" : "SmTCacheBuilderTest", "category" : "SmartTest-Tests-CacheBuilder", "classinstvars" : [ ], diff --git a/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/cacheStrategy.st b/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/cacheStrategy.st new file mode 100644 index 0000000..bab15f4 --- /dev/null +++ b/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/cacheStrategy.st @@ -0,0 +1,3 @@ +initialization +cacheStrategy +self subclassResponsibility. \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/dynamiqueFinder.st b/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/dynamicFinder.st similarity index 73% rename from SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/dynamiqueFinder.st rename to SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/dynamicFinder.st index b9e34f7..2732aa5 100644 --- a/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/dynamiqueFinder.st +++ b/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/dynamicFinder.st @@ -1,3 +1,3 @@ initialization -dynamiqueFinder +dynamicFinder self subclassResponsibility \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/setUp.st b/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/setUp.st index d9ade90..e195aa4 100644 --- a/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/setUp.st +++ b/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/setUp.st @@ -4,7 +4,7 @@ setUp smartFinder filter: SmTDefaultClassPackagesFilter new. "the cache is initially empty" smartFinder autoUpdateCache: false. - smartFinder cacheStrategy: SmTBasicCacheStrategy new. + smartFinder cacheStrategy: self cacheStrategy new. smartFinder resetCache. - smartFinder smtFinder: self dynamiqueFinder. + smartFinder smtFinder: self dynamicFinder. smartFinder autoUpdateCache: true \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderTestCoverageBasicCacheTest.class/README.md b/SmartTest-Tests.package/SmTCacheBuilderTestCoverageBasicCacheTest.class/README.md new file mode 100644 index 0000000..d4717a9 --- /dev/null +++ b/SmartTest-Tests.package/SmTCacheBuilderTestCoverageBasicCacheTest.class/README.md @@ -0,0 +1 @@ +This class aims to test the construction of the cache in the context of dynamic method analysis using the TestCoverage strategy. \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderTestCoverageBasicCacheTest.class/properties.json b/SmartTest-Tests.package/SmTCacheBuilderTestCoverageBasicCacheTest.class/properties.json new file mode 100644 index 0000000..9715c8e --- /dev/null +++ b/SmartTest-Tests.package/SmTCacheBuilderTestCoverageBasicCacheTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "EleonoreWALD 5/3/2018 14:22", + "super" : "SmTCacheBuilderTestCoverageTest", + "category" : "SmartTest-Tests-CacheBuilder", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTCacheBuilderTestCoverageBasicCacheTest", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderTestCoverageNeverResetTest.class/README.md b/SmartTest-Tests.package/SmTCacheBuilderTestCoverageNeverResetTest.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTest-Tests.package/SmTCacheBuilderTestCoverageNeverResetTest.class/instance/cacheStrategy.st b/SmartTest-Tests.package/SmTCacheBuilderTestCoverageNeverResetTest.class/instance/cacheStrategy.st new file mode 100644 index 0000000..5b80c72 --- /dev/null +++ b/SmartTest-Tests.package/SmTCacheBuilderTestCoverageNeverResetTest.class/instance/cacheStrategy.st @@ -0,0 +1,3 @@ +initialization +cacheStrategy +^ SmTBasicCacheNeverResetStrategy \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderTestCoverageNeverResetTest.class/properties.json b/SmartTest-Tests.package/SmTCacheBuilderTestCoverageNeverResetTest.class/properties.json new file mode 100644 index 0000000..44efa1c --- /dev/null +++ b/SmartTest-Tests.package/SmTCacheBuilderTestCoverageNeverResetTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTCacheBuilderTestCoverageTest", + "category" : "SmartTest-Tests-CacheBuilder", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTCacheBuilderTestCoverageNeverResetTest", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEvery5ChangesTest.class/README.md b/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEvery5ChangesTest.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEvery5ChangesTest.class/instance/cacheStrategy.st b/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEvery5ChangesTest.class/instance/cacheStrategy.st new file mode 100644 index 0000000..6b280ce --- /dev/null +++ b/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEvery5ChangesTest.class/instance/cacheStrategy.st @@ -0,0 +1,3 @@ +initialization +cacheStrategy +^ SmTBasicCacheResetEvery5ChangesStrategy \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEvery5ChangesTest.class/properties.json b/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEvery5ChangesTest.class/properties.json new file mode 100644 index 0000000..5679000 --- /dev/null +++ b/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEvery5ChangesTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTCacheBuilderTestCoverageTest", + "category" : "SmartTest-Tests-CacheBuilder", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTCacheBuilderTestCoverageResetEvery5ChangesTest", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEveryCommitTest.class/README.md b/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEveryCommitTest.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEveryCommitTest.class/instance/cacheStrategy.st b/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEveryCommitTest.class/instance/cacheStrategy.st new file mode 100644 index 0000000..f2ecde5 --- /dev/null +++ b/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEveryCommitTest.class/instance/cacheStrategy.st @@ -0,0 +1,3 @@ +initialization +cacheStrategy +^ SmTBasicCacheResetEveryCommitStrategy \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEveryCommitTest.class/properties.json b/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEveryCommitTest.class/properties.json new file mode 100644 index 0000000..42eff6f --- /dev/null +++ b/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEveryCommitTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTCacheBuilderTestCoverageTest", + "category" : "SmartTest-Tests-CacheBuilder", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTCacheBuilderTestCoverageResetEveryCommitTest", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/README.md b/SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/README.md index d4717a9..0168734 100644 --- a/SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/README.md +++ b/SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/README.md @@ -1 +1 @@ -This class aims to test the construction of the cache in the context of dynamic method analysis using the TestCoverage strategy. \ No newline at end of file +These tests are here to assert that the build cache methods are correct when dealing with different cache strategies. \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/class/isAbstract.st b/SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/class/isAbstract.st new file mode 100644 index 0000000..26587b7 --- /dev/null +++ b/SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/class/isAbstract.st @@ -0,0 +1,3 @@ +testing +isAbstract +^ self == SmTCacheBuilderTestCoverageTest \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/instance/dynamiqueFinder.st b/SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/instance/dynamicFinder.st similarity index 77% rename from SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/instance/dynamiqueFinder.st rename to SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/instance/dynamicFinder.st index 8cef3d8..c5fe116 100644 --- a/SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/instance/dynamiqueFinder.st +++ b/SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/instance/dynamicFinder.st @@ -1,3 +1,3 @@ initialization -dynamiqueFinder +dynamicFinder ^ SmTTestCoverageTestFinderStrategy new \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/properties.json b/SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/properties.json index 5de372d..a70c853 100644 --- a/SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/properties.json +++ b/SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "EleonoreWALD 5/3/2018 14:22", + "commentStamp" : "", "super" : "SmTCacheBuilderTest", "category" : "SmartTest-Tests-CacheBuilder", "classinstvars" : [ ], From b1c8ddd28ee9d7f7078ae564e6fc2336f06cdcde Mon Sep 17 00:00:00 2001 From: eleonoreW Date: Thu, 19 Jul 2018 17:51:26 +0200 Subject: [PATCH 128/150] Added a missing method --- .../instance/cacheStrategy.st | 3 +++ .../instance/cacheStrategy.st | 3 +++ 2 files changed, 6 insertions(+) create mode 100644 SmartTest-Tests.package/SmTCacheBuilderReflectivityBasicCacheTest.class/instance/cacheStrategy.st create mode 100644 SmartTest-Tests.package/SmTCacheBuilderTestCoverageBasicCacheTest.class/instance/cacheStrategy.st diff --git a/SmartTest-Tests.package/SmTCacheBuilderReflectivityBasicCacheTest.class/instance/cacheStrategy.st b/SmartTest-Tests.package/SmTCacheBuilderReflectivityBasicCacheTest.class/instance/cacheStrategy.st new file mode 100644 index 0000000..3d73e2e --- /dev/null +++ b/SmartTest-Tests.package/SmTCacheBuilderReflectivityBasicCacheTest.class/instance/cacheStrategy.st @@ -0,0 +1,3 @@ +initialization +cacheStrategy +^ SmTBasicCacheStrategy \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderTestCoverageBasicCacheTest.class/instance/cacheStrategy.st b/SmartTest-Tests.package/SmTCacheBuilderTestCoverageBasicCacheTest.class/instance/cacheStrategy.st new file mode 100644 index 0000000..3d73e2e --- /dev/null +++ b/SmartTest-Tests.package/SmTCacheBuilderTestCoverageBasicCacheTest.class/instance/cacheStrategy.st @@ -0,0 +1,3 @@ +initialization +cacheStrategy +^ SmTBasicCacheStrategy \ No newline at end of file From 469d05b1a58697ec6a4aff821f0e3a9d1b04cdd4 Mon Sep 17 00:00:00 2001 From: eleonoreW Date: Fri, 20 Jul 2018 10:21:20 +0200 Subject: [PATCH 129/150] Renamed the tests and the basic cache strategy to be more simple and more accurate. --- .../README.md | 0 .../README.md | 0 .../README.md | 0 .../README.md | 1 - .../README.md | 1 + .../instance/cacheStrategy.st | 0 .../properties.json | 4 ++-- .../README.md | 1 + .../instance/cacheStrategy.st | 0 .../properties.json | 4 ++-- .../README.md | 1 + .../instance/cacheStrategy.st | 0 .../properties.json | 4 ++-- .../README.md | 1 + .../instance/cacheStrategy.st | 0 .../properties.json | 4 ++-- .../README.md | 2 +- .../properties.json | 2 +- .../SmTCacheBuilderTest.class/README.md | 2 +- .../SmTCacheBuilderTest.class/properties.json | 2 +- .../README.md | 1 - .../README.md | 1 + .../properties.json | 2 +- .../README.md | 1 + .../properties.json | 2 +- .../README.md | 1 + .../properties.json | 2 +- .../README.md | 1 + .../instance/cacheStrategy.st | 0 .../properties.json | 4 ++-- .../README.md | 0 .../instance/strategyTested.st | 0 .../properties.json | 2 +- .../README.md | 0 .../instance/strategyTested.st | 0 .../instance/testResetAfter5MethodChange.st | 0 .../properties.json | 2 +- .../README.md | 0 .../instance/strategyTested.st | 0 .../instance/testResetAfter1Commit.st | 0 .../properties.json | 2 +- .../README.md | 0 .../instance/strategyTested.st | 0 .../instance/testResetAfter1Commit.st | 0 .../instance/testResetAfter1MethodChange.st | 0 .../instance/testResetAfter4MethodChange.st | 0 .../instance/testResetAfter5MethodChange.st | 0 .../properties.json | 2 +- .../monticello.meta/categories.st | 14 +++++++------- 49 files changed, 36 insertions(+), 30 deletions(-) delete mode 100644 SmartTest-Tests.package/SmTCacheBuilderReflectivityBasicCacheStrategyNeverResetTest.class/README.md delete mode 100644 SmartTest-Tests.package/SmTCacheBuilderReflectivityBasicCacheStrategyResetEvery5ChangesTest.class/README.md delete mode 100644 SmartTest-Tests.package/SmTCacheBuilderReflectivityBasicCacheStrategyResetEveryCommitTest.class/README.md delete mode 100644 SmartTest-Tests.package/SmTCacheBuilderReflectivityBasicCacheTest.class/README.md create mode 100644 SmartTest-Tests.package/SmTCacheBuilderReflectivityNeverResetTest.class/README.md rename SmartTest-Tests.package/{SmTCacheBuilderReflectivityBasicCacheStrategyNeverResetTest.class => SmTCacheBuilderReflectivityNeverResetTest.class}/instance/cacheStrategy.st (100%) rename SmartTest-Tests.package/{SmTCacheBuilderReflectivityBasicCacheStrategyNeverResetTest.class => SmTCacheBuilderReflectivityNeverResetTest.class}/properties.json (65%) create mode 100644 SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEvery5ChangesTest.class/README.md rename SmartTest-Tests.package/{SmTCacheBuilderReflectivityBasicCacheStrategyResetEvery5ChangesTest.class => SmTCacheBuilderReflectivityResetEvery5ChangesTest.class}/instance/cacheStrategy.st (100%) rename SmartTest-Tests.package/{SmTCacheBuilderReflectivityBasicCacheTest.class => SmTCacheBuilderReflectivityResetEvery5ChangesTest.class}/properties.json (63%) create mode 100644 SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEveryCommitTest.class/README.md rename SmartTest-Tests.package/{SmTCacheBuilderReflectivityBasicCacheStrategyResetEveryCommitTest.class => SmTCacheBuilderReflectivityResetEveryCommitTest.class}/instance/cacheStrategy.st (100%) rename SmartTest-Tests.package/{SmTCacheBuilderReflectivityBasicCacheStrategyResetEveryCommitTest.class => SmTCacheBuilderReflectivityResetEveryCommitTest.class}/properties.json (64%) create mode 100644 SmartTest-Tests.package/SmTCacheBuilderReflectivityResetOnDemandTest.class/README.md rename SmartTest-Tests.package/{SmTCacheBuilderReflectivityBasicCacheTest.class => SmTCacheBuilderReflectivityResetOnDemandTest.class}/instance/cacheStrategy.st (100%) rename SmartTest-Tests.package/{SmTCacheBuilderReflectivityBasicCacheStrategyResetEvery5ChangesTest.class => SmTCacheBuilderReflectivityResetOnDemandTest.class}/properties.json (64%) delete mode 100644 SmartTest-Tests.package/SmTCacheBuilderTestCoverageBasicCacheTest.class/README.md create mode 100644 SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetOnDemandTest.class/README.md rename SmartTest-Tests.package/{SmTCacheBuilderTestCoverageBasicCacheTest.class => SmTCacheBuilderTestCoverageResetOnDemandTest.class}/instance/cacheStrategy.st (100%) rename SmartTest-Tests.package/{SmTCacheBuilderTestCoverageBasicCacheTest.class => SmTCacheBuilderTestCoverageResetOnDemandTest.class}/properties.json (64%) rename SmartTest-Tests.package/{SmTBasicCacheNeverResetTest.class => SmTCacheNeverResetTest.class}/README.md (100%) rename SmartTest-Tests.package/{SmTBasicCacheNeverResetTest.class => SmTCacheNeverResetTest.class}/instance/strategyTested.st (100%) rename SmartTest-Tests.package/{SmTBasicCacheTest.class => SmTCacheNeverResetTest.class}/properties.json (84%) rename SmartTest-Tests.package/{SmTBasicCacheResetEvery5ChangesTest.class => SmTCacheResetEvery5ChangesTest.class}/README.md (100%) rename SmartTest-Tests.package/{SmTBasicCacheResetEvery5ChangesTest.class => SmTCacheResetEvery5ChangesTest.class}/instance/strategyTested.st (100%) rename SmartTest-Tests.package/{SmTBasicCacheResetEvery5ChangesTest.class => SmTCacheResetEvery5ChangesTest.class}/instance/testResetAfter5MethodChange.st (100%) rename SmartTest-Tests.package/{SmTBasicCacheResetEveryCommitTest.class => SmTCacheResetEvery5ChangesTest.class}/properties.json (80%) rename SmartTest-Tests.package/{SmTBasicCacheResetEveryCommitTest.class => SmTCacheResetEveryCommitTest.class}/README.md (100%) rename SmartTest-Tests.package/{SmTBasicCacheResetEveryCommitTest.class => SmTCacheResetEveryCommitTest.class}/instance/strategyTested.st (100%) rename SmartTest-Tests.package/{SmTBasicCacheResetEveryCommitTest.class => SmTCacheResetEveryCommitTest.class}/instance/testResetAfter1Commit.st (100%) rename SmartTest-Tests.package/{SmTBasicCacheResetEvery5ChangesTest.class => SmTCacheResetEveryCommitTest.class}/properties.json (79%) rename SmartTest-Tests.package/{SmTBasicCacheTest.class => SmTCacheResetOnDemandTest.class}/README.md (100%) rename SmartTest-Tests.package/{SmTBasicCacheTest.class => SmTCacheResetOnDemandTest.class}/instance/strategyTested.st (100%) rename SmartTest-Tests.package/{SmTBasicCacheTest.class => SmTCacheResetOnDemandTest.class}/instance/testResetAfter1Commit.st (100%) rename SmartTest-Tests.package/{SmTBasicCacheTest.class => SmTCacheResetOnDemandTest.class}/instance/testResetAfter1MethodChange.st (100%) rename SmartTest-Tests.package/{SmTBasicCacheTest.class => SmTCacheResetOnDemandTest.class}/instance/testResetAfter4MethodChange.st (100%) rename SmartTest-Tests.package/{SmTBasicCacheTest.class => SmTCacheResetOnDemandTest.class}/instance/testResetAfter5MethodChange.st (100%) rename SmartTest-Tests.package/{SmTBasicCacheNeverResetTest.class => SmTCacheResetOnDemandTest.class}/properties.json (82%) diff --git a/SmartTest-Tests.package/SmTCacheBuilderReflectivityBasicCacheStrategyNeverResetTest.class/README.md b/SmartTest-Tests.package/SmTCacheBuilderReflectivityBasicCacheStrategyNeverResetTest.class/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/SmartTest-Tests.package/SmTCacheBuilderReflectivityBasicCacheStrategyResetEvery5ChangesTest.class/README.md b/SmartTest-Tests.package/SmTCacheBuilderReflectivityBasicCacheStrategyResetEvery5ChangesTest.class/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/SmartTest-Tests.package/SmTCacheBuilderReflectivityBasicCacheStrategyResetEveryCommitTest.class/README.md b/SmartTest-Tests.package/SmTCacheBuilderReflectivityBasicCacheStrategyResetEveryCommitTest.class/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/SmartTest-Tests.package/SmTCacheBuilderReflectivityBasicCacheTest.class/README.md b/SmartTest-Tests.package/SmTCacheBuilderReflectivityBasicCacheTest.class/README.md deleted file mode 100644 index ca2692a..0000000 --- a/SmartTest-Tests.package/SmTCacheBuilderReflectivityBasicCacheTest.class/README.md +++ /dev/null @@ -1 +0,0 @@ -This class aims to test the construction of the cache in the context of dynamic method analysis using the Reflectivity strategy. \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderReflectivityNeverResetTest.class/README.md b/SmartTest-Tests.package/SmTCacheBuilderReflectivityNeverResetTest.class/README.md new file mode 100644 index 0000000..522e130 --- /dev/null +++ b/SmartTest-Tests.package/SmTCacheBuilderReflectivityNeverResetTest.class/README.md @@ -0,0 +1 @@ +These tests are here to assert that the build cache methods are correct when dealing the Reflectivity strategy and the never reset cache. \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderReflectivityBasicCacheStrategyNeverResetTest.class/instance/cacheStrategy.st b/SmartTest-Tests.package/SmTCacheBuilderReflectivityNeverResetTest.class/instance/cacheStrategy.st similarity index 100% rename from SmartTest-Tests.package/SmTCacheBuilderReflectivityBasicCacheStrategyNeverResetTest.class/instance/cacheStrategy.st rename to SmartTest-Tests.package/SmTCacheBuilderReflectivityNeverResetTest.class/instance/cacheStrategy.st diff --git a/SmartTest-Tests.package/SmTCacheBuilderReflectivityBasicCacheStrategyNeverResetTest.class/properties.json b/SmartTest-Tests.package/SmTCacheBuilderReflectivityNeverResetTest.class/properties.json similarity index 65% rename from SmartTest-Tests.package/SmTCacheBuilderReflectivityBasicCacheStrategyNeverResetTest.class/properties.json rename to SmartTest-Tests.package/SmTCacheBuilderReflectivityNeverResetTest.class/properties.json index 7028343..d274c0f 100644 --- a/SmartTest-Tests.package/SmTCacheBuilderReflectivityBasicCacheStrategyNeverResetTest.class/properties.json +++ b/SmartTest-Tests.package/SmTCacheBuilderReflectivityNeverResetTest.class/properties.json @@ -1,11 +1,11 @@ { - "commentStamp" : "", + "commentStamp" : "eleonoreW 7/20/2018 09:27", "super" : "SmTCacheBuilderReflectivityTest", "category" : "SmartTest-Tests-CacheBuilder", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], "instvars" : [ ], - "name" : "SmTCacheBuilderReflectivityBasicCacheStrategyNeverResetTest", + "name" : "SmTCacheBuilderReflectivityNeverResetTest", "type" : "normal" } \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEvery5ChangesTest.class/README.md b/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEvery5ChangesTest.class/README.md new file mode 100644 index 0000000..58f6d2b --- /dev/null +++ b/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEvery5ChangesTest.class/README.md @@ -0,0 +1 @@ +These tests are here to assert that the build cache methods are correct when dealing the Reflectivity strategy and the reset every 5 changes cache. \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderReflectivityBasicCacheStrategyResetEvery5ChangesTest.class/instance/cacheStrategy.st b/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEvery5ChangesTest.class/instance/cacheStrategy.st similarity index 100% rename from SmartTest-Tests.package/SmTCacheBuilderReflectivityBasicCacheStrategyResetEvery5ChangesTest.class/instance/cacheStrategy.st rename to SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEvery5ChangesTest.class/instance/cacheStrategy.st diff --git a/SmartTest-Tests.package/SmTCacheBuilderReflectivityBasicCacheTest.class/properties.json b/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEvery5ChangesTest.class/properties.json similarity index 63% rename from SmartTest-Tests.package/SmTCacheBuilderReflectivityBasicCacheTest.class/properties.json rename to SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEvery5ChangesTest.class/properties.json index f1362b2..312ebe6 100644 --- a/SmartTest-Tests.package/SmTCacheBuilderReflectivityBasicCacheTest.class/properties.json +++ b/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEvery5ChangesTest.class/properties.json @@ -1,11 +1,11 @@ { - "commentStamp" : "EleonoreWALD 4/27/2018 16:00", + "commentStamp" : "eleonoreW 7/20/2018 09:27", "super" : "SmTCacheBuilderReflectivityTest", "category" : "SmartTest-Tests-CacheBuilder", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], "instvars" : [ ], - "name" : "SmTCacheBuilderReflectivityBasicCacheTest", + "name" : "SmTCacheBuilderReflectivityResetEvery5ChangesTest", "type" : "normal" } \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEveryCommitTest.class/README.md b/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEveryCommitTest.class/README.md new file mode 100644 index 0000000..ff25e1b --- /dev/null +++ b/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEveryCommitTest.class/README.md @@ -0,0 +1 @@ +These tests are here to assert that the build cache methods are correct when dealing the Reflectivity strategy and the reset every commit cache. \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderReflectivityBasicCacheStrategyResetEveryCommitTest.class/instance/cacheStrategy.st b/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEveryCommitTest.class/instance/cacheStrategy.st similarity index 100% rename from SmartTest-Tests.package/SmTCacheBuilderReflectivityBasicCacheStrategyResetEveryCommitTest.class/instance/cacheStrategy.st rename to SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEveryCommitTest.class/instance/cacheStrategy.st diff --git a/SmartTest-Tests.package/SmTCacheBuilderReflectivityBasicCacheStrategyResetEveryCommitTest.class/properties.json b/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEveryCommitTest.class/properties.json similarity index 64% rename from SmartTest-Tests.package/SmTCacheBuilderReflectivityBasicCacheStrategyResetEveryCommitTest.class/properties.json rename to SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEveryCommitTest.class/properties.json index 54ae34b..1ae013d 100644 --- a/SmartTest-Tests.package/SmTCacheBuilderReflectivityBasicCacheStrategyResetEveryCommitTest.class/properties.json +++ b/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEveryCommitTest.class/properties.json @@ -1,11 +1,11 @@ { - "commentStamp" : "", + "commentStamp" : "eleonoreW 7/20/2018 09:27", "super" : "SmTCacheBuilderReflectivityTest", "category" : "SmartTest-Tests-CacheBuilder", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], "instvars" : [ ], - "name" : "SmTCacheBuilderReflectivityBasicCacheStrategyResetEveryCommitTest", + "name" : "SmTCacheBuilderReflectivityResetEveryCommitTest", "type" : "normal" } \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetOnDemandTest.class/README.md b/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetOnDemandTest.class/README.md new file mode 100644 index 0000000..b6abc29 --- /dev/null +++ b/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetOnDemandTest.class/README.md @@ -0,0 +1 @@ +These tests are here to assert that the build cache methods are correct when dealing the Reflectivity strategy and the reset on demand cache. \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderReflectivityBasicCacheTest.class/instance/cacheStrategy.st b/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetOnDemandTest.class/instance/cacheStrategy.st similarity index 100% rename from SmartTest-Tests.package/SmTCacheBuilderReflectivityBasicCacheTest.class/instance/cacheStrategy.st rename to SmartTest-Tests.package/SmTCacheBuilderReflectivityResetOnDemandTest.class/instance/cacheStrategy.st diff --git a/SmartTest-Tests.package/SmTCacheBuilderReflectivityBasicCacheStrategyResetEvery5ChangesTest.class/properties.json b/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetOnDemandTest.class/properties.json similarity index 64% rename from SmartTest-Tests.package/SmTCacheBuilderReflectivityBasicCacheStrategyResetEvery5ChangesTest.class/properties.json rename to SmartTest-Tests.package/SmTCacheBuilderReflectivityResetOnDemandTest.class/properties.json index 082a6c6..12b2ac0 100644 --- a/SmartTest-Tests.package/SmTCacheBuilderReflectivityBasicCacheStrategyResetEvery5ChangesTest.class/properties.json +++ b/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetOnDemandTest.class/properties.json @@ -1,11 +1,11 @@ { - "commentStamp" : "", + "commentStamp" : "eleonoreW 7/20/2018 09:27", "super" : "SmTCacheBuilderReflectivityTest", "category" : "SmartTest-Tests-CacheBuilder", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], "instvars" : [ ], - "name" : "SmTCacheBuilderReflectivityBasicCacheStrategyResetEvery5ChangesTest", + "name" : "SmTCacheBuilderReflectivityResetOnDemandTest", "type" : "normal" } \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/README.md b/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/README.md index 7faf820..0509902 100644 --- a/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/README.md +++ b/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/README.md @@ -1 +1 @@ -This class tests... \ No newline at end of file +These tests are here to assert that the build cache methods are correct when dealing with different cache strategies and the Reflectivity strategy. \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/properties.json b/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/properties.json index fdd2f09..839ba10 100644 --- a/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/properties.json +++ b/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "", + "commentStamp" : "eleonoreW 7/20/2018 09:26", "super" : "SmTCacheBuilderTest", "category" : "SmartTest-Tests-CacheBuilder", "classinstvars" : [ ], diff --git a/SmartTest-Tests.package/SmTCacheBuilderTest.class/README.md b/SmartTest-Tests.package/SmTCacheBuilderTest.class/README.md index fab72dd..9f44baf 100644 --- a/SmartTest-Tests.package/SmTCacheBuilderTest.class/README.md +++ b/SmartTest-Tests.package/SmTCacheBuilderTest.class/README.md @@ -1 +1 @@ -This class aims to test the construction of the cache in the context of dynamic method analysis. \ No newline at end of file +This class aims to test the construction of the cache in the context of dynamic method analysis with different dynamic strategies and different cache strategies. \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderTest.class/properties.json b/SmartTest-Tests.package/SmTCacheBuilderTest.class/properties.json index b73f2dd..66b6ba4 100644 --- a/SmartTest-Tests.package/SmTCacheBuilderTest.class/properties.json +++ b/SmartTest-Tests.package/SmTCacheBuilderTest.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "AnneEtien 3/2/2018 15:34", + "commentStamp" : "eleonoreW 7/20/2018 09:25", "super" : "TestCase", "category" : "SmartTest-Tests-CacheBuilder", "classinstvars" : [ ], diff --git a/SmartTest-Tests.package/SmTCacheBuilderTestCoverageBasicCacheTest.class/README.md b/SmartTest-Tests.package/SmTCacheBuilderTestCoverageBasicCacheTest.class/README.md deleted file mode 100644 index d4717a9..0000000 --- a/SmartTest-Tests.package/SmTCacheBuilderTestCoverageBasicCacheTest.class/README.md +++ /dev/null @@ -1 +0,0 @@ -This class aims to test the construction of the cache in the context of dynamic method analysis using the TestCoverage strategy. \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderTestCoverageNeverResetTest.class/README.md b/SmartTest-Tests.package/SmTCacheBuilderTestCoverageNeverResetTest.class/README.md index e69de29..d616f55 100644 --- a/SmartTest-Tests.package/SmTCacheBuilderTestCoverageNeverResetTest.class/README.md +++ b/SmartTest-Tests.package/SmTCacheBuilderTestCoverageNeverResetTest.class/README.md @@ -0,0 +1 @@ +These tests are here to assert that the build cache methods are correct when dealing the Test Coverage strategy and the never reset cache. \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderTestCoverageNeverResetTest.class/properties.json b/SmartTest-Tests.package/SmTCacheBuilderTestCoverageNeverResetTest.class/properties.json index 44efa1c..78a331c 100644 --- a/SmartTest-Tests.package/SmTCacheBuilderTestCoverageNeverResetTest.class/properties.json +++ b/SmartTest-Tests.package/SmTCacheBuilderTestCoverageNeverResetTest.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "", + "commentStamp" : "eleonoreW 7/20/2018 09:28", "super" : "SmTCacheBuilderTestCoverageTest", "category" : "SmartTest-Tests-CacheBuilder", "classinstvars" : [ ], diff --git a/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEvery5ChangesTest.class/README.md b/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEvery5ChangesTest.class/README.md index e69de29..cec1f78 100644 --- a/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEvery5ChangesTest.class/README.md +++ b/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEvery5ChangesTest.class/README.md @@ -0,0 +1 @@ +These tests are here to assert that the build cache methods are correct when dealing the Test Coverage strategy and the reset every 5 changes cache. \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEvery5ChangesTest.class/properties.json b/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEvery5ChangesTest.class/properties.json index 5679000..6e318b6 100644 --- a/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEvery5ChangesTest.class/properties.json +++ b/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEvery5ChangesTest.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "", + "commentStamp" : "eleonoreW 7/20/2018 09:28", "super" : "SmTCacheBuilderTestCoverageTest", "category" : "SmartTest-Tests-CacheBuilder", "classinstvars" : [ ], diff --git a/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEveryCommitTest.class/README.md b/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEveryCommitTest.class/README.md index e69de29..a507393 100644 --- a/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEveryCommitTest.class/README.md +++ b/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEveryCommitTest.class/README.md @@ -0,0 +1 @@ +These tests are here to assert that the build cache methods are correct when dealing the Test Coverage strategy and the reset every commits cache. \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEveryCommitTest.class/properties.json b/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEveryCommitTest.class/properties.json index 42eff6f..c596ae0 100644 --- a/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEveryCommitTest.class/properties.json +++ b/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEveryCommitTest.class/properties.json @@ -1,5 +1,5 @@ { - "commentStamp" : "", + "commentStamp" : "eleonoreW 7/20/2018 09:28", "super" : "SmTCacheBuilderTestCoverageTest", "category" : "SmartTest-Tests-CacheBuilder", "classinstvars" : [ ], diff --git a/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetOnDemandTest.class/README.md b/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetOnDemandTest.class/README.md new file mode 100644 index 0000000..104eb7d --- /dev/null +++ b/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetOnDemandTest.class/README.md @@ -0,0 +1 @@ +These tests are here to assert that the build cache methods are correct when dealing the Test Coverage strategy and the reset on demand cache. \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderTestCoverageBasicCacheTest.class/instance/cacheStrategy.st b/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetOnDemandTest.class/instance/cacheStrategy.st similarity index 100% rename from SmartTest-Tests.package/SmTCacheBuilderTestCoverageBasicCacheTest.class/instance/cacheStrategy.st rename to SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetOnDemandTest.class/instance/cacheStrategy.st diff --git a/SmartTest-Tests.package/SmTCacheBuilderTestCoverageBasicCacheTest.class/properties.json b/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetOnDemandTest.class/properties.json similarity index 64% rename from SmartTest-Tests.package/SmTCacheBuilderTestCoverageBasicCacheTest.class/properties.json rename to SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetOnDemandTest.class/properties.json index 9715c8e..89698bb 100644 --- a/SmartTest-Tests.package/SmTCacheBuilderTestCoverageBasicCacheTest.class/properties.json +++ b/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetOnDemandTest.class/properties.json @@ -1,11 +1,11 @@ { - "commentStamp" : "EleonoreWALD 5/3/2018 14:22", + "commentStamp" : "eleonoreW 7/20/2018 09:28", "super" : "SmTCacheBuilderTestCoverageTest", "category" : "SmartTest-Tests-CacheBuilder", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], "instvars" : [ ], - "name" : "SmTCacheBuilderTestCoverageBasicCacheTest", + "name" : "SmTCacheBuilderTestCoverageResetOnDemandTest", "type" : "normal" } \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTBasicCacheNeverResetTest.class/README.md b/SmartTest-Tests.package/SmTCacheNeverResetTest.class/README.md similarity index 100% rename from SmartTest-Tests.package/SmTBasicCacheNeverResetTest.class/README.md rename to SmartTest-Tests.package/SmTCacheNeverResetTest.class/README.md diff --git a/SmartTest-Tests.package/SmTBasicCacheNeverResetTest.class/instance/strategyTested.st b/SmartTest-Tests.package/SmTCacheNeverResetTest.class/instance/strategyTested.st similarity index 100% rename from SmartTest-Tests.package/SmTBasicCacheNeverResetTest.class/instance/strategyTested.st rename to SmartTest-Tests.package/SmTCacheNeverResetTest.class/instance/strategyTested.st diff --git a/SmartTest-Tests.package/SmTBasicCacheTest.class/properties.json b/SmartTest-Tests.package/SmTCacheNeverResetTest.class/properties.json similarity index 84% rename from SmartTest-Tests.package/SmTBasicCacheTest.class/properties.json rename to SmartTest-Tests.package/SmTCacheNeverResetTest.class/properties.json index c68267a..cf8496a 100644 --- a/SmartTest-Tests.package/SmTBasicCacheTest.class/properties.json +++ b/SmartTest-Tests.package/SmTCacheNeverResetTest.class/properties.json @@ -6,6 +6,6 @@ "pools" : [ ], "classvars" : [ ], "instvars" : [ ], - "name" : "SmTBasicCacheTest", + "name" : "SmTCacheNeverResetTest", "type" : "normal" } \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTBasicCacheResetEvery5ChangesTest.class/README.md b/SmartTest-Tests.package/SmTCacheResetEvery5ChangesTest.class/README.md similarity index 100% rename from SmartTest-Tests.package/SmTBasicCacheResetEvery5ChangesTest.class/README.md rename to SmartTest-Tests.package/SmTCacheResetEvery5ChangesTest.class/README.md diff --git a/SmartTest-Tests.package/SmTBasicCacheResetEvery5ChangesTest.class/instance/strategyTested.st b/SmartTest-Tests.package/SmTCacheResetEvery5ChangesTest.class/instance/strategyTested.st similarity index 100% rename from SmartTest-Tests.package/SmTBasicCacheResetEvery5ChangesTest.class/instance/strategyTested.st rename to SmartTest-Tests.package/SmTCacheResetEvery5ChangesTest.class/instance/strategyTested.st diff --git a/SmartTest-Tests.package/SmTBasicCacheResetEvery5ChangesTest.class/instance/testResetAfter5MethodChange.st b/SmartTest-Tests.package/SmTCacheResetEvery5ChangesTest.class/instance/testResetAfter5MethodChange.st similarity index 100% rename from SmartTest-Tests.package/SmTBasicCacheResetEvery5ChangesTest.class/instance/testResetAfter5MethodChange.st rename to SmartTest-Tests.package/SmTCacheResetEvery5ChangesTest.class/instance/testResetAfter5MethodChange.st diff --git a/SmartTest-Tests.package/SmTBasicCacheResetEveryCommitTest.class/properties.json b/SmartTest-Tests.package/SmTCacheResetEvery5ChangesTest.class/properties.json similarity index 80% rename from SmartTest-Tests.package/SmTBasicCacheResetEveryCommitTest.class/properties.json rename to SmartTest-Tests.package/SmTCacheResetEvery5ChangesTest.class/properties.json index eb658c9..6f35492 100644 --- a/SmartTest-Tests.package/SmTBasicCacheResetEveryCommitTest.class/properties.json +++ b/SmartTest-Tests.package/SmTCacheResetEvery5ChangesTest.class/properties.json @@ -6,6 +6,6 @@ "pools" : [ ], "classvars" : [ ], "instvars" : [ ], - "name" : "SmTBasicCacheResetEveryCommitTest", + "name" : "SmTCacheResetEvery5ChangesTest", "type" : "normal" } \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTBasicCacheResetEveryCommitTest.class/README.md b/SmartTest-Tests.package/SmTCacheResetEveryCommitTest.class/README.md similarity index 100% rename from SmartTest-Tests.package/SmTBasicCacheResetEveryCommitTest.class/README.md rename to SmartTest-Tests.package/SmTCacheResetEveryCommitTest.class/README.md diff --git a/SmartTest-Tests.package/SmTBasicCacheResetEveryCommitTest.class/instance/strategyTested.st b/SmartTest-Tests.package/SmTCacheResetEveryCommitTest.class/instance/strategyTested.st similarity index 100% rename from SmartTest-Tests.package/SmTBasicCacheResetEveryCommitTest.class/instance/strategyTested.st rename to SmartTest-Tests.package/SmTCacheResetEveryCommitTest.class/instance/strategyTested.st diff --git a/SmartTest-Tests.package/SmTBasicCacheResetEveryCommitTest.class/instance/testResetAfter1Commit.st b/SmartTest-Tests.package/SmTCacheResetEveryCommitTest.class/instance/testResetAfter1Commit.st similarity index 100% rename from SmartTest-Tests.package/SmTBasicCacheResetEveryCommitTest.class/instance/testResetAfter1Commit.st rename to SmartTest-Tests.package/SmTCacheResetEveryCommitTest.class/instance/testResetAfter1Commit.st diff --git a/SmartTest-Tests.package/SmTBasicCacheResetEvery5ChangesTest.class/properties.json b/SmartTest-Tests.package/SmTCacheResetEveryCommitTest.class/properties.json similarity index 79% rename from SmartTest-Tests.package/SmTBasicCacheResetEvery5ChangesTest.class/properties.json rename to SmartTest-Tests.package/SmTCacheResetEveryCommitTest.class/properties.json index 9f6bcc9..a536e58 100644 --- a/SmartTest-Tests.package/SmTBasicCacheResetEvery5ChangesTest.class/properties.json +++ b/SmartTest-Tests.package/SmTCacheResetEveryCommitTest.class/properties.json @@ -6,6 +6,6 @@ "pools" : [ ], "classvars" : [ ], "instvars" : [ ], - "name" : "SmTBasicCacheResetEvery5ChangesTest", + "name" : "SmTCacheResetEveryCommitTest", "type" : "normal" } \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTBasicCacheTest.class/README.md b/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/README.md similarity index 100% rename from SmartTest-Tests.package/SmTBasicCacheTest.class/README.md rename to SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/README.md diff --git a/SmartTest-Tests.package/SmTBasicCacheTest.class/instance/strategyTested.st b/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/instance/strategyTested.st similarity index 100% rename from SmartTest-Tests.package/SmTBasicCacheTest.class/instance/strategyTested.st rename to SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/instance/strategyTested.st diff --git a/SmartTest-Tests.package/SmTBasicCacheTest.class/instance/testResetAfter1Commit.st b/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/instance/testResetAfter1Commit.st similarity index 100% rename from SmartTest-Tests.package/SmTBasicCacheTest.class/instance/testResetAfter1Commit.st rename to SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/instance/testResetAfter1Commit.st diff --git a/SmartTest-Tests.package/SmTBasicCacheTest.class/instance/testResetAfter1MethodChange.st b/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/instance/testResetAfter1MethodChange.st similarity index 100% rename from SmartTest-Tests.package/SmTBasicCacheTest.class/instance/testResetAfter1MethodChange.st rename to SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/instance/testResetAfter1MethodChange.st diff --git a/SmartTest-Tests.package/SmTBasicCacheTest.class/instance/testResetAfter4MethodChange.st b/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/instance/testResetAfter4MethodChange.st similarity index 100% rename from SmartTest-Tests.package/SmTBasicCacheTest.class/instance/testResetAfter4MethodChange.st rename to SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/instance/testResetAfter4MethodChange.st diff --git a/SmartTest-Tests.package/SmTBasicCacheTest.class/instance/testResetAfter5MethodChange.st b/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/instance/testResetAfter5MethodChange.st similarity index 100% rename from SmartTest-Tests.package/SmTBasicCacheTest.class/instance/testResetAfter5MethodChange.st rename to SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/instance/testResetAfter5MethodChange.st diff --git a/SmartTest-Tests.package/SmTBasicCacheNeverResetTest.class/properties.json b/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/properties.json similarity index 82% rename from SmartTest-Tests.package/SmTBasicCacheNeverResetTest.class/properties.json rename to SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/properties.json index 42b68ae..24aa131 100644 --- a/SmartTest-Tests.package/SmTBasicCacheNeverResetTest.class/properties.json +++ b/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/properties.json @@ -6,6 +6,6 @@ "pools" : [ ], "classvars" : [ ], "instvars" : [ ], - "name" : "SmTBasicCacheNeverResetTest", + "name" : "SmTCacheResetOnDemandTest", "type" : "normal" } \ No newline at end of file diff --git a/SmartTest-Tests.package/monticello.meta/categories.st b/SmartTest-Tests.package/monticello.meta/categories.st index 7de83f6..ad91c77 100644 --- a/SmartTest-Tests.package/monticello.meta/categories.st +++ b/SmartTest-Tests.package/monticello.meta/categories.st @@ -1,8 +1,8 @@ SystemOrganization addCategory: #'SmartTest-Tests'! -SystemOrganization addCategory: 'SmartTest-Tests-Cache'! -SystemOrganization addCategory: 'SmartTest-Tests-CacheBuilder'! -SystemOrganization addCategory: 'SmartTest-Tests-Filter'! -SystemOrganization addCategory: 'SmartTest-Tests-Finder'! -SystemOrganization addCategory: 'SmartTest-Tests-OnModification'! -SystemOrganization addCategory: 'SmartTest-Tests-Runner'! -SystemOrganization addCategory: 'SmartTest-Tests-Settings'! +SystemOrganization addCategory: #'SmartTest-Tests-Cache'! +SystemOrganization addCategory: #'SmartTest-Tests-CacheBuilder'! +SystemOrganization addCategory: #'SmartTest-Tests-Filter'! +SystemOrganization addCategory: #'SmartTest-Tests-Finder'! +SystemOrganization addCategory: #'SmartTest-Tests-OnModification'! +SystemOrganization addCategory: #'SmartTest-Tests-Runner'! +SystemOrganization addCategory: #'SmartTest-Tests-Settings'! From 981d123ac85dbd40bb67e503738f733f73a81773 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Verhaeghe?= Date: Mon, 23 Jul 2018 10:01:49 +0200 Subject: [PATCH 130/150] Update README.md --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index aa7e0b8..24155a3 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,6 @@ Master: [![Master](https://travis-ci.org/badetitou/SmartTest.svg?branch=master)](https://travis-ci.org/badetitou/SmartTest/branches) Development: [![development](https://travis-ci.org/badetitou/SmartTest.svg?branch=development)](https://travis-ci.org/badetitou/SmartTest/branches) - [![Coverage Status](https://coveralls.io/repos/github/badetitou/SmartTest/badge.svg?branch=development)](https://coveralls.io/github/badetitou/SmartTest?branch=development) ## What is SmartTest ? From 1b9748d7c0d49e0bde9190494e91eee28161e22f Mon Sep 17 00:00:00 2001 From: badetitou Date: Mon, 23 Jul 2018 22:32:44 +0200 Subject: [PATCH 131/150] Update baseline format and add 'all' group --- .../instance/baseline..st | 15 +++------------ .../instance/defineDependencies..st | 2 ++ .../instance/defineGroups..st | 5 +++++ .../instance/definePackages..st | 12 ++++++++++++ 4 files changed, 22 insertions(+), 12 deletions(-) create mode 100644 BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/defineDependencies..st create mode 100644 BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/defineGroups..st create mode 100644 BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/definePackages..st diff --git a/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/baseline..st b/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/baseline..st index 7b69239..de5050b 100644 --- a/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/baseline..st +++ b/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/baseline..st @@ -3,15 +3,6 @@ baseline: spec spec for: #common - do: [ spec - repository: 'github://badetitou/SmartTest'; - package: 'SmartTest' with: [ spec requires: #('SmartTest-UI') ]; - package: 'SmartTest-Tests' with: [ spec requires: #('SmartTest' 'SmartTest-Tests-Data' 'SmartTestDataOutsideP1' 'SmartTestDataOutsideP3' 'SmartTestDataOutsideP2' 'SmartTestDataOutsideP4' ) ]; - package: 'SmartTestDataOutsideP1' with: [ spec requires: #('SmartTest' 'SmartTestDataOutsideP3' 'SmartTestDataOutsideP2') ]; - package: 'SmartTestDataOutsideP2' with: [ spec requires: #('SmartTest') ]; - package: 'SmartTestDataOutsideP3' with: [ spec requires: #('SmartTest' 'SmartTestDataOutsideP4') ]; - package: 'SmartTestDataOutsideP4' with: [ spec requires: #('SmartTest') ]; - package: 'SmartTest-Tests-Data' with: [ spec requires: #('SmartTest') ]; - package: 'SmartTest-UI' ; - group: 'default' with: #('SmartTest' 'SmartTest-UI'); - group: 'test' with: #('SmartTest-Tests') ] \ No newline at end of file + do: [ self defineDependencies: spec. + self definePackages: spec. + self defineGroups: spec] \ No newline at end of file diff --git a/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/defineDependencies..st b/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/defineDependencies..st new file mode 100644 index 0000000..6911781 --- /dev/null +++ b/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/defineDependencies..st @@ -0,0 +1,2 @@ +baselines +defineDependencies: spec \ No newline at end of file diff --git a/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/defineGroups..st b/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/defineGroups..st new file mode 100644 index 0000000..45516d6 --- /dev/null +++ b/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/defineGroups..st @@ -0,0 +1,5 @@ +baselines +defineGroups: spec + spec group: 'default' with: #('SmartTest' 'SmartTest-UI'); + group: 'test' with: #('SmartTest-Tests'); + group: 'all' with: #('default' 'test') \ No newline at end of file diff --git a/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/definePackages..st b/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/definePackages..st new file mode 100644 index 0000000..ebc8fd6 --- /dev/null +++ b/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/definePackages..st @@ -0,0 +1,12 @@ +baselines +definePackages: spec + spec + repository: 'github://badetitou/SmartTest'; + package: 'SmartTest' with: [ spec requires: #('SmartTest-UI') ]; + package: 'SmartTest-Tests' with: [ spec requires: #('SmartTest' 'SmartTest-Tests-Data' 'SmartTestDataOutsideP1' 'SmartTestDataOutsideP3' 'SmartTestDataOutsideP2' 'SmartTestDataOutsideP4') ]; + package: 'SmartTestDataOutsideP1' with: [ spec requires: #('SmartTest' 'SmartTestDataOutsideP3' 'SmartTestDataOutsideP2') ]; + package: 'SmartTestDataOutsideP2' with: [ spec requires: #('SmartTest') ]; + package: 'SmartTestDataOutsideP3' with: [ spec requires: #('SmartTest' 'SmartTestDataOutsideP4') ]; + package: 'SmartTestDataOutsideP4' with: [ spec requires: #('SmartTest') ]; + package: 'SmartTest-Tests-Data' with: [ spec requires: #('SmartTest') ]; + package: 'SmartTest-UI' \ No newline at end of file From 0efe7e2d59e50b45b925acab133d2d5a9f4be1d9 Mon Sep 17 00:00:00 2001 From: badetitou Date: Mon, 23 Jul 2018 22:42:18 +0200 Subject: [PATCH 132/150] Don't need a big number for the number of change... so reset it --- .../instance/testResetAfter5MethodChange.st | 18 ++++++++------- .../instance/resetCache.st | 7 +++--- .../monticello.meta/categories.st | 22 +++++++++---------- 3 files changed, 24 insertions(+), 23 deletions(-) diff --git a/SmartTest-Tests.package/SmTCacheResetEvery5ChangesTest.class/instance/testResetAfter5MethodChange.st b/SmartTest-Tests.package/SmTCacheResetEvery5ChangesTest.class/instance/testResetAfter5MethodChange.st index 3d4f665..407194d 100644 --- a/SmartTest-Tests.package/SmTCacheResetEvery5ChangesTest.class/instance/testResetAfter5MethodChange.st +++ b/SmartTest-Tests.package/SmTCacheResetEvery5ChangesTest.class/instance/testResetAfter5MethodChange.st @@ -1,10 +1,12 @@ tests testResetAfter5MethodChange -"After one method change, the cache should be empty for NeverRest, EveryFiveChange, and EveryCommit case." -smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. -smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. -smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. -smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. -smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. -self assert: (smartFinder cacheStrategy numberOfChange == 5). -self assert: (smartFinder currentCache isEmpty) \ No newline at end of file + "After one method change, the cache should be empty for NeverRest, EveryFiveChange, and EveryCommit case." + + smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. + smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. + smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. + smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. + self assert: smartFinder cacheStrategy numberOfChange == 4. + smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. + self assert: smartFinder cacheStrategy numberOfChange == 0. + self assert: smartFinder currentCache isEmpty \ No newline at end of file diff --git a/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/instance/resetCache.st b/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/instance/resetCache.st index 4b80101..61ab5e7 100644 --- a/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/instance/resetCache.st +++ b/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/instance/resetCache.st @@ -1,6 +1,5 @@ private resetCache - numberOfChange := numberOfChange + 1. - (numberOfChange \\ 5 == 0) - ifTrue: [ cache removeAll ] - \ No newline at end of file + numberOfChange := numberOfChange + 1. + numberOfChange \\ 5 == 0 + ifTrue: [ cache removeAll. numberOfChange := 0] \ No newline at end of file diff --git a/SmartTest.package/monticello.meta/categories.st b/SmartTest.package/monticello.meta/categories.st index 6d38a2f..8985a7f 100644 --- a/SmartTest.package/monticello.meta/categories.st +++ b/SmartTest.package/monticello.meta/categories.st @@ -1,12 +1,12 @@ SystemOrganization addCategory: #SmartTest! -SystemOrganization addCategory: 'SmartTest-Cache'! -SystemOrganization addCategory: 'SmartTest-Core'! -SystemOrganization addCategory: 'SmartTest-Critiques'! -SystemOrganization addCategory: 'SmartTest-Event'! -SystemOrganization addCategory: 'SmartTest-Filter'! -SystemOrganization addCategory: 'SmartTest-Finder'! -SystemOrganization addCategory: 'SmartTest-Listener'! -SystemOrganization addCategory: 'SmartTest-Rules'! -SystemOrganization addCategory: 'SmartTest-Runner'! -SystemOrganization addCategory: 'SmartTest-Testing'! -SystemOrganization addCategory: 'SmartTest-Tools'! +SystemOrganization addCategory: #'SmartTest-Cache'! +SystemOrganization addCategory: #'SmartTest-Core'! +SystemOrganization addCategory: #'SmartTest-Critiques'! +SystemOrganization addCategory: #'SmartTest-Event'! +SystemOrganization addCategory: #'SmartTest-Filter'! +SystemOrganization addCategory: #'SmartTest-Finder'! +SystemOrganization addCategory: #'SmartTest-Listener'! +SystemOrganization addCategory: #'SmartTest-Rules'! +SystemOrganization addCategory: #'SmartTest-Runner'! +SystemOrganization addCategory: #'SmartTest-Testing'! +SystemOrganization addCategory: #'SmartTest-Tools'! From 1a6ec7b46cfe5940cfe5ba2642ff6581507ff8cd Mon Sep 17 00:00:00 2001 From: badetitou Date: Mon, 23 Jul 2018 23:41:36 +0200 Subject: [PATCH 133/150] add conditionnal rule method begin --- .../instance/testResetAfter1Commit.st | 7 ++++--- .../instance/testResetAfter4MethodChange.st | 13 +++++++------ .../instance/testAdd.st | 2 +- .../SmTCacheStrategy.class/instance/disable.st | 5 +++++ .../SmTCacheStrategy.class/instance/enable.st | 3 +++ .../README.md | 0 .../class/addToElementBag..st | 3 +++ .../class/bag.st | 3 +++ .../class/disable.st | 4 ++++ .../class/enable.st | 7 +++++++ .../class/getElementFromBag..st | 6 ++++++ .../class/methodAdded..st | 3 +++ .../class/methodModified..st | 3 +++ .../instance/basicCheck..st | 4 ++++ .../instance/name.st | 4 ++++ .../properties.json | 15 +++++++++++++++ .../SmTMethodTestedRule.class/class/disable.st | 2 ++ .../SmTMethodTestedRule.class/class/enable.st | 2 ++ .../class/isMethodActivated.st | 3 +++ .../class/methodRuleStrategy..st | 5 +++++ .../class/methodRuleStrategy.st | 3 +++ .../class/settingsOn..st | 9 ++++++++- .../instance/basicCheck..st | 3 +-- .../SmTMethodTestedRule.class/properties.json | 4 +++- 24 files changed, 99 insertions(+), 14 deletions(-) create mode 100644 SmartTest.package/SmTCacheStrategy.class/instance/disable.st create mode 100644 SmartTest.package/SmTCacheStrategy.class/instance/enable.st create mode 100644 SmartTest.package/SmTMethodTestedOnModificationRule.class/README.md create mode 100644 SmartTest.package/SmTMethodTestedOnModificationRule.class/class/addToElementBag..st create mode 100644 SmartTest.package/SmTMethodTestedOnModificationRule.class/class/bag.st create mode 100644 SmartTest.package/SmTMethodTestedOnModificationRule.class/class/disable.st create mode 100644 SmartTest.package/SmTMethodTestedOnModificationRule.class/class/enable.st create mode 100644 SmartTest.package/SmTMethodTestedOnModificationRule.class/class/getElementFromBag..st create mode 100644 SmartTest.package/SmTMethodTestedOnModificationRule.class/class/methodAdded..st create mode 100644 SmartTest.package/SmTMethodTestedOnModificationRule.class/class/methodModified..st create mode 100644 SmartTest.package/SmTMethodTestedOnModificationRule.class/instance/basicCheck..st create mode 100644 SmartTest.package/SmTMethodTestedOnModificationRule.class/instance/name.st create mode 100644 SmartTest.package/SmTMethodTestedOnModificationRule.class/properties.json create mode 100644 SmartTest.package/SmTMethodTestedRule.class/class/disable.st create mode 100644 SmartTest.package/SmTMethodTestedRule.class/class/enable.st create mode 100644 SmartTest.package/SmTMethodTestedRule.class/class/isMethodActivated.st create mode 100644 SmartTest.package/SmTMethodTestedRule.class/class/methodRuleStrategy..st create mode 100644 SmartTest.package/SmTMethodTestedRule.class/class/methodRuleStrategy.st diff --git a/SmartTest-Tests.package/SmTCacheResetEveryCommitTest.class/instance/testResetAfter1Commit.st b/SmartTest-Tests.package/SmTCacheResetEveryCommitTest.class/instance/testResetAfter1Commit.st index 3441d01..726299b 100644 --- a/SmartTest-Tests.package/SmTCacheResetEveryCommitTest.class/instance/testResetAfter1Commit.st +++ b/SmartTest-Tests.package/SmTCacheResetEveryCommitTest.class/instance/testResetAfter1Commit.st @@ -1,5 +1,6 @@ tests testResetAfter1Commit -"After one method change, the cache should be empty for NeverRest, EveryFiveChange, and EveryCommit case." -smartFinder cacheStrategy resetCacheForChange: EpMonticelloVersionSave new. -self assert: (smartFinder currentCache isEmpty) \ No newline at end of file + "After one method change, the cache should be empty for NeverRest, EveryFiveChange, and EveryCommit case." + + smartFinder cacheStrategy resetCacheForChange: EpMonticelloVersionSave new. + self assert: smartFinder currentCache isEmpty \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/instance/testResetAfter4MethodChange.st b/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/instance/testResetAfter4MethodChange.st index 525e59e..3815067 100644 --- a/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/instance/testResetAfter4MethodChange.st +++ b/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/instance/testResetAfter4MethodChange.st @@ -1,8 +1,9 @@ tests testResetAfter4MethodChange -"After one method change, the cache should be empty for NeverRest, EveryFiveChange, and EveryCommit case." -smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. -smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. -smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. -smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. -self assert: (smartFinder currentCache isEmpty) \ No newline at end of file + "After one method change, the cache should be empty for NeverRest, EveryFiveChange, and EveryCommit case." + + smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. + smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. + smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. + smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. + self assert: smartFinder currentCache isEmpty \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTOnModificationTest.class/instance/testAdd.st b/SmartTest-Tests.package/SmTOnModificationTest.class/instance/testAdd.st index bfff185..80dbedb 100644 --- a/SmartTest-Tests.package/SmTOnModificationTest.class/instance/testAdd.st +++ b/SmartTest-Tests.package/SmTOnModificationTest.class/instance/testAdd.st @@ -7,4 +7,4 @@ testAdd onModif addToElementBag: el. self assert: onModif bag size equals: 1. self assert: (onModif bag includes: el). - onModif disable \ No newline at end of file + onModif disable \ No newline at end of file diff --git a/SmartTest.package/SmTCacheStrategy.class/instance/disable.st b/SmartTest.package/SmTCacheStrategy.class/instance/disable.st new file mode 100644 index 0000000..6327a6d --- /dev/null +++ b/SmartTest.package/SmTCacheStrategy.class/instance/disable.st @@ -0,0 +1,5 @@ +private +disable + "If you need something to work" + + \ No newline at end of file diff --git a/SmartTest.package/SmTCacheStrategy.class/instance/enable.st b/SmartTest.package/SmTCacheStrategy.class/instance/enable.st new file mode 100644 index 0000000..8c8013b --- /dev/null +++ b/SmartTest.package/SmTCacheStrategy.class/instance/enable.st @@ -0,0 +1,3 @@ +private +enable + "If you need something to work" \ No newline at end of file diff --git a/SmartTest.package/SmTMethodTestedOnModificationRule.class/README.md b/SmartTest.package/SmTMethodTestedOnModificationRule.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/addToElementBag..st b/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/addToElementBag..st new file mode 100644 index 0000000..6adf3c9 --- /dev/null +++ b/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/addToElementBag..st @@ -0,0 +1,3 @@ +protocol +addToElementBag: anElement + self bag add: anElement \ No newline at end of file diff --git a/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/bag.st b/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/bag.st new file mode 100644 index 0000000..e9fc49d --- /dev/null +++ b/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/bag.st @@ -0,0 +1,3 @@ +protocol +bag + ^ bag ifNil: [ bag := Bag new ] \ No newline at end of file diff --git a/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/disable.st b/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/disable.st new file mode 100644 index 0000000..f1b1809 --- /dev/null +++ b/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/disable.st @@ -0,0 +1,4 @@ +protocol +disable + super disable. + SystemAnnouncer uniqueInstance unsubscribe: self \ No newline at end of file diff --git a/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/enable.st b/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/enable.st new file mode 100644 index 0000000..4b47cdb --- /dev/null +++ b/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/enable.st @@ -0,0 +1,7 @@ +protocol +enable + super enable. + SystemAnnouncer uniqueInstance unsubscribe: self. + {(MethodModified -> #methodModified:). + (MethodAdded -> #methodAdded:)} + do: [ :pair | SystemAnnouncer uniqueInstance weak when: pair key send: pair value to: self ] \ No newline at end of file diff --git a/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/getElementFromBag..st b/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/getElementFromBag..st new file mode 100644 index 0000000..f20c88f --- /dev/null +++ b/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/getElementFromBag..st @@ -0,0 +1,6 @@ +protocol +getElementFromBag: anElement + "return nil if element absent. The object else" + + self bag remove: anElement ifAbsent: [ ^ nil ]. + ^ anElement \ No newline at end of file diff --git a/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/methodAdded..st b/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/methodAdded..st new file mode 100644 index 0000000..b315dbf --- /dev/null +++ b/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/methodAdded..st @@ -0,0 +1,3 @@ +protocol +methodAdded: anAnnouncement + self addToElementBag: anAnnouncement methodAdded \ No newline at end of file diff --git a/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/methodModified..st b/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/methodModified..st new file mode 100644 index 0000000..c898bac --- /dev/null +++ b/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/methodModified..st @@ -0,0 +1,3 @@ +protocol +methodModified: anAnnouncement + self addToElementBag: anAnnouncement newMethod \ No newline at end of file diff --git a/SmartTest.package/SmTMethodTestedOnModificationRule.class/instance/basicCheck..st b/SmartTest.package/SmTMethodTestedOnModificationRule.class/instance/basicCheck..st new file mode 100644 index 0000000..97f8270 --- /dev/null +++ b/SmartTest.package/SmTMethodTestedOnModificationRule.class/instance/basicCheck..st @@ -0,0 +1,4 @@ +accessing +basicCheck: anEntity + ^ (super basicCheck: anEntity) + and: [ (anEntity isKindOf: CompiledMethod) and: [ self class isMethodActivated and: [ (self class getElementFromBag: anEntity) isNotNil ] ] ] \ No newline at end of file diff --git a/SmartTest.package/SmTMethodTestedOnModificationRule.class/instance/name.st b/SmartTest.package/SmTMethodTestedOnModificationRule.class/instance/name.st new file mode 100644 index 0000000..3dd299b --- /dev/null +++ b/SmartTest.package/SmTMethodTestedOnModificationRule.class/instance/name.st @@ -0,0 +1,4 @@ +accessing +name + "Answer a human readable name of the rule." + ^ 'SmartTest Method Tested On modification' \ No newline at end of file diff --git a/SmartTest.package/SmTMethodTestedOnModificationRule.class/properties.json b/SmartTest.package/SmTMethodTestedOnModificationRule.class/properties.json new file mode 100644 index 0000000..bc4c570 --- /dev/null +++ b/SmartTest.package/SmTMethodTestedOnModificationRule.class/properties.json @@ -0,0 +1,15 @@ +{ + "commentStamp" : "", + "super" : "SmTMethodTestedRule", + "category" : "SmartTest-Rules", + "classinstvars" : [ + "bag" + ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ + "bag" + ], + "name" : "SmTMethodTestedOnModificationRule", + "type" : "normal" +} \ No newline at end of file diff --git a/SmartTest.package/SmTMethodTestedRule.class/class/disable.st b/SmartTest.package/SmTMethodTestedRule.class/class/disable.st new file mode 100644 index 0000000..32459fd --- /dev/null +++ b/SmartTest.package/SmTMethodTestedRule.class/class/disable.st @@ -0,0 +1,2 @@ +protocol +disable \ No newline at end of file diff --git a/SmartTest.package/SmTMethodTestedRule.class/class/enable.st b/SmartTest.package/SmTMethodTestedRule.class/class/enable.st new file mode 100644 index 0000000..861d080 --- /dev/null +++ b/SmartTest.package/SmTMethodTestedRule.class/class/enable.st @@ -0,0 +1,2 @@ +protocol +enable \ No newline at end of file diff --git a/SmartTest.package/SmTMethodTestedRule.class/class/isMethodActivated.st b/SmartTest.package/SmTMethodTestedRule.class/class/isMethodActivated.st new file mode 100644 index 0000000..8788b93 --- /dev/null +++ b/SmartTest.package/SmTMethodTestedRule.class/class/isMethodActivated.st @@ -0,0 +1,3 @@ +testing-interest +isMethodActivated + ^ MethodActivated and: [ self methodRuleStrategy = self ] \ No newline at end of file diff --git a/SmartTest.package/SmTMethodTestedRule.class/class/methodRuleStrategy..st b/SmartTest.package/SmTMethodTestedRule.class/class/methodRuleStrategy..st new file mode 100644 index 0000000..e9419d7 --- /dev/null +++ b/SmartTest.package/SmTMethodTestedRule.class/class/methodRuleStrategy..st @@ -0,0 +1,5 @@ +accessing +methodRuleStrategy: aMethodRuleStrategy + methodRuleStrategy disable. + methodRuleStrategy := aMethodRuleStrategy. + aMethodRuleStrategy enable \ No newline at end of file diff --git a/SmartTest.package/SmTMethodTestedRule.class/class/methodRuleStrategy.st b/SmartTest.package/SmTMethodTestedRule.class/class/methodRuleStrategy.st new file mode 100644 index 0000000..d2d9279 --- /dev/null +++ b/SmartTest.package/SmTMethodTestedRule.class/class/methodRuleStrategy.st @@ -0,0 +1,3 @@ +accessing +methodRuleStrategy + ^ methodRuleStrategy ifNil: [ methodRuleStrategy := SmTMethodTestedOnModificationRule ] \ No newline at end of file diff --git a/SmartTest.package/SmTMethodTestedRule.class/class/settingsOn..st b/SmartTest.package/SmTMethodTestedRule.class/class/settingsOn..st index 0b27cf6..a3984db 100644 --- a/SmartTest.package/SmTMethodTestedRule.class/class/settingsOn..st +++ b/SmartTest.package/SmTMethodTestedRule.class/class/settingsOn..st @@ -6,4 +6,11 @@ settingsOn: aBuilder target: self; order: 0.2; label: 'SmartTest method analyse activated'; - description: 'Toogle to activate/disable the analyse for method' \ No newline at end of file + description: 'Toogle to activate/disable the analyse for method'. + (aBuilder pickOne: #methodRuleStrategy) + order: 0.3; + parent: #SmTActivationRenrakuOption; + label: 'Method Rule'; + target: self; + domainValues: SmTMethodTestedRule withAllSubclasses; + description: 'Select Rule strategy to begin the research of element' \ No newline at end of file diff --git a/SmartTest.package/SmTMethodTestedRule.class/instance/basicCheck..st b/SmartTest.package/SmTMethodTestedRule.class/instance/basicCheck..st index 2a71197..6f8642c 100644 --- a/SmartTest.package/SmTMethodTestedRule.class/instance/basicCheck..st +++ b/SmartTest.package/SmTMethodTestedRule.class/instance/basicCheck..st @@ -1,4 +1,3 @@ running basicCheck: anEntity - ^ (super basicCheck: anEntity) - and: [ (anEntity isKindOf: CompiledMethod) and: [ self class methodActivated ] ] \ No newline at end of file + ^ (super basicCheck: anEntity) and: [ (anEntity isKindOf: CompiledMethod) and: [ self class isMethodActivated ] ] \ No newline at end of file diff --git a/SmartTest.package/SmTMethodTestedRule.class/properties.json b/SmartTest.package/SmTMethodTestedRule.class/properties.json index d7e49cf..b9625e4 100644 --- a/SmartTest.package/SmTMethodTestedRule.class/properties.json +++ b/SmartTest.package/SmTMethodTestedRule.class/properties.json @@ -2,7 +2,9 @@ "commentStamp" : "BenoitVerhaeghe 6/28/2017 11:57", "super" : "SmTRules", "category" : "SmartTest-Rules", - "classinstvars" : [ ], + "classinstvars" : [ + "methodRuleStrategy" + ], "pools" : [ ], "classvars" : [ "MethodActivated" From 7fa5c6b3cc06b80bcd8e61ecb2fb7755c0ed7228 Mon Sep 17 00:00:00 2001 From: badetitou Date: Mon, 23 Jul 2018 23:47:25 +0200 Subject: [PATCH 134/150] pre enable --- .../SmTMethodTestedRule.class/class/methodRuleStrategy.st | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SmartTest.package/SmTMethodTestedRule.class/class/methodRuleStrategy.st b/SmartTest.package/SmTMethodTestedRule.class/class/methodRuleStrategy.st index d2d9279..cfef0a2 100644 --- a/SmartTest.package/SmTMethodTestedRule.class/class/methodRuleStrategy.st +++ b/SmartTest.package/SmTMethodTestedRule.class/class/methodRuleStrategy.st @@ -1,3 +1,3 @@ accessing methodRuleStrategy - ^ methodRuleStrategy ifNil: [ methodRuleStrategy := SmTMethodTestedOnModificationRule ] \ No newline at end of file + ^ methodRuleStrategy ifNil: [ methodRuleStrategy := SmTMethodTestedOnModificationRule. methodRuleStrategy enable ] \ No newline at end of file From ab6db6c2574c329f2229e0a4388472e1fbc88770 Mon Sep 17 00:00:00 2001 From: badetitou Date: Mon, 23 Jul 2018 23:53:42 +0200 Subject: [PATCH 135/150] fix access to global variable --- .../SmTMethodTestedRule.class/class/isMethodActivated.st | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SmartTest.package/SmTMethodTestedRule.class/class/isMethodActivated.st b/SmartTest.package/SmTMethodTestedRule.class/class/isMethodActivated.st index 8788b93..37713f1 100644 --- a/SmartTest.package/SmTMethodTestedRule.class/class/isMethodActivated.st +++ b/SmartTest.package/SmTMethodTestedRule.class/class/isMethodActivated.st @@ -1,3 +1,3 @@ testing-interest isMethodActivated - ^ MethodActivated and: [ self methodRuleStrategy = self ] \ No newline at end of file + ^ self methodActivated and: [ self methodRuleStrategy = self ] \ No newline at end of file From 89cde0c2a57639ca91e6c1cc0d6ecd979d2bebc8 Mon Sep 17 00:00:00 2001 From: badetitou Date: Mon, 23 Jul 2018 23:57:46 +0200 Subject: [PATCH 136/150] add unload rule --- .../SmTBigButtonCollector.class/class/unload.st | 3 +++ SmartTest-UI.package/monticello.meta/categories.st | 8 ++++---- .../SmTClassTestedRule.class/class/unload.st | 3 +++ .../SmTMethodTestedRule.class/class/unload.st | 3 +++ SmartTest.package/SmTRules.class/class/unload.st | 3 +++ 5 files changed, 16 insertions(+), 4 deletions(-) create mode 100644 SmartTest-UI.package/SmTBigButtonCollector.class/class/unload.st create mode 100644 SmartTest.package/SmTClassTestedRule.class/class/unload.st create mode 100644 SmartTest.package/SmTMethodTestedRule.class/class/unload.st create mode 100644 SmartTest.package/SmTRules.class/class/unload.st diff --git a/SmartTest-UI.package/SmTBigButtonCollector.class/class/unload.st b/SmartTest-UI.package/SmTBigButtonCollector.class/class/unload.st new file mode 100644 index 0000000..01ad23e --- /dev/null +++ b/SmartTest-UI.package/SmTBigButtonCollector.class/class/unload.st @@ -0,0 +1,3 @@ +initialize - release +unload + self activated: false \ No newline at end of file diff --git a/SmartTest-UI.package/monticello.meta/categories.st b/SmartTest-UI.package/monticello.meta/categories.st index fcc99c8..353c91a 100644 --- a/SmartTest-UI.package/monticello.meta/categories.st +++ b/SmartTest-UI.package/monticello.meta/categories.st @@ -1,5 +1,5 @@ SystemOrganization addCategory: #'SmartTest-UI'! -SystemOrganization addCategory: 'SmartTest-UI-CalypsoExtension'! -SystemOrganization addCategory: 'SmartTest-UI-Collector'! -SystemOrganization addCategory: 'SmartTest-UI-Morph'! -SystemOrganization addCategory: 'SmartTest-UI-Tools'! +SystemOrganization addCategory: #'SmartTest-UI-CalypsoExtension'! +SystemOrganization addCategory: #'SmartTest-UI-Collector'! +SystemOrganization addCategory: #'SmartTest-UI-Morph'! +SystemOrganization addCategory: #'SmartTest-UI-Tools'! diff --git a/SmartTest.package/SmTClassTestedRule.class/class/unload.st b/SmartTest.package/SmTClassTestedRule.class/class/unload.st new file mode 100644 index 0000000..03c404c --- /dev/null +++ b/SmartTest.package/SmTClassTestedRule.class/class/unload.st @@ -0,0 +1,3 @@ +testing-interest +unload + \ No newline at end of file diff --git a/SmartTest.package/SmTMethodTestedRule.class/class/unload.st b/SmartTest.package/SmTMethodTestedRule.class/class/unload.st new file mode 100644 index 0000000..51f3b8a --- /dev/null +++ b/SmartTest.package/SmTMethodTestedRule.class/class/unload.st @@ -0,0 +1,3 @@ +initialization-release +unload + self disable \ No newline at end of file diff --git a/SmartTest.package/SmTRules.class/class/unload.st b/SmartTest.package/SmTRules.class/class/unload.st new file mode 100644 index 0000000..e3b94ca --- /dev/null +++ b/SmartTest.package/SmTRules.class/class/unload.st @@ -0,0 +1,3 @@ +initialize - release +unload + self testFinder clean \ No newline at end of file From c0d36334c7f6b994cd0a1407d993de37f61135a3 Mon Sep 17 00:00:00 2001 From: badetitou Date: Tue, 24 Jul 2018 00:12:01 +0200 Subject: [PATCH 137/150] Stop bockUI --- .../SmTBigButtonCollector.class/instance/methodModified..st | 5 +++-- .../instance/searchTestsForASetUpMethod..st | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/SmartTest-UI.package/SmTBigButtonCollector.class/instance/methodModified..st b/SmartTest-UI.package/SmTBigButtonCollector.class/instance/methodModified..st index 1e8e28c..92c0900 100644 --- a/SmartTest-UI.package/SmTBigButtonCollector.class/instance/methodModified..st +++ b/SmartTest-UI.package/SmTBigButtonCollector.class/instance/methodModified..st @@ -1,7 +1,8 @@ accessing methodModified: anAnnouncement - | listOfTest | + + [| listOfTest | listOfTest := (SmTRules testFinder findTestsForMethod: anAnnouncement newMethod) collect: #methodReference. self collector addAll: listOfTest. - self updateUIAfterAddingMethod: listOfTest. \ No newline at end of file + self updateUIAfterAddingMethod: listOfTest.] forkAt: 20 named: 'BigButton' \ No newline at end of file diff --git a/SmartTest.package/SmartFinder.class/instance/searchTestsForASetUpMethod..st b/SmartTest.package/SmartFinder.class/instance/searchTestsForASetUpMethod..st index de42585..1256e7f 100644 --- a/SmartTest.package/SmartFinder.class/instance/searchTestsForASetUpMethod..st +++ b/SmartTest.package/SmartFinder.class/instance/searchTestsForASetUpMethod..st @@ -1,3 +1,3 @@ api searchTestsForASetUpMethod: aCompiledMethod - ^ self smtFinder searchTestsForASetUpMethod: aCompiledMethod \ No newline at end of file + ^ self smtFinder searchTestsForASetUpMethod: aCompiledMethod. \ No newline at end of file From 8769e3c30c0f8de2ee6e8579efe1d27eed766d37 Mon Sep 17 00:00:00 2001 From: badetitou Date: Tue, 24 Jul 2018 00:20:19 +0200 Subject: [PATCH 138/150] remove deprecated method --- .../SmTRunnerStrategy.class/class/runCase.notifyIcon..st | 1 + .../instance/doFindTestsForMethod..st | 5 +++-- .../instance/doFindTestsForMethod..st | 6 ------ .../instance/doFindTestsForMethod..st | 7 ------- .../instance/doFindTestsForMethod..st | 6 ------ .../instance/doFindTestsForMethod..st | 3 --- .../instance/findTestsForMethod..st | 2 +- 7 files changed, 5 insertions(+), 25 deletions(-) delete mode 100644 SmartTest.package/SmTTestingStrategyAlways.class/instance/doFindTestsForMethod..st delete mode 100644 SmartTest.package/SmTTestingStrategyEachModification.class/instance/doFindTestsForMethod..st delete mode 100644 SmartTest.package/SmTTestingStrategyFiveMinutes.class/instance/doFindTestsForMethod..st delete mode 100644 SmartTest.package/SmTTestingStrategyNever.class/instance/doFindTestsForMethod..st diff --git a/SmartTest.package/SmTRunnerStrategy.class/class/runCase.notifyIcon..st b/SmartTest.package/SmTRunnerStrategy.class/class/runCase.notifyIcon..st index 9b31600..5290675 100644 --- a/SmartTest.package/SmTRunnerStrategy.class/class/runCase.notifyIcon..st +++ b/SmartTest.package/SmTRunnerStrategy.class/class/runCase.notifyIcon..st @@ -1,6 +1,7 @@ action runCase: aTestMethod notifyIcon: anIcon | aTestResult | + aTestResult := TestResult new. [ aTestResult runCaseForDebug: aTestMethod ] ensure: [ anIcon labelGraphic: (self iconForTestResultOf: aTestResult) ]. diff --git a/SmartTest.package/SmTTestingStrategy.class/instance/doFindTestsForMethod..st b/SmartTest.package/SmTTestingStrategy.class/instance/doFindTestsForMethod..st index d21859b..d7bb1b1 100644 --- a/SmartTest.package/SmTTestingStrategy.class/instance/doFindTestsForMethod..st +++ b/SmartTest.package/SmTTestingStrategy.class/instance/doFindTestsForMethod..st @@ -1,4 +1,5 @@ instance creation doFindTestsForMethod: aMethod - - self subclassResponsibility \ No newline at end of file + self + deprecated: 'Please use #findTestsForMethod: instead' + transformWith: '`@receiver doFindTestsForMethod: `@statements' -> '`@receiver findTestsForMethod: `@statements'. \ No newline at end of file diff --git a/SmartTest.package/SmTTestingStrategyAlways.class/instance/doFindTestsForMethod..st b/SmartTest.package/SmTTestingStrategyAlways.class/instance/doFindTestsForMethod..st deleted file mode 100644 index 0af584a..0000000 --- a/SmartTest.package/SmTTestingStrategyAlways.class/instance/doFindTestsForMethod..st +++ /dev/null @@ -1,6 +0,0 @@ -instance creation -doFindTestsForMethod: aCompiledMethod - | tests | - tests := self getMethodsFor: aCompiledMethod. - self runner runCases: tests. - ^ tests \ No newline at end of file diff --git a/SmartTest.package/SmTTestingStrategyEachModification.class/instance/doFindTestsForMethod..st b/SmartTest.package/SmTTestingStrategyEachModification.class/instance/doFindTestsForMethod..st deleted file mode 100644 index 094d29e..0000000 --- a/SmartTest.package/SmTTestingStrategyEachModification.class/instance/doFindTestsForMethod..st +++ /dev/null @@ -1,7 +0,0 @@ -instance creation -doFindTestsForMethod: aCompiledMethod - | tests | - tests := self getMethodsFor: aCompiledMethod. - (self getElementFromBag: aCompiledMethod) - ifNotNil: [ self runner runCases: tests ]. - ^ tests \ No newline at end of file diff --git a/SmartTest.package/SmTTestingStrategyFiveMinutes.class/instance/doFindTestsForMethod..st b/SmartTest.package/SmTTestingStrategyFiveMinutes.class/instance/doFindTestsForMethod..st deleted file mode 100644 index a3d83b4..0000000 --- a/SmartTest.package/SmTTestingStrategyFiveMinutes.class/instance/doFindTestsForMethod..st +++ /dev/null @@ -1,6 +0,0 @@ -instance creation -doFindTestsForMethod: aCompiledMethod - | tests| - tests := self getMethodsFor: aCompiledMethod. - SmTFivesMinutesCollector addTestMethods: tests. - ^ tests \ No newline at end of file diff --git a/SmartTest.package/SmTTestingStrategyNever.class/instance/doFindTestsForMethod..st b/SmartTest.package/SmTTestingStrategyNever.class/instance/doFindTestsForMethod..st deleted file mode 100644 index 3902a80..0000000 --- a/SmartTest.package/SmTTestingStrategyNever.class/instance/doFindTestsForMethod..st +++ /dev/null @@ -1,3 +0,0 @@ -instance creation -doFindTestsForMethod: aCompiledMethod - ^ self getMethodsFor: aCompiledMethod \ No newline at end of file diff --git a/SmartTest.package/SmTTestingStrategyNever.class/instance/findTestsForMethod..st b/SmartTest.package/SmTTestingStrategyNever.class/instance/findTestsForMethod..st index 24d2a3e..0e3832c 100644 --- a/SmartTest.package/SmTTestingStrategyNever.class/instance/findTestsForMethod..st +++ b/SmartTest.package/SmTTestingStrategyNever.class/instance/findTestsForMethod..st @@ -1,3 +1,3 @@ instance creation findTestsForMethod: aCompiledMethod - ^ self doFindTestsForMethod: aCompiledMethod \ No newline at end of file + ^ self getMethodsFor: aCompiledMethod \ No newline at end of file From 87814a76a1d13bdeaa4deee01bcf00b78d01b72d Mon Sep 17 00:00:00 2001 From: badetitou Date: Tue, 24 Jul 2018 00:25:14 +0200 Subject: [PATCH 139/150] Add comment and deprecated useless method --- .../SmTBasicCacheStrategy.class/instance/currentCache.st | 2 +- .../SmartFinder.class/instance/doFindTestsForMethod..st | 4 +++- .../SmartFinder.class/instance/findTestsForMethod..st | 2 ++ .../SmartFinder.class/instance/researchTestsForMethod..st | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/SmartTest.package/SmTBasicCacheStrategy.class/instance/currentCache.st b/SmartTest.package/SmTBasicCacheStrategy.class/instance/currentCache.st index 15c0bfd..08e8c1a 100644 --- a/SmartTest.package/SmTBasicCacheStrategy.class/instance/currentCache.st +++ b/SmartTest.package/SmTBasicCacheStrategy.class/instance/currentCache.st @@ -1,3 +1,3 @@ accessing currentCache - ^ cache \ No newline at end of file + ^ cache \ No newline at end of file diff --git a/SmartTest.package/SmartFinder.class/instance/doFindTestsForMethod..st b/SmartTest.package/SmartFinder.class/instance/doFindTestsForMethod..st index 50a5f6e..0382bc1 100644 --- a/SmartTest.package/SmartFinder.class/instance/doFindTestsForMethod..st +++ b/SmartTest.package/SmartFinder.class/instance/doFindTestsForMethod..st @@ -1,4 +1,6 @@ api doFindTestsForMethod: aCollection - ^ self testingStrategy doFindTestsForMethod: aCollection \ No newline at end of file + self + deprecated: 'Please use #findTestsForMethod: instead' + transformWith: '`@receiver doFindTestsForMethod: `@statements' -> '`@receiver findTestsForMethod: `@statements'. \ No newline at end of file diff --git a/SmartTest.package/SmartFinder.class/instance/findTestsForMethod..st b/SmartTest.package/SmartFinder.class/instance/findTestsForMethod..st index 80a087e..a519ae2 100644 --- a/SmartTest.package/SmartFinder.class/instance/findTestsForMethod..st +++ b/SmartTest.package/SmartFinder.class/instance/findTestsForMethod..st @@ -1,4 +1,6 @@ api findTestsForMethod: aCompiledMethod + "This is the api for QA (use the testing strategy, the rule strategy etc.) + If you only want to find the tests, please consider using #researchTestsForMethod:" ^ self testingStrategy findTestsForMethod: aCompiledMethod \ No newline at end of file diff --git a/SmartTest.package/SmartFinder.class/instance/researchTestsForMethod..st b/SmartTest.package/SmartFinder.class/instance/researchTestsForMethod..st index eacc0b6..b98b447 100644 --- a/SmartTest.package/SmartFinder.class/instance/researchTestsForMethod..st +++ b/SmartTest.package/SmartFinder.class/instance/researchTestsForMethod..st @@ -1,4 +1,4 @@ api researchTestsForMethod: aCompiledMethod - + "If you only want to find the tests" ^ self smtFinder methodsFor: aCompiledMethod. \ No newline at end of file From 0efadc4b0c48802dc643f573d0afed211508ab4d Mon Sep 17 00:00:00 2001 From: badetitou Date: Tue, 24 Jul 2018 00:28:14 +0200 Subject: [PATCH 140/150] fix usage of all the smartFinder for the BigButton instead of only the research of the tests --- .../SmTBigButtonCollector.class/instance/methodModified..st | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SmartTest-UI.package/SmTBigButtonCollector.class/instance/methodModified..st b/SmartTest-UI.package/SmTBigButtonCollector.class/instance/methodModified..st index 92c0900..a05c3e5 100644 --- a/SmartTest-UI.package/SmTBigButtonCollector.class/instance/methodModified..st +++ b/SmartTest-UI.package/SmTBigButtonCollector.class/instance/methodModified..st @@ -2,7 +2,7 @@ accessing methodModified: anAnnouncement [| listOfTest | - listOfTest := (SmTRules testFinder findTestsForMethod: anAnnouncement newMethod) collect: #methodReference. + listOfTest := SmTRules testFinder researchTestsForMethod: anAnnouncement newMethod. self collector addAll: listOfTest. self updateUIAfterAddingMethod: listOfTest.] forkAt: 20 named: 'BigButton' \ No newline at end of file From f2afeac02bd74ff0d236bc2c83d5c1be4fda227e Mon Sep 17 00:00:00 2001 From: badetitou Date: Tue, 24 Jul 2018 00:38:19 +0200 Subject: [PATCH 141/150] change deprecated to new one --- .../SmTButtonResultWindow.class/properties.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SmartTest-UI.package/SmTButtonResultWindow.class/properties.json b/SmartTest-UI.package/SmTButtonResultWindow.class/properties.json index 7a12fc3..5ce53c0 100644 --- a/SmartTest-UI.package/SmTButtonResultWindow.class/properties.json +++ b/SmartTest-UI.package/SmTButtonResultWindow.class/properties.json @@ -1,6 +1,6 @@ { "commentStamp" : "EleonoreWALD 5/2/2018 10:22", - "super" : "ComposableModel", + "super" : "ComposablePresenter", "category" : "SmartTest-UI-Morph", "classinstvars" : [ ], "pools" : [ ], From 6ba387abfe26f31c098a9a0fa0acc98371e2f84a Mon Sep 17 00:00:00 2001 From: badetitou Date: Tue, 24 Jul 2018 00:39:51 +0200 Subject: [PATCH 142/150] super super long time for travis --- .../SmTFinderAbstractTest.class/instance/setUp.st | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/setUp.st b/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/setUp.st index 8728ade..a70a11e 100644 --- a/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/setUp.st +++ b/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/setUp.st @@ -1,7 +1,7 @@ running setUp super setUp. - self timeLimit: 30 seconds. "super long time for travis CI" + self timeLimit: 45 seconds. "super super long time for travis CI" smartFinder := SmartFinder new. smartFinder filter: SmTDefaultClassPackagesFilter new. testMethod1 := (SmTClassTest >> #testMethod1) asRingDefinition. From 069aec5895030642c92fdf8f9b537d2f951d53c0 Mon Sep 17 00:00:00 2001 From: badetitou Date: Tue, 24 Jul 2018 00:45:40 +0200 Subject: [PATCH 143/150] annotate useless method --- .../instance/methodsFor.forThePackage..st | 2 ++ 1 file changed, 2 insertions(+) diff --git a/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/methodsFor.forThePackage..st b/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/methodsFor.forThePackage..st index f9327f5..c0edec8 100644 --- a/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/methodsFor.forThePackage..st +++ b/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/methodsFor.forThePackage..st @@ -1,5 +1,7 @@ api methodsFor: aCompiledMethod forThePackage: packages + self flag: '24 july 2018 - What is this method ? If useless i or from another project i will remove it'. + ^ self cache at: aCompiledMethod methodReference ifAbsent: [ (self searchTestsForATestMethod: aCompiledMethod) From 8a562bbe4740889a7528735c835cc1d657cc9573 Mon Sep 17 00:00:00 2001 From: badetitou Date: Tue, 24 Jul 2018 00:58:51 +0200 Subject: [PATCH 144/150] try possible little optimisation --- .../SmTBasicCacheStrategy.class/instance/at.ifPresent..st | 3 +++ .../SmTCacheStrategy.class/instance/at.ifPresent..st | 3 +++ .../SmTNoCacheStrategy.class/instance/at.ifPresent..st | 3 +++ ...rsiveSearchForAStandardMethod.inPackages.alreadyVisited..st | 1 + 4 files changed, 10 insertions(+) create mode 100644 SmartTest.package/SmTBasicCacheStrategy.class/instance/at.ifPresent..st create mode 100644 SmartTest.package/SmTCacheStrategy.class/instance/at.ifPresent..st create mode 100644 SmartTest.package/SmTNoCacheStrategy.class/instance/at.ifPresent..st diff --git a/SmartTest.package/SmTBasicCacheStrategy.class/instance/at.ifPresent..st b/SmartTest.package/SmTBasicCacheStrategy.class/instance/at.ifPresent..st new file mode 100644 index 0000000..4660ebd --- /dev/null +++ b/SmartTest.package/SmTBasicCacheStrategy.class/instance/at.ifPresent..st @@ -0,0 +1,3 @@ +accessing +at: key ifPresent: aPresentBlock + ^ self currentCache at: key ifPresent: aPresentBlock \ No newline at end of file diff --git a/SmartTest.package/SmTCacheStrategy.class/instance/at.ifPresent..st b/SmartTest.package/SmTCacheStrategy.class/instance/at.ifPresent..st new file mode 100644 index 0000000..7ae4246 --- /dev/null +++ b/SmartTest.package/SmTCacheStrategy.class/instance/at.ifPresent..st @@ -0,0 +1,3 @@ +accessing +at: key ifPresent: aPresentBlock + self subclassResponsibility \ No newline at end of file diff --git a/SmartTest.package/SmTNoCacheStrategy.class/instance/at.ifPresent..st b/SmartTest.package/SmTNoCacheStrategy.class/instance/at.ifPresent..st new file mode 100644 index 0000000..e532dde --- /dev/null +++ b/SmartTest.package/SmTNoCacheStrategy.class/instance/at.ifPresent..st @@ -0,0 +1,3 @@ +accessing +at: aMethodReference ifPresent: aPresentBlock + ^ nil \ No newline at end of file diff --git a/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAStandardMethod.inPackages.alreadyVisited..st b/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAStandardMethod.inPackages.alreadyVisited..st index 8c4c18f..3f09e2c 100644 --- a/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAStandardMethod.inPackages.alreadyVisited..st +++ b/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAStandardMethod.inPackages.alreadyVisited..st @@ -1,6 +1,7 @@ private - search recursiveSearchForAStandardMethod: aRGMethodDefinition inPackages: packages alreadyVisited: alreadyVisitedMethods | foundMethods | + self cache at: aRGMethodDefinition ifPresent: [ :a | ^ a ]. foundMethods := Set new. (self collectSenderOfRGMethodeDefintion: aRGMethodDefinition) reject: [ :aSenderMethod | From fc5d6f9d5b8d8562ff12572f1ffed1b240b50c6f Mon Sep 17 00:00:00 2001 From: badetitou Date: Tue, 24 Jul 2018 01:04:51 +0200 Subject: [PATCH 145/150] remove useless method --- .../instance/doFindTestsForMethod..st | 5 ----- .../SmartFinder.class/instance/doFindTestsForMethod..st | 6 ------ 2 files changed, 11 deletions(-) delete mode 100644 SmartTest.package/SmTTestingStrategy.class/instance/doFindTestsForMethod..st delete mode 100644 SmartTest.package/SmartFinder.class/instance/doFindTestsForMethod..st diff --git a/SmartTest.package/SmTTestingStrategy.class/instance/doFindTestsForMethod..st b/SmartTest.package/SmTTestingStrategy.class/instance/doFindTestsForMethod..st deleted file mode 100644 index d7bb1b1..0000000 --- a/SmartTest.package/SmTTestingStrategy.class/instance/doFindTestsForMethod..st +++ /dev/null @@ -1,5 +0,0 @@ -instance creation -doFindTestsForMethod: aMethod - self - deprecated: 'Please use #findTestsForMethod: instead' - transformWith: '`@receiver doFindTestsForMethod: `@statements' -> '`@receiver findTestsForMethod: `@statements'. \ No newline at end of file diff --git a/SmartTest.package/SmartFinder.class/instance/doFindTestsForMethod..st b/SmartTest.package/SmartFinder.class/instance/doFindTestsForMethod..st deleted file mode 100644 index 0382bc1..0000000 --- a/SmartTest.package/SmartFinder.class/instance/doFindTestsForMethod..st +++ /dev/null @@ -1,6 +0,0 @@ -api -doFindTestsForMethod: aCollection - - self - deprecated: 'Please use #findTestsForMethod: instead' - transformWith: '`@receiver doFindTestsForMethod: `@statements' -> '`@receiver findTestsForMethod: `@statements'. \ No newline at end of file From 04e95a1b03dbc18768edc9ba8f23859e60f55444 Mon Sep 17 00:00:00 2001 From: badetitou Date: Wed, 15 Aug 2018 16:49:35 +0200 Subject: [PATCH 146/150] add config --- .project | 3 +++ src/.properties | 3 +++ 2 files changed, 6 insertions(+) create mode 100644 .project create mode 100644 src/.properties diff --git a/.project b/.project new file mode 100644 index 0000000..81083cc --- /dev/null +++ b/.project @@ -0,0 +1,3 @@ +{ + 'srcDirectory' : 'src' +} \ No newline at end of file diff --git a/src/.properties b/src/.properties new file mode 100644 index 0000000..c2bedd4 --- /dev/null +++ b/src/.properties @@ -0,0 +1,3 @@ +{ + #format : #filetree +} \ No newline at end of file From 6070fc09f7ecca69c128896b6148382aa64eaff3 Mon Sep 17 00:00:00 2001 From: badetitou Date: Wed, 15 Aug 2018 16:49:57 +0200 Subject: [PATCH 147/150] try convert --- src/BaselineOfSmartTest.package/.filetree | 5 + .../BaselineOfSmartTest.class/README.md | 0 .../instance/baseline..st | 8 ++ .../instance/defineDependencies..st | 2 + .../instance/defineGroups..st | 5 + .../instance/definePackages..st | 12 +++ .../BaselineOfSmartTest.class/properties.json | 11 +++ .../monticello.meta/categories.st | 1 + .../monticello.meta/initializers.st | 0 .../monticello.meta/package | 1 + .../properties.json | 1 + .../.filetree | 5 + .../ConfigurationOfSmartTest.class/README.md | 0 .../class/DevelopmentSupport.st | 4 + .../class/baseConfigurationClassIfAbsent..st | 6 ++ .../class/ensureMetacello.st | 3 + .../class/ensureMetacelloBaseConfiguration.st | 15 +++ .../class/isMetacelloConfig.st | 3 + .../class/load.st | 4 + .../class/loadBleedingEdge.st | 4 + .../class/loadDevelopment.st | 4 + .../class/project.st | 3 + .../class/validate.st | 8 ++ .../instance/customProjectAttributes.st | 3 + .../instance/dev01..st | 10 ++ .../instance/development..st | 5 + .../instance/master..st | 8 ++ .../instance/project.st | 14 +++ .../instance/stable..st | 5 + .../properties.json | 15 +++ .../monticello.meta/categories.st | 1 + .../monticello.meta/initializers.st | 0 .../monticello.meta/package | 1 + .../properties.json | 1 + src/SmartTest-Tests-Data.package/.filetree | 5 + .../SmTClass.class/README.md | 4 + .../SmTClass.class/instance/method1.st | 5 + .../SmTClass.class/instance/method2.st | 4 + .../SmTClass.class/instance/method3..st | 5 + .../SmTClass.class/instance/method4.st | 4 + .../SmTClass.class/properties.json | 14 +++ .../SmTClass2.class/README.md | 4 + .../SmTClass2.class/instance/initialize.st | 3 + .../SmTClass2.class/properties.json | 14 +++ .../SmTClassTest.class/README.md | 3 + .../SmTClassTest.class/instance/setUp.st | 3 + .../SmTClassTest.class/instance/tearDown.st | 3 + .../instance/testMethod1.st | 5 + .../instance/testMethod2.st | 5 + .../instance/testMethod3.st | 5 + .../instance/testMethod4.st | 5 + .../instance/testMethod5.st | 3 + .../SmTClassTest.class/properties.json | 11 +++ .../SmTInheritClassTest.class/README.md | 2 + .../instance/setUp.st | 3 + .../SmTInheritClassTest.class/properties.json | 11 +++ .../SmTSuperClassTest.class/README.md | 2 + .../class/isAbstract.st | 4 + .../instance/testMethod1.st | 4 + .../SmTSuperClassTest.class/properties.json | 13 +++ .../monticello.meta/categories.st | 1 + .../monticello.meta/initializers.st | 0 .../monticello.meta/package | 1 + .../properties.json | 1 + src/SmartTest-Tests.package/.filetree | 5 + .../README.md | 1 + .../instance/cacheStrategy.st | 3 + .../properties.json | 11 +++ .../README.md | 1 + .../instance/cacheStrategy.st | 3 + .../properties.json | 11 +++ .../README.md | 1 + .../instance/cacheStrategy.st | 3 + .../properties.json | 11 +++ .../README.md | 1 + .../instance/cacheStrategy.st | 3 + .../properties.json | 11 +++ .../README.md | 1 + .../class/isAbstract.st | 3 + .../instance/dynamicFinder.st | 3 + .../testRunningTestMethod1ToBuildCache.st | 12 +++ .../testRunningTestMethod2ToBuildCache.st | 36 +++++++ .../testRunningTestMethod5ToBuildCache.st | 11 +++ .../properties.json | 11 +++ .../SmTCacheBuilderTest.class/README.md | 1 + .../class/isAbstract.st | 4 + .../instance/cacheStrategy.st | 3 + .../instance/dynamicFinder.st | 3 + .../instance/searchTestMethodsFor..st | 4 + .../instance/setUp.st | 10 ++ .../instance/tearDown.st | 5 + ...chTestsForStandardMethodWhileEmptyCache.st | 9 ++ .../testRunningTestMethod1ToBuildCache.st | 11 +++ .../testRunningTestMethod2ToBuildCache.st | 14 +++ .../testRunningTestMethod5ToBuildCache.st | 12 +++ .../SmTCacheBuilderTest.class/properties.json | 14 +++ .../README.md | 1 + .../instance/cacheStrategy.st | 3 + .../properties.json | 11 +++ .../README.md | 1 + .../instance/cacheStrategy.st | 3 + .../properties.json | 11 +++ .../README.md | 1 + .../instance/cacheStrategy.st | 3 + .../properties.json | 11 +++ .../README.md | 1 + .../instance/cacheStrategy.st | 3 + .../properties.json | 11 +++ .../README.md | 1 + .../class/isAbstract.st | 3 + .../instance/dynamicFinder.st | 3 + .../properties.json | 11 +++ .../SmTCacheNeverResetTest.class/README.md | 0 .../instance/strategyTested.st | 3 + .../properties.json | 11 +++ .../README.md | 0 .../instance/strategyTested.st | 3 + .../instance/testResetAfter5MethodChange.st | 12 +++ .../properties.json | 11 +++ .../README.md | 0 .../instance/strategyTested.st | 3 + .../instance/testResetAfter1Commit.st | 6 ++ .../properties.json | 11 +++ .../SmTCacheResetOnDemandTest.class/README.md | 0 .../instance/strategyTested.st | 3 + .../instance/testResetAfter1Commit.st | 5 + .../instance/testResetAfter1MethodChange.st | 5 + .../instance/testResetAfter4MethodChange.st | 9 ++ .../instance/testResetAfter5MethodChange.st | 9 ++ .../properties.json | 11 +++ .../SmTCacheTest.class/README.md | 5 + .../SmTCacheTest.class/class/isAbstract.st | 3 + .../SmTCacheTest.class/instance/initCache.st | 33 +++++++ .../SmTCacheTest.class/instance/setUp.st | 11 +++ .../instance/strategyTested.st | 3 + .../instance/testInitCache.st | 3 + .../instance/testResetAfter1Commit.st | 5 + .../instance/testResetAfter1MethodChange.st | 5 + .../instance/testResetAfter4MethodChange.st | 8 ++ .../instance/testResetAfter5MethodChange.st | 9 ++ .../SmTCacheTest.class/properties.json | 14 +++ .../README.md | 0 .../instance/initCache.st | 33 +++++++ .../instance/setUp.st | 10 ++ .../instance/tearDown.st | 3 + .../instance/testModificationOnTest.st | 10 ++ .../instance/testTestSelfSelected.st | 10 ++ .../properties.json | 11 +++ .../README.md | 0 .../instance/initCache.st | 33 +++++++ .../instance/setUp.st | 10 ++ .../instance/tearDown.st | 3 + .../instance/testModificationOnTest.st | 10 ++ .../instance/testTestSelfSelected.st | 10 ++ .../properties.json | 11 +++ .../README.md | 0 .../instance/initCache.st | 33 +++++++ .../instance/setUp.st | 10 ++ .../instance/tearDown.st | 3 + .../instance/testModificationOnTest.st | 10 ++ .../instance/testTestSelfSelected.st | 10 ++ .../properties.json | 11 +++ .../README.md | 1 + .../instance/initCache.st | 33 +++++++ .../instance/setUp.st | 10 ++ .../instance/tearDown.st | 3 + .../instance/testModificationOnTest.st | 10 ++ .../instance/testTestSelfSelected.st | 10 ++ .../properties.json | 11 +++ .../README.md | 1 + .../instance/initCache.st | 32 ++++++ .../instance/setUp.st | 10 ++ .../properties.json | 11 +++ .../SmTFilterAbstractTest.class/README.md | 46 +++++++++ .../class/isAbstract.st | 4 + .../instanceVariableNamed.fromClass..st | 3 + .../instance/searchTestMethodsFor..st | 4 + .../instance/searchTestMethodsForAClass..st | 4 + .../searchTestsForInstVar.ofClass..st | 3 + .../instance/setUp.st | 22 +++++ .../instance/tearDown.st | 4 + ...assAbstractTestCaseDoesntRedefineMethod.st | 10 ++ ...estClassAbstractTestCaseRedefinesMethod.st | 8 ++ .../instance/testClassInheritanceSubClass1.st | 8 ++ .../instance/testClassInsidePackageWithRef.st | 8 ++ .../testClassOutsidePackageWithRef.st | 8 ++ .../instance/testClassSimpleTestCase.st | 8 ++ .../instance/testClassTestsInside.st | 7 ++ ...tExtensionMethodFirstLevelSendersInside.st | 7 ++ ...ExtensionMethodFirstLevelSendersOutside.st | 7 ++ ...ExtensionMethodSecondLevelSendersInside.st | 8 ++ .../instance/testExtensionTestInside.st | 8 ++ .../instance/testInstVarInsideClass.st | 9 ++ .../instance/testInstVarInsidePackage.st | 9 ++ .../instance/testInstVarOutsidePackage.st | 9 ++ ...ardMethodFirstLevelSendersInsidePackage.st | 13 +++ ...rdMethodFirstLevelSendersOutsidePackage.st | 13 +++ ...evelSendersOutsidePackageWithRefInClass.st | 12 +++ ...velSendersOutsidePackageWithRefInMethod.st | 12 +++ ...elSendersOutsidePackageWithRefInPackage.st | 13 +++ ...LevelSendersInsidePackageWithTestInside.st | 14 +++ ...evelSendersInsidePackageWithTestOutside.st | 13 +++ ...lSendersInsideTestOutsideWithRefInClass.st | 13 +++ ...SendersInsideTestOutsideWithRefInMethod.st | 13 +++ ...endersInsideTestOutsideWithRefInPackage.st | 13 +++ ...evelSendersOutsidePackageWithTestInside.st | 14 +++ ...velSendersOutsidePackageWithTestOutside.st | 13 +++ ...lSendersOutsideTestInsideWithRefInClass.st | 13 +++ ...SendersOutsideTestInsideWithRefInMethod.st | 13 +++ ...endersOutsideTestInsideWithRefInPackage.st | 13 +++ ...endersOutsideTestOutsideWithRefInMethod.st | 14 +++ .../properties.json | 20 ++++ .../SmTFinderAbstractTest.class/README.md | 7 ++ .../class/isAbstract.st | 4 + .../instance/searchTestMethodsFor..st | 4 + .../instance/searchTestsForASetUpMethod..st | 3 + .../searchTestsForATearDownMethod..st | 3 + .../instance/searchTestsForATestMethod..st | 3 + .../instance/setUp.st | 12 +++ .../instance/tearDown.st | 6 ++ .../instance/testInheritance.st | 9 ++ .../instance/testModificationOnInitialize.st | 16 +++ .../instance/testModificationOnTest.st | 10 ++ .../instance/testSetupMethodFindsTests.st | 12 +++ ...testSetupMethodWithNonSetupFindsNoTests.st | 8 ++ .../testStandardMethodFirstLevelSenders.st | 9 ++ .../testStandardMethodSecondLevelSenders.st | 10 ++ .../testStandardMethodThirdLevelSenders.st | 10 ++ .../instance/testTearDownMethodFindsTests.st | 11 +++ ...rDownMethodWithNoneTearDownFindsNoTests.st | 5 + .../instance/testTestSelfSelected.st | 10 ++ .../properties.json | 22 +++++ .../SmTOnModificationTest.class/README.md | 1 + .../instance/setUp.st | 4 + .../instance/tearDown.st | 4 + .../instance/testAdd.st | 10 ++ .../instance/testGet.st | 16 +++ .../properties.json | 13 +++ .../SmTRunnerTest.class/README.md | 1 + .../SmTRunnerTest.class/instance/noop.st | 3 + .../SmTRunnerTest.class/instance/setUp.st | 3 + .../instance/testIconForTestResultGreen.st | 6 ++ .../instance/testIconForTestResultRed.st | 7 ++ .../instance/testIconForTestResultWhite.st | 7 ++ .../instance/testIconForTestResultYellow.st | 8 ++ .../instance/testRunCaseNotifyIconGreen.st | 13 +++ .../instance/testRunCaseNotifyIconRed.st | 7 ++ .../instance/testRunCaseNotifyIconYellow.st | 7 ++ .../instance/testRunCasesNotifyIconGreen.st | 17 ++++ .../instance/testRunCasesNotifyIconRed.st | 14 +++ .../instance/testRunCasesNotifyIconYellow.st | 9 ++ .../SmTRunnerTest.class/properties.json | 13 +++ .../README.md | 6 ++ .../instance/setUp.st | 5 + .../instance/testExtensionTestInside.st | 8 ++ .../instance/testInstVarOutsidePackage.st | 9 ++ ...evelSendersOutsidePackageWithRefInClass.st | 12 +++ ...velSendersOutsidePackageWithRefInMethod.st | 12 +++ ...elSendersOutsidePackageWithRefInPackage.st | 13 +++ ...lSendersInsideTestOutsideWithRefInClass.st | 13 +++ ...SendersInsideTestOutsideWithRefInMethod.st | 13 +++ ...endersInsideTestOutsideWithRefInPackage.st | 13 +++ ...lSendersOutsideTestInsideWithRefInClass.st | 13 +++ ...SendersOutsideTestInsideWithRefInMethod.st | 13 +++ ...endersOutsideTestInsideWithRefInPackage.st | 13 +++ ...endersOutsideTestOutsideWithRefInMethod.st | 14 +++ .../properties.json | 11 +++ .../README.md | 5 + .../testClassOutsidePackageWithRef.st | 7 ++ .../instance/testInstVarOutsidePackage.st | 9 ++ .../properties.json | 11 +++ .../README.md | 7 ++ .../instance/setUp.st | 9 ++ ...rdMethodFirstLevelSendersOutsidePackage.st | 13 +++ ...evelSendersOutsidePackageWithRefInClass.st | 12 +++ ...velSendersOutsidePackageWithRefInMethod.st | 12 +++ ...elSendersOutsidePackageWithRefInPackage.st | 13 +++ ...evelSendersInsidePackageWithTestOutside.st | 13 +++ ...lSendersInsideTestOutsideWithRefInClass.st | 13 +++ ...SendersInsideTestOutsideWithRefInMethod.st | 13 +++ ...endersInsideTestOutsideWithRefInPackage.st | 13 +++ ...evelSendersOutsidePackageWithTestInside.st | 12 +++ ...velSendersOutsidePackageWithTestOutside.st | 12 +++ ...lSendersOutsideTestInsideWithRefInClass.st | 13 +++ ...SendersOutsideTestInsideWithRefInMethod.st | 13 +++ ...endersOutsideTestInsideWithRefInPackage.st | 13 +++ .../properties.json | 11 +++ .../README.md | 6 ++ .../instance/setUp.st | 7 ++ .../testClassOutsidePackageWithRef.st | 7 ++ ...ExtensionMethodFirstLevelSendersOutside.st | 6 ++ .../instance/testInstVarOutsidePackage.st | 9 ++ .../properties.json | 11 +++ .../SmTSettingsBasicCacheTest.class/README.md | 0 .../instance/cacheStrategy.st | 3 + .../properties.json | 11 +++ .../SmTSettingsCacheTest.class/README.md | 0 .../class/isAbstract.st | 3 + .../instance/cacheStrategy.st | 3 + .../instance/testChangeCacheStrategy.st | 7 ++ .../properties.json | 11 +++ .../README.md | 0 .../instance/filterStrategy.st | 3 + .../properties.json | 11 +++ .../README.md | 0 .../instance/filterStrategy.st | 3 + .../properties.json | 11 +++ .../README.md | 0 .../instance/filterStrategy.st | 3 + .../properties.json | 11 +++ .../README.md | 0 .../instance/filterStrategy.st | 3 + .../properties.json | 11 +++ .../README.md | 0 .../instance/dataForTestRegex.st | 3 + .../instance/filterStrategy.st | 3 + .../instance/setUp.st | 5 + .../instance/tearDown.st | 5 + .../instance/testChangeRegexWhenChanged.st | 4 + .../properties.json | 13 +++ .../SmTSettingsFilterTest.class/README.md | 0 .../class/isAbstract.st | 3 + .../instance/filterStrategy.st | 3 + .../instance/testChangeFilterStrategy.st | 7 ++ .../properties.json | 11 +++ .../README.md | 0 .../instance/finderStrategy.st | 3 + .../properties.json | 11 +++ .../README.md | 0 .../instance/finderStrategy.st | 3 + .../properties.json | 11 +++ .../SmTSettingsFinderTest.class/README.md | 0 .../class/isAbstract.st | 3 + .../instance/finderStrategy.st | 3 + .../instance/testChangeFinderStrategy.st | 9 ++ .../properties.json | 11 +++ .../README.md | 0 .../instance/finderStrategy.st | 3 + .../properties.json | 11 +++ .../SmTSettingsNoCacheTest.class/README.md | 0 .../instance/cacheStrategy.st | 3 + .../properties.json | 11 +++ .../README.md | 1 + .../class/isAbstract.st | 3 + .../instance/dataForTestRegex.st | 3 + .../instance/setUp.st | 6 ++ .../instance/tearDown.st | 5 + ...ChangeRegexSmTSpecifyPackagesNameFilter.st | 5 + .../properties.json | 14 +++ .../README.md | 0 .../instance/runnerStrategy.st | 3 + .../properties.json | 11 +++ .../README.md | 0 .../instance/runnerStrategy.st | 3 + .../properties.json | 11 +++ .../README.md | 0 .../instance/runnerStrategy.st | 3 + .../properties.json | 11 +++ .../SmTSettingsRunnerTest.class/README.md | 0 .../class/isAbstract.st | 3 + .../instance/runnerStrategy.st | 3 + .../instance/testChangeRunnerStrategy.st | 7 ++ .../properties.json | 11 +++ .../SmTSettingsTest.class/README.md | 1 + .../SmTSettingsTest.class/class/isAbstract.st | 3 + .../SmTSettingsTest.class/instance/setUp.st | 4 + .../instance/tearDown.st | 4 + .../SmTSettingsTest.class/properties.json | 13 +++ .../README.md | 0 .../instance/getTestingStrategy.st | 3 + .../properties.json | 11 +++ .../README.md | 0 .../instance/getTestingStrategy.st | 3 + .../properties.json | 11 +++ .../README.md | 0 .../instance/getTestingStrategy.st | 3 + .../properties.json | 11 +++ .../README.md | 0 .../instance/getTestingStrategy.st | 3 + .../properties.json | 11 +++ .../README.md | 0 .../class/isAbstract.st | 3 + .../instance/getTestingStrategy.st | 3 + .../testChangeTestingStrategyStrategy.st | 8 ++ .../properties.json | 11 +++ .../README.md | 1 + .../instance/setUp.st | 4 + .../testStandardMethodSecondLevelSenders.st | 10 ++ .../properties.json | 11 +++ .../README.md | 3 + .../instance/setUp.st | 5 + .../instance/tearDown.st | 4 + .../properties.json | 11 +++ .../README.md | 1 + .../instance/setUp.st | 5 + .../instance/testInheritance.st | 10 ++ .../testStandardMethodFirstLevelSenders.st | 12 +++ .../testStandardMethodSecondLevelSenders.st | 16 +++ .../testStandardMethodThirdLevelSenders.st | 10 ++ .../properties.json | 11 +++ .../SmartFinderTest.class/README.md | 1 + .../instance/initCache.st | 31 ++++++ .../SmartFinderTest.class/instance/setUp.st | 9 ++ .../instance/tearDown.st | 3 + .../instance/testChangeCacheClassFinder.st | 7 ++ .../instance/testChangeFilterFinder.st | 7 ++ .../testChangeFilterTryFindTestFinder.st | 7 ++ .../testChangeFinderTestingStrategy.st | 7 ++ .../testChangeRunnerTestingStrategy.st | 7 ++ .../instance/testResetCache.st | 7 ++ ...testTwoSmartFinderhaveTwoDifferentCache.st | 5 + .../SmartFinderTest.class/properties.json | 13 +++ .../monticello.meta/categories.st | 8 ++ .../monticello.meta/initializers.st | 0 .../monticello.meta/package | 1 + src/SmartTest-Tests.package/properties.json | 1 + src/SmartTest-UI.package/.filetree | 5 + .../README.md | 1 + .../class/canBeExecutedInContext..st | 3 + .../instance/decorateTableCell.using..st | 10 ++ .../instance/description.st | 3 + .../instance/execute.st | 3 + .../properties.json | 11 +++ .../README.md | 1 + .../instance/canBeExecutedInContext..st | 4 + .../instance/decorateTableCell.using..st | 8 ++ .../instance/description.st | 3 + .../instance/execute.st | 2 + .../properties.json | 11 +++ .../SmTAutoTestsWindows.class/README.md | 1 + .../class/defaultSpec.st | 6 ++ .../instance/button.st | 4 + .../instance/extent.st | 3 + .../instance/icons.st | 4 + .../instance/initializePresenter.st | 7 ++ .../instance/initializeWidgets.st | 7 ++ .../instance/setList..st | 8 ++ .../instance/testList.st | 4 + .../instance/title.st | 3 + .../SmTAutoTestsWindows.class/properties.json | 15 +++ .../SmTBigButtonCollector.class/README.md | 1 + .../class/activated..st | 4 + .../class/activated.st | 3 + .../class/bigButton.st | 3 + .../class/initialize.st | 3 + .../class/reset.st | 3 + .../class/settingsOn..st | 23 +++++ .../class/unload.st | 3 + .../instance/activated..st | 3 + .../instance/changeColorFromTestResult..st | 9 ++ .../instance/collector..st | 4 + .../instance/collector.st | 3 + .../instance/disable.st | 5 + .../instance/enable.st | 5 + .../instance/initialize.st | 5 + .../instance/methodModified..st | 8 ++ .../instance/notify.st | 17 ++++ .../instance/updateList..st | 3 + .../updateNumberOfTheProgressCircle.st | 4 + .../instance/updateUIAfterAddingMethod..st | 4 + .../properties.json | 17 ++++ .../SmTButtonResultWindow.class/README.md | 1 + .../class/defaultSpec.st | 6 ++ .../instance/addToListTestsMethods..st | 7 ++ .../instance/button..st | 3 + .../instance/button.st | 3 + .../instance/buttonMorph.st | 3 + .../instance/buttonText..st | 3 + .../instance/buttonText.st | 3 + .../instance/controler..st | 3 + .../instance/controler.st | 3 + .../instance/extent.st | 3 + .../fillFailedTestListFromTestResult..st | 16 +++ .../instance/icons..st | 3 + .../instance/icons.st | 4 + .../instance/initializeWidgets.st | 19 ++++ .../instance/setList..st | 8 ++ .../instance/testList..st | 3 + .../instance/testList.st | 3 + .../instance/title.st | 3 + .../properties.json | 17 ++++ .../SmTCollector.class/README.md | 1 + .../instance/addTestMethod..st | 3 + .../instance/addTestMethods..st | 3 + .../SmTCollector.class/instance/collector.st | 3 + .../SmTCollector.class/instance/flush.st | 3 + .../SmTCollector.class/properties.json | 11 +++ .../SmTFivesMinutesCollector.class/README.md | 1 + .../class/addTestMethod..st | 3 + .../class/addTestMethods..st | 3 + .../class/start.st | 3 + .../class/stop.st | 3 + .../class/uniqueInstance.st | 3 + .../instance/collector.st | 3 + .../instance/process.st | 14 +++ .../instance/reset.st | 3 + .../instance/showResult..st | 9 ++ .../instance/start.st | 3 + .../instance/stop.st | 3 + .../properties.json | 16 +++ .../SmTIconFabric.class/README.md | 1 + .../class/createIconForMethod..st | 17 ++++ .../class/createIconForMethods..st | 17 ++++ .../SmTIconFabric.class/properties.json | 11 +++ .../SmTProgressCircle.class/README.md | 15 +++ .../instance/controler..st | 3 + .../instance/drawOn..st | 8 ++ .../instance/handlesMouseDown..st | 3 + .../instance/mouseDown..st | 4 + .../instance/percentage..st | 4 + .../instance/percentage.st | 3 + .../SmTProgressCircle.class/properties.json | 14 +++ .../monticello.meta/categories.st | 5 + .../monticello.meta/initializers.st | 0 .../monticello.meta/package | 1 + src/SmartTest-UI.package/properties.json | 1 + src/SmartTest.package/.filetree | 5 + .../instance/testCacheResetPreserveLinks.st | 9 ++ .../properties.json | 3 + .../instance/asTestCase.st | 3 + .../instance/belongsToTestCase.st | 3 + .../instance/isTestMethod.st | 4 + .../instance/isTestSetUpMethod.st | 4 + .../instance/isTestTearDownMethod.st | 4 + .../CompiledMethod.extension/properties.json | 3 + ...withPercentage.borderWidth.borderColor..st | 15 +++ ...withPercentage.borderWidth.borderColor..st | 10 ++ ...rcentage.color.borderWidth.borderColor..st | 15 +++ .../FormCanvas.extension/properties.json | 3 + .../instance/fillOval.withPercentage..st | 30 ++++++ .../GrafPort.extension/properties.json | 3 + .../instance/unmark.st | 3 + .../HDTestCoverage.extension/properties.json | 3 + .../ManifestSmartTest.class/README.md | 3 + .../class/description.st | 2 + .../class/preUnload.st | 4 + .../ManifestSmartTest.class/properties.json | 11 +++ .../instance/undoLabel.st | 15 +++ .../properties.json | 3 + .../instance/isInitializer.st | 3 + .../instance/senders.st | 3 + .../properties.json | 3 + .../instance/iconicButtons.st | 4 + .../ReProperty.extension/properties.json | 3 + .../SmTAnnouncer.class/README.md | 1 + .../SmTAnnouncer.class/class/announcer.st | 3 + .../class/shouldAnnounce.st | 3 + .../SmTAnnouncer.class/properties.json | 13 +++ .../README.md | 3 + .../instance/resetCache.st | 3 + .../properties.json | 11 +++ .../README.md | 3 + .../instance/initialize.st | 3 + .../instance/numberOfChange..st | 3 + .../instance/numberOfChange.st | 3 + .../instance/resetCache.st | 5 + .../properties.json | 13 +++ .../README.md | 3 + .../instance/resetCacheForChange..st | 4 + .../properties.json | 11 +++ .../SmTBasicCacheStrategy.class/README.md | 1 + .../instance/at..st | 3 + .../instance/at.ifAbsent..st | 3 + .../instance/at.ifPresent..st | 3 + .../instance/at.ifPresent.ifAbsent..st | 3 + .../instance/at.put..st | 3 + .../instance/currentCache.st | 3 + .../instance/relevantTestsFor..st | 3 + .../searchTestsForMethodReference..st | 3 + .../properties.json | 11 +++ .../SmTCacheStrategy.class/README.md | 1 + .../SmTCacheStrategy.class/instance/at..st | 3 + .../instance/at.ifAbsent..st | 3 + .../instance/at.ifPresent..st | 3 + .../instance/at.ifPresent.ifAbsent..st | 3 + .../instance/at.put..st | 3 + .../SmTCacheStrategy.class/instance/cache..st | 3 + .../instance/currentCache.st | 3 + .../instance/disable.st | 5 + .../SmTCacheStrategy.class/instance/enable.st | 3 + .../instance/relevantTestsFor..st | 3 + .../instance/resetCache.st | 3 + .../instance/resetCacheForChange..st | 3 + .../searchTestsForMethodReference..st | 3 + .../SmTCacheStrategy.class/properties.json | 13 +++ .../SmTClassNeedTestsCritique.class/README.md | 1 + .../instance/description.st | 3 + .../instance/title.st | 3 + .../properties.json | 11 +++ .../README.md | 1 + .../class/for.by.tests..st | 5 + .../instance/description.st | 3 + .../properties.json | 11 +++ .../SmTClassTestedRule.class/README.md | 1 + .../class/checksClass.st | 3 + .../class/classActivated..st | 3 + .../class/classActivated.st | 3 + .../class/initialize.st | 3 + .../class/settingsOn..st | 9 ++ .../SmTClassTestedRule.class/class/unload.st | 3 + .../instance/basicCheck..st | 3 + .../instance/check.forCritiquesDo..st | 7 ++ .../instance/findTestsForClass..st | 5 + .../instance/findTestsForMethods..st | 3 + .../instance/methodUsingVariablesOfClass..st | 7 ++ .../SmTClassTestedRule.class/instance/name.st | 3 + .../SmTClassTestedRule.class/properties.json | 13 +++ .../README.md | 1 + .../instance/extractPackagesFrom..st | 11 +++ .../properties.json | 11 +++ .../SmTDefaultPackagesFilter.class/README.md | 1 + .../class/settingsOn..st | 4 + .../instance/extractClassPackageBaseName..st | 3 + .../extractCompiledMethodPackageBaseName..st | 3 + ...extractMethodDefinitionPackageBaseName..st | 3 + .../instance/extractPackageBaseName..st | 3 + .../instance/extractPackagesFrom..st | 14 +++ .../instance/extractPackagesFromTrait..st | 3 + .../shouldEntityBeFilteredOut.inPackages..st | 5 + .../properties.json | 11 +++ .../SmTEventRecipient.class/README.md | 1 + .../instance/actionForEvent.fromMorph..st | 3 + .../instance/runTestAndShowProgressIn..st | 2 + .../SmTEventRecipient.class/properties.json | 11 +++ .../SmTFilterStrategy.class/README.md | 1 + .../instance/extractPackagesFrom..st | 3 + .../shouldEntityBeFilteredOut.inPackages..st | 3 + .../SmTFilterStrategy.class/properties.json | 11 +++ .../README.md | 1 + .../instance/extractPackagesFrom..st | 5 + .../shouldEntityBeFilteredOut.inPackages..st | 3 + .../properties.json | 11 +++ .../README.md | 1 + .../instance/change.st | 2 + .../instance/description.st | 3 + .../instance/execute.st | 3 + .../instance/nameToDisplay.st | 3 + .../instance/oldVersionTextToDisplay.st | 3 + .../instance/providesChange.st | 3 + .../instance/textToDisplay.st | 3 + .../instance/title.st | 3 + .../instance/whatToDisplayIn..st | 3 + .../properties.json | 11 +++ .../README.md | 1 + .../class/for.by.tests..st | 5 + .../instance/description.st | 3 + .../properties.json | 13 +++ .../README.md | 0 .../class/addToElementBag..st | 3 + .../class/bag.st | 3 + .../class/disable.st | 4 + .../class/enable.st | 7 ++ .../class/getElementFromBag..st | 6 ++ .../class/methodAdded..st | 3 + .../class/methodModified..st | 3 + .../instance/basicCheck..st | 4 + .../instance/name.st | 4 + .../properties.json | 15 +++ .../SmTMethodTestedRule.class/README.md | 1 + .../class/checksMethod.st | 3 + .../class/disable.st | 2 + .../SmTMethodTestedRule.class/class/enable.st | 2 + .../class/initialize.st | 3 + .../class/isMethodActivated.st | 3 + .../class/methodActivated..st | 3 + .../class/methodActivated.st | 3 + .../class/methodRuleStrategy..st | 5 + .../class/methodRuleStrategy.st | 3 + .../class/settingsOn..st | 16 +++ .../SmTMethodTestedRule.class/class/unload.st | 3 + .../instance/basicCheck..st | 3 + .../instance/check.forCritiquesDo..st | 7 ++ .../instance/isVisible.st | 3 + .../instance/name.st | 3 + .../SmTMethodTestedRule.class/properties.json | 15 +++ .../SmTNeedTestsCritique.class/README.md | 1 + .../instance/description.st | 3 + .../instance/icon.st | 3 + .../instance/providesChange.st | 3 + .../instance/title.st | 3 + .../properties.json | 11 +++ .../SmTNoCacheStrategy.class/README.md | 1 + .../SmTNoCacheStrategy.class/instance/at..st | 3 + .../instance/at.ifAbsent..st | 3 + .../instance/at.ifPresent..st | 3 + .../instance/at.ifPresent.ifAbsent..st | 3 + .../instance/at.put..st | 3 + .../instance/currentCache.st | 3 + .../instance/relevantTestsFor..st | 3 + .../searchTestsForMethodReference..st | 3 + .../SmTNoCacheStrategy.class/properties.json | 11 +++ .../SmTNoFilter.class/README.md | 1 + .../shouldEntityBeFilteredOut.inPackages..st | 5 + .../SmTNoFilter.class/properties.json | 11 +++ .../README.md | 2 + .../class/isConcreteFinder.st | 3 + .../instance/analyseAndRemoveProxyFor..st | 3 + .../instance/buildCacheFromTestSuite..st | 4 + .../instance/collectAllRelativePackages..st | 3 + .../collectRelativeTestMethodOfMethods..st | 7 ++ ...CompiledMethodFromReceiver.andSelector..st | 4 + ...extractCurrentTestExecutionFromContext..st | 6 ++ .../instance/initializeLink.st | 14 +++ .../initializeLinkInCompiledMethod..st | 15 +++ .../instance/installLinkAndRunTest..st | 9 ++ .../instance/installProxyFor..st | 5 + .../instance/isCORAMethodBlacklisted..st | 3 + ...sCompiledMethod.alreadyExploredForTest..st | 6 ++ .../instance/methodsInSimilarPackageAs..st | 8 ++ .../instance/searchRelativeTestForMethod..st | 11 +++ .../searchTestsForAStandardMethod..st | 6 ++ .../properties.json | 11 +++ .../SmTRelativeTestsCritique.class/README.md | 1 + .../class/for.by.tests..st | 5 + .../instance/actions.st | 10 ++ .../instance/description.st | 3 + .../instance/icon.st | 4 + .../instance/iconicButtons.st | 4 + .../initializeRule.target.testsList..st | 4 + .../instance/openTestsWindowWith..st | 6 ++ .../instance/providesChange.st | 3 + .../instance/testButton..st | 3 + .../instance/testButton.st | 3 + .../instance/tests..st | 3 + .../instance/tests.st | 3 + .../instance/title.st | 3 + .../properties.json | 14 +++ .../SmTRules.class/README.md | 1 + .../SmTRules.class/class/activated..st | 3 + .../SmTRules.class/class/activated.st | 3 + .../SmTRules.class/class/cacheStrategy..st | 4 + .../SmTRules.class/class/cacheStrategy.st | 3 + .../SmTRules.class/class/fillCache.st | 5 + .../SmTRules.class/class/filter..st | 5 + .../SmTRules.class/class/filter.st | 3 + .../SmTRules.class/class/finder..st | 5 + .../SmTRules.class/class/finder.st | 3 + .../SmTRules.class/class/packagesRegex..st | 4 + .../SmTRules.class/class/packagesRegex.st | 3 + .../class/propagateRegexToTestFinder.st | 4 + .../SmTRules.class/class/runner..st | 4 + .../SmTRules.class/class/runner.st | 3 + .../SmTRules.class/class/settingsOn..st | 97 +++++++++++++++++++ .../class/shouldTryToFindTestForDynamic..st | 4 + .../class/shouldTryToFindTestForDynamic.st | 3 + .../SmTRules.class/class/strategy..st | 4 + .../SmTRules.class/class/strategy.st | 3 + .../SmTRules.class/class/testFinder..st | 5 + .../SmTRules.class/class/testFinder.st | 9 ++ .../SmTRules.class/class/unload.st | 3 + .../SmTRules.class/instance/activated.st | 3 + .../SmTRules.class/instance/basicCheck..st | 3 + .../instance/findTestsForMethod..st | 3 + .../instance/isOnNautilusOrCalypso.st | 6 ++ .../SmTRules.class/instance/isVisible.st | 3 + .../SmTRules.class/instance/severity.st | 4 + .../SmTRules.class/instance/tests.st | 3 + .../SmTRules.class/properties.json | 25 +++++ .../SmTRunnerStrategy.class/README.md | 1 + .../class/colorForTestResultOf..st | 9 ++ .../class/iconForTestFromTestCaseHistory..st | 9 ++ .../iconForTestFromTestsCasesHistory..st | 15 +++ .../class/iconForTestResultOf..st | 9 ++ .../class/notifyTitle.contents..st | 19 ++++ .../class/runCase.notifyIcon..st | 11 +++ .../class/runCases..st | 8 ++ .../class/runCases.notifyIcon..st | 6 ++ .../SmTRunnerStrategy.class/properties.json | 11 +++ .../SmTRunnerStrategyDebug.class/README.md | 1 + .../class/runCases..st | 8 ++ .../properties.json | 11 +++ .../SmTRunnerStrategyNotice.class/README.md | 1 + .../class/runCase.notifyIcon..st | 10 ++ .../properties.json | 11 +++ .../SmTRunnerStrategySmart.class/README.md | 1 + .../properties.json | 11 +++ .../SmTSelectPackageBrowser.class/README.md | 1 + .../class/openWithSmartFinder..st | 6 ++ .../instance/addAllItems.st | 8 ++ .../instance/addItems.st | 8 ++ .../instance/createTestSuiteFrom..st | 6 ++ .../instance/initialize.st | 13 +++ .../instance/nextAction.st | 9 ++ .../instance/removeAllItems.st | 8 ++ .../instance/removeItems.st | 8 ++ .../instance/smartFinder..st | 3 + .../instance/smartFinder.st | 3 + .../instance/sort..st | 3 + .../instance/sort.withAll..st | 7 ++ .../instance/sort.withoutAll..st | 7 ++ .../properties.json | 13 +++ .../README.md | 3 + .../class/isConcreteFinder.st | 3 + .../collectSenderOfRGMethodeDefintion..st | 6 ++ .../instance/methodsFor.forThePackage..st | 28 ++++++ ...iveSearchForAStandardMethod.inPackages..st | 3 + ...andardMethod.inPackages.alreadyVisited..st | 15 +++ .../searchTestsForAStandardMethod..st | 7 ++ .../properties.json | 11 +++ .../README.md | 1 + .../class/packagesRegex..st | 5 + .../instance/extractPackagesFrom..st | 3 + .../instance/packages.st | 6 ++ .../instance/packagesRegex..st | 3 + .../instance/packagesRegex.st | 3 + .../instance/selectedPackages.st | 7 ++ .../shouldEntityBeFilteredOut.inPackages..st | 5 + .../properties.json | 14 +++ .../SmTTestCoverage.class/README.md | 1 + .../SmTTestCoverage.class/instance/finder..st | 3 + .../SmTTestCoverage.class/instance/finder.st | 3 + .../SmTTestCoverage.class/instance/mark.st | 6 ++ .../instance/run.with.in..st | 4 + .../SmTTestCoverage.class/properties.json | 13 +++ .../README.md | 13 +++ .../class/collectPackageWithBaseName..st | 3 + .../class/collectPackagesFromName..st | 3 + .../class/extractPackageBaseName..st | 3 + .../class/isConcreteFinder.st | 3 + .../addATest.toACollectionOfMethod..st | 4 + .../instance/addATest.toMethodReference..st | 4 + ...dImpactedTestFromWrapper.theTestMethod..st | 8 ++ .../addRelevantTest.fromMarkedWrappers..st | 8 ++ .../addToCurrentExecutionMethodReference..st | 6 ++ .../instance/analyseAndRemoveProxyFor..st | 4 + .../instance/availableMethods.st | 9 ++ .../instance/availablePackages.st | 17 ++++ .../instance/availableTestMethods.st | 4 + .../instance/availableTestPackages.st | 19 ++++ .../instance/buildCacheFromTestSuite..st | 27 ++++++ .../instance/collectAllRelativePackages..st | 3 + .../instance/collectClassToTestForPackage..st | 6 ++ .../collectClassToTestForPackagesNamed..st | 3 + .../collectMethodToTestForPackage..st | 3 + .../collectMethodToTestForPackages..st | 3 + .../collectMethodToTestForPackagesNamed..st | 3 + .../instance/extractPackageBaseName..st | 3 + .../instance/getPackageFromName..st | 3 + .../instance/initialize.st | 3 + .../instance/installProxyFor..st | 19 ++++ .../instance/methodsInSimilarPackageAs..st | 8 ++ .../instance/searchRelativeTestForMethod..st | 16 +++ .../searchTestsForAStandardMethod..st | 4 + .../instance/searchTestsForClass..st | 13 +++ .../updateCacheAndUnmarkFrom.forMethod..st | 6 ++ .../properties.json | 13 +++ .../README.md | 3 + .../class/isConcreteFinder.st | 3 + .../instance/addATest.toMethod..st | 4 + .../instance/analyseAndRemoveProxyFor..st | 3 + .../instance/buildCacheFromTestSuite..st | 3 + .../instance/currentTestExecution..st | 3 + .../instance/currentTestExecution.st | 3 + .../instance/installProxyFor..st | 3 + .../instance/methodsFor..st | 19 ++++ .../properties.json | 13 +++ .../SmTTestFinderStrategy.class/README.md | 1 + .../class/isConcreteFinder.st | 3 + .../instance/cache..st | 3 + .../instance/cache.st | 3 + ...computeInheritedTestFromDiscoveredTest..st | 10 ++ .../instance/filter..st | 3 + .../instance/filter.st | 3 + .../instance/initialize.st | 3 + .../instance/methodToTest..st | 3 + .../instance/methodsFor..st | 26 +++++ .../recursiveSearchForAClass.inPackages..st | 3 + ...rchForAClass.inPackages.alreadyVisited..st | 21 ++++ .../instance/searchTestsForAClass..st | 5 + .../instance/searchTestsForAInstVar..st | 7 ++ .../searchTestsForAInstVar.OfClass..st | 12 +++ .../instance/searchTestsForASetUpMethod..st | 10 ++ .../searchTestsForAStandardMethod..st | 5 + .../searchTestsForATearDownMethod..st | 11 +++ .../instance/searchTestsForATestMethod..st | 5 + .../instance/searchTestsForATrait..st | 7 ++ .../searchTestsForClassReferenceOf..st | 13 +++ .../instance/searchTestsForMethod..st | 5 + .../searchTestsForMethodReference..st | 3 + .../shouldTryToFindTestForDynamic..st | 3 + .../instance/shouldTryToFindTestForDynamic.st | 3 + .../instance/subTestFromRGDefinition..st | 6 ++ .../properties.json | 15 +++ .../SmTTestGenerator.class/README.md | 1 + .../instance/buildTestClassDefinitionFrom..st | 8 ++ .../instance/buildTestClassNameFrom..st | 4 + .../instance/buildTestPackageNameFrom..st | 4 + .../instance/buildTestSelectorFor..st | 15 +++ .../instance/createTestForClass..st | 20 ++++ .../generateCommentForTestClass.from..st | 9 ++ .../generateSourceCodeForTestFrom..st | 3 + .../instance/generateTestMethodFor..st | 15 +++ .../SmTTestGenerator.class/properties.json | 11 +++ .../SmTTestListener.class/README.md | 1 + .../SmTTestListener.class/class/activated..st | 4 + .../SmTTestListener.class/class/activated.st | 5 + .../class/settingsOn..st | 11 +++ .../class/uniqueInstance.st | 3 + .../instance/activated..st | 6 ++ .../instance/cacheStrategy..st | 3 + .../instance/cacheStrategy.st | 3 + .../instance/disableListenerTestCase.st | 4 + .../instance/enableListenerTestCase.st | 4 + .../instance/smtDynamicFinder..st | 3 + .../instance/smtDynamicFinder.st | 3 + .../instance/testCaseEnded..st | 3 + .../instance/testCaseStarted..st | 3 + .../SmTTestListener.class/properties.json | 17 ++++ .../SmTTestingStrategy.class/README.md | 1 + .../instance/disable.st | 3 + .../instance/enable.st | 3 + .../instance/findTestsForMethod..st | 3 + .../instance/finder..st | 3 + .../instance/finder.st | 4 + .../instance/getMethodsFor..st | 3 + .../getTestMethodFromCompiledTestMethod..st | 4 + .../instance/runner..st | 3 + .../instance/runner.st | 3 + .../SmTTestingStrategy.class/properties.json | 18 ++++ .../SmTTestingStrategyAlways.class/README.md | 1 + .../instance/findTestsForMethod..st | 6 ++ .../properties.json | 11 +++ .../README.md | 1 + .../instance/addToElementBag..st | 3 + .../instance/bag.st | 3 + .../instance/disable.st | 5 + .../instance/enable.st | 7 ++ .../instance/findTestsForMethod..st | 7 ++ .../instance/getElementFromBag..st | 6 ++ .../instance/initialize.st | 3 + .../instance/methodAdded..st | 3 + .../instance/methodModified..st | 3 + .../properties.json | 13 +++ .../README.md | 1 + .../instance/disable.st | 4 + .../instance/enable.st | 4 + .../instance/findTestsForMethod..st | 6 ++ .../properties.json | 11 +++ .../SmTTestingStrategyNever.class/README.md | 1 + .../instance/findTestsForMethod..st | 3 + .../properties.json | 11 +++ .../instance/allMethods.st | 4 + .../instance/allTestMethods.st | 4 + .../SmalltalkImage.extension/properties.json | 3 + .../SmartFinder.class/README.md | 13 +++ .../instance/autoUpdateCache..st | 5 + .../instance/buildCacheFromTestSuite..st | 4 + .../instance/cacheStrategy..st | 7 ++ .../instance/cacheStrategy.st | 3 + .../SmartFinder.class/instance/clean.st | 5 + .../instance/currentCache.st | 3 + .../SmartFinder.class/instance/filter..st | 4 + .../SmartFinder.class/instance/filter.st | 3 + .../instance/findTestsForMethod..st | 6 ++ .../SmartFinder.class/instance/initialize.st | 3 + .../instance/researchTestsForMethod..st | 4 + .../SmartFinder.class/instance/resetCache.st | 3 + .../instance/searchTestsForASetUpMethod..st | 3 + .../searchTestsForATearDownMethod..st | 3 + .../instance/searchTestsForATestMethod..st | 3 + .../instance/setCacheValues..st | 3 + .../shouldTryToFindTestForDynamic..st | 4 + .../instance/shouldTryToFindTestForDynamic.st | 3 + .../SmartFinder.class/instance/smtFinder..st | 8 ++ .../SmartFinder.class/instance/smtFinder.st | 8 ++ .../SmartFinder.class/instance/smtListener.st | 3 + .../SmartFinder.class/instance/testRunner..st | 4 + .../SmartFinder.class/instance/testRunner.st | 3 + .../instance/testingStrategy..st | 8 ++ .../instance/testingStrategy.st | 3 + .../SmartFinder.class/properties.json | 20 ++++ .../instance/isTestSuite.st | 3 + .../TestAsserter.extension/properties.json | 3 + .../class/allTestMethods.st | 4 + .../class/generalAnnouncer.st | 3 + .../class/shouldAnnounce.st | 3 + .../instance/announce.withResult..st | 11 +++ .../instance/generalAnnouncer.st | 3 + .../instance/methodReference.st | 3 + .../TestCase.extension/properties.json | 3 + .../instance/flatCollectTests.st | 9 ++ .../instance/isTestSuite.st | 3 + .../TestSuite.extension/properties.json | 3 + .../monticello.meta/categories.st | 12 +++ .../monticello.meta/initializers.st | 0 src/SmartTest.package/monticello.meta/package | 1 + src/SmartTest.package/properties.json | 1 + src/SmartTestDataOutsideP1.package/.filetree | 5 + .../README.md | 8 ++ ...ModificationOnClassInsidePackageWithRef.st | 3 + .../properties.json | 11 +++ .../README.md | 8 ++ .../properties.json | 11 +++ .../README.md | 8 ++ .../properties.json | 11 +++ .../README.md | 8 ++ .../testModificationOnClassSimpleTestCase.st | 3 + .../properties.json | 11 +++ .../SmTClassP1.class/README.md | 8 ++ .../method1FirstLevelSendersInsidePackage.st | 5 + .../method1FirstLevelSendersOutsidePackage.st | 5 + ...LevelSendersInsidePackageWithTestInside.st | 5 + ...evelSendersInsidePackageWithTestOutside.st | 5 + ...evelSendersOutsidePackageWithTestInside.st | 5 + ...velSendersOutsidePackageWithTestOutside.st | 5 + ...LevelSendersInsidePackageWithTestInside.st | 6 ++ ...evelSendersInsidePackageWithTestOutside.st | 6 ++ .../SmTClassP1.class/properties.json | 11 +++ .../README.md | 8 ++ ...1FirstLevelSendersInsideWithRefInMethod.st | 5 + .../properties.json | 11 +++ .../README.md | 8 ++ .../method1FirstLevelSendersWithRefInClass.st | 5 + .../properties.json | 11 +++ .../README.md | 8 ++ ...method1FirstLevelSendersWithRefInMethod.st | 5 + .../properties.json | 11 +++ .../README.md | 8 ++ ...ethod1FirstLevelSendersWithRefInPackage.st | 5 + .../properties.json | 11 +++ .../README.md | 8 ++ ...VarModificationOnVariableInsidePackage..st | 3 + ...tVarModificationOnVariableInsidePackage.st | 3 + ...arModificationOnVariableOutsidePackage..st | 3 + ...VarModificationOnVariableOutsidePackage.st | 3 + .../properties.json | 14 +++ .../README.md | 8 ++ ...stVarModificationOnVariableInsideClass..st | 3 + ...nstVarModificationOnVariableInsideClass.st | 3 + .../testModificationOnVariableInsideClass.st | 5 + .../properties.json | 13 +++ .../README.md | 6 ++ ...testModificationOnVariableInsidePackage.st | 5 + .../properties.json | 13 +++ .../README.md | 10 ++ ...lSendersInsideTestOutsideWithRefInClass.st | 5 + ...lSendersInsideTestOutsideWithRefInClass.st | 5 + .../properties.json | 11 +++ .../README.md | 10 ++ ...SendersInsideTestOutsideWithRefInMethod.st | 5 + ...SendersInsideTestOutsideWithRefInMethod.st | 5 + .../properties.json | 11 +++ .../README.md | 10 ++ ...endersInsideTestOutsideWithRefInPackage.st | 5 + ...endersInsideTestOutsideWithRefInPackage.st | 5 + .../properties.json | 11 +++ .../README.md | 10 ++ ...lSendersOutsideTestInsideWithRefInClass.st | 5 + .../properties.json | 11 +++ .../README.md | 10 ++ ...SendersOutsideTestInsideWithRefInMethod.st | 5 + .../properties.json | 11 +++ .../README.md | 10 ++ ...endersOutsideTestInsideWithRefInPackage.st | 5 + .../properties.json | 11 +++ .../README.md | 11 +++ ...endersOutsideTestOutsideWithRefInMethod.st | 5 + .../properties.json | 11 +++ .../SmTClassTestP1.class/README.md | 8 ++ ...ExtensionMethod1FirstLevelSendersInside.st | 3 + ...stMethod1FirstLevelSendersInsidePackage.st | 5 + ...LevelSendersInsidePackageWithTestInside.st | 4 + ...evelSendersOutsidePackageWithTestInside.st | 4 + ...lSendersOutsideTestInsideWithRefInClass.st | 5 + ...SendersOutsideTestInsideWithRefInMethod.st | 5 + ...endersOutsideTestInsideWithRefInPackage.st | 5 + .../SmTClassTestP1.class/properties.json | 11 +++ .../SmTExtensionP1.class/README.md | 8 ++ .../extensionMethod1SecondLevelSenders.st | 2 + .../SmTExtensionP1.class/properties.json | 11 +++ ...extensionMethod1FirstLevelSendersInside.st | 3 + ...xtensionMethod1FirstLevelSendersOutside.st | 3 + .../properties.json | 3 + .../extensionMethod2SecondLevelSenders.st | 4 + .../SmTExtensionP3.extension/properties.json | 3 + .../README.md | 8 ++ .../class/isAbstract.st | 4 + ...testModificationOnClassAbstractTestCase.st | 3 + .../properties.json | 11 +++ .../README.md | 12 +++ ...1FirstLevelSendersInsideWithRefInMethod.st | 3 + .../properties.json | 11 +++ .../README.md | 8 ++ .../properties.json | 11 +++ .../README.md | 8 ++ ...testModificationOnClassAbstractTestCase.st | 3 + .../properties.json | 11 +++ .../SmTP1Inheritance.class/README.md | 9 ++ .../instance/method1Inheritance.st | 3 + .../SmTP1Inheritance.class/properties.json | 11 +++ .../README.md | 6 ++ .../instance/testMethod1Inheritance.st | 4 + .../properties.json | 11 +++ .../README.md | 3 + .../properties.json | 11 +++ .../SmTP1InheritanceTest.class/README.md | 6 ++ .../class/isAbstract.st | 4 + .../instance/testMethod1Inheritance.st | 4 + .../properties.json | 11 +++ .../monticello.meta/categories.st | 13 +++ .../monticello.meta/initializers.st | 0 .../monticello.meta/package | 1 + .../properties.json | 1 + src/SmartTestDataOutsideP2.package/.filetree | 5 + .../README.md | 8 ++ ...odificationOnClassOutsidePackageWithRef.st | 3 + .../properties.json | 11 +++ .../README.md | 8 ++ ...estModificationOnVariableOutsidePackage.st | 5 + .../properties.json | 13 +++ .../SmTClassP2.class/README.md | 10 ++ ...evelSendersOutsidePackageWithTestInside.st | 6 ++ ...velSendersOutsidePackageWithTestOutside.st | 6 ++ .../SmTClassP2.class/properties.json | 11 +++ .../README.md | 6 ++ ...irstLevelSendersOutsideWithRefInPackage.st | 4 + ...endersInsideTestOutsideWithRefInPackage.st | 4 + ...endersOutsideTestInsideWithRefInPackage.st | 4 + .../properties.json | 11 +++ .../README.md | 10 ++ ...lSendersOutsideTestInsideWithRefInClass.st | 3 + ...lSendersOutsideTestInsideWithRefInClass.st | 3 + .../properties.json | 11 +++ .../README.md | 10 ++ ...SendersOutsideTestInsideWithRefInMethod.st | 3 + .../properties.json | 11 +++ .../README.md | 11 +++ ...endersOutsideTestInsideWithRefInPackage.st | 3 + .../properties.json | 11 +++ .../README.md | 11 +++ ...endersOutsideTestOutsideWithRefInMethod.st | 3 + .../properties.json | 11 +++ .../SmTClassTestP2Test.class/README.md | 11 +++ ...1FirstLevelSendersOutsideWithRefInClass.st | 3 + ...lSendersInsideTestOutsideWithRefInClass.st | 3 + ...xtensionMethod1FirstLevelSendersOutside.st | 3 + ...tMethod1FirstLevelSendersOutsidePackage.st | 5 + ...1FirstLevelSendersOutsideWithRefInClass.st | 4 + ...FirstLevelSendersOutsideWithRefInMethod.st | 4 + ...irstLevelSendersOutsideWithRefInPackage.st | 4 + ...elSenderInsideTestOutsideWithRefInClass.st | 3 + ...lSenderInsideTestOutsideWithRefInMethod.st | 3 + ...SenderInsideTestOutsideWithRefInPackage.st | 3 + ...evelSendersInsidePackageWithTestOutside.st | 5 + ...velSendersOutsidePackageWithTestOutside.st | 5 + .../SmTClassTestP2Test.class/properties.json | 11 +++ .../SmTExtensionP2Test.class/README.md | 1 + .../SmTExtensionP2Test.class/properties.json | 11 +++ .../monticello.meta/categories.st | 9 ++ .../monticello.meta/initializers.st | 0 .../monticello.meta/package | 1 + .../properties.json | 1 + src/SmartTestDataOutsideP3.package/.filetree | 5 + .../SmTClassTestP3.class/README.md | 11 +++ .../testExtensionMethod2SecondLevelSenders.st | 3 + .../testMethod1ExtensionTestInside.st | 3 + .../SmTClassTestP3.class/properties.json | 11 +++ .../README.md | 10 ++ .../properties.json | 11 +++ .../README.md | 11 +++ ...SenderOutsideTestOutsideWithRefInMethod.st | 4 + .../properties.json | 11 +++ .../SmTExtensionP3.class/README.md | 1 + .../SmTExtensionP3.class/properties.json | 11 +++ .../instance/extensionMethodP4.st | 2 + .../SmTExtensionP4.extension/properties.json | 3 + .../monticello.meta/categories.st | 1 + .../monticello.meta/initializers.st | 0 .../monticello.meta/package | 1 + .../properties.json | 1 + src/SmartTestDataOutsideP4.package/.filetree | 5 + .../SmTExtensionP4.class/README.md | 1 + .../instance/method1ExtensionTestInside.st | 2 + .../SmTExtensionP4.class/properties.json | 11 +++ .../monticello.meta/categories.st | 1 + .../monticello.meta/initializers.st | 0 .../monticello.meta/package | 1 + .../properties.json | 1 + 1178 files changed, 7583 insertions(+) create mode 100644 src/BaselineOfSmartTest.package/.filetree create mode 100644 src/BaselineOfSmartTest.package/BaselineOfSmartTest.class/README.md create mode 100644 src/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/baseline..st create mode 100644 src/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/defineDependencies..st create mode 100644 src/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/defineGroups..st create mode 100644 src/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/definePackages..st create mode 100644 src/BaselineOfSmartTest.package/BaselineOfSmartTest.class/properties.json create mode 100644 src/BaselineOfSmartTest.package/monticello.meta/categories.st create mode 100644 src/BaselineOfSmartTest.package/monticello.meta/initializers.st create mode 100644 src/BaselineOfSmartTest.package/monticello.meta/package create mode 100644 src/BaselineOfSmartTest.package/properties.json create mode 100644 src/ConfigurationOfSmartTest.package/.filetree create mode 100644 src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/README.md create mode 100644 src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/DevelopmentSupport.st create mode 100644 src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/baseConfigurationClassIfAbsent..st create mode 100644 src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/ensureMetacello.st create mode 100644 src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/ensureMetacelloBaseConfiguration.st create mode 100644 src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/isMetacelloConfig.st create mode 100644 src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/load.st create mode 100644 src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/loadBleedingEdge.st create mode 100644 src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/loadDevelopment.st create mode 100644 src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/project.st create mode 100644 src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/validate.st create mode 100644 src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/instance/customProjectAttributes.st create mode 100644 src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/instance/dev01..st create mode 100644 src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/instance/development..st create mode 100644 src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/instance/master..st create mode 100644 src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/instance/project.st create mode 100644 src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/instance/stable..st create mode 100644 src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/properties.json create mode 100644 src/ConfigurationOfSmartTest.package/monticello.meta/categories.st create mode 100644 src/ConfigurationOfSmartTest.package/monticello.meta/initializers.st create mode 100644 src/ConfigurationOfSmartTest.package/monticello.meta/package create mode 100644 src/ConfigurationOfSmartTest.package/properties.json create mode 100644 src/SmartTest-Tests-Data.package/.filetree create mode 100644 src/SmartTest-Tests-Data.package/SmTClass.class/README.md create mode 100644 src/SmartTest-Tests-Data.package/SmTClass.class/instance/method1.st create mode 100644 src/SmartTest-Tests-Data.package/SmTClass.class/instance/method2.st create mode 100644 src/SmartTest-Tests-Data.package/SmTClass.class/instance/method3..st create mode 100644 src/SmartTest-Tests-Data.package/SmTClass.class/instance/method4.st create mode 100644 src/SmartTest-Tests-Data.package/SmTClass.class/properties.json create mode 100644 src/SmartTest-Tests-Data.package/SmTClass2.class/README.md create mode 100644 src/SmartTest-Tests-Data.package/SmTClass2.class/instance/initialize.st create mode 100644 src/SmartTest-Tests-Data.package/SmTClass2.class/properties.json create mode 100644 src/SmartTest-Tests-Data.package/SmTClassTest.class/README.md create mode 100644 src/SmartTest-Tests-Data.package/SmTClassTest.class/instance/setUp.st create mode 100644 src/SmartTest-Tests-Data.package/SmTClassTest.class/instance/tearDown.st create mode 100644 src/SmartTest-Tests-Data.package/SmTClassTest.class/instance/testMethod1.st create mode 100644 src/SmartTest-Tests-Data.package/SmTClassTest.class/instance/testMethod2.st create mode 100644 src/SmartTest-Tests-Data.package/SmTClassTest.class/instance/testMethod3.st create mode 100644 src/SmartTest-Tests-Data.package/SmTClassTest.class/instance/testMethod4.st create mode 100644 src/SmartTest-Tests-Data.package/SmTClassTest.class/instance/testMethod5.st create mode 100644 src/SmartTest-Tests-Data.package/SmTClassTest.class/properties.json create mode 100644 src/SmartTest-Tests-Data.package/SmTInheritClassTest.class/README.md create mode 100644 src/SmartTest-Tests-Data.package/SmTInheritClassTest.class/instance/setUp.st create mode 100644 src/SmartTest-Tests-Data.package/SmTInheritClassTest.class/properties.json create mode 100644 src/SmartTest-Tests-Data.package/SmTSuperClassTest.class/README.md create mode 100644 src/SmartTest-Tests-Data.package/SmTSuperClassTest.class/class/isAbstract.st create mode 100644 src/SmartTest-Tests-Data.package/SmTSuperClassTest.class/instance/testMethod1.st create mode 100644 src/SmartTest-Tests-Data.package/SmTSuperClassTest.class/properties.json create mode 100644 src/SmartTest-Tests-Data.package/monticello.meta/categories.st create mode 100644 src/SmartTest-Tests-Data.package/monticello.meta/initializers.st create mode 100644 src/SmartTest-Tests-Data.package/monticello.meta/package create mode 100644 src/SmartTest-Tests-Data.package/properties.json create mode 100644 src/SmartTest-Tests.package/.filetree create mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderReflectivityNeverResetTest.class/README.md create mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderReflectivityNeverResetTest.class/instance/cacheStrategy.st create mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderReflectivityNeverResetTest.class/properties.json create mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEvery5ChangesTest.class/README.md create mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEvery5ChangesTest.class/instance/cacheStrategy.st create mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEvery5ChangesTest.class/properties.json create mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEveryCommitTest.class/README.md create mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEveryCommitTest.class/instance/cacheStrategy.st create mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEveryCommitTest.class/properties.json create mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetOnDemandTest.class/README.md create mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetOnDemandTest.class/instance/cacheStrategy.st create mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetOnDemandTest.class/properties.json create mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/README.md create mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/class/isAbstract.st create mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/instance/dynamicFinder.st create mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod1ToBuildCache.st create mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod2ToBuildCache.st create mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod5ToBuildCache.st create mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/properties.json create mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderTest.class/README.md create mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderTest.class/class/isAbstract.st create mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/cacheStrategy.st create mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/dynamicFinder.st create mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/searchTestMethodsFor..st create mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/setUp.st create mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/tearDown.st create mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/testResearchTestsForStandardMethodWhileEmptyCache.st create mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod1ToBuildCache.st create mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod2ToBuildCache.st create mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod5ToBuildCache.st create mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderTest.class/properties.json create mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageNeverResetTest.class/README.md create mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageNeverResetTest.class/instance/cacheStrategy.st create mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageNeverResetTest.class/properties.json create mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEvery5ChangesTest.class/README.md create mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEvery5ChangesTest.class/instance/cacheStrategy.st create mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEvery5ChangesTest.class/properties.json create mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEveryCommitTest.class/README.md create mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEveryCommitTest.class/instance/cacheStrategy.st create mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEveryCommitTest.class/properties.json create mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetOnDemandTest.class/README.md create mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetOnDemandTest.class/instance/cacheStrategy.st create mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetOnDemandTest.class/properties.json create mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/README.md create mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/class/isAbstract.st create mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/instance/dynamicFinder.st create mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/properties.json create mode 100644 src/SmartTest-Tests.package/SmTCacheNeverResetTest.class/README.md create mode 100644 src/SmartTest-Tests.package/SmTCacheNeverResetTest.class/instance/strategyTested.st create mode 100644 src/SmartTest-Tests.package/SmTCacheNeverResetTest.class/properties.json create mode 100644 src/SmartTest-Tests.package/SmTCacheResetEvery5ChangesTest.class/README.md create mode 100644 src/SmartTest-Tests.package/SmTCacheResetEvery5ChangesTest.class/instance/strategyTested.st create mode 100644 src/SmartTest-Tests.package/SmTCacheResetEvery5ChangesTest.class/instance/testResetAfter5MethodChange.st create mode 100644 src/SmartTest-Tests.package/SmTCacheResetEvery5ChangesTest.class/properties.json create mode 100644 src/SmartTest-Tests.package/SmTCacheResetEveryCommitTest.class/README.md create mode 100644 src/SmartTest-Tests.package/SmTCacheResetEveryCommitTest.class/instance/strategyTested.st create mode 100644 src/SmartTest-Tests.package/SmTCacheResetEveryCommitTest.class/instance/testResetAfter1Commit.st create mode 100644 src/SmartTest-Tests.package/SmTCacheResetEveryCommitTest.class/properties.json create mode 100644 src/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/README.md create mode 100644 src/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/instance/strategyTested.st create mode 100644 src/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/instance/testResetAfter1Commit.st create mode 100644 src/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/instance/testResetAfter1MethodChange.st create mode 100644 src/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/instance/testResetAfter4MethodChange.st create mode 100644 src/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/instance/testResetAfter5MethodChange.st create mode 100644 src/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/properties.json create mode 100644 src/SmartTest-Tests.package/SmTCacheTest.class/README.md create mode 100644 src/SmartTest-Tests.package/SmTCacheTest.class/class/isAbstract.st create mode 100644 src/SmartTest-Tests.package/SmTCacheTest.class/instance/initCache.st create mode 100644 src/SmartTest-Tests.package/SmTCacheTest.class/instance/setUp.st create mode 100644 src/SmartTest-Tests.package/SmTCacheTest.class/instance/strategyTested.st create mode 100644 src/SmartTest-Tests.package/SmTCacheTest.class/instance/testInitCache.st create mode 100644 src/SmartTest-Tests.package/SmTCacheTest.class/instance/testResetAfter1Commit.st create mode 100644 src/SmartTest-Tests.package/SmTCacheTest.class/instance/testResetAfter1MethodChange.st create mode 100644 src/SmartTest-Tests.package/SmTCacheTest.class/instance/testResetAfter4MethodChange.st create mode 100644 src/SmartTest-Tests.package/SmTCacheTest.class/instance/testResetAfter5MethodChange.st create mode 100644 src/SmartTest-Tests.package/SmTCacheTest.class/properties.json create mode 100644 src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/README.md create mode 100644 src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/instance/initCache.st create mode 100644 src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/instance/setUp.st create mode 100644 src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/instance/tearDown.st create mode 100644 src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/instance/testModificationOnTest.st create mode 100644 src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/instance/testTestSelfSelected.st create mode 100644 src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/properties.json create mode 100644 src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/README.md create mode 100644 src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/instance/initCache.st create mode 100644 src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/instance/setUp.st create mode 100644 src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/instance/tearDown.st create mode 100644 src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/instance/testModificationOnTest.st create mode 100644 src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/instance/testTestSelfSelected.st create mode 100644 src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/properties.json create mode 100644 src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/README.md create mode 100644 src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/instance/initCache.st create mode 100644 src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/instance/setUp.st create mode 100644 src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/instance/tearDown.st create mode 100644 src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/instance/testModificationOnTest.st create mode 100644 src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/instance/testTestSelfSelected.st create mode 100644 src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/properties.json create mode 100644 src/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/README.md create mode 100644 src/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/instance/initCache.st create mode 100644 src/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/instance/setUp.st create mode 100644 src/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/instance/tearDown.st create mode 100644 src/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/instance/testModificationOnTest.st create mode 100644 src/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/instance/testTestSelfSelected.st create mode 100644 src/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/properties.json create mode 100644 src/SmartTest-Tests.package/SmTDynamicReflectivityStrategyTest.class/README.md create mode 100644 src/SmartTest-Tests.package/SmTDynamicReflectivityStrategyTest.class/instance/initCache.st create mode 100644 src/SmartTest-Tests.package/SmTDynamicReflectivityStrategyTest.class/instance/setUp.st create mode 100644 src/SmartTest-Tests.package/SmTDynamicReflectivityStrategyTest.class/properties.json create mode 100644 src/SmartTest-Tests.package/SmTFilterAbstractTest.class/README.md create mode 100644 src/SmartTest-Tests.package/SmTFilterAbstractTest.class/class/isAbstract.st create mode 100644 src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/instanceVariableNamed.fromClass..st create mode 100644 src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/searchTestMethodsFor..st create mode 100644 src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/searchTestMethodsForAClass..st create mode 100644 src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/searchTestsForInstVar.ofClass..st create mode 100644 src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/setUp.st create mode 100644 src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/tearDown.st create mode 100644 src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassAbstractTestCaseDoesntRedefineMethod.st create mode 100644 src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassAbstractTestCaseRedefinesMethod.st create mode 100644 src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassInheritanceSubClass1.st create mode 100644 src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassInsidePackageWithRef.st create mode 100644 src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassOutsidePackageWithRef.st create mode 100644 src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassSimpleTestCase.st create mode 100644 src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassTestsInside.st create mode 100644 src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testExtensionMethodFirstLevelSendersInside.st create mode 100644 src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testExtensionMethodFirstLevelSendersOutside.st create mode 100644 src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testExtensionMethodSecondLevelSendersInside.st create mode 100644 src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testExtensionTestInside.st create mode 100644 src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testInstVarInsideClass.st create mode 100644 src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testInstVarInsidePackage.st create mode 100644 src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testInstVarOutsidePackage.st create mode 100644 src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersInsidePackage.st create mode 100644 src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st create mode 100644 src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st create mode 100644 src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st create mode 100644 src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st create mode 100644 src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestInside.st create mode 100644 src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestOutside.st create mode 100644 src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st create mode 100644 src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st create mode 100644 src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st create mode 100644 src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestInside.st create mode 100644 src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestOutside.st create mode 100644 src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st create mode 100644 src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st create mode 100644 src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st create mode 100644 src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefInMethod.st create mode 100644 src/SmartTest-Tests.package/SmTFilterAbstractTest.class/properties.json create mode 100644 src/SmartTest-Tests.package/SmTFinderAbstractTest.class/README.md create mode 100644 src/SmartTest-Tests.package/SmTFinderAbstractTest.class/class/isAbstract.st create mode 100644 src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/searchTestMethodsFor..st create mode 100644 src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/searchTestsForASetUpMethod..st create mode 100644 src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/searchTestsForATearDownMethod..st create mode 100644 src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/searchTestsForATestMethod..st create mode 100644 src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/setUp.st create mode 100644 src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/tearDown.st create mode 100644 src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testInheritance.st create mode 100644 src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testModificationOnInitialize.st create mode 100644 src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testModificationOnTest.st create mode 100644 src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testSetupMethodFindsTests.st create mode 100644 src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testSetupMethodWithNonSetupFindsNoTests.st create mode 100644 src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testStandardMethodFirstLevelSenders.st create mode 100644 src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testStandardMethodSecondLevelSenders.st create mode 100644 src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testStandardMethodThirdLevelSenders.st create mode 100644 src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testTearDownMethodFindsTests.st create mode 100644 src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testTearDownMethodWithNoneTearDownFindsNoTests.st create mode 100644 src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testTestSelfSelected.st create mode 100644 src/SmartTest-Tests.package/SmTFinderAbstractTest.class/properties.json create mode 100644 src/SmartTest-Tests.package/SmTOnModificationTest.class/README.md create mode 100644 src/SmartTest-Tests.package/SmTOnModificationTest.class/instance/setUp.st create mode 100644 src/SmartTest-Tests.package/SmTOnModificationTest.class/instance/tearDown.st create mode 100644 src/SmartTest-Tests.package/SmTOnModificationTest.class/instance/testAdd.st create mode 100644 src/SmartTest-Tests.package/SmTOnModificationTest.class/instance/testGet.st create mode 100644 src/SmartTest-Tests.package/SmTOnModificationTest.class/properties.json create mode 100644 src/SmartTest-Tests.package/SmTRunnerTest.class/README.md create mode 100644 src/SmartTest-Tests.package/SmTRunnerTest.class/instance/noop.st create mode 100644 src/SmartTest-Tests.package/SmTRunnerTest.class/instance/setUp.st create mode 100644 src/SmartTest-Tests.package/SmTRunnerTest.class/instance/testIconForTestResultGreen.st create mode 100644 src/SmartTest-Tests.package/SmTRunnerTest.class/instance/testIconForTestResultRed.st create mode 100644 src/SmartTest-Tests.package/SmTRunnerTest.class/instance/testIconForTestResultWhite.st create mode 100644 src/SmartTest-Tests.package/SmTRunnerTest.class/instance/testIconForTestResultYellow.st create mode 100644 src/SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCaseNotifyIconGreen.st create mode 100644 src/SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCaseNotifyIconRed.st create mode 100644 src/SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCaseNotifyIconYellow.st create mode 100644 src/SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCasesNotifyIconGreen.st create mode 100644 src/SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCasesNotifyIconRed.st create mode 100644 src/SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCasesNotifyIconYellow.st create mode 100644 src/SmartTest-Tests.package/SmTRunnerTest.class/properties.json create mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/README.md create mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/setUp.st create mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testExtensionTestInside.st create mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testInstVarOutsidePackage.st create mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st create mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st create mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st create mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st create mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st create mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st create mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st create mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st create mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st create mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefInMethod.st create mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/properties.json create mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestDefaultPackage.class/README.md create mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestDefaultPackage.class/instance/testClassOutsidePackageWithRef.st create mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestDefaultPackage.class/instance/testInstVarOutsidePackage.st create mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestDefaultPackage.class/properties.json create mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/README.md create mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/setUp.st create mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st create mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st create mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st create mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st create mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestOutside.st create mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st create mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st create mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st create mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestInside.st create mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestOutside.st create mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st create mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st create mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st create mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/properties.json create mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/README.md create mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/setUp.st create mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/testClassOutsidePackageWithRef.st create mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/testExtensionMethodFirstLevelSendersOutside.st create mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/testInstVarOutsidePackage.st create mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/properties.json create mode 100644 src/SmartTest-Tests.package/SmTSettingsBasicCacheTest.class/README.md create mode 100644 src/SmartTest-Tests.package/SmTSettingsBasicCacheTest.class/instance/cacheStrategy.st create mode 100644 src/SmartTest-Tests.package/SmTSettingsBasicCacheTest.class/properties.json create mode 100644 src/SmartTest-Tests.package/SmTSettingsCacheTest.class/README.md create mode 100644 src/SmartTest-Tests.package/SmTSettingsCacheTest.class/class/isAbstract.st create mode 100644 src/SmartTest-Tests.package/SmTSettingsCacheTest.class/instance/cacheStrategy.st create mode 100644 src/SmartTest-Tests.package/SmTSettingsCacheTest.class/instance/testChangeCacheStrategy.st create mode 100644 src/SmartTest-Tests.package/SmTSettingsCacheTest.class/properties.json create mode 100644 src/SmartTest-Tests.package/SmTSettingsFilterDefaultClassPackagesTest.class/README.md create mode 100644 src/SmartTest-Tests.package/SmTSettingsFilterDefaultClassPackagesTest.class/instance/filterStrategy.st create mode 100644 src/SmartTest-Tests.package/SmTSettingsFilterDefaultClassPackagesTest.class/properties.json create mode 100644 src/SmartTest-Tests.package/SmTSettingsFilterDefaultPackagesTest.class/README.md create mode 100644 src/SmartTest-Tests.package/SmTSettingsFilterDefaultPackagesTest.class/instance/filterStrategy.st create mode 100644 src/SmartTest-Tests.package/SmTSettingsFilterDefaultPackagesTest.class/properties.json create mode 100644 src/SmartTest-Tests.package/SmTSettingsFilterIcebergTest.class/README.md create mode 100644 src/SmartTest-Tests.package/SmTSettingsFilterIcebergTest.class/instance/filterStrategy.st create mode 100644 src/SmartTest-Tests.package/SmTSettingsFilterIcebergTest.class/properties.json create mode 100644 src/SmartTest-Tests.package/SmTSettingsFilterNoFilterTest.class/README.md create mode 100644 src/SmartTest-Tests.package/SmTSettingsFilterNoFilterTest.class/instance/filterStrategy.st create mode 100644 src/SmartTest-Tests.package/SmTSettingsFilterNoFilterTest.class/properties.json create mode 100644 src/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/README.md create mode 100644 src/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/dataForTestRegex.st create mode 100644 src/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/filterStrategy.st create mode 100644 src/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/setUp.st create mode 100644 src/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/tearDown.st create mode 100644 src/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/testChangeRegexWhenChanged.st create mode 100644 src/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/properties.json create mode 100644 src/SmartTest-Tests.package/SmTSettingsFilterTest.class/README.md create mode 100644 src/SmartTest-Tests.package/SmTSettingsFilterTest.class/class/isAbstract.st create mode 100644 src/SmartTest-Tests.package/SmTSettingsFilterTest.class/instance/filterStrategy.st create mode 100644 src/SmartTest-Tests.package/SmTSettingsFilterTest.class/instance/testChangeFilterStrategy.st create mode 100644 src/SmartTest-Tests.package/SmTSettingsFilterTest.class/properties.json create mode 100644 src/SmartTest-Tests.package/SmTSettingsFinderReflectivityTest.class/README.md create mode 100644 src/SmartTest-Tests.package/SmTSettingsFinderReflectivityTest.class/instance/finderStrategy.st create mode 100644 src/SmartTest-Tests.package/SmTSettingsFinderReflectivityTest.class/properties.json create mode 100644 src/SmartTest-Tests.package/SmTSettingsFinderSenderTestTest.class/README.md create mode 100644 src/SmartTest-Tests.package/SmTSettingsFinderSenderTestTest.class/instance/finderStrategy.st create mode 100644 src/SmartTest-Tests.package/SmTSettingsFinderSenderTestTest.class/properties.json create mode 100644 src/SmartTest-Tests.package/SmTSettingsFinderTest.class/README.md create mode 100644 src/SmartTest-Tests.package/SmTSettingsFinderTest.class/class/isAbstract.st create mode 100644 src/SmartTest-Tests.package/SmTSettingsFinderTest.class/instance/finderStrategy.st create mode 100644 src/SmartTest-Tests.package/SmTSettingsFinderTest.class/instance/testChangeFinderStrategy.st create mode 100644 src/SmartTest-Tests.package/SmTSettingsFinderTest.class/properties.json create mode 100644 src/SmartTest-Tests.package/SmTSettingsFinderTestCoverageTest.class/README.md create mode 100644 src/SmartTest-Tests.package/SmTSettingsFinderTestCoverageTest.class/instance/finderStrategy.st create mode 100644 src/SmartTest-Tests.package/SmTSettingsFinderTestCoverageTest.class/properties.json create mode 100644 src/SmartTest-Tests.package/SmTSettingsNoCacheTest.class/README.md create mode 100644 src/SmartTest-Tests.package/SmTSettingsNoCacheTest.class/instance/cacheStrategy.st create mode 100644 src/SmartTest-Tests.package/SmTSettingsNoCacheTest.class/properties.json create mode 100644 src/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/README.md create mode 100644 src/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/class/isAbstract.st create mode 100644 src/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/instance/dataForTestRegex.st create mode 100644 src/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/instance/setUp.st create mode 100644 src/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/instance/tearDown.st create mode 100644 src/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/instance/testChangeRegexSmTSpecifyPackagesNameFilter.st create mode 100644 src/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/properties.json create mode 100644 src/SmartTest-Tests.package/SmTSettingsRunnerDebugTest.class/README.md create mode 100644 src/SmartTest-Tests.package/SmTSettingsRunnerDebugTest.class/instance/runnerStrategy.st create mode 100644 src/SmartTest-Tests.package/SmTSettingsRunnerDebugTest.class/properties.json create mode 100644 src/SmartTest-Tests.package/SmTSettingsRunnerNoticeTest.class/README.md create mode 100644 src/SmartTest-Tests.package/SmTSettingsRunnerNoticeTest.class/instance/runnerStrategy.st create mode 100644 src/SmartTest-Tests.package/SmTSettingsRunnerNoticeTest.class/properties.json create mode 100644 src/SmartTest-Tests.package/SmTSettingsRunnerSmartTest.class/README.md create mode 100644 src/SmartTest-Tests.package/SmTSettingsRunnerSmartTest.class/instance/runnerStrategy.st create mode 100644 src/SmartTest-Tests.package/SmTSettingsRunnerSmartTest.class/properties.json create mode 100644 src/SmartTest-Tests.package/SmTSettingsRunnerTest.class/README.md create mode 100644 src/SmartTest-Tests.package/SmTSettingsRunnerTest.class/class/isAbstract.st create mode 100644 src/SmartTest-Tests.package/SmTSettingsRunnerTest.class/instance/runnerStrategy.st create mode 100644 src/SmartTest-Tests.package/SmTSettingsRunnerTest.class/instance/testChangeRunnerStrategy.st create mode 100644 src/SmartTest-Tests.package/SmTSettingsRunnerTest.class/properties.json create mode 100644 src/SmartTest-Tests.package/SmTSettingsTest.class/README.md create mode 100644 src/SmartTest-Tests.package/SmTSettingsTest.class/class/isAbstract.st create mode 100644 src/SmartTest-Tests.package/SmTSettingsTest.class/instance/setUp.st create mode 100644 src/SmartTest-Tests.package/SmTSettingsTest.class/instance/tearDown.st create mode 100644 src/SmartTest-Tests.package/SmTSettingsTest.class/properties.json create mode 100644 src/SmartTest-Tests.package/SmTSettingsTestingStrategyAlwaysTest.class/README.md create mode 100644 src/SmartTest-Tests.package/SmTSettingsTestingStrategyAlwaysTest.class/instance/getTestingStrategy.st create mode 100644 src/SmartTest-Tests.package/SmTSettingsTestingStrategyAlwaysTest.class/properties.json create mode 100644 src/SmartTest-Tests.package/SmTSettingsTestingStrategyEachModificationTest.class/README.md create mode 100644 src/SmartTest-Tests.package/SmTSettingsTestingStrategyEachModificationTest.class/instance/getTestingStrategy.st create mode 100644 src/SmartTest-Tests.package/SmTSettingsTestingStrategyEachModificationTest.class/properties.json create mode 100644 src/SmartTest-Tests.package/SmTSettingsTestingStrategyFiveMinutesTest.class/README.md create mode 100644 src/SmartTest-Tests.package/SmTSettingsTestingStrategyFiveMinutesTest.class/instance/getTestingStrategy.st create mode 100644 src/SmartTest-Tests.package/SmTSettingsTestingStrategyFiveMinutesTest.class/properties.json create mode 100644 src/SmartTest-Tests.package/SmTSettingsTestingStrategyNeverTest.class/README.md create mode 100644 src/SmartTest-Tests.package/SmTSettingsTestingStrategyNeverTest.class/instance/getTestingStrategy.st create mode 100644 src/SmartTest-Tests.package/SmTSettingsTestingStrategyNeverTest.class/properties.json create mode 100644 src/SmartTest-Tests.package/SmTSettingsTestingStrategyTest.class/README.md create mode 100644 src/SmartTest-Tests.package/SmTSettingsTestingStrategyTest.class/class/isAbstract.st create mode 100644 src/SmartTest-Tests.package/SmTSettingsTestingStrategyTest.class/instance/getTestingStrategy.st create mode 100644 src/SmartTest-Tests.package/SmTSettingsTestingStrategyTest.class/instance/testChangeTestingStrategyStrategy.st create mode 100644 src/SmartTest-Tests.package/SmTSettingsTestingStrategyTest.class/properties.json create mode 100644 src/SmartTest-Tests.package/SmTStaticDefaultClassPackageBasicCacheTest.class/README.md create mode 100644 src/SmartTest-Tests.package/SmTStaticDefaultClassPackageBasicCacheTest.class/instance/setUp.st create mode 100644 src/SmartTest-Tests.package/SmTStaticDefaultClassPackageBasicCacheTest.class/instance/testStandardMethodSecondLevelSenders.st create mode 100644 src/SmartTest-Tests.package/SmTStaticDefaultClassPackageBasicCacheTest.class/properties.json create mode 100644 src/SmartTest-Tests.package/SmTStaticDefaultClassPackageWithoutCacheTest.class/README.md create mode 100644 src/SmartTest-Tests.package/SmTStaticDefaultClassPackageWithoutCacheTest.class/instance/setUp.st create mode 100644 src/SmartTest-Tests.package/SmTStaticDefaultClassPackageWithoutCacheTest.class/instance/tearDown.st create mode 100644 src/SmartTest-Tests.package/SmTStaticDefaultClassPackageWithoutCacheTest.class/properties.json create mode 100644 src/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/README.md create mode 100644 src/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/instance/setUp.st create mode 100644 src/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/instance/testInheritance.st create mode 100644 src/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/instance/testStandardMethodFirstLevelSenders.st create mode 100644 src/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/instance/testStandardMethodSecondLevelSenders.st create mode 100644 src/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/instance/testStandardMethodThirdLevelSenders.st create mode 100644 src/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/properties.json create mode 100644 src/SmartTest-Tests.package/SmartFinderTest.class/README.md create mode 100644 src/SmartTest-Tests.package/SmartFinderTest.class/instance/initCache.st create mode 100644 src/SmartTest-Tests.package/SmartFinderTest.class/instance/setUp.st create mode 100644 src/SmartTest-Tests.package/SmartFinderTest.class/instance/tearDown.st create mode 100644 src/SmartTest-Tests.package/SmartFinderTest.class/instance/testChangeCacheClassFinder.st create mode 100644 src/SmartTest-Tests.package/SmartFinderTest.class/instance/testChangeFilterFinder.st create mode 100644 src/SmartTest-Tests.package/SmartFinderTest.class/instance/testChangeFilterTryFindTestFinder.st create mode 100644 src/SmartTest-Tests.package/SmartFinderTest.class/instance/testChangeFinderTestingStrategy.st create mode 100644 src/SmartTest-Tests.package/SmartFinderTest.class/instance/testChangeRunnerTestingStrategy.st create mode 100644 src/SmartTest-Tests.package/SmartFinderTest.class/instance/testResetCache.st create mode 100644 src/SmartTest-Tests.package/SmartFinderTest.class/instance/testTwoSmartFinderhaveTwoDifferentCache.st create mode 100644 src/SmartTest-Tests.package/SmartFinderTest.class/properties.json create mode 100644 src/SmartTest-Tests.package/monticello.meta/categories.st create mode 100644 src/SmartTest-Tests.package/monticello.meta/initializers.st create mode 100644 src/SmartTest-Tests.package/monticello.meta/package create mode 100644 src/SmartTest-Tests.package/properties.json create mode 100644 src/SmartTest-UI.package/.filetree create mode 100644 src/SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/README.md create mode 100644 src/SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/class/canBeExecutedInContext..st create mode 100644 src/SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/instance/decorateTableCell.using..st create mode 100644 src/SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/instance/description.st create mode 100644 src/SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/instance/execute.st create mode 100644 src/SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/properties.json create mode 100644 src/SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/README.md create mode 100644 src/SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/instance/canBeExecutedInContext..st create mode 100644 src/SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/instance/decorateTableCell.using..st create mode 100644 src/SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/instance/description.st create mode 100644 src/SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/instance/execute.st create mode 100644 src/SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/properties.json create mode 100644 src/SmartTest-UI.package/SmTAutoTestsWindows.class/README.md create mode 100644 src/SmartTest-UI.package/SmTAutoTestsWindows.class/class/defaultSpec.st create mode 100644 src/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/button.st create mode 100644 src/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/extent.st create mode 100644 src/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/icons.st create mode 100644 src/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/initializePresenter.st create mode 100644 src/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/initializeWidgets.st create mode 100644 src/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/setList..st create mode 100644 src/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/testList.st create mode 100644 src/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/title.st create mode 100644 src/SmartTest-UI.package/SmTAutoTestsWindows.class/properties.json create mode 100644 src/SmartTest-UI.package/SmTBigButtonCollector.class/README.md create mode 100644 src/SmartTest-UI.package/SmTBigButtonCollector.class/class/activated..st create mode 100644 src/SmartTest-UI.package/SmTBigButtonCollector.class/class/activated.st create mode 100644 src/SmartTest-UI.package/SmTBigButtonCollector.class/class/bigButton.st create mode 100644 src/SmartTest-UI.package/SmTBigButtonCollector.class/class/initialize.st create mode 100644 src/SmartTest-UI.package/SmTBigButtonCollector.class/class/reset.st create mode 100644 src/SmartTest-UI.package/SmTBigButtonCollector.class/class/settingsOn..st create mode 100644 src/SmartTest-UI.package/SmTBigButtonCollector.class/class/unload.st create mode 100644 src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/activated..st create mode 100644 src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/changeColorFromTestResult..st create mode 100644 src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/collector..st create mode 100644 src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/collector.st create mode 100644 src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/disable.st create mode 100644 src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/enable.st create mode 100644 src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/initialize.st create mode 100644 src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/methodModified..st create mode 100644 src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/notify.st create mode 100644 src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/updateList..st create mode 100644 src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/updateNumberOfTheProgressCircle.st create mode 100644 src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/updateUIAfterAddingMethod..st create mode 100644 src/SmartTest-UI.package/SmTBigButtonCollector.class/properties.json create mode 100644 src/SmartTest-UI.package/SmTButtonResultWindow.class/README.md create mode 100644 src/SmartTest-UI.package/SmTButtonResultWindow.class/class/defaultSpec.st create mode 100644 src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/addToListTestsMethods..st create mode 100644 src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/button..st create mode 100644 src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/button.st create mode 100644 src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/buttonMorph.st create mode 100644 src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/buttonText..st create mode 100644 src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/buttonText.st create mode 100644 src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/controler..st create mode 100644 src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/controler.st create mode 100644 src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/extent.st create mode 100644 src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/fillFailedTestListFromTestResult..st create mode 100644 src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/icons..st create mode 100644 src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/icons.st create mode 100644 src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/initializeWidgets.st create mode 100644 src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/setList..st create mode 100644 src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/testList..st create mode 100644 src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/testList.st create mode 100644 src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/title.st create mode 100644 src/SmartTest-UI.package/SmTButtonResultWindow.class/properties.json create mode 100644 src/SmartTest-UI.package/SmTCollector.class/README.md create mode 100644 src/SmartTest-UI.package/SmTCollector.class/instance/addTestMethod..st create mode 100644 src/SmartTest-UI.package/SmTCollector.class/instance/addTestMethods..st create mode 100644 src/SmartTest-UI.package/SmTCollector.class/instance/collector.st create mode 100644 src/SmartTest-UI.package/SmTCollector.class/instance/flush.st create mode 100644 src/SmartTest-UI.package/SmTCollector.class/properties.json create mode 100644 src/SmartTest-UI.package/SmTFivesMinutesCollector.class/README.md create mode 100644 src/SmartTest-UI.package/SmTFivesMinutesCollector.class/class/addTestMethod..st create mode 100644 src/SmartTest-UI.package/SmTFivesMinutesCollector.class/class/addTestMethods..st create mode 100644 src/SmartTest-UI.package/SmTFivesMinutesCollector.class/class/start.st create mode 100644 src/SmartTest-UI.package/SmTFivesMinutesCollector.class/class/stop.st create mode 100644 src/SmartTest-UI.package/SmTFivesMinutesCollector.class/class/uniqueInstance.st create mode 100644 src/SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/collector.st create mode 100644 src/SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/process.st create mode 100644 src/SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/reset.st create mode 100644 src/SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/showResult..st create mode 100644 src/SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/start.st create mode 100644 src/SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/stop.st create mode 100644 src/SmartTest-UI.package/SmTFivesMinutesCollector.class/properties.json create mode 100644 src/SmartTest-UI.package/SmTIconFabric.class/README.md create mode 100644 src/SmartTest-UI.package/SmTIconFabric.class/class/createIconForMethod..st create mode 100644 src/SmartTest-UI.package/SmTIconFabric.class/class/createIconForMethods..st create mode 100644 src/SmartTest-UI.package/SmTIconFabric.class/properties.json create mode 100644 src/SmartTest-UI.package/SmTProgressCircle.class/README.md create mode 100644 src/SmartTest-UI.package/SmTProgressCircle.class/instance/controler..st create mode 100644 src/SmartTest-UI.package/SmTProgressCircle.class/instance/drawOn..st create mode 100644 src/SmartTest-UI.package/SmTProgressCircle.class/instance/handlesMouseDown..st create mode 100644 src/SmartTest-UI.package/SmTProgressCircle.class/instance/mouseDown..st create mode 100644 src/SmartTest-UI.package/SmTProgressCircle.class/instance/percentage..st create mode 100644 src/SmartTest-UI.package/SmTProgressCircle.class/instance/percentage.st create mode 100644 src/SmartTest-UI.package/SmTProgressCircle.class/properties.json create mode 100644 src/SmartTest-UI.package/monticello.meta/categories.st create mode 100644 src/SmartTest-UI.package/monticello.meta/initializers.st create mode 100644 src/SmartTest-UI.package/monticello.meta/package create mode 100644 src/SmartTest-UI.package/properties.json create mode 100644 src/SmartTest.package/.filetree create mode 100644 src/SmartTest.package/ASTCacheResetTest.extension/instance/testCacheResetPreserveLinks.st create mode 100644 src/SmartTest.package/ASTCacheResetTest.extension/properties.json create mode 100644 src/SmartTest.package/CompiledMethod.extension/instance/asTestCase.st create mode 100644 src/SmartTest.package/CompiledMethod.extension/instance/belongsToTestCase.st create mode 100644 src/SmartTest.package/CompiledMethod.extension/instance/isTestMethod.st create mode 100644 src/SmartTest.package/CompiledMethod.extension/instance/isTestSetUpMethod.st create mode 100644 src/SmartTest.package/CompiledMethod.extension/instance/isTestTearDownMethod.st create mode 100644 src/SmartTest.package/CompiledMethod.extension/properties.json create mode 100644 src/SmartTest.package/FormCanvas.extension/instance/fillOval.color.withPercentage.borderWidth.borderColor..st create mode 100644 src/SmartTest.package/FormCanvas.extension/instance/fillOval.fillStyle.withPercentage.borderWidth.borderColor..st create mode 100644 src/SmartTest.package/FormCanvas.extension/instance/fillOval.withPercentage.color.borderWidth.borderColor..st create mode 100644 src/SmartTest.package/FormCanvas.extension/properties.json create mode 100644 src/SmartTest.package/GrafPort.extension/instance/fillOval.withPercentage..st create mode 100644 src/SmartTest.package/GrafPort.extension/properties.json create mode 100644 src/SmartTest.package/HDTestCoverage.extension/instance/unmark.st create mode 100644 src/SmartTest.package/HDTestCoverage.extension/properties.json create mode 100644 src/SmartTest.package/ManifestSmartTest.class/README.md create mode 100644 src/SmartTest.package/ManifestSmartTest.class/class/description.st create mode 100644 src/SmartTest.package/ManifestSmartTest.class/class/preUnload.st create mode 100644 src/SmartTest.package/ManifestSmartTest.class/properties.json create mode 100644 src/SmartTest.package/NautilusRefactoring.extension/instance/undoLabel.st create mode 100644 src/SmartTest.package/NautilusRefactoring.extension/properties.json create mode 100644 src/SmartTest.package/RGMethodDefinition.extension/instance/isInitializer.st create mode 100644 src/SmartTest.package/RGMethodDefinition.extension/instance/senders.st create mode 100644 src/SmartTest.package/RGMethodDefinition.extension/properties.json create mode 100644 src/SmartTest.package/ReProperty.extension/instance/iconicButtons.st create mode 100644 src/SmartTest.package/ReProperty.extension/properties.json create mode 100644 src/SmartTest.package/SmTAnnouncer.class/README.md create mode 100644 src/SmartTest.package/SmTAnnouncer.class/class/announcer.st create mode 100644 src/SmartTest.package/SmTAnnouncer.class/class/shouldAnnounce.st create mode 100644 src/SmartTest.package/SmTAnnouncer.class/properties.json create mode 100644 src/SmartTest.package/SmTBasicCacheNeverResetStrategy.class/README.md create mode 100644 src/SmartTest.package/SmTBasicCacheNeverResetStrategy.class/instance/resetCache.st create mode 100644 src/SmartTest.package/SmTBasicCacheNeverResetStrategy.class/properties.json create mode 100644 src/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/README.md create mode 100644 src/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/instance/initialize.st create mode 100644 src/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/instance/numberOfChange..st create mode 100644 src/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/instance/numberOfChange.st create mode 100644 src/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/instance/resetCache.st create mode 100644 src/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/properties.json create mode 100644 src/SmartTest.package/SmTBasicCacheResetEveryCommitStrategy.class/README.md create mode 100644 src/SmartTest.package/SmTBasicCacheResetEveryCommitStrategy.class/instance/resetCacheForChange..st create mode 100644 src/SmartTest.package/SmTBasicCacheResetEveryCommitStrategy.class/properties.json create mode 100644 src/SmartTest.package/SmTBasicCacheStrategy.class/README.md create mode 100644 src/SmartTest.package/SmTBasicCacheStrategy.class/instance/at..st create mode 100644 src/SmartTest.package/SmTBasicCacheStrategy.class/instance/at.ifAbsent..st create mode 100644 src/SmartTest.package/SmTBasicCacheStrategy.class/instance/at.ifPresent..st create mode 100644 src/SmartTest.package/SmTBasicCacheStrategy.class/instance/at.ifPresent.ifAbsent..st create mode 100644 src/SmartTest.package/SmTBasicCacheStrategy.class/instance/at.put..st create mode 100644 src/SmartTest.package/SmTBasicCacheStrategy.class/instance/currentCache.st create mode 100644 src/SmartTest.package/SmTBasicCacheStrategy.class/instance/relevantTestsFor..st create mode 100644 src/SmartTest.package/SmTBasicCacheStrategy.class/instance/searchTestsForMethodReference..st create mode 100644 src/SmartTest.package/SmTBasicCacheStrategy.class/properties.json create mode 100644 src/SmartTest.package/SmTCacheStrategy.class/README.md create mode 100644 src/SmartTest.package/SmTCacheStrategy.class/instance/at..st create mode 100644 src/SmartTest.package/SmTCacheStrategy.class/instance/at.ifAbsent..st create mode 100644 src/SmartTest.package/SmTCacheStrategy.class/instance/at.ifPresent..st create mode 100644 src/SmartTest.package/SmTCacheStrategy.class/instance/at.ifPresent.ifAbsent..st create mode 100644 src/SmartTest.package/SmTCacheStrategy.class/instance/at.put..st create mode 100644 src/SmartTest.package/SmTCacheStrategy.class/instance/cache..st create mode 100644 src/SmartTest.package/SmTCacheStrategy.class/instance/currentCache.st create mode 100644 src/SmartTest.package/SmTCacheStrategy.class/instance/disable.st create mode 100644 src/SmartTest.package/SmTCacheStrategy.class/instance/enable.st create mode 100644 src/SmartTest.package/SmTCacheStrategy.class/instance/relevantTestsFor..st create mode 100644 src/SmartTest.package/SmTCacheStrategy.class/instance/resetCache.st create mode 100644 src/SmartTest.package/SmTCacheStrategy.class/instance/resetCacheForChange..st create mode 100644 src/SmartTest.package/SmTCacheStrategy.class/instance/searchTestsForMethodReference..st create mode 100644 src/SmartTest.package/SmTCacheStrategy.class/properties.json create mode 100644 src/SmartTest.package/SmTClassNeedTestsCritique.class/README.md create mode 100644 src/SmartTest.package/SmTClassNeedTestsCritique.class/instance/description.st create mode 100644 src/SmartTest.package/SmTClassNeedTestsCritique.class/instance/title.st create mode 100644 src/SmartTest.package/SmTClassNeedTestsCritique.class/properties.json create mode 100644 src/SmartTest.package/SmTClassRelativeTestsCritique.class/README.md create mode 100644 src/SmartTest.package/SmTClassRelativeTestsCritique.class/class/for.by.tests..st create mode 100644 src/SmartTest.package/SmTClassRelativeTestsCritique.class/instance/description.st create mode 100644 src/SmartTest.package/SmTClassRelativeTestsCritique.class/properties.json create mode 100644 src/SmartTest.package/SmTClassTestedRule.class/README.md create mode 100644 src/SmartTest.package/SmTClassTestedRule.class/class/checksClass.st create mode 100644 src/SmartTest.package/SmTClassTestedRule.class/class/classActivated..st create mode 100644 src/SmartTest.package/SmTClassTestedRule.class/class/classActivated.st create mode 100644 src/SmartTest.package/SmTClassTestedRule.class/class/initialize.st create mode 100644 src/SmartTest.package/SmTClassTestedRule.class/class/settingsOn..st create mode 100644 src/SmartTest.package/SmTClassTestedRule.class/class/unload.st create mode 100644 src/SmartTest.package/SmTClassTestedRule.class/instance/basicCheck..st create mode 100644 src/SmartTest.package/SmTClassTestedRule.class/instance/check.forCritiquesDo..st create mode 100644 src/SmartTest.package/SmTClassTestedRule.class/instance/findTestsForClass..st create mode 100644 src/SmartTest.package/SmTClassTestedRule.class/instance/findTestsForMethods..st create mode 100644 src/SmartTest.package/SmTClassTestedRule.class/instance/methodUsingVariablesOfClass..st create mode 100644 src/SmartTest.package/SmTClassTestedRule.class/instance/name.st create mode 100644 src/SmartTest.package/SmTClassTestedRule.class/properties.json create mode 100644 src/SmartTest.package/SmTDefaultClassPackagesFilter.class/README.md create mode 100644 src/SmartTest.package/SmTDefaultClassPackagesFilter.class/instance/extractPackagesFrom..st create mode 100644 src/SmartTest.package/SmTDefaultClassPackagesFilter.class/properties.json create mode 100644 src/SmartTest.package/SmTDefaultPackagesFilter.class/README.md create mode 100644 src/SmartTest.package/SmTDefaultPackagesFilter.class/class/settingsOn..st create mode 100644 src/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractClassPackageBaseName..st create mode 100644 src/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractCompiledMethodPackageBaseName..st create mode 100644 src/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractMethodDefinitionPackageBaseName..st create mode 100644 src/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractPackageBaseName..st create mode 100644 src/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractPackagesFrom..st create mode 100644 src/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractPackagesFromTrait..st create mode 100644 src/SmartTest.package/SmTDefaultPackagesFilter.class/instance/shouldEntityBeFilteredOut.inPackages..st create mode 100644 src/SmartTest.package/SmTDefaultPackagesFilter.class/properties.json create mode 100644 src/SmartTest.package/SmTEventRecipient.class/README.md create mode 100644 src/SmartTest.package/SmTEventRecipient.class/instance/actionForEvent.fromMorph..st create mode 100644 src/SmartTest.package/SmTEventRecipient.class/instance/runTestAndShowProgressIn..st create mode 100644 src/SmartTest.package/SmTEventRecipient.class/properties.json create mode 100644 src/SmartTest.package/SmTFilterStrategy.class/README.md create mode 100644 src/SmartTest.package/SmTFilterStrategy.class/instance/extractPackagesFrom..st create mode 100644 src/SmartTest.package/SmTFilterStrategy.class/instance/shouldEntityBeFilteredOut.inPackages..st create mode 100644 src/SmartTest.package/SmTFilterStrategy.class/properties.json create mode 100644 src/SmartTest.package/SmTIcebergLoadedPackagesFilter.class/README.md create mode 100644 src/SmartTest.package/SmTIcebergLoadedPackagesFilter.class/instance/extractPackagesFrom..st create mode 100644 src/SmartTest.package/SmTIcebergLoadedPackagesFilter.class/instance/shouldEntityBeFilteredOut.inPackages..st create mode 100644 src/SmartTest.package/SmTIcebergLoadedPackagesFilter.class/properties.json create mode 100644 src/SmartTest.package/SmTMethodNeedTestsCritique.class/README.md create mode 100644 src/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/change.st create mode 100644 src/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/description.st create mode 100644 src/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/execute.st create mode 100644 src/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/nameToDisplay.st create mode 100644 src/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/oldVersionTextToDisplay.st create mode 100644 src/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/providesChange.st create mode 100644 src/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/textToDisplay.st create mode 100644 src/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/title.st create mode 100644 src/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/whatToDisplayIn..st create mode 100644 src/SmartTest.package/SmTMethodNeedTestsCritique.class/properties.json create mode 100644 src/SmartTest.package/SmTMethodRelativeTestsCritique.class/README.md create mode 100644 src/SmartTest.package/SmTMethodRelativeTestsCritique.class/class/for.by.tests..st create mode 100644 src/SmartTest.package/SmTMethodRelativeTestsCritique.class/instance/description.st create mode 100644 src/SmartTest.package/SmTMethodRelativeTestsCritique.class/properties.json create mode 100644 src/SmartTest.package/SmTMethodTestedOnModificationRule.class/README.md create mode 100644 src/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/addToElementBag..st create mode 100644 src/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/bag.st create mode 100644 src/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/disable.st create mode 100644 src/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/enable.st create mode 100644 src/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/getElementFromBag..st create mode 100644 src/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/methodAdded..st create mode 100644 src/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/methodModified..st create mode 100644 src/SmartTest.package/SmTMethodTestedOnModificationRule.class/instance/basicCheck..st create mode 100644 src/SmartTest.package/SmTMethodTestedOnModificationRule.class/instance/name.st create mode 100644 src/SmartTest.package/SmTMethodTestedOnModificationRule.class/properties.json create mode 100644 src/SmartTest.package/SmTMethodTestedRule.class/README.md create mode 100644 src/SmartTest.package/SmTMethodTestedRule.class/class/checksMethod.st create mode 100644 src/SmartTest.package/SmTMethodTestedRule.class/class/disable.st create mode 100644 src/SmartTest.package/SmTMethodTestedRule.class/class/enable.st create mode 100644 src/SmartTest.package/SmTMethodTestedRule.class/class/initialize.st create mode 100644 src/SmartTest.package/SmTMethodTestedRule.class/class/isMethodActivated.st create mode 100644 src/SmartTest.package/SmTMethodTestedRule.class/class/methodActivated..st create mode 100644 src/SmartTest.package/SmTMethodTestedRule.class/class/methodActivated.st create mode 100644 src/SmartTest.package/SmTMethodTestedRule.class/class/methodRuleStrategy..st create mode 100644 src/SmartTest.package/SmTMethodTestedRule.class/class/methodRuleStrategy.st create mode 100644 src/SmartTest.package/SmTMethodTestedRule.class/class/settingsOn..st create mode 100644 src/SmartTest.package/SmTMethodTestedRule.class/class/unload.st create mode 100644 src/SmartTest.package/SmTMethodTestedRule.class/instance/basicCheck..st create mode 100644 src/SmartTest.package/SmTMethodTestedRule.class/instance/check.forCritiquesDo..st create mode 100644 src/SmartTest.package/SmTMethodTestedRule.class/instance/isVisible.st create mode 100644 src/SmartTest.package/SmTMethodTestedRule.class/instance/name.st create mode 100644 src/SmartTest.package/SmTMethodTestedRule.class/properties.json create mode 100644 src/SmartTest.package/SmTNeedTestsCritique.class/README.md create mode 100644 src/SmartTest.package/SmTNeedTestsCritique.class/instance/description.st create mode 100644 src/SmartTest.package/SmTNeedTestsCritique.class/instance/icon.st create mode 100644 src/SmartTest.package/SmTNeedTestsCritique.class/instance/providesChange.st create mode 100644 src/SmartTest.package/SmTNeedTestsCritique.class/instance/title.st create mode 100644 src/SmartTest.package/SmTNeedTestsCritique.class/properties.json create mode 100644 src/SmartTest.package/SmTNoCacheStrategy.class/README.md create mode 100644 src/SmartTest.package/SmTNoCacheStrategy.class/instance/at..st create mode 100644 src/SmartTest.package/SmTNoCacheStrategy.class/instance/at.ifAbsent..st create mode 100644 src/SmartTest.package/SmTNoCacheStrategy.class/instance/at.ifPresent..st create mode 100644 src/SmartTest.package/SmTNoCacheStrategy.class/instance/at.ifPresent.ifAbsent..st create mode 100644 src/SmartTest.package/SmTNoCacheStrategy.class/instance/at.put..st create mode 100644 src/SmartTest.package/SmTNoCacheStrategy.class/instance/currentCache.st create mode 100644 src/SmartTest.package/SmTNoCacheStrategy.class/instance/relevantTestsFor..st create mode 100644 src/SmartTest.package/SmTNoCacheStrategy.class/instance/searchTestsForMethodReference..st create mode 100644 src/SmartTest.package/SmTNoCacheStrategy.class/properties.json create mode 100644 src/SmartTest.package/SmTNoFilter.class/README.md create mode 100644 src/SmartTest.package/SmTNoFilter.class/instance/shouldEntityBeFilteredOut.inPackages..st create mode 100644 src/SmartTest.package/SmTNoFilter.class/properties.json create mode 100644 src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/README.md create mode 100644 src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/class/isConcreteFinder.st create mode 100644 src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/analyseAndRemoveProxyFor..st create mode 100644 src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/buildCacheFromTestSuite..st create mode 100644 src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/collectAllRelativePackages..st create mode 100644 src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/collectRelativeTestMethodOfMethods..st create mode 100644 src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/extractCompiledMethodFromReceiver.andSelector..st create mode 100644 src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/extractCurrentTestExecutionFromContext..st create mode 100644 src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/initializeLink.st create mode 100644 src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/initializeLinkInCompiledMethod..st create mode 100644 src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/installLinkAndRunTest..st create mode 100644 src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/installProxyFor..st create mode 100644 src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/isCORAMethodBlacklisted..st create mode 100644 src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/isCompiledMethod.alreadyExploredForTest..st create mode 100644 src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/methodsInSimilarPackageAs..st create mode 100644 src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/searchRelativeTestForMethod..st create mode 100644 src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/searchTestsForAStandardMethod..st create mode 100644 src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/properties.json create mode 100644 src/SmartTest.package/SmTRelativeTestsCritique.class/README.md create mode 100644 src/SmartTest.package/SmTRelativeTestsCritique.class/class/for.by.tests..st create mode 100644 src/SmartTest.package/SmTRelativeTestsCritique.class/instance/actions.st create mode 100644 src/SmartTest.package/SmTRelativeTestsCritique.class/instance/description.st create mode 100644 src/SmartTest.package/SmTRelativeTestsCritique.class/instance/icon.st create mode 100644 src/SmartTest.package/SmTRelativeTestsCritique.class/instance/iconicButtons.st create mode 100644 src/SmartTest.package/SmTRelativeTestsCritique.class/instance/initializeRule.target.testsList..st create mode 100644 src/SmartTest.package/SmTRelativeTestsCritique.class/instance/openTestsWindowWith..st create mode 100644 src/SmartTest.package/SmTRelativeTestsCritique.class/instance/providesChange.st create mode 100644 src/SmartTest.package/SmTRelativeTestsCritique.class/instance/testButton..st create mode 100644 src/SmartTest.package/SmTRelativeTestsCritique.class/instance/testButton.st create mode 100644 src/SmartTest.package/SmTRelativeTestsCritique.class/instance/tests..st create mode 100644 src/SmartTest.package/SmTRelativeTestsCritique.class/instance/tests.st create mode 100644 src/SmartTest.package/SmTRelativeTestsCritique.class/instance/title.st create mode 100644 src/SmartTest.package/SmTRelativeTestsCritique.class/properties.json create mode 100644 src/SmartTest.package/SmTRules.class/README.md create mode 100644 src/SmartTest.package/SmTRules.class/class/activated..st create mode 100644 src/SmartTest.package/SmTRules.class/class/activated.st create mode 100644 src/SmartTest.package/SmTRules.class/class/cacheStrategy..st create mode 100644 src/SmartTest.package/SmTRules.class/class/cacheStrategy.st create mode 100644 src/SmartTest.package/SmTRules.class/class/fillCache.st create mode 100644 src/SmartTest.package/SmTRules.class/class/filter..st create mode 100644 src/SmartTest.package/SmTRules.class/class/filter.st create mode 100644 src/SmartTest.package/SmTRules.class/class/finder..st create mode 100644 src/SmartTest.package/SmTRules.class/class/finder.st create mode 100644 src/SmartTest.package/SmTRules.class/class/packagesRegex..st create mode 100644 src/SmartTest.package/SmTRules.class/class/packagesRegex.st create mode 100644 src/SmartTest.package/SmTRules.class/class/propagateRegexToTestFinder.st create mode 100644 src/SmartTest.package/SmTRules.class/class/runner..st create mode 100644 src/SmartTest.package/SmTRules.class/class/runner.st create mode 100644 src/SmartTest.package/SmTRules.class/class/settingsOn..st create mode 100644 src/SmartTest.package/SmTRules.class/class/shouldTryToFindTestForDynamic..st create mode 100644 src/SmartTest.package/SmTRules.class/class/shouldTryToFindTestForDynamic.st create mode 100644 src/SmartTest.package/SmTRules.class/class/strategy..st create mode 100644 src/SmartTest.package/SmTRules.class/class/strategy.st create mode 100644 src/SmartTest.package/SmTRules.class/class/testFinder..st create mode 100644 src/SmartTest.package/SmTRules.class/class/testFinder.st create mode 100644 src/SmartTest.package/SmTRules.class/class/unload.st create mode 100644 src/SmartTest.package/SmTRules.class/instance/activated.st create mode 100644 src/SmartTest.package/SmTRules.class/instance/basicCheck..st create mode 100644 src/SmartTest.package/SmTRules.class/instance/findTestsForMethod..st create mode 100644 src/SmartTest.package/SmTRules.class/instance/isOnNautilusOrCalypso.st create mode 100644 src/SmartTest.package/SmTRules.class/instance/isVisible.st create mode 100644 src/SmartTest.package/SmTRules.class/instance/severity.st create mode 100644 src/SmartTest.package/SmTRules.class/instance/tests.st create mode 100644 src/SmartTest.package/SmTRules.class/properties.json create mode 100644 src/SmartTest.package/SmTRunnerStrategy.class/README.md create mode 100644 src/SmartTest.package/SmTRunnerStrategy.class/class/colorForTestResultOf..st create mode 100644 src/SmartTest.package/SmTRunnerStrategy.class/class/iconForTestFromTestCaseHistory..st create mode 100644 src/SmartTest.package/SmTRunnerStrategy.class/class/iconForTestFromTestsCasesHistory..st create mode 100644 src/SmartTest.package/SmTRunnerStrategy.class/class/iconForTestResultOf..st create mode 100644 src/SmartTest.package/SmTRunnerStrategy.class/class/notifyTitle.contents..st create mode 100644 src/SmartTest.package/SmTRunnerStrategy.class/class/runCase.notifyIcon..st create mode 100644 src/SmartTest.package/SmTRunnerStrategy.class/class/runCases..st create mode 100644 src/SmartTest.package/SmTRunnerStrategy.class/class/runCases.notifyIcon..st create mode 100644 src/SmartTest.package/SmTRunnerStrategy.class/properties.json create mode 100644 src/SmartTest.package/SmTRunnerStrategyDebug.class/README.md create mode 100644 src/SmartTest.package/SmTRunnerStrategyDebug.class/class/runCases..st create mode 100644 src/SmartTest.package/SmTRunnerStrategyDebug.class/properties.json create mode 100644 src/SmartTest.package/SmTRunnerStrategyNotice.class/README.md create mode 100644 src/SmartTest.package/SmTRunnerStrategyNotice.class/class/runCase.notifyIcon..st create mode 100644 src/SmartTest.package/SmTRunnerStrategyNotice.class/properties.json create mode 100644 src/SmartTest.package/SmTRunnerStrategySmart.class/README.md create mode 100644 src/SmartTest.package/SmTRunnerStrategySmart.class/properties.json create mode 100644 src/SmartTest.package/SmTSelectPackageBrowser.class/README.md create mode 100644 src/SmartTest.package/SmTSelectPackageBrowser.class/class/openWithSmartFinder..st create mode 100644 src/SmartTest.package/SmTSelectPackageBrowser.class/instance/addAllItems.st create mode 100644 src/SmartTest.package/SmTSelectPackageBrowser.class/instance/addItems.st create mode 100644 src/SmartTest.package/SmTSelectPackageBrowser.class/instance/createTestSuiteFrom..st create mode 100644 src/SmartTest.package/SmTSelectPackageBrowser.class/instance/initialize.st create mode 100644 src/SmartTest.package/SmTSelectPackageBrowser.class/instance/nextAction.st create mode 100644 src/SmartTest.package/SmTSelectPackageBrowser.class/instance/removeAllItems.st create mode 100644 src/SmartTest.package/SmTSelectPackageBrowser.class/instance/removeItems.st create mode 100644 src/SmartTest.package/SmTSelectPackageBrowser.class/instance/smartFinder..st create mode 100644 src/SmartTest.package/SmTSelectPackageBrowser.class/instance/smartFinder.st create mode 100644 src/SmartTest.package/SmTSelectPackageBrowser.class/instance/sort..st create mode 100644 src/SmartTest.package/SmTSelectPackageBrowser.class/instance/sort.withAll..st create mode 100644 src/SmartTest.package/SmTSelectPackageBrowser.class/instance/sort.withoutAll..st create mode 100644 src/SmartTest.package/SmTSelectPackageBrowser.class/properties.json create mode 100644 src/SmartTest.package/SmTSenderTestFinderStrategy.class/README.md create mode 100644 src/SmartTest.package/SmTSenderTestFinderStrategy.class/class/isConcreteFinder.st create mode 100644 src/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/collectSenderOfRGMethodeDefintion..st create mode 100644 src/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/methodsFor.forThePackage..st create mode 100644 src/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAStandardMethod.inPackages..st create mode 100644 src/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAStandardMethod.inPackages.alreadyVisited..st create mode 100644 src/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/searchTestsForAStandardMethod..st create mode 100644 src/SmartTest.package/SmTSenderTestFinderStrategy.class/properties.json create mode 100644 src/SmartTest.package/SmTSpecifyPackagesNameFilter.class/README.md create mode 100644 src/SmartTest.package/SmTSpecifyPackagesNameFilter.class/class/packagesRegex..st create mode 100644 src/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/extractPackagesFrom..st create mode 100644 src/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/packages.st create mode 100644 src/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/packagesRegex..st create mode 100644 src/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/packagesRegex.st create mode 100644 src/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/selectedPackages.st create mode 100644 src/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/shouldEntityBeFilteredOut.inPackages..st create mode 100644 src/SmartTest.package/SmTSpecifyPackagesNameFilter.class/properties.json create mode 100644 src/SmartTest.package/SmTTestCoverage.class/README.md create mode 100644 src/SmartTest.package/SmTTestCoverage.class/instance/finder..st create mode 100644 src/SmartTest.package/SmTTestCoverage.class/instance/finder.st create mode 100644 src/SmartTest.package/SmTTestCoverage.class/instance/mark.st create mode 100644 src/SmartTest.package/SmTTestCoverage.class/instance/run.with.in..st create mode 100644 src/SmartTest.package/SmTTestCoverage.class/properties.json create mode 100644 src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/README.md create mode 100644 src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/class/collectPackageWithBaseName..st create mode 100644 src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/class/collectPackagesFromName..st create mode 100644 src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/class/extractPackageBaseName..st create mode 100644 src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/class/isConcreteFinder.st create mode 100644 src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/addATest.toACollectionOfMethod..st create mode 100644 src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/addATest.toMethodReference..st create mode 100644 src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/addImpactedTestFromWrapper.theTestMethod..st create mode 100644 src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/addRelevantTest.fromMarkedWrappers..st create mode 100644 src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/addToCurrentExecutionMethodReference..st create mode 100644 src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/analyseAndRemoveProxyFor..st create mode 100644 src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/availableMethods.st create mode 100644 src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/availablePackages.st create mode 100644 src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/availableTestMethods.st create mode 100644 src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/availableTestPackages.st create mode 100644 src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/buildCacheFromTestSuite..st create mode 100644 src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectAllRelativePackages..st create mode 100644 src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectClassToTestForPackage..st create mode 100644 src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectClassToTestForPackagesNamed..st create mode 100644 src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectMethodToTestForPackage..st create mode 100644 src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectMethodToTestForPackages..st create mode 100644 src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectMethodToTestForPackagesNamed..st create mode 100644 src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/extractPackageBaseName..st create mode 100644 src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/getPackageFromName..st create mode 100644 src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/initialize.st create mode 100644 src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/installProxyFor..st create mode 100644 src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/methodsInSimilarPackageAs..st create mode 100644 src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/searchRelativeTestForMethod..st create mode 100644 src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/searchTestsForAStandardMethod..st create mode 100644 src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/searchTestsForClass..st create mode 100644 src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/updateCacheAndUnmarkFrom.forMethod..st create mode 100644 src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/properties.json create mode 100644 src/SmartTest.package/SmTTestFinderDynamicStrategy.class/README.md create mode 100644 src/SmartTest.package/SmTTestFinderDynamicStrategy.class/class/isConcreteFinder.st create mode 100644 src/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/addATest.toMethod..st create mode 100644 src/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/analyseAndRemoveProxyFor..st create mode 100644 src/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/buildCacheFromTestSuite..st create mode 100644 src/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/currentTestExecution..st create mode 100644 src/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/currentTestExecution.st create mode 100644 src/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/installProxyFor..st create mode 100644 src/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/methodsFor..st create mode 100644 src/SmartTest.package/SmTTestFinderDynamicStrategy.class/properties.json create mode 100644 src/SmartTest.package/SmTTestFinderStrategy.class/README.md create mode 100644 src/SmartTest.package/SmTTestFinderStrategy.class/class/isConcreteFinder.st create mode 100644 src/SmartTest.package/SmTTestFinderStrategy.class/instance/cache..st create mode 100644 src/SmartTest.package/SmTTestFinderStrategy.class/instance/cache.st create mode 100644 src/SmartTest.package/SmTTestFinderStrategy.class/instance/computeInheritedTestFromDiscoveredTest..st create mode 100644 src/SmartTest.package/SmTTestFinderStrategy.class/instance/filter..st create mode 100644 src/SmartTest.package/SmTTestFinderStrategy.class/instance/filter.st create mode 100644 src/SmartTest.package/SmTTestFinderStrategy.class/instance/initialize.st create mode 100644 src/SmartTest.package/SmTTestFinderStrategy.class/instance/methodToTest..st create mode 100644 src/SmartTest.package/SmTTestFinderStrategy.class/instance/methodsFor..st create mode 100644 src/SmartTest.package/SmTTestFinderStrategy.class/instance/recursiveSearchForAClass.inPackages..st create mode 100644 src/SmartTest.package/SmTTestFinderStrategy.class/instance/recursiveSearchForAClass.inPackages.alreadyVisited..st create mode 100644 src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForAClass..st create mode 100644 src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForAInstVar..st create mode 100644 src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForAInstVar.OfClass..st create mode 100644 src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForASetUpMethod..st create mode 100644 src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForAStandardMethod..st create mode 100644 src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForATearDownMethod..st create mode 100644 src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForATestMethod..st create mode 100644 src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForATrait..st create mode 100644 src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForClassReferenceOf..st create mode 100644 src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForMethod..st create mode 100644 src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForMethodReference..st create mode 100644 src/SmartTest.package/SmTTestFinderStrategy.class/instance/shouldTryToFindTestForDynamic..st create mode 100644 src/SmartTest.package/SmTTestFinderStrategy.class/instance/shouldTryToFindTestForDynamic.st create mode 100644 src/SmartTest.package/SmTTestFinderStrategy.class/instance/subTestFromRGDefinition..st create mode 100644 src/SmartTest.package/SmTTestFinderStrategy.class/properties.json create mode 100644 src/SmartTest.package/SmTTestGenerator.class/README.md create mode 100644 src/SmartTest.package/SmTTestGenerator.class/instance/buildTestClassDefinitionFrom..st create mode 100644 src/SmartTest.package/SmTTestGenerator.class/instance/buildTestClassNameFrom..st create mode 100644 src/SmartTest.package/SmTTestGenerator.class/instance/buildTestPackageNameFrom..st create mode 100644 src/SmartTest.package/SmTTestGenerator.class/instance/buildTestSelectorFor..st create mode 100644 src/SmartTest.package/SmTTestGenerator.class/instance/createTestForClass..st create mode 100644 src/SmartTest.package/SmTTestGenerator.class/instance/generateCommentForTestClass.from..st create mode 100644 src/SmartTest.package/SmTTestGenerator.class/instance/generateSourceCodeForTestFrom..st create mode 100644 src/SmartTest.package/SmTTestGenerator.class/instance/generateTestMethodFor..st create mode 100644 src/SmartTest.package/SmTTestGenerator.class/properties.json create mode 100644 src/SmartTest.package/SmTTestListener.class/README.md create mode 100644 src/SmartTest.package/SmTTestListener.class/class/activated..st create mode 100644 src/SmartTest.package/SmTTestListener.class/class/activated.st create mode 100644 src/SmartTest.package/SmTTestListener.class/class/settingsOn..st create mode 100644 src/SmartTest.package/SmTTestListener.class/class/uniqueInstance.st create mode 100644 src/SmartTest.package/SmTTestListener.class/instance/activated..st create mode 100644 src/SmartTest.package/SmTTestListener.class/instance/cacheStrategy..st create mode 100644 src/SmartTest.package/SmTTestListener.class/instance/cacheStrategy.st create mode 100644 src/SmartTest.package/SmTTestListener.class/instance/disableListenerTestCase.st create mode 100644 src/SmartTest.package/SmTTestListener.class/instance/enableListenerTestCase.st create mode 100644 src/SmartTest.package/SmTTestListener.class/instance/smtDynamicFinder..st create mode 100644 src/SmartTest.package/SmTTestListener.class/instance/smtDynamicFinder.st create mode 100644 src/SmartTest.package/SmTTestListener.class/instance/testCaseEnded..st create mode 100644 src/SmartTest.package/SmTTestListener.class/instance/testCaseStarted..st create mode 100644 src/SmartTest.package/SmTTestListener.class/properties.json create mode 100644 src/SmartTest.package/SmTTestingStrategy.class/README.md create mode 100644 src/SmartTest.package/SmTTestingStrategy.class/instance/disable.st create mode 100644 src/SmartTest.package/SmTTestingStrategy.class/instance/enable.st create mode 100644 src/SmartTest.package/SmTTestingStrategy.class/instance/findTestsForMethod..st create mode 100644 src/SmartTest.package/SmTTestingStrategy.class/instance/finder..st create mode 100644 src/SmartTest.package/SmTTestingStrategy.class/instance/finder.st create mode 100644 src/SmartTest.package/SmTTestingStrategy.class/instance/getMethodsFor..st create mode 100644 src/SmartTest.package/SmTTestingStrategy.class/instance/getTestMethodFromCompiledTestMethod..st create mode 100644 src/SmartTest.package/SmTTestingStrategy.class/instance/runner..st create mode 100644 src/SmartTest.package/SmTTestingStrategy.class/instance/runner.st create mode 100644 src/SmartTest.package/SmTTestingStrategy.class/properties.json create mode 100644 src/SmartTest.package/SmTTestingStrategyAlways.class/README.md create mode 100644 src/SmartTest.package/SmTTestingStrategyAlways.class/instance/findTestsForMethod..st create mode 100644 src/SmartTest.package/SmTTestingStrategyAlways.class/properties.json create mode 100644 src/SmartTest.package/SmTTestingStrategyEachModification.class/README.md create mode 100644 src/SmartTest.package/SmTTestingStrategyEachModification.class/instance/addToElementBag..st create mode 100644 src/SmartTest.package/SmTTestingStrategyEachModification.class/instance/bag.st create mode 100644 src/SmartTest.package/SmTTestingStrategyEachModification.class/instance/disable.st create mode 100644 src/SmartTest.package/SmTTestingStrategyEachModification.class/instance/enable.st create mode 100644 src/SmartTest.package/SmTTestingStrategyEachModification.class/instance/findTestsForMethod..st create mode 100644 src/SmartTest.package/SmTTestingStrategyEachModification.class/instance/getElementFromBag..st create mode 100644 src/SmartTest.package/SmTTestingStrategyEachModification.class/instance/initialize.st create mode 100644 src/SmartTest.package/SmTTestingStrategyEachModification.class/instance/methodAdded..st create mode 100644 src/SmartTest.package/SmTTestingStrategyEachModification.class/instance/methodModified..st create mode 100644 src/SmartTest.package/SmTTestingStrategyEachModification.class/properties.json create mode 100644 src/SmartTest.package/SmTTestingStrategyFiveMinutes.class/README.md create mode 100644 src/SmartTest.package/SmTTestingStrategyFiveMinutes.class/instance/disable.st create mode 100644 src/SmartTest.package/SmTTestingStrategyFiveMinutes.class/instance/enable.st create mode 100644 src/SmartTest.package/SmTTestingStrategyFiveMinutes.class/instance/findTestsForMethod..st create mode 100644 src/SmartTest.package/SmTTestingStrategyFiveMinutes.class/properties.json create mode 100644 src/SmartTest.package/SmTTestingStrategyNever.class/README.md create mode 100644 src/SmartTest.package/SmTTestingStrategyNever.class/instance/findTestsForMethod..st create mode 100644 src/SmartTest.package/SmTTestingStrategyNever.class/properties.json create mode 100644 src/SmartTest.package/SmalltalkImage.extension/instance/allMethods.st create mode 100644 src/SmartTest.package/SmalltalkImage.extension/instance/allTestMethods.st create mode 100644 src/SmartTest.package/SmalltalkImage.extension/properties.json create mode 100644 src/SmartTest.package/SmartFinder.class/README.md create mode 100644 src/SmartTest.package/SmartFinder.class/instance/autoUpdateCache..st create mode 100644 src/SmartTest.package/SmartFinder.class/instance/buildCacheFromTestSuite..st create mode 100644 src/SmartTest.package/SmartFinder.class/instance/cacheStrategy..st create mode 100644 src/SmartTest.package/SmartFinder.class/instance/cacheStrategy.st create mode 100644 src/SmartTest.package/SmartFinder.class/instance/clean.st create mode 100644 src/SmartTest.package/SmartFinder.class/instance/currentCache.st create mode 100644 src/SmartTest.package/SmartFinder.class/instance/filter..st create mode 100644 src/SmartTest.package/SmartFinder.class/instance/filter.st create mode 100644 src/SmartTest.package/SmartFinder.class/instance/findTestsForMethod..st create mode 100644 src/SmartTest.package/SmartFinder.class/instance/initialize.st create mode 100644 src/SmartTest.package/SmartFinder.class/instance/researchTestsForMethod..st create mode 100644 src/SmartTest.package/SmartFinder.class/instance/resetCache.st create mode 100644 src/SmartTest.package/SmartFinder.class/instance/searchTestsForASetUpMethod..st create mode 100644 src/SmartTest.package/SmartFinder.class/instance/searchTestsForATearDownMethod..st create mode 100644 src/SmartTest.package/SmartFinder.class/instance/searchTestsForATestMethod..st create mode 100644 src/SmartTest.package/SmartFinder.class/instance/setCacheValues..st create mode 100644 src/SmartTest.package/SmartFinder.class/instance/shouldTryToFindTestForDynamic..st create mode 100644 src/SmartTest.package/SmartFinder.class/instance/shouldTryToFindTestForDynamic.st create mode 100644 src/SmartTest.package/SmartFinder.class/instance/smtFinder..st create mode 100644 src/SmartTest.package/SmartFinder.class/instance/smtFinder.st create mode 100644 src/SmartTest.package/SmartFinder.class/instance/smtListener.st create mode 100644 src/SmartTest.package/SmartFinder.class/instance/testRunner..st create mode 100644 src/SmartTest.package/SmartFinder.class/instance/testRunner.st create mode 100644 src/SmartTest.package/SmartFinder.class/instance/testingStrategy..st create mode 100644 src/SmartTest.package/SmartFinder.class/instance/testingStrategy.st create mode 100644 src/SmartTest.package/SmartFinder.class/properties.json create mode 100644 src/SmartTest.package/TestAsserter.extension/instance/isTestSuite.st create mode 100644 src/SmartTest.package/TestAsserter.extension/properties.json create mode 100644 src/SmartTest.package/TestCase.extension/class/allTestMethods.st create mode 100644 src/SmartTest.package/TestCase.extension/class/generalAnnouncer.st create mode 100644 src/SmartTest.package/TestCase.extension/class/shouldAnnounce.st create mode 100644 src/SmartTest.package/TestCase.extension/instance/announce.withResult..st create mode 100644 src/SmartTest.package/TestCase.extension/instance/generalAnnouncer.st create mode 100644 src/SmartTest.package/TestCase.extension/instance/methodReference.st create mode 100644 src/SmartTest.package/TestCase.extension/properties.json create mode 100644 src/SmartTest.package/TestSuite.extension/instance/flatCollectTests.st create mode 100644 src/SmartTest.package/TestSuite.extension/instance/isTestSuite.st create mode 100644 src/SmartTest.package/TestSuite.extension/properties.json create mode 100644 src/SmartTest.package/monticello.meta/categories.st create mode 100644 src/SmartTest.package/monticello.meta/initializers.st create mode 100644 src/SmartTest.package/monticello.meta/package create mode 100644 src/SmartTest.package/properties.json create mode 100644 src/SmartTestDataOutsideP1.package/.filetree create mode 100644 src/SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageTestOutsideWithRefTest.class/README.md create mode 100644 src/SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageTestOutsideWithRefTest.class/instance/testRefToSmTClassModificationOnClassInsidePackageWithRef.st create mode 100644 src/SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageTestOutsideWithRefTest.class/properties.json create mode 100644 src/SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageWithRef.class/README.md create mode 100644 src/SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageWithRef.class/properties.json create mode 100644 src/SmartTestDataOutsideP1.package/SmTClassModificationOnClassOutsidePackageWithRef.class/README.md create mode 100644 src/SmartTestDataOutsideP1.package/SmTClassModificationOnClassOutsidePackageWithRef.class/properties.json create mode 100644 src/SmartTestDataOutsideP1.package/SmTClassModificationOnClassSimpleTestCase.class/README.md create mode 100644 src/SmartTestDataOutsideP1.package/SmTClassModificationOnClassSimpleTestCase.class/instance/testModificationOnClassSimpleTestCase.st create mode 100644 src/SmartTestDataOutsideP1.package/SmTClassModificationOnClassSimpleTestCase.class/properties.json create mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1.class/README.md create mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1FirstLevelSendersInsidePackage.st create mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1FirstLevelSendersOutsidePackage.st create mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1SecondLevelSendersInsidePackageWithTestInside.st create mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1SecondLevelSendersInsidePackageWithTestOutside.st create mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1SecondLevelSendersOutsidePackageWithTestInside.st create mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1SecondLevelSendersOutsidePackageWithTestOutside.st create mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method2SecondLevelSendersInsidePackageWithTestInside.st create mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method2SecondLevelSendersInsidePackageWithTestOutside.st create mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1.class/properties.json create mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersInsideWithRefInMethod.class/README.md create mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersInsideWithRefInMethod.class/instance/method1FirstLevelSendersInsideWithRefInMethod.st create mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersInsideWithRefInMethod.class/properties.json create mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class/README.md create mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class/instance/method1FirstLevelSendersWithRefInClass.st create mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class/properties.json create mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class/README.md create mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class/instance/method1FirstLevelSendersWithRefInMethod.st create mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class/properties.json create mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class/README.md create mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class/instance/method1FirstLevelSendersWithRefInPackage.st create mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class/properties.json create mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/README.md create mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/instVarModificationOnVariableInsidePackage..st create mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/instVarModificationOnVariableInsidePackage.st create mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/instVarModificationOnVariableOutsidePackage..st create mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/instVarModificationOnVariableOutsidePackage.st create mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/properties.json create mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsideClassTest.class/README.md create mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsideClassTest.class/instance/instVarModificationOnVariableInsideClass..st create mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsideClassTest.class/instance/instVarModificationOnVariableInsideClass.st create mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsideClassTest.class/instance/testModificationOnVariableInsideClass.st create mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsideClassTest.class/properties.json create mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsidePackageTest.class/README.md create mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsidePackageTest.class/instance/testModificationOnVariableInsidePackage.st create mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsidePackageTest.class/properties.json create mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class/README.md create mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class/instance/method1SecondLevelSendersInsideTestOutsideWithRefInClass.st create mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class/instance/method2SecondLevelSendersInsideTestOutsideWithRefInClass.st create mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class/properties.json create mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class/README.md create mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class/instance/method1SecondLevelSendersInsideTestOutsideWithRefInMethod.st create mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class/instance/method2SecondLevelSendersInsideTestOutsideWithRefInMethod.st create mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class/properties.json create mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class/README.md create mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class/instance/method1SecondLevelSendersInsideTestOutsideWithRefInPackage.st create mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class/instance/method2SecondLevelSendersInsideTestOutsideWithRefInPackage.st create mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class/properties.json create mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.class/README.md create mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.class/instance/method1SecondLevelSendersOutsideTestInsideWithRefInClass.st create mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.class/properties.json create mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class/README.md create mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class/instance/method1SecondLevelSendersOutsideTestInsideWithRefInMethod.st create mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class/properties.json create mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.class/README.md create mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.class/instance/method1SecondLevelSendersOutsideTestInsideWithRefInPackage.st create mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.class/properties.json create mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/README.md create mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/instance/method1SecondLevelSendersOutsideTestOutsideWithRefInMethod.st create mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/properties.json create mode 100644 src/SmartTestDataOutsideP1.package/SmTClassTestP1.class/README.md create mode 100644 src/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testExtensionMethod1FirstLevelSendersInside.st create mode 100644 src/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod1FirstLevelSendersInsidePackage.st create mode 100644 src/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersInsidePackageWithTestInside.st create mode 100644 src/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersOutsidePackageWithTestInside.st create mode 100644 src/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInClass.st create mode 100644 src/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInMethod.st create mode 100644 src/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInPackage.st create mode 100644 src/SmartTestDataOutsideP1.package/SmTClassTestP1.class/properties.json create mode 100644 src/SmartTestDataOutsideP1.package/SmTExtensionP1.class/README.md create mode 100644 src/SmartTestDataOutsideP1.package/SmTExtensionP1.class/instance/extensionMethod1SecondLevelSenders.st create mode 100644 src/SmartTestDataOutsideP1.package/SmTExtensionP1.class/properties.json create mode 100644 src/SmartTestDataOutsideP1.package/SmTExtensionP2Test.extension/instance/extensionMethod1FirstLevelSendersInside.st create mode 100644 src/SmartTestDataOutsideP1.package/SmTExtensionP2Test.extension/instance/extensionMethod1FirstLevelSendersOutside.st create mode 100644 src/SmartTestDataOutsideP1.package/SmTExtensionP2Test.extension/properties.json create mode 100644 src/SmartTestDataOutsideP1.package/SmTExtensionP3.extension/instance/extensionMethod2SecondLevelSenders.st create mode 100644 src/SmartTestDataOutsideP1.package/SmTExtensionP3.extension/properties.json create mode 100644 src/SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/README.md create mode 100644 src/SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/class/isAbstract.st create mode 100644 src/SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/instance/testModificationOnClassAbstractTestCase.st create mode 100644 src/SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/properties.json create mode 100644 src/SmartTestDataOutsideP1.package/SmTP1ClassTestFirstLevelSendersInsideWithRefInMethod.class/README.md create mode 100644 src/SmartTestDataOutsideP1.package/SmTP1ClassTestFirstLevelSendersInsideWithRefInMethod.class/instance/testMethod1FirstLevelSendersInsideWithRefInMethod.st create mode 100644 src/SmartTestDataOutsideP1.package/SmTP1ClassTestFirstLevelSendersInsideWithRefInMethod.class/properties.json create mode 100644 src/SmartTestDataOutsideP1.package/SmTP1ClassTestSubClassDoesntRedefineMethod.class/README.md create mode 100644 src/SmartTestDataOutsideP1.package/SmTP1ClassTestSubClassDoesntRedefineMethod.class/properties.json create mode 100644 src/SmartTestDataOutsideP1.package/SmTP1ClassTestSubclassRedefinesMethod.class/README.md create mode 100644 src/SmartTestDataOutsideP1.package/SmTP1ClassTestSubclassRedefinesMethod.class/instance/testModificationOnClassAbstractTestCase.st create mode 100644 src/SmartTestDataOutsideP1.package/SmTP1ClassTestSubclassRedefinesMethod.class/properties.json create mode 100644 src/SmartTestDataOutsideP1.package/SmTP1Inheritance.class/README.md create mode 100644 src/SmartTestDataOutsideP1.package/SmTP1Inheritance.class/instance/method1Inheritance.st create mode 100644 src/SmartTestDataOutsideP1.package/SmTP1Inheritance.class/properties.json create mode 100644 src/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass1Test.class/README.md create mode 100644 src/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass1Test.class/instance/testMethod1Inheritance.st create mode 100644 src/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass1Test.class/properties.json create mode 100644 src/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass2Test.class/README.md create mode 100644 src/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass2Test.class/properties.json create mode 100644 src/SmartTestDataOutsideP1.package/SmTP1InheritanceTest.class/README.md create mode 100644 src/SmartTestDataOutsideP1.package/SmTP1InheritanceTest.class/class/isAbstract.st create mode 100644 src/SmartTestDataOutsideP1.package/SmTP1InheritanceTest.class/instance/testMethod1Inheritance.st create mode 100644 src/SmartTestDataOutsideP1.package/SmTP1InheritanceTest.class/properties.json create mode 100644 src/SmartTestDataOutsideP1.package/monticello.meta/categories.st create mode 100644 src/SmartTestDataOutsideP1.package/monticello.meta/initializers.st create mode 100644 src/SmartTestDataOutsideP1.package/monticello.meta/package create mode 100644 src/SmartTestDataOutsideP1.package/properties.json create mode 100644 src/SmartTestDataOutsideP2.package/.filetree create mode 100644 src/SmartTestDataOutsideP2.package/SmTClassModificationOnClassOutsidePackageWithRefTest.class/README.md create mode 100644 src/SmartTestDataOutsideP2.package/SmTClassModificationOnClassOutsidePackageWithRefTest.class/instance/testRefToSmTClassModificationOnClassOutsidePackageWithRef.st create mode 100644 src/SmartTestDataOutsideP2.package/SmTClassModificationOnClassOutsidePackageWithRefTest.class/properties.json create mode 100644 src/SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackageTest.class/README.md create mode 100644 src/SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackageTest.class/instance/testModificationOnVariableOutsidePackage.st create mode 100644 src/SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackageTest.class/properties.json create mode 100644 src/SmartTestDataOutsideP2.package/SmTClassP2.class/README.md create mode 100644 src/SmartTestDataOutsideP2.package/SmTClassP2.class/instance/method2SecondLevelSendersOutsidePackageWithTestInside.st create mode 100644 src/SmartTestDataOutsideP2.package/SmTClassP2.class/instance/method2SecondLevelSendersOutsidePackageWithTestOutside.st create mode 100644 src/SmartTestDataOutsideP2.package/SmTClassP2.class/properties.json create mode 100644 src/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/README.md create mode 100644 src/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/instance/referenceToSmTClassP1FirstLevelSendersOutsideWithRefInPackage.st create mode 100644 src/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/instance/referenceToSmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.st create mode 100644 src/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/instance/referenceToSmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.st create mode 100644 src/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/properties.json create mode 100644 src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/README.md create mode 100644 src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/instance/method2SecondLevelSendersOutsideTestInsideWithRefInClass.st create mode 100644 src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/instance/refToSmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.st create mode 100644 src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/properties.json create mode 100644 src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInMethod.class/README.md create mode 100644 src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInMethod.class/instance/method2SecondLevelSendersOutsideTestInsideWithRefInMethod.st create mode 100644 src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInMethod.class/properties.json create mode 100644 src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage.class/README.md create mode 100644 src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage.class/instance/method2SecondLevelSendersOutsideTestInsideWithRefInPackage.st create mode 100644 src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage.class/properties.json create mode 100644 src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/README.md create mode 100644 src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/instance/method2SecondLevelSendersOutsideTestOutsideWithRefInMethod.st create mode 100644 src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/properties.json create mode 100644 src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/README.md create mode 100644 src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/referenceToSmTClassP1FirstLevelSendersOutsideWithRefInClass.st create mode 100644 src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/referenceToSmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.st create mode 100644 src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testExtensionMethod1FirstLevelSendersOutside.st create mode 100644 src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod1FirstLevelSendersOutsidePackage.st create mode 100644 src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod1FirstLevelSendersOutsideWithRefInClass.st create mode 100644 src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod1FirstLevelSendersOutsideWithRefInMethod.st create mode 100644 src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod1FirstLevelSendersOutsideWithRefInPackage.st create mode 100644 src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInClass.st create mode 100644 src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInMethod.st create mode 100644 src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInPackage.st create mode 100644 src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod2SecondLevelSendersInsidePackageWithTestOutside.st create mode 100644 src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod2SecondLevelSendersOutsidePackageWithTestOutside.st create mode 100644 src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/properties.json create mode 100644 src/SmartTestDataOutsideP2.package/SmTExtensionP2Test.class/README.md create mode 100644 src/SmartTestDataOutsideP2.package/SmTExtensionP2Test.class/properties.json create mode 100644 src/SmartTestDataOutsideP2.package/monticello.meta/categories.st create mode 100644 src/SmartTestDataOutsideP2.package/monticello.meta/initializers.st create mode 100644 src/SmartTestDataOutsideP2.package/monticello.meta/package create mode 100644 src/SmartTestDataOutsideP2.package/properties.json create mode 100644 src/SmartTestDataOutsideP3.package/.filetree create mode 100644 src/SmartTestDataOutsideP3.package/SmTClassTestP3.class/README.md create mode 100644 src/SmartTestDataOutsideP3.package/SmTClassTestP3.class/instance/testExtensionMethod2SecondLevelSenders.st create mode 100644 src/SmartTestDataOutsideP3.package/SmTClassTestP3.class/instance/testMethod1ExtensionTestInside.st create mode 100644 src/SmartTestDataOutsideP3.package/SmTClassTestP3.class/properties.json create mode 100644 src/SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRef.class/README.md create mode 100644 src/SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRef.class/properties.json create mode 100644 src/SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefInMethod.class/README.md create mode 100644 src/SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefInMethod.class/instance/testMethod2SecondLevelSenderOutsideTestOutsideWithRefInMethod.st create mode 100644 src/SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefInMethod.class/properties.json create mode 100644 src/SmartTestDataOutsideP3.package/SmTExtensionP3.class/README.md create mode 100644 src/SmartTestDataOutsideP3.package/SmTExtensionP3.class/properties.json create mode 100644 src/SmartTestDataOutsideP3.package/SmTExtensionP4.extension/instance/extensionMethodP4.st create mode 100644 src/SmartTestDataOutsideP3.package/SmTExtensionP4.extension/properties.json create mode 100644 src/SmartTestDataOutsideP3.package/monticello.meta/categories.st create mode 100644 src/SmartTestDataOutsideP3.package/monticello.meta/initializers.st create mode 100644 src/SmartTestDataOutsideP3.package/monticello.meta/package create mode 100644 src/SmartTestDataOutsideP3.package/properties.json create mode 100644 src/SmartTestDataOutsideP4.package/.filetree create mode 100644 src/SmartTestDataOutsideP4.package/SmTExtensionP4.class/README.md create mode 100644 src/SmartTestDataOutsideP4.package/SmTExtensionP4.class/instance/method1ExtensionTestInside.st create mode 100644 src/SmartTestDataOutsideP4.package/SmTExtensionP4.class/properties.json create mode 100644 src/SmartTestDataOutsideP4.package/monticello.meta/categories.st create mode 100644 src/SmartTestDataOutsideP4.package/monticello.meta/initializers.st create mode 100644 src/SmartTestDataOutsideP4.package/monticello.meta/package create mode 100644 src/SmartTestDataOutsideP4.package/properties.json diff --git a/src/BaselineOfSmartTest.package/.filetree b/src/BaselineOfSmartTest.package/.filetree new file mode 100644 index 0000000..57a6797 --- /dev/null +++ b/src/BaselineOfSmartTest.package/.filetree @@ -0,0 +1,5 @@ +{ + "separateMethodMetaAndSource" : false, + "noMethodMetaData" : true, + "useCypressPropertiesFile" : true +} \ No newline at end of file diff --git a/src/BaselineOfSmartTest.package/BaselineOfSmartTest.class/README.md b/src/BaselineOfSmartTest.package/BaselineOfSmartTest.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/src/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/baseline..st b/src/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/baseline..st new file mode 100644 index 0000000..de5050b --- /dev/null +++ b/src/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/baseline..st @@ -0,0 +1,8 @@ +baselines +baseline: spec + + spec + for: #common + do: [ self defineDependencies: spec. + self definePackages: spec. + self defineGroups: spec] \ No newline at end of file diff --git a/src/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/defineDependencies..st b/src/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/defineDependencies..st new file mode 100644 index 0000000..6911781 --- /dev/null +++ b/src/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/defineDependencies..st @@ -0,0 +1,2 @@ +baselines +defineDependencies: spec \ No newline at end of file diff --git a/src/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/defineGroups..st b/src/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/defineGroups..st new file mode 100644 index 0000000..45516d6 --- /dev/null +++ b/src/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/defineGroups..st @@ -0,0 +1,5 @@ +baselines +defineGroups: spec + spec group: 'default' with: #('SmartTest' 'SmartTest-UI'); + group: 'test' with: #('SmartTest-Tests'); + group: 'all' with: #('default' 'test') \ No newline at end of file diff --git a/src/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/definePackages..st b/src/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/definePackages..st new file mode 100644 index 0000000..ebc8fd6 --- /dev/null +++ b/src/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/definePackages..st @@ -0,0 +1,12 @@ +baselines +definePackages: spec + spec + repository: 'github://badetitou/SmartTest'; + package: 'SmartTest' with: [ spec requires: #('SmartTest-UI') ]; + package: 'SmartTest-Tests' with: [ spec requires: #('SmartTest' 'SmartTest-Tests-Data' 'SmartTestDataOutsideP1' 'SmartTestDataOutsideP3' 'SmartTestDataOutsideP2' 'SmartTestDataOutsideP4') ]; + package: 'SmartTestDataOutsideP1' with: [ spec requires: #('SmartTest' 'SmartTestDataOutsideP3' 'SmartTestDataOutsideP2') ]; + package: 'SmartTestDataOutsideP2' with: [ spec requires: #('SmartTest') ]; + package: 'SmartTestDataOutsideP3' with: [ spec requires: #('SmartTest' 'SmartTestDataOutsideP4') ]; + package: 'SmartTestDataOutsideP4' with: [ spec requires: #('SmartTest') ]; + package: 'SmartTest-Tests-Data' with: [ spec requires: #('SmartTest') ]; + package: 'SmartTest-UI' \ No newline at end of file diff --git a/src/BaselineOfSmartTest.package/BaselineOfSmartTest.class/properties.json b/src/BaselineOfSmartTest.package/BaselineOfSmartTest.class/properties.json new file mode 100644 index 0000000..648af49 --- /dev/null +++ b/src/BaselineOfSmartTest.package/BaselineOfSmartTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "BaselineOf", + "category" : "BaselineOfSmartTest", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "BaselineOfSmartTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/BaselineOfSmartTest.package/monticello.meta/categories.st b/src/BaselineOfSmartTest.package/monticello.meta/categories.st new file mode 100644 index 0000000..46a00e8 --- /dev/null +++ b/src/BaselineOfSmartTest.package/monticello.meta/categories.st @@ -0,0 +1 @@ +SystemOrganization addCategory: #BaselineOfSmartTest! diff --git a/src/BaselineOfSmartTest.package/monticello.meta/initializers.st b/src/BaselineOfSmartTest.package/monticello.meta/initializers.st new file mode 100644 index 0000000..e69de29 diff --git a/src/BaselineOfSmartTest.package/monticello.meta/package b/src/BaselineOfSmartTest.package/monticello.meta/package new file mode 100644 index 0000000..f0d1a18 --- /dev/null +++ b/src/BaselineOfSmartTest.package/monticello.meta/package @@ -0,0 +1 @@ +(name 'BaselineOfSmartTest') \ No newline at end of file diff --git a/src/BaselineOfSmartTest.package/properties.json b/src/BaselineOfSmartTest.package/properties.json new file mode 100644 index 0000000..6f31cf5 --- /dev/null +++ b/src/BaselineOfSmartTest.package/properties.json @@ -0,0 +1 @@ +{ } \ No newline at end of file diff --git a/src/ConfigurationOfSmartTest.package/.filetree b/src/ConfigurationOfSmartTest.package/.filetree new file mode 100644 index 0000000..57a6797 --- /dev/null +++ b/src/ConfigurationOfSmartTest.package/.filetree @@ -0,0 +1,5 @@ +{ + "separateMethodMetaAndSource" : false, + "noMethodMetaData" : true, + "useCypressPropertiesFile" : true +} \ No newline at end of file diff --git a/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/README.md b/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/DevelopmentSupport.st b/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/DevelopmentSupport.st new file mode 100644 index 0000000..c173702 --- /dev/null +++ b/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/DevelopmentSupport.st @@ -0,0 +1,4 @@ +development support +DevelopmentSupport + + \ No newline at end of file diff --git a/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/baseConfigurationClassIfAbsent..st b/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/baseConfigurationClassIfAbsent..st new file mode 100644 index 0000000..c134fad --- /dev/null +++ b/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/baseConfigurationClassIfAbsent..st @@ -0,0 +1,6 @@ +development support +baseConfigurationClassIfAbsent: arg1 + ^ Smalltalk + at: #ConfigurationOf + ifAbsent: [ self ensureMetacelloBaseConfiguration. + Smalltalk at: #ConfigurationOf ifAbsent: arg1 ] \ No newline at end of file diff --git a/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/ensureMetacello.st b/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/ensureMetacello.st new file mode 100644 index 0000000..555d700 --- /dev/null +++ b/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/ensureMetacello.st @@ -0,0 +1,3 @@ +development support +ensureMetacello + (self baseConfigurationClassIfAbsent: [ ]) ensureMetacello \ No newline at end of file diff --git a/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/ensureMetacelloBaseConfiguration.st b/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/ensureMetacelloBaseConfiguration.st new file mode 100644 index 0000000..d28fdb0 --- /dev/null +++ b/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/ensureMetacelloBaseConfiguration.st @@ -0,0 +1,15 @@ +development support +ensureMetacelloBaseConfiguration + Smalltalk + at: #ConfigurationOf + ifAbsent: [ | tmp2 tmp3 | + tmp2 := MCHttpRepository + location: 'http://smalltalkhub.com/mc/dkh/metacello/main' + user: '' + password: ''. + tmp2 + versionReaderForFileNamed: 'Metacello-Base-dkh.107' + do: [ :arg1 | + tmp3 := arg1 version. + tmp3 load. + tmp3 workingCopy repositoryGroup addRepository: tmp2 ] ] \ No newline at end of file diff --git a/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/isMetacelloConfig.st b/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/isMetacelloConfig.st new file mode 100644 index 0000000..93594e3 --- /dev/null +++ b/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/isMetacelloConfig.st @@ -0,0 +1,3 @@ +development support +isMetacelloConfig + ^ true \ No newline at end of file diff --git a/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/load.st b/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/load.st new file mode 100644 index 0000000..063bcbf --- /dev/null +++ b/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/load.st @@ -0,0 +1,4 @@ +development support +load + + ^ (self project version: #stable) load \ No newline at end of file diff --git a/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/loadBleedingEdge.st b/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/loadBleedingEdge.st new file mode 100644 index 0000000..71f048c --- /dev/null +++ b/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/loadBleedingEdge.st @@ -0,0 +1,4 @@ +development support +loadBleedingEdge + + ^ (self project version: #bleedingEdge) load \ No newline at end of file diff --git a/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/loadDevelopment.st b/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/loadDevelopment.st new file mode 100644 index 0000000..1def28e --- /dev/null +++ b/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/loadDevelopment.st @@ -0,0 +1,4 @@ +development support +loadDevelopment + + ^ (self project version: #development) load \ No newline at end of file diff --git a/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/project.st b/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/project.st new file mode 100644 index 0000000..956fddd --- /dev/null +++ b/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/project.st @@ -0,0 +1,3 @@ +development support +project + ^ self new project \ No newline at end of file diff --git a/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/validate.st b/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/validate.st new file mode 100644 index 0000000..8946906 --- /dev/null +++ b/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/validate.st @@ -0,0 +1,8 @@ +development support +validate + + self ensureMetacello. + ^ ((Smalltalk at: #MetacelloToolBox) + validateConfiguration: self + debug: #() + recurse: false) explore \ No newline at end of file diff --git a/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/instance/customProjectAttributes.st b/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/instance/customProjectAttributes.st new file mode 100644 index 0000000..15665cb --- /dev/null +++ b/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/instance/customProjectAttributes.st @@ -0,0 +1,3 @@ +symbolic versions +customProjectAttributes + ^ #(). \ No newline at end of file diff --git a/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/instance/dev01..st b/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/instance/dev01..st new file mode 100644 index 0000000..6ea88fb --- /dev/null +++ b/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/instance/dev01..st @@ -0,0 +1,10 @@ +symbolic versions +dev01: spec + + + spec for: #'common' do: [ + spec + baseline: 'SmartTest' + with: [ + spec + repository: 'github://badetitou/SmartTest' ] ]. \ No newline at end of file diff --git a/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/instance/development..st b/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/instance/development..st new file mode 100644 index 0000000..e040d13 --- /dev/null +++ b/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/instance/development..st @@ -0,0 +1,5 @@ +symbolic versions +development: spec + + + spec for: #'common' version: 'dev-01'. \ No newline at end of file diff --git a/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/instance/master..st b/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/instance/master..st new file mode 100644 index 0000000..377c2c2 --- /dev/null +++ b/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/instance/master..st @@ -0,0 +1,8 @@ +symbolic versions +master: spec + + + spec for: #'common' do: [ + spec + baseline: 'SmartTest' + with: [ spec repository: 'github://badetitou/SmartTest:master' ] ] \ No newline at end of file diff --git a/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/instance/project.st b/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/instance/project.st new file mode 100644 index 0000000..ca8cbc3 --- /dev/null +++ b/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/instance/project.st @@ -0,0 +1,14 @@ +symbolic versions +project + | tmp1 | + tmp1 := project. + ^ tmp1 + ifNil: [ self class ensureMetacello. + project := MetacelloMCProject new + projectAttributes: self customProjectAttributes. + (Smalltalk at: #MetacelloVersionConstructor) + on: self + project: project. + project loadType: #linear. + project ] + ifNotNil: [ tmp1 ] \ No newline at end of file diff --git a/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/instance/stable..st b/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/instance/stable..st new file mode 100644 index 0000000..d77b1be --- /dev/null +++ b/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/instance/stable..st @@ -0,0 +1,5 @@ +symbolic versions +stable: spec + + + spec for: #'common' version: 'master'. \ No newline at end of file diff --git a/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/properties.json b/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/properties.json new file mode 100644 index 0000000..8ecfb73 --- /dev/null +++ b/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/properties.json @@ -0,0 +1,15 @@ +{ + "commentStamp" : "", + "super" : "Object", + "category" : "ConfigurationOfSmartTest", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ + "LastVersionLoad" + ], + "instvars" : [ + "project" + ], + "name" : "ConfigurationOfSmartTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/ConfigurationOfSmartTest.package/monticello.meta/categories.st b/src/ConfigurationOfSmartTest.package/monticello.meta/categories.st new file mode 100644 index 0000000..008c229 --- /dev/null +++ b/src/ConfigurationOfSmartTest.package/monticello.meta/categories.st @@ -0,0 +1 @@ +SystemOrganization addCategory: #ConfigurationOfSmartTest! diff --git a/src/ConfigurationOfSmartTest.package/monticello.meta/initializers.st b/src/ConfigurationOfSmartTest.package/monticello.meta/initializers.st new file mode 100644 index 0000000..e69de29 diff --git a/src/ConfigurationOfSmartTest.package/monticello.meta/package b/src/ConfigurationOfSmartTest.package/monticello.meta/package new file mode 100644 index 0000000..0f3d1fa --- /dev/null +++ b/src/ConfigurationOfSmartTest.package/monticello.meta/package @@ -0,0 +1 @@ +(name 'ConfigurationOfSmartTest') \ No newline at end of file diff --git a/src/ConfigurationOfSmartTest.package/properties.json b/src/ConfigurationOfSmartTest.package/properties.json new file mode 100644 index 0000000..6f31cf5 --- /dev/null +++ b/src/ConfigurationOfSmartTest.package/properties.json @@ -0,0 +1 @@ +{ } \ No newline at end of file diff --git a/src/SmartTest-Tests-Data.package/.filetree b/src/SmartTest-Tests-Data.package/.filetree new file mode 100644 index 0000000..57a6797 --- /dev/null +++ b/src/SmartTest-Tests-Data.package/.filetree @@ -0,0 +1,5 @@ +{ + "separateMethodMetaAndSource" : false, + "noMethodMetaData" : true, + "useCypressPropertiesFile" : true +} \ No newline at end of file diff --git a/src/SmartTest-Tests-Data.package/SmTClass.class/README.md b/src/SmartTest-Tests-Data.package/SmTClass.class/README.md new file mode 100644 index 0000000..5baf143 --- /dev/null +++ b/src/SmartTest-Tests-Data.package/SmTClass.class/README.md @@ -0,0 +1,4 @@ +A class and some methods to test SmartTest. +The companion class SmTClassTest contains tests that invoke these methods + +The idea is that asking for the tests that run for example #method1, we should get SmTClassTest>>testMethod1 diff --git a/src/SmartTest-Tests-Data.package/SmTClass.class/instance/method1.st b/src/SmartTest-Tests-Data.package/SmTClass.class/instance/method1.st new file mode 100644 index 0000000..a48bad8 --- /dev/null +++ b/src/SmartTest-Tests-Data.package/SmTClass.class/instance/method1.st @@ -0,0 +1,5 @@ +test data +method1 + "this is data for SmTFinderAbstractTest tests" + ^ instVar1 + \ No newline at end of file diff --git a/src/SmartTest-Tests-Data.package/SmTClass.class/instance/method2.st b/src/SmartTest-Tests-Data.package/SmTClass.class/instance/method2.st new file mode 100644 index 0000000..812f754 --- /dev/null +++ b/src/SmartTest-Tests-Data.package/SmTClass.class/instance/method2.st @@ -0,0 +1,4 @@ +test data +method2 + "this is data for SmTFinderAbstractTest tests" + self method3: self method1 \ No newline at end of file diff --git a/src/SmartTest-Tests-Data.package/SmTClass.class/instance/method3..st b/src/SmartTest-Tests-Data.package/SmTClass.class/instance/method3..st new file mode 100644 index 0000000..cc6e3ff --- /dev/null +++ b/src/SmartTest-Tests-Data.package/SmTClass.class/instance/method3..st @@ -0,0 +1,5 @@ +test data +method3: anObject + "this is data for SmTFinderAbstractTest tests" + instVar2 := anObject. + self method4 \ No newline at end of file diff --git a/src/SmartTest-Tests-Data.package/SmTClass.class/instance/method4.st b/src/SmartTest-Tests-Data.package/SmTClass.class/instance/method4.st new file mode 100644 index 0000000..3e07236 --- /dev/null +++ b/src/SmartTest-Tests-Data.package/SmTClass.class/instance/method4.st @@ -0,0 +1,4 @@ +test data +method4 + "this is data for SmTFinderAbstractTest tests" + ^ instVar2 \ No newline at end of file diff --git a/src/SmartTest-Tests-Data.package/SmTClass.class/properties.json b/src/SmartTest-Tests-Data.package/SmTClass.class/properties.json new file mode 100644 index 0000000..bed4fca --- /dev/null +++ b/src/SmartTest-Tests-Data.package/SmTClass.class/properties.json @@ -0,0 +1,14 @@ +{ + "commentStamp" : "NicolasAnquetil 3/5/2018 09:45", + "super" : "Object", + "category" : "SmartTest-Tests-Data", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ + "instVar1", + "instVar2" + ], + "name" : "SmTClass", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest-Tests-Data.package/SmTClass2.class/README.md b/src/SmartTest-Tests-Data.package/SmTClass2.class/README.md new file mode 100644 index 0000000..5baf143 --- /dev/null +++ b/src/SmartTest-Tests-Data.package/SmTClass2.class/README.md @@ -0,0 +1,4 @@ +A class and some methods to test SmartTest. +The companion class SmTClassTest contains tests that invoke these methods + +The idea is that asking for the tests that run for example #method1, we should get SmTClassTest>>testMethod1 diff --git a/src/SmartTest-Tests-Data.package/SmTClass2.class/instance/initialize.st b/src/SmartTest-Tests-Data.package/SmTClass2.class/instance/initialize.st new file mode 100644 index 0000000..890d8b1 --- /dev/null +++ b/src/SmartTest-Tests-Data.package/SmTClass2.class/instance/initialize.st @@ -0,0 +1,3 @@ +initialization +initialize + instVar1 := nil. \ No newline at end of file diff --git a/src/SmartTest-Tests-Data.package/SmTClass2.class/properties.json b/src/SmartTest-Tests-Data.package/SmTClass2.class/properties.json new file mode 100644 index 0000000..ed5bd03 --- /dev/null +++ b/src/SmartTest-Tests-Data.package/SmTClass2.class/properties.json @@ -0,0 +1,14 @@ +{ + "commentStamp" : "EleonoreWALD 5/2/2018 10:23", + "super" : "Object", + "category" : "SmartTest-Tests-Data", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ + "instVar1", + "instVar2" + ], + "name" : "SmTClass2", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest-Tests-Data.package/SmTClassTest.class/README.md b/src/SmartTest-Tests-Data.package/SmTClassTest.class/README.md new file mode 100644 index 0000000..b42ebde --- /dev/null +++ b/src/SmartTest-Tests-Data.package/SmTClassTest.class/README.md @@ -0,0 +1,3 @@ +Companion class of SmTClass totest SmartTest. + +Each test here exercise a method of SmTClass diff --git a/src/SmartTest-Tests-Data.package/SmTClassTest.class/instance/setUp.st b/src/SmartTest-Tests-Data.package/SmTClassTest.class/instance/setUp.st new file mode 100644 index 0000000..9ab9032 --- /dev/null +++ b/src/SmartTest-Tests-Data.package/SmTClassTest.class/instance/setUp.st @@ -0,0 +1,3 @@ +test data +setUp + "this is data for SmTFinderAbstractTest tests" \ No newline at end of file diff --git a/src/SmartTest-Tests-Data.package/SmTClassTest.class/instance/tearDown.st b/src/SmartTest-Tests-Data.package/SmTClassTest.class/instance/tearDown.st new file mode 100644 index 0000000..1dba8c5 --- /dev/null +++ b/src/SmartTest-Tests-Data.package/SmTClassTest.class/instance/tearDown.st @@ -0,0 +1,3 @@ +test data +tearDown + "this is data for SmTFinderAbstractTest tests" \ No newline at end of file diff --git a/src/SmartTest-Tests-Data.package/SmTClassTest.class/instance/testMethod1.st b/src/SmartTest-Tests-Data.package/SmTClassTest.class/instance/testMethod1.st new file mode 100644 index 0000000..84bc2a3 --- /dev/null +++ b/src/SmartTest-Tests-Data.package/SmTClassTest.class/instance/testMethod1.st @@ -0,0 +1,5 @@ +test data +testMethod1 + "this is data for SmTFinderAbstractTest tests" + ^ SmTClass new method1 + \ No newline at end of file diff --git a/src/SmartTest-Tests-Data.package/SmTClassTest.class/instance/testMethod2.st b/src/SmartTest-Tests-Data.package/SmTClassTest.class/instance/testMethod2.st new file mode 100644 index 0000000..b1f5e80 --- /dev/null +++ b/src/SmartTest-Tests-Data.package/SmTClassTest.class/instance/testMethod2.st @@ -0,0 +1,5 @@ +test data +testMethod2 + "this is data for SmTFinderAbstractTest tests" + ^ SmTClass new method2 + \ No newline at end of file diff --git a/src/SmartTest-Tests-Data.package/SmTClassTest.class/instance/testMethod3.st b/src/SmartTest-Tests-Data.package/SmTClassTest.class/instance/testMethod3.st new file mode 100644 index 0000000..a02530f --- /dev/null +++ b/src/SmartTest-Tests-Data.package/SmTClassTest.class/instance/testMethod3.st @@ -0,0 +1,5 @@ +test data +testMethod3 + "this is data for SmTFinderAbstractTest tests" + ^ SmTClass new method3: 3. + \ No newline at end of file diff --git a/src/SmartTest-Tests-Data.package/SmTClassTest.class/instance/testMethod4.st b/src/SmartTest-Tests-Data.package/SmTClassTest.class/instance/testMethod4.st new file mode 100644 index 0000000..821c31c --- /dev/null +++ b/src/SmartTest-Tests-Data.package/SmTClassTest.class/instance/testMethod4.st @@ -0,0 +1,5 @@ +test data +testMethod4 + "this is data for SmTFinderAbstractTest tests" + ^ SmTClass new method4 + \ No newline at end of file diff --git a/src/SmartTest-Tests-Data.package/SmTClassTest.class/instance/testMethod5.st b/src/SmartTest-Tests-Data.package/SmTClassTest.class/instance/testMethod5.st new file mode 100644 index 0000000..397ba21 --- /dev/null +++ b/src/SmartTest-Tests-Data.package/SmTClassTest.class/instance/testMethod5.st @@ -0,0 +1,3 @@ +test data +testMethod5 + ^ SmTClass2 new. \ No newline at end of file diff --git a/src/SmartTest-Tests-Data.package/SmTClassTest.class/properties.json b/src/SmartTest-Tests-Data.package/SmTClassTest.class/properties.json new file mode 100644 index 0000000..479e4b8 --- /dev/null +++ b/src/SmartTest-Tests-Data.package/SmTClassTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "NicolasAnquetil 3/5/2018 09:45", + "super" : "TestCase", + "category" : "SmartTest-Tests-Data", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTClassTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest-Tests-Data.package/SmTInheritClassTest.class/README.md b/src/SmartTest-Tests-Data.package/SmTInheritClassTest.class/README.md new file mode 100644 index 0000000..30d6df7 --- /dev/null +++ b/src/SmartTest-Tests-Data.package/SmTInheritClassTest.class/README.md @@ -0,0 +1,2 @@ +A test to test if SmartTest works with inherited tests. +This is the concrete class that executes the tests of its superclass \ No newline at end of file diff --git a/src/SmartTest-Tests-Data.package/SmTInheritClassTest.class/instance/setUp.st b/src/SmartTest-Tests-Data.package/SmTInheritClassTest.class/instance/setUp.st new file mode 100644 index 0000000..fca3dac --- /dev/null +++ b/src/SmartTest-Tests-Data.package/SmTInheritClassTest.class/instance/setUp.st @@ -0,0 +1,3 @@ +initialization +setUp + smTtestClass := SmTClass new \ No newline at end of file diff --git a/src/SmartTest-Tests-Data.package/SmTInheritClassTest.class/properties.json b/src/SmartTest-Tests-Data.package/SmTInheritClassTest.class/properties.json new file mode 100644 index 0000000..e2786d2 --- /dev/null +++ b/src/SmartTest-Tests-Data.package/SmTInheritClassTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "EleonoreWALD 5/2/2018 14:04", + "super" : "SmTSuperClassTest", + "category" : "SmartTest-Tests-Data", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTInheritClassTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest-Tests-Data.package/SmTSuperClassTest.class/README.md b/src/SmartTest-Tests-Data.package/SmTSuperClassTest.class/README.md new file mode 100644 index 0000000..0bd34da --- /dev/null +++ b/src/SmartTest-Tests-Data.package/SmTSuperClassTest.class/README.md @@ -0,0 +1,2 @@ +A test to test if SmartTest works with inherited tests. +This is an abstract class that is never really executed diff --git a/src/SmartTest-Tests-Data.package/SmTSuperClassTest.class/class/isAbstract.st b/src/SmartTest-Tests-Data.package/SmTSuperClassTest.class/class/isAbstract.st new file mode 100644 index 0000000..2abee4c --- /dev/null +++ b/src/SmartTest-Tests-Data.package/SmTSuperClassTest.class/class/isAbstract.st @@ -0,0 +1,4 @@ +testing +isAbstract + + ^ self == SmTSuperClassTest \ No newline at end of file diff --git a/src/SmartTest-Tests-Data.package/SmTSuperClassTest.class/instance/testMethod1.st b/src/SmartTest-Tests-Data.package/SmTSuperClassTest.class/instance/testMethod1.st new file mode 100644 index 0000000..75af50c --- /dev/null +++ b/src/SmartTest-Tests-Data.package/SmTSuperClassTest.class/instance/testMethod1.st @@ -0,0 +1,4 @@ +tests +testMethod1 + ^ smTtestClass method1 + \ No newline at end of file diff --git a/src/SmartTest-Tests-Data.package/SmTSuperClassTest.class/properties.json b/src/SmartTest-Tests-Data.package/SmTSuperClassTest.class/properties.json new file mode 100644 index 0000000..e389482 --- /dev/null +++ b/src/SmartTest-Tests-Data.package/SmTSuperClassTest.class/properties.json @@ -0,0 +1,13 @@ +{ + "commentStamp" : "EleonoreWALD 5/2/2018 14:04", + "super" : "TestCase", + "category" : "SmartTest-Tests-Data", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ + "smTtestClass" + ], + "name" : "SmTSuperClassTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest-Tests-Data.package/monticello.meta/categories.st b/src/SmartTest-Tests-Data.package/monticello.meta/categories.st new file mode 100644 index 0000000..fbb2915 --- /dev/null +++ b/src/SmartTest-Tests-Data.package/monticello.meta/categories.st @@ -0,0 +1 @@ +SystemOrganization addCategory: #'SmartTest-Tests-Data'! diff --git a/src/SmartTest-Tests-Data.package/monticello.meta/initializers.st b/src/SmartTest-Tests-Data.package/monticello.meta/initializers.st new file mode 100644 index 0000000..e69de29 diff --git a/src/SmartTest-Tests-Data.package/monticello.meta/package b/src/SmartTest-Tests-Data.package/monticello.meta/package new file mode 100644 index 0000000..750f36f --- /dev/null +++ b/src/SmartTest-Tests-Data.package/monticello.meta/package @@ -0,0 +1 @@ +(name 'SmartTest-Tests-Data') \ No newline at end of file diff --git a/src/SmartTest-Tests-Data.package/properties.json b/src/SmartTest-Tests-Data.package/properties.json new file mode 100644 index 0000000..6f31cf5 --- /dev/null +++ b/src/SmartTest-Tests-Data.package/properties.json @@ -0,0 +1 @@ +{ } \ No newline at end of file diff --git a/src/SmartTest-Tests.package/.filetree b/src/SmartTest-Tests.package/.filetree new file mode 100644 index 0000000..57a6797 --- /dev/null +++ b/src/SmartTest-Tests.package/.filetree @@ -0,0 +1,5 @@ +{ + "separateMethodMetaAndSource" : false, + "noMethodMetaData" : true, + "useCypressPropertiesFile" : true +} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityNeverResetTest.class/README.md b/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityNeverResetTest.class/README.md new file mode 100644 index 0000000..522e130 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityNeverResetTest.class/README.md @@ -0,0 +1 @@ +These tests are here to assert that the build cache methods are correct when dealing the Reflectivity strategy and the never reset cache. \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityNeverResetTest.class/instance/cacheStrategy.st b/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityNeverResetTest.class/instance/cacheStrategy.st new file mode 100644 index 0000000..5b80c72 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityNeverResetTest.class/instance/cacheStrategy.st @@ -0,0 +1,3 @@ +initialization +cacheStrategy +^ SmTBasicCacheNeverResetStrategy \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityNeverResetTest.class/properties.json b/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityNeverResetTest.class/properties.json new file mode 100644 index 0000000..d274c0f --- /dev/null +++ b/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityNeverResetTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "eleonoreW 7/20/2018 09:27", + "super" : "SmTCacheBuilderReflectivityTest", + "category" : "SmartTest-Tests-CacheBuilder", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTCacheBuilderReflectivityNeverResetTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEvery5ChangesTest.class/README.md b/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEvery5ChangesTest.class/README.md new file mode 100644 index 0000000..58f6d2b --- /dev/null +++ b/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEvery5ChangesTest.class/README.md @@ -0,0 +1 @@ +These tests are here to assert that the build cache methods are correct when dealing the Reflectivity strategy and the reset every 5 changes cache. \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEvery5ChangesTest.class/instance/cacheStrategy.st b/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEvery5ChangesTest.class/instance/cacheStrategy.st new file mode 100644 index 0000000..5b80c72 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEvery5ChangesTest.class/instance/cacheStrategy.st @@ -0,0 +1,3 @@ +initialization +cacheStrategy +^ SmTBasicCacheNeverResetStrategy \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEvery5ChangesTest.class/properties.json b/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEvery5ChangesTest.class/properties.json new file mode 100644 index 0000000..312ebe6 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEvery5ChangesTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "eleonoreW 7/20/2018 09:27", + "super" : "SmTCacheBuilderReflectivityTest", + "category" : "SmartTest-Tests-CacheBuilder", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTCacheBuilderReflectivityResetEvery5ChangesTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEveryCommitTest.class/README.md b/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEveryCommitTest.class/README.md new file mode 100644 index 0000000..ff25e1b --- /dev/null +++ b/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEveryCommitTest.class/README.md @@ -0,0 +1 @@ +These tests are here to assert that the build cache methods are correct when dealing the Reflectivity strategy and the reset every commit cache. \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEveryCommitTest.class/instance/cacheStrategy.st b/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEveryCommitTest.class/instance/cacheStrategy.st new file mode 100644 index 0000000..5b80c72 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEveryCommitTest.class/instance/cacheStrategy.st @@ -0,0 +1,3 @@ +initialization +cacheStrategy +^ SmTBasicCacheNeverResetStrategy \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEveryCommitTest.class/properties.json b/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEveryCommitTest.class/properties.json new file mode 100644 index 0000000..1ae013d --- /dev/null +++ b/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEveryCommitTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "eleonoreW 7/20/2018 09:27", + "super" : "SmTCacheBuilderReflectivityTest", + "category" : "SmartTest-Tests-CacheBuilder", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTCacheBuilderReflectivityResetEveryCommitTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetOnDemandTest.class/README.md b/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetOnDemandTest.class/README.md new file mode 100644 index 0000000..b6abc29 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetOnDemandTest.class/README.md @@ -0,0 +1 @@ +These tests are here to assert that the build cache methods are correct when dealing the Reflectivity strategy and the reset on demand cache. \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetOnDemandTest.class/instance/cacheStrategy.st b/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetOnDemandTest.class/instance/cacheStrategy.st new file mode 100644 index 0000000..3d73e2e --- /dev/null +++ b/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetOnDemandTest.class/instance/cacheStrategy.st @@ -0,0 +1,3 @@ +initialization +cacheStrategy +^ SmTBasicCacheStrategy \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetOnDemandTest.class/properties.json b/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetOnDemandTest.class/properties.json new file mode 100644 index 0000000..12b2ac0 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetOnDemandTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "eleonoreW 7/20/2018 09:27", + "super" : "SmTCacheBuilderReflectivityTest", + "category" : "SmartTest-Tests-CacheBuilder", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTCacheBuilderReflectivityResetOnDemandTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/README.md b/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/README.md new file mode 100644 index 0000000..0509902 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/README.md @@ -0,0 +1 @@ +These tests are here to assert that the build cache methods are correct when dealing with different cache strategies and the Reflectivity strategy. \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/class/isAbstract.st b/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/class/isAbstract.st new file mode 100644 index 0000000..9df82fc --- /dev/null +++ b/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/class/isAbstract.st @@ -0,0 +1,3 @@ +testing +isAbstract + ^ self == SmTCacheBuilderReflectivityTest \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/instance/dynamicFinder.st b/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/instance/dynamicFinder.st new file mode 100644 index 0000000..b289608 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/instance/dynamicFinder.st @@ -0,0 +1,3 @@ +tests +dynamicFinder + ^ SmTReflectivityTestFinderStrategy new \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod1ToBuildCache.st b/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod1ToBuildCache.st new file mode 100644 index 0000000..bb15332 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod1ToBuildCache.st @@ -0,0 +1,12 @@ +tests +testRunningTestMethod1ToBuildCache + + self assert: smartFinder currentCache isEmpty. + SmTClassTest run: #testMethod1. + "Running the test fill the cache that is then no more empty but contains only the association between SmTClass>>method1 and SmTClassTest>>testMethod1" + self assert: smartFinder currentCache isNotEmpty. + + "Not sure about the format of the dictionnary." + self + assert: (smartFinder currentCache at: ((SmTClass >> #method1) asRingDefinition )) + equals: {(SmTClassTest >> #testMethod1) asRingDefinition } asSet \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod2ToBuildCache.st b/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod2ToBuildCache.st new file mode 100644 index 0000000..00d8a37 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod2ToBuildCache.st @@ -0,0 +1,36 @@ +tests +testRunningTestMethod2ToBuildCache + + self assert: smartFinder currentCache isEmpty. + SmTClassTest run: #testMethod2. + self assert: smartFinder currentCache isNotEmpty. + self + assert: + (smartFinder currentCache + at: (SmTClass >> #method1 )asRingDefinition) + equals: + {(SmTClassTest >> #testMethod2 )asRingDefinition} + asSet. + + "Not sure about the format of the dictionnary." + self + assert: + (smartFinder currentCache + at: (SmTClass >> #method2 )asRingDefinition) + equals: + {(SmTClassTest >> #testMethod2 )asRingDefinition} + asSet. + self + assert: + (smartFinder currentCache + at: (SmTClass >> #method3: )asRingDefinition) + equals: + {(SmTClassTest >> #testMethod2 )asRingDefinition} + asSet. + self + assert: + (smartFinder currentCache + at: (SmTClass >> #method4 )asRingDefinition) + equals: + {(SmTClassTest >> #testMethod2 )asRingDefinition} + asSet \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod5ToBuildCache.st b/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod5ToBuildCache.st new file mode 100644 index 0000000..a234dd1 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod5ToBuildCache.st @@ -0,0 +1,11 @@ +tests +testRunningTestMethod5ToBuildCache + "This test if SmTTestCoverage find the initialize call" + + + self assert: smartFinder currentCache isEmpty. + SmTClassTest run: #testMethod5. + "Running the test fill the cache that is then no more empty but contains only the association between SmTClass>>method1 and SmTClassTest>>testMethod1" + self assert: smartFinder currentCache isNotEmpty. + self assert: (smartFinder currentCache at: (SmTClass2 >> #initialize) asRingDefinition) equals: {(SmTClassTest >> #testMethod5) asRingDefinition} asSet. + self assert: (smartFinder currentCache at: (SmTClassTest >> #testMethod5) asRingDefinition) equals: {(SmTClassTest >> #testMethod5) asRingDefinition} asSet \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/properties.json b/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/properties.json new file mode 100644 index 0000000..839ba10 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "eleonoreW 7/20/2018 09:26", + "super" : "SmTCacheBuilderTest", + "category" : "SmartTest-Tests-CacheBuilder", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTCacheBuilderReflectivityTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderTest.class/README.md b/src/SmartTest-Tests.package/SmTCacheBuilderTest.class/README.md new file mode 100644 index 0000000..9f44baf --- /dev/null +++ b/src/SmartTest-Tests.package/SmTCacheBuilderTest.class/README.md @@ -0,0 +1 @@ +This class aims to test the construction of the cache in the context of dynamic method analysis with different dynamic strategies and different cache strategies. \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderTest.class/class/isAbstract.st b/src/SmartTest-Tests.package/SmTCacheBuilderTest.class/class/isAbstract.st new file mode 100644 index 0000000..640ddb4 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTCacheBuilderTest.class/class/isAbstract.st @@ -0,0 +1,4 @@ +testing +isAbstract + + ^ self == SmTCacheBuilderTest \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/cacheStrategy.st b/src/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/cacheStrategy.st new file mode 100644 index 0000000..bab15f4 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/cacheStrategy.st @@ -0,0 +1,3 @@ +initialization +cacheStrategy +self subclassResponsibility. \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/dynamicFinder.st b/src/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/dynamicFinder.st new file mode 100644 index 0000000..2732aa5 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/dynamicFinder.st @@ -0,0 +1,3 @@ +initialization +dynamicFinder + self subclassResponsibility \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/searchTestMethodsFor..st b/src/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/searchTestMethodsFor..st new file mode 100644 index 0000000..dbdfb36 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/searchTestMethodsFor..st @@ -0,0 +1,4 @@ +helpers +searchTestMethodsFor: aCompiledMethod + + ^ smartFinder researchTestsForMethod: aCompiledMethod . \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/setUp.st b/src/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/setUp.st new file mode 100644 index 0000000..e195aa4 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/setUp.st @@ -0,0 +1,10 @@ +initialization +setUp + smartFinder := SmartFinder new. + smartFinder filter: SmTDefaultClassPackagesFilter new. + "the cache is initially empty" + smartFinder autoUpdateCache: false. + smartFinder cacheStrategy: self cacheStrategy new. + smartFinder resetCache. + smartFinder smtFinder: self dynamicFinder. + smartFinder autoUpdateCache: true \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/tearDown.st b/src/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/tearDown.st new file mode 100644 index 0000000..21f276b --- /dev/null +++ b/src/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/tearDown.st @@ -0,0 +1,5 @@ +initialization +tearDown + smartFinder autoUpdateCache: false. + smartFinder clean. + super tearDown \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/testResearchTestsForStandardMethodWhileEmptyCache.st b/src/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/testResearchTestsForStandardMethodWhileEmptyCache.st new file mode 100644 index 0000000..3ec7994 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/testResearchTestsForStandardMethodWhileEmptyCache.st @@ -0,0 +1,9 @@ +tests +testResearchTestsForStandardMethodWhileEmptyCache + + | testsFound | + self assert: smartFinder currentCache isEmpty. + testsFound := self searchTestMethodsFor: SmTClass >> #method2. + self assert: smartFinder currentCache isEmpty. + self assert: testsFound isEmpty. + diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod1ToBuildCache.st b/src/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod1ToBuildCache.st new file mode 100644 index 0000000..ace7f65 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod1ToBuildCache.st @@ -0,0 +1,11 @@ +tests +testRunningTestMethod1ToBuildCache + + self assert: smartFinder currentCache isEmpty. + SmTClassTest run: #testMethod1. + "Running the test fill the cache that is then no more empty but contains only the association between SmTClass>>method1 and SmTClassTest>>testMethod1" + self assert: smartFinder currentCache isNotEmpty. + self assert: smartFinder currentCache size equals: 2. + + "Not sure about the format of the dictionnary." + self assert: (smartFinder currentCache at: (SmTClass >> #method1) asRingDefinition) equals: {(SmTClassTest >> #testMethod1) asRingDefinition} asSet \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod2ToBuildCache.st b/src/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod2ToBuildCache.st new file mode 100644 index 0000000..2f3c52c --- /dev/null +++ b/src/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod2ToBuildCache.st @@ -0,0 +1,14 @@ +tests +testRunningTestMethod2ToBuildCache + + self assert: smartFinder currentCache isEmpty. + SmTClassTest run: #testMethod2. + "Running the test fills the cache that is then no more empty but contains only the association between SmTClass>>methodi (with i = 1 to 4) and SmTClassTest>>testMethod2. The cache should contain 5 associations one for each method as key and testMethod2 asValue" + self assert: smartFinder currentCache isNotEmpty. + self assert: smartFinder currentCache size equals: 5. + self assert: (smartFinder currentCache at: (SmTClass >> #method1) asRingDefinition) equals: {(SmTClassTest >> #testMethod2) asRingDefinition} asSet. + + "Not sure about the format of the dictionnary." + self assert: (smartFinder currentCache at: (SmTClass >> #method2) asRingDefinition) equals: {(SmTClassTest >> #testMethod2) asRingDefinition} asSet. + self assert: (smartFinder currentCache at: (SmTClass >> #method3:) asRingDefinition) equals: {(SmTClassTest >> #testMethod2) asRingDefinition} asSet. + self assert: (smartFinder currentCache at: (SmTClass >> #method4) asRingDefinition) equals: {(SmTClassTest >> #testMethod2) asRingDefinition} asSet \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod5ToBuildCache.st b/src/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod5ToBuildCache.st new file mode 100644 index 0000000..03e4ce6 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod5ToBuildCache.st @@ -0,0 +1,12 @@ +tests +testRunningTestMethod5ToBuildCache + "This test if SmTTestCoverage find the initialize call" + + + self assert: smartFinder currentCache isEmpty. + SmTClassTest run: #testMethod5. + "Running the test fill the cache that is then no more empty but contains only the association between SmTClass2>>initialize and SmTClassTest>>testMethod5" + self assert: smartFinder currentCache isNotEmpty. + self assert: smartFinder currentCache size equals: 2. + self assert: (smartFinder currentCache at: (SmTClass2 >> #initialize) asRingDefinition) equals: {(SmTClassTest >> #testMethod5) asRingDefinition} asSet. + self assert: (smartFinder currentCache at: (SmTClassTest >> #testMethod5) asRingDefinition) equals: {(SmTClassTest >> #testMethod5) asRingDefinition} asSet \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderTest.class/properties.json b/src/SmartTest-Tests.package/SmTCacheBuilderTest.class/properties.json new file mode 100644 index 0000000..66b6ba4 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTCacheBuilderTest.class/properties.json @@ -0,0 +1,14 @@ +{ + "commentStamp" : "eleonoreW 7/20/2018 09:25", + "super" : "TestCase", + "category" : "SmartTest-Tests-CacheBuilder", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ + "cache", + "smartFinder" + ], + "name" : "SmTCacheBuilderTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageNeverResetTest.class/README.md b/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageNeverResetTest.class/README.md new file mode 100644 index 0000000..d616f55 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageNeverResetTest.class/README.md @@ -0,0 +1 @@ +These tests are here to assert that the build cache methods are correct when dealing the Test Coverage strategy and the never reset cache. \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageNeverResetTest.class/instance/cacheStrategy.st b/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageNeverResetTest.class/instance/cacheStrategy.st new file mode 100644 index 0000000..5b80c72 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageNeverResetTest.class/instance/cacheStrategy.st @@ -0,0 +1,3 @@ +initialization +cacheStrategy +^ SmTBasicCacheNeverResetStrategy \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageNeverResetTest.class/properties.json b/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageNeverResetTest.class/properties.json new file mode 100644 index 0000000..78a331c --- /dev/null +++ b/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageNeverResetTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "eleonoreW 7/20/2018 09:28", + "super" : "SmTCacheBuilderTestCoverageTest", + "category" : "SmartTest-Tests-CacheBuilder", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTCacheBuilderTestCoverageNeverResetTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEvery5ChangesTest.class/README.md b/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEvery5ChangesTest.class/README.md new file mode 100644 index 0000000..cec1f78 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEvery5ChangesTest.class/README.md @@ -0,0 +1 @@ +These tests are here to assert that the build cache methods are correct when dealing the Test Coverage strategy and the reset every 5 changes cache. \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEvery5ChangesTest.class/instance/cacheStrategy.st b/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEvery5ChangesTest.class/instance/cacheStrategy.st new file mode 100644 index 0000000..6b280ce --- /dev/null +++ b/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEvery5ChangesTest.class/instance/cacheStrategy.st @@ -0,0 +1,3 @@ +initialization +cacheStrategy +^ SmTBasicCacheResetEvery5ChangesStrategy \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEvery5ChangesTest.class/properties.json b/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEvery5ChangesTest.class/properties.json new file mode 100644 index 0000000..6e318b6 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEvery5ChangesTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "eleonoreW 7/20/2018 09:28", + "super" : "SmTCacheBuilderTestCoverageTest", + "category" : "SmartTest-Tests-CacheBuilder", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTCacheBuilderTestCoverageResetEvery5ChangesTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEveryCommitTest.class/README.md b/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEveryCommitTest.class/README.md new file mode 100644 index 0000000..a507393 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEveryCommitTest.class/README.md @@ -0,0 +1 @@ +These tests are here to assert that the build cache methods are correct when dealing the Test Coverage strategy and the reset every commits cache. \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEveryCommitTest.class/instance/cacheStrategy.st b/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEveryCommitTest.class/instance/cacheStrategy.st new file mode 100644 index 0000000..f2ecde5 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEveryCommitTest.class/instance/cacheStrategy.st @@ -0,0 +1,3 @@ +initialization +cacheStrategy +^ SmTBasicCacheResetEveryCommitStrategy \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEveryCommitTest.class/properties.json b/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEveryCommitTest.class/properties.json new file mode 100644 index 0000000..c596ae0 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEveryCommitTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "eleonoreW 7/20/2018 09:28", + "super" : "SmTCacheBuilderTestCoverageTest", + "category" : "SmartTest-Tests-CacheBuilder", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTCacheBuilderTestCoverageResetEveryCommitTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetOnDemandTest.class/README.md b/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetOnDemandTest.class/README.md new file mode 100644 index 0000000..104eb7d --- /dev/null +++ b/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetOnDemandTest.class/README.md @@ -0,0 +1 @@ +These tests are here to assert that the build cache methods are correct when dealing the Test Coverage strategy and the reset on demand cache. \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetOnDemandTest.class/instance/cacheStrategy.st b/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetOnDemandTest.class/instance/cacheStrategy.st new file mode 100644 index 0000000..3d73e2e --- /dev/null +++ b/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetOnDemandTest.class/instance/cacheStrategy.st @@ -0,0 +1,3 @@ +initialization +cacheStrategy +^ SmTBasicCacheStrategy \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetOnDemandTest.class/properties.json b/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetOnDemandTest.class/properties.json new file mode 100644 index 0000000..89698bb --- /dev/null +++ b/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetOnDemandTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "eleonoreW 7/20/2018 09:28", + "super" : "SmTCacheBuilderTestCoverageTest", + "category" : "SmartTest-Tests-CacheBuilder", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTCacheBuilderTestCoverageResetOnDemandTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/README.md b/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/README.md new file mode 100644 index 0000000..0168734 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/README.md @@ -0,0 +1 @@ +These tests are here to assert that the build cache methods are correct when dealing with different cache strategies. \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/class/isAbstract.st b/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/class/isAbstract.st new file mode 100644 index 0000000..26587b7 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/class/isAbstract.st @@ -0,0 +1,3 @@ +testing +isAbstract +^ self == SmTCacheBuilderTestCoverageTest \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/instance/dynamicFinder.st b/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/instance/dynamicFinder.st new file mode 100644 index 0000000..c5fe116 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/instance/dynamicFinder.st @@ -0,0 +1,3 @@ +initialization +dynamicFinder + ^ SmTTestCoverageTestFinderStrategy new \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/properties.json b/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/properties.json new file mode 100644 index 0000000..a70c853 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTCacheBuilderTest", + "category" : "SmartTest-Tests-CacheBuilder", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTCacheBuilderTestCoverageTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheNeverResetTest.class/README.md b/src/SmartTest-Tests.package/SmTCacheNeverResetTest.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/src/SmartTest-Tests.package/SmTCacheNeverResetTest.class/instance/strategyTested.st b/src/SmartTest-Tests.package/SmTCacheNeverResetTest.class/instance/strategyTested.st new file mode 100644 index 0000000..3633db6 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTCacheNeverResetTest.class/instance/strategyTested.st @@ -0,0 +1,3 @@ +running +strategyTested +^ SmTBasicCacheNeverResetStrategy \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheNeverResetTest.class/properties.json b/src/SmartTest-Tests.package/SmTCacheNeverResetTest.class/properties.json new file mode 100644 index 0000000..cf8496a --- /dev/null +++ b/src/SmartTest-Tests.package/SmTCacheNeverResetTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTCacheTest", + "category" : "SmartTest-Tests-Cache", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTCacheNeverResetTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheResetEvery5ChangesTest.class/README.md b/src/SmartTest-Tests.package/SmTCacheResetEvery5ChangesTest.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/src/SmartTest-Tests.package/SmTCacheResetEvery5ChangesTest.class/instance/strategyTested.st b/src/SmartTest-Tests.package/SmTCacheResetEvery5ChangesTest.class/instance/strategyTested.st new file mode 100644 index 0000000..24f5d1e --- /dev/null +++ b/src/SmartTest-Tests.package/SmTCacheResetEvery5ChangesTest.class/instance/strategyTested.st @@ -0,0 +1,3 @@ +running +strategyTested +^ SmTBasicCacheResetEvery5ChangesStrategy \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheResetEvery5ChangesTest.class/instance/testResetAfter5MethodChange.st b/src/SmartTest-Tests.package/SmTCacheResetEvery5ChangesTest.class/instance/testResetAfter5MethodChange.st new file mode 100644 index 0000000..407194d --- /dev/null +++ b/src/SmartTest-Tests.package/SmTCacheResetEvery5ChangesTest.class/instance/testResetAfter5MethodChange.st @@ -0,0 +1,12 @@ +tests +testResetAfter5MethodChange + "After one method change, the cache should be empty for NeverRest, EveryFiveChange, and EveryCommit case." + + smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. + smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. + smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. + smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. + self assert: smartFinder cacheStrategy numberOfChange == 4. + smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. + self assert: smartFinder cacheStrategy numberOfChange == 0. + self assert: smartFinder currentCache isEmpty \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheResetEvery5ChangesTest.class/properties.json b/src/SmartTest-Tests.package/SmTCacheResetEvery5ChangesTest.class/properties.json new file mode 100644 index 0000000..6f35492 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTCacheResetEvery5ChangesTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTCacheTest", + "category" : "SmartTest-Tests-Cache", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTCacheResetEvery5ChangesTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheResetEveryCommitTest.class/README.md b/src/SmartTest-Tests.package/SmTCacheResetEveryCommitTest.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/src/SmartTest-Tests.package/SmTCacheResetEveryCommitTest.class/instance/strategyTested.st b/src/SmartTest-Tests.package/SmTCacheResetEveryCommitTest.class/instance/strategyTested.st new file mode 100644 index 0000000..c1a0c01 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTCacheResetEveryCommitTest.class/instance/strategyTested.st @@ -0,0 +1,3 @@ +running +strategyTested +^ SmTBasicCacheResetEveryCommitStrategy \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheResetEveryCommitTest.class/instance/testResetAfter1Commit.st b/src/SmartTest-Tests.package/SmTCacheResetEveryCommitTest.class/instance/testResetAfter1Commit.st new file mode 100644 index 0000000..726299b --- /dev/null +++ b/src/SmartTest-Tests.package/SmTCacheResetEveryCommitTest.class/instance/testResetAfter1Commit.st @@ -0,0 +1,6 @@ +tests +testResetAfter1Commit + "After one method change, the cache should be empty for NeverRest, EveryFiveChange, and EveryCommit case." + + smartFinder cacheStrategy resetCacheForChange: EpMonticelloVersionSave new. + self assert: smartFinder currentCache isEmpty \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheResetEveryCommitTest.class/properties.json b/src/SmartTest-Tests.package/SmTCacheResetEveryCommitTest.class/properties.json new file mode 100644 index 0000000..a536e58 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTCacheResetEveryCommitTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTCacheTest", + "category" : "SmartTest-Tests-Cache", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTCacheResetEveryCommitTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/README.md b/src/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/src/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/instance/strategyTested.st b/src/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/instance/strategyTested.st new file mode 100644 index 0000000..af7828f --- /dev/null +++ b/src/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/instance/strategyTested.st @@ -0,0 +1,3 @@ +running +strategyTested +^ SmTBasicCacheStrategy \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/instance/testResetAfter1Commit.st b/src/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/instance/testResetAfter1Commit.st new file mode 100644 index 0000000..3441d01 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/instance/testResetAfter1Commit.st @@ -0,0 +1,5 @@ +tests +testResetAfter1Commit +"After one method change, the cache should be empty for NeverRest, EveryFiveChange, and EveryCommit case." +smartFinder cacheStrategy resetCacheForChange: EpMonticelloVersionSave new. +self assert: (smartFinder currentCache isEmpty) \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/instance/testResetAfter1MethodChange.st b/src/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/instance/testResetAfter1MethodChange.st new file mode 100644 index 0000000..982958c --- /dev/null +++ b/src/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/instance/testResetAfter1MethodChange.st @@ -0,0 +1,5 @@ +tests +testResetAfter1MethodChange +"Here, the cache should be empty because the BasicCache strategy allows that the reset of the cache" +smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. +self assert: (smartFinder currentCache isEmpty) \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/instance/testResetAfter4MethodChange.st b/src/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/instance/testResetAfter4MethodChange.st new file mode 100644 index 0000000..3815067 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/instance/testResetAfter4MethodChange.st @@ -0,0 +1,9 @@ +tests +testResetAfter4MethodChange + "After one method change, the cache should be empty for NeverRest, EveryFiveChange, and EveryCommit case." + + smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. + smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. + smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. + smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. + self assert: smartFinder currentCache isEmpty \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/instance/testResetAfter5MethodChange.st b/src/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/instance/testResetAfter5MethodChange.st new file mode 100644 index 0000000..48458f2 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/instance/testResetAfter5MethodChange.st @@ -0,0 +1,9 @@ +tests +testResetAfter5MethodChange +"After one method change, the cache should be empty for NeverRest, EveryFiveChange, and EveryCommit case." +smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. +smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. +smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. +smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. +smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. +self assert: (smartFinder currentCache isEmpty) \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/properties.json b/src/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/properties.json new file mode 100644 index 0000000..24aa131 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTCacheTest", + "category" : "SmartTest-Tests-Cache", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTCacheResetOnDemandTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheTest.class/README.md b/src/SmartTest-Tests.package/SmTCacheTest.class/README.md new file mode 100644 index 0000000..b7a2888 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTCacheTest.class/README.md @@ -0,0 +1,5 @@ +This tests are here to assert that cache strategies behave corectly. +- BasicCacheNeverReset should always have something in it. +- BasicCacheResetEvery5Changes should reset after 5 calls to its reset method +- BasicCacheResetEveryCommit should reset after each change that is a commit, and not the methods changes. +- BasicCache should reset each time its method reset is called diff --git a/src/SmartTest-Tests.package/SmTCacheTest.class/class/isAbstract.st b/src/SmartTest-Tests.package/SmTCacheTest.class/class/isAbstract.st new file mode 100644 index 0000000..db562eb --- /dev/null +++ b/src/SmartTest-Tests.package/SmTCacheTest.class/class/isAbstract.st @@ -0,0 +1,3 @@ +testing +isAbstract +^ (self == SmTCacheTest) \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheTest.class/instance/initCache.st b/src/SmartTest-Tests.package/SmTCacheTest.class/instance/initCache.st new file mode 100644 index 0000000..037b06c --- /dev/null +++ b/src/SmartTest-Tests.package/SmTCacheTest.class/instance/initCache.st @@ -0,0 +1,33 @@ +initialize-release +initCache + ^ {((SmTClass >> #method1) asRingDefinition + -> + {(SmTClassTest >> #testMethod1) asRingDefinition. + (SmTClassTest >> #testMethod2) asRingDefinition. + (RGMethodDefinition + className: 'SmTInheritClassTest' + selector: #testMethod1 + isMetaSide: false)} asSet). + ((SmTClass >> #method2) asRingDefinition + -> {(SmTClassTest >> #testMethod2) asRingDefinition} asSet). + ((SmTClass >> #method3:) asRingDefinition + -> + {(SmTClassTest >> #testMethod1) asRingDefinition. + (SmTClassTest >> #testMethod2) asRingDefinition. + (SmTClassTest >> #testMethod3) asRingDefinition} asSet). + ((SmTClass >> #method4) asRingDefinition + -> + {(SmTClassTest >> #testMethod2) asRingDefinition. + (SmTClassTest >> #testMethod3) asRingDefinition. + (SmTClassTest >> #testMethod4) asRingDefinition} asSet). + ((SmTClass2 >> #initialize) asRingDefinition + -> {(SmTClassTest >> #testMethod5) asRingDefinition} asSet). + ((SmTClassTest >> #testMethod4) asRingDefinition + -> {(SmTClassTest >> #testMethod4) asRingDefinition} asSet). + ((('SmTP1' , 'Inheritance') asClass >> ('method1' , 'Inheritance') asSymbol) + asRingDefinition + -> + {(('SmTP1' , 'InheritanceSubClass1Test') asClass >> ('testMethod1','Inheritance') asSymbol) + asRingDefinition. + (RGMethodDefinition className: ('SmTP1InheritanceSubClass2','Test') selector: ('testMethod1','Inheritance') isMetaSide: false) + asRingDefinition} asSet)} asDictionary \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheTest.class/instance/setUp.st b/src/SmartTest-Tests.package/SmTCacheTest.class/instance/setUp.st new file mode 100644 index 0000000..f170564 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTCacheTest.class/instance/setUp.st @@ -0,0 +1,11 @@ +running +setUp + "fill in the cache" + + | initialCache | + super setUp. + smartFinder := SmartFinder new. + initialCache := self initCache. + smartFinder cacheStrategy: (self strategyTested new). + smartFinder setCacheValues: initialCache. + smartFinder smtFinder: SmTTestCoverageTestFinderStrategy new \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheTest.class/instance/strategyTested.st b/src/SmartTest-Tests.package/SmTCacheTest.class/instance/strategyTested.st new file mode 100644 index 0000000..a678b5a --- /dev/null +++ b/src/SmartTest-Tests.package/SmTCacheTest.class/instance/strategyTested.st @@ -0,0 +1,3 @@ +running +strategyTested +self subclassResponsibility \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheTest.class/instance/testInitCache.st b/src/SmartTest-Tests.package/SmTCacheTest.class/instance/testInitCache.st new file mode 100644 index 0000000..d43ea86 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTCacheTest.class/instance/testInitCache.st @@ -0,0 +1,3 @@ +tests +testInitCache +self assert: (smartFinder currentCache isNotEmpty). \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheTest.class/instance/testResetAfter1Commit.st b/src/SmartTest-Tests.package/SmTCacheTest.class/instance/testResetAfter1Commit.st new file mode 100644 index 0000000..fdd9915 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTCacheTest.class/instance/testResetAfter1Commit.st @@ -0,0 +1,5 @@ +tests +testResetAfter1Commit +"After one method change, the cache should be empty for NeverRest, EveryFiveChange, and EveryCommit case." +smartFinder cacheStrategy resetCacheForChange: EpMonticelloVersionSave new. +self assert: (smartFinder currentCache isNotEmpty) \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheTest.class/instance/testResetAfter1MethodChange.st b/src/SmartTest-Tests.package/SmTCacheTest.class/instance/testResetAfter1MethodChange.st new file mode 100644 index 0000000..3293a3f --- /dev/null +++ b/src/SmartTest-Tests.package/SmTCacheTest.class/instance/testResetAfter1MethodChange.st @@ -0,0 +1,5 @@ +tests +testResetAfter1MethodChange +"After one method change, the cache should be empty for NeverRest, EveryFiveChange, and EveryCommit case." +smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. +self assert: (smartFinder currentCache isNotEmpty) \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheTest.class/instance/testResetAfter4MethodChange.st b/src/SmartTest-Tests.package/SmTCacheTest.class/instance/testResetAfter4MethodChange.st new file mode 100644 index 0000000..5a3147a --- /dev/null +++ b/src/SmartTest-Tests.package/SmTCacheTest.class/instance/testResetAfter4MethodChange.st @@ -0,0 +1,8 @@ +tests +testResetAfter4MethodChange +"After one method change, the cache should be empty for NeverRest, EveryFiveChange, and EveryCommit case." +smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. +smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. +smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. +smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. +self assert: (smartFinder currentCache isNotEmpty) \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheTest.class/instance/testResetAfter5MethodChange.st b/src/SmartTest-Tests.package/SmTCacheTest.class/instance/testResetAfter5MethodChange.st new file mode 100644 index 0000000..551d2a0 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTCacheTest.class/instance/testResetAfter5MethodChange.st @@ -0,0 +1,9 @@ +tests +testResetAfter5MethodChange +"After one method change, the cache should be empty for NeverRest, EveryFiveChange, and EveryCommit case." +smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. +smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. +smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. +smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. +smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. +self assert: (smartFinder currentCache isNotEmpty) \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheTest.class/properties.json b/src/SmartTest-Tests.package/SmTCacheTest.class/properties.json new file mode 100644 index 0000000..353b099 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTCacheTest.class/properties.json @@ -0,0 +1,14 @@ +{ + "commentStamp" : "eleonoreW 7/18/2018 09:37", + "super" : "TestCase", + "category" : "SmartTest-Tests-Cache", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ + "cache", + "smartFinder" + ], + "name" : "SmTCacheTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/README.md b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/instance/initCache.st b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/instance/initCache.st new file mode 100644 index 0000000..3e53be9 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/instance/initCache.st @@ -0,0 +1,33 @@ +running +initCache + ^ {((SmTClass >> #method1) asRingDefinition + -> + {(SmTClassTest >> #testMethod1) asRingDefinition. + (SmTClassTest >> #testMethod2) asRingDefinition. + (RGMethodDefinition + className: 'SmTInheritClassTest' + selector: #testMethod1 + isMetaSide: false)} asSet). + ((SmTClass >> #method2) asRingDefinition + -> {(SmTClassTest >> #testMethod2) asRingDefinition} asSet). + ((SmTClass >> #method3:) asRingDefinition + -> + {(SmTClassTest >> #testMethod1) asRingDefinition. + (SmTClassTest >> #testMethod2) asRingDefinition. + (SmTClassTest >> #testMethod3) asRingDefinition} asSet). + ((SmTClass >> #method4) asRingDefinition + -> + {(SmTClassTest >> #testMethod2) asRingDefinition. + (SmTClassTest >> #testMethod3) asRingDefinition. + (SmTClassTest >> #testMethod4) asRingDefinition} asSet). + ((SmTClass2 >> #initialize) asRingDefinition + -> {(SmTClassTest >> #testMethod5) asRingDefinition} asSet). + ((SmTClassTest >> #testMethod4) asRingDefinition + -> {(SmTClassTest >> #testMethod4) asRingDefinition} asSet). + ((('SmTP1' , 'Inheritance') asClass >> ('method1' , 'Inheritance') asSymbol) + asRingDefinition + -> + {(('SmTP1' , 'InheritanceSubClass1Test') asClass >> ('testMethod1','Inheritance') asSymbol) + asRingDefinition. + (RGMethodDefinition className: ('SmTP1InheritanceSubClass2','Test') selector: ('testMethod1','Inheritance') isMetaSide: false) + asRingDefinition} asSet)} asDictionary \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/instance/setUp.st b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/instance/setUp.st new file mode 100644 index 0000000..8e28d19 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/instance/setUp.st @@ -0,0 +1,10 @@ +running +setUp + "fill in the cache" + + | initialCache | + super setUp. + initialCache := self initCache. + smartFinder cacheStrategy: (SmTBasicCacheNeverResetStrategy new). + smartFinder setCacheValues: initialCache. + smartFinder smtFinder: SmTTestCoverageTestFinderStrategy new \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/instance/tearDown.st b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/instance/tearDown.st new file mode 100644 index 0000000..6df396a --- /dev/null +++ b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/instance/tearDown.st @@ -0,0 +1,3 @@ +helpers +tearDown + smartFinder resetCache. \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/instance/testModificationOnTest.st b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/instance/testModificationOnTest.st new file mode 100644 index 0000000..4365e6b --- /dev/null +++ b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/instance/testModificationOnTest.st @@ -0,0 +1,10 @@ +tests +testModificationOnTest +"this method is redundant with the abstract method" + + | testsFound | + testsFound := self searchTestMethodsFor: SmTClassTest >> #testMethod4. + self deny: (testsFound includes: testMethod1). + self deny: (testsFound includes: testMethod2). + self deny: (testsFound includes: testMethod3). + self assert: (testsFound includes: testMethod4) \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/instance/testTestSelfSelected.st b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/instance/testTestSelfSelected.st new file mode 100644 index 0000000..ef87c9f --- /dev/null +++ b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/instance/testTestSelfSelected.st @@ -0,0 +1,10 @@ +tests +testTestSelfSelected +"this method is redundant with the abstract method" + + | testsFound | + testsFound := self searchTestsForATestMethod: SmTClassTest >> #testMethod1. + self assert: (testsFound includes: testMethod1). + self deny: (testsFound includes: testMethod2). + self deny: (testsFound includes: testMethod3). + self deny: (testsFound includes: testMethod4) \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/properties.json b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/properties.json new file mode 100644 index 0000000..928debe --- /dev/null +++ b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTFinderAbstractTest", + "category" : "SmartTest-Tests-Finder", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTDynamicCoverageStrategyBasicCacheNeverResetTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/README.md b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/instance/initCache.st b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/instance/initCache.st new file mode 100644 index 0000000..3e53be9 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/instance/initCache.st @@ -0,0 +1,33 @@ +running +initCache + ^ {((SmTClass >> #method1) asRingDefinition + -> + {(SmTClassTest >> #testMethod1) asRingDefinition. + (SmTClassTest >> #testMethod2) asRingDefinition. + (RGMethodDefinition + className: 'SmTInheritClassTest' + selector: #testMethod1 + isMetaSide: false)} asSet). + ((SmTClass >> #method2) asRingDefinition + -> {(SmTClassTest >> #testMethod2) asRingDefinition} asSet). + ((SmTClass >> #method3:) asRingDefinition + -> + {(SmTClassTest >> #testMethod1) asRingDefinition. + (SmTClassTest >> #testMethod2) asRingDefinition. + (SmTClassTest >> #testMethod3) asRingDefinition} asSet). + ((SmTClass >> #method4) asRingDefinition + -> + {(SmTClassTest >> #testMethod2) asRingDefinition. + (SmTClassTest >> #testMethod3) asRingDefinition. + (SmTClassTest >> #testMethod4) asRingDefinition} asSet). + ((SmTClass2 >> #initialize) asRingDefinition + -> {(SmTClassTest >> #testMethod5) asRingDefinition} asSet). + ((SmTClassTest >> #testMethod4) asRingDefinition + -> {(SmTClassTest >> #testMethod4) asRingDefinition} asSet). + ((('SmTP1' , 'Inheritance') asClass >> ('method1' , 'Inheritance') asSymbol) + asRingDefinition + -> + {(('SmTP1' , 'InheritanceSubClass1Test') asClass >> ('testMethod1','Inheritance') asSymbol) + asRingDefinition. + (RGMethodDefinition className: ('SmTP1InheritanceSubClass2','Test') selector: ('testMethod1','Inheritance') isMetaSide: false) + asRingDefinition} asSet)} asDictionary \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/instance/setUp.st b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/instance/setUp.st new file mode 100644 index 0000000..f28ccb5 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/instance/setUp.st @@ -0,0 +1,10 @@ +running +setUp + "fill in the cache" + + | initialCache | + super setUp. + initialCache := self initCache. + smartFinder cacheStrategy: (SmTBasicCacheResetEvery5ChangesStrategy new). + smartFinder setCacheValues: initialCache. + smartFinder smtFinder: SmTTestCoverageTestFinderStrategy new \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/instance/tearDown.st b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/instance/tearDown.st new file mode 100644 index 0000000..6df396a --- /dev/null +++ b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/instance/tearDown.st @@ -0,0 +1,3 @@ +helpers +tearDown + smartFinder resetCache. \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/instance/testModificationOnTest.st b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/instance/testModificationOnTest.st new file mode 100644 index 0000000..4365e6b --- /dev/null +++ b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/instance/testModificationOnTest.st @@ -0,0 +1,10 @@ +tests +testModificationOnTest +"this method is redundant with the abstract method" + + | testsFound | + testsFound := self searchTestMethodsFor: SmTClassTest >> #testMethod4. + self deny: (testsFound includes: testMethod1). + self deny: (testsFound includes: testMethod2). + self deny: (testsFound includes: testMethod3). + self assert: (testsFound includes: testMethod4) \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/instance/testTestSelfSelected.st b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/instance/testTestSelfSelected.st new file mode 100644 index 0000000..ef87c9f --- /dev/null +++ b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/instance/testTestSelfSelected.st @@ -0,0 +1,10 @@ +tests +testTestSelfSelected +"this method is redundant with the abstract method" + + | testsFound | + testsFound := self searchTestsForATestMethod: SmTClassTest >> #testMethod1. + self assert: (testsFound includes: testMethod1). + self deny: (testsFound includes: testMethod2). + self deny: (testsFound includes: testMethod3). + self deny: (testsFound includes: testMethod4) \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/properties.json b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/properties.json new file mode 100644 index 0000000..1c18b9f --- /dev/null +++ b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTFinderAbstractTest", + "category" : "SmartTest-Tests-Finder", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/README.md b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/instance/initCache.st b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/instance/initCache.st new file mode 100644 index 0000000..3e53be9 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/instance/initCache.st @@ -0,0 +1,33 @@ +running +initCache + ^ {((SmTClass >> #method1) asRingDefinition + -> + {(SmTClassTest >> #testMethod1) asRingDefinition. + (SmTClassTest >> #testMethod2) asRingDefinition. + (RGMethodDefinition + className: 'SmTInheritClassTest' + selector: #testMethod1 + isMetaSide: false)} asSet). + ((SmTClass >> #method2) asRingDefinition + -> {(SmTClassTest >> #testMethod2) asRingDefinition} asSet). + ((SmTClass >> #method3:) asRingDefinition + -> + {(SmTClassTest >> #testMethod1) asRingDefinition. + (SmTClassTest >> #testMethod2) asRingDefinition. + (SmTClassTest >> #testMethod3) asRingDefinition} asSet). + ((SmTClass >> #method4) asRingDefinition + -> + {(SmTClassTest >> #testMethod2) asRingDefinition. + (SmTClassTest >> #testMethod3) asRingDefinition. + (SmTClassTest >> #testMethod4) asRingDefinition} asSet). + ((SmTClass2 >> #initialize) asRingDefinition + -> {(SmTClassTest >> #testMethod5) asRingDefinition} asSet). + ((SmTClassTest >> #testMethod4) asRingDefinition + -> {(SmTClassTest >> #testMethod4) asRingDefinition} asSet). + ((('SmTP1' , 'Inheritance') asClass >> ('method1' , 'Inheritance') asSymbol) + asRingDefinition + -> + {(('SmTP1' , 'InheritanceSubClass1Test') asClass >> ('testMethod1','Inheritance') asSymbol) + asRingDefinition. + (RGMethodDefinition className: ('SmTP1InheritanceSubClass2','Test') selector: ('testMethod1','Inheritance') isMetaSide: false) + asRingDefinition} asSet)} asDictionary \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/instance/setUp.st b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/instance/setUp.st new file mode 100644 index 0000000..96bd215 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/instance/setUp.st @@ -0,0 +1,10 @@ +running +setUp + "fill in the cache" + + | initialCache | + super setUp. + initialCache := self initCache. + smartFinder cacheStrategy: (SmTBasicCacheResetEveryCommitStrategy new). + smartFinder setCacheValues: initialCache. + smartFinder smtFinder: SmTTestCoverageTestFinderStrategy new \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/instance/tearDown.st b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/instance/tearDown.st new file mode 100644 index 0000000..6df396a --- /dev/null +++ b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/instance/tearDown.st @@ -0,0 +1,3 @@ +helpers +tearDown + smartFinder resetCache. \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/instance/testModificationOnTest.st b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/instance/testModificationOnTest.st new file mode 100644 index 0000000..4365e6b --- /dev/null +++ b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/instance/testModificationOnTest.st @@ -0,0 +1,10 @@ +tests +testModificationOnTest +"this method is redundant with the abstract method" + + | testsFound | + testsFound := self searchTestMethodsFor: SmTClassTest >> #testMethod4. + self deny: (testsFound includes: testMethod1). + self deny: (testsFound includes: testMethod2). + self deny: (testsFound includes: testMethod3). + self assert: (testsFound includes: testMethod4) \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/instance/testTestSelfSelected.st b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/instance/testTestSelfSelected.st new file mode 100644 index 0000000..ef87c9f --- /dev/null +++ b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/instance/testTestSelfSelected.st @@ -0,0 +1,10 @@ +tests +testTestSelfSelected +"this method is redundant with the abstract method" + + | testsFound | + testsFound := self searchTestsForATestMethod: SmTClassTest >> #testMethod1. + self assert: (testsFound includes: testMethod1). + self deny: (testsFound includes: testMethod2). + self deny: (testsFound includes: testMethod3). + self deny: (testsFound includes: testMethod4) \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/properties.json b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/properties.json new file mode 100644 index 0000000..821a028 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTFinderAbstractTest", + "category" : "SmartTest-Tests-Finder", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/README.md b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/README.md new file mode 100644 index 0000000..f1222ea --- /dev/null +++ b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/README.md @@ -0,0 +1 @@ +In this class, the research is dynamic and it uses the finder TestCoverage. \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/instance/initCache.st b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/instance/initCache.st new file mode 100644 index 0000000..3e53be9 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/instance/initCache.st @@ -0,0 +1,33 @@ +running +initCache + ^ {((SmTClass >> #method1) asRingDefinition + -> + {(SmTClassTest >> #testMethod1) asRingDefinition. + (SmTClassTest >> #testMethod2) asRingDefinition. + (RGMethodDefinition + className: 'SmTInheritClassTest' + selector: #testMethod1 + isMetaSide: false)} asSet). + ((SmTClass >> #method2) asRingDefinition + -> {(SmTClassTest >> #testMethod2) asRingDefinition} asSet). + ((SmTClass >> #method3:) asRingDefinition + -> + {(SmTClassTest >> #testMethod1) asRingDefinition. + (SmTClassTest >> #testMethod2) asRingDefinition. + (SmTClassTest >> #testMethod3) asRingDefinition} asSet). + ((SmTClass >> #method4) asRingDefinition + -> + {(SmTClassTest >> #testMethod2) asRingDefinition. + (SmTClassTest >> #testMethod3) asRingDefinition. + (SmTClassTest >> #testMethod4) asRingDefinition} asSet). + ((SmTClass2 >> #initialize) asRingDefinition + -> {(SmTClassTest >> #testMethod5) asRingDefinition} asSet). + ((SmTClassTest >> #testMethod4) asRingDefinition + -> {(SmTClassTest >> #testMethod4) asRingDefinition} asSet). + ((('SmTP1' , 'Inheritance') asClass >> ('method1' , 'Inheritance') asSymbol) + asRingDefinition + -> + {(('SmTP1' , 'InheritanceSubClass1Test') asClass >> ('testMethod1','Inheritance') asSymbol) + asRingDefinition. + (RGMethodDefinition className: ('SmTP1InheritanceSubClass2','Test') selector: ('testMethod1','Inheritance') isMetaSide: false) + asRingDefinition} asSet)} asDictionary \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/instance/setUp.st b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/instance/setUp.st new file mode 100644 index 0000000..1a0a6ba --- /dev/null +++ b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/instance/setUp.st @@ -0,0 +1,10 @@ +running +setUp + "fill in the cache" + + | initialCache | + super setUp. + initialCache := self initCache. + smartFinder cacheStrategy: (SmTBasicCacheStrategy new). + smartFinder setCacheValues: initialCache. + smartFinder smtFinder: SmTTestCoverageTestFinderStrategy new \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/instance/tearDown.st b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/instance/tearDown.st new file mode 100644 index 0000000..6df396a --- /dev/null +++ b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/instance/tearDown.st @@ -0,0 +1,3 @@ +helpers +tearDown + smartFinder resetCache. \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/instance/testModificationOnTest.st b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/instance/testModificationOnTest.st new file mode 100644 index 0000000..4365e6b --- /dev/null +++ b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/instance/testModificationOnTest.st @@ -0,0 +1,10 @@ +tests +testModificationOnTest +"this method is redundant with the abstract method" + + | testsFound | + testsFound := self searchTestMethodsFor: SmTClassTest >> #testMethod4. + self deny: (testsFound includes: testMethod1). + self deny: (testsFound includes: testMethod2). + self deny: (testsFound includes: testMethod3). + self assert: (testsFound includes: testMethod4) \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/instance/testTestSelfSelected.st b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/instance/testTestSelfSelected.st new file mode 100644 index 0000000..ef87c9f --- /dev/null +++ b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/instance/testTestSelfSelected.st @@ -0,0 +1,10 @@ +tests +testTestSelfSelected +"this method is redundant with the abstract method" + + | testsFound | + testsFound := self searchTestsForATestMethod: SmTClassTest >> #testMethod1. + self assert: (testsFound includes: testMethod1). + self deny: (testsFound includes: testMethod2). + self deny: (testsFound includes: testMethod3). + self deny: (testsFound includes: testMethod4) \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/properties.json b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/properties.json new file mode 100644 index 0000000..aaf8fb2 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "EleonoreWALD 5/3/2018 14:25", + "super" : "SmTFinderAbstractTest", + "category" : "SmartTest-Tests-Finder", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTDynamicCoverageStrategyTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTDynamicReflectivityStrategyTest.class/README.md b/src/SmartTest-Tests.package/SmTDynamicReflectivityStrategyTest.class/README.md new file mode 100644 index 0000000..dc43873 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTDynamicReflectivityStrategyTest.class/README.md @@ -0,0 +1 @@ +A SmTFinderStrategyReflectivityTest is a test class for testing the behavior of SmTFinderStrategyReflectivity \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTDynamicReflectivityStrategyTest.class/instance/initCache.st b/src/SmartTest-Tests.package/SmTDynamicReflectivityStrategyTest.class/instance/initCache.st new file mode 100644 index 0000000..cd478c7 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTDynamicReflectivityStrategyTest.class/instance/initCache.st @@ -0,0 +1,32 @@ +initialization +initCache + ^ {((SmTClass >> #method1) asRingDefinition + -> + {(SmTClassTest >> #testMethod1) asRingDefinition. + (SmTClassTest >> #testMethod2) asRingDefinition. + (RGMethodDefinition + className: 'SmTInheritClassTest' + selector: #testMethod1 + isMetaSide: false)} asSet). + ((SmTClass >> #method2) asRingDefinition + -> {(SmTClassTest >> #testMethod2) asRingDefinition} asSet). + ((SmTClass >> #method3:) asRingDefinition + -> + {(SmTClassTest >> #testMethod1) asRingDefinition. + (SmTClassTest >> #testMethod2) asRingDefinition. + (SmTClassTest >> #testMethod3) asRingDefinition} asSet). + ((SmTClass >> #method4) asRingDefinition + -> + {(SmTClassTest >> #testMethod2) asRingDefinition. + (SmTClassTest >> #testMethod3) asRingDefinition. + (SmTClassTest >> #testMethod4) asRingDefinition} asSet). + ((SmTClass2 >> #initialize) asRingDefinition + -> {(SmTClassTest >> #testMethod5) asRingDefinition} asSet). + ((SmTClassTest >> #testMethod4) asRingDefinition + -> {(SmTClassTest >> #testMethod4) asRingDefinition} asSet). + ((('SmTP1' , 'Inheritance') asClass >> ('method1' , 'Inheritance') asSymbol) + asRingDefinition + -> + {(('SmTP1' , 'InheritanceSubClass1Test') asClass >> ('testMethod1','Inheritance') asSymbol) + asRingDefinition. + (RGMethodDefinition className: ('SmTP1InheritanceSubClass2','Test') selector: ('testMethod1','Inheritance') asSymbol isMetaSide: false)} asSet)} asDictionary \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTDynamicReflectivityStrategyTest.class/instance/setUp.st b/src/SmartTest-Tests.package/SmTDynamicReflectivityStrategyTest.class/instance/setUp.st new file mode 100644 index 0000000..3c72a61 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTDynamicReflectivityStrategyTest.class/instance/setUp.st @@ -0,0 +1,10 @@ +running +setUp + "fill in the cache" + + | initialCache | + super setUp. + initialCache := self initCache. + smartFinder cacheStrategy: SmTBasicCacheStrategy new. + smartFinder setCacheValues: initialCache. + smartFinder smtFinder: SmTReflectivityTestFinderStrategy new \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTDynamicReflectivityStrategyTest.class/properties.json b/src/SmartTest-Tests.package/SmTDynamicReflectivityStrategyTest.class/properties.json new file mode 100644 index 0000000..a23ab53 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTDynamicReflectivityStrategyTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "EleonoreWALD 4/27/2018 16:02", + "super" : "SmTFinderAbstractTest", + "category" : "SmartTest-Tests-Finder", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTDynamicReflectivityStrategyTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/README.md b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/README.md new file mode 100644 index 0000000..a5e2cf6 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/README.md @@ -0,0 +1,46 @@ +I test the strategy SendersFinder with different filters. +In order to be sure that those test are not considered as callers of the modified method and as references to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method. + + +The tests are described below: +The modified method’s name always contains « method1 » and will be refered to as method1. +The modified method can be used directly by a test, in this case the test’s name contains « testMethod1 » +The modified method can be used by a method (and then a test), then the method’s name contains « method2 » +Method 2 will then be called by a test (the second level sender of method1) and this test's name contains « testMethod2 » +The names of the methods and tests will be followed by a identificator. This will result in very long names but it is necessary in order to be unique and explicit. +Being unique, the senders of each method are controlled and consequently the tests are independent the one from the others. + +If the name of a test contains « FirstLevelSender » then the corresponding method2 and testMethod2 do not exist. +If the name of a test contains « SecondLevelSender » then the corresponding testMethod1 does not exist. + +We use the Classification Tree Method to represent the tests (see https://en.wikipedia.org/wiki/Classification_Tree_Method) . + +We will use the Classification Tree Method for the description of the tests. +Exemple for the first line of the following description: +Test FirstLevelSendersInside : the modified method "method1FirstLevelSendersInside" is located in package P1 and testMethod1FirstLevelSendersInside calls method1FirstLevelSendersInside and is located inside the package P1. + + +Simple tests (no references): +Method: TestMethod1 Method2 TestMethod2 Test Identificator +Package: P1 P2 P1 P2 P1 P2 + • | | | | | FirstLevelSendersInside + | • | | | | FirstLevelSendersOutside + | | • | • | SecondLevelSendersInsideTestInside + | | • | | • SecondLevelSendersInsideTestOutside + | | | • • | SecondLevelSendersOutsideTestInside + | | | • | • SecondLevelSendersOutsideTestOutside + + +Simple tests (no references): +Method: TestMethod1 Method2 TestMethod2 Test Identificator +Package: P2 P1 P2 P3 P1 P2 +Reference: Class Method Package | Class Method Package Class Method Package | NoRef Class Method Package + • | | | | | | | | | | | | | | FirstLevelSendersInsideWithRefInClass + | • | | | | | | | | | | | | | FirstLevelSendersInsideWithRefInMethod + | | • • | | | | | | | | • | | SecondLevelSendersInsideTestOutsideWithRefInClass + | | | • | | | | | | | | | • | SecondLevelSendersInsideTestOutsideWithRefInMethod + | | | • | | | | | | | | | | • SecondLevelSendersInsideTestOutsideWithRefInPackage + | | | | • | | | | | • | | | | SecondLevelSendersOutsidesideTestInsideWithRefInClass + | | | | | • | | | | • | | | | SecondLevelSendersOutsidesideTestInsideWithRefInMethod + | | | | | | • | | | • | | | | SecondLevelSendersOutsidesideTestInsideWithRefInPackage + | | | | | | | | • | | | | • | SecondLevelSendersOutsidesideTestOutsideWithRefInMethod \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/class/isAbstract.st b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/class/isAbstract.st new file mode 100644 index 0000000..9b44e16 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/class/isAbstract.st @@ -0,0 +1,4 @@ +testing +isAbstract + + ^ self == SmTFilterAbstractTest \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/instanceVariableNamed.fromClass..st b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/instanceVariableNamed.fromClass..st new file mode 100644 index 0000000..75c330d --- /dev/null +++ b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/instanceVariableNamed.fromClass..st @@ -0,0 +1,3 @@ +helpers +instanceVariableNamed: aInstVarName fromClass: aClass + ^ (aClass instanceVariables select:[:instVar| instVar = aInstVarName ])first . \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/searchTestMethodsFor..st b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/searchTestMethodsFor..st new file mode 100644 index 0000000..dbdfb36 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/searchTestMethodsFor..st @@ -0,0 +1,4 @@ +helpers +searchTestMethodsFor: aCompiledMethod + + ^ smartFinder researchTestsForMethod: aCompiledMethod . \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/searchTestMethodsForAClass..st b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/searchTestMethodsForAClass..st new file mode 100644 index 0000000..752bfa5 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/searchTestMethodsForAClass..st @@ -0,0 +1,4 @@ +helpers +searchTestMethodsForAClass: aClass + + ^ smartFinder smtFinder searchTestsForAClass: aClass. \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/searchTestsForInstVar.ofClass..st b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/searchTestsForInstVar.ofClass..st new file mode 100644 index 0000000..e067f9c --- /dev/null +++ b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/searchTestsForInstVar.ofClass..st @@ -0,0 +1,3 @@ +helpers +searchTestsForInstVar: aInstanceVariable ofClass: aClass + ^ smartFinder smtFinder searchTestsForAInstVar: aInstanceVariable OfClass: aClass \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/setUp.st b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/setUp.st new file mode 100644 index 0000000..cf49713 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/setUp.st @@ -0,0 +1,22 @@ +running +setUp + super setUp. + smartFinder := SmartFinder new. + smartFinder filter: SmTDefaultPackagesFilter new. + testMethod1FirstLevelSendersInsidePackage := (('SmTClass' , 'TestP1') asClass + >> ('test' , 'Method1FirstLevelSendersInsidePackage') asSymbol) asRingDefinition. + testMethod1FirstLevelSendersOutsidePackage := (('SmTClass' , 'TestP2Test') asClass + >> ('test' , 'Method1FirstLevelSendersOutsidePackage') asSymbol) asRingDefinition. + testMethod2SecondLevelSendersInsidePackageWithTestInside := (('SmTClass' , 'TestP1') + asClass >> ('test' , 'Method2SecondLevelSendersInsidePackageWithTestInside') asSymbol) + asRingDefinition. + testMethod2SecondLevelSendersOutsidePackageWithTestInside := (('SmTClass' , 'TestP1') + asClass >> ('test' , 'Method2SecondLevelSendersOutsidePackageWithTestInside') asSymbol) + asRingDefinition. + testMethod2SecondLevelSendersInsidePackageWithTestOutside := (('SmTClass' , 'TestP2Test') + asClass >> ('test' , 'Method2SecondLevelSendersInsidePackageWithTestOutside') asSymbol) + asRingDefinition. + testMethod2SecondLevelSendersOutsidePackageWithTestOutside := (('SmTClass' , 'TestP2Test') + asClass + >> ('test' , 'Method2SecondLevelSendersOutsidePackageWithTestOutside') asSymbol) + asRingDefinition \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/tearDown.st b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/tearDown.st new file mode 100644 index 0000000..409a9d5 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/tearDown.st @@ -0,0 +1,4 @@ +running +tearDown + smartFinder clean. + super tearDown \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassAbstractTestCaseDoesntRedefineMethod.st b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassAbstractTestCaseDoesntRedefineMethod.st new file mode 100644 index 0000000..bb4763e --- /dev/null +++ b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassAbstractTestCaseDoesntRedefineMethod.st @@ -0,0 +1,10 @@ +test -modification on class +testClassAbstractTestCaseDoesntRedefineMethod +"In this test we want to assert that if the modified class has subclasses, SmartTest finds all the inherited methods (implemented or not)" + + | testsFound testMethodSubClass1 testMethodSubClass2 | + testsFound := self searchTestMethodsForAClass: (('SmTP1ClassTestAbstractTestCase') asClass). + testMethodSubClass1 := RGMethodDefinition className: ('SmTP1ClassTestSubClassDoesntRedefine','Method') selector:('testModificationOnClassAbstract','TestCase') isMetaSide: false. + testMethodSubClass2 := RGMethodDefinition className: ('SmTP1ClassTestSubclassRedefines','Method') selector:('testModificationOnClassAbstract','TestCase') isMetaSide: false. + self assert: (testsFound includes: testMethodSubClass1). + self assert: (testsFound includes: testMethodSubClass2). \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassAbstractTestCaseRedefinesMethod.st b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassAbstractTestCaseRedefinesMethod.st new file mode 100644 index 0000000..cd18903 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassAbstractTestCaseRedefinesMethod.st @@ -0,0 +1,8 @@ +test -modification on class +testClassAbstractTestCaseRedefinesMethod +"In this test we want to assert that if the modified class has subclasses, SmartTest finds all the inherited methods (implemented or not)" + + | testsFound testMethodSubClass1 testMethodSubClass2 | + testsFound := self searchTestMethodsForAClass: (('SmTP1ClassTestAbstractTestCase') asClass). + testMethodSubClass2 := RGMethodDefinition className: ('SmTP1ClassTestSubclassRedefines','Method') selector:('testModificationOnClassAbstract','TestCase') isMetaSide: false. + self assert: (testsFound includes: testMethodSubClass2). \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassInheritanceSubClass1.st b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassInheritanceSubClass1.st new file mode 100644 index 0000000..2411b3e --- /dev/null +++ b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassInheritanceSubClass1.st @@ -0,0 +1,8 @@ +test -modification on class +testClassInheritanceSubClass1 + + | testsFound testMethodSubClass2 | + testsFound := self searchTestMethodsForAClass: (('SmTP1ClassTestSubClass','DoesntRedefineMethod') asClass). + testMethodSubClass2 := RGMethodDefinition className: ('SmTP1ClassTestSubClass','DoesntRedefineMethod') selector:('testModificationOnClass','AbstractTestCase') isMetaSide: false. + self assert: testsFound size equals: 1. + self assert: (testsFound includes: testMethodSubClass2). \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassInsidePackageWithRef.st b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassInsidePackageWithRef.st new file mode 100644 index 0000000..a51df6d --- /dev/null +++ b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassInsidePackageWithRef.st @@ -0,0 +1,8 @@ +test -modification on class +testClassInsidePackageWithRef +"In this test, we want to assert that if the class is used in a method, we find the tests related to this method." + + | testsFound | + testsFound := self searchTestMethodsForAClass: ('SmTClassModificationOnClass','InsidePackageWithRef') asClass. + self assert: testsFound size equals: 1. + self assert: (testsFound includes: ((('SmTClassModificationOnClassInsidePackageTestOutside','WithRefTest') asClass >> ('testRefToSmTClassModificationOnClassInsidePackageWithRef') asSymbol) asRingDefinition )). \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassOutsidePackageWithRef.st b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassOutsidePackageWithRef.st new file mode 100644 index 0000000..33066bb --- /dev/null +++ b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassOutsidePackageWithRef.st @@ -0,0 +1,8 @@ +test -modification on class +testClassOutsidePackageWithRef +"In this test, we want to assert that if the class is used in a method, we find the tests related to this method." + + | testsFound | + testsFound := self searchTestMethodsForAClass: ('SmTClassModificationOnClass','OutsidePackageWithRef') asClass. + self assert: testsFound size equals: 1. + self assert: (testsFound includes: ((('SmTClassModificationOnClassOutsidePackageWith','RefTest') asClass >> ('testRefToSmTClassModificationOnClass','OutsidePackageWithRef') asSymbol) asRingDefinition )). \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassSimpleTestCase.st b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassSimpleTestCase.st new file mode 100644 index 0000000..d96f706 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassSimpleTestCase.st @@ -0,0 +1,8 @@ +test -modification on class +testClassSimpleTestCase +"In this test we want to assert that SmartTest finds the test owned directly by a class." + + | testsFound | + testsFound := self searchTestMethodsForAClass: ('SmTClassModificationOnClass','SimpleTestCase') asClass. + self assert: testsFound size equals: 1. + self assert: (testsFound includes: ((('SmTClassModificationOnClass','SimpleTestCase') asClass >> ('testModificationOnClass','SimpleTestCase') asSymbol) asRingDefinition )). \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassTestsInside.st b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassTestsInside.st new file mode 100644 index 0000000..a3a3c1b --- /dev/null +++ b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassTestsInside.st @@ -0,0 +1,7 @@ +test -modification on class +testClassTestsInside +"In this test we want to assert that SmartTest finds the test owned directly by a class." + + | testsFound | + testsFound := self searchTestMethodsForAClass: ('SmTClassTest','P2Test') asClass. + self assert: (testsFound includes: ((('SmTClassTest','P2Test') asClass >> ('testMethod1FirstLevelSendersOutsideWithRefIn','Class') asSymbol) asRingDefinition )). \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testExtensionMethodFirstLevelSendersInside.st b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testExtensionMethodFirstLevelSendersInside.st new file mode 100644 index 0000000..836f010 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testExtensionMethodFirstLevelSendersInside.st @@ -0,0 +1,7 @@ +test - extension method +testExtensionMethodFirstLevelSendersInside + + | testsFound | + testsFound := self searchTestMethodsFor:( ('SmT','ExtensionP2Test') asClass >> ('extensionMethod1FirstLevelSenders','Inside') asSymbol). + self assert: (testsFound includes: ((('SmT','ClassTestP1') asClass >> ('testExtensionMethod1FirstLevelSenders','Inside') asSymbol) asRingDefinition)). + \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testExtensionMethodFirstLevelSendersOutside.st b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testExtensionMethodFirstLevelSendersOutside.st new file mode 100644 index 0000000..ad65fd1 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testExtensionMethodFirstLevelSendersOutside.st @@ -0,0 +1,7 @@ +test - extension method +testExtensionMethodFirstLevelSendersOutside + + | testsFound | + testsFound := self searchTestMethodsFor:( ('SmT','ExtensionP2Test') asClass >> ('extensionMethod1FirstLevelSenders','Outside') asSymbol). + self assert: (testsFound includes: ((('SmT','ClassTestP2Test') asClass >> ('testExtensionMethod1FirstLevelSenders','Outside') asSymbol) asRingDefinition )). + \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testExtensionMethodSecondLevelSendersInside.st b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testExtensionMethodSecondLevelSendersInside.st new file mode 100644 index 0000000..6394ed5 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testExtensionMethodSecondLevelSendersInside.st @@ -0,0 +1,8 @@ +test - extension method +testExtensionMethodSecondLevelSendersInside + + | testsFound | + testsFound := self searchTestMethodsFor:( ('SmT','ExtensionP1') asClass >> ('extensionMethod1','SecondLevelSenders') asSymbol). + + self deny: (testsFound includes: ((('SmT','ClassTestP3') asClass >> ('testExtensionMethod2','SecondLevelSenders') asSymbol) asRingDefinition )). + \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testExtensionTestInside.st b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testExtensionTestInside.st new file mode 100644 index 0000000..3959a77 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testExtensionTestInside.st @@ -0,0 +1,8 @@ +test - extension method +testExtensionTestInside + + | testsFound | + testsFound := self searchTestMethodsFor:( ('SmT','ExtensionP4') asClass >> ('method1ExtensionTest','Inside') asSymbol). + + self deny: (testsFound includes: ((('SmT','ClassTestP3') asClass >> ('testMethod1ExtensionTest','Inside') asSymbol) asRingDefinition )). + \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testInstVarInsideClass.st b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testInstVarInsideClass.st new file mode 100644 index 0000000..d6ae7ff --- /dev/null +++ b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testInstVarInsideClass.st @@ -0,0 +1,9 @@ +test - instance variable +testInstVarInsideClass +"In this test we want to assert that if the modified class has subclasses, SmartTest finds all the inherited methods (implemented or not)" + + | testsFound aInstVar| + aInstVar := self instanceVariableNamed: 'instVarModificationOnVariableInsideClass' fromClass: (('SmTClassP1ModificationOn','VariableInsideClassTest') asClass). + testsFound := self searchTestsForInstVar: aInstVar ofClass: (('SmTClassP1ModificationOn','VariableInsideClassTest') asClass). + self assert: (testsFound includes: (('SmTClassP1ModificationOn','VariableInsideClassTest') asClass >> ('testModificationOnVariable','InsideClass')asSymbol)asRingDefinition ). + \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testInstVarInsidePackage.st b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testInstVarInsidePackage.st new file mode 100644 index 0000000..3463639 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testInstVarInsidePackage.st @@ -0,0 +1,9 @@ +test - instance variable +testInstVarInsidePackage +"In this test we want to assert that if the modified class has subclasses, SmartTest finds all the inherited methods (implemented or not)" + + | testsFound aInstVar| + aInstVar := self instanceVariableNamed: 'instVarModificationOnVariableInsidePackage' fromClass: ('SmTClassP1ModificationOn','Variable') asClass. + testsFound := self searchTestsForInstVar: aInstVar ofClass: ('SmTClassP1ModificationOn','Variable') asClass. + self assert: (testsFound includes: (('SmTClassP1ModificationOnVariable','InsidePackageTest') asClass >> ('testModificationOnVariable','InsidePackage')asSymbol)asRingDefinition ). + \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testInstVarOutsidePackage.st b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testInstVarOutsidePackage.st new file mode 100644 index 0000000..ae3a2b3 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testInstVarOutsidePackage.st @@ -0,0 +1,9 @@ +test - instance variable +testInstVarOutsidePackage +"In this test we want to assert that if the modified class has subclasses, SmartTest finds all the inherited methods (implemented or not)" + + | testsFound aInstVar| + aInstVar := self instanceVariableNamed: 'instVarModificationOnVariableOutsidePackage' fromClass: ('SmTClassP1ModificationOnVariable') asClass . + testsFound := self searchTestsForInstVar: aInstVar ofClass: ('SmTClassP1ModificationOnVariable') asClass. + self assert: (testsFound includes: (('SmTClassP1ModificationOnVariable','OutsidePackageTest') asClass >> ('testModificationOnVariable','OutsidePackage')asSymbol)asRingDefinition ). + \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersInsidePackage.st b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersInsidePackage.st new file mode 100644 index 0000000..e377f08 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersInsidePackage.st @@ -0,0 +1,13 @@ +test - standard method - first level sender +testStandardMethodFirstLevelSendersInsidePackage + + "method1 is called by testMethod1, a tests owned by the same package as method1, the only test found should be testMethod1" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor:( ('SmTClass','P1') asClass >> ('method1','FirstLevelSendersInsidePackage') asSymbol). + self assert: testsFound size equals: 1. + self assert: (testsFound includes: testMethod1FirstLevelSendersInsidePackage). + + + \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st new file mode 100644 index 0000000..083ce27 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st @@ -0,0 +1,13 @@ +test - standard method - first level sender +testStandardMethodFirstLevelSendersOutsidePackage + + "method1 is called by testMethod2, a test not owned by the same package as method1, thus it should not be found" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClass','P1') asClass >> ('method1','FirstLevelSendersOutsidePackage') asSymbol). + self assert: (testsFound isEmpty ). + self deny: (testsFound includes: testMethod1FirstLevelSendersOutsidePackage). + + + \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st new file mode 100644 index 0000000..eb29a66 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st @@ -0,0 +1,12 @@ +test - standard method - first level sender +testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass + + "method1 is called by testMethod1" + "P1 : method1 + P2 : testMethod1, the reference is made in the class of testMethod1" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1FirstLevelSendersOutsideWithRefIn','Class') asClass >> ('method1','FirstLevelSendersWithRefInClass') asSymbol). + self assert: testsFound isEmpty. + self deny: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod1FirstLevelSendersOutsideWithRefIn','Class') asSymbol) asRingDefinition ). \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st new file mode 100644 index 0000000..c32ed4f --- /dev/null +++ b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st @@ -0,0 +1,12 @@ +test - standard method - first level sender +testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod + + "method1 is called by testMethod1" + "P1 : method1 + P2 : testMethod1, the reference is made in testMethod1" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1FirstLevelSendersOutsideWithRefIn','Method') asClass >> ('method1','FirstLevelSendersWithRefInMethod') asSymbol). + self assert: testsFound isEmpty. + self deny: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod1FirstLevelSendersOutsideWithRefIn','Method') asSymbol) asRingDefinition ). \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st new file mode 100644 index 0000000..4813918 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st @@ -0,0 +1,13 @@ +test - standard method - first level sender +testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage + + "method1 is called by testMethod1" + "P1 : method1 + P2 : testMethod1, the reference is made in the package of testMethod1" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1FirstLevelSendersOutsideWithRefIn','Package') asClass >> ('method1FirstLevelSendersWithRefIn','Package') asSymbol). + self assert: testsFound isEmpty. + self deny: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod1FirstLevelSendersOutsideWithRefIn','Package') asSymbol) asRingDefinition ). + \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestInside.st b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestInside.st new file mode 100644 index 0000000..3b02fd1 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestInside.st @@ -0,0 +1,14 @@ +test - standard method - second level sender +testStandardMethodSecondLevelSendersInsidePackageWithTestInside + + "method1 is called by method2, which itself is called by testMethod2, a tests owned by the same package as myMethod1, thus testMethod2 should be found. + We never go out of the package so it's normal." + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClass','P1') asClass >> ('method1','SecondLevelSendersInsidePackageWithTestInside') asSymbol). + self assert: testsFound size equals: 1. + self assert: (testsFound includes: testMethod2SecondLevelSendersInsidePackageWithTestInside ). + + + \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestOutside.st b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestOutside.st new file mode 100644 index 0000000..cc86fcb --- /dev/null +++ b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestOutside.st @@ -0,0 +1,13 @@ +test - standard method - second level sender +testStandardMethodSecondLevelSendersInsidePackageWithTestOutside + + "method1 is called by method2, which itself is called by testMethod2, a test not owned by the same package as method1, thus testMethod2 should not be found. + We go out of the package once so it's normal hat the test is not found." + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClass','P1') asClass >> ('method1','SecondLevelSendersInsidePackageWithTestOutside') asSymbol). + self assert: (testsFound isEmpty ). + self deny: (testsFound includes: testMethod2SecondLevelSendersInsidePackageWithTestOutside ). + + + \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st new file mode 100644 index 0000000..e1c1e64 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st @@ -0,0 +1,13 @@ +test - standard method - second level sender - with references +testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass + + "method1 is called by method 2,itself called by testMethod1" + "P1 : method1 and method2 + P2 : testMethod2, the reference is made in the class of testMethod2" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersInsideTestOutsideWithRefIn','Class') asClass >> ('method1SecondLevelSendersInsideTestOutsideWithRefIn','Class') asSymbol). + self assert: testsFound isEmpty. + self deny: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod2SecondLevelSenderInsideTestOutsideWithRefIn','Class') asSymbol) asRingDefinition ). + \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st new file mode 100644 index 0000000..d3c8a56 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st @@ -0,0 +1,13 @@ +test - standard method - second level sender - with references +testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod + + "method1 is called by method 2,itself called by testMethod1" + "P1 : method1 and method2 + P2 : testMethod2, the reference is made in testMethod2" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersInsideTestOutsideWithRefIn','Method') asClass >> ('method1SecondLevelSendersInsideTestOutsideWithRefIn','Method') asSymbol). + self assert: testsFound isEmpty. + self deny: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod2SecondLevelSenderInsideTestOutsideWithRefIn','Method')asSymbol) asRingDefinition ). + \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st new file mode 100644 index 0000000..3e0debf --- /dev/null +++ b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st @@ -0,0 +1,13 @@ +test - standard method - second level sender - with references +testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage + + "method1 is called by method 2,itself called by testMethod1" + "P1 : method1 and method2 + P2 : testMethod2, the reference is made in the package of testMethod2" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersInsideTestOutsideWithRefIn','Package') asClass >> ('method1SecondLevelSendersInsideTestOutsideWithRefIn','Package') asSymbol). + self assert: testsFound isEmpty. + self deny: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod2SecondLevelSenderInsideTestOutsideWithRefIn','Package') asSymbol) asRingDefinition ). + \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestInside.st b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestInside.st new file mode 100644 index 0000000..9af20e5 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestInside.st @@ -0,0 +1,14 @@ +test - standard method - second level sender +testStandardMethodSecondLevelSendersOutsidePackageWithTestInside + + "method1 is called by method2, which itself is called by testMethod2, thus testMethod2 should not be found. + We go out of the package once so it's normal hat the test is not found." + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClass','P1') asClass >> ('method1','SecondLevelSendersOutsidePackageWithTestInside') asSymbol). + self assert: (testsFound isEmpty ). + self deny: (testsFound includes: testMethod2SecondLevelSendersOutsidePackageWithTestInside ). + + + \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestOutside.st b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestOutside.st new file mode 100644 index 0000000..bda0954 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestOutside.st @@ -0,0 +1,13 @@ +test - standard method - second level sender +testStandardMethodSecondLevelSendersOutsidePackageWithTestOutside + + "method1 is called by method2, which itself is called by testMethod2, thus testMethod2 should not be found. + We go out of the package once so it's normal hat the test is not found." + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClass','P1') asClass >> ('method1','SecondLevelSendersOutsidePackageWithTestOutside') asSymbol). + self assert: (testsFound isEmpty ). + self deny: (testsFound includes: testMethod2SecondLevelSendersOutsidePackageWithTestOutside ). + + + \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st new file mode 100644 index 0000000..1db8746 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st @@ -0,0 +1,13 @@ +test - standard method - second level sender - with references +testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass + + "method1 is called by method 2,itself called by testMethod1" + "P1 : method1 and testMethod2 + P2 : method2, the reference is made in the class of method2" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersOutsideTestInsideWithRefIn','Class') asClass >> ('method1SecondLevelSendersOutsideTestInsideWithRefIn','Class') asSymbol). + self assert: testsFound isEmpty. + self deny: (testsFound includes: (('SmTClassTest','P1') asClass >> ('testMethod2SecondLevelSendersOutsideTestInsideWithRefIn','Class') asSymbol) asRingDefinition ). + \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st new file mode 100644 index 0000000..0ee7b35 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st @@ -0,0 +1,13 @@ +test - standard method - second level sender - with references +testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod + + "method1 is called by method 2,itself called by testMethod1" + "P1 : method1 and testMethod2 + P2 : method2, the reference is made in method2" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersOutsideTestInsideWithRefIn','Method') asClass >> ('method1SecondLevelSendersOutsideTestInsideWithRefIn','Method') asSymbol). + self assert: testsFound isEmpty. + self deny: (testsFound includes: (('SmTClassTest','P1') asClass >> ('testMethod2SecondLevelSendersOutsideTestInsideWithRefIn','Method') asSymbol) asRingDefinition ). + \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st new file mode 100644 index 0000000..0fb7e51 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st @@ -0,0 +1,13 @@ +test - standard method - second level sender - with references +testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage + + "method1 is called by method 2,itself called by testMethod1" + "P1 : method1 and testMethod2 + P2 : method2, the reference is made in the package of method2" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersOutsideTestInsideWithRefIn','Package') asClass >> ('method1SecondLevelSendersOutsideTestInsideWithRefIn','Package') asSymbol). + self assert: testsFound isEmpty. + self deny: (testsFound includes: (('SmTClassTest','P1') asClass >> ('testMethod2SecondLevelSendersOutsideTestInsideWithRefIn','Package') asSymbol) asRingDefinition ). + \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefInMethod.st b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefInMethod.st new file mode 100644 index 0000000..cb7c41b --- /dev/null +++ b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefInMethod.st @@ -0,0 +1,14 @@ +test - standard method - second level sender - with references +testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefInMethod + + "method1 is called by method 2,itself called by testMethod1" + "P1 : Class1 >> method1 + P2 : Class2 >> method2, the reference to Class1 is made in method2 + P3 : Class3 >> testMethod2, the reference to Class1 is made in testMethod2" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefIn','Method') asClass >> ('method1SecondLevelSendersOutsideTestOutsideWithRefIn','Method') asSymbol). + self assert: testsFound isEmpty. + self deny: (testsFound includes: (('SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefIn','Method') asClass >> ('testMethod2SecondLevelSenderOutsideTestOutsideWithRefIn','Method') asSymbol) asRingDefinition ). + \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/properties.json b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/properties.json new file mode 100644 index 0000000..fc3df9f --- /dev/null +++ b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/properties.json @@ -0,0 +1,20 @@ +{ + "commentStamp" : "eleonoreW 6/15/2018 10:07", + "super" : "TestCase", + "category" : "SmartTest-Tests-Filter", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ + "smartFinder", + "testMethod1FirstLevelSendersOutsidePackage", + "testMethod2SecondLevelSendersInsidePackageWithTestInside", + "testMethod2SecondLevelSendersInsidePackageWithTestOutside", + "testMethod2SecondLevelSendersOutsidePackageWithTestOutside", + "testmethod1FirstLevelSendersInsidePackage", + "testMethod1FirstLevelSendersInsidePackage", + "testMethod2SecondLevelSendersOutsidePackageWithTestInside" + ], + "name" : "SmTFilterAbstractTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/README.md b/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/README.md new file mode 100644 index 0000000..a06cbe2 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/README.md @@ -0,0 +1,7 @@ +This class exists to test the behaviour of the different finders with diffeent settings. +TODO + + - test setUp method with teardown + - test setUp method with setup + - test tearDown with setup + - test tearDown with teardown \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/class/isAbstract.st b/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/class/isAbstract.st new file mode 100644 index 0000000..af93968 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/class/isAbstract.st @@ -0,0 +1,4 @@ +testing +isAbstract + + ^ self == SmTFinderAbstractTest \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/searchTestMethodsFor..st b/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/searchTestMethodsFor..st new file mode 100644 index 0000000..dbdfb36 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/searchTestMethodsFor..st @@ -0,0 +1,4 @@ +helpers +searchTestMethodsFor: aCompiledMethod + + ^ smartFinder researchTestsForMethod: aCompiledMethod . \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/searchTestsForASetUpMethod..st b/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/searchTestsForASetUpMethod..st new file mode 100644 index 0000000..dbb2c8c --- /dev/null +++ b/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/searchTestsForASetUpMethod..st @@ -0,0 +1,3 @@ +helpers +searchTestsForASetUpMethod: aCompiledMethod + ^ smartFinder searchTestsForASetUpMethod: aCompiledMethod \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/searchTestsForATearDownMethod..st b/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/searchTestsForATearDownMethod..st new file mode 100644 index 0000000..98d7510 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/searchTestsForATearDownMethod..st @@ -0,0 +1,3 @@ +helpers +searchTestsForATearDownMethod: aCompiledMethod + ^ smartFinder searchTestsForATearDownMethod: aCompiledMethod \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/searchTestsForATestMethod..st b/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/searchTestsForATestMethod..st new file mode 100644 index 0000000..3f5f50e --- /dev/null +++ b/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/searchTestsForATestMethod..st @@ -0,0 +1,3 @@ +helpers +searchTestsForATestMethod: aCompiledMethod + ^ smartFinder searchTestsForATestMethod: aCompiledMethod \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/setUp.st b/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/setUp.st new file mode 100644 index 0000000..a70a11e --- /dev/null +++ b/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/setUp.st @@ -0,0 +1,12 @@ +running +setUp + super setUp. + self timeLimit: 45 seconds. "super super long time for travis CI" + smartFinder := SmartFinder new. + smartFinder filter: SmTDefaultClassPackagesFilter new. + testMethod1 := (SmTClassTest >> #testMethod1) asRingDefinition. + testMethod2 := (SmTClassTest >> #testMethod2) asRingDefinition. + testMethod3 := (SmTClassTest >> #testMethod3) asRingDefinition. + testMethod4 := (SmTClassTest >> #testMethod4) asRingDefinition. + testMethod5 := (SmTClassTest >> #testMethod5) asRingDefinition. + testInheritedMethod1 := RGMethodDefinition className: 'SmTInheritClassTest' selector: #testMethod1 isMetaSide: false \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/tearDown.st b/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/tearDown.st new file mode 100644 index 0000000..b78936f --- /dev/null +++ b/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/tearDown.st @@ -0,0 +1,6 @@ +running +tearDown + "reset the cache" + smartFinder resetCache. + smartFinder clean. + super tearDown \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testInheritance.st b/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testInheritance.st new file mode 100644 index 0000000..9375096 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testInheritance.st @@ -0,0 +1,9 @@ +tests +testInheritance + + | testsFound testMethod | + testsFound := self searchTestMethodsFor: ('SmTP1' , 'Inheritance') asClass >> ('method1','Inheritance') asSymbol . +testMethod := RGMethodDefinition className: ('SmTP1InheritanceSubClass2','Test') selector:('testMethod1','Inheritance') asSymbol isMetaSide: false. + self assert: testsFound size equals: 2. + self assert: (testsFound includes: ((('SmTP1InheritanceSubClass1Test') asClass >> ('testMethod1Inheritance') asSymbol) asRingDefinition )). + self assert: (testsFound includes: (testMethod) ). \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testModificationOnInitialize.st b/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testModificationOnInitialize.st new file mode 100644 index 0000000..309c626 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testModificationOnInitialize.st @@ -0,0 +1,16 @@ +tests +testModificationOnInitialize + + | testsFound |self + timeLimit: + 35 + seconds. + "this one needs more time than the other" + self flag: 'Takes a very long time'. + testsFound := self searchTestMethodsFor: SmTClass2 >> #initialize. + + self deny: (testsFound includes: testMethod1). + self deny: (testsFound includes: testMethod2). + self deny: (testsFound includes: testMethod3). + self deny: (testsFound includes: testMethod4). + self assert: (testsFound includes: testMethod5). \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testModificationOnTest.st b/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testModificationOnTest.st new file mode 100644 index 0000000..accd56b --- /dev/null +++ b/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testModificationOnTest.st @@ -0,0 +1,10 @@ +tests +testModificationOnTest +"asserts that if a test method is modified, the tests founds includes itself." + + | testsFound | + testsFound := self searchTestMethodsFor: SmTClassTest >> #testMethod4. + self deny: (testsFound includes: testMethod1). + self deny: (testsFound includes: testMethod2). + self deny: (testsFound includes: testMethod3). + self assert: (testsFound includes: testMethod4). \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testSetupMethodFindsTests.st b/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testSetupMethodFindsTests.st new file mode 100644 index 0000000..d2f60ed --- /dev/null +++ b/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testSetupMethodFindsTests.st @@ -0,0 +1,12 @@ +tests +testSetupMethodFindsTests +"asserts that the method SmTClassTest>>setup is related to the testMethods 1 to 4 and that 'testsForASetupMethod' finds all the good tests related to a setup method." + + | testsFound | + testsFound := self searchTestsForASetUpMethod: SmTClassTest >> #setUp. + + self assert: testsFound isNotEmpty. + self assert: (testsFound includes: testMethod1). + self assert: (testsFound includes: testMethod2). + self assert: (testsFound includes: testMethod3). + self assert: (testsFound includes: testMethod4). \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testSetupMethodWithNonSetupFindsNoTests.st b/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testSetupMethodWithNonSetupFindsNoTests.st new file mode 100644 index 0000000..aeb7567 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testSetupMethodWithNonSetupFindsNoTests.st @@ -0,0 +1,8 @@ +tests +testSetupMethodWithNonSetupFindsNoTests +"asserts that if we use the method 'testsForASetupMethod' with a non setup method as a parameter, the method returns nothing" + + | testsFound | + testsFound := self searchTestsForASetUpMethod: SmTClassTest >> #testMethod1. + + self assert: testsFound isEmpty. \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testStandardMethodFirstLevelSenders.st b/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testStandardMethodFirstLevelSenders.st new file mode 100644 index 0000000..2be6d36 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testStandardMethodFirstLevelSenders.st @@ -0,0 +1,9 @@ +tests +testStandardMethodFirstLevelSenders + + | testsFound | + testsFound := self searchTestMethodsFor: SmTClass >> #method2. + self deny: (testsFound includes: testMethod1). + self assert: (testsFound includes: testMethod2). + self deny: (testsFound includes: testMethod3). + self deny: (testsFound includes: testMethod4). \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testStandardMethodSecondLevelSenders.st b/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testStandardMethodSecondLevelSenders.st new file mode 100644 index 0000000..75bc533 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testStandardMethodSecondLevelSenders.st @@ -0,0 +1,10 @@ +tests +testStandardMethodSecondLevelSenders + + | testsFound | + testsFound := self searchTestMethodsFor: SmTClass >> #method1. + self assert: (testsFound includes: testMethod1). + self assert: (testsFound includes: testMethod2). + self assert: (testsFound includes: testInheritedMethod1). + self deny: (testsFound includes: testMethod3). + self deny: (testsFound includes: testMethod4). \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testStandardMethodThirdLevelSenders.st b/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testStandardMethodThirdLevelSenders.st new file mode 100644 index 0000000..59fb15a --- /dev/null +++ b/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testStandardMethodThirdLevelSenders.st @@ -0,0 +1,10 @@ +tests +testStandardMethodThirdLevelSenders + + | testsFound | + testsFound := self searchTestMethodsFor: SmTClass >> #method4. + + self deny: (testsFound includes: testMethod1). + self assert: (testsFound includes: testMethod2). + self assert: (testsFound includes: testMethod3). + self assert: (testsFound includes: testMethod4). \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testTearDownMethodFindsTests.st b/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testTearDownMethodFindsTests.st new file mode 100644 index 0000000..4d100d6 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testTearDownMethodFindsTests.st @@ -0,0 +1,11 @@ +tests +testTearDownMethodFindsTests + + | testsFound | + testsFound := self searchTestsForATearDownMethod: SmTClassTest >> #tearDown. + + self assert: testsFound isNotEmpty. + self assert: (testsFound includes: testMethod1). + self assert: (testsFound includes: testMethod2). + self assert: (testsFound includes: testMethod3). + self assert: (testsFound includes: testMethod4). \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testTearDownMethodWithNoneTearDownFindsNoTests.st b/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testTearDownMethodWithNoneTearDownFindsNoTests.st new file mode 100644 index 0000000..898c8dd --- /dev/null +++ b/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testTearDownMethodWithNoneTearDownFindsNoTests.st @@ -0,0 +1,5 @@ +tests +testTearDownMethodWithNoneTearDownFindsNoTests + + + self assert: (self searchTestsForATearDownMethod: SmTClassTest >> #testMethod1) isEmpty. \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testTestSelfSelected.st b/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testTestSelfSelected.st new file mode 100644 index 0000000..245e871 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testTestSelfSelected.st @@ -0,0 +1,10 @@ +tests +testTestSelfSelected + + | testsFound | + testsFound := self searchTestsForATestMethod: SmTClassTest >> #testMethod1. + + self assert: (testsFound includes: testMethod1). + self deny: (testsFound includes: testMethod2). + self deny: (testsFound includes: testMethod3). + self deny: (testsFound includes: testMethod4). \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/properties.json b/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/properties.json new file mode 100644 index 0000000..f5274de --- /dev/null +++ b/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/properties.json @@ -0,0 +1,22 @@ +{ + "commentStamp" : "EleonoreWALD 5/3/2018 14:21", + "super" : "TestCase", + "category" : "SmartTest-Tests-Finder", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ + "cache", + "smartFinder", + "testMethod2", + "testMethod1", + "testMethod3", + "testMethod4", + "testMethod5", + "testInheritedMethod1", + "testMethodOutsidePackage1", + "testMethod1OutsidePackage" + ], + "name" : "SmTFinderAbstractTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTOnModificationTest.class/README.md b/src/SmartTest-Tests.package/SmTOnModificationTest.class/README.md new file mode 100644 index 0000000..226ef0c --- /dev/null +++ b/src/SmartTest-Tests.package/SmTOnModificationTest.class/README.md @@ -0,0 +1 @@ +A CORAOnModificationTest is a test class for testing the behavior of CORAOnModification \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTOnModificationTest.class/instance/setUp.st b/src/SmartTest-Tests.package/SmTOnModificationTest.class/instance/setUp.st new file mode 100644 index 0000000..ba85017 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTOnModificationTest.class/instance/setUp.st @@ -0,0 +1,4 @@ +tests-adding +setUp + "prepare strategy" + onModif := SmTTestingStrategyEachModification new. \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTOnModificationTest.class/instance/tearDown.st b/src/SmartTest-Tests.package/SmTOnModificationTest.class/instance/tearDown.st new file mode 100644 index 0000000..336c710 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTOnModificationTest.class/instance/tearDown.st @@ -0,0 +1,4 @@ +tests-adding +tearDown + "prepare strategy" + onModif disable \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTOnModificationTest.class/instance/testAdd.st b/src/SmartTest-Tests.package/SmTOnModificationTest.class/instance/testAdd.st new file mode 100644 index 0000000..80dbedb --- /dev/null +++ b/src/SmartTest-Tests.package/SmTOnModificationTest.class/instance/testAdd.st @@ -0,0 +1,10 @@ +tests-adding +testAdd + | el | + onModif := SmTTestingStrategyEachModification new. + self assert: onModif bag isEmpty. + el := SmTRunnerTest >> #noop. + onModif addToElementBag: el. + self assert: onModif bag size equals: 1. + self assert: (onModif bag includes: el). + onModif disable \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTOnModificationTest.class/instance/testGet.st b/src/SmartTest-Tests.package/SmTOnModificationTest.class/instance/testGet.st new file mode 100644 index 0000000..aeaed7c --- /dev/null +++ b/src/SmartTest-Tests.package/SmTOnModificationTest.class/instance/testGet.st @@ -0,0 +1,16 @@ +tests-adding +testGet + | el | + onModif := SmTTestingStrategyEachModification new. + el := SmTRunnerTest >> #noop. + onModif addToElementBag: el. + self + assert: (onModif getElementFromBag: SmTRunnerTest >> #testIconForTestResultGreen) + equals: nil. + self assert: onModif bag size equals: 1. + self + assert: (onModif getElementFromBag: SmTRunnerTest >> #testIconForTestResultGreen) + equals: nil. + self assert: (onModif getElementFromBag: el) equals: el. + self assert: onModif bag size equals: 0. + self assert: (onModif getElementFromBag: el) equals: nil \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTOnModificationTest.class/properties.json b/src/SmartTest-Tests.package/SmTOnModificationTest.class/properties.json new file mode 100644 index 0000000..e1c0260 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTOnModificationTest.class/properties.json @@ -0,0 +1,13 @@ +{ + "commentStamp" : "", + "super" : "TestCase", + "category" : "SmartTest-Tests-OnModification", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ + "onModif" + ], + "name" : "SmTOnModificationTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTRunnerTest.class/README.md b/src/SmartTest-Tests.package/SmTRunnerTest.class/README.md new file mode 100644 index 0000000..33f22f9 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTRunnerTest.class/README.md @@ -0,0 +1 @@ +I test the behavior of the runner \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTRunnerTest.class/instance/noop.st b/src/SmartTest-Tests.package/SmTRunnerTest.class/instance/noop.st new file mode 100644 index 0000000..222948f --- /dev/null +++ b/src/SmartTest-Tests.package/SmTRunnerTest.class/instance/noop.st @@ -0,0 +1,3 @@ +private +noop + \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTRunnerTest.class/instance/setUp.st b/src/SmartTest-Tests.package/SmTRunnerTest.class/instance/setUp.st new file mode 100644 index 0000000..6b316b8 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTRunnerTest.class/instance/setUp.st @@ -0,0 +1,3 @@ +tests +setUp + runner := SmTRunnerStrategySmart. \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTRunnerTest.class/instance/testIconForTestResultGreen.st b/src/SmartTest-Tests.package/SmTRunnerTest.class/instance/testIconForTestResultGreen.st new file mode 100644 index 0000000..5aef646 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTRunnerTest.class/instance/testIconForTestResultGreen.st @@ -0,0 +1,6 @@ +tests +testIconForTestResultGreen + | case result | + case := self class selector: #noop. + result := case run. + self assert: (runner iconForTestResultOf: result) equals: (self iconNamed: #testGreenIcon) \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTRunnerTest.class/instance/testIconForTestResultRed.st b/src/SmartTest-Tests.package/SmTRunnerTest.class/instance/testIconForTestResultRed.st new file mode 100644 index 0000000..40a2137 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTRunnerTest.class/instance/testIconForTestResultRed.st @@ -0,0 +1,7 @@ +tests +testIconForTestResultRed + | case result | + case := self class selector: #error. + result := case run. + self assert: (runner iconForTestResultOf: result) equals: (self iconNamed: #testRedIcon) + \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTRunnerTest.class/instance/testIconForTestResultWhite.st b/src/SmartTest-Tests.package/SmTRunnerTest.class/instance/testIconForTestResultWhite.st new file mode 100644 index 0000000..b9f76b0 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTRunnerTest.class/instance/testIconForTestResultWhite.st @@ -0,0 +1,7 @@ +tests +testIconForTestResultWhite + | result | + result := TestResult new. + self + assert: (runner iconForTestResultOf: result) + equals: (self iconNamed: #testGreenIcon) \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTRunnerTest.class/instance/testIconForTestResultYellow.st b/src/SmartTest-Tests.package/SmTRunnerTest.class/instance/testIconForTestResultYellow.st new file mode 100644 index 0000000..1835e13 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTRunnerTest.class/instance/testIconForTestResultYellow.st @@ -0,0 +1,8 @@ +tests +testIconForTestResultYellow + | case result | + case := self class selector: #fail. + result := case run. + self + assert: (runner iconForTestResultOf: result) + equals: (self iconNamed: #testYellowIcon) \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCaseNotifyIconGreen.st b/src/SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCaseNotifyIconGreen.st new file mode 100644 index 0000000..c2a6f59 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCaseNotifyIconGreen.st @@ -0,0 +1,13 @@ +tests +testRunCaseNotifyIconGreen + | case result anIcon | + case := self class selector: #noop. + anIcon := IconicButton new. + result := runner runCase: case notifyIcon: anIcon. + self assert: result passed size equals: 1. + self assert: result errors size equals: 0. + self assert: result failures size equals: 0. + self + assert: anIcon labelGraphic + equals: + (self iconNamed: #testGreenIcon) \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCaseNotifyIconRed.st b/src/SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCaseNotifyIconRed.st new file mode 100644 index 0000000..3c16bfa --- /dev/null +++ b/src/SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCaseNotifyIconRed.st @@ -0,0 +1,7 @@ +tests +testRunCaseNotifyIconRed + | case anIcon | + case := self class selector: #error. + anIcon := IconicButton new. + self should: [runner runCase: case notifyIcon: anIcon] raise: Error . + self assert: anIcon labelGraphic equals: (self iconNamed: #testRedIcon) \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCaseNotifyIconYellow.st b/src/SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCaseNotifyIconYellow.st new file mode 100644 index 0000000..24ea56b --- /dev/null +++ b/src/SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCaseNotifyIconYellow.st @@ -0,0 +1,7 @@ +tests +testRunCaseNotifyIconYellow + | case anIcon | + case := self class selector: #fail. + anIcon := IconicButton new. + self should: [ runner runCase: case notifyIcon: anIcon ] raise: TestFailure. + self assert: anIcon labelGraphic equals: (self iconNamed: #testYellowIcon) \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCasesNotifyIconGreen.st b/src/SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCasesNotifyIconGreen.st new file mode 100644 index 0000000..271048c --- /dev/null +++ b/src/SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCasesNotifyIconGreen.st @@ -0,0 +1,17 @@ +tests +testRunCasesNotifyIconGreen + | case1 case2 case3 anIcon result | + case1 := self class selector: #noop. + case2 := self class selector: #noop. + case3 := self class selector: #noop. + anIcon := IconicButton new. + result := runner + runCases: + {case1. + case2. + case3} + notifyIcon: anIcon. + self assert: result passed size equals: 3. + self assert: result errors size equals: 0. + self assert: result failures size equals: 0. + self assert: anIcon labelGraphic equals: (self iconNamed: #testGreenIcon) \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCasesNotifyIconRed.st b/src/SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCasesNotifyIconRed.st new file mode 100644 index 0000000..f8bf45f --- /dev/null +++ b/src/SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCasesNotifyIconRed.st @@ -0,0 +1,14 @@ +tests +testRunCasesNotifyIconRed + | case1 case2 case3 anIcon | + case1 := self class selector: #error. + case2 := self class selector: #fail. + case3 := self class selector: #error. + anIcon := IconicButton new. + runner + runCases: + {case1. + case2. + case3} + notifyIcon: anIcon. + self assert: anIcon labelGraphic equals: (self iconNamed: #testRedIcon) \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCasesNotifyIconYellow.st b/src/SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCasesNotifyIconYellow.st new file mode 100644 index 0000000..1b3187f --- /dev/null +++ b/src/SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCasesNotifyIconYellow.st @@ -0,0 +1,9 @@ +tests +testRunCasesNotifyIconYellow + | case1 case2 case3 anIcon | + case1 := self class selector: #noop. + case2 := self class selector: #fail. + case3 := self class selector: #noop. + anIcon := IconicButton new. + runner runCases: {case1.case2.case3} notifyIcon: anIcon. + self assert: anIcon labelGraphic equals: (self iconNamed: #testYellowIcon) \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTRunnerTest.class/properties.json b/src/SmartTest-Tests.package/SmTRunnerTest.class/properties.json new file mode 100644 index 0000000..90bccf8 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTRunnerTest.class/properties.json @@ -0,0 +1,13 @@ +{ + "commentStamp" : "BenoitVerhaeghe 6/30/2017 14:48", + "super" : "TestCase", + "category" : "SmartTest-Tests-Runner", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ + "runner" + ], + "name" : "SmTRunnerTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/README.md b/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/README.md new file mode 100644 index 0000000..da1eccf --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/README.md @@ -0,0 +1,6 @@ +I test the strategy SendersFinder with the filterDefaultClassPackage. +The filter should accept any test that is owned by : + - the package of the modified method; + - a package that references the class of the modified method. + +In order to be sure that those test are not considered as callers of the modified method and as references to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method. \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/setUp.st b/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/setUp.st new file mode 100644 index 0000000..1f0e8e4 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/setUp.st @@ -0,0 +1,5 @@ +running +setUp +"Here we want to test the SmTDefaultPackagesFilter with the static strategy 'sendersFinder' " + super setUp. + smartFinder filter: SmTDefaultClassPackagesFilter new. \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testExtensionTestInside.st b/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testExtensionTestInside.st new file mode 100644 index 0000000..635a00a --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testExtensionTestInside.st @@ -0,0 +1,8 @@ +tests +testExtensionTestInside + + | testsFound | + testsFound := self searchTestMethodsFor:( ('SmT','ExtensionP4') asClass >> ('method1ExtensionTest','Inside') asSymbol). + + self assert: (testsFound includes: ((('SmT','ClassTestP3') asClass >> ('testMethod1ExtensionTest','Inside') asSymbol) asRingDefinition )). + \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testInstVarOutsidePackage.st b/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testInstVarOutsidePackage.st new file mode 100644 index 0000000..e0a1cdc --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testInstVarOutsidePackage.st @@ -0,0 +1,9 @@ +tests +testInstVarOutsidePackage +"In this test we want to assert that if the modified class has subclasses, SmartTest finds all the inherited methods (implemented or not)" + + | testsFound aInstVar| + aInstVar := self instanceVariableNamed: 'instVarModificationOnVariableOutsidePackage' fromClass: ('SmTClassP1ModificationOnVariable') asClass . + testsFound := self searchTestsForInstVar: aInstVar ofClass: ('SmTClassP1ModificationOnVariable') asClass. + self assert: testsFound size equals: 0. + \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st b/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st new file mode 100644 index 0000000..3711712 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st @@ -0,0 +1,12 @@ +tests +testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass + + "method1 is called by testMethod1" + "P1 : method1 + P2 : testMethod1, the reference is made in the class of testMethod1" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1FirstLevelSendersOutsideWithRefIn','Class') asClass >> ('method1','FirstLevelSendersWithRefInClass') asSymbol). + self assert: testsFound size equals: 1. + self assert: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod1FirstLevelSendersOutsideWithRefIn','Class') asSymbol) asRingDefinition ). \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st b/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st new file mode 100644 index 0000000..af519a0 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st @@ -0,0 +1,12 @@ +tests +testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod + + "method1 is called by testMethod1" + "P1 : method1 + P2 : testMethod1, the reference is made in testMethod1" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1FirstLevelSendersOutsideWithRefIn','Method') asClass >> ('method1','FirstLevelSendersWithRefInMethod') asSymbol). + self assert: testsFound size equals: 1. + self assert: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod1FirstLevelSendersOutsideWithRefIn','Method') asSymbol) asRingDefinition ). \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st b/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st new file mode 100644 index 0000000..e70c0c2 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st @@ -0,0 +1,13 @@ +tests +testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage + + "method1 is called by testMethod1" + "P1 : method1 + P2 : testMethod1, the reference is made in the package of testMethod1" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1FirstLevelSendersOutsideWithRefIn','Package') asClass >> ('method1FirstLevelSendersWithRefIn','Package') asSymbol). + self assert: testsFound size equals: 1. + self assert: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod1FirstLevelSendersOutsideWithRefIn','Package') asSymbol) asRingDefinition ). + \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st b/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st new file mode 100644 index 0000000..be07332 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st @@ -0,0 +1,13 @@ +tests +testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass + + "method1 is called by method 2,itself called by testMethod1" + "P1 : method1 and method2 + P2 : testMethod2, the reference is made in the class of testMethod2" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersInsideTestOutsideWithRefIn','Class') asClass >> ('method1SecondLevelSendersInsideTestOutsideWithRefIn','Class') asSymbol). + self assert: testsFound size equals: 1. + self assert: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod2SecondLevelSenderInsideTestOutsideWithRefIn','Class') asSymbol) asRingDefinition ). + \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st b/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st new file mode 100644 index 0000000..9bf9fb4 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st @@ -0,0 +1,13 @@ +tests +testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod + + "method1 is called by method 2,itself called by testMethod1" + "P1 : method1 and method2 + P2 : testMethod2, the reference is made in testMethod2" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersInsideTestOutsideWithRefIn','Method') asClass >> ('method1SecondLevelSendersInsideTestOutsideWithRefIn','Method') asSymbol). + self assert: testsFound size equals: 1. + self assert: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod2SecondLevelSenderInsideTestOutsideWithRefIn','Method')asSymbol) asRingDefinition ). + \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st b/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st new file mode 100644 index 0000000..32d056c --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st @@ -0,0 +1,13 @@ +tests +testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage + + "method1 is called by method 2,itself called by testMethod1" + "P1 : method1 and method2 + P2 : testMethod2, the reference is made in the package of testMethod2" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersInsideTestOutsideWithRefIn','Package') asClass >> ('method1SecondLevelSendersInsideTestOutsideWithRefIn','Package') asSymbol). + self assert: testsFound size equals: 1. + self assert: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod2SecondLevelSenderInsideTestOutsideWithRefIn','Package') asSymbol) asRingDefinition ). + \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st b/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st new file mode 100644 index 0000000..29aceea --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st @@ -0,0 +1,13 @@ +tests +testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass + + "method1 is called by method 2,itself called by testMethod1" + "P1 : method1 and testMethod2 + P2 : method2, the reference is made in the class of method2" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersOutsideTestInsideWithRefIn','Class') asClass >> ('method1SecondLevelSendersOutsideTestInsideWithRefIn','Class') asSymbol). + self assert: testsFound size equals: 1. + self assert: (testsFound includes: (('SmTClassTest','P1') asClass >> ('testMethod2SecondLevelSendersOutsideTestInsideWithRefIn','Class') asSymbol) asRingDefinition ). + \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st b/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st new file mode 100644 index 0000000..ffdcb51 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st @@ -0,0 +1,13 @@ +tests +testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod + + "method1 is called by method 2,itself called by testMethod1" + "P1 : method1 and testMethod2 + P2 : method2, the reference is made in method2" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersOutsideTestInsideWithRefIn','Method') asClass >> ('method1SecondLevelSendersOutsideTestInsideWithRefIn','Method') asSymbol). + self assert: testsFound size equals: 1. + self assert: (testsFound includes: (('SmTClassTest','P1') asClass >> ('testMethod2SecondLevelSendersOutsideTestInsideWithRefIn','Method') asSymbol) asRingDefinition ). + \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st b/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st new file mode 100644 index 0000000..465bb6e --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st @@ -0,0 +1,13 @@ +tests +testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage + + "method1 is called by method 2,itself called by testMethod1" + "P1 : method1 and testMethod2 + P2 : method2, the reference is made in the package of method2" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersOutsideTestInsideWithRefIn','Package') asClass >> ('method1SecondLevelSendersOutsideTestInsideWithRefIn','Package') asSymbol). + self assert: testsFound size equals: 1. + self assert: (testsFound includes: (('SmTClassTest','P1') asClass >> ('testMethod2SecondLevelSendersOutsideTestInsideWithRefIn','Package') asSymbol) asRingDefinition ). + \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefInMethod.st b/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefInMethod.st new file mode 100644 index 0000000..37379b4 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefInMethod.st @@ -0,0 +1,14 @@ +tests +testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefInMethod + + "method1 is called by method 2,itself called by testMethod1" + "P1 : Class1 >> method1 + P2 : Class2 >> method2, the reference to Class1 is made in method2 + P3 : Class3 >> testMethod2, the reference to Class1 is made in testMethod2" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefIn','Method') asClass >> ('method1SecondLevelSendersOutsideTestOutsideWithRefIn','Method') asSymbol). + self assert: testsFound size equals: 1. + self assert: (testsFound includes: (('SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefIn','Method') asClass >> ('testMethod2SecondLevelSenderOutsideTestOutsideWithRefIn','Method') asSymbol) asRingDefinition ). + \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/properties.json b/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/properties.json new file mode 100644 index 0000000..28bb79c --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "EleonoreWALD 5/14/2018 14:06", + "super" : "SmTFilterAbstractTest", + "category" : "SmartTest-Tests-Filter", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTSendersFilterTestDefaultClassPackage", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultPackage.class/README.md b/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultPackage.class/README.md new file mode 100644 index 0000000..dcb8d92 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultPackage.class/README.md @@ -0,0 +1,5 @@ +I test the strategy SendersFinder with the filter DefaultPackage. +The filter should accept any test that is owned by : + - the package of the modified method; + +In order to be sure that those test are not considered as callers of the modified method and as references to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method. \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultPackage.class/instance/testClassOutsidePackageWithRef.st b/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultPackage.class/instance/testClassOutsidePackageWithRef.st new file mode 100644 index 0000000..f8cffb2 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultPackage.class/instance/testClassOutsidePackageWithRef.st @@ -0,0 +1,7 @@ +tests +testClassOutsidePackageWithRef +"In this test, we want to assert that if the class is used in a method, we find the tests related to this method." + + | testsFound | + testsFound := self searchTestMethodsForAClass: ('SmTClassModificationOnClass','OutsidePackageWithRef') asClass. + self assert: testsFound size equals: 0. \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultPackage.class/instance/testInstVarOutsidePackage.st b/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultPackage.class/instance/testInstVarOutsidePackage.st new file mode 100644 index 0000000..e0a1cdc --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultPackage.class/instance/testInstVarOutsidePackage.st @@ -0,0 +1,9 @@ +tests +testInstVarOutsidePackage +"In this test we want to assert that if the modified class has subclasses, SmartTest finds all the inherited methods (implemented or not)" + + | testsFound aInstVar| + aInstVar := self instanceVariableNamed: 'instVarModificationOnVariableOutsidePackage' fromClass: ('SmTClassP1ModificationOnVariable') asClass . + testsFound := self searchTestsForInstVar: aInstVar ofClass: ('SmTClassP1ModificationOnVariable') asClass. + self assert: testsFound size equals: 0. + \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultPackage.class/properties.json b/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultPackage.class/properties.json new file mode 100644 index 0000000..648bd0d --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultPackage.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "EleonoreWALD 5/14/2018 14:06", + "super" : "SmTFilterAbstractTest", + "category" : "SmartTest-Tests-Filter", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTSendersFilterTestDefaultPackage", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/README.md b/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/README.md new file mode 100644 index 0000000..e18a184 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/README.md @@ -0,0 +1,7 @@ +I test the strategy SendersFinder with the filter RestrictedPackage. +The filter should accept any test that is owned by a package whose name matches the regex. + +Here we look for tests in the package SmartDataTestOutsideP1 AND SmartDataTestOutsideP2 End of statement list encountered ->(this is defined in the SetUp method). +The results are different than the results with only one package. + +In order to be sure that those test are not considered as callers of the modified method and as references to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method. \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/setUp.st b/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/setUp.st new file mode 100644 index 0000000..e3b651a --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/setUp.st @@ -0,0 +1,9 @@ +running +setUp + "Here we want to test the SmTRestrictedPackageFilter with the static strategy 'sendersFinder'. We look for the tests located in both SmartTestDataOutsideP1 and P2." + + super setUp. + self timeLimit: 60 seconds. + smartFinder + filter: + (SmTSpecifyPackagesNameFilter packagesRegex: 'SmartTestDataOutsideP1|SmartTestDataOutsideP2') \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st b/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st new file mode 100644 index 0000000..d261fd4 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st @@ -0,0 +1,13 @@ +tests +testStandardMethodFirstLevelSendersOutsidePackage + + "MyMethod1 is called by testMyMethod2, a test not owned by the same package as myMethod1 but its package matches the regex so it should be found" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClass','P1') asClass >> ('method1','FirstLevelSendersOutsidePackage') asSymbol). + self assert: testsFound size equals: 1 . + self assert: (testsFound includes: testMethod1FirstLevelSendersOutsidePackage). + + + \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st b/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st new file mode 100644 index 0000000..3711712 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st @@ -0,0 +1,12 @@ +tests +testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass + + "method1 is called by testMethod1" + "P1 : method1 + P2 : testMethod1, the reference is made in the class of testMethod1" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1FirstLevelSendersOutsideWithRefIn','Class') asClass >> ('method1','FirstLevelSendersWithRefInClass') asSymbol). + self assert: testsFound size equals: 1. + self assert: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod1FirstLevelSendersOutsideWithRefIn','Class') asSymbol) asRingDefinition ). \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st b/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st new file mode 100644 index 0000000..af519a0 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st @@ -0,0 +1,12 @@ +tests +testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod + + "method1 is called by testMethod1" + "P1 : method1 + P2 : testMethod1, the reference is made in testMethod1" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1FirstLevelSendersOutsideWithRefIn','Method') asClass >> ('method1','FirstLevelSendersWithRefInMethod') asSymbol). + self assert: testsFound size equals: 1. + self assert: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod1FirstLevelSendersOutsideWithRefIn','Method') asSymbol) asRingDefinition ). \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st b/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st new file mode 100644 index 0000000..e70c0c2 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st @@ -0,0 +1,13 @@ +tests +testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage + + "method1 is called by testMethod1" + "P1 : method1 + P2 : testMethod1, the reference is made in the package of testMethod1" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1FirstLevelSendersOutsideWithRefIn','Package') asClass >> ('method1FirstLevelSendersWithRefIn','Package') asSymbol). + self assert: testsFound size equals: 1. + self assert: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod1FirstLevelSendersOutsideWithRefIn','Package') asSymbol) asRingDefinition ). + \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestOutside.st b/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestOutside.st new file mode 100644 index 0000000..becbfcd --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestOutside.st @@ -0,0 +1,13 @@ +running +testStandardMethodSecondLevelSendersInsidePackageWithTestOutside + + "method1 is called by method2, which itself is called by testMethod2, both methods (the test and the method) are not owned by the same package as myMethod1 but their packages matches the regex so it should be found" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClass','P1') asClass >> ('method1','SecondLevelSendersInsidePackageWithTestOutside') asSymbol). + self assert: testsFound size equals: 1 . + self assert: (testsFound includes: testMethod2SecondLevelSendersInsidePackageWithTestOutside ). + + + \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st b/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st new file mode 100644 index 0000000..be07332 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st @@ -0,0 +1,13 @@ +tests +testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass + + "method1 is called by method 2,itself called by testMethod1" + "P1 : method1 and method2 + P2 : testMethod2, the reference is made in the class of testMethod2" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersInsideTestOutsideWithRefIn','Class') asClass >> ('method1SecondLevelSendersInsideTestOutsideWithRefIn','Class') asSymbol). + self assert: testsFound size equals: 1. + self assert: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod2SecondLevelSenderInsideTestOutsideWithRefIn','Class') asSymbol) asRingDefinition ). + \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st b/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st new file mode 100644 index 0000000..9bf9fb4 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st @@ -0,0 +1,13 @@ +tests +testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod + + "method1 is called by method 2,itself called by testMethod1" + "P1 : method1 and method2 + P2 : testMethod2, the reference is made in testMethod2" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersInsideTestOutsideWithRefIn','Method') asClass >> ('method1SecondLevelSendersInsideTestOutsideWithRefIn','Method') asSymbol). + self assert: testsFound size equals: 1. + self assert: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod2SecondLevelSenderInsideTestOutsideWithRefIn','Method')asSymbol) asRingDefinition ). + \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st b/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st new file mode 100644 index 0000000..32d056c --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st @@ -0,0 +1,13 @@ +tests +testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage + + "method1 is called by method 2,itself called by testMethod1" + "P1 : method1 and method2 + P2 : testMethod2, the reference is made in the package of testMethod2" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersInsideTestOutsideWithRefIn','Package') asClass >> ('method1SecondLevelSendersInsideTestOutsideWithRefIn','Package') asSymbol). + self assert: testsFound size equals: 1. + self assert: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod2SecondLevelSenderInsideTestOutsideWithRefIn','Package') asSymbol) asRingDefinition ). + \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestInside.st b/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestInside.st new file mode 100644 index 0000000..c17c27f --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestInside.st @@ -0,0 +1,12 @@ +running +testStandardMethodSecondLevelSendersOutsidePackageWithTestInside + + "method1 is called by method2, which itself is called by testMethod2, both methods (the test and the method) are not owned by the same package as myMethod1 but their packages matches the regex so it should be found" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClass','P1') asClass >> ('method1','SecondLevelSendersOutsidePackageWithTestInside') asSymbol). + self assert: testsFound size equals: 1 . + self assert: (testsFound includes: testMethod2SecondLevelSendersOutsidePackageWithTestInside ). + + + \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestOutside.st b/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestOutside.st new file mode 100644 index 0000000..14e3170 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestOutside.st @@ -0,0 +1,12 @@ +running +testStandardMethodSecondLevelSendersOutsidePackageWithTestOutside + + "method1 is called by method2, which itself is called by testMethod2, both methods (the test and the method) are not owned by the same package as myMethod1 but their packages matches the regex so it should be found" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClass','P1') asClass >> ('method1','SecondLevelSendersOutsidePackageWithTestOutside') asSymbol). + self assert: testsFound size equals: 1 . + self assert: (testsFound includes: testMethod2SecondLevelSendersOutsidePackageWithTestOutside ). + + + \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st b/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st new file mode 100644 index 0000000..29aceea --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st @@ -0,0 +1,13 @@ +tests +testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass + + "method1 is called by method 2,itself called by testMethod1" + "P1 : method1 and testMethod2 + P2 : method2, the reference is made in the class of method2" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersOutsideTestInsideWithRefIn','Class') asClass >> ('method1SecondLevelSendersOutsideTestInsideWithRefIn','Class') asSymbol). + self assert: testsFound size equals: 1. + self assert: (testsFound includes: (('SmTClassTest','P1') asClass >> ('testMethod2SecondLevelSendersOutsideTestInsideWithRefIn','Class') asSymbol) asRingDefinition ). + \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st b/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st new file mode 100644 index 0000000..ffdcb51 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st @@ -0,0 +1,13 @@ +tests +testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod + + "method1 is called by method 2,itself called by testMethod1" + "P1 : method1 and testMethod2 + P2 : method2, the reference is made in method2" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersOutsideTestInsideWithRefIn','Method') asClass >> ('method1SecondLevelSendersOutsideTestInsideWithRefIn','Method') asSymbol). + self assert: testsFound size equals: 1. + self assert: (testsFound includes: (('SmTClassTest','P1') asClass >> ('testMethod2SecondLevelSendersOutsideTestInsideWithRefIn','Method') asSymbol) asRingDefinition ). + \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st b/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st new file mode 100644 index 0000000..465bb6e --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st @@ -0,0 +1,13 @@ +tests +testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage + + "method1 is called by method 2,itself called by testMethod1" + "P1 : method1 and testMethod2 + P2 : method2, the reference is made in the package of method2" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersOutsideTestInsideWithRefIn','Package') asClass >> ('method1SecondLevelSendersOutsideTestInsideWithRefIn','Package') asSymbol). + self assert: testsFound size equals: 1. + self assert: (testsFound includes: (('SmTClassTest','P1') asClass >> ('testMethod2SecondLevelSendersOutsideTestInsideWithRefIn','Package') asSymbol) asRingDefinition ). + \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/properties.json b/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/properties.json new file mode 100644 index 0000000..88d6a92 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "EleonoreWALD 5/14/2018 14:07", + "super" : "SmTFilterAbstractTest", + "category" : "SmartTest-Tests-Filter", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTSendersFilterTestWithMultipleRestrictedPackage", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/README.md b/src/SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/README.md new file mode 100644 index 0000000..7b2af44 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/README.md @@ -0,0 +1,6 @@ +I test the strategy SendersFinder with the filter RestrictedPackage. +The filter should accept any test that is owned by a package whose name matches the regex. + +Here we look for tests in the package SmartDataTestOutsideP1 (this is defined in the SetUp method). + +In order to be sure that those test are not considered as callers of the modified method and as references to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method. \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/setUp.st b/src/SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/setUp.st new file mode 100644 index 0000000..d682286 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/setUp.st @@ -0,0 +1,7 @@ +running +setUp + "Here we want to test the SmTRestrictedPackageFilter with the static strategy 'sendersFinder'. We only look for the tests located in SmartTestDataOutsideP1." + + super setUp. + self timeLimit: 60 seconds. + smartFinder filter: (SmTSpecifyPackagesNameFilter packagesRegex: 'SmartTestDataOutsideP1') \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/testClassOutsidePackageWithRef.st b/src/SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/testClassOutsidePackageWithRef.st new file mode 100644 index 0000000..f8cffb2 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/testClassOutsidePackageWithRef.st @@ -0,0 +1,7 @@ +tests +testClassOutsidePackageWithRef +"In this test, we want to assert that if the class is used in a method, we find the tests related to this method." + + | testsFound | + testsFound := self searchTestMethodsForAClass: ('SmTClassModificationOnClass','OutsidePackageWithRef') asClass. + self assert: testsFound size equals: 0. \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/testExtensionMethodFirstLevelSendersOutside.st b/src/SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/testExtensionMethodFirstLevelSendersOutside.st new file mode 100644 index 0000000..fbbf6f2 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/testExtensionMethodFirstLevelSendersOutside.st @@ -0,0 +1,6 @@ +tests +testExtensionMethodFirstLevelSendersOutside + + | testsFound | + testsFound := self searchTestMethodsFor:( ('SmT','ExtensionP2Test') asClass >> ('extensionMethod1FirstLevelSenders','Outside') asSymbol). + self deny: (testsFound includes: ((('SmT','ClassTestP2Test') asClass >> ('testExtensionMethod1FirstLevelSenders','Outside') asSymbol) asRingDefinition )). \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/testInstVarOutsidePackage.st b/src/SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/testInstVarOutsidePackage.st new file mode 100644 index 0000000..1a6bba4 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/testInstVarOutsidePackage.st @@ -0,0 +1,9 @@ +tests +testInstVarOutsidePackage +"In this test we want to assert that if the modified class has subclasses, SmartTest finds all the inherited methods (implemented or not)" + + | testsFound aInstVar| + aInstVar := self instanceVariableNamed: 'instVarModificationOnVariableOutsidePackage' fromClass: ('SmTClassP1ModificationOnVariable') asClass . + testsFound := self searchTestsForInstVar: aInstVar ofClass:('SmTClassP1ModificationOnVariable') asClass . + self assert: testsFound size equals: 0. + \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/properties.json b/src/SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/properties.json new file mode 100644 index 0000000..0daa47e --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "EleonoreWALD 5/14/2018 14:07", + "super" : "SmTFilterAbstractTest", + "category" : "SmartTest-Tests-Filter", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTSendersFilterTestWithRestrictedPackage", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsBasicCacheTest.class/README.md b/src/SmartTest-Tests.package/SmTSettingsBasicCacheTest.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/src/SmartTest-Tests.package/SmTSettingsBasicCacheTest.class/instance/cacheStrategy.st b/src/SmartTest-Tests.package/SmTSettingsBasicCacheTest.class/instance/cacheStrategy.st new file mode 100644 index 0000000..ec438a3 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSettingsBasicCacheTest.class/instance/cacheStrategy.st @@ -0,0 +1,3 @@ +settings +cacheStrategy + ^ SmTBasicCacheStrategy \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsBasicCacheTest.class/properties.json b/src/SmartTest-Tests.package/SmTSettingsBasicCacheTest.class/properties.json new file mode 100644 index 0000000..c248630 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSettingsBasicCacheTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTSettingsCacheTest", + "category" : "SmartTest-Tests-Settings", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTSettingsBasicCacheTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsCacheTest.class/README.md b/src/SmartTest-Tests.package/SmTSettingsCacheTest.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/src/SmartTest-Tests.package/SmTSettingsCacheTest.class/class/isAbstract.st b/src/SmartTest-Tests.package/SmTSettingsCacheTest.class/class/isAbstract.st new file mode 100644 index 0000000..3416abb --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSettingsCacheTest.class/class/isAbstract.st @@ -0,0 +1,3 @@ +testing +isAbstract + ^ self = SmTSettingsCacheTest \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsCacheTest.class/instance/cacheStrategy.st b/src/SmartTest-Tests.package/SmTSettingsCacheTest.class/instance/cacheStrategy.st new file mode 100644 index 0000000..6b3c91d --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSettingsCacheTest.class/instance/cacheStrategy.st @@ -0,0 +1,3 @@ +settings +cacheStrategy + self subclassResponsibility \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsCacheTest.class/instance/testChangeCacheStrategy.st b/src/SmartTest-Tests.package/SmTSettingsCacheTest.class/instance/testChangeCacheStrategy.st new file mode 100644 index 0000000..50663d8 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSettingsCacheTest.class/instance/testChangeCacheStrategy.st @@ -0,0 +1,7 @@ +tests +testChangeCacheStrategy + "Test changement of the runner in the setting (throught SmTRules methods)" + + SmTRules cacheStrategy: self cacheStrategy. + self assert: (SmTRules testFinder cacheStrategy isKindOf: self cacheStrategy). + self assert: (SmTRules testFinder smtFinder cache isKindOf: self cacheStrategy) \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsCacheTest.class/properties.json b/src/SmartTest-Tests.package/SmTSettingsCacheTest.class/properties.json new file mode 100644 index 0000000..f83f581 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSettingsCacheTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTSettingsTest", + "category" : "SmartTest-Tests-Settings", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTSettingsCacheTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsFilterDefaultClassPackagesTest.class/README.md b/src/SmartTest-Tests.package/SmTSettingsFilterDefaultClassPackagesTest.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/src/SmartTest-Tests.package/SmTSettingsFilterDefaultClassPackagesTest.class/instance/filterStrategy.st b/src/SmartTest-Tests.package/SmTSettingsFilterDefaultClassPackagesTest.class/instance/filterStrategy.st new file mode 100644 index 0000000..57ada31 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSettingsFilterDefaultClassPackagesTest.class/instance/filterStrategy.st @@ -0,0 +1,3 @@ +running +filterStrategy + ^ SmTDefaultClassPackagesFilter \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsFilterDefaultClassPackagesTest.class/properties.json b/src/SmartTest-Tests.package/SmTSettingsFilterDefaultClassPackagesTest.class/properties.json new file mode 100644 index 0000000..faf7616 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSettingsFilterDefaultClassPackagesTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTSettingsFilterTest", + "category" : "SmartTest-Tests-Settings", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTSettingsFilterDefaultClassPackagesTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsFilterDefaultPackagesTest.class/README.md b/src/SmartTest-Tests.package/SmTSettingsFilterDefaultPackagesTest.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/src/SmartTest-Tests.package/SmTSettingsFilterDefaultPackagesTest.class/instance/filterStrategy.st b/src/SmartTest-Tests.package/SmTSettingsFilterDefaultPackagesTest.class/instance/filterStrategy.st new file mode 100644 index 0000000..d9a54d5 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSettingsFilterDefaultPackagesTest.class/instance/filterStrategy.st @@ -0,0 +1,3 @@ +running +filterStrategy + ^ SmTDefaultPackagesFilter \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsFilterDefaultPackagesTest.class/properties.json b/src/SmartTest-Tests.package/SmTSettingsFilterDefaultPackagesTest.class/properties.json new file mode 100644 index 0000000..12278e2 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSettingsFilterDefaultPackagesTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTSettingsFilterTest", + "category" : "SmartTest-Tests-Settings", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTSettingsFilterDefaultPackagesTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsFilterIcebergTest.class/README.md b/src/SmartTest-Tests.package/SmTSettingsFilterIcebergTest.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/src/SmartTest-Tests.package/SmTSettingsFilterIcebergTest.class/instance/filterStrategy.st b/src/SmartTest-Tests.package/SmTSettingsFilterIcebergTest.class/instance/filterStrategy.st new file mode 100644 index 0000000..1ebdc3f --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSettingsFilterIcebergTest.class/instance/filterStrategy.st @@ -0,0 +1,3 @@ +running +filterStrategy + ^ SmTIcebergLoadedPackagesFilter \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsFilterIcebergTest.class/properties.json b/src/SmartTest-Tests.package/SmTSettingsFilterIcebergTest.class/properties.json new file mode 100644 index 0000000..321e2a0 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSettingsFilterIcebergTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTSettingsFilterTest", + "category" : "SmartTest-Tests-Settings", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTSettingsFilterIcebergTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsFilterNoFilterTest.class/README.md b/src/SmartTest-Tests.package/SmTSettingsFilterNoFilterTest.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/src/SmartTest-Tests.package/SmTSettingsFilterNoFilterTest.class/instance/filterStrategy.st b/src/SmartTest-Tests.package/SmTSettingsFilterNoFilterTest.class/instance/filterStrategy.st new file mode 100644 index 0000000..cf78b21 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSettingsFilterNoFilterTest.class/instance/filterStrategy.st @@ -0,0 +1,3 @@ +running +filterStrategy + ^ SmTNoFilter \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsFilterNoFilterTest.class/properties.json b/src/SmartTest-Tests.package/SmTSettingsFilterNoFilterTest.class/properties.json new file mode 100644 index 0000000..d5116b6 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSettingsFilterNoFilterTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTSettingsFilterTest", + "category" : "SmartTest-Tests-Settings", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTSettingsFilterNoFilterTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/README.md b/src/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/src/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/dataForTestRegex.st b/src/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/dataForTestRegex.st new file mode 100644 index 0000000..f9324cf --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/dataForTestRegex.st @@ -0,0 +1,3 @@ +running +dataForTestRegex + ^ 'SmartTes*|StarWars' \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/filterStrategy.st b/src/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/filterStrategy.st new file mode 100644 index 0000000..8b28c3a --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/filterStrategy.st @@ -0,0 +1,3 @@ +running +filterStrategy + ^ SmTSpecifyPackagesNameFilter \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/setUp.st b/src/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/setUp.st new file mode 100644 index 0000000..9769d58 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/setUp.st @@ -0,0 +1,5 @@ +running +setUp + super setUp. + oldRegex := SmTRules packagesRegex. + SmTRules packagesRegex: self dataForTestRegex \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/tearDown.st b/src/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/tearDown.st new file mode 100644 index 0000000..ff5a0e9 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/tearDown.st @@ -0,0 +1,5 @@ +running +tearDown + + SmTRules packagesRegex: oldRegex. + super tearDown \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/testChangeRegexWhenChanged.st b/src/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/testChangeRegexWhenChanged.st new file mode 100644 index 0000000..2c37f78 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/testChangeRegexWhenChanged.st @@ -0,0 +1,4 @@ +running +testChangeRegexWhenChanged + SmTRules filter: self filterStrategy. + self assert: SmTRules testFinder filter packagesRegex equals: self dataForTestRegex \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/properties.json b/src/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/properties.json new file mode 100644 index 0000000..a847d2d --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/properties.json @@ -0,0 +1,13 @@ +{ + "commentStamp" : "", + "super" : "SmTSettingsFilterTest", + "category" : "SmartTest-Tests-Settings", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ + "oldRegex" + ], + "name" : "SmTSettingsFilterSpecifyPackagesNameTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsFilterTest.class/README.md b/src/SmartTest-Tests.package/SmTSettingsFilterTest.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/src/SmartTest-Tests.package/SmTSettingsFilterTest.class/class/isAbstract.st b/src/SmartTest-Tests.package/SmTSettingsFilterTest.class/class/isAbstract.st new file mode 100644 index 0000000..38cd750 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSettingsFilterTest.class/class/isAbstract.st @@ -0,0 +1,3 @@ +testing +isAbstract + ^ self = SmTSettingsFilterTest \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsFilterTest.class/instance/filterStrategy.st b/src/SmartTest-Tests.package/SmTSettingsFilterTest.class/instance/filterStrategy.st new file mode 100644 index 0000000..0e4dd42 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSettingsFilterTest.class/instance/filterStrategy.st @@ -0,0 +1,3 @@ +running +filterStrategy + self subclassResponsibility \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsFilterTest.class/instance/testChangeFilterStrategy.st b/src/SmartTest-Tests.package/SmTSettingsFilterTest.class/instance/testChangeFilterStrategy.st new file mode 100644 index 0000000..3798777 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSettingsFilterTest.class/instance/testChangeFilterStrategy.st @@ -0,0 +1,7 @@ +tests +testChangeFilterStrategy + "Test changement of the runner in the setting (throught SmTRules methods)" + + SmTRules filter: self filterStrategy. + self assert: (SmTRules testFinder filter isKindOf: self filterStrategy). + self assert: (SmTRules testFinder smtFinder filter isKindOf: self filterStrategy) \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsFilterTest.class/properties.json b/src/SmartTest-Tests.package/SmTSettingsFilterTest.class/properties.json new file mode 100644 index 0000000..9317b69 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSettingsFilterTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTSettingsTest", + "category" : "SmartTest-Tests-Settings", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTSettingsFilterTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsFinderReflectivityTest.class/README.md b/src/SmartTest-Tests.package/SmTSettingsFinderReflectivityTest.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/src/SmartTest-Tests.package/SmTSettingsFinderReflectivityTest.class/instance/finderStrategy.st b/src/SmartTest-Tests.package/SmTSettingsFinderReflectivityTest.class/instance/finderStrategy.st new file mode 100644 index 0000000..b2a46ab --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSettingsFinderReflectivityTest.class/instance/finderStrategy.st @@ -0,0 +1,3 @@ +running +finderStrategy + ^ SmTReflectivityTestFinderStrategy \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsFinderReflectivityTest.class/properties.json b/src/SmartTest-Tests.package/SmTSettingsFinderReflectivityTest.class/properties.json new file mode 100644 index 0000000..d337601 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSettingsFinderReflectivityTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTSettingsFinderTest", + "category" : "SmartTest-Tests-Settings", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTSettingsFinderReflectivityTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsFinderSenderTestTest.class/README.md b/src/SmartTest-Tests.package/SmTSettingsFinderSenderTestTest.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/src/SmartTest-Tests.package/SmTSettingsFinderSenderTestTest.class/instance/finderStrategy.st b/src/SmartTest-Tests.package/SmTSettingsFinderSenderTestTest.class/instance/finderStrategy.st new file mode 100644 index 0000000..9343188 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSettingsFinderSenderTestTest.class/instance/finderStrategy.st @@ -0,0 +1,3 @@ +running +finderStrategy + ^ SmTSenderTestFinderStrategy \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsFinderSenderTestTest.class/properties.json b/src/SmartTest-Tests.package/SmTSettingsFinderSenderTestTest.class/properties.json new file mode 100644 index 0000000..52d93c0 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSettingsFinderSenderTestTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTSettingsFinderTest", + "category" : "SmartTest-Tests-Settings", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTSettingsFinderSenderTestTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsFinderTest.class/README.md b/src/SmartTest-Tests.package/SmTSettingsFinderTest.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/src/SmartTest-Tests.package/SmTSettingsFinderTest.class/class/isAbstract.st b/src/SmartTest-Tests.package/SmTSettingsFinderTest.class/class/isAbstract.st new file mode 100644 index 0000000..27238b9 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSettingsFinderTest.class/class/isAbstract.st @@ -0,0 +1,3 @@ +testing +isAbstract + ^ self = SmTSettingsFinderTest \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsFinderTest.class/instance/finderStrategy.st b/src/SmartTest-Tests.package/SmTSettingsFinderTest.class/instance/finderStrategy.st new file mode 100644 index 0000000..fea0ff8 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSettingsFinderTest.class/instance/finderStrategy.st @@ -0,0 +1,3 @@ +running +finderStrategy + self subclassResponsibility \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsFinderTest.class/instance/testChangeFinderStrategy.st b/src/SmartTest-Tests.package/SmTSettingsFinderTest.class/instance/testChangeFinderStrategy.st new file mode 100644 index 0000000..9a069df --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSettingsFinderTest.class/instance/testChangeFinderStrategy.st @@ -0,0 +1,9 @@ +tests +testChangeFinderStrategy + "Test changement of the runner in the setting (throught SmTRules methods)" + + SmTRules finder: self finderStrategy. + self assert: (SmTRules testFinder smtFinder isKindOf: self finderStrategy). + self assert: (SmTRules testFinder smtFinder filter isKindOf: SmTRules filter). + self assert: (SmTRules testFinder smtFinder cache isKindOf: SmTRules cacheStrategy). + self assert: (SmTRules testFinder smtFinder filter isKindOf: SmTRules filter) \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsFinderTest.class/properties.json b/src/SmartTest-Tests.package/SmTSettingsFinderTest.class/properties.json new file mode 100644 index 0000000..0bbc317 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSettingsFinderTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTSettingsTest", + "category" : "SmartTest-Tests-Settings", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTSettingsFinderTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsFinderTestCoverageTest.class/README.md b/src/SmartTest-Tests.package/SmTSettingsFinderTestCoverageTest.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/src/SmartTest-Tests.package/SmTSettingsFinderTestCoverageTest.class/instance/finderStrategy.st b/src/SmartTest-Tests.package/SmTSettingsFinderTestCoverageTest.class/instance/finderStrategy.st new file mode 100644 index 0000000..7dd53de --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSettingsFinderTestCoverageTest.class/instance/finderStrategy.st @@ -0,0 +1,3 @@ +running +finderStrategy + ^ SmTTestCoverageTestFinderStrategy \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsFinderTestCoverageTest.class/properties.json b/src/SmartTest-Tests.package/SmTSettingsFinderTestCoverageTest.class/properties.json new file mode 100644 index 0000000..cd1ed10 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSettingsFinderTestCoverageTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTSettingsFinderTest", + "category" : "SmartTest-Tests-Settings", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTSettingsFinderTestCoverageTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsNoCacheTest.class/README.md b/src/SmartTest-Tests.package/SmTSettingsNoCacheTest.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/src/SmartTest-Tests.package/SmTSettingsNoCacheTest.class/instance/cacheStrategy.st b/src/SmartTest-Tests.package/SmTSettingsNoCacheTest.class/instance/cacheStrategy.st new file mode 100644 index 0000000..9d8fd7b --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSettingsNoCacheTest.class/instance/cacheStrategy.st @@ -0,0 +1,3 @@ +settings +cacheStrategy + ^ SmTNoCacheStrategy \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsNoCacheTest.class/properties.json b/src/SmartTest-Tests.package/SmTSettingsNoCacheTest.class/properties.json new file mode 100644 index 0000000..9e57baf --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSettingsNoCacheTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTSettingsCacheTest", + "category" : "SmartTest-Tests-Settings", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTSettingsNoCacheTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/README.md b/src/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/README.md new file mode 100644 index 0000000..dbb2ac4 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/README.md @@ -0,0 +1 @@ +We test if we correctly changed the regex when we changed it (or not) in the settings. \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/class/isAbstract.st b/src/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/class/isAbstract.st new file mode 100644 index 0000000..d9df9bb --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/class/isAbstract.st @@ -0,0 +1,3 @@ +testing +isAbstract + ^ false \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/instance/dataForTestRegex.st b/src/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/instance/dataForTestRegex.st new file mode 100644 index 0000000..f9324cf --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/instance/dataForTestRegex.st @@ -0,0 +1,3 @@ +running +dataForTestRegex + ^ 'SmartTes*|StarWars' \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/instance/setUp.st b/src/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/instance/setUp.st new file mode 100644 index 0000000..2ae7e33 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/instance/setUp.st @@ -0,0 +1,6 @@ +running +setUp + super setUp. + + oldRegex := SmTRules packagesRegex. + oldFilter := SmTRules filter. \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/instance/tearDown.st b/src/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/instance/tearDown.st new file mode 100644 index 0000000..b596626 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/instance/tearDown.st @@ -0,0 +1,5 @@ +running +tearDown + SmTRules packagesRegex: oldRegex. + SmTRules filter: oldFilter. + super tearDown \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/instance/testChangeRegexSmTSpecifyPackagesNameFilter.st b/src/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/instance/testChangeRegexSmTSpecifyPackagesNameFilter.st new file mode 100644 index 0000000..8232d38 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/instance/testChangeRegexSmTSpecifyPackagesNameFilter.st @@ -0,0 +1,5 @@ +tests +testChangeRegexSmTSpecifyPackagesNameFilter + SmTRules filter: SmTSpecifyPackagesNameFilter. + SmTRules packagesRegex: self dataForTestRegex. + self assert: SmTRules testFinder filter packagesRegex equals: self dataForTestRegex \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/properties.json b/src/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/properties.json new file mode 100644 index 0000000..37cee46 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/properties.json @@ -0,0 +1,14 @@ +{ + "commentStamp" : "eleonoreW 6/29/2018 13:24", + "super" : "SmTSettingsTest", + "category" : "SmartTest-Tests-Settings", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ + "oldRegex", + "oldFilter" + ], + "name" : "SmTSettingsPackagesRegexTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsRunnerDebugTest.class/README.md b/src/SmartTest-Tests.package/SmTSettingsRunnerDebugTest.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/src/SmartTest-Tests.package/SmTSettingsRunnerDebugTest.class/instance/runnerStrategy.st b/src/SmartTest-Tests.package/SmTSettingsRunnerDebugTest.class/instance/runnerStrategy.st new file mode 100644 index 0000000..cd30455 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSettingsRunnerDebugTest.class/instance/runnerStrategy.st @@ -0,0 +1,3 @@ +running +runnerStrategy + ^ SmTRunnerStrategyDebug \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsRunnerDebugTest.class/properties.json b/src/SmartTest-Tests.package/SmTSettingsRunnerDebugTest.class/properties.json new file mode 100644 index 0000000..9ff2a92 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSettingsRunnerDebugTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTSettingsRunnerTest", + "category" : "SmartTest-Tests-Settings", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTSettingsRunnerDebugTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsRunnerNoticeTest.class/README.md b/src/SmartTest-Tests.package/SmTSettingsRunnerNoticeTest.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/src/SmartTest-Tests.package/SmTSettingsRunnerNoticeTest.class/instance/runnerStrategy.st b/src/SmartTest-Tests.package/SmTSettingsRunnerNoticeTest.class/instance/runnerStrategy.st new file mode 100644 index 0000000..56dcb02 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSettingsRunnerNoticeTest.class/instance/runnerStrategy.st @@ -0,0 +1,3 @@ +running +runnerStrategy + ^ SmTRunnerStrategyNotice \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsRunnerNoticeTest.class/properties.json b/src/SmartTest-Tests.package/SmTSettingsRunnerNoticeTest.class/properties.json new file mode 100644 index 0000000..a583b96 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSettingsRunnerNoticeTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTSettingsRunnerTest", + "category" : "SmartTest-Tests-Settings", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTSettingsRunnerNoticeTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsRunnerSmartTest.class/README.md b/src/SmartTest-Tests.package/SmTSettingsRunnerSmartTest.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/src/SmartTest-Tests.package/SmTSettingsRunnerSmartTest.class/instance/runnerStrategy.st b/src/SmartTest-Tests.package/SmTSettingsRunnerSmartTest.class/instance/runnerStrategy.st new file mode 100644 index 0000000..43c285d --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSettingsRunnerSmartTest.class/instance/runnerStrategy.st @@ -0,0 +1,3 @@ +running +runnerStrategy + ^ SmTRunnerStrategySmart \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsRunnerSmartTest.class/properties.json b/src/SmartTest-Tests.package/SmTSettingsRunnerSmartTest.class/properties.json new file mode 100644 index 0000000..cb02290 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSettingsRunnerSmartTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTSettingsRunnerTest", + "category" : "SmartTest-Tests-Settings", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTSettingsRunnerSmartTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsRunnerTest.class/README.md b/src/SmartTest-Tests.package/SmTSettingsRunnerTest.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/src/SmartTest-Tests.package/SmTSettingsRunnerTest.class/class/isAbstract.st b/src/SmartTest-Tests.package/SmTSettingsRunnerTest.class/class/isAbstract.st new file mode 100644 index 0000000..aa5ac68 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSettingsRunnerTest.class/class/isAbstract.st @@ -0,0 +1,3 @@ +testing +isAbstract + ^ self = SmTSettingsRunnerTest \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsRunnerTest.class/instance/runnerStrategy.st b/src/SmartTest-Tests.package/SmTSettingsRunnerTest.class/instance/runnerStrategy.st new file mode 100644 index 0000000..122fd7f --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSettingsRunnerTest.class/instance/runnerStrategy.st @@ -0,0 +1,3 @@ +running +runnerStrategy + self subclassResponsibility \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsRunnerTest.class/instance/testChangeRunnerStrategy.st b/src/SmartTest-Tests.package/SmTSettingsRunnerTest.class/instance/testChangeRunnerStrategy.st new file mode 100644 index 0000000..56d97bd --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSettingsRunnerTest.class/instance/testChangeRunnerStrategy.st @@ -0,0 +1,7 @@ +tests +testChangeRunnerStrategy + "Test changement of the runner in the setting (throught SmTRules methods)" + + SmTRules runner: self runnerStrategy. + self assert: SmTRules testFinder testRunner equals: self runnerStrategy. + self assert: SmTRules testFinder testingStrategy runner equals: self runnerStrategy. \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsRunnerTest.class/properties.json b/src/SmartTest-Tests.package/SmTSettingsRunnerTest.class/properties.json new file mode 100644 index 0000000..d02140e --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSettingsRunnerTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTSettingsTest", + "category" : "SmartTest-Tests-Settings", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTSettingsRunnerTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsTest.class/README.md b/src/SmartTest-Tests.package/SmTSettingsTest.class/README.md new file mode 100644 index 0000000..380795d --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSettingsTest.class/README.md @@ -0,0 +1 @@ +These tests are here to assert that when we change the settings of SmartTest in the environnement, they are indeed changed. \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsTest.class/class/isAbstract.st b/src/SmartTest-Tests.package/SmTSettingsTest.class/class/isAbstract.st new file mode 100644 index 0000000..44b4751 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSettingsTest.class/class/isAbstract.st @@ -0,0 +1,3 @@ +testing +isAbstract + ^ true \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsTest.class/instance/setUp.st b/src/SmartTest-Tests.package/SmTSettingsTest.class/instance/setUp.st new file mode 100644 index 0000000..2da55ab --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSettingsTest.class/instance/setUp.st @@ -0,0 +1,4 @@ +running +setUp + super setUp. + oldSettings := SmTRules testFinder \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsTest.class/instance/tearDown.st b/src/SmartTest-Tests.package/SmTSettingsTest.class/instance/tearDown.st new file mode 100644 index 0000000..45635eb --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSettingsTest.class/instance/tearDown.st @@ -0,0 +1,4 @@ +running +tearDown + SmTRules testFinder: oldSettings. + super tearDown \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsTest.class/properties.json b/src/SmartTest-Tests.package/SmTSettingsTest.class/properties.json new file mode 100644 index 0000000..4ea77cd --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSettingsTest.class/properties.json @@ -0,0 +1,13 @@ +{ + "commentStamp" : "eleonoreW 7/18/2018 10:15", + "super" : "TestCase", + "category" : "SmartTest-Tests-Settings", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ + "oldSettings" + ], + "name" : "SmTSettingsTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsTestingStrategyAlwaysTest.class/README.md b/src/SmartTest-Tests.package/SmTSettingsTestingStrategyAlwaysTest.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/src/SmartTest-Tests.package/SmTSettingsTestingStrategyAlwaysTest.class/instance/getTestingStrategy.st b/src/SmartTest-Tests.package/SmTSettingsTestingStrategyAlwaysTest.class/instance/getTestingStrategy.st new file mode 100644 index 0000000..81062d3 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSettingsTestingStrategyAlwaysTest.class/instance/getTestingStrategy.st @@ -0,0 +1,3 @@ +running +getTestingStrategy + ^ SmTTestingStrategyAlways \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsTestingStrategyAlwaysTest.class/properties.json b/src/SmartTest-Tests.package/SmTSettingsTestingStrategyAlwaysTest.class/properties.json new file mode 100644 index 0000000..db21bc6 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSettingsTestingStrategyAlwaysTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTSettingsTestingStrategyTest", + "category" : "SmartTest-Tests-Settings", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTSettingsTestingStrategyAlwaysTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsTestingStrategyEachModificationTest.class/README.md b/src/SmartTest-Tests.package/SmTSettingsTestingStrategyEachModificationTest.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/src/SmartTest-Tests.package/SmTSettingsTestingStrategyEachModificationTest.class/instance/getTestingStrategy.st b/src/SmartTest-Tests.package/SmTSettingsTestingStrategyEachModificationTest.class/instance/getTestingStrategy.st new file mode 100644 index 0000000..68208a8 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSettingsTestingStrategyEachModificationTest.class/instance/getTestingStrategy.st @@ -0,0 +1,3 @@ +running +getTestingStrategy + ^ SmTTestingStrategyEachModification \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsTestingStrategyEachModificationTest.class/properties.json b/src/SmartTest-Tests.package/SmTSettingsTestingStrategyEachModificationTest.class/properties.json new file mode 100644 index 0000000..6c645de --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSettingsTestingStrategyEachModificationTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTSettingsTestingStrategyTest", + "category" : "SmartTest-Tests-Settings", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTSettingsTestingStrategyEachModificationTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsTestingStrategyFiveMinutesTest.class/README.md b/src/SmartTest-Tests.package/SmTSettingsTestingStrategyFiveMinutesTest.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/src/SmartTest-Tests.package/SmTSettingsTestingStrategyFiveMinutesTest.class/instance/getTestingStrategy.st b/src/SmartTest-Tests.package/SmTSettingsTestingStrategyFiveMinutesTest.class/instance/getTestingStrategy.st new file mode 100644 index 0000000..dc89876 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSettingsTestingStrategyFiveMinutesTest.class/instance/getTestingStrategy.st @@ -0,0 +1,3 @@ +running +getTestingStrategy + ^ SmTTestingStrategyFiveMinutes \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsTestingStrategyFiveMinutesTest.class/properties.json b/src/SmartTest-Tests.package/SmTSettingsTestingStrategyFiveMinutesTest.class/properties.json new file mode 100644 index 0000000..cc0af9b --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSettingsTestingStrategyFiveMinutesTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTSettingsTestingStrategyTest", + "category" : "SmartTest-Tests-Settings", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTSettingsTestingStrategyFiveMinutesTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsTestingStrategyNeverTest.class/README.md b/src/SmartTest-Tests.package/SmTSettingsTestingStrategyNeverTest.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/src/SmartTest-Tests.package/SmTSettingsTestingStrategyNeverTest.class/instance/getTestingStrategy.st b/src/SmartTest-Tests.package/SmTSettingsTestingStrategyNeverTest.class/instance/getTestingStrategy.st new file mode 100644 index 0000000..28f7c5c --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSettingsTestingStrategyNeverTest.class/instance/getTestingStrategy.st @@ -0,0 +1,3 @@ +running +getTestingStrategy + ^ SmTTestingStrategyNever \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsTestingStrategyNeverTest.class/properties.json b/src/SmartTest-Tests.package/SmTSettingsTestingStrategyNeverTest.class/properties.json new file mode 100644 index 0000000..a830630 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSettingsTestingStrategyNeverTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTSettingsTestingStrategyTest", + "category" : "SmartTest-Tests-Settings", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTSettingsTestingStrategyNeverTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsTestingStrategyTest.class/README.md b/src/SmartTest-Tests.package/SmTSettingsTestingStrategyTest.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/src/SmartTest-Tests.package/SmTSettingsTestingStrategyTest.class/class/isAbstract.st b/src/SmartTest-Tests.package/SmTSettingsTestingStrategyTest.class/class/isAbstract.st new file mode 100644 index 0000000..e2c3b4d --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSettingsTestingStrategyTest.class/class/isAbstract.st @@ -0,0 +1,3 @@ +testing +isAbstract + ^ self = SmTSettingsTestingStrategyTest \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsTestingStrategyTest.class/instance/getTestingStrategy.st b/src/SmartTest-Tests.package/SmTSettingsTestingStrategyTest.class/instance/getTestingStrategy.st new file mode 100644 index 0000000..baa4567 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSettingsTestingStrategyTest.class/instance/getTestingStrategy.st @@ -0,0 +1,3 @@ +running +getTestingStrategy + self subclassResponsibility \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsTestingStrategyTest.class/instance/testChangeTestingStrategyStrategy.st b/src/SmartTest-Tests.package/SmTSettingsTestingStrategyTest.class/instance/testChangeTestingStrategyStrategy.st new file mode 100644 index 0000000..681e96d --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSettingsTestingStrategyTest.class/instance/testChangeTestingStrategyStrategy.st @@ -0,0 +1,8 @@ +tests +testChangeTestingStrategyStrategy + "Test changement of the runner in the setting (throught SmTRules methods)" + + SmTRules strategy: self getTestingStrategy . + self assert: (SmTRules testFinder testingStrategy isKindOf: self getTestingStrategy ). + self assert: SmTRules testFinder testingStrategy runner equals: SmTRules runner. + self assert: SmTRules testFinder testingStrategy finder equals: SmTRules testFinder smtFinder \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsTestingStrategyTest.class/properties.json b/src/SmartTest-Tests.package/SmTSettingsTestingStrategyTest.class/properties.json new file mode 100644 index 0000000..d5435e1 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTSettingsTestingStrategyTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "SmTSettingsTest", + "category" : "SmartTest-Tests-Settings", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTSettingsTestingStrategyTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTStaticDefaultClassPackageBasicCacheTest.class/README.md b/src/SmartTest-Tests.package/SmTStaticDefaultClassPackageBasicCacheTest.class/README.md new file mode 100644 index 0000000..0038960 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTStaticDefaultClassPackageBasicCacheTest.class/README.md @@ -0,0 +1 @@ +I test the static finder with DefaultClassPackageFilter and BasicCache \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTStaticDefaultClassPackageBasicCacheTest.class/instance/setUp.st b/src/SmartTest-Tests.package/SmTStaticDefaultClassPackageBasicCacheTest.class/instance/setUp.st new file mode 100644 index 0000000..4dee1d0 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTStaticDefaultClassPackageBasicCacheTest.class/instance/setUp.st @@ -0,0 +1,4 @@ +running +setUp + super setUp. + smartFinder resetCache \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTStaticDefaultClassPackageBasicCacheTest.class/instance/testStandardMethodSecondLevelSenders.st b/src/SmartTest-Tests.package/SmTStaticDefaultClassPackageBasicCacheTest.class/instance/testStandardMethodSecondLevelSenders.st new file mode 100644 index 0000000..61f9cfb --- /dev/null +++ b/src/SmartTest-Tests.package/SmTStaticDefaultClassPackageBasicCacheTest.class/instance/testStandardMethodSecondLevelSenders.st @@ -0,0 +1,10 @@ +tests +testStandardMethodSecondLevelSenders + + | testsFound | + testsFound := self searchTestMethodsFor: SmTClass >> #method1. + + self assert: (testsFound includes: testMethod1). + self assert: (testsFound includes: testMethod2). + self deny: (testsFound includes: testMethod3). + self deny: (testsFound includes: testMethod4). \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTStaticDefaultClassPackageBasicCacheTest.class/properties.json b/src/SmartTest-Tests.package/SmTStaticDefaultClassPackageBasicCacheTest.class/properties.json new file mode 100644 index 0000000..fe2f37e --- /dev/null +++ b/src/SmartTest-Tests.package/SmTStaticDefaultClassPackageBasicCacheTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "eleonoreW 6/29/2018 16:19", + "super" : "SmTFinderAbstractTest", + "category" : "SmartTest-Tests-Finder", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTStaticDefaultClassPackageBasicCacheTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTStaticDefaultClassPackageWithoutCacheTest.class/README.md b/src/SmartTest-Tests.package/SmTStaticDefaultClassPackageWithoutCacheTest.class/README.md new file mode 100644 index 0000000..a12902a --- /dev/null +++ b/src/SmartTest-Tests.package/SmTStaticDefaultClassPackageWithoutCacheTest.class/README.md @@ -0,0 +1,3 @@ +In this class, the research is limited to the SmartTest-Tests-Data package, the research is static (it is using the SenderStrategy finder) and no cache is used. + +This comment is false, the research is not limited to SmartTest-Tests-Data package ! Should we change the comment or the tests ?? \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTStaticDefaultClassPackageWithoutCacheTest.class/instance/setUp.st b/src/SmartTest-Tests.package/SmTStaticDefaultClassPackageWithoutCacheTest.class/instance/setUp.st new file mode 100644 index 0000000..5ea2564 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTStaticDefaultClassPackageWithoutCacheTest.class/instance/setUp.st @@ -0,0 +1,5 @@ +running +setUp + super setUp. + smartFinder cacheStrategy: SmTNoCacheStrategy new. + cache := SmTNoCacheStrategy new \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTStaticDefaultClassPackageWithoutCacheTest.class/instance/tearDown.st b/src/SmartTest-Tests.package/SmTStaticDefaultClassPackageWithoutCacheTest.class/instance/tearDown.st new file mode 100644 index 0000000..9d91f52 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTStaticDefaultClassPackageWithoutCacheTest.class/instance/tearDown.st @@ -0,0 +1,4 @@ +initialization +tearDown + super tearDown. + smartFinder resetCache \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTStaticDefaultClassPackageWithoutCacheTest.class/properties.json b/src/SmartTest-Tests.package/SmTStaticDefaultClassPackageWithoutCacheTest.class/properties.json new file mode 100644 index 0000000..b06a222 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTStaticDefaultClassPackageWithoutCacheTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "EleonoreWALD 5/7/2018 11:25", + "super" : "SmTFinderAbstractTest", + "category" : "SmartTest-Tests-Finder", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTStaticDefaultClassPackageWithoutCacheTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/README.md b/src/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/README.md new file mode 100644 index 0000000..71116be --- /dev/null +++ b/src/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/README.md @@ -0,0 +1 @@ +In this class, the research is limited to the SmartTest-Tests-Data package and the research is static (it is using the SenderStrategy finder). \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/instance/setUp.st b/src/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/instance/setUp.st new file mode 100644 index 0000000..02118d0 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/instance/setUp.st @@ -0,0 +1,5 @@ +running +setUp + super setUp. + smartFinder filter: (SmTSpecifyPackagesNameFilter packagesRegex: 'SmartTest-Tests-Data'). + smartFinder resetCache \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/instance/testInheritance.st b/src/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/instance/testInheritance.st new file mode 100644 index 0000000..de200be --- /dev/null +++ b/src/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/instance/testInheritance.st @@ -0,0 +1,10 @@ +tests +testInheritance + + "The test is outside of the scope of the test" + | testsFound | + testsFound := self searchTestMethodsFor: ('SmTP1' , 'Inheritance') asClass >> #method1Inheritance. + + self assert: testsFound isEmpty. + self deny: (testsFound includes: ((('SmTP1InheritanceSubClass1','Test')asClass >> ('testMethod1','Inheritance')asSymbol) asRingDefinition )). + self deny: (testsFound includes: ( (RGMethodDefinition className: ('SmTP1InheritanceSubClass2','Test') selector: ('testMethod1','Inheritance') asSymbol isMetaSide: false) asRingDefinition )). \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/instance/testStandardMethodFirstLevelSenders.st b/src/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/instance/testStandardMethodFirstLevelSenders.st new file mode 100644 index 0000000..669189f --- /dev/null +++ b/src/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/instance/testStandardMethodFirstLevelSenders.st @@ -0,0 +1,12 @@ +tests +testStandardMethodFirstLevelSenders + "Same test as in the superclass, but here there should be only one test found (there are many in the superclass)" + + + | testsFound | + testsFound := self searchTestMethodsFor: SmTClass >> #method2. + self assert: testsFound size equals: 1. + self assert: (testsFound includes: testMethod2). + self deny: (testsFound includes: testMethod1). + self deny: (testsFound includes: testMethod3). + self deny: (testsFound includes: testMethod4) \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/instance/testStandardMethodSecondLevelSenders.st b/src/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/instance/testStandardMethodSecondLevelSenders.st new file mode 100644 index 0000000..068b5b5 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/instance/testStandardMethodSecondLevelSenders.st @@ -0,0 +1,16 @@ +tests +testStandardMethodSecondLevelSenders + "In class, the research is limited to the SmartTest-Tests-Data package and is static. So the assertions are different. There should be only one test found that call the method2 message" + "Here the test founds should not include the test 'testInheritedMethod1' because + - it is not in the package SmartTest-Tests-Data + - it makes a reference to SmTClassOutSide new method2 and NOT SmTClass >> method2" + + + | testsFound | + testsFound := self searchTestMethodsFor: SmTClass >> #method1. + self assert: testsFound size equals: 3. + self assert: (testsFound includes: testMethod1). + self assert: (testsFound includes: testMethod2). + self assert: (testsFound includes: testInheritedMethod1). + self deny: (testsFound includes: testMethod3). + self deny: (testsFound includes: testMethod4) \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/instance/testStandardMethodThirdLevelSenders.st b/src/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/instance/testStandardMethodThirdLevelSenders.st new file mode 100644 index 0000000..c941ec5 --- /dev/null +++ b/src/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/instance/testStandardMethodThirdLevelSenders.st @@ -0,0 +1,10 @@ +tests +testStandardMethodThirdLevelSenders + + | testsFound | + testsFound := self searchTestMethodsFor: SmTClass >> #method4. + self assert: testsFound size equals: 3. + self deny: (testsFound includes: (SmTClassTest >> #testMethod1 )asRingDefinition). + self assert: (testsFound includes: (SmTClassTest >> #testMethod2 )asRingDefinition). + self assert: (testsFound includes: (SmTClassTest >> #testMethod3 )asRingDefinition). + self assert: (testsFound includes: (SmTClassTest >> #testMethod4 )asRingDefinition). \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/properties.json b/src/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/properties.json new file mode 100644 index 0000000..cafdede --- /dev/null +++ b/src/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "EleonoreWALD 5/3/2018 16:17", + "super" : "SmTFinderAbstractTest", + "category" : "SmartTest-Tests-Finder", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTStaticSpecifyPackageNameBasicCacheTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmartFinderTest.class/README.md b/src/SmartTest-Tests.package/SmartFinderTest.class/README.md new file mode 100644 index 0000000..9351dc1 --- /dev/null +++ b/src/SmartTest-Tests.package/SmartFinderTest.class/README.md @@ -0,0 +1 @@ +A SmartFinderTest is a test class for testing the behavior of SmartFinder \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmartFinderTest.class/instance/initCache.st b/src/SmartTest-Tests.package/SmartFinderTest.class/instance/initCache.st new file mode 100644 index 0000000..01f8719 --- /dev/null +++ b/src/SmartTest-Tests.package/SmartFinderTest.class/instance/initCache.st @@ -0,0 +1,31 @@ +initialization +initCache + ^ {((SmTClass >> #method1 )asRingDefinition + -> + {(SmTClassTest >> #testMethod1 )asRingDefinition. + (SmTClassTest >> #testMethod2 )asRingDefinition. + (RGMethodDefinition className: 'SmTInheritClassTest' selector: #testMethod1 isMetaSide: false)} asSet). + ((SmTClass >> #method2 )asRingDefinition + -> + {(SmTClassTest >> #testMethod2 )asRingDefinition} + asSet). + ((SmTClass >> #method3: )asRingDefinition + -> + {(SmTClassTest >> #testMethod1 )asRingDefinition. + (SmTClassTest >> #testMethod2 )asRingDefinition. + (SmTClassTest >> #testMethod3 )asRingDefinition} + asSet). + ((SmTClass >> #method4 )asRingDefinition + -> + {(SmTClassTest >> #testMethod2 )asRingDefinition. + (SmTClassTest >> #testMethod3 )asRingDefinition. + (SmTClassTest >> #testMethod4 )asRingDefinition} + asSet). + ((SmTClass2 >> #initialize )asRingDefinition + -> + {(SmTClassTest >> #testMethod5 )asRingDefinition} + asSet). + ((SmTClassTest >> #testMethod4 )asRingDefinition + -> + {(SmTClassTest >> #testMethod4 )asRingDefinition} + asSet)} asDictionary \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmartFinderTest.class/instance/setUp.st b/src/SmartTest-Tests.package/SmartFinderTest.class/instance/setUp.st new file mode 100644 index 0000000..f9154c6 --- /dev/null +++ b/src/SmartTest-Tests.package/SmartFinderTest.class/instance/setUp.st @@ -0,0 +1,9 @@ +initialization +setUp + smartFinder := SmartFinder new + cacheStrategy: SmTBasicCacheStrategy new; + filter: SmTNoFilter new; + testRunner: SmTRunnerStrategyDebug; + smtFinder: SmTSenderTestFinderStrategy new; + testingStrategy: SmTTestingStrategyEachModification new; + shouldTryToFindTestForDynamic: false \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmartFinderTest.class/instance/tearDown.st b/src/SmartTest-Tests.package/SmartFinderTest.class/instance/tearDown.st new file mode 100644 index 0000000..4d3b1ab --- /dev/null +++ b/src/SmartTest-Tests.package/SmartFinderTest.class/instance/tearDown.st @@ -0,0 +1,3 @@ +initialization +tearDown + smartFinder clean \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmartFinderTest.class/instance/testChangeCacheClassFinder.st b/src/SmartTest-Tests.package/SmartFinderTest.class/instance/testChangeCacheClassFinder.st new file mode 100644 index 0000000..3094e7e --- /dev/null +++ b/src/SmartTest-Tests.package/SmartFinderTest.class/instance/testChangeCacheClassFinder.st @@ -0,0 +1,7 @@ +initialization +testChangeCacheClassFinder + | cacheTmp | + smartFinder smtFinder. + cacheTmp := SmTBasicCacheStrategy new. + smartFinder cacheStrategy: cacheTmp. + self assert: smartFinder smtFinder cache equals: cacheTmp \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmartFinderTest.class/instance/testChangeFilterFinder.st b/src/SmartTest-Tests.package/SmartFinderTest.class/instance/testChangeFilterFinder.st new file mode 100644 index 0000000..633c1b0 --- /dev/null +++ b/src/SmartTest-Tests.package/SmartFinderTest.class/instance/testChangeFilterFinder.st @@ -0,0 +1,7 @@ +initialization +testChangeFilterFinder + | filterTmp | + smartFinder smtFinder. + filterTmp := SmTDefaultPackagesFilter new. + smartFinder filter: filterTmp. + self assert: smartFinder smtFinder filter equals: filterTmp \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmartFinderTest.class/instance/testChangeFilterTryFindTestFinder.st b/src/SmartTest-Tests.package/SmartFinderTest.class/instance/testChangeFilterTryFindTestFinder.st new file mode 100644 index 0000000..9ac4a08 --- /dev/null +++ b/src/SmartTest-Tests.package/SmartFinderTest.class/instance/testChangeFilterTryFindTestFinder.st @@ -0,0 +1,7 @@ +initialization +testChangeFilterTryFindTestFinder + smartFinder smtFinder. + smartFinder shouldTryToFindTestForDynamic: true. + self assert: smartFinder smtFinder shouldTryToFindTestForDynamic. + smartFinder shouldTryToFindTestForDynamic: false. + self deny: smartFinder smtFinder shouldTryToFindTestForDynamic \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmartFinderTest.class/instance/testChangeFinderTestingStrategy.st b/src/SmartTest-Tests.package/SmartFinderTest.class/instance/testChangeFinderTestingStrategy.st new file mode 100644 index 0000000..c6d0063 --- /dev/null +++ b/src/SmartTest-Tests.package/SmartFinderTest.class/instance/testChangeFinderTestingStrategy.st @@ -0,0 +1,7 @@ +initialization +testChangeFinderTestingStrategy + | finderTmp | + smartFinder testingStrategy. + finderTmp := SmTSenderTestFinderStrategy new. + smartFinder smtFinder: finderTmp. + self assert: smartFinder testingStrategy finder equals: finderTmp \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmartFinderTest.class/instance/testChangeRunnerTestingStrategy.st b/src/SmartTest-Tests.package/SmartFinderTest.class/instance/testChangeRunnerTestingStrategy.st new file mode 100644 index 0000000..a9aa534 --- /dev/null +++ b/src/SmartTest-Tests.package/SmartFinderTest.class/instance/testChangeRunnerTestingStrategy.st @@ -0,0 +1,7 @@ +initialization +testChangeRunnerTestingStrategy + smartFinder testingStrategy. + smartFinder testRunner: SmTRunnerStrategyDebug. + self assert: smartFinder testingStrategy runner equals: SmTRunnerStrategyDebug. + smartFinder testRunner: SmTRunnerStrategyNotice. + self assert: smartFinder testingStrategy runner equals: SmTRunnerStrategyNotice \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmartFinderTest.class/instance/testResetCache.st b/src/SmartTest-Tests.package/SmartFinderTest.class/instance/testResetCache.st new file mode 100644 index 0000000..999d641 --- /dev/null +++ b/src/SmartTest-Tests.package/SmartFinderTest.class/instance/testResetCache.st @@ -0,0 +1,7 @@ +tests-api +testResetCache + self assert: smartFinder currentCache isEmpty . + smartFinder setCacheValues: self initCache. + self assert: smartFinder currentCache isNotEmpty . + smartFinder resetCache. + self assert: smartFinder currentCache isEmpty \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmartFinderTest.class/instance/testTwoSmartFinderhaveTwoDifferentCache.st b/src/SmartTest-Tests.package/SmartFinderTest.class/instance/testTwoSmartFinderhaveTwoDifferentCache.st new file mode 100644 index 0000000..1e36332 --- /dev/null +++ b/src/SmartTest-Tests.package/SmartFinderTest.class/instance/testTwoSmartFinderhaveTwoDifferentCache.st @@ -0,0 +1,5 @@ +initialization +testTwoSmartFinderhaveTwoDifferentCache + | smartFinder2 | + smartFinder2 := SmartFinder new. + self deny: smartFinder currentCache == smartFinder2 currentCache \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmartFinderTest.class/properties.json b/src/SmartTest-Tests.package/SmartFinderTest.class/properties.json new file mode 100644 index 0000000..1d906dd --- /dev/null +++ b/src/SmartTest-Tests.package/SmartFinderTest.class/properties.json @@ -0,0 +1,13 @@ +{ + "commentStamp" : "", + "super" : "TestCase", + "category" : "SmartTest-Tests-Finder", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ + "smartFinder" + ], + "name" : "SmartFinderTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/monticello.meta/categories.st b/src/SmartTest-Tests.package/monticello.meta/categories.st new file mode 100644 index 0000000..ad91c77 --- /dev/null +++ b/src/SmartTest-Tests.package/monticello.meta/categories.st @@ -0,0 +1,8 @@ +SystemOrganization addCategory: #'SmartTest-Tests'! +SystemOrganization addCategory: #'SmartTest-Tests-Cache'! +SystemOrganization addCategory: #'SmartTest-Tests-CacheBuilder'! +SystemOrganization addCategory: #'SmartTest-Tests-Filter'! +SystemOrganization addCategory: #'SmartTest-Tests-Finder'! +SystemOrganization addCategory: #'SmartTest-Tests-OnModification'! +SystemOrganization addCategory: #'SmartTest-Tests-Runner'! +SystemOrganization addCategory: #'SmartTest-Tests-Settings'! diff --git a/src/SmartTest-Tests.package/monticello.meta/initializers.st b/src/SmartTest-Tests.package/monticello.meta/initializers.st new file mode 100644 index 0000000..e69de29 diff --git a/src/SmartTest-Tests.package/monticello.meta/package b/src/SmartTest-Tests.package/monticello.meta/package new file mode 100644 index 0000000..9e2d096 --- /dev/null +++ b/src/SmartTest-Tests.package/monticello.meta/package @@ -0,0 +1 @@ +(name 'SmartTest-Tests') \ No newline at end of file diff --git a/src/SmartTest-Tests.package/properties.json b/src/SmartTest-Tests.package/properties.json new file mode 100644 index 0000000..6f31cf5 --- /dev/null +++ b/src/SmartTest-Tests.package/properties.json @@ -0,0 +1 @@ +{ } \ No newline at end of file diff --git a/src/SmartTest-UI.package/.filetree b/src/SmartTest-UI.package/.filetree new file mode 100644 index 0000000..57a6797 --- /dev/null +++ b/src/SmartTest-UI.package/.filetree @@ -0,0 +1,5 @@ +{ + "separateMethodMetaAndSource" : false, + "noMethodMetaData" : true, + "useCypressPropertiesFile" : true +} \ No newline at end of file diff --git a/src/SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/README.md b/src/SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/README.md new file mode 100644 index 0000000..3e3cd2e --- /dev/null +++ b/src/SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/README.md @@ -0,0 +1 @@ +I represent the button that open details of tests you should run from SmartTest (for a class) \ No newline at end of file diff --git a/src/SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/class/canBeExecutedInContext..st b/src/SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/class/canBeExecutedInContext..st new file mode 100644 index 0000000..e6151ba --- /dev/null +++ b/src/SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/class/canBeExecutedInContext..st @@ -0,0 +1,3 @@ +testing +canBeExecutedInContext: aCriticContext + ^ SmTRelativeTestsCritique subclasses includes: aCriticContext selectedCritique class \ No newline at end of file diff --git a/src/SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/instance/decorateTableCell.using..st b/src/SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/instance/decorateTableCell.using..st new file mode 100644 index 0000000..10463cf --- /dev/null +++ b/src/SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/instance/decorateTableCell.using..st @@ -0,0 +1,10 @@ +execution +decorateTableCell: anItemCellMorph using: aCommandActivator + anItemCellMorph + addExtraTool: + (IconicButton new + labelGraphic: (Smalltalk iconNamed: #smallWindow); + color: Color transparent; + borderColor: Color transparent; + target: self; + actionSelector: #execute) \ No newline at end of file diff --git a/src/SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/instance/description.st b/src/SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/instance/description.st new file mode 100644 index 0000000..d639199 --- /dev/null +++ b/src/SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/instance/description.st @@ -0,0 +1,3 @@ +table decoration +description + ^'Open Tests Selection' \ No newline at end of file diff --git a/src/SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/instance/execute.st b/src/SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/instance/execute.st new file mode 100644 index 0000000..d484d30 --- /dev/null +++ b/src/SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/instance/execute.st @@ -0,0 +1,3 @@ +execution +execute + critique openTestsWindowWith: critique tests \ No newline at end of file diff --git a/src/SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/properties.json b/src/SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/properties.json new file mode 100644 index 0000000..a2f79b3 --- /dev/null +++ b/src/SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "EleonoreWALD 4/26/2018 09:35", + "super" : "ClyCritiqueCommand", + "category" : "SmartTest-UI-CalypsoExtension", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "ClyOpenClassRelatedTestsCommand", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/README.md b/src/SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/README.md new file mode 100644 index 0000000..82da07e --- /dev/null +++ b/src/SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/README.md @@ -0,0 +1 @@ +I represent the button that run the tests that SmartTest's found about a class \ No newline at end of file diff --git a/src/SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/instance/canBeExecutedInContext..st b/src/SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/instance/canBeExecutedInContext..st new file mode 100644 index 0000000..2b0126d --- /dev/null +++ b/src/SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/instance/canBeExecutedInContext..st @@ -0,0 +1,4 @@ +execution +canBeExecutedInContext: aCriticContext + + ^ (self canBeExecutedInDropContext: aCriticContext) and: [ SmTRelativeTestsCritique subclasses includes: aCriticContext class ] \ No newline at end of file diff --git a/src/SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/instance/decorateTableCell.using..st b/src/SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/instance/decorateTableCell.using..st new file mode 100644 index 0000000..ee0bd16 --- /dev/null +++ b/src/SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/instance/decorateTableCell.using..st @@ -0,0 +1,8 @@ +table decoration +decorateTableCell: anItemCellMorph using: aCommandActivator + + | button | + (self canBeExecutedInContext: critique) ifFalse: [ ^ self ]. + button := SmTIconFabric createIconForMethods: critique tests. + + self decorateTableCell: anItemCellMorph with: button \ No newline at end of file diff --git a/src/SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/instance/description.st b/src/SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/instance/description.st new file mode 100644 index 0000000..6eb7a29 --- /dev/null +++ b/src/SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/instance/description.st @@ -0,0 +1,3 @@ +table decoration +description + ^'Run tests' \ No newline at end of file diff --git a/src/SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/instance/execute.st b/src/SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/instance/execute.st new file mode 100644 index 0000000..13f1dfa --- /dev/null +++ b/src/SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/instance/execute.st @@ -0,0 +1,2 @@ +execution +execute \ No newline at end of file diff --git a/src/SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/properties.json b/src/SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/properties.json new file mode 100644 index 0000000..9a2f2ac --- /dev/null +++ b/src/SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "EleonoreWALD 4/26/2018 09:36", + "super" : "ClyCritiqueCommand", + "category" : "SmartTest-UI-CalypsoExtension", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "ClyRunClassRelatedTestsCommand", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTAutoTestsWindows.class/README.md b/src/SmartTest-UI.package/SmTAutoTestsWindows.class/README.md new file mode 100644 index 0000000..ffda2bb --- /dev/null +++ b/src/SmartTest-UI.package/SmTAutoTestsWindows.class/README.md @@ -0,0 +1 @@ +The windows where we can select test \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTAutoTestsWindows.class/class/defaultSpec.st b/src/SmartTest-UI.package/SmTAutoTestsWindows.class/class/defaultSpec.st new file mode 100644 index 0000000..0ab6a3d --- /dev/null +++ b/src/SmartTest-UI.package/SmTAutoTestsWindows.class/class/defaultSpec.st @@ -0,0 +1,6 @@ +specs +defaultSpec + ^ SpecLayout composed + newRow: [ :row | row add: #testList] top: 0 bottom: 0.2 ; + newRow: [ :row | row add: #button] top: 0.8 bottom: 0; + yourself \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/button.st b/src/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/button.st new file mode 100644 index 0000000..cd4a51c --- /dev/null +++ b/src/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/button.st @@ -0,0 +1,4 @@ +accessing +button + ^button + \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/extent.st b/src/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/extent.st new file mode 100644 index 0000000..2c67358 --- /dev/null +++ b/src/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/extent.st @@ -0,0 +1,3 @@ +accessing +extent + ^ 400 @ 200 \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/icons.st b/src/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/icons.st new file mode 100644 index 0000000..1a13cd5 --- /dev/null +++ b/src/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/icons.st @@ -0,0 +1,4 @@ +accessing +icons + ^icons ifNil: [ icons := OrderedCollection new ] + \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/initializePresenter.st b/src/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/initializePresenter.st new file mode 100644 index 0000000..0276c1f --- /dev/null +++ b/src/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/initializePresenter.st @@ -0,0 +1,7 @@ +initialization +initializePresenter + "Currently useless" + + button + action: + [ testList listItems withIndexDo: [ :el :id | (self icons at: id) doButtonAction ] ] \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/initializeWidgets.st b/src/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/initializeWidgets.st new file mode 100644 index 0000000..3ae5210 --- /dev/null +++ b/src/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/initializeWidgets.st @@ -0,0 +1,7 @@ +initialization +initializeWidgets + testList := IconListModel new. + button := self newButton. + button label: 'Run all test'. + self focusOrder add: testList. + diff --git a/src/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/setList..st b/src/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/setList..st new file mode 100644 index 0000000..47c0d44 --- /dev/null +++ b/src/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/setList..st @@ -0,0 +1,8 @@ +accessing +setList: aTestList + ^ testList + items: aTestList; + icons: [ :testMethod | + | ib | + ib := SmTIconFabric createIconForMethod: testMethod. + self icons add: ib ] \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/testList.st b/src/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/testList.st new file mode 100644 index 0000000..d44b749 --- /dev/null +++ b/src/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/testList.st @@ -0,0 +1,4 @@ +accessing +testList + ^testList + \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/title.st b/src/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/title.st new file mode 100644 index 0000000..f7aa3c8 --- /dev/null +++ b/src/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/title.st @@ -0,0 +1,3 @@ +accessing +title + ^ 'AutoTest Selection'. \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTAutoTestsWindows.class/properties.json b/src/SmartTest-UI.package/SmTAutoTestsWindows.class/properties.json new file mode 100644 index 0000000..55798db --- /dev/null +++ b/src/SmartTest-UI.package/SmTAutoTestsWindows.class/properties.json @@ -0,0 +1,15 @@ +{ + "commentStamp" : "BenoitVerhaeghe 6/28/2017 09:32", + "super" : "ComposableModel", + "category" : "SmartTest-UI-Morph", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ + "testList", + "button", + "icons" + ], + "name" : "SmTAutoTestsWindows", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTBigButtonCollector.class/README.md b/src/SmartTest-UI.package/SmTBigButtonCollector.class/README.md new file mode 100644 index 0000000..27e144b --- /dev/null +++ b/src/SmartTest-UI.package/SmTBigButtonCollector.class/README.md @@ -0,0 +1 @@ +The collector used by the Listener to save all the relative test method \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTBigButtonCollector.class/class/activated..st b/src/SmartTest-UI.package/SmTBigButtonCollector.class/class/activated..st new file mode 100644 index 0000000..0a97ea8 --- /dev/null +++ b/src/SmartTest-UI.package/SmTBigButtonCollector.class/class/activated..st @@ -0,0 +1,4 @@ +accessing +activated: aSelector + activated := aSelector. + bigButton activated: aSelector \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTBigButtonCollector.class/class/activated.st b/src/SmartTest-UI.package/SmTBigButtonCollector.class/class/activated.st new file mode 100644 index 0000000..14a1239 --- /dev/null +++ b/src/SmartTest-UI.package/SmTBigButtonCollector.class/class/activated.st @@ -0,0 +1,3 @@ +accessing +activated + ^ activated ifNil: [ activated := false ] \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTBigButtonCollector.class/class/bigButton.st b/src/SmartTest-UI.package/SmTBigButtonCollector.class/class/bigButton.st new file mode 100644 index 0000000..1073d44 --- /dev/null +++ b/src/SmartTest-UI.package/SmTBigButtonCollector.class/class/bigButton.st @@ -0,0 +1,3 @@ +accessing +bigButton + ^ bigButton \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTBigButtonCollector.class/class/initialize.st b/src/SmartTest-UI.package/SmTBigButtonCollector.class/class/initialize.st new file mode 100644 index 0000000..c46aa53 --- /dev/null +++ b/src/SmartTest-UI.package/SmTBigButtonCollector.class/class/initialize.st @@ -0,0 +1,3 @@ +accessing +initialize + bigButton := self new \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTBigButtonCollector.class/class/reset.st b/src/SmartTest-UI.package/SmTBigButtonCollector.class/class/reset.st new file mode 100644 index 0000000..78115e3 --- /dev/null +++ b/src/SmartTest-UI.package/SmTBigButtonCollector.class/class/reset.st @@ -0,0 +1,3 @@ +accessing +reset + self bigButton collector: nil \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTBigButtonCollector.class/class/settingsOn..st b/src/SmartTest-UI.package/SmTBigButtonCollector.class/class/settingsOn..st new file mode 100644 index 0000000..56bcaff --- /dev/null +++ b/src/SmartTest-UI.package/SmTBigButtonCollector.class/class/settingsOn..st @@ -0,0 +1,23 @@ +accessing +settingsOn: aBuilder + + (aBuilder setting: #activated) + parent: 'SmartTest'; + target: self; + order: 0.01; + label: 'SmartTest Collect Button'; + description: 'Toogle to activate/disable the Big Button'. + (aBuilder group: #reset) + label: 'Big Button Reset Cache'; + target: self; + parent: #SmartTest; + order: 8; + dialog: [ SimpleButtonMorph new + target: self; + label: 'Reset Collect Button Cache'; + actionSelector: #reset; + themeChanged; + yourself ]; + description: + 'Reset the cache of SmartTest + SmTTestFinderStrategy methodToTest' \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTBigButtonCollector.class/class/unload.st b/src/SmartTest-UI.package/SmTBigButtonCollector.class/class/unload.st new file mode 100644 index 0000000..01ad23e --- /dev/null +++ b/src/SmartTest-UI.package/SmTBigButtonCollector.class/class/unload.st @@ -0,0 +1,3 @@ +initialize - release +unload + self activated: false \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/activated..st b/src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/activated..st new file mode 100644 index 0000000..9c4a8e3 --- /dev/null +++ b/src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/activated..st @@ -0,0 +1,3 @@ +accessing +activated: aSelector + aSelector ifTrue: [ self enable ] ifFalse: [ self disable ]. \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/changeColorFromTestResult..st b/src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/changeColorFromTestResult..st new file mode 100644 index 0000000..46b47cd --- /dev/null +++ b/src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/changeColorFromTestResult..st @@ -0,0 +1,9 @@ +accessing +changeColorFromTestResult: aTestResult + morph buttonMorph color: Color gray. + aTestResult passedCount > 0 + ifTrue: [ morph buttonMorph color: Color green ]. + aTestResult hasFailures + ifTrue: [ morph buttonMorph color: Color yellow ]. + aTestResult hasErrors + ifTrue: [ morph buttonMorph color: Color red ]. \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/collector..st b/src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/collector..st new file mode 100644 index 0000000..8df7136 --- /dev/null +++ b/src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/collector..st @@ -0,0 +1,4 @@ +accessing +collector: anObject + + collector := anObject \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/collector.st b/src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/collector.st new file mode 100644 index 0000000..230160c --- /dev/null +++ b/src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/collector.st @@ -0,0 +1,3 @@ +accessing +collector + ^ collector ifNil: [ collector := Set new ] \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/disable.st b/src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/disable.st new file mode 100644 index 0000000..9b10bae --- /dev/null +++ b/src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/disable.st @@ -0,0 +1,5 @@ +accessing +disable + "Do not receiver any system change notification anymore" + morph window isClosed ifFalse: [ morph window close] . + SystemAnnouncer uniqueInstance unsubscribe: self \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/enable.st b/src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/enable.st new file mode 100644 index 0000000..a510777 --- /dev/null +++ b/src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/enable.st @@ -0,0 +1,5 @@ +accessing +enable + morph openWithSpec. + SystemAnnouncer uniqueInstance unsubscribe: self. + {(MethodModified -> #methodModified:)} do: [ :pair | SystemAnnouncer uniqueInstance weak when: pair key send: pair value to: self ]. diff --git a/src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/initialize.st b/src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/initialize.st new file mode 100644 index 0000000..ff13486 --- /dev/null +++ b/src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/initialize.st @@ -0,0 +1,5 @@ +accessing +initialize + collector := Set new. + morph := SmTButtonResultWindow new. + morph controler: self. \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/methodModified..st b/src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/methodModified..st new file mode 100644 index 0000000..a05c3e5 --- /dev/null +++ b/src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/methodModified..st @@ -0,0 +1,8 @@ +accessing +methodModified: anAnnouncement + + [| listOfTest | + listOfTest := SmTRules testFinder researchTestsForMethod: anAnnouncement newMethod. + self collector + addAll: listOfTest. + self updateUIAfterAddingMethod: listOfTest.] forkAt: 20 named: 'BigButton' \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/notify.st b/src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/notify.st new file mode 100644 index 0000000..711f318 --- /dev/null +++ b/src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/notify.st @@ -0,0 +1,17 @@ +accessing +notify + | aTestResult | + aTestResult := SmTRules runner + runCases: + (self collector + collect: + [ :aMethodReference | aMethodReference methodClass selector: aMethodReference selector ]). + self + collector: + (self collector + reject: [ :a | + ((TestResult historyAt: a methodClass) at: #passed) + includes: a selector ]). + self updateNumberOfTheProgressCircle. + self changeColorFromTestResult: aTestResult. + morph fillFailedTestListFromTestResult: aTestResult \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/updateList..st b/src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/updateList..st new file mode 100644 index 0000000..d8a8411 --- /dev/null +++ b/src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/updateList..st @@ -0,0 +1,3 @@ +accessing +updateList: listOfTest + morph addToListTestsMethods: listOfTest \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/updateNumberOfTheProgressCircle.st b/src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/updateNumberOfTheProgressCircle.st new file mode 100644 index 0000000..de0ab01 --- /dev/null +++ b/src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/updateNumberOfTheProgressCircle.st @@ -0,0 +1,4 @@ +accessing +updateNumberOfTheProgressCircle + morph buttonText acceptValue: self collector size asTwoCharacterString. + morph buttonMorph color: Color gray. \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/updateUIAfterAddingMethod..st b/src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/updateUIAfterAddingMethod..st new file mode 100644 index 0000000..5837a0c --- /dev/null +++ b/src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/updateUIAfterAddingMethod..st @@ -0,0 +1,4 @@ +accessing +updateUIAfterAddingMethod: listOfTest + self updateNumberOfTheProgressCircle. + self updateList: listOfTest \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTBigButtonCollector.class/properties.json b/src/SmartTest-UI.package/SmTBigButtonCollector.class/properties.json new file mode 100644 index 0000000..fa85a3a --- /dev/null +++ b/src/SmartTest-UI.package/SmTBigButtonCollector.class/properties.json @@ -0,0 +1,17 @@ +{ + "commentStamp" : "BenoitVerhaeghe 8/11/2017 08:48", + "super" : "SmTCollector", + "category" : "SmartTest-UI-Collector", + "classinstvars" : [ + "activated", + "bigButton" + ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ + "morph", + "collector" + ], + "name" : "SmTBigButtonCollector", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTButtonResultWindow.class/README.md b/src/SmartTest-UI.package/SmTButtonResultWindow.class/README.md new file mode 100644 index 0000000..f5dcc2a --- /dev/null +++ b/src/SmartTest-UI.package/SmTButtonResultWindow.class/README.md @@ -0,0 +1 @@ +I show all the results in a window. \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTButtonResultWindow.class/class/defaultSpec.st b/src/SmartTest-UI.package/SmTButtonResultWindow.class/class/defaultSpec.st new file mode 100644 index 0000000..b16d0dc --- /dev/null +++ b/src/SmartTest-UI.package/SmTButtonResultWindow.class/class/defaultSpec.st @@ -0,0 +1,6 @@ +specs +defaultSpec + ^ SpecLayout composed + newColumn: [ :row | row add: #button ] left: 0 right: 0.6; + newColumn: [ :row | row add: #testList ] left: 0.4 right: 1; + yourself \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/addToListTestsMethods..st b/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/addToListTestsMethods..st new file mode 100644 index 0000000..607e58c --- /dev/null +++ b/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/addToListTestsMethods..st @@ -0,0 +1,7 @@ +accessing +addToListTestsMethods: newTestMethod + | list | + list := testList listItems asOrderedCollection. + list := (list collect: [ :a | (a class lookupSelector: a selector) methodReference ]) asSet. + list addAll: newTestMethod. + self setList: ((list collect: [:methodReference | methodReference methodClass selector: methodReference selector]) asOrderedCollection sort: [ :a :b | a asString < b asString ] ) \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/button..st b/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/button..st new file mode 100644 index 0000000..f917aa1 --- /dev/null +++ b/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/button..st @@ -0,0 +1,3 @@ +accessing +button: anObject + button := anObject \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/button.st b/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/button.st new file mode 100644 index 0000000..d11dd9b --- /dev/null +++ b/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/button.st @@ -0,0 +1,3 @@ +accessing +button + ^ button \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/buttonMorph.st b/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/buttonMorph.st new file mode 100644 index 0000000..08443b9 --- /dev/null +++ b/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/buttonMorph.st @@ -0,0 +1,3 @@ +accessing +buttonMorph + ^ button morph \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/buttonText..st b/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/buttonText..st new file mode 100644 index 0000000..96b2d79 --- /dev/null +++ b/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/buttonText..st @@ -0,0 +1,3 @@ +accessing +buttonText: anObject + buttonText := anObject \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/buttonText.st b/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/buttonText.st new file mode 100644 index 0000000..0bcf5c7 --- /dev/null +++ b/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/buttonText.st @@ -0,0 +1,3 @@ +accessing +buttonText + ^ buttonText \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/controler..st b/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/controler..st new file mode 100644 index 0000000..9d82fe1 --- /dev/null +++ b/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/controler..st @@ -0,0 +1,3 @@ +accessing +controler: anObject + self button morph controler: anObject \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/controler.st b/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/controler.st new file mode 100644 index 0000000..d61b5dc --- /dev/null +++ b/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/controler.st @@ -0,0 +1,3 @@ +accessing +controler + ^controler \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/extent.st b/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/extent.st new file mode 100644 index 0000000..90cd0d1 --- /dev/null +++ b/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/extent.st @@ -0,0 +1,3 @@ +accessing +extent + ^ 600 @ 300 \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/fillFailedTestListFromTestResult..st b/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/fillFailedTestListFromTestResult..st new file mode 100644 index 0000000..0c6237f --- /dev/null +++ b/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/fillFailedTestListFromTestResult..st @@ -0,0 +1,16 @@ +accessing +fillFailedTestListFromTestResult: aTestResult + + | list list2 | + list := testList listItems asOrderedCollection. + list := list + reject: [ :a | ((TestResult historyAt: a class) at: #passed) includes: a selector ]. + list addAll: aTestResult errors. + list addAll: aTestResult failures. + list := (list collect: [ :a | (a class lookupSelector: a selector) methodReference ]) + asSet. + self + setList: + ((list + collect: [ :methodReference | methodReference methodClass selector: methodReference selector ]) + asOrderedCollection sort: [ :a :b | a asString < b asString ]) \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/icons..st b/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/icons..st new file mode 100644 index 0000000..b35d0d7 --- /dev/null +++ b/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/icons..st @@ -0,0 +1,3 @@ +accessing +icons: anObject + icons := anObject \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/icons.st b/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/icons.st new file mode 100644 index 0000000..513b4d0 --- /dev/null +++ b/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/icons.st @@ -0,0 +1,4 @@ +accessing +icons + ^icons ifNil: [ icons := OrderedCollection new ] + \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/initializeWidgets.st b/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/initializeWidgets.st new file mode 100644 index 0000000..b47da3c --- /dev/null +++ b/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/initializeWidgets.st @@ -0,0 +1,19 @@ +accessing +initializeWidgets + testList := IconListModel new. + button := (SmTProgressCircle new + controler: self; + percentage: 100; + extent: 400@200; + color: Color gray) asSpecAdapter. + + buttonText := ('00' asStringMorph + font: (LogicalFont familyName: 'Source Sans Pro' pointSize: 50) emphasis: 2; + position: 60@60; + color: Color white; + yourself). + + self buttonMorph addMorphFront: buttonText. + + + self focusOrder add: testList. \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/setList..st b/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/setList..st new file mode 100644 index 0000000..4684852 --- /dev/null +++ b/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/setList..st @@ -0,0 +1,8 @@ +initialization +setList: aTestList + ^ testList + items: aTestList; + icons: [ :testMethod | + | ib | + ib := SmTIconFabric createIconForMethod: testMethod. + self icons add: ib ] \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/testList..st b/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/testList..st new file mode 100644 index 0000000..ff6ed96 --- /dev/null +++ b/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/testList..st @@ -0,0 +1,3 @@ +accessing +testList: anObject + testList := anObject \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/testList.st b/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/testList.st new file mode 100644 index 0000000..62b6a13 --- /dev/null +++ b/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/testList.st @@ -0,0 +1,3 @@ +accessing +testList + ^ testList \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/title.st b/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/title.st new file mode 100644 index 0000000..b4888f0 --- /dev/null +++ b/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/title.st @@ -0,0 +1,3 @@ +accessing +title + ^ 'Tests Results'. \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTButtonResultWindow.class/properties.json b/src/SmartTest-UI.package/SmTButtonResultWindow.class/properties.json new file mode 100644 index 0000000..5ce53c0 --- /dev/null +++ b/src/SmartTest-UI.package/SmTButtonResultWindow.class/properties.json @@ -0,0 +1,17 @@ +{ + "commentStamp" : "EleonoreWALD 5/2/2018 10:22", + "super" : "ComposablePresenter", + "category" : "SmartTest-UI-Morph", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ + "testList", + "button", + "icons", + "controler", + "buttonText" + ], + "name" : "SmTButtonResultWindow", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTCollector.class/README.md b/src/SmartTest-UI.package/SmTCollector.class/README.md new file mode 100644 index 0000000..e7a3ce5 --- /dev/null +++ b/src/SmartTest-UI.package/SmTCollector.class/README.md @@ -0,0 +1 @@ +This collector exists to describe all the ways the tests can be collected. \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTCollector.class/instance/addTestMethod..st b/src/SmartTest-UI.package/SmTCollector.class/instance/addTestMethod..st new file mode 100644 index 0000000..6a43f38 --- /dev/null +++ b/src/SmartTest-UI.package/SmTCollector.class/instance/addTestMethod..st @@ -0,0 +1,3 @@ +accessing +addTestMethod: aTestMethod + self collector add: aTestMethod \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTCollector.class/instance/addTestMethods..st b/src/SmartTest-UI.package/SmTCollector.class/instance/addTestMethods..st new file mode 100644 index 0000000..2a688e0 --- /dev/null +++ b/src/SmartTest-UI.package/SmTCollector.class/instance/addTestMethods..st @@ -0,0 +1,3 @@ +accessing +addTestMethods: aCollectionOfTestsMethod + self collector addAll: aCollectionOfTestsMethod \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTCollector.class/instance/collector.st b/src/SmartTest-UI.package/SmTCollector.class/instance/collector.st new file mode 100644 index 0000000..c8efb37 --- /dev/null +++ b/src/SmartTest-UI.package/SmTCollector.class/instance/collector.st @@ -0,0 +1,3 @@ +accessing +collector + self subclassResponsibility \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTCollector.class/instance/flush.st b/src/SmartTest-UI.package/SmTCollector.class/instance/flush.st new file mode 100644 index 0000000..f82172f --- /dev/null +++ b/src/SmartTest-UI.package/SmTCollector.class/instance/flush.st @@ -0,0 +1,3 @@ +accessing +flush + self collector removeAll \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTCollector.class/properties.json b/src/SmartTest-UI.package/SmTCollector.class/properties.json new file mode 100644 index 0000000..272622f --- /dev/null +++ b/src/SmartTest-UI.package/SmTCollector.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "EleonoreWALD 5/3/2018 17:39", + "super" : "Object", + "category" : "SmartTest-UI-Collector", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTCollector", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTFivesMinutesCollector.class/README.md b/src/SmartTest-UI.package/SmTFivesMinutesCollector.class/README.md new file mode 100644 index 0000000..7df7474 --- /dev/null +++ b/src/SmartTest-UI.package/SmTFivesMinutesCollector.class/README.md @@ -0,0 +1 @@ +I collect all the tests and run it each 5 minutes \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTFivesMinutesCollector.class/class/addTestMethod..st b/src/SmartTest-UI.package/SmTFivesMinutesCollector.class/class/addTestMethod..st new file mode 100644 index 0000000..4f71515 --- /dev/null +++ b/src/SmartTest-UI.package/SmTFivesMinutesCollector.class/class/addTestMethod..st @@ -0,0 +1,3 @@ +accessing +addTestMethod: aTestMethod + self uniqueInstance addTestMethod: aTestMethod \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTFivesMinutesCollector.class/class/addTestMethods..st b/src/SmartTest-UI.package/SmTFivesMinutesCollector.class/class/addTestMethods..st new file mode 100644 index 0000000..b979690 --- /dev/null +++ b/src/SmartTest-UI.package/SmTFivesMinutesCollector.class/class/addTestMethods..st @@ -0,0 +1,3 @@ +accessing +addTestMethods: aCollectionOfTestMethods + self uniqueInstance addTestMethods: aCollectionOfTestMethods \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTFivesMinutesCollector.class/class/start.st b/src/SmartTest-UI.package/SmTFivesMinutesCollector.class/class/start.st new file mode 100644 index 0000000..82e2d48 --- /dev/null +++ b/src/SmartTest-UI.package/SmTFivesMinutesCollector.class/class/start.st @@ -0,0 +1,3 @@ +accessing +start + self uniqueInstance start \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTFivesMinutesCollector.class/class/stop.st b/src/SmartTest-UI.package/SmTFivesMinutesCollector.class/class/stop.st new file mode 100644 index 0000000..ea00ab6 --- /dev/null +++ b/src/SmartTest-UI.package/SmTFivesMinutesCollector.class/class/stop.st @@ -0,0 +1,3 @@ +accessing +stop + self uniqueInstance stop \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTFivesMinutesCollector.class/class/uniqueInstance.st b/src/SmartTest-UI.package/SmTFivesMinutesCollector.class/class/uniqueInstance.st new file mode 100644 index 0000000..e866592 --- /dev/null +++ b/src/SmartTest-UI.package/SmTFivesMinutesCollector.class/class/uniqueInstance.st @@ -0,0 +1,3 @@ +accessing +uniqueInstance + ^UniqueInstance ifNil: [ UniqueInstance := self new] \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/collector.st b/src/SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/collector.st new file mode 100644 index 0000000..9a0d70b --- /dev/null +++ b/src/SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/collector.st @@ -0,0 +1,3 @@ +accessing +collector + ^Collector ifNil: [ Collector := Set new. ] \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/process.st b/src/SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/process.st new file mode 100644 index 0000000..3d5387b --- /dev/null +++ b/src/SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/process.st @@ -0,0 +1,14 @@ +accessing +process + ^ process + ifNil: [ process := [ [ true ] + whileTrue: [ (Delay forSeconds: 300) wait. + self collector + ifNotEmpty: [ | tempOrderedCollection | + tempOrderedCollection := OrderedCollection new. + tempOrderedCollection add: self collector . + ([ :aCollectionOfTest | + | tempResult | + tempResult := SmTRules runner runCases: aCollectionOfTest. + self showResult: tempResult ] newProcessWith: tempOrderedCollection) resume. + self reset ] ] ] newProcess ] \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/reset.st b/src/SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/reset.st new file mode 100644 index 0000000..7cd4a7f --- /dev/null +++ b/src/SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/reset.st @@ -0,0 +1,3 @@ +action +reset + Collector := nil. \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/showResult..st b/src/SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/showResult..st new file mode 100644 index 0000000..d69037e --- /dev/null +++ b/src/SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/showResult..st @@ -0,0 +1,9 @@ +UI specific +showResult: aTestResult + | ui | + + (aTestResult hasErrors or: aTestResult hasFailures) + ifFalse: [ ^ self ]. + ui := SmTAutoTestsWindows new. + ui setList: aTestResult tests. + ui openWithSpec. diff --git a/src/SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/start.st b/src/SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/start.st new file mode 100644 index 0000000..e87cda5 --- /dev/null +++ b/src/SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/start.st @@ -0,0 +1,3 @@ +action +start + self process resume. \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/stop.st b/src/SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/stop.st new file mode 100644 index 0000000..3860d87 --- /dev/null +++ b/src/SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/stop.st @@ -0,0 +1,3 @@ +action +stop + self process suspend \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTFivesMinutesCollector.class/properties.json b/src/SmartTest-UI.package/SmTFivesMinutesCollector.class/properties.json new file mode 100644 index 0000000..d851b41 --- /dev/null +++ b/src/SmartTest-UI.package/SmTFivesMinutesCollector.class/properties.json @@ -0,0 +1,16 @@ +{ + "commentStamp" : "BenoitVerhaeghe 6/28/2017 16:19", + "super" : "SmTCollector", + "category" : "SmartTest-UI-Collector", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ + "Collector", + "UniqueInstance" + ], + "instvars" : [ + "process" + ], + "name" : "SmTFivesMinutesCollector", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTIconFabric.class/README.md b/src/SmartTest-UI.package/SmTIconFabric.class/README.md new file mode 100644 index 0000000..4be13b3 --- /dev/null +++ b/src/SmartTest-UI.package/SmTIconFabric.class/README.md @@ -0,0 +1 @@ +I'm a tool which create the icons \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTIconFabric.class/class/createIconForMethod..st b/src/SmartTest-UI.package/SmTIconFabric.class/class/createIconForMethod..st new file mode 100644 index 0000000..82c9a48 --- /dev/null +++ b/src/SmartTest-UI.package/SmTIconFabric.class/class/createIconForMethod..st @@ -0,0 +1,17 @@ +creation +createIconForMethod: testMethod + | ib | + ib := IconicButton new. + ib + target: SmTRules runner; + actionSelector: #runCase:notifyIcon:; + arguments: + {testMethod. + ib}; + labelGraphic: + (self + iconNamed: (SmTRules runner iconForTestFromTestCaseHistory: testMethod)); + color: Color transparent; + borderColor: Color transparent; + helpText: 'Run the test'. + ^ ib \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTIconFabric.class/class/createIconForMethods..st b/src/SmartTest-UI.package/SmTIconFabric.class/class/createIconForMethods..st new file mode 100644 index 0000000..a1de49e --- /dev/null +++ b/src/SmartTest-UI.package/SmTIconFabric.class/class/createIconForMethods..st @@ -0,0 +1,17 @@ +creation +createIconForMethods: aTestCollection + | ib | + ib := IconicButton new. + ib + target: SmTRules runner; + actionSelector: #runCases:notifyIcon:; + arguments: + {aTestCollection. + ib}; + labelGraphic: + (self + iconNamed: (SmTRules runner iconForTestFromTestsCasesHistory: aTestCollection)); + color: Color transparent; + borderColor: Color transparent; + helpText: 'Run the test'. + ^ ib \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTIconFabric.class/properties.json b/src/SmartTest-UI.package/SmTIconFabric.class/properties.json new file mode 100644 index 0000000..ff9dd74 --- /dev/null +++ b/src/SmartTest-UI.package/SmTIconFabric.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "BenoitVerhaeghe 6/28/2017 15:45", + "super" : "Object", + "category" : "SmartTest-UI-Tools", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTIconFabric", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTProgressCircle.class/README.md b/src/SmartTest-UI.package/SmTProgressCircle.class/README.md new file mode 100644 index 0000000..b1af462 --- /dev/null +++ b/src/SmartTest-UI.package/SmTProgressCircle.class/README.md @@ -0,0 +1,15 @@ +pc := ProgressCircle new color: Color blue. +pc extent: 500@500. +pc percentage: 0.3. +pc position: pc topRight. +pc openInWorld. + +mes := MorphEventSubscription new + recipient: CORAEventRecipient new; + selector: #hello. + +meh := MorphicEventHandler new + addSubscription: mes toEvent: #click. + +pc eventHandler: meh. + diff --git a/src/SmartTest-UI.package/SmTProgressCircle.class/instance/controler..st b/src/SmartTest-UI.package/SmTProgressCircle.class/instance/controler..st new file mode 100644 index 0000000..680d164 --- /dev/null +++ b/src/SmartTest-UI.package/SmTProgressCircle.class/instance/controler..st @@ -0,0 +1,3 @@ +accessing +controler: anObject + controler := anObject \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTProgressCircle.class/instance/drawOn..st b/src/SmartTest-UI.package/SmTProgressCircle.class/instance/drawOn..st new file mode 100644 index 0000000..934e855 --- /dev/null +++ b/src/SmartTest-UI.package/SmTProgressCircle.class/instance/drawOn..st @@ -0,0 +1,8 @@ +drawing +drawOn: aCanvas + aCanvas + fillOval: bounds + fillStyle: self fillStyle + withPercentage: self percentage + borderWidth: borderWidth + borderColor: borderColor \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTProgressCircle.class/instance/handlesMouseDown..st b/src/SmartTest-UI.package/SmTProgressCircle.class/instance/handlesMouseDown..st new file mode 100644 index 0000000..b306a99 --- /dev/null +++ b/src/SmartTest-UI.package/SmTProgressCircle.class/instance/handlesMouseDown..st @@ -0,0 +1,3 @@ +drawing +handlesMouseDown: anEvent + ^ true \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTProgressCircle.class/instance/mouseDown..st b/src/SmartTest-UI.package/SmTProgressCircle.class/instance/mouseDown..st new file mode 100644 index 0000000..215005f --- /dev/null +++ b/src/SmartTest-UI.package/SmTProgressCircle.class/instance/mouseDown..st @@ -0,0 +1,4 @@ +drawing +mouseDown: anEvent + controler notify + \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTProgressCircle.class/instance/percentage..st b/src/SmartTest-UI.package/SmTProgressCircle.class/instance/percentage..st new file mode 100644 index 0000000..585cc6f --- /dev/null +++ b/src/SmartTest-UI.package/SmTProgressCircle.class/instance/percentage..st @@ -0,0 +1,4 @@ +accessing +percentage: anObject + percentage := anObject. + self changed \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTProgressCircle.class/instance/percentage.st b/src/SmartTest-UI.package/SmTProgressCircle.class/instance/percentage.st new file mode 100644 index 0000000..4e4eb07 --- /dev/null +++ b/src/SmartTest-UI.package/SmTProgressCircle.class/instance/percentage.st @@ -0,0 +1,3 @@ +accessing +percentage + ^ percentage \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTProgressCircle.class/properties.json b/src/SmartTest-UI.package/SmTProgressCircle.class/properties.json new file mode 100644 index 0000000..b54f264 --- /dev/null +++ b/src/SmartTest-UI.package/SmTProgressCircle.class/properties.json @@ -0,0 +1,14 @@ +{ + "commentStamp" : "BenoitVerhaeghe 7/18/2017 10:40", + "super" : "CircleMorph", + "category" : "SmartTest-UI-Collector", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ + "percentage", + "controler" + ], + "name" : "SmTProgressCircle", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest-UI.package/monticello.meta/categories.st b/src/SmartTest-UI.package/monticello.meta/categories.st new file mode 100644 index 0000000..353c91a --- /dev/null +++ b/src/SmartTest-UI.package/monticello.meta/categories.st @@ -0,0 +1,5 @@ +SystemOrganization addCategory: #'SmartTest-UI'! +SystemOrganization addCategory: #'SmartTest-UI-CalypsoExtension'! +SystemOrganization addCategory: #'SmartTest-UI-Collector'! +SystemOrganization addCategory: #'SmartTest-UI-Morph'! +SystemOrganization addCategory: #'SmartTest-UI-Tools'! diff --git a/src/SmartTest-UI.package/monticello.meta/initializers.st b/src/SmartTest-UI.package/monticello.meta/initializers.st new file mode 100644 index 0000000..e69de29 diff --git a/src/SmartTest-UI.package/monticello.meta/package b/src/SmartTest-UI.package/monticello.meta/package new file mode 100644 index 0000000..e49594a --- /dev/null +++ b/src/SmartTest-UI.package/monticello.meta/package @@ -0,0 +1 @@ +(name 'SmartTest-UI') \ No newline at end of file diff --git a/src/SmartTest-UI.package/properties.json b/src/SmartTest-UI.package/properties.json new file mode 100644 index 0000000..6f31cf5 --- /dev/null +++ b/src/SmartTest-UI.package/properties.json @@ -0,0 +1 @@ +{ } \ No newline at end of file diff --git a/src/SmartTest.package/.filetree b/src/SmartTest.package/.filetree new file mode 100644 index 0000000..57a6797 --- /dev/null +++ b/src/SmartTest.package/.filetree @@ -0,0 +1,5 @@ +{ + "separateMethodMetaAndSource" : false, + "noMethodMetaData" : true, + "useCypressPropertiesFile" : true +} \ No newline at end of file diff --git a/src/SmartTest.package/ASTCacheResetTest.extension/instance/testCacheResetPreserveLinks.st b/src/SmartTest.package/ASTCacheResetTest.extension/instance/testCacheResetPreserveLinks.st new file mode 100644 index 0000000..461c8ea --- /dev/null +++ b/src/SmartTest.package/ASTCacheResetTest.extension/instance/testCacheResetPreserveLinks.st @@ -0,0 +1,9 @@ +*SmartTest +testCacheResetPreserveLinks + + self annotatedMethod. + self assert: counter equals: 1. + ASTCache reset. + self assert: (self class >> #annotatedMethod) ast statements last value links anyOne == link. + self annotatedMethod. + self assert: counter equals: 2 \ No newline at end of file diff --git a/src/SmartTest.package/ASTCacheResetTest.extension/properties.json b/src/SmartTest.package/ASTCacheResetTest.extension/properties.json new file mode 100644 index 0000000..c232b20 --- /dev/null +++ b/src/SmartTest.package/ASTCacheResetTest.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "ASTCacheResetTest" +} \ No newline at end of file diff --git a/src/SmartTest.package/CompiledMethod.extension/instance/asTestCase.st b/src/SmartTest.package/CompiledMethod.extension/instance/asTestCase.st new file mode 100644 index 0000000..c8d97c0 --- /dev/null +++ b/src/SmartTest.package/CompiledMethod.extension/instance/asTestCase.st @@ -0,0 +1,3 @@ +*SmartTest +asTestCase + ^ self methodClass selector: self selector \ No newline at end of file diff --git a/src/SmartTest.package/CompiledMethod.extension/instance/belongsToTestCase.st b/src/SmartTest.package/CompiledMethod.extension/instance/belongsToTestCase.st new file mode 100644 index 0000000..62e0c35 --- /dev/null +++ b/src/SmartTest.package/CompiledMethod.extension/instance/belongsToTestCase.st @@ -0,0 +1,3 @@ +*SmartTest +belongsToTestCase + ^ self methodClass isKindOf: TestCase class. \ No newline at end of file diff --git a/src/SmartTest.package/CompiledMethod.extension/instance/isTestMethod.st b/src/SmartTest.package/CompiledMethod.extension/instance/isTestMethod.st new file mode 100644 index 0000000..37b8411 --- /dev/null +++ b/src/SmartTest.package/CompiledMethod.extension/instance/isTestMethod.st @@ -0,0 +1,4 @@ +*SmartTest +isTestMethod + ^ self belongsToTestCase + and: [ self methodClass allTestSelectors includes: self selector]. \ No newline at end of file diff --git a/src/SmartTest.package/CompiledMethod.extension/instance/isTestSetUpMethod.st b/src/SmartTest.package/CompiledMethod.extension/instance/isTestSetUpMethod.st new file mode 100644 index 0000000..ac12504 --- /dev/null +++ b/src/SmartTest.package/CompiledMethod.extension/instance/isTestSetUpMethod.st @@ -0,0 +1,4 @@ +*SmartTest +isTestSetUpMethod + ^ (self selector = #setUp) + and: [self belongsToTestCase]. \ No newline at end of file diff --git a/src/SmartTest.package/CompiledMethod.extension/instance/isTestTearDownMethod.st b/src/SmartTest.package/CompiledMethod.extension/instance/isTestTearDownMethod.st new file mode 100644 index 0000000..39ad64e --- /dev/null +++ b/src/SmartTest.package/CompiledMethod.extension/instance/isTestTearDownMethod.st @@ -0,0 +1,4 @@ +*SmartTest +isTestTearDownMethod + ^ (self selector = #tearDown) + and:[self belongsToTestCase]. \ No newline at end of file diff --git a/src/SmartTest.package/CompiledMethod.extension/properties.json b/src/SmartTest.package/CompiledMethod.extension/properties.json new file mode 100644 index 0000000..c2e4663 --- /dev/null +++ b/src/SmartTest.package/CompiledMethod.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "CompiledMethod" +} \ No newline at end of file diff --git a/src/SmartTest.package/FormCanvas.extension/instance/fillOval.color.withPercentage.borderWidth.borderColor..st b/src/SmartTest.package/FormCanvas.extension/instance/fillOval.color.withPercentage.borderWidth.borderColor..st new file mode 100644 index 0000000..c7b77c7 --- /dev/null +++ b/src/SmartTest.package/FormCanvas.extension/instance/fillOval.color.withPercentage.borderWidth.borderColor..st @@ -0,0 +1,15 @@ +*SmartTest +fillOval: r color: fillColor withPercentage: aFloat borderWidth: borderWidth borderColor: borderColor + | rect | + + "draw the border of the oval" + rect := (r translateBy: origin) truncated. + (borderWidth = 0 or: [borderColor isTransparent]) ifFalse:[ + self setFillColor: borderColor. + (r area > 10000 or: [fillColor isTranslucent]) + ifTrue: [port frameOval: rect borderWidth: borderWidth] + ifFalse: [port fillOval: rect]]. "faster this way" + "fill the inside" + fillColor isTransparent ifFalse: + [self setFillColor: fillColor. + port fillOval: (rect insetBy: borderWidth)]. diff --git a/src/SmartTest.package/FormCanvas.extension/instance/fillOval.fillStyle.withPercentage.borderWidth.borderColor..st b/src/SmartTest.package/FormCanvas.extension/instance/fillOval.fillStyle.withPercentage.borderWidth.borderColor..st new file mode 100644 index 0000000..e4d5003 --- /dev/null +++ b/src/SmartTest.package/FormCanvas.extension/instance/fillOval.fillStyle.withPercentage.borderWidth.borderColor..st @@ -0,0 +1,10 @@ +*SmartTest +fillOval: aRectangle fillStyle: aFillStyle withPercentage: aFloat borderWidth: bw borderColor: bc + "Fill the given oval." + + (aFillStyle isBitmapFill and:[aFillStyle isKindOf: InfiniteForm]) ifTrue:[ + ^self fillOval: aRectangle color: aFillStyle borderWidth: bw borderColor: bc]. + (aFillStyle isSolidFill) ifTrue:[ + ^self fillOval: aRectangle withPercentage: aFloat color: aFillStyle asColor borderWidth: bw borderColor: bc]. + "Use a BalloonCanvas instead" + self balloonFillOval: aRectangle fillStyle: aFillStyle borderWidth: bw borderColor: bc \ No newline at end of file diff --git a/src/SmartTest.package/FormCanvas.extension/instance/fillOval.withPercentage.color.borderWidth.borderColor..st b/src/SmartTest.package/FormCanvas.extension/instance/fillOval.withPercentage.color.borderWidth.borderColor..st new file mode 100644 index 0000000..0d1dc7f --- /dev/null +++ b/src/SmartTest.package/FormCanvas.extension/instance/fillOval.withPercentage.color.borderWidth.borderColor..st @@ -0,0 +1,15 @@ +*SmartTest +fillOval: r withPercentage: aFloat color: fillColor borderWidth: borderWidth borderColor: borderColor + | rect | + + "draw the border of the oval" + rect := (r translateBy: origin) truncated. + (borderWidth = 0 or: [borderColor isTransparent]) ifFalse:[ + self setFillColor: borderColor. + (r area > 10000 or: [fillColor isTranslucent]) + ifTrue: [port frameOval: rect borderWidth: borderWidth] + ifFalse: [port fillOval: rect]]. "faster this way" + "fill the inside" + fillColor isTransparent ifFalse: + [self setFillColor: fillColor. + port fillOval: (rect insetBy: borderWidth) withPercentage: aFloat]. diff --git a/src/SmartTest.package/FormCanvas.extension/properties.json b/src/SmartTest.package/FormCanvas.extension/properties.json new file mode 100644 index 0000000..9887a28 --- /dev/null +++ b/src/SmartTest.package/FormCanvas.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "FormCanvas" +} \ No newline at end of file diff --git a/src/SmartTest.package/GrafPort.extension/instance/fillOval.withPercentage..st b/src/SmartTest.package/GrafPort.extension/instance/fillOval.withPercentage..st new file mode 100644 index 0000000..6f1b5c6 --- /dev/null +++ b/src/SmartTest.package/GrafPort.extension/instance/fillOval.withPercentage..st @@ -0,0 +1,30 @@ +*SmartTest +fillOval: rect withPercentage: aFloat + | centerX centerY nextY yBias xBias outer nextOuterX | + rect area <= 0 + ifTrue: [ ^ self ]. + height := 1. + yBias := rect height odd + ifTrue: [ 0 ] + ifFalse: [ -1 ]. + xBias := rect width odd + ifTrue: [ 1 ] + ifFalse: [ 0 ]. + centerX := rect center x. + centerY := rect center y. + outer := EllipseMidpointTracer new on: rect. + nextY := rect height // 2. + [ nextY > 0 and: aFloat / 2 * rect height > (centerY - nextY - 1) ] + whileTrue: [ nextOuterX := outer stepInY. + width := (nextOuterX bitShift: 1) + xBias. + destX := centerX - nextOuterX. + destY := centerY - nextY. + self copyBits. + destY := centerY + nextY + yBias. + self copyBits. + nextY := nextY - 1 ]. + destY := centerY. + height := 1 + yBias. + width := rect width. + destX := rect left. + self copyBits \ No newline at end of file diff --git a/src/SmartTest.package/GrafPort.extension/properties.json b/src/SmartTest.package/GrafPort.extension/properties.json new file mode 100644 index 0000000..7221c9f --- /dev/null +++ b/src/SmartTest.package/GrafPort.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "GrafPort" +} \ No newline at end of file diff --git a/src/SmartTest.package/HDTestCoverage.extension/instance/unmark.st b/src/SmartTest.package/HDTestCoverage.extension/instance/unmark.st new file mode 100644 index 0000000..0f25e27 --- /dev/null +++ b/src/SmartTest.package/HDTestCoverage.extension/instance/unmark.st @@ -0,0 +1,3 @@ +*SmartTest +unmark + hasRun := false \ No newline at end of file diff --git a/src/SmartTest.package/HDTestCoverage.extension/properties.json b/src/SmartTest.package/HDTestCoverage.extension/properties.json new file mode 100644 index 0000000..ed52621 --- /dev/null +++ b/src/SmartTest.package/HDTestCoverage.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "HDTestCoverage" +} \ No newline at end of file diff --git a/src/SmartTest.package/ManifestSmartTest.class/README.md b/src/SmartTest.package/ManifestSmartTest.class/README.md new file mode 100644 index 0000000..dea1c32 --- /dev/null +++ b/src/SmartTest.package/ManifestSmartTest.class/README.md @@ -0,0 +1,3 @@ +I store metadata for this package. These meta data are used by other tools such as the SmalllintManifestChecker and the critics Browser + +THIS CLASS SHOULD BE RENAMED BECAUSE IT IS NOT AN EVENT \ No newline at end of file diff --git a/src/SmartTest.package/ManifestSmartTest.class/class/description.st b/src/SmartTest.package/ManifestSmartTest.class/class/description.st new file mode 100644 index 0000000..9534f95 --- /dev/null +++ b/src/SmartTest.package/ManifestSmartTest.class/class/description.st @@ -0,0 +1,2 @@ +meta-data +description ^ 'CORA is an extention of QA which display information about test' \ No newline at end of file diff --git a/src/SmartTest.package/ManifestSmartTest.class/class/preUnload.st b/src/SmartTest.package/ManifestSmartTest.class/class/preUnload.st new file mode 100644 index 0000000..d881a46 --- /dev/null +++ b/src/SmartTest.package/ManifestSmartTest.class/class/preUnload.st @@ -0,0 +1,4 @@ +meta-data +preUnload + super + preUnload. \ No newline at end of file diff --git a/src/SmartTest.package/ManifestSmartTest.class/properties.json b/src/SmartTest.package/ManifestSmartTest.class/properties.json new file mode 100644 index 0000000..2936db6 --- /dev/null +++ b/src/SmartTest.package/ManifestSmartTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "EleonoreWALD 5/3/2018 17:48", + "super" : "PackageManifest", + "category" : "SmartTest", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "ManifestSmartTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest.package/NautilusRefactoring.extension/instance/undoLabel.st b/src/SmartTest.package/NautilusRefactoring.extension/instance/undoLabel.st new file mode 100644 index 0000000..d5195d0 --- /dev/null +++ b/src/SmartTest.package/NautilusRefactoring.extension/instance/undoLabel.st @@ -0,0 +1,15 @@ +*SmartTest +undoLabel + | stream | + stream := WriteStream with: 'Undo'. + self changeManager hasUndoableOperations + ifFalse: [ ^ stream contents ]. + stream + nextPut: $ ; + nextPutAll: self changeManager undoChange asString. + stream position > 40 + ifTrue: [ + stream + position: 40; + nextPutAll: '...' ]. + ^ stream contents \ No newline at end of file diff --git a/src/SmartTest.package/NautilusRefactoring.extension/properties.json b/src/SmartTest.package/NautilusRefactoring.extension/properties.json new file mode 100644 index 0000000..c56d8be --- /dev/null +++ b/src/SmartTest.package/NautilusRefactoring.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "NautilusRefactoring" +} \ No newline at end of file diff --git a/src/SmartTest.package/RGMethodDefinition.extension/instance/isInitializer.st b/src/SmartTest.package/RGMethodDefinition.extension/instance/isInitializer.st new file mode 100644 index 0000000..2af1669 --- /dev/null +++ b/src/SmartTest.package/RGMethodDefinition.extension/instance/isInitializer.st @@ -0,0 +1,3 @@ +*SmartTest +isInitializer + ^ self selector = #initialize \ No newline at end of file diff --git a/src/SmartTest.package/RGMethodDefinition.extension/instance/senders.st b/src/SmartTest.package/RGMethodDefinition.extension/instance/senders.st new file mode 100644 index 0000000..d224b7c --- /dev/null +++ b/src/SmartTest.package/RGMethodDefinition.extension/instance/senders.st @@ -0,0 +1,3 @@ +*SmartTest +senders + ^ SystemNavigation default allSendersOf: self selector \ No newline at end of file diff --git a/src/SmartTest.package/RGMethodDefinition.extension/properties.json b/src/SmartTest.package/RGMethodDefinition.extension/properties.json new file mode 100644 index 0000000..0bcc002 --- /dev/null +++ b/src/SmartTest.package/RGMethodDefinition.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "RGMethodDefinition" +} \ No newline at end of file diff --git a/src/SmartTest.package/ReProperty.extension/instance/iconicButtons.st b/src/SmartTest.package/ReProperty.extension/instance/iconicButtons.st new file mode 100644 index 0000000..94e94db --- /dev/null +++ b/src/SmartTest.package/ReProperty.extension/instance/iconicButtons.st @@ -0,0 +1,4 @@ +*SmartTest +iconicButtons + + ^ #() \ No newline at end of file diff --git a/src/SmartTest.package/ReProperty.extension/properties.json b/src/SmartTest.package/ReProperty.extension/properties.json new file mode 100644 index 0000000..5f0ce47 --- /dev/null +++ b/src/SmartTest.package/ReProperty.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "ReProperty" +} \ No newline at end of file diff --git a/src/SmartTest.package/SmTAnnouncer.class/README.md b/src/SmartTest.package/SmTAnnouncer.class/README.md new file mode 100644 index 0000000..e3a5f62 --- /dev/null +++ b/src/SmartTest.package/SmTAnnouncer.class/README.md @@ -0,0 +1 @@ +The announcer process announces that some event has occurred and disseminates it to all the listeners that are interested in the event. \ No newline at end of file diff --git a/src/SmartTest.package/SmTAnnouncer.class/class/announcer.st b/src/SmartTest.package/SmTAnnouncer.class/class/announcer.st new file mode 100644 index 0000000..59bd5d1 --- /dev/null +++ b/src/SmartTest.package/SmTAnnouncer.class/class/announcer.st @@ -0,0 +1,3 @@ +accessing +announcer + ^ announcer ifNil: [ announcer := SmTAnnouncer new ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTAnnouncer.class/class/shouldAnnounce.st b/src/SmartTest.package/SmTAnnouncer.class/class/shouldAnnounce.st new file mode 100644 index 0000000..0596a28 --- /dev/null +++ b/src/SmartTest.package/SmTAnnouncer.class/class/shouldAnnounce.st @@ -0,0 +1,3 @@ +accessing +shouldAnnounce + ^ SmTTestListener activated \ No newline at end of file diff --git a/src/SmartTest.package/SmTAnnouncer.class/properties.json b/src/SmartTest.package/SmTAnnouncer.class/properties.json new file mode 100644 index 0000000..1422806 --- /dev/null +++ b/src/SmartTest.package/SmTAnnouncer.class/properties.json @@ -0,0 +1,13 @@ +{ + "commentStamp" : "EleonoreWALD 5/2/2018 14:32", + "super" : "Announcer", + "category" : "SmartTest-Listener", + "classinstvars" : [ + "announcer" + ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTAnnouncer", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest.package/SmTBasicCacheNeverResetStrategy.class/README.md b/src/SmartTest.package/SmTBasicCacheNeverResetStrategy.class/README.md new file mode 100644 index 0000000..811b705 --- /dev/null +++ b/src/SmartTest.package/SmTBasicCacheNeverResetStrategy.class/README.md @@ -0,0 +1,3 @@ +This strategy always adds the tests to the cache and always gives the tests when asked. + +When using this strategy, the cache is never reseted, even when told so. \ No newline at end of file diff --git a/src/SmartTest.package/SmTBasicCacheNeverResetStrategy.class/instance/resetCache.st b/src/SmartTest.package/SmTBasicCacheNeverResetStrategy.class/instance/resetCache.st new file mode 100644 index 0000000..0da6502 --- /dev/null +++ b/src/SmartTest.package/SmTBasicCacheNeverResetStrategy.class/instance/resetCache.st @@ -0,0 +1,3 @@ +private +resetCache + "Never reset the cache for this strategy." \ No newline at end of file diff --git a/src/SmartTest.package/SmTBasicCacheNeverResetStrategy.class/properties.json b/src/SmartTest.package/SmTBasicCacheNeverResetStrategy.class/properties.json new file mode 100644 index 0000000..bb2b73a --- /dev/null +++ b/src/SmartTest.package/SmTBasicCacheNeverResetStrategy.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "eleonoreW 7/12/2018 11:35", + "super" : "SmTBasicCacheStrategy", + "category" : "SmartTest-Cache", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTBasicCacheNeverResetStrategy", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/README.md b/src/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/README.md new file mode 100644 index 0000000..b503ee6 --- /dev/null +++ b/src/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/README.md @@ -0,0 +1,3 @@ +This strategy always adds the tests to the cache and always gives the tests when asked. + +When using this strategy, the cache is reseted each 5 changes (changes manageable by SmartTest, for exemple changes on methods and classes). \ No newline at end of file diff --git a/src/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/instance/initialize.st b/src/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/instance/initialize.st new file mode 100644 index 0000000..29ec469 --- /dev/null +++ b/src/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/instance/initialize.st @@ -0,0 +1,3 @@ +initialization +initialize +self numberOfChange: 0. \ No newline at end of file diff --git a/src/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/instance/numberOfChange..st b/src/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/instance/numberOfChange..st new file mode 100644 index 0000000..62efcce --- /dev/null +++ b/src/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/instance/numberOfChange..st @@ -0,0 +1,3 @@ +accessing +numberOfChange: anObject + numberOfChange := anObject \ No newline at end of file diff --git a/src/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/instance/numberOfChange.st b/src/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/instance/numberOfChange.st new file mode 100644 index 0000000..6708985 --- /dev/null +++ b/src/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/instance/numberOfChange.st @@ -0,0 +1,3 @@ +accessing +numberOfChange + ^ numberOfChange \ No newline at end of file diff --git a/src/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/instance/resetCache.st b/src/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/instance/resetCache.st new file mode 100644 index 0000000..61ab5e7 --- /dev/null +++ b/src/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/instance/resetCache.st @@ -0,0 +1,5 @@ +private +resetCache + numberOfChange := numberOfChange + 1. + numberOfChange \\ 5 == 0 + ifTrue: [ cache removeAll. numberOfChange := 0] \ No newline at end of file diff --git a/src/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/properties.json b/src/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/properties.json new file mode 100644 index 0000000..74500da --- /dev/null +++ b/src/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/properties.json @@ -0,0 +1,13 @@ +{ + "commentStamp" : "eleonoreW 7/12/2018 11:38", + "super" : "SmTBasicCacheStrategy", + "category" : "SmartTest-Cache", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ + "numberOfChange" + ], + "name" : "SmTBasicCacheResetEvery5ChangesStrategy", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest.package/SmTBasicCacheResetEveryCommitStrategy.class/README.md b/src/SmartTest.package/SmTBasicCacheResetEveryCommitStrategy.class/README.md new file mode 100644 index 0000000..d1d972b --- /dev/null +++ b/src/SmartTest.package/SmTBasicCacheResetEveryCommitStrategy.class/README.md @@ -0,0 +1,3 @@ +This strategy always adds the tests to the cache and always gives the tests when asked. + +When using this strategy, the cache is reseted only when a commit is peformed. It is mostly used with SmartTest Experiment. \ No newline at end of file diff --git a/src/SmartTest.package/SmTBasicCacheResetEveryCommitStrategy.class/instance/resetCacheForChange..st b/src/SmartTest.package/SmTBasicCacheResetEveryCommitStrategy.class/instance/resetCacheForChange..st new file mode 100644 index 0000000..c725031 --- /dev/null +++ b/src/SmartTest.package/SmTBasicCacheResetEveryCommitStrategy.class/instance/resetCacheForChange..st @@ -0,0 +1,4 @@ +private +resetCacheForChange: aChange + (aChange isKindOf: EpMonticelloVersionSave) ifTrue:[self resetCache]. + \ No newline at end of file diff --git a/src/SmartTest.package/SmTBasicCacheResetEveryCommitStrategy.class/properties.json b/src/SmartTest.package/SmTBasicCacheResetEveryCommitStrategy.class/properties.json new file mode 100644 index 0000000..85bdb00 --- /dev/null +++ b/src/SmartTest.package/SmTBasicCacheResetEveryCommitStrategy.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "eleonoreW 7/12/2018 11:39", + "super" : "SmTBasicCacheStrategy", + "category" : "SmartTest-Cache", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTBasicCacheResetEveryCommitStrategy", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest.package/SmTBasicCacheStrategy.class/README.md b/src/SmartTest.package/SmTBasicCacheStrategy.class/README.md new file mode 100644 index 0000000..02305ab --- /dev/null +++ b/src/SmartTest.package/SmTBasicCacheStrategy.class/README.md @@ -0,0 +1 @@ +This strategy always adds the tests to the cache and always gives the tests when asked. \ No newline at end of file diff --git a/src/SmartTest.package/SmTBasicCacheStrategy.class/instance/at..st b/src/SmartTest.package/SmTBasicCacheStrategy.class/instance/at..st new file mode 100644 index 0000000..b9fbb76 --- /dev/null +++ b/src/SmartTest.package/SmTBasicCacheStrategy.class/instance/at..st @@ -0,0 +1,3 @@ +accessing +at: aMethodReference + ^ self currentCache at: aMethodReference \ No newline at end of file diff --git a/src/SmartTest.package/SmTBasicCacheStrategy.class/instance/at.ifAbsent..st b/src/SmartTest.package/SmTBasicCacheStrategy.class/instance/at.ifAbsent..st new file mode 100644 index 0000000..6f59865 --- /dev/null +++ b/src/SmartTest.package/SmTBasicCacheStrategy.class/instance/at.ifAbsent..st @@ -0,0 +1,3 @@ +accessing +at: methodReference ifAbsent: aBlock + ^ self currentCache at: methodReference ifAbsent: aBlock \ No newline at end of file diff --git a/src/SmartTest.package/SmTBasicCacheStrategy.class/instance/at.ifPresent..st b/src/SmartTest.package/SmTBasicCacheStrategy.class/instance/at.ifPresent..st new file mode 100644 index 0000000..4660ebd --- /dev/null +++ b/src/SmartTest.package/SmTBasicCacheStrategy.class/instance/at.ifPresent..st @@ -0,0 +1,3 @@ +accessing +at: key ifPresent: aPresentBlock + ^ self currentCache at: key ifPresent: aPresentBlock \ No newline at end of file diff --git a/src/SmartTest.package/SmTBasicCacheStrategy.class/instance/at.ifPresent.ifAbsent..st b/src/SmartTest.package/SmTBasicCacheStrategy.class/instance/at.ifPresent.ifAbsent..st new file mode 100644 index 0000000..fa552e4 --- /dev/null +++ b/src/SmartTest.package/SmTBasicCacheStrategy.class/instance/at.ifPresent.ifAbsent..st @@ -0,0 +1,3 @@ +accessing +at: key ifPresent: aPresentBlock ifAbsent: anAbsentBlock + ^ self currentCache at: key ifPresent: aPresentBlock ifAbsent: anAbsentBlock \ No newline at end of file diff --git a/src/SmartTest.package/SmTBasicCacheStrategy.class/instance/at.put..st b/src/SmartTest.package/SmTBasicCacheStrategy.class/instance/at.put..st new file mode 100644 index 0000000..c7863a2 --- /dev/null +++ b/src/SmartTest.package/SmTBasicCacheStrategy.class/instance/at.put..st @@ -0,0 +1,3 @@ +accessing +at: aMethodReference put: aCacheElement + ^ self currentCache at: aMethodReference put: aCacheElement \ No newline at end of file diff --git a/src/SmartTest.package/SmTBasicCacheStrategy.class/instance/currentCache.st b/src/SmartTest.package/SmTBasicCacheStrategy.class/instance/currentCache.st new file mode 100644 index 0000000..08e8c1a --- /dev/null +++ b/src/SmartTest.package/SmTBasicCacheStrategy.class/instance/currentCache.st @@ -0,0 +1,3 @@ +accessing +currentCache + ^ cache \ No newline at end of file diff --git a/src/SmartTest.package/SmTBasicCacheStrategy.class/instance/relevantTestsFor..st b/src/SmartTest.package/SmTBasicCacheStrategy.class/instance/relevantTestsFor..st new file mode 100644 index 0000000..018ab01 --- /dev/null +++ b/src/SmartTest.package/SmTBasicCacheStrategy.class/instance/relevantTestsFor..st @@ -0,0 +1,3 @@ +private +relevantTestsFor: aCompiledMethod + ^ self currentCache at: aCompiledMethod methodReference ifAbsentPut: [ Set new ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTBasicCacheStrategy.class/instance/searchTestsForMethodReference..st b/src/SmartTest.package/SmTBasicCacheStrategy.class/instance/searchTestsForMethodReference..st new file mode 100644 index 0000000..5a4bbd4 --- /dev/null +++ b/src/SmartTest.package/SmTBasicCacheStrategy.class/instance/searchTestsForMethodReference..st @@ -0,0 +1,3 @@ +private +searchTestsForMethodReference: aMethodReference + ^ self currentCache at: aMethodReference ifAbsentPut: [ Set new ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTBasicCacheStrategy.class/properties.json b/src/SmartTest.package/SmTBasicCacheStrategy.class/properties.json new file mode 100644 index 0000000..8842049 --- /dev/null +++ b/src/SmartTest.package/SmTBasicCacheStrategy.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "EleonoreWALD 5/3/2018 10:13", + "super" : "SmTCacheStrategy", + "category" : "SmartTest-Cache", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTBasicCacheStrategy", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest.package/SmTCacheStrategy.class/README.md b/src/SmartTest.package/SmTCacheStrategy.class/README.md new file mode 100644 index 0000000..25cf40d --- /dev/null +++ b/src/SmartTest.package/SmTCacheStrategy.class/README.md @@ -0,0 +1 @@ +This setting defines how the cache should behave. \ No newline at end of file diff --git a/src/SmartTest.package/SmTCacheStrategy.class/instance/at..st b/src/SmartTest.package/SmTCacheStrategy.class/instance/at..st new file mode 100644 index 0000000..3994dcf --- /dev/null +++ b/src/SmartTest.package/SmTCacheStrategy.class/instance/at..st @@ -0,0 +1,3 @@ +accessing +at: aMethodReference + self subclassResponsibility \ No newline at end of file diff --git a/src/SmartTest.package/SmTCacheStrategy.class/instance/at.ifAbsent..st b/src/SmartTest.package/SmTCacheStrategy.class/instance/at.ifAbsent..st new file mode 100644 index 0000000..9da5cfb --- /dev/null +++ b/src/SmartTest.package/SmTCacheStrategy.class/instance/at.ifAbsent..st @@ -0,0 +1,3 @@ +accessing +at: aCompiledMethod ifAbsent: aBlock + ^ self subclassResponsibility \ No newline at end of file diff --git a/src/SmartTest.package/SmTCacheStrategy.class/instance/at.ifPresent..st b/src/SmartTest.package/SmTCacheStrategy.class/instance/at.ifPresent..st new file mode 100644 index 0000000..7ae4246 --- /dev/null +++ b/src/SmartTest.package/SmTCacheStrategy.class/instance/at.ifPresent..st @@ -0,0 +1,3 @@ +accessing +at: key ifPresent: aPresentBlock + self subclassResponsibility \ No newline at end of file diff --git a/src/SmartTest.package/SmTCacheStrategy.class/instance/at.ifPresent.ifAbsent..st b/src/SmartTest.package/SmTCacheStrategy.class/instance/at.ifPresent.ifAbsent..st new file mode 100644 index 0000000..16555a1 --- /dev/null +++ b/src/SmartTest.package/SmTCacheStrategy.class/instance/at.ifPresent.ifAbsent..st @@ -0,0 +1,3 @@ +accessing +at: key ifPresent: aPresentBlock ifAbsent: anAbsentBlock + self subclassResponsibility \ No newline at end of file diff --git a/src/SmartTest.package/SmTCacheStrategy.class/instance/at.put..st b/src/SmartTest.package/SmTCacheStrategy.class/instance/at.put..st new file mode 100644 index 0000000..752bcb6 --- /dev/null +++ b/src/SmartTest.package/SmTCacheStrategy.class/instance/at.put..st @@ -0,0 +1,3 @@ +accessing +at: aMethodReference put: aCacheElement + self subclassResponsibility \ No newline at end of file diff --git a/src/SmartTest.package/SmTCacheStrategy.class/instance/cache..st b/src/SmartTest.package/SmTCacheStrategy.class/instance/cache..st new file mode 100644 index 0000000..392d234 --- /dev/null +++ b/src/SmartTest.package/SmTCacheStrategy.class/instance/cache..st @@ -0,0 +1,3 @@ +accessing +cache: aDictionary + cache := aDictionary \ No newline at end of file diff --git a/src/SmartTest.package/SmTCacheStrategy.class/instance/currentCache.st b/src/SmartTest.package/SmTCacheStrategy.class/instance/currentCache.st new file mode 100644 index 0000000..708ad09 --- /dev/null +++ b/src/SmartTest.package/SmTCacheStrategy.class/instance/currentCache.st @@ -0,0 +1,3 @@ +accessing +currentCache + self subclassResponsibility \ No newline at end of file diff --git a/src/SmartTest.package/SmTCacheStrategy.class/instance/disable.st b/src/SmartTest.package/SmTCacheStrategy.class/instance/disable.st new file mode 100644 index 0000000..6327a6d --- /dev/null +++ b/src/SmartTest.package/SmTCacheStrategy.class/instance/disable.st @@ -0,0 +1,5 @@ +private +disable + "If you need something to work" + + \ No newline at end of file diff --git a/src/SmartTest.package/SmTCacheStrategy.class/instance/enable.st b/src/SmartTest.package/SmTCacheStrategy.class/instance/enable.st new file mode 100644 index 0000000..8c8013b --- /dev/null +++ b/src/SmartTest.package/SmTCacheStrategy.class/instance/enable.st @@ -0,0 +1,3 @@ +private +enable + "If you need something to work" \ No newline at end of file diff --git a/src/SmartTest.package/SmTCacheStrategy.class/instance/relevantTestsFor..st b/src/SmartTest.package/SmTCacheStrategy.class/instance/relevantTestsFor..st new file mode 100644 index 0000000..bd7fbc5 --- /dev/null +++ b/src/SmartTest.package/SmTCacheStrategy.class/instance/relevantTestsFor..st @@ -0,0 +1,3 @@ +private +relevantTestsFor: aCompiledMethod + self subclassResponsibility \ No newline at end of file diff --git a/src/SmartTest.package/SmTCacheStrategy.class/instance/resetCache.st b/src/SmartTest.package/SmTCacheStrategy.class/instance/resetCache.st new file mode 100644 index 0000000..74c9ba7 --- /dev/null +++ b/src/SmartTest.package/SmTCacheStrategy.class/instance/resetCache.st @@ -0,0 +1,3 @@ +private +resetCache + cache removeAll \ No newline at end of file diff --git a/src/SmartTest.package/SmTCacheStrategy.class/instance/resetCacheForChange..st b/src/SmartTest.package/SmTCacheStrategy.class/instance/resetCacheForChange..st new file mode 100644 index 0000000..29e6ca9 --- /dev/null +++ b/src/SmartTest.package/SmTCacheStrategy.class/instance/resetCacheForChange..st @@ -0,0 +1,3 @@ +private +resetCacheForChange: aChange +self resetCache \ No newline at end of file diff --git a/src/SmartTest.package/SmTCacheStrategy.class/instance/searchTestsForMethodReference..st b/src/SmartTest.package/SmTCacheStrategy.class/instance/searchTestsForMethodReference..st new file mode 100644 index 0000000..8fffffb --- /dev/null +++ b/src/SmartTest.package/SmTCacheStrategy.class/instance/searchTestsForMethodReference..st @@ -0,0 +1,3 @@ +private +searchTestsForMethodReference: aMethodReference + self subclassResponsibility \ No newline at end of file diff --git a/src/SmartTest.package/SmTCacheStrategy.class/properties.json b/src/SmartTest.package/SmTCacheStrategy.class/properties.json new file mode 100644 index 0000000..0645c52 --- /dev/null +++ b/src/SmartTest.package/SmTCacheStrategy.class/properties.json @@ -0,0 +1,13 @@ +{ + "commentStamp" : "EleonoreWALD 5/3/2018 09:58", + "super" : "Object", + "category" : "SmartTest-Cache", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ + "cache" + ], + "name" : "SmTCacheStrategy", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest.package/SmTClassNeedTestsCritique.class/README.md b/src/SmartTest.package/SmTClassNeedTestsCritique.class/README.md new file mode 100644 index 0000000..fc1086f --- /dev/null +++ b/src/SmartTest.package/SmTClassNeedTestsCritique.class/README.md @@ -0,0 +1 @@ +The critique that explains you need to write tests for this class \ No newline at end of file diff --git a/src/SmartTest.package/SmTClassNeedTestsCritique.class/instance/description.st b/src/SmartTest.package/SmTClassNeedTestsCritique.class/instance/description.st new file mode 100644 index 0000000..a8da552 --- /dev/null +++ b/src/SmartTest.package/SmTClassNeedTestsCritique.class/instance/description.st @@ -0,0 +1,3 @@ +accessing +description + ^'You should always write tests your classes to ensure the fiability of your code' \ No newline at end of file diff --git a/src/SmartTest.package/SmTClassNeedTestsCritique.class/instance/title.st b/src/SmartTest.package/SmTClassNeedTestsCritique.class/instance/title.st new file mode 100644 index 0000000..60b4648 --- /dev/null +++ b/src/SmartTest.package/SmTClassNeedTestsCritique.class/instance/title.st @@ -0,0 +1,3 @@ +accessing +title + ^ 'You should write tests for your class' \ No newline at end of file diff --git a/src/SmartTest.package/SmTClassNeedTestsCritique.class/properties.json b/src/SmartTest.package/SmTClassNeedTestsCritique.class/properties.json new file mode 100644 index 0000000..60255e2 --- /dev/null +++ b/src/SmartTest.package/SmTClassNeedTestsCritique.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "BenoitVerhaeghe 6/28/2017 14:17", + "super" : "SmTNeedTestsCritique", + "category" : "SmartTest-Critiques", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTClassNeedTestsCritique", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest.package/SmTClassRelativeTestsCritique.class/README.md b/src/SmartTest.package/SmTClassRelativeTestsCritique.class/README.md new file mode 100644 index 0000000..edf4769 --- /dev/null +++ b/src/SmartTest.package/SmTClassRelativeTestsCritique.class/README.md @@ -0,0 +1 @@ +The critique that explains you need to run test for this class \ No newline at end of file diff --git a/src/SmartTest.package/SmTClassRelativeTestsCritique.class/class/for.by.tests..st b/src/SmartTest.package/SmTClassRelativeTestsCritique.class/class/for.by.tests..st new file mode 100644 index 0000000..43eadaf --- /dev/null +++ b/src/SmartTest.package/SmTClassRelativeTestsCritique.class/class/for.by.tests..st @@ -0,0 +1,5 @@ +instance creation +for: anEntity by: aRule tests: aTestList + ^ self basicNew + initializeRule: aRule target: anEntity testsList: aTestList; + yourself \ No newline at end of file diff --git a/src/SmartTest.package/SmTClassRelativeTestsCritique.class/instance/description.st b/src/SmartTest.package/SmTClassRelativeTestsCritique.class/instance/description.st new file mode 100644 index 0000000..d0f3415 --- /dev/null +++ b/src/SmartTest.package/SmTClassRelativeTestsCritique.class/instance/description.st @@ -0,0 +1,3 @@ +accessing +description + ^'You should always run tests your classes to ensure the fiability of your code' \ No newline at end of file diff --git a/src/SmartTest.package/SmTClassRelativeTestsCritique.class/properties.json b/src/SmartTest.package/SmTClassRelativeTestsCritique.class/properties.json new file mode 100644 index 0000000..23c3738 --- /dev/null +++ b/src/SmartTest.package/SmTClassRelativeTestsCritique.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "BenoitVerhaeghe 6/28/2017 14:17", + "super" : "SmTRelativeTestsCritique", + "category" : "SmartTest-Critiques", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTClassRelativeTestsCritique", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest.package/SmTClassTestedRule.class/README.md b/src/SmartTest.package/SmTClassTestedRule.class/README.md new file mode 100644 index 0000000..b9f6182 --- /dev/null +++ b/src/SmartTest.package/SmTClassTestedRule.class/README.md @@ -0,0 +1 @@ +I check class tests \ No newline at end of file diff --git a/src/SmartTest.package/SmTClassTestedRule.class/class/checksClass.st b/src/SmartTest.package/SmTClassTestedRule.class/class/checksClass.st new file mode 100644 index 0000000..47eecb8 --- /dev/null +++ b/src/SmartTest.package/SmTClassTestedRule.class/class/checksClass.st @@ -0,0 +1,3 @@ +testing-interest +checksClass + ^ true \ No newline at end of file diff --git a/src/SmartTest.package/SmTClassTestedRule.class/class/classActivated..st b/src/SmartTest.package/SmTClassTestedRule.class/class/classActivated..st new file mode 100644 index 0000000..d7a8cac --- /dev/null +++ b/src/SmartTest.package/SmTClassTestedRule.class/class/classActivated..st @@ -0,0 +1,3 @@ +testing-interest +classActivated: aSelector + ClassActivated := aSelector \ No newline at end of file diff --git a/src/SmartTest.package/SmTClassTestedRule.class/class/classActivated.st b/src/SmartTest.package/SmTClassTestedRule.class/class/classActivated.st new file mode 100644 index 0000000..0f3e75d --- /dev/null +++ b/src/SmartTest.package/SmTClassTestedRule.class/class/classActivated.st @@ -0,0 +1,3 @@ +testing-interest +classActivated + ^ ClassActivated ifNil: [ ClassActivated := false ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTClassTestedRule.class/class/initialize.st b/src/SmartTest.package/SmTClassTestedRule.class/class/initialize.st new file mode 100644 index 0000000..3026617 --- /dev/null +++ b/src/SmartTest.package/SmTClassTestedRule.class/class/initialize.st @@ -0,0 +1,3 @@ +testing-interest +initialize + ReRuleManager cleanUp \ No newline at end of file diff --git a/src/SmartTest.package/SmTClassTestedRule.class/class/settingsOn..st b/src/SmartTest.package/SmTClassTestedRule.class/class/settingsOn..st new file mode 100644 index 0000000..0170511 --- /dev/null +++ b/src/SmartTest.package/SmTClassTestedRule.class/class/settingsOn..st @@ -0,0 +1,9 @@ +testing-interest +settingsOn: aBuilder + + (aBuilder setting: #classActivated) + parent: #SmTActivationRenrakuOption; + target: self; + order: 0.1; + label: 'SmartTest class analyse activated'; + description: 'Toogle to activate/disable the analyse for class' \ No newline at end of file diff --git a/src/SmartTest.package/SmTClassTestedRule.class/class/unload.st b/src/SmartTest.package/SmTClassTestedRule.class/class/unload.st new file mode 100644 index 0000000..03c404c --- /dev/null +++ b/src/SmartTest.package/SmTClassTestedRule.class/class/unload.st @@ -0,0 +1,3 @@ +testing-interest +unload + \ No newline at end of file diff --git a/src/SmartTest.package/SmTClassTestedRule.class/instance/basicCheck..st b/src/SmartTest.package/SmTClassTestedRule.class/instance/basicCheck..st new file mode 100644 index 0000000..a37547d --- /dev/null +++ b/src/SmartTest.package/SmTClassTestedRule.class/instance/basicCheck..st @@ -0,0 +1,3 @@ +running +basicCheck: anEntity + ^ (super basicCheck: anEntity) and: [(anEntity isKindOf: Class) and: [ self class classActivated] ] diff --git a/src/SmartTest.package/SmTClassTestedRule.class/instance/check.forCritiquesDo..st b/src/SmartTest.package/SmTClassTestedRule.class/instance/check.forCritiquesDo..st new file mode 100644 index 0000000..1f29228 --- /dev/null +++ b/src/SmartTest.package/SmTClassTestedRule.class/instance/check.forCritiquesDo..st @@ -0,0 +1,7 @@ +enumerating +check: anEntity forCritiquesDo: aCriticBlock + + (self basicCheck: anEntity) + ifTrue: [ (self findTestsForClass: anEntity) isEmpty + ifTrue: [ aCriticBlock value: (SmTClassNeedTestsCritique for: anEntity by: self) ] + ifFalse: [ aCriticBlock value: (SmTClassRelativeTestsCritique for: anEntity by: self tests: self tests) ] ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTClassTestedRule.class/instance/findTestsForClass..st b/src/SmartTest.package/SmTClassTestedRule.class/instance/findTestsForClass..st new file mode 100644 index 0000000..f2ce0c5 --- /dev/null +++ b/src/SmartTest.package/SmTClassTestedRule.class/instance/findTestsForClass..st @@ -0,0 +1,5 @@ +instance creation +findTestsForClass: aClass + | aCollectionOfCompiledTest | + aCollectionOfCompiledTest := self findTestsForMethods: (self methodUsingVariablesOfClass: aClass). + ^tests := aCollectionOfCompiledTest \ No newline at end of file diff --git a/src/SmartTest.package/SmTClassTestedRule.class/instance/findTestsForMethods..st b/src/SmartTest.package/SmTClassTestedRule.class/instance/findTestsForMethods..st new file mode 100644 index 0000000..56bbd80 --- /dev/null +++ b/src/SmartTest.package/SmTClassTestedRule.class/instance/findTestsForMethods..st @@ -0,0 +1,3 @@ +instance creation +findTestsForMethods: aCollectionOfCompiledMethod + ^tests := aCollectionOfCompiledMethod flatCollect: [ :aCompiledMethod | self findTestsForMethod: aCompiledMethod] \ No newline at end of file diff --git a/src/SmartTest.package/SmTClassTestedRule.class/instance/methodUsingVariablesOfClass..st b/src/SmartTest.package/SmTClassTestedRule.class/instance/methodUsingVariablesOfClass..st new file mode 100644 index 0000000..370bbe8 --- /dev/null +++ b/src/SmartTest.package/SmTClassTestedRule.class/instance/methodUsingVariablesOfClass..st @@ -0,0 +1,7 @@ +running +methodUsingVariablesOfClass: aClass + | aSet | + aSet := Set new. + aSet addAll: (aClass classLayout allVisibleSlots flatCollect: #usingMethods). +" aSet addAll: ((aClass classVariables flatCollect: #usingMethods) collect: #compiledMethod)." + ^tests := aSet \ No newline at end of file diff --git a/src/SmartTest.package/SmTClassTestedRule.class/instance/name.st b/src/SmartTest.package/SmTClassTestedRule.class/instance/name.st new file mode 100644 index 0000000..c8ff170 --- /dev/null +++ b/src/SmartTest.package/SmTClassTestedRule.class/instance/name.st @@ -0,0 +1,3 @@ +accessing +name + ^ 'SmartTest Class Tested' \ No newline at end of file diff --git a/src/SmartTest.package/SmTClassTestedRule.class/properties.json b/src/SmartTest.package/SmTClassTestedRule.class/properties.json new file mode 100644 index 0000000..bc56384 --- /dev/null +++ b/src/SmartTest.package/SmTClassTestedRule.class/properties.json @@ -0,0 +1,13 @@ +{ + "commentStamp" : "BenoitVerhaeghe 6/28/2017 11:58", + "super" : "SmTRules", + "category" : "SmartTest-Rules", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ + "ClassActivated" + ], + "instvars" : [ ], + "name" : "SmTClassTestedRule", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest.package/SmTDefaultClassPackagesFilter.class/README.md b/src/SmartTest.package/SmTDefaultClassPackagesFilter.class/README.md new file mode 100644 index 0000000..99cd23e --- /dev/null +++ b/src/SmartTest.package/SmTDefaultClassPackagesFilter.class/README.md @@ -0,0 +1 @@ +This filter looks in the packages of all methods that reference the class of the changed entity (method or class) diff --git a/src/SmartTest.package/SmTDefaultClassPackagesFilter.class/instance/extractPackagesFrom..st b/src/SmartTest.package/SmTDefaultClassPackagesFilter.class/instance/extractPackagesFrom..st new file mode 100644 index 0000000..cb3f9f5 --- /dev/null +++ b/src/SmartTest.package/SmTDefaultClassPackagesFilter.class/instance/extractPackagesFrom..st @@ -0,0 +1,11 @@ +accessing +extractPackagesFrom: anEntity + "This method is supposed to find (in addition of the supermethod) for the compiled method: + - the packages of the senders of the compiled method + - the packages that contains at least one method of the compiled method class" + | packages class| + packages := (super extractPackagesFrom: anEntity) asSet. + (anEntity isClass) ifTrue: [ class := anEntity ]ifFalse:[class := anEntity methodClass]. + class allCallsOn do: [ :rgMethod | packages add: (self extractCompiledMethodPackageBaseName: rgMethod compiledMethod) ]. + class extendingPackages do: [ :aPackage | packages add: (self extractCompiledMethodPackageBaseName: aPackage) ]. + ^ packages \ No newline at end of file diff --git a/src/SmartTest.package/SmTDefaultClassPackagesFilter.class/properties.json b/src/SmartTest.package/SmTDefaultClassPackagesFilter.class/properties.json new file mode 100644 index 0000000..31d6243 --- /dev/null +++ b/src/SmartTest.package/SmTDefaultClassPackagesFilter.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "EleonoreWALD 5/3/2018 17:57", + "super" : "SmTDefaultPackagesFilter", + "category" : "SmartTest-Filter", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTDefaultClassPackagesFilter", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest.package/SmTDefaultPackagesFilter.class/README.md b/src/SmartTest.package/SmTDefaultPackagesFilter.class/README.md new file mode 100644 index 0000000..908b109 --- /dev/null +++ b/src/SmartTest.package/SmTDefaultPackagesFilter.class/README.md @@ -0,0 +1 @@ +This filter only looks in the package owning the changed entity (method or class) \ No newline at end of file diff --git a/src/SmartTest.package/SmTDefaultPackagesFilter.class/class/settingsOn..st b/src/SmartTest.package/SmTDefaultPackagesFilter.class/class/settingsOn..st new file mode 100644 index 0000000..7cec5d9 --- /dev/null +++ b/src/SmartTest.package/SmTDefaultPackagesFilter.class/class/settingsOn..st @@ -0,0 +1,4 @@ +settings +settingsOn: aBuilder + + (aBuilder group: #SmTFilter) parent: #SmartFinder; order: 0.6 \ No newline at end of file diff --git a/src/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractClassPackageBaseName..st b/src/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractClassPackageBaseName..st new file mode 100644 index 0000000..238c898 --- /dev/null +++ b/src/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractClassPackageBaseName..st @@ -0,0 +1,3 @@ +parsing +extractClassPackageBaseName: aClass + ^ self extractPackageBaseName: aClass package name \ No newline at end of file diff --git a/src/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractCompiledMethodPackageBaseName..st b/src/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractCompiledMethodPackageBaseName..st new file mode 100644 index 0000000..8481512 --- /dev/null +++ b/src/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractCompiledMethodPackageBaseName..st @@ -0,0 +1,3 @@ +parsing +extractCompiledMethodPackageBaseName: aCompiledMethod + ^ self extractPackageBaseName: aCompiledMethod package packageName \ No newline at end of file diff --git a/src/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractMethodDefinitionPackageBaseName..st b/src/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractMethodDefinitionPackageBaseName..st new file mode 100644 index 0000000..3f9cdc8 --- /dev/null +++ b/src/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractMethodDefinitionPackageBaseName..st @@ -0,0 +1,3 @@ +parsing +extractMethodDefinitionPackageBaseName: aRGMethodDefinition + ^ self extractPackageBaseName: aRGMethodDefinition package realPackage packageName \ No newline at end of file diff --git a/src/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractPackageBaseName..st b/src/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractPackageBaseName..st new file mode 100644 index 0000000..0e63598 --- /dev/null +++ b/src/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractPackageBaseName..st @@ -0,0 +1,3 @@ +parsing +extractPackageBaseName: aPackageName + ^(aPackageName substrings: '-') at: 1 \ No newline at end of file diff --git a/src/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractPackagesFrom..st b/src/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractPackagesFrom..st new file mode 100644 index 0000000..6ce0201 --- /dev/null +++ b/src/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractPackagesFrom..st @@ -0,0 +1,14 @@ +accessing +extractPackagesFrom: anEntity + "Thid method find: + - the package of the classes that owned the method + - the package that contains the method if its an extension" + + | packages | + packages := Set new. + anEntity isClass + ifTrue: [ packages add: (self extractClassPackageBaseName: anEntity)] + ifFalse: [ packages := {(self extractCompiledMethodPackageBaseName: anEntity)} asSet. + anEntity isExtension + ifTrue: [ anEntity package extendedClasses do: [ :aClass | packages add: aClass package name ] ] ]. + ^ packages \ No newline at end of file diff --git a/src/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractPackagesFromTrait..st b/src/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractPackagesFromTrait..st new file mode 100644 index 0000000..1f41232 --- /dev/null +++ b/src/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractPackagesFromTrait..st @@ -0,0 +1,3 @@ +asserting +extractPackagesFromTrait: aTrait + ^ self extractPackageBaseName: aTrait package name \ No newline at end of file diff --git a/src/SmartTest.package/SmTDefaultPackagesFilter.class/instance/shouldEntityBeFilteredOut.inPackages..st b/src/SmartTest.package/SmTDefaultPackagesFilter.class/instance/shouldEntityBeFilteredOut.inPackages..st new file mode 100644 index 0000000..fdfc70f --- /dev/null +++ b/src/SmartTest.package/SmTDefaultPackagesFilter.class/instance/shouldEntityBeFilteredOut.inPackages..st @@ -0,0 +1,5 @@ +asserting +shouldEntityBeFilteredOut: anEntity inPackages: packages + "(anEntity methodClass allCallsOn collect: #ciPackage) not." + (anEntity isClass )ifTrue: [^(packages includes: (anEntity package name)) not]. + ^ (packages includes: (self extractMethodDefinitionPackageBaseName: anEntity )) not \ No newline at end of file diff --git a/src/SmartTest.package/SmTDefaultPackagesFilter.class/properties.json b/src/SmartTest.package/SmTDefaultPackagesFilter.class/properties.json new file mode 100644 index 0000000..b0332df --- /dev/null +++ b/src/SmartTest.package/SmTDefaultPackagesFilter.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "EleonoreWALD 5/3/2018 17:53", + "super" : "SmTFilterStrategy", + "category" : "SmartTest-Filter", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTDefaultPackagesFilter", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest.package/SmTEventRecipient.class/README.md b/src/SmartTest.package/SmTEventRecipient.class/README.md new file mode 100644 index 0000000..78dc8c8 --- /dev/null +++ b/src/SmartTest.package/SmTEventRecipient.class/README.md @@ -0,0 +1 @@ +I collect tests, run tests and notify the big button of my work \ No newline at end of file diff --git a/src/SmartTest.package/SmTEventRecipient.class/instance/actionForEvent.fromMorph..st b/src/SmartTest.package/SmTEventRecipient.class/instance/actionForEvent.fromMorph..st new file mode 100644 index 0000000..671b1a1 --- /dev/null +++ b/src/SmartTest.package/SmTEventRecipient.class/instance/actionForEvent.fromMorph..st @@ -0,0 +1,3 @@ +action +actionForEvent: anEvent fromMorph: aMorph + self runTestAndShowProgressIn: aMorph \ No newline at end of file diff --git a/src/SmartTest.package/SmTEventRecipient.class/instance/runTestAndShowProgressIn..st b/src/SmartTest.package/SmTEventRecipient.class/instance/runTestAndShowProgressIn..st new file mode 100644 index 0000000..124d352 --- /dev/null +++ b/src/SmartTest.package/SmTEventRecipient.class/instance/runTestAndShowProgressIn..st @@ -0,0 +1,2 @@ +action +runTestAndShowProgressIn: aMorph \ No newline at end of file diff --git a/src/SmartTest.package/SmTEventRecipient.class/properties.json b/src/SmartTest.package/SmTEventRecipient.class/properties.json new file mode 100644 index 0000000..0c605a9 --- /dev/null +++ b/src/SmartTest.package/SmTEventRecipient.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "EleonoreWALD 5/3/2018 17:47", + "super" : "Object", + "category" : "SmartTest-Event", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTEventRecipient", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest.package/SmTFilterStrategy.class/README.md b/src/SmartTest.package/SmTFilterStrategy.class/README.md new file mode 100644 index 0000000..c49b801 --- /dev/null +++ b/src/SmartTest.package/SmTFilterStrategy.class/README.md @@ -0,0 +1 @@ +This class is used to define the filter used by SmartTest. \ No newline at end of file diff --git a/src/SmartTest.package/SmTFilterStrategy.class/instance/extractPackagesFrom..st b/src/SmartTest.package/SmTFilterStrategy.class/instance/extractPackagesFrom..st new file mode 100644 index 0000000..8943843 --- /dev/null +++ b/src/SmartTest.package/SmTFilterStrategy.class/instance/extractPackagesFrom..st @@ -0,0 +1,3 @@ +asserting +extractPackagesFrom: aCompiledMethod + "Can be implemented to init the filter for a specific research" \ No newline at end of file diff --git a/src/SmartTest.package/SmTFilterStrategy.class/instance/shouldEntityBeFilteredOut.inPackages..st b/src/SmartTest.package/SmTFilterStrategy.class/instance/shouldEntityBeFilteredOut.inPackages..st new file mode 100644 index 0000000..b67367d --- /dev/null +++ b/src/SmartTest.package/SmTFilterStrategy.class/instance/shouldEntityBeFilteredOut.inPackages..st @@ -0,0 +1,3 @@ +asserting +shouldEntityBeFilteredOut: anEntity inPackages: anObject + self subclassResponsibility \ No newline at end of file diff --git a/src/SmartTest.package/SmTFilterStrategy.class/properties.json b/src/SmartTest.package/SmTFilterStrategy.class/properties.json new file mode 100644 index 0000000..32d945f --- /dev/null +++ b/src/SmartTest.package/SmTFilterStrategy.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "EleonoreWALD 5/2/2018 10:19", + "super" : "Object", + "category" : "SmartTest-Filter", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTFilterStrategy", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest.package/SmTIcebergLoadedPackagesFilter.class/README.md b/src/SmartTest.package/SmTIcebergLoadedPackagesFilter.class/README.md new file mode 100644 index 0000000..aca271c --- /dev/null +++ b/src/SmartTest.package/SmTIcebergLoadedPackagesFilter.class/README.md @@ -0,0 +1 @@ +This filter only looks in the packages that are loaded with Iceberg \ No newline at end of file diff --git a/src/SmartTest.package/SmTIcebergLoadedPackagesFilter.class/instance/extractPackagesFrom..st b/src/SmartTest.package/SmTIcebergLoadedPackagesFilter.class/instance/extractPackagesFrom..st new file mode 100644 index 0000000..5be8a6f --- /dev/null +++ b/src/SmartTest.package/SmTIcebergLoadedPackagesFilter.class/instance/extractPackagesFrom..st @@ -0,0 +1,5 @@ +asserting +extractPackagesFrom: aCompiledMethod + "Can be implemented to init the filter for a specific research" + + ^ ((IceRepository registry reject: [ :registry | registry name = 'pharo' ]) flatCollect: [ :repository | repository loadedPackages]) \ No newline at end of file diff --git a/src/SmartTest.package/SmTIcebergLoadedPackagesFilter.class/instance/shouldEntityBeFilteredOut.inPackages..st b/src/SmartTest.package/SmTIcebergLoadedPackagesFilter.class/instance/shouldEntityBeFilteredOut.inPackages..st new file mode 100644 index 0000000..debb58d --- /dev/null +++ b/src/SmartTest.package/SmTIcebergLoadedPackagesFilter.class/instance/shouldEntityBeFilteredOut.inPackages..st @@ -0,0 +1,3 @@ +asserting +shouldEntityBeFilteredOut: anEntity inPackages: packages + ^ ((packages collect: #name) includes: anEntity package name) not \ No newline at end of file diff --git a/src/SmartTest.package/SmTIcebergLoadedPackagesFilter.class/properties.json b/src/SmartTest.package/SmTIcebergLoadedPackagesFilter.class/properties.json new file mode 100644 index 0000000..e685cd0 --- /dev/null +++ b/src/SmartTest.package/SmTIcebergLoadedPackagesFilter.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "EleonoreWALD 5/3/2018 17:58", + "super" : "SmTFilterStrategy", + "category" : "SmartTest-Filter", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTIcebergLoadedPackagesFilter", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodNeedTestsCritique.class/README.md b/src/SmartTest.package/SmTMethodNeedTestsCritique.class/README.md new file mode 100644 index 0000000..48357e7 --- /dev/null +++ b/src/SmartTest.package/SmTMethodNeedTestsCritique.class/README.md @@ -0,0 +1 @@ +The critique that explains you need to write test for a method \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/change.st b/src/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/change.st new file mode 100644 index 0000000..5d9e791 --- /dev/null +++ b/src/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/change.st @@ -0,0 +1,2 @@ +accessing +change \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/description.st b/src/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/description.st new file mode 100644 index 0000000..09b485b --- /dev/null +++ b/src/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/description.st @@ -0,0 +1,3 @@ +accessing +description + ^'You should always test your methods to ensure the fiability of your code' \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/execute.st b/src/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/execute.st new file mode 100644 index 0000000..71e52fb --- /dev/null +++ b/src/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/execute.st @@ -0,0 +1,3 @@ +accessing +execute + SmTTestGenerator new generateTestMethodFor: self sourceAnchor entity \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/nameToDisplay.st b/src/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/nameToDisplay.st new file mode 100644 index 0000000..91073c9 --- /dev/null +++ b/src/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/nameToDisplay.st @@ -0,0 +1,3 @@ +accessing +nameToDisplay + ^ 'Add a Test for ', self sourceAnchor entity name \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/oldVersionTextToDisplay.st b/src/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/oldVersionTextToDisplay.st new file mode 100644 index 0000000..d116e05 --- /dev/null +++ b/src/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/oldVersionTextToDisplay.st @@ -0,0 +1,3 @@ +accessing +oldVersionTextToDisplay + ^'' \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/providesChange.st b/src/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/providesChange.st new file mode 100644 index 0000000..140b20c --- /dev/null +++ b/src/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/providesChange.st @@ -0,0 +1,3 @@ +testing +providesChange + ^true \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/textToDisplay.st b/src/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/textToDisplay.st new file mode 100644 index 0000000..19220e5 --- /dev/null +++ b/src/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/textToDisplay.st @@ -0,0 +1,3 @@ +accessing +textToDisplay + ^'' \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/title.st b/src/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/title.st new file mode 100644 index 0000000..f9d7034 --- /dev/null +++ b/src/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/title.st @@ -0,0 +1,3 @@ +accessing +title + ^ 'You should write tests for your method' \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/whatToDisplayIn..st b/src/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/whatToDisplayIn..st new file mode 100644 index 0000000..396c583 --- /dev/null +++ b/src/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/whatToDisplayIn..st @@ -0,0 +1,3 @@ +accessing +whatToDisplayIn: aBrowser + ^ { self } \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodNeedTestsCritique.class/properties.json b/src/SmartTest.package/SmTMethodNeedTestsCritique.class/properties.json new file mode 100644 index 0000000..ec1ee9c --- /dev/null +++ b/src/SmartTest.package/SmTMethodNeedTestsCritique.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "BenoitVerhaeghe 6/28/2017 14:16", + "super" : "SmTNeedTestsCritique", + "category" : "SmartTest-Critiques", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTMethodNeedTestsCritique", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodRelativeTestsCritique.class/README.md b/src/SmartTest.package/SmTMethodRelativeTestsCritique.class/README.md new file mode 100644 index 0000000..6f27049 --- /dev/null +++ b/src/SmartTest.package/SmTMethodRelativeTestsCritique.class/README.md @@ -0,0 +1 @@ +The critique that explains you should run test for this method \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodRelativeTestsCritique.class/class/for.by.tests..st b/src/SmartTest.package/SmTMethodRelativeTestsCritique.class/class/for.by.tests..st new file mode 100644 index 0000000..43eadaf --- /dev/null +++ b/src/SmartTest.package/SmTMethodRelativeTestsCritique.class/class/for.by.tests..st @@ -0,0 +1,5 @@ +instance creation +for: anEntity by: aRule tests: aTestList + ^ self basicNew + initializeRule: aRule target: anEntity testsList: aTestList; + yourself \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodRelativeTestsCritique.class/instance/description.st b/src/SmartTest.package/SmTMethodRelativeTestsCritique.class/instance/description.st new file mode 100644 index 0000000..09b485b --- /dev/null +++ b/src/SmartTest.package/SmTMethodRelativeTestsCritique.class/instance/description.st @@ -0,0 +1,3 @@ +accessing +description + ^'You should always test your methods to ensure the fiability of your code' \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodRelativeTestsCritique.class/properties.json b/src/SmartTest.package/SmTMethodRelativeTestsCritique.class/properties.json new file mode 100644 index 0000000..e1eb55d --- /dev/null +++ b/src/SmartTest.package/SmTMethodRelativeTestsCritique.class/properties.json @@ -0,0 +1,13 @@ +{ + "commentStamp" : "BenoitVerhaeghe 6/28/2017 14:16", + "super" : "SmTRelativeTestsCritique", + "category" : "SmartTest-Critiques", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ + "entity" + ], + "name" : "SmTMethodRelativeTestsCritique", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodTestedOnModificationRule.class/README.md b/src/SmartTest.package/SmTMethodTestedOnModificationRule.class/README.md new file mode 100644 index 0000000..e69de29 diff --git a/src/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/addToElementBag..st b/src/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/addToElementBag..st new file mode 100644 index 0000000..6adf3c9 --- /dev/null +++ b/src/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/addToElementBag..st @@ -0,0 +1,3 @@ +protocol +addToElementBag: anElement + self bag add: anElement \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/bag.st b/src/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/bag.st new file mode 100644 index 0000000..e9fc49d --- /dev/null +++ b/src/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/bag.st @@ -0,0 +1,3 @@ +protocol +bag + ^ bag ifNil: [ bag := Bag new ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/disable.st b/src/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/disable.st new file mode 100644 index 0000000..f1b1809 --- /dev/null +++ b/src/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/disable.st @@ -0,0 +1,4 @@ +protocol +disable + super disable. + SystemAnnouncer uniqueInstance unsubscribe: self \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/enable.st b/src/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/enable.st new file mode 100644 index 0000000..4b47cdb --- /dev/null +++ b/src/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/enable.st @@ -0,0 +1,7 @@ +protocol +enable + super enable. + SystemAnnouncer uniqueInstance unsubscribe: self. + {(MethodModified -> #methodModified:). + (MethodAdded -> #methodAdded:)} + do: [ :pair | SystemAnnouncer uniqueInstance weak when: pair key send: pair value to: self ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/getElementFromBag..st b/src/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/getElementFromBag..st new file mode 100644 index 0000000..f20c88f --- /dev/null +++ b/src/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/getElementFromBag..st @@ -0,0 +1,6 @@ +protocol +getElementFromBag: anElement + "return nil if element absent. The object else" + + self bag remove: anElement ifAbsent: [ ^ nil ]. + ^ anElement \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/methodAdded..st b/src/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/methodAdded..st new file mode 100644 index 0000000..b315dbf --- /dev/null +++ b/src/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/methodAdded..st @@ -0,0 +1,3 @@ +protocol +methodAdded: anAnnouncement + self addToElementBag: anAnnouncement methodAdded \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/methodModified..st b/src/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/methodModified..st new file mode 100644 index 0000000..c898bac --- /dev/null +++ b/src/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/methodModified..st @@ -0,0 +1,3 @@ +protocol +methodModified: anAnnouncement + self addToElementBag: anAnnouncement newMethod \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodTestedOnModificationRule.class/instance/basicCheck..st b/src/SmartTest.package/SmTMethodTestedOnModificationRule.class/instance/basicCheck..st new file mode 100644 index 0000000..97f8270 --- /dev/null +++ b/src/SmartTest.package/SmTMethodTestedOnModificationRule.class/instance/basicCheck..st @@ -0,0 +1,4 @@ +accessing +basicCheck: anEntity + ^ (super basicCheck: anEntity) + and: [ (anEntity isKindOf: CompiledMethod) and: [ self class isMethodActivated and: [ (self class getElementFromBag: anEntity) isNotNil ] ] ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodTestedOnModificationRule.class/instance/name.st b/src/SmartTest.package/SmTMethodTestedOnModificationRule.class/instance/name.st new file mode 100644 index 0000000..3dd299b --- /dev/null +++ b/src/SmartTest.package/SmTMethodTestedOnModificationRule.class/instance/name.st @@ -0,0 +1,4 @@ +accessing +name + "Answer a human readable name of the rule." + ^ 'SmartTest Method Tested On modification' \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodTestedOnModificationRule.class/properties.json b/src/SmartTest.package/SmTMethodTestedOnModificationRule.class/properties.json new file mode 100644 index 0000000..bc4c570 --- /dev/null +++ b/src/SmartTest.package/SmTMethodTestedOnModificationRule.class/properties.json @@ -0,0 +1,15 @@ +{ + "commentStamp" : "", + "super" : "SmTMethodTestedRule", + "category" : "SmartTest-Rules", + "classinstvars" : [ + "bag" + ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ + "bag" + ], + "name" : "SmTMethodTestedOnModificationRule", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodTestedRule.class/README.md b/src/SmartTest.package/SmTMethodTestedRule.class/README.md new file mode 100644 index 0000000..dfa0fa1 --- /dev/null +++ b/src/SmartTest.package/SmTMethodTestedRule.class/README.md @@ -0,0 +1 @@ +I check method tests \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodTestedRule.class/class/checksMethod.st b/src/SmartTest.package/SmTMethodTestedRule.class/class/checksMethod.st new file mode 100644 index 0000000..6970277 --- /dev/null +++ b/src/SmartTest.package/SmTMethodTestedRule.class/class/checksMethod.st @@ -0,0 +1,3 @@ +testing-interest +checksMethod + ^ true \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodTestedRule.class/class/disable.st b/src/SmartTest.package/SmTMethodTestedRule.class/class/disable.st new file mode 100644 index 0000000..32459fd --- /dev/null +++ b/src/SmartTest.package/SmTMethodTestedRule.class/class/disable.st @@ -0,0 +1,2 @@ +protocol +disable \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodTestedRule.class/class/enable.st b/src/SmartTest.package/SmTMethodTestedRule.class/class/enable.st new file mode 100644 index 0000000..861d080 --- /dev/null +++ b/src/SmartTest.package/SmTMethodTestedRule.class/class/enable.st @@ -0,0 +1,2 @@ +protocol +enable \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodTestedRule.class/class/initialize.st b/src/SmartTest.package/SmTMethodTestedRule.class/class/initialize.st new file mode 100644 index 0000000..3026617 --- /dev/null +++ b/src/SmartTest.package/SmTMethodTestedRule.class/class/initialize.st @@ -0,0 +1,3 @@ +testing-interest +initialize + ReRuleManager cleanUp \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodTestedRule.class/class/isMethodActivated.st b/src/SmartTest.package/SmTMethodTestedRule.class/class/isMethodActivated.st new file mode 100644 index 0000000..37713f1 --- /dev/null +++ b/src/SmartTest.package/SmTMethodTestedRule.class/class/isMethodActivated.st @@ -0,0 +1,3 @@ +testing-interest +isMethodActivated + ^ self methodActivated and: [ self methodRuleStrategy = self ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodTestedRule.class/class/methodActivated..st b/src/SmartTest.package/SmTMethodTestedRule.class/class/methodActivated..st new file mode 100644 index 0000000..176ab21 --- /dev/null +++ b/src/SmartTest.package/SmTMethodTestedRule.class/class/methodActivated..st @@ -0,0 +1,3 @@ +testing-interest +methodActivated: aSelector + MethodActivated := aSelector \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodTestedRule.class/class/methodActivated.st b/src/SmartTest.package/SmTMethodTestedRule.class/class/methodActivated.st new file mode 100644 index 0000000..08d58ce --- /dev/null +++ b/src/SmartTest.package/SmTMethodTestedRule.class/class/methodActivated.st @@ -0,0 +1,3 @@ +testing-interest +methodActivated + ^ MethodActivated ifNil: [ MethodActivated := true ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodTestedRule.class/class/methodRuleStrategy..st b/src/SmartTest.package/SmTMethodTestedRule.class/class/methodRuleStrategy..st new file mode 100644 index 0000000..e9419d7 --- /dev/null +++ b/src/SmartTest.package/SmTMethodTestedRule.class/class/methodRuleStrategy..st @@ -0,0 +1,5 @@ +accessing +methodRuleStrategy: aMethodRuleStrategy + methodRuleStrategy disable. + methodRuleStrategy := aMethodRuleStrategy. + aMethodRuleStrategy enable \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodTestedRule.class/class/methodRuleStrategy.st b/src/SmartTest.package/SmTMethodTestedRule.class/class/methodRuleStrategy.st new file mode 100644 index 0000000..cfef0a2 --- /dev/null +++ b/src/SmartTest.package/SmTMethodTestedRule.class/class/methodRuleStrategy.st @@ -0,0 +1,3 @@ +accessing +methodRuleStrategy + ^ methodRuleStrategy ifNil: [ methodRuleStrategy := SmTMethodTestedOnModificationRule. methodRuleStrategy enable ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodTestedRule.class/class/settingsOn..st b/src/SmartTest.package/SmTMethodTestedRule.class/class/settingsOn..st new file mode 100644 index 0000000..a3984db --- /dev/null +++ b/src/SmartTest.package/SmTMethodTestedRule.class/class/settingsOn..st @@ -0,0 +1,16 @@ +testing-interest +settingsOn: aBuilder + + (aBuilder setting: #methodActivated) + parent: #SmTActivationRenrakuOption; + target: self; + order: 0.2; + label: 'SmartTest method analyse activated'; + description: 'Toogle to activate/disable the analyse for method'. + (aBuilder pickOne: #methodRuleStrategy) + order: 0.3; + parent: #SmTActivationRenrakuOption; + label: 'Method Rule'; + target: self; + domainValues: SmTMethodTestedRule withAllSubclasses; + description: 'Select Rule strategy to begin the research of element' \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodTestedRule.class/class/unload.st b/src/SmartTest.package/SmTMethodTestedRule.class/class/unload.st new file mode 100644 index 0000000..51f3b8a --- /dev/null +++ b/src/SmartTest.package/SmTMethodTestedRule.class/class/unload.st @@ -0,0 +1,3 @@ +initialization-release +unload + self disable \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodTestedRule.class/instance/basicCheck..st b/src/SmartTest.package/SmTMethodTestedRule.class/instance/basicCheck..st new file mode 100644 index 0000000..6f8642c --- /dev/null +++ b/src/SmartTest.package/SmTMethodTestedRule.class/instance/basicCheck..st @@ -0,0 +1,3 @@ +running +basicCheck: anEntity + ^ (super basicCheck: anEntity) and: [ (anEntity isKindOf: CompiledMethod) and: [ self class isMethodActivated ] ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodTestedRule.class/instance/check.forCritiquesDo..st b/src/SmartTest.package/SmTMethodTestedRule.class/instance/check.forCritiquesDo..st new file mode 100644 index 0000000..63bb6df --- /dev/null +++ b/src/SmartTest.package/SmTMethodTestedRule.class/instance/check.forCritiquesDo..st @@ -0,0 +1,7 @@ +enumerating +check: anEntity forCritiquesDo: aCriticBlock + (self basicCheck: anEntity) + ifTrue: [ (self findTestsForMethod: anEntity) isEmpty + ifTrue: [ aCriticBlock value: (SmTMethodNeedTestsCritique for: anEntity by: self) ] + ifFalse: [ aCriticBlock + value: (SmTMethodRelativeTestsCritique for: anEntity by: self tests: self tests) ] ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodTestedRule.class/instance/isVisible.st b/src/SmartTest.package/SmTMethodTestedRule.class/instance/isVisible.st new file mode 100644 index 0000000..80558d3 --- /dev/null +++ b/src/SmartTest.package/SmTMethodTestedRule.class/instance/isVisible.st @@ -0,0 +1,3 @@ +running +isVisible + ^ true \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodTestedRule.class/instance/name.st b/src/SmartTest.package/SmTMethodTestedRule.class/instance/name.st new file mode 100644 index 0000000..5afc357 --- /dev/null +++ b/src/SmartTest.package/SmTMethodTestedRule.class/instance/name.st @@ -0,0 +1,3 @@ +running +name + ^ 'SmartTest Method Tested' \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodTestedRule.class/properties.json b/src/SmartTest.package/SmTMethodTestedRule.class/properties.json new file mode 100644 index 0000000..b9625e4 --- /dev/null +++ b/src/SmartTest.package/SmTMethodTestedRule.class/properties.json @@ -0,0 +1,15 @@ +{ + "commentStamp" : "BenoitVerhaeghe 6/28/2017 11:57", + "super" : "SmTRules", + "category" : "SmartTest-Rules", + "classinstvars" : [ + "methodRuleStrategy" + ], + "pools" : [ ], + "classvars" : [ + "MethodActivated" + ], + "instvars" : [ ], + "name" : "SmTMethodTestedRule", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest.package/SmTNeedTestsCritique.class/README.md b/src/SmartTest.package/SmTNeedTestsCritique.class/README.md new file mode 100644 index 0000000..fac3200 --- /dev/null +++ b/src/SmartTest.package/SmTNeedTestsCritique.class/README.md @@ -0,0 +1 @@ +I represent a critique when there are no tests for an entity \ No newline at end of file diff --git a/src/SmartTest.package/SmTNeedTestsCritique.class/instance/description.st b/src/SmartTest.package/SmTNeedTestsCritique.class/instance/description.st new file mode 100644 index 0000000..f9cc81c --- /dev/null +++ b/src/SmartTest.package/SmTNeedTestsCritique.class/instance/description.st @@ -0,0 +1,3 @@ +accessing +description + self subclassResponsibility \ No newline at end of file diff --git a/src/SmartTest.package/SmTNeedTestsCritique.class/instance/icon.st b/src/SmartTest.package/SmTNeedTestsCritique.class/instance/icon.st new file mode 100644 index 0000000..c1a5ac0 --- /dev/null +++ b/src/SmartTest.package/SmTNeedTestsCritique.class/instance/icon.st @@ -0,0 +1,3 @@ +accessing +icon + ^#warning asIcon \ No newline at end of file diff --git a/src/SmartTest.package/SmTNeedTestsCritique.class/instance/providesChange.st b/src/SmartTest.package/SmTNeedTestsCritique.class/instance/providesChange.st new file mode 100644 index 0000000..823c0e5 --- /dev/null +++ b/src/SmartTest.package/SmTNeedTestsCritique.class/instance/providesChange.st @@ -0,0 +1,3 @@ +testing +providesChange + ^false \ No newline at end of file diff --git a/src/SmartTest.package/SmTNeedTestsCritique.class/instance/title.st b/src/SmartTest.package/SmTNeedTestsCritique.class/instance/title.st new file mode 100644 index 0000000..e531037 --- /dev/null +++ b/src/SmartTest.package/SmTNeedTestsCritique.class/instance/title.st @@ -0,0 +1,3 @@ +accessing +title + self subclassResponsibility \ No newline at end of file diff --git a/src/SmartTest.package/SmTNeedTestsCritique.class/properties.json b/src/SmartTest.package/SmTNeedTestsCritique.class/properties.json new file mode 100644 index 0000000..b2b1fa6 --- /dev/null +++ b/src/SmartTest.package/SmTNeedTestsCritique.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "BenoitVerhaeghe 7/4/2017 10:06", + "super" : "ReAbstractCritique", + "category" : "SmartTest-Critiques", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTNeedTestsCritique", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest.package/SmTNoCacheStrategy.class/README.md b/src/SmartTest.package/SmTNoCacheStrategy.class/README.md new file mode 100644 index 0000000..ae56a32 --- /dev/null +++ b/src/SmartTest.package/SmTNoCacheStrategy.class/README.md @@ -0,0 +1 @@ +This strategy never adds the tests found to the cache. \ No newline at end of file diff --git a/src/SmartTest.package/SmTNoCacheStrategy.class/instance/at..st b/src/SmartTest.package/SmTNoCacheStrategy.class/instance/at..st new file mode 100644 index 0000000..ce8949d --- /dev/null +++ b/src/SmartTest.package/SmTNoCacheStrategy.class/instance/at..st @@ -0,0 +1,3 @@ +accessing +at: aMethodReference + ^ Set new \ No newline at end of file diff --git a/src/SmartTest.package/SmTNoCacheStrategy.class/instance/at.ifAbsent..st b/src/SmartTest.package/SmTNoCacheStrategy.class/instance/at.ifAbsent..st new file mode 100644 index 0000000..85485da --- /dev/null +++ b/src/SmartTest.package/SmTNoCacheStrategy.class/instance/at.ifAbsent..st @@ -0,0 +1,3 @@ +accessing +at: aCompiled ifAbsent: aBlock + ^ aBlock value \ No newline at end of file diff --git a/src/SmartTest.package/SmTNoCacheStrategy.class/instance/at.ifPresent..st b/src/SmartTest.package/SmTNoCacheStrategy.class/instance/at.ifPresent..st new file mode 100644 index 0000000..e532dde --- /dev/null +++ b/src/SmartTest.package/SmTNoCacheStrategy.class/instance/at.ifPresent..st @@ -0,0 +1,3 @@ +accessing +at: aMethodReference ifPresent: aPresentBlock + ^ nil \ No newline at end of file diff --git a/src/SmartTest.package/SmTNoCacheStrategy.class/instance/at.ifPresent.ifAbsent..st b/src/SmartTest.package/SmTNoCacheStrategy.class/instance/at.ifPresent.ifAbsent..st new file mode 100644 index 0000000..1790837 --- /dev/null +++ b/src/SmartTest.package/SmTNoCacheStrategy.class/instance/at.ifPresent.ifAbsent..st @@ -0,0 +1,3 @@ +accessing +at: key ifPresent: aPresentBlock ifAbsent: anAbsentBlock + ^ anAbsentBlock value \ No newline at end of file diff --git a/src/SmartTest.package/SmTNoCacheStrategy.class/instance/at.put..st b/src/SmartTest.package/SmTNoCacheStrategy.class/instance/at.put..st new file mode 100644 index 0000000..4040fef --- /dev/null +++ b/src/SmartTest.package/SmTNoCacheStrategy.class/instance/at.put..st @@ -0,0 +1,3 @@ +accessing +at: aMethodReference put: aCacheElement + ^ self \ No newline at end of file diff --git a/src/SmartTest.package/SmTNoCacheStrategy.class/instance/currentCache.st b/src/SmartTest.package/SmTNoCacheStrategy.class/instance/currentCache.st new file mode 100644 index 0000000..dc9533e --- /dev/null +++ b/src/SmartTest.package/SmTNoCacheStrategy.class/instance/currentCache.st @@ -0,0 +1,3 @@ +accessing +currentCache + ^ Dictionary new \ No newline at end of file diff --git a/src/SmartTest.package/SmTNoCacheStrategy.class/instance/relevantTestsFor..st b/src/SmartTest.package/SmTNoCacheStrategy.class/instance/relevantTestsFor..st new file mode 100644 index 0000000..c47ce96 --- /dev/null +++ b/src/SmartTest.package/SmTNoCacheStrategy.class/instance/relevantTestsFor..st @@ -0,0 +1,3 @@ +private +relevantTestsFor: aCompiledMethod + ^ Set new \ No newline at end of file diff --git a/src/SmartTest.package/SmTNoCacheStrategy.class/instance/searchTestsForMethodReference..st b/src/SmartTest.package/SmTNoCacheStrategy.class/instance/searchTestsForMethodReference..st new file mode 100644 index 0000000..f30a1fa --- /dev/null +++ b/src/SmartTest.package/SmTNoCacheStrategy.class/instance/searchTestsForMethodReference..st @@ -0,0 +1,3 @@ +private +searchTestsForMethodReference: aMethodReference + ^ Set new \ No newline at end of file diff --git a/src/SmartTest.package/SmTNoCacheStrategy.class/properties.json b/src/SmartTest.package/SmTNoCacheStrategy.class/properties.json new file mode 100644 index 0000000..d1bc08f --- /dev/null +++ b/src/SmartTest.package/SmTNoCacheStrategy.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "EleonoreWALD 5/3/2018 10:01", + "super" : "SmTCacheStrategy", + "category" : "SmartTest-Cache", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTNoCacheStrategy", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest.package/SmTNoFilter.class/README.md b/src/SmartTest.package/SmTNoFilter.class/README.md new file mode 100644 index 0000000..a22b544 --- /dev/null +++ b/src/SmartTest.package/SmTNoFilter.class/README.md @@ -0,0 +1 @@ +This filter is "useless" because it does not filter anything: it looks everywhere in the image \ No newline at end of file diff --git a/src/SmartTest.package/SmTNoFilter.class/instance/shouldEntityBeFilteredOut.inPackages..st b/src/SmartTest.package/SmTNoFilter.class/instance/shouldEntityBeFilteredOut.inPackages..st new file mode 100644 index 0000000..cd37653 --- /dev/null +++ b/src/SmartTest.package/SmTNoFilter.class/instance/shouldEntityBeFilteredOut.inPackages..st @@ -0,0 +1,5 @@ +asserting +shouldEntityBeFilteredOut: anEntity inPackages: anObject + "(anEntity methodClass allCallsOn collect: #ciPackage) not." + + ^ false \ No newline at end of file diff --git a/src/SmartTest.package/SmTNoFilter.class/properties.json b/src/SmartTest.package/SmTNoFilter.class/properties.json new file mode 100644 index 0000000..c2bbcf0 --- /dev/null +++ b/src/SmartTest.package/SmTNoFilter.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "EleonoreWALD 5/3/2018 17:59", + "super" : "SmTFilterStrategy", + "category" : "SmartTest-Filter", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTNoFilter", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/README.md b/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/README.md new file mode 100644 index 0000000..ec5d680 --- /dev/null +++ b/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/README.md @@ -0,0 +1,2 @@ +I'm a dynamic finder. +I use the meta link to discover the coverage of Test \ No newline at end of file diff --git a/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/class/isConcreteFinder.st b/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/class/isConcreteFinder.st new file mode 100644 index 0000000..37fb41d --- /dev/null +++ b/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/class/isConcreteFinder.st @@ -0,0 +1,3 @@ +testing +isConcreteFinder + ^ true \ No newline at end of file diff --git a/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/analyseAndRemoveProxyFor..st b/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/analyseAndRemoveProxyFor..st new file mode 100644 index 0000000..e7eebe3 --- /dev/null +++ b/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/analyseAndRemoveProxyFor..st @@ -0,0 +1,3 @@ +api +analyseAndRemoveProxyFor: aTestCase + MetaLink uninstallAll \ No newline at end of file diff --git a/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/buildCacheFromTestSuite..st b/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/buildCacheFromTestSuite..st new file mode 100644 index 0000000..77049d9 --- /dev/null +++ b/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/buildCacheFromTestSuite..st @@ -0,0 +1,4 @@ +api +buildCacheFromTestSuite: aTestSuite + aTestSuite flatCollectTests do: [ :aTestCase | self installProxyFor: aTestCase. aTestCase run ]. + MetaLink uninstallAll \ No newline at end of file diff --git a/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/collectAllRelativePackages..st b/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/collectAllRelativePackages..st new file mode 100644 index 0000000..4518d8a --- /dev/null +++ b/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/collectAllRelativePackages..st @@ -0,0 +1,3 @@ +search +collectAllRelativePackages: aByteString + ^ RPackageOrganizer default packages select: [ :a | (self filter extractPackageBaseName: a packageName) = aByteString ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/collectRelativeTestMethodOfMethods..st b/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/collectRelativeTestMethodOfMethods..st new file mode 100644 index 0000000..11d57b9 --- /dev/null +++ b/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/collectRelativeTestMethodOfMethods..st @@ -0,0 +1,7 @@ +search +collectRelativeTestMethodOfMethods: methods + ^ (((methods collect: [ :aMethod | aMethod asTestMethod ]) + select: [ :aTestMethod | aTestMethod isNotNil ]) + reject: [ :aTestMethod | self isCORAMethodBlacklisted: aTestMethod ]) + asSet + collect: [ :method | method methodClass selector: method selector ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/extractCompiledMethodFromReceiver.andSelector..st b/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/extractCompiledMethodFromReceiver.andSelector..st new file mode 100644 index 0000000..a2c0813 --- /dev/null +++ b/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/extractCompiledMethodFromReceiver.andSelector..st @@ -0,0 +1,4 @@ +api +extractCompiledMethodFromReceiver: receiver andSelector: selector + " (self class environment at: aSendNode receiver methodNode compiledMethod) lookupSelector: aSendNode selector" + ^ receiver class lookupSelector: selector \ No newline at end of file diff --git a/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/extractCurrentTestExecutionFromContext..st b/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/extractCurrentTestExecutionFromContext..st new file mode 100644 index 0000000..3eea595 --- /dev/null +++ b/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/extractCurrentTestExecutionFromContext..st @@ -0,0 +1,6 @@ +api +extractCurrentTestExecutionFromContext: ctxt + | aTestCase aCompiledTestCase | + aTestCase := ctxt arguments at: 1. + aCompiledTestCase := aTestCase class >> aTestCase selector. + ^ aCompiledTestCase compiledMethod \ No newline at end of file diff --git a/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/initializeLink.st b/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/initializeLink.st new file mode 100644 index 0000000..108907a --- /dev/null +++ b/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/initializeLink.st @@ -0,0 +1,14 @@ +initialization +initializeLink + | link | + link := MetaLink new + metaObject: [ :ctxt | + | aCompiledTestCase | + aCompiledTestCase := self extractCurrentTestExecutionFromContext: ctxt. + self initializeLinkInCompiledMethod: aCompiledTestCase. + self currentTestExecution: aCompiledTestCase ]; + selector: #value:; + arguments: #(context); + level: 0; + optionOneShot: true. + (TestExecutionEnvironment >> #runTestCase:) ast link: link \ No newline at end of file diff --git a/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/initializeLinkInCompiledMethod..st b/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/initializeLinkInCompiledMethod..st new file mode 100644 index 0000000..16f53cc --- /dev/null +++ b/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/initializeLinkInCompiledMethod..st @@ -0,0 +1,15 @@ +initialization +initializeLinkInCompiledMethod: aCompiledMethod + | link | + link := MetaLink new + metaObject: [ :receiver :selector | + | receiverCompiledMethod | + receiverCompiledMethod := self extractCompiledMethodFromReceiver: receiver andSelector: selector. + (self isCompiledMethod: receiverCompiledMethod alreadyExploredForTest: self currentTestExecution) + ifFalse: [ self initializeLinkInCompiledMethod: receiverCompiledMethod ]. + self addATest: self currentTestExecution toMethod: receiverCompiledMethod ]; + selector: #value:value:; + arguments: #(receiver selector); + level: 0; + optionOneShot: true. + aCompiledMethod sendNodes do: [ :node | node link: link ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/installLinkAndRunTest..st b/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/installLinkAndRunTest..st new file mode 100644 index 0000000..b33c55b --- /dev/null +++ b/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/installLinkAndRunTest..st @@ -0,0 +1,9 @@ +api +installLinkAndRunTest: aTestMethod + | testEnv | + self currentTestExecution: aTestMethod. + self initializeLinkInCompiledMethod: (aTestMethod class >> aTestMethod selector). + + testEnv := TestExecutionEnvironment new. + [testEnv beActiveDuring: [ + testEnv runTestCase: aTestMethod]] on: Exception do: [ ]. \ No newline at end of file diff --git a/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/installProxyFor..st b/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/installProxyFor..st new file mode 100644 index 0000000..91f5b58 --- /dev/null +++ b/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/installProxyFor..st @@ -0,0 +1,5 @@ +api +installProxyFor: aTestCase + self currentTestExecution: aTestCase. + self addATest: aTestCase toMethod: aTestCase. + self initializeLinkInCompiledMethod: aTestCase class >> aTestCase selector \ No newline at end of file diff --git a/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/isCORAMethodBlacklisted..st b/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/isCORAMethodBlacklisted..st new file mode 100644 index 0000000..b5ebb25 --- /dev/null +++ b/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/isCORAMethodBlacklisted..st @@ -0,0 +1,3 @@ +testing +isCORAMethodBlacklisted: aCompiledMethod + ^ (aCompiledMethod pragmaAt: #CORATestBlacklisted) isNotNil \ No newline at end of file diff --git a/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/isCompiledMethod.alreadyExploredForTest..st b/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/isCompiledMethod.alreadyExploredForTest..st new file mode 100644 index 0000000..1c9c5d0 --- /dev/null +++ b/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/isCompiledMethod.alreadyExploredForTest..st @@ -0,0 +1,6 @@ +testing +isCompiledMethod: receiverCompiledMethod alreadyExploredForTest: testInstance + self cache + at: receiverCompiledMethod methodReference + ifPresent: [ :aSetOfTestInstance | ^ aSetOfTestInstance includes: (testInstance class >> testInstance selector) methodReference ] + ifAbsent: [ ^ false ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/methodsInSimilarPackageAs..st b/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/methodsInSimilarPackageAs..st new file mode 100644 index 0000000..3a33eaf --- /dev/null +++ b/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/methodsInSimilarPackageAs..st @@ -0,0 +1,8 @@ +private +methodsInSimilarPackageAs: aCompiledMethod + + | packageBaseName packages | + packageBaseName := self filter extractCompiledMethodPackageBaseName: aCompiledMethod. + packages := self collectAllRelativePackages: packageBaseName. + ^ packages + flatCollect: [ :aPackage | aPackage package correspondingRPackage methods ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/searchRelativeTestForMethod..st b/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/searchRelativeTestForMethod..st new file mode 100644 index 0000000..d860b54 --- /dev/null +++ b/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/searchRelativeTestForMethod..st @@ -0,0 +1,11 @@ +search +searchRelativeTestForMethod: aCompiledMethod + "Search for only one package and NOT relative others method" + + | methods | + + methods := self methodsInSimilarPackageAs: aCompiledMethod. + ((self collectRelativeTestMethodOfMethods: methods) asOrderedCollection sort: [ :a :b | a printString < b printString ]) + do: [ :aTestMethod | self installLinkAndRunTest: aTestMethod ] + displayingProgress: [ :aClass | 'Processing ' , aClass asString ] + every: 1 \ No newline at end of file diff --git a/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/searchTestsForAStandardMethod..st b/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/searchTestsForAStandardMethod..st new file mode 100644 index 0000000..b7f774b --- /dev/null +++ b/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/searchTestsForAStandardMethod..st @@ -0,0 +1,6 @@ +private +searchTestsForAStandardMethod: aCompiledMethod + self cache + at: aCompiledMethod methodReference + ifAbsent: [ self searchRelativeTestForMethod: aCompiledMethod ]. + ^ (self searchTestsForMethod: aCompiledMethod) collect: #compiledMethod \ No newline at end of file diff --git a/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/properties.json b/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/properties.json new file mode 100644 index 0000000..0d9c006 --- /dev/null +++ b/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "EleonoreWALD 5/2/2018 13:42", + "super" : "SmTTestFinderDynamicStrategy", + "category" : "SmartTest-Finder", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTReflectivityTestFinderStrategy", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest.package/SmTRelativeTestsCritique.class/README.md b/src/SmartTest.package/SmTRelativeTestsCritique.class/README.md new file mode 100644 index 0000000..56ceb36 --- /dev/null +++ b/src/SmartTest.package/SmTRelativeTestsCritique.class/README.md @@ -0,0 +1 @@ +I represent a critique when there are tests to run for an entity \ No newline at end of file diff --git a/src/SmartTest.package/SmTRelativeTestsCritique.class/class/for.by.tests..st b/src/SmartTest.package/SmTRelativeTestsCritique.class/class/for.by.tests..st new file mode 100644 index 0000000..43eadaf --- /dev/null +++ b/src/SmartTest.package/SmTRelativeTestsCritique.class/class/for.by.tests..st @@ -0,0 +1,5 @@ +instance creation +for: anEntity by: aRule tests: aTestList + ^ self basicNew + initializeRule: aRule target: anEntity testsList: aTestList; + yourself \ No newline at end of file diff --git a/src/SmartTest.package/SmTRelativeTestsCritique.class/instance/actions.st b/src/SmartTest.package/SmTRelativeTestsCritique.class/instance/actions.st new file mode 100644 index 0000000..883d9d8 --- /dev/null +++ b/src/SmartTest.package/SmTRelativeTestsCritique.class/instance/actions.st @@ -0,0 +1,10 @@ +actions +actions + ^ super actions + copyWith: + (RePropertyAction new + icon: #smallWindow asIcon; + description: 'Open Tests Selection'; + action: + [ :crit :package | self openTestsWindowWith: tests ]; + yourself) \ No newline at end of file diff --git a/src/SmartTest.package/SmTRelativeTestsCritique.class/instance/description.st b/src/SmartTest.package/SmTRelativeTestsCritique.class/instance/description.st new file mode 100644 index 0000000..f9cc81c --- /dev/null +++ b/src/SmartTest.package/SmTRelativeTestsCritique.class/instance/description.st @@ -0,0 +1,3 @@ +accessing +description + self subclassResponsibility \ No newline at end of file diff --git a/src/SmartTest.package/SmTRelativeTestsCritique.class/instance/icon.st b/src/SmartTest.package/SmTRelativeTestsCritique.class/instance/icon.st new file mode 100644 index 0000000..55351b3 --- /dev/null +++ b/src/SmartTest.package/SmTRelativeTestsCritique.class/instance/icon.st @@ -0,0 +1,4 @@ +accessing +icon + + ^#smallInfo asIcon \ No newline at end of file diff --git a/src/SmartTest.package/SmTRelativeTestsCritique.class/instance/iconicButtons.st b/src/SmartTest.package/SmTRelativeTestsCritique.class/instance/iconicButtons.st new file mode 100644 index 0000000..1b8a590 --- /dev/null +++ b/src/SmartTest.package/SmTRelativeTestsCritique.class/instance/iconicButtons.st @@ -0,0 +1,4 @@ +accessing +iconicButtons + self testButton: (SmTIconFabric createIconForMethods: self tests). + ^ {self testButton} \ No newline at end of file diff --git a/src/SmartTest.package/SmTRelativeTestsCritique.class/instance/initializeRule.target.testsList..st b/src/SmartTest.package/SmTRelativeTestsCritique.class/instance/initializeRule.target.testsList..st new file mode 100644 index 0000000..edae14b --- /dev/null +++ b/src/SmartTest.package/SmTRelativeTestsCritique.class/instance/initializeRule.target.testsList..st @@ -0,0 +1,4 @@ +initialization +initializeRule: aRule target: anEntity testsList: aTestList + self initializeRule: aRule target: anEntity. + tests := aTestList \ No newline at end of file diff --git a/src/SmartTest.package/SmTRelativeTestsCritique.class/instance/openTestsWindowWith..st b/src/SmartTest.package/SmTRelativeTestsCritique.class/instance/openTestsWindowWith..st new file mode 100644 index 0000000..6f45cca --- /dev/null +++ b/src/SmartTest.package/SmTRelativeTestsCritique.class/instance/openTestsWindowWith..st @@ -0,0 +1,6 @@ +actions +openTestsWindowWith: aTestList + | ui | + ui := SmTAutoTestsWindows new. + ui setList: aTestList. + ui openWithSpec. \ No newline at end of file diff --git a/src/SmartTest.package/SmTRelativeTestsCritique.class/instance/providesChange.st b/src/SmartTest.package/SmTRelativeTestsCritique.class/instance/providesChange.st new file mode 100644 index 0000000..823c0e5 --- /dev/null +++ b/src/SmartTest.package/SmTRelativeTestsCritique.class/instance/providesChange.st @@ -0,0 +1,3 @@ +testing +providesChange + ^false \ No newline at end of file diff --git a/src/SmartTest.package/SmTRelativeTestsCritique.class/instance/testButton..st b/src/SmartTest.package/SmTRelativeTestsCritique.class/instance/testButton..st new file mode 100644 index 0000000..112f67d --- /dev/null +++ b/src/SmartTest.package/SmTRelativeTestsCritique.class/instance/testButton..st @@ -0,0 +1,3 @@ +accessing +testButton: anObject + testButton := anObject \ No newline at end of file diff --git a/src/SmartTest.package/SmTRelativeTestsCritique.class/instance/testButton.st b/src/SmartTest.package/SmTRelativeTestsCritique.class/instance/testButton.st new file mode 100644 index 0000000..e6c1b88 --- /dev/null +++ b/src/SmartTest.package/SmTRelativeTestsCritique.class/instance/testButton.st @@ -0,0 +1,3 @@ +accessing +testButton + ^ testButton \ No newline at end of file diff --git a/src/SmartTest.package/SmTRelativeTestsCritique.class/instance/tests..st b/src/SmartTest.package/SmTRelativeTestsCritique.class/instance/tests..st new file mode 100644 index 0000000..36f35ea --- /dev/null +++ b/src/SmartTest.package/SmTRelativeTestsCritique.class/instance/tests..st @@ -0,0 +1,3 @@ +accessing +tests: anObject + tests := anObject \ No newline at end of file diff --git a/src/SmartTest.package/SmTRelativeTestsCritique.class/instance/tests.st b/src/SmartTest.package/SmTRelativeTestsCritique.class/instance/tests.st new file mode 100644 index 0000000..a473a35 --- /dev/null +++ b/src/SmartTest.package/SmTRelativeTestsCritique.class/instance/tests.st @@ -0,0 +1,3 @@ +accessing +tests + ^ tests \ No newline at end of file diff --git a/src/SmartTest.package/SmTRelativeTestsCritique.class/instance/title.st b/src/SmartTest.package/SmTRelativeTestsCritique.class/instance/title.st new file mode 100644 index 0000000..096fe81 --- /dev/null +++ b/src/SmartTest.package/SmTRelativeTestsCritique.class/instance/title.st @@ -0,0 +1,3 @@ +accessing +title + ^ 'You should run these tests' \ No newline at end of file diff --git a/src/SmartTest.package/SmTRelativeTestsCritique.class/properties.json b/src/SmartTest.package/SmTRelativeTestsCritique.class/properties.json new file mode 100644 index 0000000..8d544ee --- /dev/null +++ b/src/SmartTest.package/SmTRelativeTestsCritique.class/properties.json @@ -0,0 +1,14 @@ +{ + "commentStamp" : "BenoitVerhaeghe 7/4/2017 10:06", + "super" : "ReAbstractCritique", + "category" : "SmartTest-Critiques", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ + "tests", + "testButton" + ], + "name" : "SmTRelativeTestsCritique", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest.package/SmTRules.class/README.md b/src/SmartTest.package/SmTRules.class/README.md new file mode 100644 index 0000000..6315e87 --- /dev/null +++ b/src/SmartTest.package/SmTRules.class/README.md @@ -0,0 +1 @@ +I represent a kind of CORA structure \ No newline at end of file diff --git a/src/SmartTest.package/SmTRules.class/class/activated..st b/src/SmartTest.package/SmTRules.class/class/activated..st new file mode 100644 index 0000000..5c94b9e --- /dev/null +++ b/src/SmartTest.package/SmTRules.class/class/activated..st @@ -0,0 +1,3 @@ +settings +activated: aSelector + ^ Activated := aSelector \ No newline at end of file diff --git a/src/SmartTest.package/SmTRules.class/class/activated.st b/src/SmartTest.package/SmTRules.class/class/activated.st new file mode 100644 index 0000000..75af3dc --- /dev/null +++ b/src/SmartTest.package/SmTRules.class/class/activated.st @@ -0,0 +1,3 @@ +settings +activated + ^ Activated ifNil: [ Activated := true ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTRules.class/class/cacheStrategy..st b/src/SmartTest.package/SmTRules.class/class/cacheStrategy..st new file mode 100644 index 0000000..2b3db01 --- /dev/null +++ b/src/SmartTest.package/SmTRules.class/class/cacheStrategy..st @@ -0,0 +1,4 @@ +settings +cacheStrategy: aSelector + self testFinder cacheStrategy: aSelector new. + ^ smTCache := aSelector \ No newline at end of file diff --git a/src/SmartTest.package/SmTRules.class/class/cacheStrategy.st b/src/SmartTest.package/SmTRules.class/class/cacheStrategy.st new file mode 100644 index 0000000..712f025 --- /dev/null +++ b/src/SmartTest.package/SmTRules.class/class/cacheStrategy.st @@ -0,0 +1,3 @@ +settings +cacheStrategy + ^ smTCache ifNil: [ smTCache := SmTBasicCacheStrategy ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTRules.class/class/fillCache.st b/src/SmartTest.package/SmTRules.class/class/fillCache.st new file mode 100644 index 0000000..40e803d --- /dev/null +++ b/src/SmartTest.package/SmTRules.class/class/fillCache.st @@ -0,0 +1,5 @@ +instance creation +fillCache + SmTSelectPackageBrowser openWithSmartFinder: self testFinder + + \ No newline at end of file diff --git a/src/SmartTest.package/SmTRules.class/class/filter..st b/src/SmartTest.package/SmTRules.class/class/filter..st new file mode 100644 index 0000000..8aa4c30 --- /dev/null +++ b/src/SmartTest.package/SmTRules.class/class/filter..st @@ -0,0 +1,5 @@ +settings +filter: aSelector + self testFinder filter: aSelector new. + self propagateRegexToTestFinder. + ^ smTFilter := aSelector \ No newline at end of file diff --git a/src/SmartTest.package/SmTRules.class/class/filter.st b/src/SmartTest.package/SmTRules.class/class/filter.st new file mode 100644 index 0000000..8e793e2 --- /dev/null +++ b/src/SmartTest.package/SmTRules.class/class/filter.st @@ -0,0 +1,3 @@ +settings +filter + ^ smTFilter ifNil: [ smTFilter := SmTIcebergLoadedPackagesFilter ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTRules.class/class/finder..st b/src/SmartTest.package/SmTRules.class/class/finder..st new file mode 100644 index 0000000..b8c687d --- /dev/null +++ b/src/SmartTest.package/SmTRules.class/class/finder..st @@ -0,0 +1,5 @@ +settings +finder: aSelector + smTFinder := aSelector. + self testFinder smtFinder: aSelector new. + ^ smTFinder \ No newline at end of file diff --git a/src/SmartTest.package/SmTRules.class/class/finder.st b/src/SmartTest.package/SmTRules.class/class/finder.st new file mode 100644 index 0000000..4aadb8a --- /dev/null +++ b/src/SmartTest.package/SmTRules.class/class/finder.st @@ -0,0 +1,3 @@ +settings +finder + ^ smTFinder ifNil: [ smTFinder := SmTSenderTestFinderStrategy ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTRules.class/class/packagesRegex..st b/src/SmartTest.package/SmTRules.class/class/packagesRegex..st new file mode 100644 index 0000000..3e917be --- /dev/null +++ b/src/SmartTest.package/SmTRules.class/class/packagesRegex..st @@ -0,0 +1,4 @@ +settings +packagesRegex: aRegexStringCollection + collectionOfRegex := aRegexStringCollection. + self propagateRegexToTestFinder. \ No newline at end of file diff --git a/src/SmartTest.package/SmTRules.class/class/packagesRegex.st b/src/SmartTest.package/SmTRules.class/class/packagesRegex.st new file mode 100644 index 0000000..03131c4 --- /dev/null +++ b/src/SmartTest.package/SmTRules.class/class/packagesRegex.st @@ -0,0 +1,3 @@ +settings +packagesRegex +^ collectionOfRegex ifNil: [ collectionOfRegex := '' ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTRules.class/class/propagateRegexToTestFinder.st b/src/SmartTest.package/SmTRules.class/class/propagateRegexToTestFinder.st new file mode 100644 index 0000000..8604048 --- /dev/null +++ b/src/SmartTest.package/SmTRules.class/class/propagateRegexToTestFinder.st @@ -0,0 +1,4 @@ +settings +propagateRegexToTestFinder + self testFinder filter class = SmTSpecifyPackagesNameFilter + ifTrue: [ self testFinder filter packagesRegex: self packagesRegex ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTRules.class/class/runner..st b/src/SmartTest.package/SmTRules.class/class/runner..st new file mode 100644 index 0000000..9336ee1 --- /dev/null +++ b/src/SmartTest.package/SmTRules.class/class/runner..st @@ -0,0 +1,4 @@ +settings +runner: aSelector + smTTestRunner := aSelector. + self testFinder testRunner: aSelector \ No newline at end of file diff --git a/src/SmartTest.package/SmTRules.class/class/runner.st b/src/SmartTest.package/SmTRules.class/class/runner.st new file mode 100644 index 0000000..1705755 --- /dev/null +++ b/src/SmartTest.package/SmTRules.class/class/runner.st @@ -0,0 +1,3 @@ +settings +runner + ^ smTTestRunner ifNil: [ smTTestRunner := SmTRunnerStrategySmart ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTRules.class/class/settingsOn..st b/src/SmartTest.package/SmTRules.class/class/settingsOn..st new file mode 100644 index 0000000..16cea8e --- /dev/null +++ b/src/SmartTest.package/SmTRules.class/class/settingsOn..st @@ -0,0 +1,97 @@ +settings +settingsOn: aBuilder + + (aBuilder group: #SmartTest) + with: [ (aBuilder group: #SmartFinder) + order: 7; + with: [ (aBuilder pickOne: #finder) + order: 0; + label: 'SmartTest finder'; + target: self; + parent: #SmartFinder; + domainValues: (SmTTestFinderStrategy allSubclasses select: #isConcreteFinder); + description: 'The finder defines how CORA searchs the relative test of a method'. + (aBuilder pickOne: #cacheStrategy) + order: 2; + label: 'SmartTest Cache'; + target: self; + parent: #SmartFinder; + domainValues: SmTCacheStrategy allSubclasses; + description: + 'To visualize the current cache + SmTCacheSettings cache new currentCache'. + (aBuilder pickOne: #runner) + order: 3; + label: 'SmartTest test runner'; + target: self; + parent: #SmartFinder; + domainValues: SmTRunnerStrategy allSubclasses; + description: 'The test runner defines if the tests are run in a debug way or not'. + (aBuilder pickOne: #strategy) + order: 1; + label: 'SmartTest testing strategy'; + target: self; + parent: #SmartFinder; + domainValues: SmTTestingStrategy allSubclasses; + description: 'The testing strategy defines when SmartTest will run the test it has found.'. + (aBuilder pickOne: #filter) + order: 0.5; + label: 'SmartTest filter'; + target: self; + parent: #SmTFilter; + domainValues: SmTFilterStrategy allSubclasses; + description: 'The testing strategy defines when SmartTest will run the test it has found.' ]. + (aBuilder setting: #packagesRegex) + label: 'SmartTest filter Regex configuration'; + target: self; + parent: #SmTFilter; + ghostHelp: 'SmartTe|Star*Wnrs'; + notInStyle; + default: ''; + description: + 'Change the value to scope the package you want to explore. +If you want to check the packages are well detected,run + SmTFilterSpecifyPackageSettings selectedPackage'. + (aBuilder group: #SmTActivationRenrakuOption) + order: 6; + with: [ (aBuilder setting: #activated) + target: self; + order: 0.01; + label: 'SmartTest Reneraku Integration Activated'; + description: 'Toogle to activate/disable the reneraku integration of the plugin' ]. + (aBuilder setting: #shouldTryToFindTestForDynamic) + parent: 'Beta'; + target: self; + order: 0.04; + label: 'Try to find for Dynamic '; + description: + 'When you click in a method, and have selected a Dynamix finder, we''''are updating the cache for it execution + (BETA)'. + (aBuilder group: #fill) + label: 'Fill cache'; + target: self; + parent: #Beta; + dialog: [ SimpleButtonMorph new + target: self; + label: 'Fill cache'; + actionSelector: #fillCache; + themeChanged; + yourself ]; + description: 'Fill the cache with selected package' ]. + (aBuilder group: #reset) + label: 'Reset Cache'; + target: self; + parent: #SmartTest; + order: 9; + dialog: [ SimpleButtonMorph new + target: self testFinder; + label: 'Reset Current SmartTest Cache'; + actionSelector: #resetCache; + themeChanged; + yourself ]; + description: + 'Reset the cache of SmartTest + SmTRules testFinder currentCache'. + (aBuilder group: #Beta) + parent: #SmartTest; + order: 10 \ No newline at end of file diff --git a/src/SmartTest.package/SmTRules.class/class/shouldTryToFindTestForDynamic..st b/src/SmartTest.package/SmTRules.class/class/shouldTryToFindTestForDynamic..st new file mode 100644 index 0000000..20e024b --- /dev/null +++ b/src/SmartTest.package/SmTRules.class/class/shouldTryToFindTestForDynamic..st @@ -0,0 +1,4 @@ +instance creation +shouldTryToFindTestForDynamic: aBoolean + shouldTryToFindTestForDynamic := aBoolean. + self testFinder shouldTryToFindTestForDynamic: aBoolean. \ No newline at end of file diff --git a/src/SmartTest.package/SmTRules.class/class/shouldTryToFindTestForDynamic.st b/src/SmartTest.package/SmTRules.class/class/shouldTryToFindTestForDynamic.st new file mode 100644 index 0000000..468604a --- /dev/null +++ b/src/SmartTest.package/SmTRules.class/class/shouldTryToFindTestForDynamic.st @@ -0,0 +1,3 @@ +instance creation +shouldTryToFindTestForDynamic + ^ shouldTryToFindTestForDynamic ifNil: [ shouldTryToFindTestForDynamic := true ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTRules.class/class/strategy..st b/src/SmartTest.package/SmTRules.class/class/strategy..st new file mode 100644 index 0000000..b52bbd5 --- /dev/null +++ b/src/SmartTest.package/SmTRules.class/class/strategy..st @@ -0,0 +1,4 @@ +settings +strategy: aSelector + smTClassTestingStrategy := aSelector. + self testFinder testingStrategy: aSelector new \ No newline at end of file diff --git a/src/SmartTest.package/SmTRules.class/class/strategy.st b/src/SmartTest.package/SmTRules.class/class/strategy.st new file mode 100644 index 0000000..6f9d9dd --- /dev/null +++ b/src/SmartTest.package/SmTRules.class/class/strategy.st @@ -0,0 +1,3 @@ +settings +strategy + ^ smTClassTestingStrategy ifNil: [ smTClassTestingStrategy := SmTTestingStrategyEachModification ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTRules.class/class/testFinder..st b/src/SmartTest.package/SmTRules.class/class/testFinder..st new file mode 100644 index 0000000..cd3be6d --- /dev/null +++ b/src/SmartTest.package/SmTRules.class/class/testFinder..st @@ -0,0 +1,5 @@ +instance creation +testFinder: aSmTSmartFinder + "It should be used only for tests" + + SmTSmartFinder := aSmTSmartFinder \ No newline at end of file diff --git a/src/SmartTest.package/SmTRules.class/class/testFinder.st b/src/SmartTest.package/SmTRules.class/class/testFinder.st new file mode 100644 index 0000000..752b452 --- /dev/null +++ b/src/SmartTest.package/SmTRules.class/class/testFinder.st @@ -0,0 +1,9 @@ +instance creation +testFinder + ^ SmTSmartFinder ifNil: [ SmTSmartFinder := SmartFinder new + cacheStrategy: self cacheStrategy new; + filter: self filter new; + testRunner: self runner; + smtFinder: self finder new; + testingStrategy: self strategy new; + shouldTryToFindTestForDynamic: self shouldTryToFindTestForDynamic ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTRules.class/class/unload.st b/src/SmartTest.package/SmTRules.class/class/unload.st new file mode 100644 index 0000000..e3b94ca --- /dev/null +++ b/src/SmartTest.package/SmTRules.class/class/unload.st @@ -0,0 +1,3 @@ +initialize - release +unload + self testFinder clean \ No newline at end of file diff --git a/src/SmartTest.package/SmTRules.class/instance/activated.st b/src/SmartTest.package/SmTRules.class/instance/activated.st new file mode 100644 index 0000000..23fa300 --- /dev/null +++ b/src/SmartTest.package/SmTRules.class/instance/activated.st @@ -0,0 +1,3 @@ +accessing +activated + ^ self class activated \ No newline at end of file diff --git a/src/SmartTest.package/SmTRules.class/instance/basicCheck..st b/src/SmartTest.package/SmTRules.class/instance/basicCheck..st new file mode 100644 index 0000000..1957c26 --- /dev/null +++ b/src/SmartTest.package/SmTRules.class/instance/basicCheck..st @@ -0,0 +1,3 @@ +accessing +basicCheck: anEntity + ^ self activated and: [ self isOnNautilusOrCalypso ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTRules.class/instance/findTestsForMethod..st b/src/SmartTest.package/SmTRules.class/instance/findTestsForMethod..st new file mode 100644 index 0000000..2a81bcf --- /dev/null +++ b/src/SmartTest.package/SmTRules.class/instance/findTestsForMethod..st @@ -0,0 +1,3 @@ +initialize-release +findTestsForMethod: aCompiledMethod + ^ tests := self class testFinder findTestsForMethod: aCompiledMethod \ No newline at end of file diff --git a/src/SmartTest.package/SmTRules.class/instance/isOnNautilusOrCalypso.st b/src/SmartTest.package/SmTRules.class/instance/isOnNautilusOrCalypso.st new file mode 100644 index 0000000..2aaade6 --- /dev/null +++ b/src/SmartTest.package/SmTRules.class/instance/isOnNautilusOrCalypso.st @@ -0,0 +1,6 @@ +accessing +isOnNautilusOrCalypso + "20 items means at least Nautilus" + | he | + he := thisContext stack collect: [ :c | c methodClass asString ] . + ^ he anySatisfy: [:el | 'ClyNavigationEnvironment' match: el] \ No newline at end of file diff --git a/src/SmartTest.package/SmTRules.class/instance/isVisible.st b/src/SmartTest.package/SmTRules.class/instance/isVisible.st new file mode 100644 index 0000000..d343d46 --- /dev/null +++ b/src/SmartTest.package/SmTRules.class/instance/isVisible.st @@ -0,0 +1,3 @@ +accessing +isVisible + ^ false \ No newline at end of file diff --git a/src/SmartTest.package/SmTRules.class/instance/severity.st b/src/SmartTest.package/SmTRules.class/instance/severity.st new file mode 100644 index 0000000..77a1f44 --- /dev/null +++ b/src/SmartTest.package/SmTRules.class/instance/severity.st @@ -0,0 +1,4 @@ +accessing +severity + + ^ #information \ No newline at end of file diff --git a/src/SmartTest.package/SmTRules.class/instance/tests.st b/src/SmartTest.package/SmTRules.class/instance/tests.st new file mode 100644 index 0000000..a473a35 --- /dev/null +++ b/src/SmartTest.package/SmTRules.class/instance/tests.st @@ -0,0 +1,3 @@ +accessing +tests + ^ tests \ No newline at end of file diff --git a/src/SmartTest.package/SmTRules.class/properties.json b/src/SmartTest.package/SmTRules.class/properties.json new file mode 100644 index 0000000..149b0e7 --- /dev/null +++ b/src/SmartTest.package/SmTRules.class/properties.json @@ -0,0 +1,25 @@ +{ + "commentStamp" : "BenoitVerhaeghe 7/13/2017 14:21", + "super" : "ReAbstractRule", + "category" : "SmartTest-Rules", + "classinstvars" : [ + "shouldTryToFindTestForDynamic", + "activated", + "smTCache", + "smTClassTestingStrategy", + "smTFilter", + "smTFinder", + "smTTestRunner", + "collectionOfRegex" + ], + "pools" : [ ], + "classvars" : [ + "Activated", + "SmTSmartFinder" + ], + "instvars" : [ + "tests" + ], + "name" : "SmTRules", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest.package/SmTRunnerStrategy.class/README.md b/src/SmartTest.package/SmTRunnerStrategy.class/README.md new file mode 100644 index 0000000..06f2095 --- /dev/null +++ b/src/SmartTest.package/SmTRunnerStrategy.class/README.md @@ -0,0 +1 @@ +I'm a tool which help the plugin to run tests and return the result of them \ No newline at end of file diff --git a/src/SmartTest.package/SmTRunnerStrategy.class/class/colorForTestResultOf..st b/src/SmartTest.package/SmTRunnerStrategy.class/class/colorForTestResultOf..st new file mode 100644 index 0000000..e1be221 --- /dev/null +++ b/src/SmartTest.package/SmTRunnerStrategy.class/class/colorForTestResultOf..st @@ -0,0 +1,9 @@ +accessing +colorForTestResultOf: aTestResult + aTestResult hasErrors + ifTrue: [ ^ Color red ]. + aTestResult hasFailures + ifTrue: [ ^ Color yellow]. + aTestResult hasPassed + ifTrue: [ ^ Color green ]. + ^ Color gray \ No newline at end of file diff --git a/src/SmartTest.package/SmTRunnerStrategy.class/class/iconForTestFromTestCaseHistory..st b/src/SmartTest.package/SmTRunnerStrategy.class/class/iconForTestFromTestCaseHistory..st new file mode 100644 index 0000000..08b9e26 --- /dev/null +++ b/src/SmartTest.package/SmTRunnerStrategy.class/class/iconForTestFromTestCaseHistory..st @@ -0,0 +1,9 @@ +accessing +iconForTestFromTestCaseHistory: aTestCase + (aTestCase class methodRaisedError: aTestCase selector) + ifTrue: [ ^ #testRedIcon ]. + (aTestCase class methodFailed: aTestCase selector) + ifTrue: [ ^ #testYellowIcon ]. + (aTestCase class methodPassed: aTestCase selector) + ifTrue: [ ^ #testGreenIcon ]. + ^ #testNotRunIcon \ No newline at end of file diff --git a/src/SmartTest.package/SmTRunnerStrategy.class/class/iconForTestFromTestsCasesHistory..st b/src/SmartTest.package/SmTRunnerStrategy.class/class/iconForTestFromTestsCasesHistory..st new file mode 100644 index 0000000..08e427d --- /dev/null +++ b/src/SmartTest.package/SmTRunnerStrategy.class/class/iconForTestFromTestsCasesHistory..st @@ -0,0 +1,15 @@ +accessing +iconForTestFromTestsCasesHistory: aCollectionOfTestCase + | iconType tempColor | + iconType := #testNotRunIcon. + aCollectionOfTestCase + do: [ :aTestCase | + tempColor := self iconForTestFromTestCaseHistory: aTestCase. + (tempColor = #testNotRunIcon) + ifTrue: [ ^ #testNotRunIcon ]. + (tempColor = #testRedIcon) + ifTrue: [ iconType := #testRedIcon ]. + (iconType = #testRedIcon) + ifFalse: [ (tempColor = #testYellowIcon) + ifTrue: [ iconType := #testYellowIcon ] ifFalse: [ iconType := tempColor ] ] ]. + ^ iconType \ No newline at end of file diff --git a/src/SmartTest.package/SmTRunnerStrategy.class/class/iconForTestResultOf..st b/src/SmartTest.package/SmTRunnerStrategy.class/class/iconForTestResultOf..st new file mode 100644 index 0000000..27f03fc --- /dev/null +++ b/src/SmartTest.package/SmTRunnerStrategy.class/class/iconForTestResultOf..st @@ -0,0 +1,9 @@ +accessing +iconForTestResultOf: aTestResult + aTestResult hasErrors + ifTrue: [ ^ self iconNamed: #testRedIcon ]. + aTestResult hasFailures + ifTrue: [ ^ self iconNamed: #testYellowIcon ]. + aTestResult hasPassed + ifTrue: [ ^ self iconNamed: #testGreenIcon ]. + ^ self iconNamed: #testNotRunIcon. \ No newline at end of file diff --git a/src/SmartTest.package/SmTRunnerStrategy.class/class/notifyTitle.contents..st b/src/SmartTest.package/SmTRunnerStrategy.class/class/notifyTitle.contents..st new file mode 100644 index 0000000..a3e37b5 --- /dev/null +++ b/src/SmartTest.package/SmTRunnerStrategy.class/class/notifyTitle.contents..st @@ -0,0 +1,19 @@ +action +notifyTitle: title contents: aTestResult + + | contents | + contents := aTestResult tests size > 3 + ifTrue: [ String streamContents: [ :aStream | + aStream + << aTestResult tests size + << ' tests in: '. + (aTestResult tests collect: #class as: Set) + do: [ :eachClass | aStream << eachClass name ] + separatedBy: [ aStream << ', ' ] ] ] + ifFalse: [ aTestResult ]. + + GrowlMorph + openWithLabel: title + contents: contents + backgroundColor: (self colorForTestResultOf: aTestResult ) + labelColor: Color black \ No newline at end of file diff --git a/src/SmartTest.package/SmTRunnerStrategy.class/class/runCase.notifyIcon..st b/src/SmartTest.package/SmTRunnerStrategy.class/class/runCase.notifyIcon..st new file mode 100644 index 0000000..5290675 --- /dev/null +++ b/src/SmartTest.package/SmTRunnerStrategy.class/class/runCase.notifyIcon..st @@ -0,0 +1,11 @@ +action +runCase: aTestMethod notifyIcon: anIcon + | aTestResult | + + aTestResult := TestResult new. + [ aTestResult runCaseForDebug: aTestMethod ] + ensure: [ anIcon labelGraphic: (self iconForTestResultOf: aTestResult) ]. + anIcon labelGraphic: (self iconForTestResultOf: aTestResult). + aTestResult updateResultsInHistory. + self notifyTitle: 'SmartTest Execution' contents: aTestResult. + ^aTestResult. \ No newline at end of file diff --git a/src/SmartTest.package/SmTRunnerStrategy.class/class/runCases..st b/src/SmartTest.package/SmTRunnerStrategy.class/class/runCases..st new file mode 100644 index 0000000..d19e09c --- /dev/null +++ b/src/SmartTest.package/SmTRunnerStrategy.class/class/runCases..st @@ -0,0 +1,8 @@ +action +runCases: aTestCollection + | aTestResult | + aTestResult := TestResult new. + aTestCollection do: [ :aTest |aTestResult runCase: aTest ]. + aTestResult updateResultsInHistory. + self notifyTitle: 'SmartTest Execution' contents: aTestResult. + ^aTestResult \ No newline at end of file diff --git a/src/SmartTest.package/SmTRunnerStrategy.class/class/runCases.notifyIcon..st b/src/SmartTest.package/SmTRunnerStrategy.class/class/runCases.notifyIcon..st new file mode 100644 index 0000000..c03828d --- /dev/null +++ b/src/SmartTest.package/SmTRunnerStrategy.class/class/runCases.notifyIcon..st @@ -0,0 +1,6 @@ +action +runCases: aTestCollection notifyIcon: anIcon + | aTestResult | + aTestResult := self runCases: aTestCollection. + anIcon labelGraphic: (self iconForTestResultOf: aTestResult ) . + ^aTestResult \ No newline at end of file diff --git a/src/SmartTest.package/SmTRunnerStrategy.class/properties.json b/src/SmartTest.package/SmTRunnerStrategy.class/properties.json new file mode 100644 index 0000000..989708f --- /dev/null +++ b/src/SmartTest.package/SmTRunnerStrategy.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "BenoitVerhaeghe 6/28/2017 15:44", + "super" : "Object", + "category" : "SmartTest-Runner", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTRunnerStrategy", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest.package/SmTRunnerStrategyDebug.class/README.md b/src/SmartTest.package/SmTRunnerStrategyDebug.class/README.md new file mode 100644 index 0000000..af06d62 --- /dev/null +++ b/src/SmartTest.package/SmTRunnerStrategyDebug.class/README.md @@ -0,0 +1 @@ +When a test is run by CORA. If it failled, the debugger will open. \ No newline at end of file diff --git a/src/SmartTest.package/SmTRunnerStrategyDebug.class/class/runCases..st b/src/SmartTest.package/SmTRunnerStrategyDebug.class/class/runCases..st new file mode 100644 index 0000000..3d79efc --- /dev/null +++ b/src/SmartTest.package/SmTRunnerStrategyDebug.class/class/runCases..st @@ -0,0 +1,8 @@ +action +runCases: aTestCollection + | aTestResult | + aTestResult := TestResult new. + aTestCollection do: [ :aTest |aTestResult runCaseForDebug: aTest ]. + aTestResult updateResultsInHistory. + self notifyTitle: 'SmartTest Execution' contents: aTestResult. + ^aTestResult \ No newline at end of file diff --git a/src/SmartTest.package/SmTRunnerStrategyDebug.class/properties.json b/src/SmartTest.package/SmTRunnerStrategyDebug.class/properties.json new file mode 100644 index 0000000..2a8af7a --- /dev/null +++ b/src/SmartTest.package/SmTRunnerStrategyDebug.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "BenoitVerhaeghe 7/13/2017 14:20", + "super" : "SmTRunnerStrategy", + "category" : "SmartTest-Runner", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTRunnerStrategyDebug", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest.package/SmTRunnerStrategyNotice.class/README.md b/src/SmartTest.package/SmTRunnerStrategyNotice.class/README.md new file mode 100644 index 0000000..32f3aaa --- /dev/null +++ b/src/SmartTest.package/SmTRunnerStrategyNotice.class/README.md @@ -0,0 +1 @@ +When a test is run by CORA. If it failled, nothing happen \ No newline at end of file diff --git a/src/SmartTest.package/SmTRunnerStrategyNotice.class/class/runCase.notifyIcon..st b/src/SmartTest.package/SmTRunnerStrategyNotice.class/class/runCase.notifyIcon..st new file mode 100644 index 0000000..925fb80 --- /dev/null +++ b/src/SmartTest.package/SmTRunnerStrategyNotice.class/class/runCase.notifyIcon..st @@ -0,0 +1,10 @@ +action +runCase: aTestMethod notifyIcon: anIcon + | aTestResult | + aTestResult := TestResult new. + [ aTestResult runCase: aTestMethod ] + ensure: [ anIcon labelGraphic: (self iconForTestResultOf: aTestResult) ]. + anIcon labelGraphic: (self iconForTestResultOf: aTestResult). + aTestResult updateResultsInHistory. + self notifyTitle: 'SmartTest Execution' contents: aTestResult. + ^aTestResult. \ No newline at end of file diff --git a/src/SmartTest.package/SmTRunnerStrategyNotice.class/properties.json b/src/SmartTest.package/SmTRunnerStrategyNotice.class/properties.json new file mode 100644 index 0000000..9b65280 --- /dev/null +++ b/src/SmartTest.package/SmTRunnerStrategyNotice.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "BenoitVerhaeghe 7/13/2017 14:20", + "super" : "SmTRunnerStrategy", + "category" : "SmartTest-Runner", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTRunnerStrategyNotice", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest.package/SmTRunnerStrategySmart.class/README.md b/src/SmartTest.package/SmTRunnerStrategySmart.class/README.md new file mode 100644 index 0000000..d31f6db --- /dev/null +++ b/src/SmartTest.package/SmTRunnerStrategySmart.class/README.md @@ -0,0 +1 @@ +When a test is run by CORA. If it failled and it was run from the test selection windows, the debugger will open. Nothing else \ No newline at end of file diff --git a/src/SmartTest.package/SmTRunnerStrategySmart.class/properties.json b/src/SmartTest.package/SmTRunnerStrategySmart.class/properties.json new file mode 100644 index 0000000..bb8c246 --- /dev/null +++ b/src/SmartTest.package/SmTRunnerStrategySmart.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "BenoitVerhaeghe 7/13/2017 14:21", + "super" : "SmTRunnerStrategy", + "category" : "SmartTest-Runner", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTRunnerStrategySmart", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest.package/SmTSelectPackageBrowser.class/README.md b/src/SmartTest.package/SmTSelectPackageBrowser.class/README.md new file mode 100644 index 0000000..1a61282 --- /dev/null +++ b/src/SmartTest.package/SmTSelectPackageBrowser.class/README.md @@ -0,0 +1 @@ +I'm a tool that helps in selecting the packages that are going to be searched. \ No newline at end of file diff --git a/src/SmartTest.package/SmTSelectPackageBrowser.class/class/openWithSmartFinder..st b/src/SmartTest.package/SmTSelectPackageBrowser.class/class/openWithSmartFinder..st new file mode 100644 index 0000000..1218ea9 --- /dev/null +++ b/src/SmartTest.package/SmTSelectPackageBrowser.class/class/openWithSmartFinder..st @@ -0,0 +1,6 @@ +opening +openWithSmartFinder: aSmartFinder + self new + smartFinder: aSmartFinder; + items: RPackageOrganizer default packages; + openWithSpec \ No newline at end of file diff --git a/src/SmartTest.package/SmTSelectPackageBrowser.class/instance/addAllItems.st b/src/SmartTest.package/SmTSelectPackageBrowser.class/instance/addAllItems.st new file mode 100644 index 0000000..d442fcb --- /dev/null +++ b/src/SmartTest.package/SmTSelectPackageBrowser.class/instance/addAllItems.st @@ -0,0 +1,8 @@ +api +addAllItems + | tmp | + tmp := self sort: selectedModel listItems withAll: toSelectModel listItems. + selectedModel items: tmp. + toSelectModel items: #(). + toSelectModel updateList. + selectedModel updateList \ No newline at end of file diff --git a/src/SmartTest.package/SmTSelectPackageBrowser.class/instance/addItems.st b/src/SmartTest.package/SmTSelectPackageBrowser.class/instance/addItems.st new file mode 100644 index 0000000..9130793 --- /dev/null +++ b/src/SmartTest.package/SmTSelectPackageBrowser.class/instance/addItems.st @@ -0,0 +1,8 @@ +accessing +addItems + toSelectModel selectedItems + ifNotNil: [ :items | + selectedModel items: (self sort: selectedModel listItems withAll: items). + toSelectModel items: (self sort: toSelectModel listItems withoutAll: items) ]. + toSelectModel updateList. + selectedModel updateList \ No newline at end of file diff --git a/src/SmartTest.package/SmTSelectPackageBrowser.class/instance/createTestSuiteFrom..st b/src/SmartTest.package/SmTSelectPackageBrowser.class/instance/createTestSuiteFrom..st new file mode 100644 index 0000000..e000a0f --- /dev/null +++ b/src/SmartTest.package/SmTSelectPackageBrowser.class/instance/createTestSuiteFrom..st @@ -0,0 +1,6 @@ +api +createTestSuiteFrom: listItem + | testSuite | + testSuite := TestSuite new. + testSuite addTests: ((listItem flatCollect: #methods) select: #isTestMethod thenCollect: #asTestCase). + ^ testSuite \ No newline at end of file diff --git a/src/SmartTest.package/SmTSelectPackageBrowser.class/instance/initialize.st b/src/SmartTest.package/SmTSelectPackageBrowser.class/instance/initialize.st new file mode 100644 index 0000000..f9cc3f2 --- /dev/null +++ b/src/SmartTest.package/SmTSelectPackageBrowser.class/instance/initialize.st @@ -0,0 +1,13 @@ +initialization +initialize + | wrappingBlock testPackage | + super initialize. + toSelectModel := self instantiate: ListPresenter. + selectedModel := self instantiate: ListPresenter. + selectedModel beMultipleSelection. + toSelectModel beMultipleSelection. + wrappingBlock := [ :package | package packageName ]. + toSelectModel displayBlock: wrappingBlock. + selectedModel displayBlock: wrappingBlock. + testPackage := MCWorkingCopy allManagers reject: [ :package | '*Test*' match: package packageName ]. + toSelectModel items: (self sort: (toSelectModel listItems \ testPackage)) \ No newline at end of file diff --git a/src/SmartTest.package/SmTSelectPackageBrowser.class/instance/nextAction.st b/src/SmartTest.package/SmTSelectPackageBrowser.class/instance/nextAction.st new file mode 100644 index 0000000..8f8278d --- /dev/null +++ b/src/SmartTest.package/SmTSelectPackageBrowser.class/instance/nextAction.st @@ -0,0 +1,9 @@ +api +nextAction + | past testSuite | + testSuite := self createTestSuiteFrom: selectedModel listItems. + past := smartFinder smtFinder. + smartFinder smtFinder: SmTReflectivityTestFinderStrategy new. + smartFinder buildCacheFromTestSuite: testSuite. + smartFinder smtFinder: past. + self delete \ No newline at end of file diff --git a/src/SmartTest.package/SmTSelectPackageBrowser.class/instance/removeAllItems.st b/src/SmartTest.package/SmTSelectPackageBrowser.class/instance/removeAllItems.st new file mode 100644 index 0000000..b063120 --- /dev/null +++ b/src/SmartTest.package/SmTSelectPackageBrowser.class/instance/removeAllItems.st @@ -0,0 +1,8 @@ +accessing +removeAllItems + | tmp | + tmp := self sort: toSelectModel listItems withAll: selectedModel listItems. + toSelectModel items: tmp. + selectedModel items: #(). + toSelectModel updateList. + selectedModel updateList \ No newline at end of file diff --git a/src/SmartTest.package/SmTSelectPackageBrowser.class/instance/removeItems.st b/src/SmartTest.package/SmTSelectPackageBrowser.class/instance/removeItems.st new file mode 100644 index 0000000..98920fc --- /dev/null +++ b/src/SmartTest.package/SmTSelectPackageBrowser.class/instance/removeItems.st @@ -0,0 +1,8 @@ +accessing +removeItems + selectedModel selectedItems + ifNotNil: [ :items | + toSelectModel items: (self sort: toSelectModel listItems withAll: items). + selectedModel items: (self sort: selectedModel listItems withoutAll: items) ]. + toSelectModel updateList. + selectedModel updateList \ No newline at end of file diff --git a/src/SmartTest.package/SmTSelectPackageBrowser.class/instance/smartFinder..st b/src/SmartTest.package/SmTSelectPackageBrowser.class/instance/smartFinder..st new file mode 100644 index 0000000..344b9d2 --- /dev/null +++ b/src/SmartTest.package/SmTSelectPackageBrowser.class/instance/smartFinder..st @@ -0,0 +1,3 @@ +accessing +smartFinder: anObject + smartFinder := anObject \ No newline at end of file diff --git a/src/SmartTest.package/SmTSelectPackageBrowser.class/instance/smartFinder.st b/src/SmartTest.package/SmTSelectPackageBrowser.class/instance/smartFinder.st new file mode 100644 index 0000000..c5302f3 --- /dev/null +++ b/src/SmartTest.package/SmTSelectPackageBrowser.class/instance/smartFinder.st @@ -0,0 +1,3 @@ +accessing +smartFinder + ^ smartFinder \ No newline at end of file diff --git a/src/SmartTest.package/SmTSelectPackageBrowser.class/instance/sort..st b/src/SmartTest.package/SmTSelectPackageBrowser.class/instance/sort..st new file mode 100644 index 0000000..1208739 --- /dev/null +++ b/src/SmartTest.package/SmTSelectPackageBrowser.class/instance/sort..st @@ -0,0 +1,3 @@ +accessing +sort: aCollection + ^ aCollection asOrderedCollection sort: [:e1 :e2 | (e1 asString) < (e2 asString)]. \ No newline at end of file diff --git a/src/SmartTest.package/SmTSelectPackageBrowser.class/instance/sort.withAll..st b/src/SmartTest.package/SmTSelectPackageBrowser.class/instance/sort.withAll..st new file mode 100644 index 0000000..6690419 --- /dev/null +++ b/src/SmartTest.package/SmTSelectPackageBrowser.class/instance/sort.withAll..st @@ -0,0 +1,7 @@ +accessing +sort: aCollection withAll: anotherCollection + ^ self + sort: + (aCollection asOrderedCollection + addAll: anotherCollection; + yourself) \ No newline at end of file diff --git a/src/SmartTest.package/SmTSelectPackageBrowser.class/instance/sort.withoutAll..st b/src/SmartTest.package/SmTSelectPackageBrowser.class/instance/sort.withoutAll..st new file mode 100644 index 0000000..560a365 --- /dev/null +++ b/src/SmartTest.package/SmTSelectPackageBrowser.class/instance/sort.withoutAll..st @@ -0,0 +1,7 @@ +accessing +sort: aCollection withoutAll: anotherCollection + ^ self + sort: + (aCollection asOrderedCollection + removeAll: anotherCollection; + yourself) \ No newline at end of file diff --git a/src/SmartTest.package/SmTSelectPackageBrowser.class/properties.json b/src/SmartTest.package/SmTSelectPackageBrowser.class/properties.json new file mode 100644 index 0000000..88e9fbd --- /dev/null +++ b/src/SmartTest.package/SmTSelectPackageBrowser.class/properties.json @@ -0,0 +1,13 @@ +{ + "commentStamp" : "EleonoreWALD 5/3/2018 14:30", + "super" : "SelectBrowser", + "category" : "SmartTest-Tools", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ + "smartFinder" + ], + "name" : "SmTSelectPackageBrowser", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest.package/SmTSenderTestFinderStrategy.class/README.md b/src/SmartTest.package/SmTSenderTestFinderStrategy.class/README.md new file mode 100644 index 0000000..e673479 --- /dev/null +++ b/src/SmartTest.package/SmTSenderTestFinderStrategy.class/README.md @@ -0,0 +1,3 @@ +I work as ChangeImpact. +I'm looking for sender of sender etc. +I'm not well tested, but I'm fast and can help you for quick testing. \ No newline at end of file diff --git a/src/SmartTest.package/SmTSenderTestFinderStrategy.class/class/isConcreteFinder.st b/src/SmartTest.package/SmTSenderTestFinderStrategy.class/class/isConcreteFinder.st new file mode 100644 index 0000000..37fb41d --- /dev/null +++ b/src/SmartTest.package/SmTSenderTestFinderStrategy.class/class/isConcreteFinder.st @@ -0,0 +1,3 @@ +testing +isConcreteFinder + ^ true \ No newline at end of file diff --git a/src/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/collectSenderOfRGMethodeDefintion..st b/src/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/collectSenderOfRGMethodeDefintion..st new file mode 100644 index 0000000..c9067f8 --- /dev/null +++ b/src/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/collectSenderOfRGMethodeDefintion..st @@ -0,0 +1,6 @@ +private - search +collectSenderOfRGMethodeDefintion: aRGMethodDefinition + ^ aRGMethodDefinition isInitializer + ifTrue: [ { SystemNavigation default allReferencesTo: aRGMethodDefinition methodClass binding. + aRGMethodDefinition senders} asSet flattened ] + ifFalse: [ aRGMethodDefinition senders ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/methodsFor.forThePackage..st b/src/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/methodsFor.forThePackage..st new file mode 100644 index 0000000..c0edec8 --- /dev/null +++ b/src/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/methodsFor.forThePackage..st @@ -0,0 +1,28 @@ +api +methodsFor: aCompiledMethod forThePackage: packages + self flag: '24 july 2018 - What is this method ? If useless i or from another project i will remove it'. + + ^ self cache + at: aCompiledMethod methodReference + ifAbsent: [ (self searchTestsForATestMethod: aCompiledMethod) + ifNotEmpty: [ :methods | + ^ (self searchTestsForMethod: aCompiledMethod) + addAll: (self computeInheritedTestFromDiscoveredTest: methods); + yourself ]. + (self searchTestsForASetUpMethod: aCompiledMethod) + ifNotEmpty: [ :methods | + ^ (self searchTestsForMethod: aCompiledMethod) + addAll: (self computeInheritedTestFromDiscoveredTest: methods); + yourself ]. + (self searchTestsForATearDownMethod: aCompiledMethod) + ifNotEmpty: [ :methods | + ^ (self searchTestsForMethod: aCompiledMethod) + addAll: (self computeInheritedTestFromDiscoveredTest: methods); + yourself ]. + (self recursiveSearchForAStandardMethod: (aCompiledMethod asRingDefinition) inPackages: packages ) + ifNotEmpty: [ :methods | + ^ (self searchTestsForMethod: aCompiledMethod) + addAll: (self computeInheritedTestFromDiscoveredTest: methods); + yourself ]. + self cache at: aCompiledMethod methodReference put: Set new. + ^ {} ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAStandardMethod.inPackages..st b/src/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAStandardMethod.inPackages..st new file mode 100644 index 0000000..90ea373 --- /dev/null +++ b/src/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAStandardMethod.inPackages..st @@ -0,0 +1,3 @@ +private - search +recursiveSearchForAStandardMethod: aRGMethodDefinition inPackages: packages + ^ self recursiveSearchForAStandardMethod: aRGMethodDefinition inPackages: packages alreadyVisited: Set new \ No newline at end of file diff --git a/src/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAStandardMethod.inPackages.alreadyVisited..st b/src/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAStandardMethod.inPackages.alreadyVisited..st new file mode 100644 index 0000000..3f09e2c --- /dev/null +++ b/src/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAStandardMethod.inPackages.alreadyVisited..st @@ -0,0 +1,15 @@ +private - search +recursiveSearchForAStandardMethod: aRGMethodDefinition inPackages: packages alreadyVisited: alreadyVisitedMethods + | foundMethods | + self cache at: aRGMethodDefinition ifPresent: [ :a | ^ a ]. + foundMethods := Set new. + (self collectSenderOfRGMethodeDefintion: aRGMethodDefinition) + reject: [ :aSenderMethod | + | reject | + reject := (filter shouldEntityBeFilteredOut: aSenderMethod inPackages: packages) or: [ alreadyVisitedMethods includes: aSenderMethod ]. + alreadyVisitedMethods add: aSenderMethod. + reject ] + thenDo: [ :aSenderRGMethodDefinition | + foundMethods add: aSenderRGMethodDefinition. + foundMethods addAll: (self recursiveSearchForAStandardMethod: aSenderRGMethodDefinition inPackages: packages alreadyVisited: alreadyVisitedMethods) ]. + ^ foundMethods \ No newline at end of file diff --git a/src/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/searchTestsForAStandardMethod..st b/src/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/searchTestsForAStandardMethod..st new file mode 100644 index 0000000..6706616 --- /dev/null +++ b/src/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/searchTestsForAStandardMethod..st @@ -0,0 +1,7 @@ +API +searchTestsForAStandardMethod: aCompiledMethod + | packagesToLookAt | + packagesToLookAt := self filter extractPackagesFrom: aCompiledMethod. + ^ (self + recursiveSearchForAStandardMethod: aCompiledMethod methodReference + inPackages: packagesToLookAt ) select: #isTestMethod \ No newline at end of file diff --git a/src/SmartTest.package/SmTSenderTestFinderStrategy.class/properties.json b/src/SmartTest.package/SmTSenderTestFinderStrategy.class/properties.json new file mode 100644 index 0000000..5a65ea6 --- /dev/null +++ b/src/SmartTest.package/SmTSenderTestFinderStrategy.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "BenoitVerhaeghe 7/13/2017 14:22", + "super" : "SmTTestFinderStrategy", + "category" : "SmartTest-Finder", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTSenderTestFinderStrategy", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest.package/SmTSpecifyPackagesNameFilter.class/README.md b/src/SmartTest.package/SmTSpecifyPackagesNameFilter.class/README.md new file mode 100644 index 0000000..7c2f3e9 --- /dev/null +++ b/src/SmartTest.package/SmTSpecifyPackagesNameFilter.class/README.md @@ -0,0 +1 @@ +This filter only looks in the packages whose names match a given regex \ No newline at end of file diff --git a/src/SmartTest.package/SmTSpecifyPackagesNameFilter.class/class/packagesRegex..st b/src/SmartTest.package/SmTSpecifyPackagesNameFilter.class/class/packagesRegex..st new file mode 100644 index 0000000..cc1e9c6 --- /dev/null +++ b/src/SmartTest.package/SmTSpecifyPackagesNameFilter.class/class/packagesRegex..st @@ -0,0 +1,5 @@ +settings-definition +packagesRegex: aRegexStringCollection + ^ self new + packagesRegex: aRegexStringCollection; + yourself \ No newline at end of file diff --git a/src/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/extractPackagesFrom..st b/src/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/extractPackagesFrom..st new file mode 100644 index 0000000..b6a3a80 --- /dev/null +++ b/src/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/extractPackagesFrom..st @@ -0,0 +1,3 @@ +asserting +extractPackagesFrom: aCompiledMethod + ^ self packages. \ No newline at end of file diff --git a/src/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/packages.st b/src/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/packages.st new file mode 100644 index 0000000..a95f07a --- /dev/null +++ b/src/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/packages.st @@ -0,0 +1,6 @@ +accessing +packages + "Return the collection of package that was find from the settings" + + + ^ self selectedPackages \ No newline at end of file diff --git a/src/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/packagesRegex..st b/src/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/packagesRegex..st new file mode 100644 index 0000000..b85808c --- /dev/null +++ b/src/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/packagesRegex..st @@ -0,0 +1,3 @@ +accessing +packagesRegex: anObject + packagesRegex := anObject \ No newline at end of file diff --git a/src/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/packagesRegex.st b/src/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/packagesRegex.st new file mode 100644 index 0000000..7242357 --- /dev/null +++ b/src/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/packagesRegex.st @@ -0,0 +1,3 @@ +accessing +packagesRegex + ^ packagesRegex \ No newline at end of file diff --git a/src/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/selectedPackages.st b/src/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/selectedPackages.st new file mode 100644 index 0000000..a3134ec --- /dev/null +++ b/src/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/selectedPackages.st @@ -0,0 +1,7 @@ +accessing +selectedPackages + ^ (RPackageOrganizer default packages + flatCollect: [ :package | + package classTags + select: [ :classTag | self packagesRegex asRegex matchesPrefix: classTag categoryName ] + thenCollect: #categoryName ]) asSet \ No newline at end of file diff --git a/src/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/shouldEntityBeFilteredOut.inPackages..st b/src/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/shouldEntityBeFilteredOut.inPackages..st new file mode 100644 index 0000000..3d3f208 --- /dev/null +++ b/src/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/shouldEntityBeFilteredOut.inPackages..st @@ -0,0 +1,5 @@ +accessing +shouldEntityBeFilteredOut: anEntity inPackages: anObject + "(anEntity methodClass allCallsOn collect: #ciPackage) not." + (anEntity isClass) ifTrue:[^ (self packages includes: anEntity category) not]. + ^ (self packages includes: anEntity methodClass category) not \ No newline at end of file diff --git a/src/SmartTest.package/SmTSpecifyPackagesNameFilter.class/properties.json b/src/SmartTest.package/SmTSpecifyPackagesNameFilter.class/properties.json new file mode 100644 index 0000000..27ca52a --- /dev/null +++ b/src/SmartTest.package/SmTSpecifyPackagesNameFilter.class/properties.json @@ -0,0 +1,14 @@ +{ + "commentStamp" : "EleonoreWALD 5/3/2018 18:09", + "super" : "SmTFilterStrategy", + "category" : "SmartTest-Filter", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ + "packagesRegex", + "selectedPackages" + ], + "name" : "SmTSpecifyPackagesNameFilter", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestCoverage.class/README.md b/src/SmartTest.package/SmTTestCoverage.class/README.md new file mode 100644 index 0000000..ad5d226 --- /dev/null +++ b/src/SmartTest.package/SmTTestCoverage.class/README.md @@ -0,0 +1 @@ +I'm a tool that help configure the finder for the TestCoverage strategy. \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestCoverage.class/instance/finder..st b/src/SmartTest.package/SmTTestCoverage.class/instance/finder..st new file mode 100644 index 0000000..18735bb --- /dev/null +++ b/src/SmartTest.package/SmTTestCoverage.class/instance/finder..st @@ -0,0 +1,3 @@ +accessing +finder: aSmTFinder + finder := aSmTFinder \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestCoverage.class/instance/finder.st b/src/SmartTest.package/SmTTestCoverage.class/instance/finder.st new file mode 100644 index 0000000..a435954 --- /dev/null +++ b/src/SmartTest.package/SmTTestCoverage.class/instance/finder.st @@ -0,0 +1,3 @@ +accessing +finder + ^ finder \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestCoverage.class/instance/mark.st b/src/SmartTest.package/SmTTestCoverage.class/instance/mark.st new file mode 100644 index 0000000..68c9ce0 --- /dev/null +++ b/src/SmartTest.package/SmTTestCoverage.class/instance/mark.st @@ -0,0 +1,6 @@ +accessing +mark + hasRun + ifFalse: [ hasRun := true. + self finder + addToCurrentExecutionMethodReference: reference ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestCoverage.class/instance/run.with.in..st b/src/SmartTest.package/SmTTestCoverage.class/instance/run.with.in..st new file mode 100644 index 0000000..7ce6723 --- /dev/null +++ b/src/SmartTest.package/SmTTestCoverage.class/instance/run.with.in..st @@ -0,0 +1,4 @@ +accessing +run: aSelector with: anArray in: aReceiver + self mark. + ^ aReceiver withArgs: anArray executeMethod: method \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestCoverage.class/properties.json b/src/SmartTest.package/SmTTestCoverage.class/properties.json new file mode 100644 index 0000000..f79da6c --- /dev/null +++ b/src/SmartTest.package/SmTTestCoverage.class/properties.json @@ -0,0 +1,13 @@ +{ + "commentStamp" : "EleonoreWALD 5/3/2018 14:29", + "super" : "HDTestCoverage", + "category" : "SmartTest-Tools", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ + "finder" + ], + "name" : "SmTTestCoverage", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/README.md b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/README.md new file mode 100644 index 0000000..df51272 --- /dev/null +++ b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/README.md @@ -0,0 +1,13 @@ +The Wrapper strategy is a dynamic test regression finder. + +It only does the reseach for method one by one. + + ts := TestSuite new. +ts addTest: (SmTClassTest selector: #testMethod1). +ts addTest: (SmTClassTest selector: #testMethod2). +ts addTest: (SmTClassTest selector: #testMethod3). +ts addTest: (SmTClassTest selector: #testMethod4). +sf := SmartFinder new. +sf smtFinder: SmTTestCoverageTestFinderStrategy new. +sf buildCacheFromTestSuite: ts. +sf cacheValues \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/class/collectPackageWithBaseName..st b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/class/collectPackageWithBaseName..st new file mode 100644 index 0000000..53b1a66 --- /dev/null +++ b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/class/collectPackageWithBaseName..st @@ -0,0 +1,3 @@ +protocol +collectPackageWithBaseName: aBaseNamePackage + ^ RPackageOrganizer default packages select: [ :p | aBaseNamePackage,'*' match: p packageName ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/class/collectPackagesFromName..st b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/class/collectPackagesFromName..st new file mode 100644 index 0000000..92f10fc --- /dev/null +++ b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/class/collectPackagesFromName..st @@ -0,0 +1,3 @@ +protocol +collectPackagesFromName: aPackageName + ^ self collectPackageWithBaseName: (self extractPackageBaseName: aPackageName) \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/class/extractPackageBaseName..st b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/class/extractPackageBaseName..st new file mode 100644 index 0000000..8480e2f --- /dev/null +++ b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/class/extractPackageBaseName..st @@ -0,0 +1,3 @@ +protocol +extractPackageBaseName: aPackageName + ^(aPackageName substrings: '-') at: 1 \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/class/isConcreteFinder.st b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/class/isConcreteFinder.st new file mode 100644 index 0000000..32dcc3d --- /dev/null +++ b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/class/isConcreteFinder.st @@ -0,0 +1,3 @@ +protocol +isConcreteFinder + ^ true \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/addATest.toACollectionOfMethod..st b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/addATest.toACollectionOfMethod..st new file mode 100644 index 0000000..bfcc81d --- /dev/null +++ b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/addATest.toACollectionOfMethod..st @@ -0,0 +1,4 @@ +adding +addATest: aTestCase toACollectionOfMethod: aCollectionOfCompiledMethod + aCollectionOfCompiledMethod + do: [ :aCompiledMethod | self addATest: aTestCase toMethod: aCompiledMethod ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/addATest.toMethodReference..st b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/addATest.toMethodReference..st new file mode 100644 index 0000000..e20b9e5 --- /dev/null +++ b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/addATest.toMethodReference..st @@ -0,0 +1,4 @@ +adding +addATest: aTestCase toMethodReference: aMethodReference + (self searchTestsForMethodReference: aMethodReference) + add: aTestCase methodReference \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/addImpactedTestFromWrapper.theTestMethod..st b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/addImpactedTestFromWrapper.theTestMethod..st new file mode 100644 index 0000000..c19cbf2 --- /dev/null +++ b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/addImpactedTestFromWrapper.theTestMethod..st @@ -0,0 +1,8 @@ +adding +addImpactedTestFromWrapper: aTestMethod theTestMethod: wrappers + | suite testRunner | + testRunner := TestRunner new. + suite := TestSuite new. + suite addTest: aTestMethod. + testRunner runSuite: suite. + self updateCacheAndUnmarkFrom: wrappers forMethod: aTestMethod. \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/addRelevantTest.fromMarkedWrappers..st b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/addRelevantTest.fromMarkedWrappers..st new file mode 100644 index 0000000..58a6c1b --- /dev/null +++ b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/addRelevantTest.fromMarkedWrappers..st @@ -0,0 +1,8 @@ +jenkins +addRelevantTest: aTestMethod fromMarkedWrappers: wrappers + | suite testRunner | + testRunner := TestRunner new. + suite := TestSuite new. + suite addTest: aTestMethod. + testRunner runSuite: suite. + self updateCacheAndUnmarkFrom: wrappers forMethod: aTestMethod . diff --git a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/addToCurrentExecutionMethodReference..st b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/addToCurrentExecutionMethodReference..st new file mode 100644 index 0000000..87f382b --- /dev/null +++ b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/addToCurrentExecutionMethodReference..st @@ -0,0 +1,6 @@ +adding +addToCurrentExecutionMethodReference: aMethodReference + | he | + he := thisContext contextStack reject: [ :c | c selector = #DoIt ] thenCollect: [ :a | a method methodReference ]. + ((he includes: self currentTestExecution methodReference) or: [(he collect: #selector) includes: #buildCacheFromTestSuite:]) + ifTrue: [ self addATest: self currentTestExecution toMethodReference: aMethodReference ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/analyseAndRemoveProxyFor..st b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/analyseAndRemoveProxyFor..st new file mode 100644 index 0000000..27544bc --- /dev/null +++ b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/analyseAndRemoveProxyFor..st @@ -0,0 +1,4 @@ +api +analyseAndRemoveProxyFor: aTestCase + (wrappers at: aTestCase) do: [ :each | each uninstall ]. + wrappers removeKey: aTestCase \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/availableMethods.st b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/availableMethods.st new file mode 100644 index 0000000..1a3b680 --- /dev/null +++ b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/availableMethods.st @@ -0,0 +1,9 @@ +accessing +availableMethods + "Collect the methods that can be used with the wrapper to fill completely the methodToTest dictionnary" + ^ (self availablePackages flatCollect: [ :aPackage | aPackage methods ]) + reject: [ :method | + method methodClass = SmTTestCoverage + or: [ method methodClass = SmTTestCoverageTestFinderStrategy + or: [ method methodClass = SmTTestFinderStrategy + or: [ method methodClass = SmTBasicCacheStrategy or: [ method methodClass = HDTestCoverage or: [ method methodClass = SmTTestFinderDynamicStrategy] ] ] ] ] ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/availablePackages.st b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/availablePackages.st new file mode 100644 index 0000000..ea0719c --- /dev/null +++ b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/availablePackages.st @@ -0,0 +1,17 @@ +accessing +availablePackages + "Collect the packages that can be used with the wrapper to fill completely the methodToTest dictionnary" + | availablePackages | + (availablePackages := RPackageOrganizer default packages + reject: [ :package | + (package packageName beginsWith: 'Kernel') + or: [ (package packageName beginsWith: 'Collections') + or: [ (package packageName beginsWith: 'GT') +or: [ (package packageName beginsWith: 'Ring') + or: [ (package packageName beginsWith: 'Regex') + or: [ (package packageName beginsWith: 'Exceptions') + or: [ (package packageName beginsWith: 'SUnit') + or: [ (package packageName beginsWith: 'System') or: [ (package packageName endsWith: 'Tests') + or: [ package packageName includesSubstring: 'HudsonBuildTools20' caseSensitive: false ] ] ] ] ] ] ] ] ] ]) + sort: [ :a :b | a packageName < b packageName ]. + ^ availablePackages \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/availableTestMethods.st b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/availableTestMethods.st new file mode 100644 index 0000000..4f8ede2 --- /dev/null +++ b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/availableTestMethods.st @@ -0,0 +1,4 @@ +accessing +availableTestMethods + "Collect the test methods that can be used with the wrapper to fill completely the methodToTest dictionnary" + ^ (self availableTestPackages flatCollect: [ :aPackage | aPackage methods ]) reject: [ :method | method methodClass = SmTTestCoverage ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/availableTestPackages.st b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/availableTestPackages.st new file mode 100644 index 0000000..c73d77b --- /dev/null +++ b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/availableTestPackages.st @@ -0,0 +1,19 @@ +accessing +availableTestPackages + "Collect the test packages that can be used with the wrapper to fill completely the methodToTest dictionnary" + | availablePackages | + (availablePackages := RPackageOrganizer default packages + reject: [ :package | + (package packageName beginsWith: 'Kernel') + or: [ (package packageName beginsWith: 'Collections') + or: [ (package packageName beginsWith: 'GT') + or: [ (package packageName beginsWith: 'AST') + or: [ (package packageName beginsWith: 'Athens') + or: [ (package packageName beginsWith: 'Ring') + or: [ (package packageName beginsWith: 'Alien') + or: [ (package packageName beginsWith: 'Announcements') + or: [ (package packageName beginsWith: 'Regex') + or: [ (package packageName beginsWith: 'Exceptions') + or: [ (package packageName beginsWith: 'SUnit') or: [ (package packageName beginsWith: 'System') or: [ package packageName includesSubstring: 'HudsonBuildTools20' caseSensitive: false ] ] ] ] ] ] ] ] ] ] ] ] ]) + sort: [ :a :b | a packageName < b packageName ]. + ^ availablePackages \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/buildCacheFromTestSuite..st b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/buildCacheFromTestSuite..st new file mode 100644 index 0000000..7b2adf3 --- /dev/null +++ b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/buildCacheFromTestSuite..st @@ -0,0 +1,27 @@ +api +buildCacheFromTestSuite: aTestSuite +"tr := TestRunner new. +tr open. +testSuites := tr allSelectedTestSuites. +ts := TestSuite new. +(testSuites flatCollect: [ :ts | ts tests ]) do: [ :atest | ts addTest: atest ]. +[sf := SmartFinder new. +sf smtFinder: SmTTestCoverageTestFinderStrategy new. +sf buildCacheFromTestSuite: ts. +sf cacheValues ] timeToRun +" + | listOfPackage methodToWrap | + listOfPackage := (aTestSuite flatCollectTests flatCollect: [ :aTestCase | self class collectPackagesFromName: aTestCase class package name ]) asSet collect: #packageName. + methodToWrap := Set new. + methodToWrap addAll: (self collectMethodToTestForPackagesNamed: listOfPackage). + "methodToWrap addAll: (self collectClassToTestForPackagesNamed: listOfPackage)." + methodToWrap := methodToWrap intersection: self availableMethods. + wrappers at: aTestSuite put: (methodToWrap asOrderedCollection collect: [ :each | (SmTTestCoverage on: each methodReference) finder: self ]). + (wrappers at: aTestSuite) do: [ :each | each install ] "displayingProgress: [ :aClass | 'Installing ' , aClass asString ] every: 1". + aTestSuite flatCollectTests + do: [ :aTestCase | + self currentTestExecution: aTestCase. + self addATest: aTestCase toMethodReference: aTestCase methodReference. + aTestCase run. + (wrappers at: aTestSuite) do: [ :each | each unmark ] ]. + (wrappers at: aTestSuite) do: [ :each | each uninstall ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectAllRelativePackages..st b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectAllRelativePackages..st new file mode 100644 index 0000000..4518d8a --- /dev/null +++ b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectAllRelativePackages..st @@ -0,0 +1,3 @@ +search +collectAllRelativePackages: aByteString + ^ RPackageOrganizer default packages select: [ :a | (self filter extractPackageBaseName: a packageName) = aByteString ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectClassToTestForPackage..st b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectClassToTestForPackage..st new file mode 100644 index 0000000..63169fc --- /dev/null +++ b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectClassToTestForPackage..st @@ -0,0 +1,6 @@ +jenkins +collectClassToTestForPackage: aPackage + (self availablePackages includes: aPackage) + ifTrue: [ ^ (aPackage classes reject: #isTrait) + flatCollect: [ :aClass | SmTClassTestedRule new methodUsingVariablesOfClass: aClass ] ]. + ^ OrderedCollection new \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectClassToTestForPackagesNamed..st b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectClassToTestForPackagesNamed..st new file mode 100644 index 0000000..76f8199 --- /dev/null +++ b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectClassToTestForPackagesNamed..st @@ -0,0 +1,3 @@ +jenkins +collectClassToTestForPackagesNamed: aCollectionOfPackagesNamed + ^ aCollectionOfPackagesNamed flatCollect: [ :aPackageName | self collectClassToTestForPackage: (self getPackageFromName: aPackageName) ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectMethodToTestForPackage..st b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectMethodToTestForPackage..st new file mode 100644 index 0000000..7689e16 --- /dev/null +++ b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectMethodToTestForPackage..st @@ -0,0 +1,3 @@ +jenkins +collectMethodToTestForPackage: aPackage + ^ aPackage methods \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectMethodToTestForPackages..st b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectMethodToTestForPackages..st new file mode 100644 index 0000000..1c71ebd --- /dev/null +++ b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectMethodToTestForPackages..st @@ -0,0 +1,3 @@ +jenkins +collectMethodToTestForPackages: aCollectionOfPackage + ^ aCollectionOfPackage flatCollect: [ :aPackage | self collectMethodToTestForPackage: aPackage ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectMethodToTestForPackagesNamed..st b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectMethodToTestForPackagesNamed..st new file mode 100644 index 0000000..cbbc40c --- /dev/null +++ b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectMethodToTestForPackagesNamed..st @@ -0,0 +1,3 @@ +jenkins +collectMethodToTestForPackagesNamed: aCollectionOfPackagesName + ^ aCollectionOfPackagesName flatCollect: [ :aPackageName | self collectMethodToTestForPackage: (self getPackageFromName: aPackageName ) ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/extractPackageBaseName..st b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/extractPackageBaseName..st new file mode 100644 index 0000000..0e63598 --- /dev/null +++ b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/extractPackageBaseName..st @@ -0,0 +1,3 @@ +parsing +extractPackageBaseName: aPackageName + ^(aPackageName substrings: '-') at: 1 \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/getPackageFromName..st b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/getPackageFromName..st new file mode 100644 index 0000000..ff8adb9 --- /dev/null +++ b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/getPackageFromName..st @@ -0,0 +1,3 @@ +accessing +getPackageFromName: aPackageName + ^ RPackage organizer packageNamed: aPackageName. \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/initialize.st b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/initialize.st new file mode 100644 index 0000000..e2caed1 --- /dev/null +++ b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/initialize.st @@ -0,0 +1,3 @@ +initialization +initialize + wrappers := Dictionary new \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/installProxyFor..st b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/installProxyFor..st new file mode 100644 index 0000000..ee02dce --- /dev/null +++ b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/installProxyFor..st @@ -0,0 +1,19 @@ +api +installProxyFor: aTestCase + | methodToWrap listOfPackage | + self currentTestExecution: aTestCase. + self addATest: aTestCase toMethodReference: aTestCase methodReference. + listOfPackage := OrderedCollection new. + listOfPackage addAll: (SmalltalkImage current packages select: [ :package | package name beginsWith: (self extractPackageBaseName: (aTestCase methodReference compiledMethod package name)) ] ). + methodToWrap := Set new. + methodToWrap addAll: (self collectMethodToTestForPackagesNamed: (listOfPackage collect: #name)). + methodToWrap := methodToWrap intersection: self availableMethods. + wrappers + at: aTestCase + put: + (methodToWrap asOrderedCollection + collect: [ :each | (SmTTestCoverage on: each methodReference) finder: self ]). + ((wrappers at: aTestCase) sort: [ :a :b | a name < b name ]) + do: [ :each | each install ] + displayingProgress: [ :aClass | 'Installing ' , aClass asString ] + every: 1 \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/methodsInSimilarPackageAs..st b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/methodsInSimilarPackageAs..st new file mode 100644 index 0000000..2b77ca3 --- /dev/null +++ b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/methodsInSimilarPackageAs..st @@ -0,0 +1,8 @@ +api +methodsInSimilarPackageAs: aCompiledMethod + + | packageBaseName packages | + packageBaseName := self filter extractCompiledMethodPackageBaseName: aCompiledMethod. + packages := self collectAllRelativePackages: packageBaseName. + ^ packages + flatCollect: [ :aPackage | aPackage methods ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/searchRelativeTestForMethod..st b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/searchRelativeTestForMethod..st new file mode 100644 index 0000000..2c91fe1 --- /dev/null +++ b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/searchRelativeTestForMethod..st @@ -0,0 +1,16 @@ +search +searchRelativeTestForMethod: aCompiledMethod + "Search for only one package and NOT relative others method" + | methods | + methods := self methodsInSimilarPackageAs: aCompiledMethod. + + wrappers := {(HDTestCoverage on: aCompiledMethod methodReference)} asOrderedCollection. + wrappers do: [ :each | each install ]. + [ + + (self collectRelativeTestMethodOfMethods: methods) + do: [ :aTestMethod | self addImpactedTestFromWrapper: aTestMethod theTestMethod: wrappers ] + displayingProgress: [ :aClass | 'Processing ' , aClass asString ] + every: 1 + + ] ensure: [ wrappers do: [ :each | each uninstall ] ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/searchTestsForAStandardMethod..st b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/searchTestsForAStandardMethod..st new file mode 100644 index 0000000..0d11c84 --- /dev/null +++ b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/searchTestsForAStandardMethod..st @@ -0,0 +1,4 @@ +api +searchTestsForAStandardMethod: aCompiledMethod + self searchRelativeTestForMethod: aCompiledMethod. + ^ self searchTestsForMethod: aCompiledMethod \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/searchTestsForClass..st b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/searchTestsForClass..st new file mode 100644 index 0000000..7afb9c2 --- /dev/null +++ b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/searchTestsForClass..st @@ -0,0 +1,13 @@ +api +searchTestsForClass: aClass + "Find all tests in related packages that reference the method's class" + | allSendersClass allTests | + allSendersClass := (aClass allCallsOn + collect: [:aReference| + aReference actualClass]) asSet + select: [:aColectedClass| + (aColectedClass isKindOf: TestCase class) ]. + + allTests := OrderedCollection new. + allSendersClass do: [:aSenderClass| allTests addAll: aSenderClass allTestMethods]. + ^ allTests. \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/updateCacheAndUnmarkFrom.forMethod..st b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/updateCacheAndUnmarkFrom.forMethod..st new file mode 100644 index 0000000..ae36939 --- /dev/null +++ b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/updateCacheAndUnmarkFrom.forMethod..st @@ -0,0 +1,6 @@ +jenkins +updateCacheAndUnmarkFrom: wrappers forMethod: aTestMethod + | aToResetAfterMarkCollection | + aToResetAfterMarkCollection := wrappers select: [ :each | each hasRun ]. + self addATest: aTestMethod toACollectionOfMethod: aToResetAfterMarkCollection. + aToResetAfterMarkCollection do: [ :each | each unmark ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/properties.json b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/properties.json new file mode 100644 index 0000000..60c1e2b --- /dev/null +++ b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/properties.json @@ -0,0 +1,13 @@ +{ + "commentStamp" : "BenoitVerhaeghe 3/15/2018 23:38", + "super" : "SmTTestFinderDynamicStrategy", + "category" : "SmartTest-Finder", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ + "wrappers" + ], + "name" : "SmTTestCoverageTestFinderStrategy", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestFinderDynamicStrategy.class/README.md b/src/SmartTest.package/SmTTestFinderDynamicStrategy.class/README.md new file mode 100644 index 0000000..1180292 --- /dev/null +++ b/src/SmartTest.package/SmTTestFinderDynamicStrategy.class/README.md @@ -0,0 +1,3 @@ +Represent a dynamic strategy + +self todo: #AddDetails \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestFinderDynamicStrategy.class/class/isConcreteFinder.st b/src/SmartTest.package/SmTTestFinderDynamicStrategy.class/class/isConcreteFinder.st new file mode 100644 index 0000000..e5c4805 --- /dev/null +++ b/src/SmartTest.package/SmTTestFinderDynamicStrategy.class/class/isConcreteFinder.st @@ -0,0 +1,3 @@ +testing +isConcreteFinder + ^ false \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/addATest.toMethod..st b/src/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/addATest.toMethod..st new file mode 100644 index 0000000..a88d7d3 --- /dev/null +++ b/src/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/addATest.toMethod..st @@ -0,0 +1,4 @@ +api +addATest: aTestCase toMethod: aCompiledMethod + (self searchTestsForMethod: aCompiledMethod) + add: aTestCase methodReference \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/analyseAndRemoveProxyFor..st b/src/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/analyseAndRemoveProxyFor..st new file mode 100644 index 0000000..760e20a --- /dev/null +++ b/src/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/analyseAndRemoveProxyFor..st @@ -0,0 +1,3 @@ +api +analyseAndRemoveProxyFor: aTestCase + self subclassResponsibility \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/buildCacheFromTestSuite..st b/src/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/buildCacheFromTestSuite..st new file mode 100644 index 0000000..d9db133 --- /dev/null +++ b/src/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/buildCacheFromTestSuite..st @@ -0,0 +1,3 @@ +api +buildCacheFromTestSuite: aTestSuite + self subclassResponsibility \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/currentTestExecution..st b/src/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/currentTestExecution..st new file mode 100644 index 0000000..11fd07c --- /dev/null +++ b/src/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/currentTestExecution..st @@ -0,0 +1,3 @@ +accessing +currentTestExecution: anObject + currentTestExecution := anObject \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/currentTestExecution.st b/src/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/currentTestExecution.st new file mode 100644 index 0000000..7112214 --- /dev/null +++ b/src/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/currentTestExecution.st @@ -0,0 +1,3 @@ +accessing +currentTestExecution + ^ currentTestExecution \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/installProxyFor..st b/src/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/installProxyFor..st new file mode 100644 index 0000000..211b385 --- /dev/null +++ b/src/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/installProxyFor..st @@ -0,0 +1,3 @@ +api +installProxyFor: aTestCase + self subclassResponsibility \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/methodsFor..st b/src/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/methodsFor..st new file mode 100644 index 0000000..540984c --- /dev/null +++ b/src/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/methodsFor..st @@ -0,0 +1,19 @@ +api +methodsFor: aCompiledMethod + | finalFoundMethod | + ^ self cache + at: aCompiledMethod methodReference + ifAbsent: [ (self shouldTryToFindTestForDynamic ) + ifFalse: [ ^ {} ]. + #(#searchTestsForATestMethod: #searchTestsForASetUpMethod: #searchTestsForATearDownMethod: #searchTestsForAStandardMethod:) + do: [ :heuristic | + | methods | + methods := [ self perform: heuristic with: aCompiledMethod ] + on: MessageNotUnderstood + do: [ #() ]. + methods isEmpty + ifFalse: [ finalFoundMethod := self searchTestsForMethod: aCompiledMethod. + finalFoundMethod addAll: (self computeInheritedTestFromDiscoveredTest: methods) asOrderedCollection. + ^ finalFoundMethod ] ]. + self cache at: aCompiledMethod methodReference put: Set new. + ^ {} ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestFinderDynamicStrategy.class/properties.json b/src/SmartTest.package/SmTTestFinderDynamicStrategy.class/properties.json new file mode 100644 index 0000000..57bf357 --- /dev/null +++ b/src/SmartTest.package/SmTTestFinderDynamicStrategy.class/properties.json @@ -0,0 +1,13 @@ +{ + "commentStamp" : "BenoitVerhaeghe 3/14/2018 21:59", + "super" : "SmTTestFinderStrategy", + "category" : "SmartTest-Finder", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ + "currentTestExecution" + ], + "name" : "SmTTestFinderDynamicStrategy", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestFinderStrategy.class/README.md b/src/SmartTest.package/SmTTestFinderStrategy.class/README.md new file mode 100644 index 0000000..f1608a4 --- /dev/null +++ b/src/SmartTest.package/SmTTestFinderStrategy.class/README.md @@ -0,0 +1 @@ +I represent an abstract strategy to find tests exercising some method \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestFinderStrategy.class/class/isConcreteFinder.st b/src/SmartTest.package/SmTTestFinderStrategy.class/class/isConcreteFinder.st new file mode 100644 index 0000000..6fa7dbe --- /dev/null +++ b/src/SmartTest.package/SmTTestFinderStrategy.class/class/isConcreteFinder.st @@ -0,0 +1,3 @@ +protocol +isConcreteFinder + ^ false \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestFinderStrategy.class/instance/cache..st b/src/SmartTest.package/SmTTestFinderStrategy.class/instance/cache..st new file mode 100644 index 0000000..2c80aae --- /dev/null +++ b/src/SmartTest.package/SmTTestFinderStrategy.class/instance/cache..st @@ -0,0 +1,3 @@ +accessing +cache: aSmTCache + cache := aSmTCache \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestFinderStrategy.class/instance/cache.st b/src/SmartTest.package/SmTTestFinderStrategy.class/instance/cache.st new file mode 100644 index 0000000..ad8319d --- /dev/null +++ b/src/SmartTest.package/SmTTestFinderStrategy.class/instance/cache.st @@ -0,0 +1,3 @@ +accessing +cache + ^ cache \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestFinderStrategy.class/instance/computeInheritedTestFromDiscoveredTest..st b/src/SmartTest.package/SmTTestFinderStrategy.class/instance/computeInheritedTestFromDiscoveredTest..st new file mode 100644 index 0000000..ceee394 --- /dev/null +++ b/src/SmartTest.package/SmTTestFinderStrategy.class/instance/computeInheritedTestFromDiscoveredTest..st @@ -0,0 +1,10 @@ +accessing +computeInheritedTestFromDiscoveredTest: aCollectionOfRGDefinitionOfTest + | testList | + testList := OrderedCollection new. + aCollectionOfRGDefinitionOfTest + do: [ :anRGDefinition | + anRGDefinition methodClass isAbstract + ifTrue: [ testList addAll: (self subTestFromRGDefinition: anRGDefinition) ] + ifFalse: [ testList add: anRGDefinition ] ]. + ^ testList asSet \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestFinderStrategy.class/instance/filter..st b/src/SmartTest.package/SmTTestFinderStrategy.class/instance/filter..st new file mode 100644 index 0000000..b9c3f76 --- /dev/null +++ b/src/SmartTest.package/SmTTestFinderStrategy.class/instance/filter..st @@ -0,0 +1,3 @@ +accessing +filter: aSmTFilter + filter := aSmTFilter \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestFinderStrategy.class/instance/filter.st b/src/SmartTest.package/SmTTestFinderStrategy.class/instance/filter.st new file mode 100644 index 0000000..b39a756 --- /dev/null +++ b/src/SmartTest.package/SmTTestFinderStrategy.class/instance/filter.st @@ -0,0 +1,3 @@ +accessing +filter + ^ filter \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestFinderStrategy.class/instance/initialize.st b/src/SmartTest.package/SmTTestFinderStrategy.class/instance/initialize.st new file mode 100644 index 0000000..96cbef9 --- /dev/null +++ b/src/SmartTest.package/SmTTestFinderStrategy.class/instance/initialize.st @@ -0,0 +1,3 @@ +initialization +initialize + self shouldTryToFindTestForDynamic: false \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestFinderStrategy.class/instance/methodToTest..st b/src/SmartTest.package/SmTTestFinderStrategy.class/instance/methodToTest..st new file mode 100644 index 0000000..7d8b26b --- /dev/null +++ b/src/SmartTest.package/SmTTestFinderStrategy.class/instance/methodToTest..st @@ -0,0 +1,3 @@ +accessing +methodToTest: anObject + cache methodToTest: anObject \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestFinderStrategy.class/instance/methodsFor..st b/src/SmartTest.package/SmTTestFinderStrategy.class/instance/methodsFor..st new file mode 100644 index 0000000..0544d36 --- /dev/null +++ b/src/SmartTest.package/SmTTestFinderStrategy.class/instance/methodsFor..st @@ -0,0 +1,26 @@ +api +methodsFor: aCompiledMethod + ^ self cache + at: aCompiledMethod methodReference + ifAbsent: [ (self searchTestsForATestMethod: aCompiledMethod) + ifNotEmpty: [ :methods | + ^ (self searchTestsForMethod: aCompiledMethod) + addAll: (self computeInheritedTestFromDiscoveredTest: methods); + yourself ]. + (self searchTestsForASetUpMethod: aCompiledMethod) + ifNotEmpty: [ :methods | + ^ (self searchTestsForMethod: aCompiledMethod) + addAll: (self computeInheritedTestFromDiscoveredTest: methods); + yourself ]. + (self searchTestsForATearDownMethod: aCompiledMethod) + ifNotEmpty: [ :methods | + ^ (self searchTestsForMethod: aCompiledMethod) + addAll: (self computeInheritedTestFromDiscoveredTest: methods); + yourself ]. + (self searchTestsForAStandardMethod: aCompiledMethod) + ifNotEmpty: [ :methods | + ^ (self searchTestsForMethod: aCompiledMethod) + addAll: (self computeInheritedTestFromDiscoveredTest: methods); + yourself ]. + self cache at: aCompiledMethod methodReference put: Set new. + ^ {} ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestFinderStrategy.class/instance/recursiveSearchForAClass.inPackages..st b/src/SmartTest.package/SmTTestFinderStrategy.class/instance/recursiveSearchForAClass.inPackages..st new file mode 100644 index 0000000..d8d4a71 --- /dev/null +++ b/src/SmartTest.package/SmTTestFinderStrategy.class/instance/recursiveSearchForAClass.inPackages..st @@ -0,0 +1,3 @@ +private - search +recursiveSearchForAClass: aClass inPackages: packagesToLookAt + ^ self recursiveSearchForAClass: aClass inPackages: packagesToLookAt alreadyVisited: Set new \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestFinderStrategy.class/instance/recursiveSearchForAClass.inPackages.alreadyVisited..st b/src/SmartTest.package/SmTTestFinderStrategy.class/instance/recursiveSearchForAClass.inPackages.alreadyVisited..st new file mode 100644 index 0000000..1b70cf9 --- /dev/null +++ b/src/SmartTest.package/SmTTestFinderStrategy.class/instance/recursiveSearchForAClass.inPackages.alreadyVisited..st @@ -0,0 +1,21 @@ +private - search +recursiveSearchForAClass: aClass inPackages: packagesToLookAt alreadyVisited: alreadyVisitedClass + | testsFound allCallsOnClass | + testsFound := Set new. + aClass isTestCase + ifTrue: [ (aClass methods select: [ :aMethod | aMethod isTestMethod ]) do: [ :eachTestMethod | testsFound addAll: (self methodsFor: eachTestMethod) ]. + aClass allTestSelectors do: [ :each | testsFound add: (RGMethodDefinition className: aClass name selector: each isMetaSide: false) ] ]. + testsFound + addAll: + ((aClass allCallsOn select: [ :aCallOn | (filter shouldEntityBeFilteredOut: aCallOn inPackages: packagesToLookAt) not ]) + flatCollect: [ :aRGMethodDefinition | self methodsFor: aRGMethodDefinition compiledMethod]). + aClass subclasses + reject: [ :aSubClass | + | reject | + reject := (filter shouldEntityBeFilteredOut: aSubClass inPackages: packagesToLookAt) or: [ alreadyVisitedClass includes: aSubClass ]. + alreadyVisitedClass add: aSubClass. + reject ] + thenDo: [ :aSubClass | + testsFound add: aSubClass. + testsFound addAll: (self recursiveSearchForAClass: aSubClass inPackages: packagesToLookAt alreadyVisited: alreadyVisitedClass) ]. + ^ testsFound \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForAClass..st b/src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForAClass..st new file mode 100644 index 0000000..0e73de2 --- /dev/null +++ b/src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForAClass..st @@ -0,0 +1,5 @@ +accessing +searchTestsForAClass: aClass + | packagesToLookAt | + packagesToLookAt := self filter extractPackagesFrom: aClass. + ^ self recursiveSearchForAClass: aClass inPackages: packagesToLookAt \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForAInstVar..st b/src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForAInstVar..st new file mode 100644 index 0000000..c6c6211 --- /dev/null +++ b/src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForAInstVar..st @@ -0,0 +1,7 @@ +accessing +searchTestsForAInstVar: aInstVar + "This method returns all the tests related to a instance variable." + + | testsFound | + testsFound := Set new. + ^ testsFound \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForAInstVar.OfClass..st b/src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForAInstVar.OfClass..st new file mode 100644 index 0000000..37757a6 --- /dev/null +++ b/src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForAInstVar.OfClass..st @@ -0,0 +1,12 @@ +accessing +searchTestsForAInstVar: aInstanceVariable OfClass: aClass + "This method returns all the tests related to a instance variable." + + | testsFound senders | + testsFound := Set new. + senders := Set new. + senders + addAll: ((aClass classLayout allVisibleSlots select: [ :eachSlot | eachSlot name = aInstanceVariable ]) flatCollect: #usingMethods). + testsFound + addAll: (senders flatCollect: [ :each | self methodsFor: each ]). + ^ testsFound \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForASetUpMethod..st b/src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForASetUpMethod..st new file mode 100644 index 0000000..67ae9b9 --- /dev/null +++ b/src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForASetUpMethod..st @@ -0,0 +1,10 @@ +private +searchTestsForASetUpMethod: aCompiledMethod + "If the method is a TestCase setUp, returns all the tests of this TestCase and its subclasses" + ^ (aCompiledMethod isTestSetUpMethod) + ifTrue: [|result| + result := OrderedCollection new. + result addAll: aCompiledMethod methodClass allTestMethods. + (aCompiledMethod methodClass subclasses do:[:aSubClass | result addAll: aSubClass allTestMethods]). + result collect: #methodReference] + ifFalse: [{}]. \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForAStandardMethod..st b/src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForAStandardMethod..st new file mode 100644 index 0000000..16daa21 --- /dev/null +++ b/src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForAStandardMethod..st @@ -0,0 +1,5 @@ +private +searchTestsForAStandardMethod: aCompiledMethod + "Should return a Collection of #methodReference" + + self subclassResponsibility \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForATearDownMethod..st b/src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForATearDownMethod..st new file mode 100644 index 0000000..e4417f0 --- /dev/null +++ b/src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForATearDownMethod..st @@ -0,0 +1,11 @@ +private +searchTestsForATearDownMethod: aCompiledMethod + "If the method is a TestCase tearDown, returns all the tests of this TestCase" + ^ (aCompiledMethod isTestTearDownMethod) + ifTrue: [ + |result| + result := OrderedCollection new. + result addAll: aCompiledMethod methodClass allTestMethods. + (aCompiledMethod methodClass subclasses do:[:aSubClass | result addAll: aSubClass allTestMethods]). + result collect: #methodReference] + ifFalse: [{}]. \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForATestMethod..st b/src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForATestMethod..st new file mode 100644 index 0000000..eaa5ae8 --- /dev/null +++ b/src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForATestMethod..st @@ -0,0 +1,5 @@ +private +searchTestsForATestMethod: aCompiledMethod + ^ aCompiledMethod isTestMethod + ifTrue: [{aCompiledMethod methodReference}] + ifFalse: [{}]. \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForATrait..st b/src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForATrait..st new file mode 100644 index 0000000..e293697 --- /dev/null +++ b/src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForATrait..st @@ -0,0 +1,7 @@ +accessing +searchTestsForATrait: aTrait + | packagesToLookAt testsFound| + testsFound := Set new. + packagesToLookAt := self filter extractPackagesFrom: aTrait. + aTrait users do: [:eachClass | testsFound addAll: (self recursiveSearchForAClass: eachClass inPackages: packagesToLookAt)]. + ^testsFound \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForClassReferenceOf..st b/src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForClassReferenceOf..st new file mode 100644 index 0000000..fb1af37 --- /dev/null +++ b/src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForClassReferenceOf..st @@ -0,0 +1,13 @@ +private +searchTestsForClassReferenceOf: aCompiledMethod + "Find all tests in related packages that reference the method's class" + | allSendersClass allTests | + allSendersClass := (aCompiledMethod methodClass allCallsOn + collect: [:aReference| + aReference actualClass]) asSet + select: [:aClass| + (aClass isKindOf: TestCase class) ]. + + allTests := OrderedCollection new. + allSendersClass do: [:aClass| allTests addAll: aClass allTestMethods]. + ^ allTests collect: #methodReference. \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForMethod..st b/src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForMethod..st new file mode 100644 index 0000000..69ae4c1 --- /dev/null +++ b/src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForMethod..st @@ -0,0 +1,5 @@ +accessing +searchTestsForMethod: aCompiledMethod + ^ self cache relevantTestsFor: aCompiledMethod + "at: aCompiledMethod methodReference + ifAbsentPut: [ Set new ]" \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForMethodReference..st b/src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForMethodReference..st new file mode 100644 index 0000000..334bc02 --- /dev/null +++ b/src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForMethodReference..st @@ -0,0 +1,3 @@ +accessing +searchTestsForMethodReference: aMethodReference + ^ self cache searchTestsForMethodReference: aMethodReference \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestFinderStrategy.class/instance/shouldTryToFindTestForDynamic..st b/src/SmartTest.package/SmTTestFinderStrategy.class/instance/shouldTryToFindTestForDynamic..st new file mode 100644 index 0000000..d0dbe63 --- /dev/null +++ b/src/SmartTest.package/SmTTestFinderStrategy.class/instance/shouldTryToFindTestForDynamic..st @@ -0,0 +1,3 @@ +accessing +shouldTryToFindTestForDynamic: aBoolean + shouldTryToFindTestForDynamic := aBoolean \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestFinderStrategy.class/instance/shouldTryToFindTestForDynamic.st b/src/SmartTest.package/SmTTestFinderStrategy.class/instance/shouldTryToFindTestForDynamic.st new file mode 100644 index 0000000..ce10b33 --- /dev/null +++ b/src/SmartTest.package/SmTTestFinderStrategy.class/instance/shouldTryToFindTestForDynamic.st @@ -0,0 +1,3 @@ +accessing +shouldTryToFindTestForDynamic + ^ shouldTryToFindTestForDynamic \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestFinderStrategy.class/instance/subTestFromRGDefinition..st b/src/SmartTest.package/SmTTestFinderStrategy.class/instance/subTestFromRGDefinition..st new file mode 100644 index 0000000..5d67d1e --- /dev/null +++ b/src/SmartTest.package/SmTTestFinderStrategy.class/instance/subTestFromRGDefinition..st @@ -0,0 +1,6 @@ +accessing +subTestFromRGDefinition: anRGDefinition + ^ self + computeInheritedTestFromDiscoveredTest: + ((anRGDefinition methodClass suite tests flatCollect: #tests) + collect: [ :each | RGMethodDefinition class: each class selector: each selector ]) \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestFinderStrategy.class/properties.json b/src/SmartTest.package/SmTTestFinderStrategy.class/properties.json new file mode 100644 index 0000000..ad94c13 --- /dev/null +++ b/src/SmartTest.package/SmTTestFinderStrategy.class/properties.json @@ -0,0 +1,15 @@ +{ + "commentStamp" : "eleonoreW 6/29/2018 15:25", + "super" : "Object", + "category" : "SmartTest-Finder", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ + "filter", + "cache", + "shouldTryToFindTestForDynamic" + ], + "name" : "SmTTestFinderStrategy", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestGenerator.class/README.md b/src/SmartTest.package/SmTTestGenerator.class/README.md new file mode 100644 index 0000000..864ae0b --- /dev/null +++ b/src/SmartTest.package/SmTTestGenerator.class/README.md @@ -0,0 +1 @@ +Tool easy to use by everyone to generate test from a Compiled Method \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestGenerator.class/instance/buildTestClassDefinitionFrom..st b/src/SmartTest.package/SmTTestGenerator.class/instance/buildTestClassDefinitionFrom..st new file mode 100644 index 0000000..2990d9e --- /dev/null +++ b/src/SmartTest.package/SmTTestGenerator.class/instance/buildTestClassDefinitionFrom..st @@ -0,0 +1,8 @@ +widget method +buildTestClassDefinitionFrom: aClass + + ^ 'TestCase subclass: ', (self buildTestClassNameFrom: aClass) printString, ' + instanceVariableNames: '''' + classVariableNames: '''' + poolDictionaries: '''' + package: ''',(self buildTestPackageNameFrom:aClass),'''' \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestGenerator.class/instance/buildTestClassNameFrom..st b/src/SmartTest.package/SmTTestGenerator.class/instance/buildTestClassNameFrom..st new file mode 100644 index 0000000..8321241 --- /dev/null +++ b/src/SmartTest.package/SmTTestGenerator.class/instance/buildTestClassNameFrom..st @@ -0,0 +1,4 @@ +widget method +buildTestClassNameFrom: aClass + + ^ (aClass name asString,'Test') asSymbol \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestGenerator.class/instance/buildTestPackageNameFrom..st b/src/SmartTest.package/SmTTestGenerator.class/instance/buildTestPackageNameFrom..st new file mode 100644 index 0000000..22e9d73 --- /dev/null +++ b/src/SmartTest.package/SmTTestGenerator.class/instance/buildTestPackageNameFrom..st @@ -0,0 +1,4 @@ +widget method +buildTestPackageNameFrom:aClass + + ^ aClass package name asString, '-Tests' \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestGenerator.class/instance/buildTestSelectorFor..st b/src/SmartTest.package/SmTTestGenerator.class/instance/buildTestSelectorFor..st new file mode 100644 index 0000000..9fb1dd1 --- /dev/null +++ b/src/SmartTest.package/SmTTestGenerator.class/instance/buildTestSelectorFor..st @@ -0,0 +1,15 @@ +widget method +buildTestSelectorFor: aMethod + + ^ String streamContents: [:s || capitalize | + capitalize := true. + s << 'test'. + aMethod selector do: [:c | + c = $: + ifTrue: [ capitalize := true ] + ifFalse: [ capitalize + ifTrue: [ + capitalize := false. + s << c asUppercase. ] + ifFalse:[ s << c ]]]] + \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestGenerator.class/instance/createTestForClass..st b/src/SmartTest.package/SmTTestGenerator.class/instance/createTestForClass..st new file mode 100644 index 0000000..59c0c1e --- /dev/null +++ b/src/SmartTest.package/SmTTestGenerator.class/instance/createTestForClass..st @@ -0,0 +1,20 @@ +widget method +createTestForClass: aClass + | testClass className | + aClass ifNil: [ ^ nil ]. + aClass isTestCase + ifTrue: [ ^ nil ]. + aClass isMeta + ifTrue: [ ^ nil ]. + className := self buildTestClassNameFrom: aClass. + testClass := self class environment + at: className + ifPresent: [ :class | class ] + ifAbsent: [ testClass := TestCase + subclass: className + instanceVariableNames: '' + classVariableNames: '' + package: (self buildTestPackageNameFrom: aClass). + self class environment at: className. + testClass comment: (self generateCommentForTestClass: testClass from: aClass) ]. + ^ testClass \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestGenerator.class/instance/generateCommentForTestClass.from..st b/src/SmartTest.package/SmTTestGenerator.class/instance/generateCommentForTestClass.from..st new file mode 100644 index 0000000..783ab03 --- /dev/null +++ b/src/SmartTest.package/SmTTestGenerator.class/instance/generateCommentForTestClass.from..st @@ -0,0 +1,9 @@ +widget method +generateCommentForTestClass: testClass from: aClass + + ^ String streamContents: [:stream || name | + name := testClass name. + name first isVowel + ifTrue: [ stream << 'An '] + ifFalse:[ stream <<'A ']. + stream << name << ' is a test class for testing the behavior of '<< aClass name ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestGenerator.class/instance/generateSourceCodeForTestFrom..st b/src/SmartTest.package/SmTTestGenerator.class/instance/generateSourceCodeForTestFrom..st new file mode 100644 index 0000000..4dab780 --- /dev/null +++ b/src/SmartTest.package/SmTTestGenerator.class/instance/generateSourceCodeForTestFrom..st @@ -0,0 +1,3 @@ +widget method +generateSourceCodeForTestFrom: aMethod + ^ (self buildTestSelectorFor: aMethod), String crlf,' self shouldBeImplemented' \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestGenerator.class/instance/generateTestMethodFor..st b/src/SmartTest.package/SmTTestGenerator.class/instance/generateTestMethodFor..st new file mode 100644 index 0000000..49e43b3 --- /dev/null +++ b/src/SmartTest.package/SmTTestGenerator.class/instance/generateTestMethodFor..st @@ -0,0 +1,15 @@ +widget method +generateTestMethodFor: aMethod + "generate a test method for aMethod and return the generated method" + + | class testMethodName | + testMethodName := aMethod methodClass name , 'Test'. + class := Smalltalk allClasses + detect: [ :e | e name = testMethodName ] + ifNone: [ self createTestForClass: aMethod methodClass ]. + class + ifNotNil: [ class + compile: (self generateSourceCodeForTestFrom: aMethod) + classified: 'tests-' , aMethod category. + ^ class >> (self buildTestSelectorFor: aMethod) asSymbol ]. + ^ nil \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestGenerator.class/properties.json b/src/SmartTest.package/SmTTestGenerator.class/properties.json new file mode 100644 index 0000000..70f7b30 --- /dev/null +++ b/src/SmartTest.package/SmTTestGenerator.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "BenoitVerhaeghe 7/7/2017 16:25", + "super" : "Object", + "category" : "SmartTest-Tools", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTTestGenerator", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestListener.class/README.md b/src/SmartTest.package/SmTTestListener.class/README.md new file mode 100644 index 0000000..100c415 --- /dev/null +++ b/src/SmartTest.package/SmTTestListener.class/README.md @@ -0,0 +1 @@ +I'm listening all the tests event and add it to the RTS \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestListener.class/class/activated..st b/src/SmartTest.package/SmTTestListener.class/class/activated..st new file mode 100644 index 0000000..16dbb4b --- /dev/null +++ b/src/SmartTest.package/SmTTestListener.class/class/activated..st @@ -0,0 +1,4 @@ +accessing +activated: aSelector + activated := aSelector. + self uniqueInstance activated: aSelector \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestListener.class/class/activated.st b/src/SmartTest.package/SmTTestListener.class/class/activated.st new file mode 100644 index 0000000..7f03b2d --- /dev/null +++ b/src/SmartTest.package/SmTTestListener.class/class/activated.st @@ -0,0 +1,5 @@ +accessing +activated + ^ activated + ifNil: [ activated := false. + self uniqueInstance activated: false ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestListener.class/class/settingsOn..st b/src/SmartTest.package/SmTTestListener.class/class/settingsOn..st new file mode 100644 index 0000000..87f61e3 --- /dev/null +++ b/src/SmartTest.package/SmTTestListener.class/class/settingsOn..st @@ -0,0 +1,11 @@ +initialization +settingsOn: aBuilder + + (aBuilder setting: #activated) + parent: #Beta; + target: self; + order: 0.04; + label: 'AutoUpdate Cache'; + description: + 'When you execute a test, we''''are updating the cache for it execution + (BETA)' \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestListener.class/class/uniqueInstance.st b/src/SmartTest.package/SmTTestListener.class/class/uniqueInstance.st new file mode 100644 index 0000000..7d34d72 --- /dev/null +++ b/src/SmartTest.package/SmTTestListener.class/class/uniqueInstance.st @@ -0,0 +1,3 @@ +initialization +uniqueInstance + ^ uniqueInstance ifNil: [ uniqueInstance := self new ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestListener.class/instance/activated..st b/src/SmartTest.package/SmTTestListener.class/instance/activated..st new file mode 100644 index 0000000..3cc0774 --- /dev/null +++ b/src/SmartTest.package/SmTTestListener.class/instance/activated..st @@ -0,0 +1,6 @@ +announcement handling +activated: aSelector + aSelector + ifTrue: [ self disableListenerTestCase. + self enableListenerTestCase ] + ifFalse: [ self disableListenerTestCase ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestListener.class/instance/cacheStrategy..st b/src/SmartTest.package/SmTTestListener.class/instance/cacheStrategy..st new file mode 100644 index 0000000..886d7f6 --- /dev/null +++ b/src/SmartTest.package/SmTTestListener.class/instance/cacheStrategy..st @@ -0,0 +1,3 @@ +announcement handling +cacheStrategy: aCacheClass + cacheClass := aCacheClass \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestListener.class/instance/cacheStrategy.st b/src/SmartTest.package/SmTTestListener.class/instance/cacheStrategy.st new file mode 100644 index 0000000..505d110 --- /dev/null +++ b/src/SmartTest.package/SmTTestListener.class/instance/cacheStrategy.st @@ -0,0 +1,3 @@ +announcement handling +cacheStrategy + ^ cacheClass \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestListener.class/instance/disableListenerTestCase.st b/src/SmartTest.package/SmTTestListener.class/instance/disableListenerTestCase.st new file mode 100644 index 0000000..52f24e1 --- /dev/null +++ b/src/SmartTest.package/SmTTestListener.class/instance/disableListenerTestCase.st @@ -0,0 +1,4 @@ +protocol +disableListenerTestCase + SmTAnnouncer announcer unsubscribe: self. + SmTAnnouncer announcer unsubscribe: self \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestListener.class/instance/enableListenerTestCase.st b/src/SmartTest.package/SmTTestListener.class/instance/enableListenerTestCase.st new file mode 100644 index 0000000..9ed9c5d --- /dev/null +++ b/src/SmartTest.package/SmTTestListener.class/instance/enableListenerTestCase.st @@ -0,0 +1,4 @@ +protocol +enableListenerTestCase + SmTAnnouncer announcer weak when: TestCaseStarted send: #testCaseStarted: to: self. + SmTAnnouncer announcer weak when: TestCaseEnded send: #testCaseEnded: to: self \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestListener.class/instance/smtDynamicFinder..st b/src/SmartTest.package/SmTTestListener.class/instance/smtDynamicFinder..st new file mode 100644 index 0000000..5d84b60 --- /dev/null +++ b/src/SmartTest.package/SmTTestListener.class/instance/smtDynamicFinder..st @@ -0,0 +1,3 @@ +announcement handling +smtDynamicFinder: aSmTTestFinderStrategy + smtDynamicFinder := aSmTTestFinderStrategy \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestListener.class/instance/smtDynamicFinder.st b/src/SmartTest.package/SmTTestListener.class/instance/smtDynamicFinder.st new file mode 100644 index 0000000..a88a39f --- /dev/null +++ b/src/SmartTest.package/SmTTestListener.class/instance/smtDynamicFinder.st @@ -0,0 +1,3 @@ +announcement handling +smtDynamicFinder + ^ smtDynamicFinder \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestListener.class/instance/testCaseEnded..st b/src/SmartTest.package/SmTTestListener.class/instance/testCaseEnded..st new file mode 100644 index 0000000..ea8a75a --- /dev/null +++ b/src/SmartTest.package/SmTTestListener.class/instance/testCaseEnded..st @@ -0,0 +1,3 @@ +protocol +testCaseEnded: aTestAnnouncement + self smtDynamicFinder analyseAndRemoveProxyFor: aTestAnnouncement testCase \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestListener.class/instance/testCaseStarted..st b/src/SmartTest.package/SmTTestListener.class/instance/testCaseStarted..st new file mode 100644 index 0000000..9fc4460 --- /dev/null +++ b/src/SmartTest.package/SmTTestListener.class/instance/testCaseStarted..st @@ -0,0 +1,3 @@ +protocol +testCaseStarted: aTestAnnouncement + self smtDynamicFinder installProxyFor: aTestAnnouncement testCase \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestListener.class/properties.json b/src/SmartTest.package/SmTTestListener.class/properties.json new file mode 100644 index 0000000..970ebdf --- /dev/null +++ b/src/SmartTest.package/SmTTestListener.class/properties.json @@ -0,0 +1,17 @@ +{ + "commentStamp" : "EleonoreWALD 5/3/2018 14:50", + "super" : "Object", + "category" : "SmartTest-Listener", + "classinstvars" : [ + "uniqueInstance", + "activated" + ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ + "cacheClass", + "smtDynamicFinder" + ], + "name" : "SmTTestListener", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestingStrategy.class/README.md b/src/SmartTest.package/SmTTestingStrategy.class/README.md new file mode 100644 index 0000000..119b946 --- /dev/null +++ b/src/SmartTest.package/SmTTestingStrategy.class/README.md @@ -0,0 +1 @@ +The testing strategy defines when the tests we've found will be run. \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestingStrategy.class/instance/disable.st b/src/SmartTest.package/SmTTestingStrategy.class/instance/disable.st new file mode 100644 index 0000000..2be7069 --- /dev/null +++ b/src/SmartTest.package/SmTTestingStrategy.class/instance/disable.st @@ -0,0 +1,3 @@ +protocol +disable + "can be override" \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestingStrategy.class/instance/enable.st b/src/SmartTest.package/SmTTestingStrategy.class/instance/enable.st new file mode 100644 index 0000000..7389a0a --- /dev/null +++ b/src/SmartTest.package/SmTTestingStrategy.class/instance/enable.st @@ -0,0 +1,3 @@ +protocol +enable + "can be override" \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestingStrategy.class/instance/findTestsForMethod..st b/src/SmartTest.package/SmTTestingStrategy.class/instance/findTestsForMethod..st new file mode 100644 index 0000000..8a31725 --- /dev/null +++ b/src/SmartTest.package/SmTTestingStrategy.class/instance/findTestsForMethod..st @@ -0,0 +1,3 @@ +instance creation +findTestsForMethod: aCompiledMethod + self subclassResponsibility \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestingStrategy.class/instance/finder..st b/src/SmartTest.package/SmTTestingStrategy.class/instance/finder..st new file mode 100644 index 0000000..7ca23c0 --- /dev/null +++ b/src/SmartTest.package/SmTTestingStrategy.class/instance/finder..st @@ -0,0 +1,3 @@ +instance creation +finder: aSmTFinder + finder := aSmTFinder \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestingStrategy.class/instance/finder.st b/src/SmartTest.package/SmTTestingStrategy.class/instance/finder.st new file mode 100644 index 0000000..532fa51 --- /dev/null +++ b/src/SmartTest.package/SmTTestingStrategy.class/instance/finder.st @@ -0,0 +1,4 @@ +instance creation +finder + ^ finder + \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestingStrategy.class/instance/getMethodsFor..st b/src/SmartTest.package/SmTTestingStrategy.class/instance/getMethodsFor..st new file mode 100644 index 0000000..f6a113c --- /dev/null +++ b/src/SmartTest.package/SmTTestingStrategy.class/instance/getMethodsFor..st @@ -0,0 +1,3 @@ +instance creation +getMethodsFor: aCompiledMethod + ^ self getTestMethodFromCompiledTestMethod: (self finder methodsFor: aCompiledMethod) \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestingStrategy.class/instance/getTestMethodFromCompiledTestMethod..st b/src/SmartTest.package/SmTTestingStrategy.class/instance/getTestMethodFromCompiledTestMethod..st new file mode 100644 index 0000000..315d7b5 --- /dev/null +++ b/src/SmartTest.package/SmTTestingStrategy.class/instance/getTestMethodFromCompiledTestMethod..st @@ -0,0 +1,4 @@ +instance creation +getTestMethodFromCompiledTestMethod: aCollectionOfCompiledMethod + ^ aCollectionOfCompiledMethod + collect: [ :aCompiledMethod | aCompiledMethod methodClass selector: aCompiledMethod selector ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestingStrategy.class/instance/runner..st b/src/SmartTest.package/SmTTestingStrategy.class/instance/runner..st new file mode 100644 index 0000000..4fd89d5 --- /dev/null +++ b/src/SmartTest.package/SmTTestingStrategy.class/instance/runner..st @@ -0,0 +1,3 @@ +instance creation +runner: aSmTRunner + runner := aSmTRunner \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestingStrategy.class/instance/runner.st b/src/SmartTest.package/SmTTestingStrategy.class/instance/runner.st new file mode 100644 index 0000000..205cb7c --- /dev/null +++ b/src/SmartTest.package/SmTTestingStrategy.class/instance/runner.st @@ -0,0 +1,3 @@ +instance creation +runner + ^ runner \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestingStrategy.class/properties.json b/src/SmartTest.package/SmTTestingStrategy.class/properties.json new file mode 100644 index 0000000..4b6d04d --- /dev/null +++ b/src/SmartTest.package/SmTTestingStrategy.class/properties.json @@ -0,0 +1,18 @@ +{ + "commentStamp" : "BenoitVerhaeghe 7/13/2017 14:17", + "super" : "Object", + "category" : "SmartTest-Testing", + "classinstvars" : [ + "queue", + "researchProcess", + "defaultSize" + ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ + "finder", + "runner" + ], + "name" : "SmTTestingStrategy", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestingStrategyAlways.class/README.md b/src/SmartTest.package/SmTTestingStrategyAlways.class/README.md new file mode 100644 index 0000000..7eb54d8 --- /dev/null +++ b/src/SmartTest.package/SmTTestingStrategyAlways.class/README.md @@ -0,0 +1 @@ +As soon as the tests are found. CORA run the test suite \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestingStrategyAlways.class/instance/findTestsForMethod..st b/src/SmartTest.package/SmTTestingStrategyAlways.class/instance/findTestsForMethod..st new file mode 100644 index 0000000..0e016d8 --- /dev/null +++ b/src/SmartTest.package/SmTTestingStrategyAlways.class/instance/findTestsForMethod..st @@ -0,0 +1,6 @@ +instance creation +findTestsForMethod: aCompiledMethod + | tests | + tests := self getMethodsFor: aCompiledMethod. + self runner runCases: tests. + ^ tests \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestingStrategyAlways.class/properties.json b/src/SmartTest.package/SmTTestingStrategyAlways.class/properties.json new file mode 100644 index 0000000..48b1326 --- /dev/null +++ b/src/SmartTest.package/SmTTestingStrategyAlways.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "BenoitVerhaeghe 7/13/2017 14:18", + "super" : "SmTTestingStrategy", + "category" : "SmartTest-Testing", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTTestingStrategyAlways", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestingStrategyEachModification.class/README.md b/src/SmartTest.package/SmTTestingStrategyEachModification.class/README.md new file mode 100644 index 0000000..8ad2251 --- /dev/null +++ b/src/SmartTest.package/SmTTestingStrategyEachModification.class/README.md @@ -0,0 +1 @@ +Each time the developer does a modification, CORA run the test suite \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestingStrategyEachModification.class/instance/addToElementBag..st b/src/SmartTest.package/SmTTestingStrategyEachModification.class/instance/addToElementBag..st new file mode 100644 index 0000000..51de68c --- /dev/null +++ b/src/SmartTest.package/SmTTestingStrategyEachModification.class/instance/addToElementBag..st @@ -0,0 +1,3 @@ +instance creation +addToElementBag: anElement + self bag add: anElement \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestingStrategyEachModification.class/instance/bag.st b/src/SmartTest.package/SmTTestingStrategyEachModification.class/instance/bag.st new file mode 100644 index 0000000..aa9c970 --- /dev/null +++ b/src/SmartTest.package/SmTTestingStrategyEachModification.class/instance/bag.st @@ -0,0 +1,3 @@ +instance creation +bag + ^ bag \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestingStrategyEachModification.class/instance/disable.st b/src/SmartTest.package/SmTTestingStrategyEachModification.class/instance/disable.st new file mode 100644 index 0000000..dd3afcb --- /dev/null +++ b/src/SmartTest.package/SmTTestingStrategyEachModification.class/instance/disable.st @@ -0,0 +1,5 @@ +protocol +disable + super disable. + + SystemAnnouncer uniqueInstance unsubscribe: self \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestingStrategyEachModification.class/instance/enable.st b/src/SmartTest.package/SmTTestingStrategyEachModification.class/instance/enable.st new file mode 100644 index 0000000..4b47cdb --- /dev/null +++ b/src/SmartTest.package/SmTTestingStrategyEachModification.class/instance/enable.st @@ -0,0 +1,7 @@ +protocol +enable + super enable. + SystemAnnouncer uniqueInstance unsubscribe: self. + {(MethodModified -> #methodModified:). + (MethodAdded -> #methodAdded:)} + do: [ :pair | SystemAnnouncer uniqueInstance weak when: pair key send: pair value to: self ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestingStrategyEachModification.class/instance/findTestsForMethod..st b/src/SmartTest.package/SmTTestingStrategyEachModification.class/instance/findTestsForMethod..st new file mode 100644 index 0000000..fb71921 --- /dev/null +++ b/src/SmartTest.package/SmTTestingStrategyEachModification.class/instance/findTestsForMethod..st @@ -0,0 +1,7 @@ +instance creation +findTestsForMethod: aCompiledMethod + | tests | + tests := self getMethodsFor: aCompiledMethod. + (self getElementFromBag: aCompiledMethod) + ifNotNil: [ self runner runCases: tests ]. + ^ tests \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestingStrategyEachModification.class/instance/getElementFromBag..st b/src/SmartTest.package/SmTTestingStrategyEachModification.class/instance/getElementFromBag..st new file mode 100644 index 0000000..8a04b66 --- /dev/null +++ b/src/SmartTest.package/SmTTestingStrategyEachModification.class/instance/getElementFromBag..st @@ -0,0 +1,6 @@ +instance creation +getElementFromBag: anElement + "return nil if element absent. The object else" + + self bag remove: anElement ifAbsent: [ ^ nil ]. + ^ anElement \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestingStrategyEachModification.class/instance/initialize.st b/src/SmartTest.package/SmTTestingStrategyEachModification.class/instance/initialize.st new file mode 100644 index 0000000..00734c9 --- /dev/null +++ b/src/SmartTest.package/SmTTestingStrategyEachModification.class/instance/initialize.st @@ -0,0 +1,3 @@ +initialization +initialize + bag := Bag new \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestingStrategyEachModification.class/instance/methodAdded..st b/src/SmartTest.package/SmTTestingStrategyEachModification.class/instance/methodAdded..st new file mode 100644 index 0000000..251545a --- /dev/null +++ b/src/SmartTest.package/SmTTestingStrategyEachModification.class/instance/methodAdded..st @@ -0,0 +1,3 @@ +instance creation +methodAdded: anAnnouncement + self addToElementBag: anAnnouncement methodAdded \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestingStrategyEachModification.class/instance/methodModified..st b/src/SmartTest.package/SmTTestingStrategyEachModification.class/instance/methodModified..st new file mode 100644 index 0000000..796b801 --- /dev/null +++ b/src/SmartTest.package/SmTTestingStrategyEachModification.class/instance/methodModified..st @@ -0,0 +1,3 @@ +instance creation +methodModified: anAnnouncement + self addToElementBag: anAnnouncement newMethod \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestingStrategyEachModification.class/properties.json b/src/SmartTest.package/SmTTestingStrategyEachModification.class/properties.json new file mode 100644 index 0000000..8a90851 --- /dev/null +++ b/src/SmartTest.package/SmTTestingStrategyEachModification.class/properties.json @@ -0,0 +1,13 @@ +{ + "commentStamp" : "BenoitVerhaeghe 7/13/2017 14:18", + "super" : "SmTTestingStrategy", + "category" : "SmartTest-Testing", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ + "bag" + ], + "name" : "SmTTestingStrategyEachModification", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestingStrategyFiveMinutes.class/README.md b/src/SmartTest.package/SmTTestingStrategyFiveMinutes.class/README.md new file mode 100644 index 0000000..90ffc7d --- /dev/null +++ b/src/SmartTest.package/SmTTestingStrategyFiveMinutes.class/README.md @@ -0,0 +1 @@ +Every 5 minutes, CORA run the tests which have been found in the last 5 minutes \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestingStrategyFiveMinutes.class/instance/disable.st b/src/SmartTest.package/SmTTestingStrategyFiveMinutes.class/instance/disable.st new file mode 100644 index 0000000..d23561b --- /dev/null +++ b/src/SmartTest.package/SmTTestingStrategyFiveMinutes.class/instance/disable.st @@ -0,0 +1,4 @@ +protocol +disable + super disable. + SmTFivesMinutesCollector stop \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestingStrategyFiveMinutes.class/instance/enable.st b/src/SmartTest.package/SmTTestingStrategyFiveMinutes.class/instance/enable.st new file mode 100644 index 0000000..31e4945 --- /dev/null +++ b/src/SmartTest.package/SmTTestingStrategyFiveMinutes.class/instance/enable.st @@ -0,0 +1,4 @@ +protocol +enable + super enable. + SmTFivesMinutesCollector start \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestingStrategyFiveMinutes.class/instance/findTestsForMethod..st b/src/SmartTest.package/SmTTestingStrategyFiveMinutes.class/instance/findTestsForMethod..st new file mode 100644 index 0000000..301e6fb --- /dev/null +++ b/src/SmartTest.package/SmTTestingStrategyFiveMinutes.class/instance/findTestsForMethod..st @@ -0,0 +1,6 @@ +instance creation +findTestsForMethod: aCompiledMethod + | tests | + tests := self getMethodsFor: aCompiledMethod. + SmTFivesMinutesCollector addTestMethods: tests. + ^ tests \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestingStrategyFiveMinutes.class/properties.json b/src/SmartTest.package/SmTTestingStrategyFiveMinutes.class/properties.json new file mode 100644 index 0000000..4889df8 --- /dev/null +++ b/src/SmartTest.package/SmTTestingStrategyFiveMinutes.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "BenoitVerhaeghe 7/13/2017 14:19", + "super" : "SmTTestingStrategy", + "category" : "SmartTest-Testing", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTTestingStrategyFiveMinutes", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestingStrategyNever.class/README.md b/src/SmartTest.package/SmTTestingStrategyNever.class/README.md new file mode 100644 index 0000000..694e63d --- /dev/null +++ b/src/SmartTest.package/SmTTestingStrategyNever.class/README.md @@ -0,0 +1 @@ +CORA never run test automatically \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestingStrategyNever.class/instance/findTestsForMethod..st b/src/SmartTest.package/SmTTestingStrategyNever.class/instance/findTestsForMethod..st new file mode 100644 index 0000000..0e3832c --- /dev/null +++ b/src/SmartTest.package/SmTTestingStrategyNever.class/instance/findTestsForMethod..st @@ -0,0 +1,3 @@ +instance creation +findTestsForMethod: aCompiledMethod + ^ self getMethodsFor: aCompiledMethod \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestingStrategyNever.class/properties.json b/src/SmartTest.package/SmTTestingStrategyNever.class/properties.json new file mode 100644 index 0000000..5536709 --- /dev/null +++ b/src/SmartTest.package/SmTTestingStrategyNever.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "BenoitVerhaeghe 7/13/2017 14:19", + "super" : "SmTTestingStrategy", + "category" : "SmartTest-Testing", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTTestingStrategyNever", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest.package/SmalltalkImage.extension/instance/allMethods.st b/src/SmartTest.package/SmalltalkImage.extension/instance/allMethods.st new file mode 100644 index 0000000..240d58f --- /dev/null +++ b/src/SmartTest.package/SmalltalkImage.extension/instance/allMethods.st @@ -0,0 +1,4 @@ +*SmartTest +allMethods + + ^ globals allClasses flatCollect: #methods \ No newline at end of file diff --git a/src/SmartTest.package/SmalltalkImage.extension/instance/allTestMethods.st b/src/SmartTest.package/SmalltalkImage.extension/instance/allTestMethods.st new file mode 100644 index 0000000..51b7173 --- /dev/null +++ b/src/SmartTest.package/SmalltalkImage.extension/instance/allTestMethods.st @@ -0,0 +1,4 @@ +*SmartTest +allTestMethods + + ^(globals allClasses flatCollect: #methods) select: #isTestMethod \ No newline at end of file diff --git a/src/SmartTest.package/SmalltalkImage.extension/properties.json b/src/SmartTest.package/SmalltalkImage.extension/properties.json new file mode 100644 index 0000000..f581b92 --- /dev/null +++ b/src/SmartTest.package/SmalltalkImage.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "SmalltalkImage" +} \ No newline at end of file diff --git a/src/SmartTest.package/SmartFinder.class/README.md b/src/SmartTest.package/SmartFinder.class/README.md new file mode 100644 index 0000000..03f4122 --- /dev/null +++ b/src/SmartTest.package/SmartFinder.class/README.md @@ -0,0 +1,13 @@ +I'm the boss !!! + +I contain the instance of all the stuff the user needs. + +If you want to specify some strategy +use it more or less that way (here with the default values) + +SmartFinder new + cache: self cacheStrategy new; + filter: self filter new; + testRunner: self testRunner; + smtFinder: self smtFinder new; + testingStrategy: self testingStrategy new \ No newline at end of file diff --git a/src/SmartTest.package/SmartFinder.class/instance/autoUpdateCache..st b/src/SmartTest.package/SmartFinder.class/instance/autoUpdateCache..st new file mode 100644 index 0000000..d9fde1a --- /dev/null +++ b/src/SmartTest.package/SmartFinder.class/instance/autoUpdateCache..st @@ -0,0 +1,5 @@ +accessing +autoUpdateCache: aBoolean + self smtListener cacheStrategy: self cacheStrategy. + self smtListener smtDynamicFinder: self smtFinder. + self smtListener class activated: aBoolean \ No newline at end of file diff --git a/src/SmartTest.package/SmartFinder.class/instance/buildCacheFromTestSuite..st b/src/SmartTest.package/SmartFinder.class/instance/buildCacheFromTestSuite..st new file mode 100644 index 0000000..4d07ca0 --- /dev/null +++ b/src/SmartTest.package/SmartFinder.class/instance/buildCacheFromTestSuite..st @@ -0,0 +1,4 @@ +api +buildCacheFromTestSuite: aTestSuite + "Work only if you have selected a Dynamic strategy" + self smtFinder buildCacheFromTestSuite: aTestSuite \ No newline at end of file diff --git a/src/SmartTest.package/SmartFinder.class/instance/cacheStrategy..st b/src/SmartTest.package/SmartFinder.class/instance/cacheStrategy..st new file mode 100644 index 0000000..fd0a35a --- /dev/null +++ b/src/SmartTest.package/SmartFinder.class/instance/cacheStrategy..st @@ -0,0 +1,7 @@ +accessing +cacheStrategy: aSmTCacheStrategy + | tmpCache | + tmpCache := self currentCache. + cacheStrategy := aSmTCacheStrategy. + cacheStrategy cache: tmpCache. + self smtFinder cache: cacheStrategy \ No newline at end of file diff --git a/src/SmartTest.package/SmartFinder.class/instance/cacheStrategy.st b/src/SmartTest.package/SmartFinder.class/instance/cacheStrategy.st new file mode 100644 index 0000000..db09239 --- /dev/null +++ b/src/SmartTest.package/SmartFinder.class/instance/cacheStrategy.st @@ -0,0 +1,3 @@ +accessing +cacheStrategy + ^ cacheStrategy ifNil: [ cacheStrategy := SmTBasicCacheStrategy new cache: Dictionary new ] \ No newline at end of file diff --git a/src/SmartTest.package/SmartFinder.class/instance/clean.st b/src/SmartTest.package/SmartFinder.class/instance/clean.st new file mode 100644 index 0000000..8f475f1 --- /dev/null +++ b/src/SmartTest.package/SmartFinder.class/instance/clean.st @@ -0,0 +1,5 @@ +api +clean + "Use before loosing my reference + I remove the listener" + self testingStrategy disable \ No newline at end of file diff --git a/src/SmartTest.package/SmartFinder.class/instance/currentCache.st b/src/SmartTest.package/SmartFinder.class/instance/currentCache.st new file mode 100644 index 0000000..2e7acd8 --- /dev/null +++ b/src/SmartTest.package/SmartFinder.class/instance/currentCache.st @@ -0,0 +1,3 @@ +api +currentCache + ^ self cacheStrategy currentCache \ No newline at end of file diff --git a/src/SmartTest.package/SmartFinder.class/instance/filter..st b/src/SmartTest.package/SmartFinder.class/instance/filter..st new file mode 100644 index 0000000..be3780f --- /dev/null +++ b/src/SmartTest.package/SmartFinder.class/instance/filter..st @@ -0,0 +1,4 @@ +accessing +filter: aSmTDefaultPackagesFilter + filter := aSmTDefaultPackagesFilter. + self smtFinder filter: aSmTDefaultPackagesFilter \ No newline at end of file diff --git a/src/SmartTest.package/SmartFinder.class/instance/filter.st b/src/SmartTest.package/SmartFinder.class/instance/filter.st new file mode 100644 index 0000000..5bedb47 --- /dev/null +++ b/src/SmartTest.package/SmartFinder.class/instance/filter.st @@ -0,0 +1,3 @@ +accessing +filter + ^ filter ifNil: [ filter := SmTDefaultPackagesFilter new ] \ No newline at end of file diff --git a/src/SmartTest.package/SmartFinder.class/instance/findTestsForMethod..st b/src/SmartTest.package/SmartFinder.class/instance/findTestsForMethod..st new file mode 100644 index 0000000..a519ae2 --- /dev/null +++ b/src/SmartTest.package/SmartFinder.class/instance/findTestsForMethod..st @@ -0,0 +1,6 @@ +api +findTestsForMethod: aCompiledMethod + "This is the api for QA (use the testing strategy, the rule strategy etc.) + If you only want to find the tests, please consider using #researchTestsForMethod:" + + ^ self testingStrategy findTestsForMethod: aCompiledMethod \ No newline at end of file diff --git a/src/SmartTest.package/SmartFinder.class/instance/initialize.st b/src/SmartTest.package/SmartFinder.class/instance/initialize.st new file mode 100644 index 0000000..061f7c5 --- /dev/null +++ b/src/SmartTest.package/SmartFinder.class/instance/initialize.st @@ -0,0 +1,3 @@ +initialization +initialize + self shouldTryToFindTestForDynamic: false \ No newline at end of file diff --git a/src/SmartTest.package/SmartFinder.class/instance/researchTestsForMethod..st b/src/SmartTest.package/SmartFinder.class/instance/researchTestsForMethod..st new file mode 100644 index 0000000..b98b447 --- /dev/null +++ b/src/SmartTest.package/SmartFinder.class/instance/researchTestsForMethod..st @@ -0,0 +1,4 @@ +api +researchTestsForMethod: aCompiledMethod + "If you only want to find the tests" + ^ self smtFinder methodsFor: aCompiledMethod. \ No newline at end of file diff --git a/src/SmartTest.package/SmartFinder.class/instance/resetCache.st b/src/SmartTest.package/SmartFinder.class/instance/resetCache.st new file mode 100644 index 0000000..3ffe47b --- /dev/null +++ b/src/SmartTest.package/SmartFinder.class/instance/resetCache.st @@ -0,0 +1,3 @@ +api +resetCache + self cacheStrategy resetCache \ No newline at end of file diff --git a/src/SmartTest.package/SmartFinder.class/instance/searchTestsForASetUpMethod..st b/src/SmartTest.package/SmartFinder.class/instance/searchTestsForASetUpMethod..st new file mode 100644 index 0000000..1256e7f --- /dev/null +++ b/src/SmartTest.package/SmartFinder.class/instance/searchTestsForASetUpMethod..st @@ -0,0 +1,3 @@ +api +searchTestsForASetUpMethod: aCompiledMethod + ^ self smtFinder searchTestsForASetUpMethod: aCompiledMethod. \ No newline at end of file diff --git a/src/SmartTest.package/SmartFinder.class/instance/searchTestsForATearDownMethod..st b/src/SmartTest.package/SmartFinder.class/instance/searchTestsForATearDownMethod..st new file mode 100644 index 0000000..a9d746c --- /dev/null +++ b/src/SmartTest.package/SmartFinder.class/instance/searchTestsForATearDownMethod..st @@ -0,0 +1,3 @@ +api +searchTestsForATearDownMethod: aCompiledMethod + ^ self smtFinder searchTestsForATearDownMethod: aCompiledMethod \ No newline at end of file diff --git a/src/SmartTest.package/SmartFinder.class/instance/searchTestsForATestMethod..st b/src/SmartTest.package/SmartFinder.class/instance/searchTestsForATestMethod..st new file mode 100644 index 0000000..1a11564 --- /dev/null +++ b/src/SmartTest.package/SmartFinder.class/instance/searchTestsForATestMethod..st @@ -0,0 +1,3 @@ +api +searchTestsForATestMethod: aCompiledMethod + ^ self smtFinder searchTestsForATestMethod: aCompiledMethod \ No newline at end of file diff --git a/src/SmartTest.package/SmartFinder.class/instance/setCacheValues..st b/src/SmartTest.package/SmartFinder.class/instance/setCacheValues..st new file mode 100644 index 0000000..6b99ca6 --- /dev/null +++ b/src/SmartTest.package/SmartFinder.class/instance/setCacheValues..st @@ -0,0 +1,3 @@ +api +setCacheValues: aDictionnary + self cacheStrategy cache: aDictionnary. \ No newline at end of file diff --git a/src/SmartTest.package/SmartFinder.class/instance/shouldTryToFindTestForDynamic..st b/src/SmartTest.package/SmartFinder.class/instance/shouldTryToFindTestForDynamic..st new file mode 100644 index 0000000..a299c01 --- /dev/null +++ b/src/SmartTest.package/SmartFinder.class/instance/shouldTryToFindTestForDynamic..st @@ -0,0 +1,4 @@ +accessing +shouldTryToFindTestForDynamic: aBoolean + shouldTryToFindTestForDynamic := aBoolean. + self smtFinder shouldTryToFindTestForDynamic: aBoolean \ No newline at end of file diff --git a/src/SmartTest.package/SmartFinder.class/instance/shouldTryToFindTestForDynamic.st b/src/SmartTest.package/SmartFinder.class/instance/shouldTryToFindTestForDynamic.st new file mode 100644 index 0000000..ce10b33 --- /dev/null +++ b/src/SmartTest.package/SmartFinder.class/instance/shouldTryToFindTestForDynamic.st @@ -0,0 +1,3 @@ +accessing +shouldTryToFindTestForDynamic + ^ shouldTryToFindTestForDynamic \ No newline at end of file diff --git a/src/SmartTest.package/SmartFinder.class/instance/smtFinder..st b/src/SmartTest.package/SmartFinder.class/instance/smtFinder..st new file mode 100644 index 0000000..763196f --- /dev/null +++ b/src/SmartTest.package/SmartFinder.class/instance/smtFinder..st @@ -0,0 +1,8 @@ +accessing +smtFinder: aSmTTestFinderStrategy + smtFinder := aSmTTestFinderStrategy. + smtFinder + filter: self filter; + cache: self cacheStrategy; + shouldTryToFindTestForDynamic: self shouldTryToFindTestForDynamic. + self testingStrategy finder: aSmTTestFinderStrategy \ No newline at end of file diff --git a/src/SmartTest.package/SmartFinder.class/instance/smtFinder.st b/src/SmartTest.package/SmartFinder.class/instance/smtFinder.st new file mode 100644 index 0000000..a1116c9 --- /dev/null +++ b/src/SmartTest.package/SmartFinder.class/instance/smtFinder.st @@ -0,0 +1,8 @@ +accessing +smtFinder + ^ smtFinder + ifNil: [ smtFinder := SmTSenderTestFinderStrategy new + filter: self filter; + cache: self cacheStrategy; + shouldTryToFindTestForDynamic: self shouldTryToFindTestForDynamic; + yourself ] \ No newline at end of file diff --git a/src/SmartTest.package/SmartFinder.class/instance/smtListener.st b/src/SmartTest.package/SmartFinder.class/instance/smtListener.st new file mode 100644 index 0000000..cff0bdf --- /dev/null +++ b/src/SmartTest.package/SmartFinder.class/instance/smtListener.st @@ -0,0 +1,3 @@ +accessing +smtListener + ^ SmTTestListener uniqueInstance \ No newline at end of file diff --git a/src/SmartTest.package/SmartFinder.class/instance/testRunner..st b/src/SmartTest.package/SmartFinder.class/instance/testRunner..st new file mode 100644 index 0000000..a975cae --- /dev/null +++ b/src/SmartTest.package/SmartFinder.class/instance/testRunner..st @@ -0,0 +1,4 @@ +accessing +testRunner: aSmTRunnerStrategy + testRunner := aSmTRunnerStrategy. + self testingStrategy runner: aSmTRunnerStrategy \ No newline at end of file diff --git a/src/SmartTest.package/SmartFinder.class/instance/testRunner.st b/src/SmartTest.package/SmartFinder.class/instance/testRunner.st new file mode 100644 index 0000000..ecaa12a --- /dev/null +++ b/src/SmartTest.package/SmartFinder.class/instance/testRunner.st @@ -0,0 +1,3 @@ +accessing +testRunner + ^ testRunner ifNil: [ testRunner := SmTRunnerStrategySmart ] \ No newline at end of file diff --git a/src/SmartTest.package/SmartFinder.class/instance/testingStrategy..st b/src/SmartTest.package/SmartFinder.class/instance/testingStrategy..st new file mode 100644 index 0000000..7befedb --- /dev/null +++ b/src/SmartTest.package/SmartFinder.class/instance/testingStrategy..st @@ -0,0 +1,8 @@ +accessing +testingStrategy: aSmTTestingStrategy + testingStrategy disable. + testingStrategy := aSmTTestingStrategy. + testingStrategy + runner: self testRunner; + finder: self smtFinder. + testingStrategy enable. \ No newline at end of file diff --git a/src/SmartTest.package/SmartFinder.class/instance/testingStrategy.st b/src/SmartTest.package/SmartFinder.class/instance/testingStrategy.st new file mode 100644 index 0000000..b06a04e --- /dev/null +++ b/src/SmartTest.package/SmartFinder.class/instance/testingStrategy.st @@ -0,0 +1,3 @@ +accessing +testingStrategy + ^ testingStrategy ifNil: [ testingStrategy := SmTTestingStrategyEachModification new runner: self testRunner; finder: self smtFinder ] \ No newline at end of file diff --git a/src/SmartTest.package/SmartFinder.class/properties.json b/src/SmartTest.package/SmartFinder.class/properties.json new file mode 100644 index 0000000..eba1da2 --- /dev/null +++ b/src/SmartTest.package/SmartFinder.class/properties.json @@ -0,0 +1,20 @@ +{ + "commentStamp" : "EleonoreWALD 5/3/2018 17:47", + "super" : "Object", + "category" : "SmartTest-Core", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ + "filter", + "testRunner", + "testingStrategy", + "smtFinder", + "cacheStrategy", + "shouldTryToFindTestForDynamic", + "autoUpdateCache", + "smtListener" + ], + "name" : "SmartFinder", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTest.package/TestAsserter.extension/instance/isTestSuite.st b/src/SmartTest.package/TestAsserter.extension/instance/isTestSuite.st new file mode 100644 index 0000000..a3f60f7 --- /dev/null +++ b/src/SmartTest.package/TestAsserter.extension/instance/isTestSuite.st @@ -0,0 +1,3 @@ +*SmartTest +isTestSuite + ^ false \ No newline at end of file diff --git a/src/SmartTest.package/TestAsserter.extension/properties.json b/src/SmartTest.package/TestAsserter.extension/properties.json new file mode 100644 index 0000000..1ee87cb --- /dev/null +++ b/src/SmartTest.package/TestAsserter.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "TestAsserter" +} \ No newline at end of file diff --git a/src/SmartTest.package/TestCase.extension/class/allTestMethods.st b/src/SmartTest.package/TestCase.extension/class/allTestMethods.st new file mode 100644 index 0000000..2f67a65 --- /dev/null +++ b/src/SmartTest.package/TestCase.extension/class/allTestMethods.st @@ -0,0 +1,4 @@ +*SmartTest +allTestMethods + ^ self methods select: [:aCompiledMethod| + aCompiledMethod isTestMethod]. \ No newline at end of file diff --git a/src/SmartTest.package/TestCase.extension/class/generalAnnouncer.st b/src/SmartTest.package/TestCase.extension/class/generalAnnouncer.st new file mode 100644 index 0000000..c048a0e --- /dev/null +++ b/src/SmartTest.package/TestCase.extension/class/generalAnnouncer.st @@ -0,0 +1,3 @@ +*SmartTest +generalAnnouncer + ^ SmTAnnouncer announcer \ No newline at end of file diff --git a/src/SmartTest.package/TestCase.extension/class/shouldAnnounce.st b/src/SmartTest.package/TestCase.extension/class/shouldAnnounce.st new file mode 100644 index 0000000..5d9bebe --- /dev/null +++ b/src/SmartTest.package/TestCase.extension/class/shouldAnnounce.st @@ -0,0 +1,3 @@ +*SmartTest +shouldAnnounce + ^ SmTAnnouncer shouldAnnounce \ No newline at end of file diff --git a/src/SmartTest.package/TestCase.extension/instance/announce.withResult..st b/src/SmartTest.package/TestCase.extension/instance/announce.withResult..st new file mode 100644 index 0000000..320f818 --- /dev/null +++ b/src/SmartTest.package/TestCase.extension/instance/announce.withResult..st @@ -0,0 +1,11 @@ +*SmartTest +announce: anAnnouncementClass withResult: result + | event | + self shouldAnnounce + ifFalse: [ ^ self ]. + + event := anAnnouncementClass asAnnouncement. + event testCase: self. + event testSelector: testSelector. + event testResult: result. + self generalAnnouncer announce: event \ No newline at end of file diff --git a/src/SmartTest.package/TestCase.extension/instance/generalAnnouncer.st b/src/SmartTest.package/TestCase.extension/instance/generalAnnouncer.st new file mode 100644 index 0000000..29c83d3 --- /dev/null +++ b/src/SmartTest.package/TestCase.extension/instance/generalAnnouncer.st @@ -0,0 +1,3 @@ +*SmartTest +generalAnnouncer + ^ self class generalAnnouncer \ No newline at end of file diff --git a/src/SmartTest.package/TestCase.extension/instance/methodReference.st b/src/SmartTest.package/TestCase.extension/instance/methodReference.st new file mode 100644 index 0000000..63b469a --- /dev/null +++ b/src/SmartTest.package/TestCase.extension/instance/methodReference.st @@ -0,0 +1,3 @@ +*SmartTest +methodReference + ^ RGMethodDefinition class: self class selector: self selector \ No newline at end of file diff --git a/src/SmartTest.package/TestCase.extension/properties.json b/src/SmartTest.package/TestCase.extension/properties.json new file mode 100644 index 0000000..a3fb0af --- /dev/null +++ b/src/SmartTest.package/TestCase.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "TestCase" +} \ No newline at end of file diff --git a/src/SmartTest.package/TestSuite.extension/instance/flatCollectTests.st b/src/SmartTest.package/TestSuite.extension/instance/flatCollectTests.st new file mode 100644 index 0000000..b7487f9 --- /dev/null +++ b/src/SmartTest.package/TestSuite.extension/instance/flatCollectTests.st @@ -0,0 +1,9 @@ +*SmartTest +flatCollectTests + ^ tests + ifNil: [ ^ {} ] + ifNotNil: [ tests + flatCollect: [ :t | + t isTestSuite + ifTrue: [ t flatCollectTests ] + ifFalse: [ {t} ] ] ] \ No newline at end of file diff --git a/src/SmartTest.package/TestSuite.extension/instance/isTestSuite.st b/src/SmartTest.package/TestSuite.extension/instance/isTestSuite.st new file mode 100644 index 0000000..9e3e4f7 --- /dev/null +++ b/src/SmartTest.package/TestSuite.extension/instance/isTestSuite.st @@ -0,0 +1,3 @@ +*SmartTest +isTestSuite + ^ true \ No newline at end of file diff --git a/src/SmartTest.package/TestSuite.extension/properties.json b/src/SmartTest.package/TestSuite.extension/properties.json new file mode 100644 index 0000000..c8d279a --- /dev/null +++ b/src/SmartTest.package/TestSuite.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "TestSuite" +} \ No newline at end of file diff --git a/src/SmartTest.package/monticello.meta/categories.st b/src/SmartTest.package/monticello.meta/categories.st new file mode 100644 index 0000000..8985a7f --- /dev/null +++ b/src/SmartTest.package/monticello.meta/categories.st @@ -0,0 +1,12 @@ +SystemOrganization addCategory: #SmartTest! +SystemOrganization addCategory: #'SmartTest-Cache'! +SystemOrganization addCategory: #'SmartTest-Core'! +SystemOrganization addCategory: #'SmartTest-Critiques'! +SystemOrganization addCategory: #'SmartTest-Event'! +SystemOrganization addCategory: #'SmartTest-Filter'! +SystemOrganization addCategory: #'SmartTest-Finder'! +SystemOrganization addCategory: #'SmartTest-Listener'! +SystemOrganization addCategory: #'SmartTest-Rules'! +SystemOrganization addCategory: #'SmartTest-Runner'! +SystemOrganization addCategory: #'SmartTest-Testing'! +SystemOrganization addCategory: #'SmartTest-Tools'! diff --git a/src/SmartTest.package/monticello.meta/initializers.st b/src/SmartTest.package/monticello.meta/initializers.st new file mode 100644 index 0000000..e69de29 diff --git a/src/SmartTest.package/monticello.meta/package b/src/SmartTest.package/monticello.meta/package new file mode 100644 index 0000000..803c6d8 --- /dev/null +++ b/src/SmartTest.package/monticello.meta/package @@ -0,0 +1 @@ +(name 'SmartTest') \ No newline at end of file diff --git a/src/SmartTest.package/properties.json b/src/SmartTest.package/properties.json new file mode 100644 index 0000000..6f31cf5 --- /dev/null +++ b/src/SmartTest.package/properties.json @@ -0,0 +1 @@ +{ } \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/.filetree b/src/SmartTestDataOutsideP1.package/.filetree new file mode 100644 index 0000000..57a6797 --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/.filetree @@ -0,0 +1,5 @@ +{ + "separateMethodMetaAndSource" : false, + "noMethodMetaData" : true, + "useCypressPropertiesFile" : true +} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageTestOutsideWithRefTest.class/README.md b/src/SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageTestOutsideWithRefTest.class/README.md new file mode 100644 index 0000000..feaf30f --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageTestOutsideWithRefTest.class/README.md @@ -0,0 +1,8 @@ +Data for SmartTest tests on the testForClass:. + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +We will use this that to assert that SmartTest behaves correctly when dealing with inherited methods ans class. + +This class has a test that references the class SmTClassModificationOnClassInsidePackageWithRef \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageTestOutsideWithRefTest.class/instance/testRefToSmTClassModificationOnClassInsidePackageWithRef.st b/src/SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageTestOutsideWithRefTest.class/instance/testRefToSmTClassModificationOnClassInsidePackageWithRef.st new file mode 100644 index 0000000..3a45b24 --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageTestOutsideWithRefTest.class/instance/testRefToSmTClassModificationOnClassInsidePackageWithRef.st @@ -0,0 +1,3 @@ +tests +testRefToSmTClassModificationOnClassInsidePackageWithRef +SmTClassModificationOnClassInsidePackageWithRef new. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageTestOutsideWithRefTest.class/properties.json b/src/SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageTestOutsideWithRefTest.class/properties.json new file mode 100644 index 0000000..c378741 --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageTestOutsideWithRefTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "eleonoreW 6/11/2018 11:21", + "super" : "TestCase", + "category" : "SmartTestDataOutsideP1-ModificationOnClass-Tests", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTClassModificationOnClassInsidePackageTestOutsideWithRefTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageWithRef.class/README.md b/src/SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageWithRef.class/README.md new file mode 100644 index 0000000..a58820e --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageWithRef.class/README.md @@ -0,0 +1,8 @@ +Data for SmartTest tests on the testForClass:. + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +We will use this that to assert that SmartTest behaves correctly when dealing with inherited methods ans class. + +This class is referenced inside it package in the test SmTClassModificationOnClassInsidePackageTestOutsideWithRefTest >> testRefToSmTClassModificationOnClassInsidePackageWithRef \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageWithRef.class/properties.json b/src/SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageWithRef.class/properties.json new file mode 100644 index 0000000..c13622d --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageWithRef.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "eleonoreW 6/11/2018 11:48", + "super" : "Object", + "category" : "SmartTestDataOutsideP1-ModificationOnClass", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTClassModificationOnClassInsidePackageWithRef", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassModificationOnClassOutsidePackageWithRef.class/README.md b/src/SmartTestDataOutsideP1.package/SmTClassModificationOnClassOutsidePackageWithRef.class/README.md new file mode 100644 index 0000000..aa04ed3 --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTClassModificationOnClassOutsidePackageWithRef.class/README.md @@ -0,0 +1,8 @@ +Data for SmartTest tests on the testForClass:. + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +We will use this that to assert that SmartTest behaves correctly when dealing with inherited methods ans class. + +This class is referenced outside its package (in SmartTestDataOutsideP2) in the test RefToSmTClassModificationOnClassOutsidePackageWithRef >> testRefToSmTClassModificationOnClassOutsidePackageWithRef \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassModificationOnClassOutsidePackageWithRef.class/properties.json b/src/SmartTestDataOutsideP1.package/SmTClassModificationOnClassOutsidePackageWithRef.class/properties.json new file mode 100644 index 0000000..cb02d99 --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTClassModificationOnClassOutsidePackageWithRef.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "eleonoreW 6/11/2018 11:48", + "super" : "Object", + "category" : "SmartTestDataOutsideP1-ModificationOnClass", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTClassModificationOnClassOutsidePackageWithRef", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassModificationOnClassSimpleTestCase.class/README.md b/src/SmartTestDataOutsideP1.package/SmTClassModificationOnClassSimpleTestCase.class/README.md new file mode 100644 index 0000000..4fc56e1 --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTClassModificationOnClassSimpleTestCase.class/README.md @@ -0,0 +1,8 @@ +Data for SmartTest tests on the testForClass:. + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +We will use this that to assert that SmartTest behaves correctly when dealing with inherited methods ans class. + +This class is a subclass of TestCase and contains a test. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassModificationOnClassSimpleTestCase.class/instance/testModificationOnClassSimpleTestCase.st b/src/SmartTestDataOutsideP1.package/SmTClassModificationOnClassSimpleTestCase.class/instance/testModificationOnClassSimpleTestCase.st new file mode 100644 index 0000000..74de0bc --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTClassModificationOnClassSimpleTestCase.class/instance/testModificationOnClassSimpleTestCase.st @@ -0,0 +1,3 @@ +tests +testModificationOnClassSimpleTestCase +"The behaviour of this method is irrelevant." \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassModificationOnClassSimpleTestCase.class/properties.json b/src/SmartTestDataOutsideP1.package/SmTClassModificationOnClassSimpleTestCase.class/properties.json new file mode 100644 index 0000000..f37e249 --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTClassModificationOnClassSimpleTestCase.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "eleonoreW 6/11/2018 11:51", + "super" : "TestCase", + "category" : "SmartTestDataOutsideP1-ModificationOnClass-Tests", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTClassModificationOnClassSimpleTestCase", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1.class/README.md b/src/SmartTestDataOutsideP1.package/SmTClassP1.class/README.md new file mode 100644 index 0000000..fbc8827 --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTClassP1.class/README.md @@ -0,0 +1,8 @@ +Data for SmartTest tests on the filters (default, defaultClass, restricted package). + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). + +This class is not referenced anywhere (we used concatenation to be sure). diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1FirstLevelSendersInsidePackage.st b/src/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1FirstLevelSendersInsidePackage.st new file mode 100644 index 0000000..727219c --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1FirstLevelSendersInsidePackage.st @@ -0,0 +1,5 @@ +method1 +method1FirstLevelSendersInsidePackage + "Data for tests: method directly called by a test method from the same package" + +" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1FirstLevelSendersOutsidePackage.st b/src/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1FirstLevelSendersOutsidePackage.st new file mode 100644 index 0000000..f5cdce7 --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1FirstLevelSendersOutsidePackage.st @@ -0,0 +1,5 @@ +method1 +method1FirstLevelSendersOutsidePackage + "Data for tests: method directly called by a test method but not from the same package" + +" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1SecondLevelSendersInsidePackageWithTestInside.st b/src/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1SecondLevelSendersInsidePackageWithTestInside.st new file mode 100644 index 0000000..a1c17b3 --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1SecondLevelSendersInsidePackageWithTestInside.st @@ -0,0 +1,5 @@ +method1 +method1SecondLevelSendersInsidePackageWithTestInside + "Data for tests: method called by another method , which itself is called by a test from the same package" + +" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1SecondLevelSendersInsidePackageWithTestOutside.st b/src/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1SecondLevelSendersInsidePackageWithTestOutside.st new file mode 100644 index 0000000..313a287 --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1SecondLevelSendersInsidePackageWithTestOutside.st @@ -0,0 +1,5 @@ +method1 +method1SecondLevelSendersInsidePackageWithTestOutside + "Data for tests: method called by another method from the same package, which itself is called by a test not from the same package" + +" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1SecondLevelSendersOutsidePackageWithTestInside.st b/src/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1SecondLevelSendersOutsidePackageWithTestInside.st new file mode 100644 index 0000000..c7ab4cf --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1SecondLevelSendersOutsidePackageWithTestInside.st @@ -0,0 +1,5 @@ +method1 +method1SecondLevelSendersOutsidePackageWithTestInside + "Data for tests: method called by another method not from the same package, which itself is called by a test from the same package" + +" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1SecondLevelSendersOutsidePackageWithTestOutside.st b/src/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1SecondLevelSendersOutsidePackageWithTestOutside.st new file mode 100644 index 0000000..258360d --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1SecondLevelSendersOutsidePackageWithTestOutside.st @@ -0,0 +1,5 @@ +method1 +method1SecondLevelSendersOutsidePackageWithTestOutside + "Data for tests: method called by another method not from the same package, which itself is called by a test not from the same package" + +" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method2SecondLevelSendersInsidePackageWithTestInside.st b/src/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method2SecondLevelSendersInsidePackageWithTestInside.st new file mode 100644 index 0000000..8820681 --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method2SecondLevelSendersInsidePackageWithTestInside.st @@ -0,0 +1,6 @@ +method2 +method2SecondLevelSendersInsidePackageWithTestInside + "Data for tests: this method calls a method from the same package, + this method is called by a test from the same package" + "In order to be sure that this method does not reference any class, we don't use directly the class but go through their name with a concatenation and then transform them into class" +^ ('SmTClass','P1') asClass new method1SecondLevelSendersInsidePackageWithTestInside. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method2SecondLevelSendersInsidePackageWithTestOutside.st b/src/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method2SecondLevelSendersInsidePackageWithTestOutside.st new file mode 100644 index 0000000..3b52c37 --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method2SecondLevelSendersInsidePackageWithTestOutside.st @@ -0,0 +1,6 @@ +method2 +method2SecondLevelSendersInsidePackageWithTestOutside + "Data for tests: this method calls a method from the same package, + this method is called by a test not from the same package" + "In order to be sure that this method does not reference any class, we don't use directly the class but go through their name with a concatenation and then transform them into class" +^('SmTClass','P1') asClass new method1SecondLevelSendersInsidePackageWithTestOutside. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1.class/properties.json b/src/SmartTestDataOutsideP1.package/SmTClassP1.class/properties.json new file mode 100644 index 0000000..a55ae1c --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTClassP1.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "EleonoreWALD 5/11/2018 13:40", + "super" : "Object", + "category" : "SmartTestDataOutsideP1-ModificationOnMethod-WithoutRef", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTClassP1", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersInsideWithRefInMethod.class/README.md b/src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersInsideWithRefInMethod.class/README.md new file mode 100644 index 0000000..ca905b8 --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersInsideWithRefInMethod.class/README.md @@ -0,0 +1,8 @@ +Data for SmartTest tests on the filters. + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). + +This class is referenced by SmTP1ClassTestFirstLevelSendersInsideWithRefInMethod >> testMethod1FirstLevelSendersInsideWithRefInMethod . diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersInsideWithRefInMethod.class/instance/method1FirstLevelSendersInsideWithRefInMethod.st b/src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersInsideWithRefInMethod.class/instance/method1FirstLevelSendersInsideWithRefInMethod.st new file mode 100644 index 0000000..492989f --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersInsideWithRefInMethod.class/instance/method1FirstLevelSendersInsideWithRefInMethod.st @@ -0,0 +1,5 @@ +method1 +method1FirstLevelSendersInsideWithRefInMethod +"Data for tests: method directly called by a test method not from the same package" + +" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersInsideWithRefInMethod.class/properties.json b/src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersInsideWithRefInMethod.class/properties.json new file mode 100644 index 0000000..1be1b61 --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersInsideWithRefInMethod.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "eleonoreW 6/11/2018 14:22", + "super" : "Object", + "category" : "SmartTestDataOutsideP1-ModificationOnMethod-FirstLevelWithRef", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTClassP1FirstLevelSendersInsideWithRefInMethod", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class/README.md b/src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class/README.md new file mode 100644 index 0000000..caf9473 --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class/README.md @@ -0,0 +1,8 @@ +Data for SmartTest tests on the filters. + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). + +This class is referenced by SmTClassTestP2FirstLevelSendersOutsideWithRef >> refInClass . diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class/instance/method1FirstLevelSendersWithRefInClass.st b/src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class/instance/method1FirstLevelSendersWithRefInClass.st new file mode 100644 index 0000000..0867a5c --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class/instance/method1FirstLevelSendersWithRefInClass.st @@ -0,0 +1,5 @@ +method1 +method1FirstLevelSendersWithRefInClass +"Data for tests: method directly called by a test method not from the same package" + +" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class/properties.json b/src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class/properties.json new file mode 100644 index 0000000..8fa57df --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "eleonoreW 6/11/2018 09:53", + "super" : "Object", + "category" : "SmartTestDataOutsideP1-ModificationOnMethod-FirstLevelWithRef", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTClassP1FirstLevelSendersOutsideWithRefInClass", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class/README.md b/src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class/README.md new file mode 100644 index 0000000..5a332eb --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class/README.md @@ -0,0 +1,8 @@ +Data for SmartTest tests on the filters. + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). + +This class is referenced by SmartTestDataOutside: SmTClassTestP2 >> testMethod1FirstLevelSendersOutsideWithRefInMethod . \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class/instance/method1FirstLevelSendersWithRefInMethod.st b/src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class/instance/method1FirstLevelSendersWithRefInMethod.st new file mode 100644 index 0000000..075633d --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class/instance/method1FirstLevelSendersWithRefInMethod.st @@ -0,0 +1,5 @@ +method1 +method1FirstLevelSendersWithRefInMethod +"Data for tests: method directly called by a test method not from the same package" + +" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class/properties.json b/src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class/properties.json new file mode 100644 index 0000000..aca6399 --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "eleonoreW 6/11/2018 09:56", + "super" : "Object", + "category" : "SmartTestDataOutsideP1-ModificationOnMethod-FirstLevelWithRef", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTClassP1FirstLevelSendersOutsideWithRefInMethod", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class/README.md b/src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class/README.md new file mode 100644 index 0000000..2bd355b --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class/README.md @@ -0,0 +1,8 @@ +Data for SmartTest tests on the filters. + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). + +This class is referenced by SmartTestDataOutsideP2: SmTClassP2ReferencesInPackage >> referenceToSmTClassP1FirstLevelSendersOutsideWithRefInPackage . \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class/instance/method1FirstLevelSendersWithRefInPackage.st b/src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class/instance/method1FirstLevelSendersWithRefInPackage.st new file mode 100644 index 0000000..50a0e0b --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class/instance/method1FirstLevelSendersWithRefInPackage.st @@ -0,0 +1,5 @@ +method1 +method1FirstLevelSendersWithRefInPackage +"Data for tests: method directly called by a test method not from the same package" + +" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class/properties.json b/src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class/properties.json new file mode 100644 index 0000000..41396ce --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "eleonoreW 6/11/2018 09:55", + "super" : "Object", + "category" : "SmartTestDataOutsideP1-ModificationOnMethod-FirstLevelWithRef", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTClassP1FirstLevelSendersOutsideWithRefInPackage", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/README.md b/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/README.md new file mode 100644 index 0000000..e222370 --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/README.md @@ -0,0 +1,8 @@ +Data for SmartTest tests on the testForAnInstanceVariable:. + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +We will use this that to assert that SmartTest behaves correctly when dealing with modifications on instance variables. + +It contains different instance variables that are used in tests. Each variable has only one test that calls them. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/instVarModificationOnVariableInsidePackage..st b/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/instVarModificationOnVariableInsidePackage..st new file mode 100644 index 0000000..1dadc5b --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/instVarModificationOnVariableInsidePackage..st @@ -0,0 +1,3 @@ +accessing +instVarModificationOnVariableInsidePackage: anObject + instVarModificationOnVariableInsidePackage := anObject \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/instVarModificationOnVariableInsidePackage.st b/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/instVarModificationOnVariableInsidePackage.st new file mode 100644 index 0000000..54e008f --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/instVarModificationOnVariableInsidePackage.st @@ -0,0 +1,3 @@ +accessing +instVarModificationOnVariableInsidePackage + ^ instVarModificationOnVariableInsidePackage \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/instVarModificationOnVariableOutsidePackage..st b/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/instVarModificationOnVariableOutsidePackage..st new file mode 100644 index 0000000..fc92231 --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/instVarModificationOnVariableOutsidePackage..st @@ -0,0 +1,3 @@ +accessing +instVarModificationOnVariableOutsidePackage: anObject + instVarModificationOnVariableOutsidePackage := anObject \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/instVarModificationOnVariableOutsidePackage.st b/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/instVarModificationOnVariableOutsidePackage.st new file mode 100644 index 0000000..812e85d --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/instVarModificationOnVariableOutsidePackage.st @@ -0,0 +1,3 @@ +accessing +instVarModificationOnVariableOutsidePackage + ^ instVarModificationOnVariableOutsidePackage \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/properties.json b/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/properties.json new file mode 100644 index 0000000..0ae4d3f --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/properties.json @@ -0,0 +1,14 @@ +{ + "commentStamp" : "eleonoreW 6/11/2018 10:31", + "super" : "Object", + "category" : "SmartTestDataOutsideP1-ModificationOnVariable", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ + "instVarModificationOnVariableInsidePackage", + "instVarModificationOnVariableOutsidePackage" + ], + "name" : "SmTClassP1ModificationOnVariable", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsideClassTest.class/README.md b/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsideClassTest.class/README.md new file mode 100644 index 0000000..4c281fe --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsideClassTest.class/README.md @@ -0,0 +1,8 @@ +Data for SmartTest tests on the testForAnInstanceVariable:. + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +We will use this that to assert that SmartTest behaves correctly when dealing with modifications on instance variables. + +This class has an instance variable used inside the class in a test. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsideClassTest.class/instance/instVarModificationOnVariableInsideClass..st b/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsideClassTest.class/instance/instVarModificationOnVariableInsideClass..st new file mode 100644 index 0000000..57981dc --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsideClassTest.class/instance/instVarModificationOnVariableInsideClass..st @@ -0,0 +1,3 @@ +accessing +instVarModificationOnVariableInsideClass: anObject + instVarModificationOnVariableInsideClass := anObject \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsideClassTest.class/instance/instVarModificationOnVariableInsideClass.st b/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsideClassTest.class/instance/instVarModificationOnVariableInsideClass.st new file mode 100644 index 0000000..2062647 --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsideClassTest.class/instance/instVarModificationOnVariableInsideClass.st @@ -0,0 +1,3 @@ +accessing +instVarModificationOnVariableInsideClass + ^ instVarModificationOnVariableInsideClass \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsideClassTest.class/instance/testModificationOnVariableInsideClass.st b/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsideClassTest.class/instance/testModificationOnVariableInsideClass.st new file mode 100644 index 0000000..f5e3b50 --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsideClassTest.class/instance/testModificationOnVariableInsideClass.st @@ -0,0 +1,5 @@ +tests +testModificationOnVariableInsideClass +|anObject| +anObject := ('SmTClassP1ModificationOn','VariableInsideClassTest') asClass new. +anObject instVarModificationOnVariableInsideClass \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsideClassTest.class/properties.json b/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsideClassTest.class/properties.json new file mode 100644 index 0000000..fc5298d --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsideClassTest.class/properties.json @@ -0,0 +1,13 @@ +{ + "commentStamp" : "eleonoreW 6/11/2018 10:27", + "super" : "TestCase", + "category" : "SmartTestDataOutsideP1-ModificationOnVariable-Tests", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ + "instVarModificationOnVariableInsideClass" + ], + "name" : "SmTClassP1ModificationOnVariableInsideClassTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsidePackageTest.class/README.md b/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsidePackageTest.class/README.md new file mode 100644 index 0000000..92ec6c1 --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsidePackageTest.class/README.md @@ -0,0 +1,6 @@ +Data for SmartTest tests on the testForAnInstanceVariable:. + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +We will use this that to assert that SmartTest behaves correctly when dealing with modifications on instance variables. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsidePackageTest.class/instance/testModificationOnVariableInsidePackage.st b/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsidePackageTest.class/instance/testModificationOnVariableInsidePackage.st new file mode 100644 index 0000000..5a76e2b --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsidePackageTest.class/instance/testModificationOnVariableInsidePackage.st @@ -0,0 +1,5 @@ +tests +testModificationOnVariableInsidePackage +|anObject| +anObject := ('SmTClassP1','ModificationOnVariable')asClass new. +anObject instVarModificationOnVariableInsidePackage \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsidePackageTest.class/properties.json b/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsidePackageTest.class/properties.json new file mode 100644 index 0000000..4654731 --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsidePackageTest.class/properties.json @@ -0,0 +1,13 @@ +{ + "commentStamp" : "eleonoreW 6/1/2018 14:13", + "super" : "TestCase", + "category" : "SmartTestDataOutsideP1-ModificationOnVariable-Tests", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ + "instVarModificationOnVariable" + ], + "name" : "SmTClassP1ModificationOnVariableInsidePackageTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class/README.md b/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class/README.md new file mode 100644 index 0000000..47b1d05 --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class/README.md @@ -0,0 +1,10 @@ +Data for SmartTest tests on the DefaultClassPackage filter. + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). + +In this class, there is the modified method and its first level sender (which contains 'method2' in it's name). In another package, there is the second level sender of the modified method (which contains 'testmethod2' in it's name). + +This class is referenced in the package SmartTestDataOutsideP2inside the same class as testMethod2 (but not in the same method). \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class/instance/method1SecondLevelSendersInsideTestOutsideWithRefInClass.st b/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class/instance/method1SecondLevelSendersInsideTestOutsideWithRefInClass.st new file mode 100644 index 0000000..900a979 --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class/instance/method1SecondLevelSendersInsideTestOutsideWithRefInClass.st @@ -0,0 +1,5 @@ +method1 +method1SecondLevelSendersInsideTestOutsideWithRefInClass +"Data for tests: method directly called by a test method not from the same package" + +" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class/instance/method2SecondLevelSendersInsideTestOutsideWithRefInClass.st b/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class/instance/method2SecondLevelSendersInsideTestOutsideWithRefInClass.st new file mode 100644 index 0000000..fac6880 --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class/instance/method2SecondLevelSendersInsideTestOutsideWithRefInClass.st @@ -0,0 +1,5 @@ +method2 +method2SecondLevelSendersInsideTestOutsideWithRefInClass +"Data for tests: method directly called by a test method not from the same package" + ^ self method1SecondLevelSendersInsideTestOutsideWithRefInClass +" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class/properties.json b/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class/properties.json new file mode 100644 index 0000000..97d8117 --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "EleonoreWALD 5/16/2018 16:22", + "super" : "Object", + "category" : "SmartTestDataOutsideP1-ModificationOnMethod-SenderInTestOutWithRef", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class/README.md b/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class/README.md new file mode 100644 index 0000000..552df47 --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class/README.md @@ -0,0 +1,10 @@ +Data for SmartTest tests on the DefaultClassPackage filter. + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). + +In this class, there is the modified method and its first level sender (which contains 'method2' in it's name). In another package, there is the second level sender of the modified method (which contains 'testmethod2' in it's name). + +This class is referenced in the package SmartTestDataOutsideP2inside the same method as testMethod2. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class/instance/method1SecondLevelSendersInsideTestOutsideWithRefInMethod.st b/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class/instance/method1SecondLevelSendersInsideTestOutsideWithRefInMethod.st new file mode 100644 index 0000000..4b235ea --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class/instance/method1SecondLevelSendersInsideTestOutsideWithRefInMethod.st @@ -0,0 +1,5 @@ +method1 +method1SecondLevelSendersInsideTestOutsideWithRefInMethod +"Data for tests: method directly called by a test method not from the same package" + +" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class/instance/method2SecondLevelSendersInsideTestOutsideWithRefInMethod.st b/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class/instance/method2SecondLevelSendersInsideTestOutsideWithRefInMethod.st new file mode 100644 index 0000000..229e665 --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class/instance/method2SecondLevelSendersInsideTestOutsideWithRefInMethod.st @@ -0,0 +1,5 @@ +method2 +method2SecondLevelSendersInsideTestOutsideWithRefInMethod +"Data for tests: method directly called by a test method not from the same package" + ^ self method1SecondLevelSendersInsideTestOutsideWithRefInMethod +" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class/properties.json b/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class/properties.json new file mode 100644 index 0000000..50c4ab4 --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "EleonoreWALD 5/16/2018 16:22", + "super" : "Object", + "category" : "SmartTestDataOutsideP1-ModificationOnMethod-SenderInTestOutWithRef", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class/README.md b/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class/README.md new file mode 100644 index 0000000..8848848 --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class/README.md @@ -0,0 +1,10 @@ +Data for SmartTest tests on the DefaultClassPackage filter. + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). + +In this class, there is the modified method and its first level sender (which contains 'method2' in it's name). In another package, there is the second level sender of the modified method (which contains 'testmethod2' in it's name). + +This class is referenced in the package SmartTestDataOutsideP2inside the same package as testMethod2 (but not in the same method or class). \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class/instance/method1SecondLevelSendersInsideTestOutsideWithRefInPackage.st b/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class/instance/method1SecondLevelSendersInsideTestOutsideWithRefInPackage.st new file mode 100644 index 0000000..e14fd75 --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class/instance/method1SecondLevelSendersInsideTestOutsideWithRefInPackage.st @@ -0,0 +1,5 @@ +method1 +method1SecondLevelSendersInsideTestOutsideWithRefInPackage +"Data for tests: method directly called by a test method not from the same package" + +" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class/instance/method2SecondLevelSendersInsideTestOutsideWithRefInPackage.st b/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class/instance/method2SecondLevelSendersInsideTestOutsideWithRefInPackage.st new file mode 100644 index 0000000..d5c9f39 --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class/instance/method2SecondLevelSendersInsideTestOutsideWithRefInPackage.st @@ -0,0 +1,5 @@ +method2 +method2SecondLevelSendersInsideTestOutsideWithRefInPackage +"Data for tests: method directly called by a test method not from the same package" + ^ self method1SecondLevelSendersInsideTestOutsideWithRefInPackage +" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class/properties.json b/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class/properties.json new file mode 100644 index 0000000..13a15fb --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "EleonoreWALD 5/16/2018 16:22", + "super" : "Object", + "category" : "SmartTestDataOutsideP1-ModificationOnMethod-SenderInTestOutWithRef", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.class/README.md b/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.class/README.md new file mode 100644 index 0000000..cc3d28e --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.class/README.md @@ -0,0 +1,10 @@ +Data for SmartTest tests on the DefaultClassPackage filter. + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). + +In this class, there is the modified method and its second level sender (which contains 'testsmethod2' in it's name). In another package, there is the first level sender of the modified method (which contains 'method2' in it's name). + +This class is referenced in the package SmartTestDataOutsideP2inside the same class as method2 (but not in the same method). \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.class/instance/method1SecondLevelSendersOutsideTestInsideWithRefInClass.st b/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.class/instance/method1SecondLevelSendersOutsideTestInsideWithRefInClass.st new file mode 100644 index 0000000..2c8364e --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.class/instance/method1SecondLevelSendersOutsideTestInsideWithRefInClass.st @@ -0,0 +1,5 @@ +method1 +method1SecondLevelSendersOutsideTestInsideWithRefInClass +"Data for tests: method directly called by a test method not from the same package" + +" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.class/properties.json b/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.class/properties.json new file mode 100644 index 0000000..1f116dc --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "EleonoreWALD 5/16/2018 16:22", + "super" : "Object", + "category" : "SmartTestDataOutsideP1-ModificationOnMethod-SenderOutTestInWithRef", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class/README.md b/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class/README.md new file mode 100644 index 0000000..88eafea --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class/README.md @@ -0,0 +1,10 @@ +Data for SmartTest tests on the DefaultClassPackage filter. + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). + +In this class, there is the modified method and its second level sender (which contains 'testsmethod2' in it's name). In another package, there is the first level sender of the modified method (which contains 'method2' in it's name). + +This class is referenced in the package SmartTestDataOutsideP2inside the same method as method2. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class/instance/method1SecondLevelSendersOutsideTestInsideWithRefInMethod.st b/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class/instance/method1SecondLevelSendersOutsideTestInsideWithRefInMethod.st new file mode 100644 index 0000000..c1eedc0 --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class/instance/method1SecondLevelSendersOutsideTestInsideWithRefInMethod.st @@ -0,0 +1,5 @@ +method1 +method1SecondLevelSendersOutsideTestInsideWithRefInMethod +"Data for tests: method directly called by a test method not from the same package" + +" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class/properties.json b/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class/properties.json new file mode 100644 index 0000000..f612c90 --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "EleonoreWALD 5/16/2018 16:22", + "super" : "Object", + "category" : "SmartTestDataOutsideP1-ModificationOnMethod-SenderOutTestInWithRef", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.class/README.md b/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.class/README.md new file mode 100644 index 0000000..b0b8052 --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.class/README.md @@ -0,0 +1,10 @@ +Data for SmartTest tests on the DefaultClassPackage filter. + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). + +In this class, there is the modified method and its second level sender (which contains 'testsmethod2' in it's name). In another package, there is the first level sender of the modified method (which contains 'method2' in it's name). + +This class is referenced in the package SmartTestDataOutsideP2inside the same package as method2 (but not in the same methodor class). \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.class/instance/method1SecondLevelSendersOutsideTestInsideWithRefInPackage.st b/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.class/instance/method1SecondLevelSendersOutsideTestInsideWithRefInPackage.st new file mode 100644 index 0000000..ab2d54a --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.class/instance/method1SecondLevelSendersOutsideTestInsideWithRefInPackage.st @@ -0,0 +1,5 @@ +method1 +method1SecondLevelSendersOutsideTestInsideWithRefInPackage +"Data for tests: method directly called by a test method not from the same package" + +" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.class/properties.json b/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.class/properties.json new file mode 100644 index 0000000..c2a2998 --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "EleonoreWALD 5/16/2018 16:22", + "super" : "Object", + "category" : "SmartTestDataOutsideP1-ModificationOnMethod-SenderOutTestInWithRef", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/README.md b/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/README.md new file mode 100644 index 0000000..b690942 --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/README.md @@ -0,0 +1,11 @@ +Data for SmartTest tests on the filters (defaultClass). + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are controlled and consequently the tests are independent the one from the others. + +In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). + +If the name of the test contains 'method2', the test use the method method2, if the test contains 'method1', the test directly uses the modified method. + +In this class, the first and second level senders are located outside of the package of the modified method and in two different package. +We test two different setup, one in which both method2 and testMethod2 references directly the class of method1, and another in which method2 references the class of method1 and testMethod2 references the class of method2. diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/instance/method1SecondLevelSendersOutsideTestOutsideWithRefInMethod.st b/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/instance/method1SecondLevelSendersOutsideTestOutsideWithRefInMethod.st new file mode 100644 index 0000000..35b0bf0 --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/instance/method1SecondLevelSendersOutsideTestOutsideWithRefInMethod.st @@ -0,0 +1,5 @@ +method1 +method1SecondLevelSendersOutsideTestOutsideWithRefInMethod +"Data for tests: method called by a method not from the same package" + +" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/properties.json b/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/properties.json new file mode 100644 index 0000000..f009d87 --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "EleonoreWALD 5/17/2018 10:51", + "super" : "Object", + "category" : "SmartTestDataOutsideP1-ModificationOnMethod-SenderOutTestOutWithRef", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassTestP1.class/README.md b/src/SmartTestDataOutsideP1.package/SmTClassTestP1.class/README.md new file mode 100644 index 0000000..94f49e6 --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTClassTestP1.class/README.md @@ -0,0 +1,8 @@ +Data for SmartTest tests on the filters (default, defaultClass, restricted package). + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are controlled and consequently the tests are independent the one from the others. + +In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). + +If the name of the test contains 'method2', the test use the method method2, if the test contains 'method1', the test directly uses the modified method. diff --git a/src/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testExtensionMethod1FirstLevelSendersInside.st b/src/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testExtensionMethod1FirstLevelSendersInside.st new file mode 100644 index 0000000..caf4b9c --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testExtensionMethod1FirstLevelSendersInside.st @@ -0,0 +1,3 @@ +testMethod1 +testExtensionMethod1FirstLevelSendersInside +SmTExtensionP2Test >> #extensionMethod1FirstLevelSendersInside \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod1FirstLevelSendersInsidePackage.st b/src/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod1FirstLevelSendersInsidePackage.st new file mode 100644 index 0000000..84131b1 --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod1FirstLevelSendersInsidePackage.st @@ -0,0 +1,5 @@ +testMethod1 +testMethod1FirstLevelSendersInsidePackage +"Data for tests: this method calls directly a method from the same package." +"In order to be sure that this method does not reference any class, we don't use directly the class but go through their name with a concatenation and then transform them into class" + ^ ('SmTClass','P1') asClass new method1FirstLevelSendersInsidePackage. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersInsidePackageWithTestInside.st b/src/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersInsidePackageWithTestInside.st new file mode 100644 index 0000000..9d3f99f --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersInsidePackageWithTestInside.st @@ -0,0 +1,4 @@ +testMethod2 +testMethod2SecondLevelSendersInsidePackageWithTestInside +"In order to be sure that this method does not reference any class, we don't use directly the class but go through their name with a concatenation and then transform them into class" + ^ ('SmTClass','P1') asClass new method2SecondLevelSendersInsidePackageWithTestInside. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersOutsidePackageWithTestInside.st b/src/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersOutsidePackageWithTestInside.st new file mode 100644 index 0000000..3893f88 --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersOutsidePackageWithTestInside.st @@ -0,0 +1,4 @@ +testMethod2 +testMethod2SecondLevelSendersOutsidePackageWithTestInside +"In order to be sure that this method does not reference any class, we don't use directly the class but go through their name with a concatenation and then transform them into class" + ^ ('SmTClass','P2') asClass new method2SecondLevelSendersOutsidePackageWithTestInside. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInClass.st b/src/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInClass.st new file mode 100644 index 0000000..4c219ca --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInClass.st @@ -0,0 +1,5 @@ +testMethod2 +testMethod2SecondLevelSendersOutsideTestInsideWithRefInClass +"Data for tests: method directly called by a test method not from the same package" + ^('SmTClassP2SecondLevelSendersOutsideTestInsideWithRefIn','Class') asClass new method2SecondLevelSendersOutsideTestInsideWithRefInClass +" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInMethod.st b/src/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInMethod.st new file mode 100644 index 0000000..a18ce1a --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInMethod.st @@ -0,0 +1,5 @@ +testMethod2 +testMethod2SecondLevelSendersOutsideTestInsideWithRefInMethod +"Data for tests: method directly called by a test method not from the same package" + ^('SmTClassP2SecondLevelSendersOutsideTestInsideWithRefIn','Method') asClass new method2SecondLevelSendersOutsideTestInsideWithRefInMethod +" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInPackage.st b/src/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInPackage.st new file mode 100644 index 0000000..4678b11 --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInPackage.st @@ -0,0 +1,5 @@ +testMethod2 +testMethod2SecondLevelSendersOutsideTestInsideWithRefInPackage +"Data for tests: method directly called by a test method not from the same package" + ^('SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage') asClass new method2SecondLevelSendersOutsideTestInsideWithRefInPackage +" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassTestP1.class/properties.json b/src/SmartTestDataOutsideP1.package/SmTClassTestP1.class/properties.json new file mode 100644 index 0000000..9a8461c --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTClassTestP1.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "EleonoreWALD 5/11/2018 11:54", + "super" : "TestCase", + "category" : "SmartTestDataOutsideP1-ModificationOnMethod-Tests", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTClassTestP1", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTExtensionP1.class/README.md b/src/SmartTestDataOutsideP1.package/SmTExtensionP1.class/README.md new file mode 100644 index 0000000..f08ae56 --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTExtensionP1.class/README.md @@ -0,0 +1,8 @@ +Data for SmartTest tests on the filters:. + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +We will use this that to assert that SmartTest behaves correctly when dealing with inherited methods ans class. + +This class inherits one test from its superior class and doesn't redefine it. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTExtensionP1.class/instance/extensionMethod1SecondLevelSenders.st b/src/SmartTestDataOutsideP1.package/SmTExtensionP1.class/instance/extensionMethod1SecondLevelSenders.st new file mode 100644 index 0000000..c1ee20e --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTExtensionP1.class/instance/extensionMethod1SecondLevelSenders.st @@ -0,0 +1,2 @@ +as yet unclassified +extensionMethod1SecondLevelSenders \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTExtensionP1.class/properties.json b/src/SmartTestDataOutsideP1.package/SmTExtensionP1.class/properties.json new file mode 100644 index 0000000..3911250 --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTExtensionP1.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "eleonoreW 6/11/2018 10:56", + "super" : "Object", + "category" : "SmartTestDataOutsideP1-ModificationOnMethod-SenderExtensionMethod", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTExtensionP1", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTExtensionP2Test.extension/instance/extensionMethod1FirstLevelSendersInside.st b/src/SmartTestDataOutsideP1.package/SmTExtensionP2Test.extension/instance/extensionMethod1FirstLevelSendersInside.st new file mode 100644 index 0000000..e004f83 --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTExtensionP2Test.extension/instance/extensionMethod1FirstLevelSendersInside.st @@ -0,0 +1,3 @@ +*SmartTestDataOutsideP1 +extensionMethod1FirstLevelSendersInside +"an extension" \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTExtensionP2Test.extension/instance/extensionMethod1FirstLevelSendersOutside.st b/src/SmartTestDataOutsideP1.package/SmTExtensionP2Test.extension/instance/extensionMethod1FirstLevelSendersOutside.st new file mode 100644 index 0000000..aeaa7a9 --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTExtensionP2Test.extension/instance/extensionMethod1FirstLevelSendersOutside.st @@ -0,0 +1,3 @@ +*SmartTestDataOutsideP1 +extensionMethod1FirstLevelSendersOutside +"an extension" \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTExtensionP2Test.extension/properties.json b/src/SmartTestDataOutsideP1.package/SmTExtensionP2Test.extension/properties.json new file mode 100644 index 0000000..bf6e127 --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTExtensionP2Test.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "SmTExtensionP2Test" +} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTExtensionP3.extension/instance/extensionMethod2SecondLevelSenders.st b/src/SmartTestDataOutsideP1.package/SmTExtensionP3.extension/instance/extensionMethod2SecondLevelSenders.st new file mode 100644 index 0000000..038d501 --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTExtensionP3.extension/instance/extensionMethod2SecondLevelSenders.st @@ -0,0 +1,4 @@ +*SmartTestDataOutsideP1 +extensionMethod2SecondLevelSenders +"an extension" +('SmT','ExtensionP1') asClass >> #extensionMethod1SecondLevelSenders \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTExtensionP3.extension/properties.json b/src/SmartTestDataOutsideP1.package/SmTExtensionP3.extension/properties.json new file mode 100644 index 0000000..3d521a1 --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTExtensionP3.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "SmTExtensionP3" +} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/README.md b/src/SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/README.md new file mode 100644 index 0000000..13cf63b --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/README.md @@ -0,0 +1,8 @@ +Data for SmartTest tests on the testForClass:. + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +We will use this that to assert that SmartTest behaves correctly when dealing with inherited methods ans class. + +This class is abstract and has one test, the subclasses will herit this test. The first subclass redefines this test ("SmTP1ClassTestSubClassRedefinesMethod") and the other doesn't ("SmTP1ClassTestSubClassDoesntRedefineMethod"). \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/class/isAbstract.st b/src/SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/class/isAbstract.st new file mode 100644 index 0000000..5ec8231 --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/class/isAbstract.st @@ -0,0 +1,4 @@ +testing +isAbstract + + ^ self == SmTP1ClassTestAbstractTestCase \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/instance/testModificationOnClassAbstractTestCase.st b/src/SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/instance/testModificationOnClassAbstractTestCase.st new file mode 100644 index 0000000..fefab3c --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/instance/testModificationOnClassAbstractTestCase.st @@ -0,0 +1,3 @@ +tests +testModificationOnClassAbstractTestCase +"the behaviour of this test is irrelevant" \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/properties.json b/src/SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/properties.json new file mode 100644 index 0000000..a87f9a8 --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "eleonoreW 6/11/2018 10:36", + "super" : "TestCase", + "category" : "SmartTestDataOutsideP1-ModificationOnClass-Tests", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTP1ClassTestAbstractTestCase", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTP1ClassTestFirstLevelSendersInsideWithRefInMethod.class/README.md b/src/SmartTestDataOutsideP1.package/SmTP1ClassTestFirstLevelSendersInsideWithRefInMethod.class/README.md new file mode 100644 index 0000000..dc88eb7 --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTP1ClassTestFirstLevelSendersInsideWithRefInMethod.class/README.md @@ -0,0 +1,12 @@ +Data for SmartTest tests on the filters (default, defaultClass, restricted package). + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are controlled and consequently the tests are independent the one from the others. + +In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). + +If the name of the test contains 'method2', the test use the method method2, if the test contains 'method1', the test directly uses the modified method. + + +This class contains a method that references the class SmTClassP1FirstLevelSendersInsideWithRefInMethod. + diff --git a/src/SmartTestDataOutsideP1.package/SmTP1ClassTestFirstLevelSendersInsideWithRefInMethod.class/instance/testMethod1FirstLevelSendersInsideWithRefInMethod.st b/src/SmartTestDataOutsideP1.package/SmTP1ClassTestFirstLevelSendersInsideWithRefInMethod.class/instance/testMethod1FirstLevelSendersInsideWithRefInMethod.st new file mode 100644 index 0000000..3553715 --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTP1ClassTestFirstLevelSendersInsideWithRefInMethod.class/instance/testMethod1FirstLevelSendersInsideWithRefInMethod.st @@ -0,0 +1,3 @@ +tests +testMethod1FirstLevelSendersInsideWithRefInMethod +SmTClassP1FirstLevelSendersInsideWithRefInMethod >> #method1FirstLevelSendersInsideWithRefInMethod \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTP1ClassTestFirstLevelSendersInsideWithRefInMethod.class/properties.json b/src/SmartTestDataOutsideP1.package/SmTP1ClassTestFirstLevelSendersInsideWithRefInMethod.class/properties.json new file mode 100644 index 0000000..5e1e701 --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTP1ClassTestFirstLevelSendersInsideWithRefInMethod.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "eleonoreW 6/11/2018 14:29", + "super" : "TestCase", + "category" : "SmartTestDataOutsideP1-ModificationOnMethod-Tests", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTP1ClassTestFirstLevelSendersInsideWithRefInMethod", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTP1ClassTestSubClassDoesntRedefineMethod.class/README.md b/src/SmartTestDataOutsideP1.package/SmTP1ClassTestSubClassDoesntRedefineMethod.class/README.md new file mode 100644 index 0000000..095b5d8 --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTP1ClassTestSubClassDoesntRedefineMethod.class/README.md @@ -0,0 +1,8 @@ +Data for SmartTest tests on the testForClass:. + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +We will use this that to assert that SmartTest behaves correctly when dealing with inherited methods ans class. + +This class inherits one test from its superior class and doesn't redefine it. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTP1ClassTestSubClassDoesntRedefineMethod.class/properties.json b/src/SmartTestDataOutsideP1.package/SmTP1ClassTestSubClassDoesntRedefineMethod.class/properties.json new file mode 100644 index 0000000..1676777 --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTP1ClassTestSubClassDoesntRedefineMethod.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "eleonoreW 6/11/2018 10:38", + "super" : "SmTP1ClassTestAbstractTestCase", + "category" : "SmartTestDataOutsideP1-ModificationOnClass-Tests", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTP1ClassTestSubClassDoesntRedefineMethod", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTP1ClassTestSubclassRedefinesMethod.class/README.md b/src/SmartTestDataOutsideP1.package/SmTP1ClassTestSubclassRedefinesMethod.class/README.md new file mode 100644 index 0000000..345ccac --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTP1ClassTestSubclassRedefinesMethod.class/README.md @@ -0,0 +1,8 @@ +Data for SmartTest tests on the testForClass:. + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +We will use this that to assert that SmartTest behaves correctly when dealing with inherited methods ans class. + +This class inherits one test from its superior class and redefines it. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTP1ClassTestSubclassRedefinesMethod.class/instance/testModificationOnClassAbstractTestCase.st b/src/SmartTestDataOutsideP1.package/SmTP1ClassTestSubclassRedefinesMethod.class/instance/testModificationOnClassAbstractTestCase.st new file mode 100644 index 0000000..d7007cf --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTP1ClassTestSubclassRedefinesMethod.class/instance/testModificationOnClassAbstractTestCase.st @@ -0,0 +1,3 @@ +tests +testModificationOnClassAbstractTestCase +^super testModificationOnClassAbstractTestCase. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTP1ClassTestSubclassRedefinesMethod.class/properties.json b/src/SmartTestDataOutsideP1.package/SmTP1ClassTestSubclassRedefinesMethod.class/properties.json new file mode 100644 index 0000000..00da709 --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTP1ClassTestSubclassRedefinesMethod.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "eleonoreW 6/11/2018 10:38", + "super" : "SmTP1ClassTestAbstractTestCase", + "category" : "SmartTestDataOutsideP1-ModificationOnClass-Tests", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTP1ClassTestSubclassRedefinesMethod", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTP1Inheritance.class/README.md b/src/SmartTestDataOutsideP1.package/SmTP1Inheritance.class/README.md new file mode 100644 index 0000000..5cddd59 --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTP1Inheritance.class/README.md @@ -0,0 +1,9 @@ +Data for SmartTest tests on the filters. + +With this class, we try to assert that SmartTest work correctly with Inherited methods and tests. + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). + diff --git a/src/SmartTestDataOutsideP1.package/SmTP1Inheritance.class/instance/method1Inheritance.st b/src/SmartTestDataOutsideP1.package/SmTP1Inheritance.class/instance/method1Inheritance.st new file mode 100644 index 0000000..45390f1 --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTP1Inheritance.class/instance/method1Inheritance.st @@ -0,0 +1,3 @@ +method1 +method1Inheritance +"The behaviour of this method is irrelevant." \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTP1Inheritance.class/properties.json b/src/SmartTestDataOutsideP1.package/SmTP1Inheritance.class/properties.json new file mode 100644 index 0000000..cf0f742 --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTP1Inheritance.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "eleonoreW 6/11/2018 09:57", + "super" : "Object", + "category" : "SmartTestDataOutsideP1-ModificationOnMethod-Inheritance", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTP1Inheritance", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass1Test.class/README.md b/src/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass1Test.class/README.md new file mode 100644 index 0000000..c67e3af --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass1Test.class/README.md @@ -0,0 +1,6 @@ +Data for SmartTest tests on the filters (default, defaultClass, restricted package). + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +We will use this that to assert that SmartTest behaves correctly when dealing with inherited methods. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass1Test.class/instance/testMethod1Inheritance.st b/src/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass1Test.class/instance/testMethod1Inheritance.st new file mode 100644 index 0000000..67bfdbc --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass1Test.class/instance/testMethod1Inheritance.st @@ -0,0 +1,4 @@ +tests +testMethod1Inheritance + super testMethod1Inheritance. + "The behaviour of this test is irrelevant". \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass1Test.class/properties.json b/src/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass1Test.class/properties.json new file mode 100644 index 0000000..ff62c87 --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass1Test.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "EleonoreWALD 5/17/2018 11:19", + "super" : "SmTP1InheritanceTest", + "category" : "SmartTestDataOutsideP1-ModificationOnMethod-Tests", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTP1InheritanceSubClass1Test", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass2Test.class/README.md b/src/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass2Test.class/README.md new file mode 100644 index 0000000..89acbb1 --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass2Test.class/README.md @@ -0,0 +1,3 @@ +method1Inheritance +"The behaviour of this method is irrelevant" +1. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass2Test.class/properties.json b/src/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass2Test.class/properties.json new file mode 100644 index 0000000..040986f --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass2Test.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "EleonoreWALD 5/17/2018 11:51", + "super" : "SmTP1InheritanceTest", + "category" : "SmartTestDataOutsideP1-ModificationOnMethod-Tests", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTP1InheritanceSubClass2Test", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTP1InheritanceTest.class/README.md b/src/SmartTestDataOutsideP1.package/SmTP1InheritanceTest.class/README.md new file mode 100644 index 0000000..c67e3af --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTP1InheritanceTest.class/README.md @@ -0,0 +1,6 @@ +Data for SmartTest tests on the filters (default, defaultClass, restricted package). + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +We will use this that to assert that SmartTest behaves correctly when dealing with inherited methods. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTP1InheritanceTest.class/class/isAbstract.st b/src/SmartTestDataOutsideP1.package/SmTP1InheritanceTest.class/class/isAbstract.st new file mode 100644 index 0000000..8873a1f --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTP1InheritanceTest.class/class/isAbstract.st @@ -0,0 +1,4 @@ +testing +isAbstract + + ^ self == SmTP1InheritanceTest \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTP1InheritanceTest.class/instance/testMethod1Inheritance.st b/src/SmartTestDataOutsideP1.package/SmTP1InheritanceTest.class/instance/testMethod1Inheritance.st new file mode 100644 index 0000000..9dca779 --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTP1InheritanceTest.class/instance/testMethod1Inheritance.st @@ -0,0 +1,4 @@ +tests +testMethod1Inheritance + + ('SmTP1', 'Inheritance') asClass new method1Inheritance. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTP1InheritanceTest.class/properties.json b/src/SmartTestDataOutsideP1.package/SmTP1InheritanceTest.class/properties.json new file mode 100644 index 0000000..e1fcbb4 --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/SmTP1InheritanceTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "EleonoreWALD 5/17/2018 11:14", + "super" : "TestCase", + "category" : "SmartTestDataOutsideP1-ModificationOnMethod-Tests", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTP1InheritanceTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/monticello.meta/categories.st b/src/SmartTestDataOutsideP1.package/monticello.meta/categories.st new file mode 100644 index 0000000..5d211d7 --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/monticello.meta/categories.st @@ -0,0 +1,13 @@ +SystemOrganization addCategory: #SmartTestDataOutsideP1! +SystemOrganization addCategory: 'SmartTestDataOutsideP1-ModificationOnClass'! +SystemOrganization addCategory: 'SmartTestDataOutsideP1-ModificationOnClass-Tests'! +SystemOrganization addCategory: 'SmartTestDataOutsideP1-ModificationOnMethod-FirstLevelWithRef'! +SystemOrganization addCategory: 'SmartTestDataOutsideP1-ModificationOnMethod-Inheritance'! +SystemOrganization addCategory: 'SmartTestDataOutsideP1-ModificationOnMethod-SenderExtensionMethod'! +SystemOrganization addCategory: 'SmartTestDataOutsideP1-ModificationOnMethod-SenderInTestOutWithRef'! +SystemOrganization addCategory: 'SmartTestDataOutsideP1-ModificationOnMethod-SenderOutTestInWithRef'! +SystemOrganization addCategory: 'SmartTestDataOutsideP1-ModificationOnMethod-SenderOutTestOutWithRef'! +SystemOrganization addCategory: 'SmartTestDataOutsideP1-ModificationOnMethod-Tests'! +SystemOrganization addCategory: 'SmartTestDataOutsideP1-ModificationOnMethod-WithoutRef'! +SystemOrganization addCategory: 'SmartTestDataOutsideP1-ModificationOnVariable'! +SystemOrganization addCategory: 'SmartTestDataOutsideP1-ModificationOnVariable-Tests'! diff --git a/src/SmartTestDataOutsideP1.package/monticello.meta/initializers.st b/src/SmartTestDataOutsideP1.package/monticello.meta/initializers.st new file mode 100644 index 0000000..e69de29 diff --git a/src/SmartTestDataOutsideP1.package/monticello.meta/package b/src/SmartTestDataOutsideP1.package/monticello.meta/package new file mode 100644 index 0000000..c8a9641 --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/monticello.meta/package @@ -0,0 +1 @@ +(name 'SmartTestDataOutsideP1') \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/properties.json b/src/SmartTestDataOutsideP1.package/properties.json new file mode 100644 index 0000000..6f31cf5 --- /dev/null +++ b/src/SmartTestDataOutsideP1.package/properties.json @@ -0,0 +1 @@ +{ } \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/.filetree b/src/SmartTestDataOutsideP2.package/.filetree new file mode 100644 index 0000000..57a6797 --- /dev/null +++ b/src/SmartTestDataOutsideP2.package/.filetree @@ -0,0 +1,5 @@ +{ + "separateMethodMetaAndSource" : false, + "noMethodMetaData" : true, + "useCypressPropertiesFile" : true +} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/SmTClassModificationOnClassOutsidePackageWithRefTest.class/README.md b/src/SmartTestDataOutsideP2.package/SmTClassModificationOnClassOutsidePackageWithRefTest.class/README.md new file mode 100644 index 0000000..66ee0bc --- /dev/null +++ b/src/SmartTestDataOutsideP2.package/SmTClassModificationOnClassOutsidePackageWithRefTest.class/README.md @@ -0,0 +1,8 @@ +Data for SmartTest tests on the testForAnInstanceVariable:. + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +We will use this that to assert that SmartTest behaves correctly when dealing with modifications on instance variables. + +This class has an instance variable used inside the class in a test the instance variable is located outside of this package (in "SmartTestDataOutsideP1"). \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/SmTClassModificationOnClassOutsidePackageWithRefTest.class/instance/testRefToSmTClassModificationOnClassOutsidePackageWithRef.st b/src/SmartTestDataOutsideP2.package/SmTClassModificationOnClassOutsidePackageWithRefTest.class/instance/testRefToSmTClassModificationOnClassOutsidePackageWithRef.st new file mode 100644 index 0000000..e78daec --- /dev/null +++ b/src/SmartTestDataOutsideP2.package/SmTClassModificationOnClassOutsidePackageWithRefTest.class/instance/testRefToSmTClassModificationOnClassOutsidePackageWithRef.st @@ -0,0 +1,3 @@ +tests +testRefToSmTClassModificationOnClassOutsidePackageWithRef +SmTClassModificationOnClassOutsidePackageWithRef new. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/SmTClassModificationOnClassOutsidePackageWithRefTest.class/properties.json b/src/SmartTestDataOutsideP2.package/SmTClassModificationOnClassOutsidePackageWithRefTest.class/properties.json new file mode 100644 index 0000000..93314e4 --- /dev/null +++ b/src/SmartTestDataOutsideP2.package/SmTClassModificationOnClassOutsidePackageWithRefTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "eleonoreW 6/11/2018 14:35", + "super" : "TestCase", + "category" : "SmartTestDataOutsideP2-ModificationOnClass-Tests", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTClassModificationOnClassOutsidePackageWithRefTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackageTest.class/README.md b/src/SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackageTest.class/README.md new file mode 100644 index 0000000..7c5a1e4 --- /dev/null +++ b/src/SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackageTest.class/README.md @@ -0,0 +1,8 @@ +Data for SmartTest tests on the testForAnInstanceVariable:. + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +We will use this that to assert that SmartTest behaves correctly when dealing with modifications on instance variables. + +This class uses an instance variable contained inside a class in a different package. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackageTest.class/instance/testModificationOnVariableOutsidePackage.st b/src/SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackageTest.class/instance/testModificationOnVariableOutsidePackage.st new file mode 100644 index 0000000..a419d7a --- /dev/null +++ b/src/SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackageTest.class/instance/testModificationOnVariableOutsidePackage.st @@ -0,0 +1,5 @@ +tests +testModificationOnVariableOutsidePackage +|anObject| +anObject := ('SmTClassP1','ModificationOnVariable')asClass new. +anObject instVarModificationOnVariableOutsidePackage \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackageTest.class/properties.json b/src/SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackageTest.class/properties.json new file mode 100644 index 0000000..6f948eb --- /dev/null +++ b/src/SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackageTest.class/properties.json @@ -0,0 +1,13 @@ +{ + "commentStamp" : "eleonoreW 6/11/2018 15:46", + "super" : "TestCase", + "category" : "SmartTestDataOutsideP2-ModificationOnVariable-Tests", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ + "instVarModificationOnVariableOutsidePackage" + ], + "name" : "SmTClassP1ModificationOnVariableOutsidePackageTest", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/SmTClassP2.class/README.md b/src/SmartTestDataOutsideP2.package/SmTClassP2.class/README.md new file mode 100644 index 0000000..da2fcc4 --- /dev/null +++ b/src/SmartTestDataOutsideP2.package/SmTClassP2.class/README.md @@ -0,0 +1,10 @@ +Data for SmartTest tests on the filters (default, defaultClass, restricted package). + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). + +This class is not referenced anywhere (we used concatenation to be sure). + +The methods and tests in this package are not located in the same package as the modified method. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/SmTClassP2.class/instance/method2SecondLevelSendersOutsidePackageWithTestInside.st b/src/SmartTestDataOutsideP2.package/SmTClassP2.class/instance/method2SecondLevelSendersOutsidePackageWithTestInside.st new file mode 100644 index 0000000..53a8993 --- /dev/null +++ b/src/SmartTestDataOutsideP2.package/SmTClassP2.class/instance/method2SecondLevelSendersOutsidePackageWithTestInside.st @@ -0,0 +1,6 @@ +method2 +method2SecondLevelSendersOutsidePackageWithTestInside + "Data for tests: this method calls a method not from the same package (located in SmartTestDataOutsideP1), + this method is called by a test from the same package" + "In order to be sure that this method does not reference any class, we don't use directly the class but go through their name with a concatenation and then transform them into class" +^ ('SmTClass','P1') asClass new method1SecondLevelSendersOutsidePackageWithTestInside \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/SmTClassP2.class/instance/method2SecondLevelSendersOutsidePackageWithTestOutside.st b/src/SmartTestDataOutsideP2.package/SmTClassP2.class/instance/method2SecondLevelSendersOutsidePackageWithTestOutside.st new file mode 100644 index 0000000..1724d7b --- /dev/null +++ b/src/SmartTestDataOutsideP2.package/SmTClassP2.class/instance/method2SecondLevelSendersOutsidePackageWithTestOutside.st @@ -0,0 +1,6 @@ +method2 +method2SecondLevelSendersOutsidePackageWithTestOutside + "Data for tests: this method calls a method not from the same package (located in SmartTestDataOutsideP1), + this method is called by a test not from the same package (located in SmartTestDataOutsideP1)" + "In order to be sure that this method does not reference any class, we don't use directly the class but go through their name with a concatenation and then transform them into class" +^ ('SmTClass','P1') asClass new method1SecondLevelSendersOutsidePackageWithTestOutside \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/SmTClassP2.class/properties.json b/src/SmartTestDataOutsideP2.package/SmTClassP2.class/properties.json new file mode 100644 index 0000000..dee3199 --- /dev/null +++ b/src/SmartTestDataOutsideP2.package/SmTClassP2.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "EleonoreWALD 5/11/2018 13:40", + "super" : "Object", + "category" : "SmartTestDataOutsideP2-ModificationOnMethod-WithoutRef", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTClassP2", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/README.md b/src/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/README.md new file mode 100644 index 0000000..3bb3a41 --- /dev/null +++ b/src/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/README.md @@ -0,0 +1,6 @@ +Data for SmartTest tests on the DefaultClassPackage filter. + +Methods of this class have long name in order to be unique and explicit. + +Being unique, the senders of each method are controlled and consequently the tests are independent the one from the others. +In this Class, we implement methods that make references to different class to the package SMartTestDataOutsideP1. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/instance/referenceToSmTClassP1FirstLevelSendersOutsideWithRefInPackage.st b/src/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/instance/referenceToSmTClassP1FirstLevelSendersOutsideWithRefInPackage.st new file mode 100644 index 0000000..7b0e944 --- /dev/null +++ b/src/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/instance/referenceToSmTClassP1FirstLevelSendersOutsideWithRefInPackage.st @@ -0,0 +1,4 @@ +referenceInPackage +"as yet unclassified" +referenceToSmTClassP1FirstLevelSendersOutsideWithRefInPackage +^SmTClassP1FirstLevelSendersOutsideWithRefInPackage \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/instance/referenceToSmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.st b/src/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/instance/referenceToSmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.st new file mode 100644 index 0000000..2a29e87 --- /dev/null +++ b/src/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/instance/referenceToSmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.st @@ -0,0 +1,4 @@ +referenceInPackage +"as yet unclassified" +referenceToSmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage +^SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/instance/referenceToSmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.st b/src/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/instance/referenceToSmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.st new file mode 100644 index 0000000..9690edb --- /dev/null +++ b/src/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/instance/referenceToSmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.st @@ -0,0 +1,4 @@ +referenceInPackage +"as yet unclassified" +referenceToSmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage +^SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/properties.json b/src/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/properties.json new file mode 100644 index 0000000..7f96c35 --- /dev/null +++ b/src/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "EleonoreWALD 5/17/2018 08:45", + "super" : "Object", + "category" : "SmartTestDataOutsideP2-ModificationOnMethod-References", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTClassP2ReferencesInPackage", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/README.md b/src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/README.md new file mode 100644 index 0000000..004b631 --- /dev/null +++ b/src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/README.md @@ -0,0 +1,10 @@ +Data for SmartTest tests on the DefaultClassPackage filter. + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). + +In this class, there the first level sender of the modified method (which contains 'method2' in it's name). In another package, there is the modified method and its second level sender (the test itself,which contains 'testmethod2' in it's name). + +In this class there is a method that references the class SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass located in the package SmTDataOutsideP1. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/instance/method2SecondLevelSendersOutsideTestInsideWithRefInClass.st b/src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/instance/method2SecondLevelSendersOutsideTestInsideWithRefInClass.st new file mode 100644 index 0000000..40bc55b --- /dev/null +++ b/src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/instance/method2SecondLevelSendersOutsideTestInsideWithRefInClass.st @@ -0,0 +1,3 @@ +method2 +method2SecondLevelSendersOutsideTestInsideWithRefInClass +^('SmTClassP1SecondLevelSendersOutsideTestInsideWithRefIn','Class') asClass new method1SecondLevelSendersOutsideTestInsideWithRefInClass. diff --git a/src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/instance/refToSmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.st b/src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/instance/refToSmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.st new file mode 100644 index 0000000..c4a465b --- /dev/null +++ b/src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/instance/refToSmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.st @@ -0,0 +1,3 @@ +references +refToSmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass +^ SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass new. diff --git a/src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/properties.json b/src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/properties.json new file mode 100644 index 0000000..94f3220 --- /dev/null +++ b/src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "EleonoreWALD 5/17/2018 08:53", + "super" : "Object", + "category" : "SmartTestDataOutsideP2-ModificationOnMethod-SenderOutTestInWithRef", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInMethod.class/README.md b/src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInMethod.class/README.md new file mode 100644 index 0000000..9ea612f --- /dev/null +++ b/src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInMethod.class/README.md @@ -0,0 +1,10 @@ +Data for SmartTest tests on the DefaultClassPackage filter. + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). + +In this class, there the first level sender of the modified method (which contains 'method2' in it's name). In another package, there is the modified method and its second level sender (the test itself,which contains 'testmethod2' in it's name). + +In this class the second level sender references directly the class of the modified method, SmTClassP1SecondLevelSenderOutsideTestInsideWithRefInMethod, located in the package SmTDataOutsideP1. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInMethod.class/instance/method2SecondLevelSendersOutsideTestInsideWithRefInMethod.st b/src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInMethod.class/instance/method2SecondLevelSendersOutsideTestInsideWithRefInMethod.st new file mode 100644 index 0000000..78856e9 --- /dev/null +++ b/src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInMethod.class/instance/method2SecondLevelSendersOutsideTestInsideWithRefInMethod.st @@ -0,0 +1,3 @@ +method2 +method2SecondLevelSendersOutsideTestInsideWithRefInMethod +^SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod new method1SecondLevelSendersOutsideTestInsideWithRefInMethod. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInMethod.class/properties.json b/src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInMethod.class/properties.json new file mode 100644 index 0000000..236dcf6 --- /dev/null +++ b/src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInMethod.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "EleonoreWALD 5/17/2018 09:00", + "super" : "Object", + "category" : "SmartTestDataOutsideP2-ModificationOnMethod-SenderOutTestInWithRef", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInMethod", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage.class/README.md b/src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage.class/README.md new file mode 100644 index 0000000..118e7ab --- /dev/null +++ b/src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage.class/README.md @@ -0,0 +1,11 @@ +Data for SmartTest tests on the DefaultClassPackage filter. + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). + +In this class, there the first level sender of the modified method (which contains 'method2' in it's name). In another package, there is the modified method and its second level sender (the test itself,which contains 'testmethod2' in it's name). + +In this class there no method that references the class SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod located in the package SmTDataOutsideP1. +There is a method in SmTClassP2ReferencesInPackage that references the class SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage.class/instance/method2SecondLevelSendersOutsideTestInsideWithRefInPackage.st b/src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage.class/instance/method2SecondLevelSendersOutsideTestInsideWithRefInPackage.st new file mode 100644 index 0000000..538a95f --- /dev/null +++ b/src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage.class/instance/method2SecondLevelSendersOutsideTestInsideWithRefInPackage.st @@ -0,0 +1,3 @@ +method2 +method2SecondLevelSendersOutsideTestInsideWithRefInPackage +^('SmTClassP1SecondLevelSendersOutsideTestInsideWithRefIn','Package') asClass new method1SecondLevelSendersOutsideTestInsideWithRefInPackage. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage.class/properties.json b/src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage.class/properties.json new file mode 100644 index 0000000..dd9b12d --- /dev/null +++ b/src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "EleonoreWALD 5/17/2018 08:53", + "super" : "Object", + "category" : "SmartTestDataOutsideP2-ModificationOnMethod-SenderOutTestInWithRef", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/README.md b/src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/README.md new file mode 100644 index 0000000..153b40d --- /dev/null +++ b/src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/README.md @@ -0,0 +1,11 @@ +Data for SmartTest tests on the filters (defaultClass). + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are controlled and consequently the tests are independent the one from the others. + +In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). + +If the name of the test contains 'method2', the test use the method method2, if the test contains 'method1', the test directly uses the modified method. + +In this class, the first and second level senders are located outside of the package of the modified method and in two different package. +We test two different setup, one in which both method2 and testMethod2 references directly the class of method1, and another in which method2 references the class of method1 and testMethod2 references the class of method2. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/instance/method2SecondLevelSendersOutsideTestOutsideWithRefInMethod.st b/src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/instance/method2SecondLevelSendersOutsideTestOutsideWithRefInMethod.st new file mode 100644 index 0000000..7aab169 --- /dev/null +++ b/src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/instance/method2SecondLevelSendersOutsideTestOutsideWithRefInMethod.st @@ -0,0 +1,3 @@ +method2 +method2SecondLevelSendersOutsideTestOutsideWithRefInMethod +SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod >> #method1SecondLevelSendersOutsideTestOutsideWithRefInMethod. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/properties.json b/src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/properties.json new file mode 100644 index 0000000..17c63f7 --- /dev/null +++ b/src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "EleonoreWALD 5/17/2018 10:51", + "super" : "Object", + "category" : "SmartTestDataOutsideP2-ModificationOnMethod-SenderOutTestOutWithRef", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefInMethod", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/README.md b/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/README.md new file mode 100644 index 0000000..e6913c5 --- /dev/null +++ b/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/README.md @@ -0,0 +1,11 @@ +Data for SmartTest tests on the filters (default, defaultClass, restricted package). + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are controlled and consequently the tests are independent the one from the others. + +In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). + +If the name of the test contains 'method2', the test use the method method2, if the test contains 'method1', the test directly uses the modified method. + + +The methods and tests in this package are not located in the same package as the modified method. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/referenceToSmTClassP1FirstLevelSendersOutsideWithRefInClass.st b/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/referenceToSmTClassP1FirstLevelSendersOutsideWithRefInClass.st new file mode 100644 index 0000000..c27b25f --- /dev/null +++ b/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/referenceToSmTClassP1FirstLevelSendersOutsideWithRefInClass.st @@ -0,0 +1,3 @@ +references +referenceToSmTClassP1FirstLevelSendersOutsideWithRefInClass +^ SmTClassP1FirstLevelSendersOutsideWithRefInClass. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/referenceToSmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.st b/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/referenceToSmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.st new file mode 100644 index 0000000..71a5086 --- /dev/null +++ b/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/referenceToSmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.st @@ -0,0 +1,3 @@ +references +referenceToSmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass +^SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass new. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testExtensionMethod1FirstLevelSendersOutside.st b/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testExtensionMethod1FirstLevelSendersOutside.st new file mode 100644 index 0000000..25b76db --- /dev/null +++ b/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testExtensionMethod1FirstLevelSendersOutside.st @@ -0,0 +1,3 @@ +testMethod1 +testExtensionMethod1FirstLevelSendersOutside +SmTExtensionP2Test >> #extensionMethod1FirstLevelSendersOutside. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod1FirstLevelSendersOutsidePackage.st b/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod1FirstLevelSendersOutsidePackage.st new file mode 100644 index 0000000..2749e5b --- /dev/null +++ b/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod1FirstLevelSendersOutsidePackage.st @@ -0,0 +1,5 @@ +testMethod1 +testMethod1FirstLevelSendersOutsidePackage + "Data for tests: this method calls directly method1, which is not located in the same package" + "In order to be sure that this method does not reference any class, we don't use directly the class but go through their name with a concatenation and then transform them into class" + ^ ('SmTClass','P1') asClass new method1FirstLevelSendersOutsidePackage. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod1FirstLevelSendersOutsideWithRefInClass.st b/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod1FirstLevelSendersOutsideWithRefInClass.st new file mode 100644 index 0000000..60f6a1b --- /dev/null +++ b/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod1FirstLevelSendersOutsideWithRefInClass.st @@ -0,0 +1,4 @@ +testMethod1 +testMethod1FirstLevelSendersOutsideWithRefInClass + "In order to be sure that this method does not reference any class, we don't use directly the class but go through their name with a concatenation and then transform them into class" +^ ('SmTClassP1','FirstLevelSendersOutsideWithRefInClass') asClass new method1FirstLevelSendersWithRefInClass. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod1FirstLevelSendersOutsideWithRefInMethod.st b/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod1FirstLevelSendersOutsideWithRefInMethod.st new file mode 100644 index 0000000..051a679 --- /dev/null +++ b/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod1FirstLevelSendersOutsideWithRefInMethod.st @@ -0,0 +1,4 @@ +testMethod1 +testMethod1FirstLevelSendersOutsideWithRefInMethod + "In order to be sure that this method does not reference any class, we don't use directly the class but go through their name with a concatenation and then transform them into class" +^SmTClassP1FirstLevelSendersOutsideWithRefInMethod new method1FirstLevelSendersWithRefInMethod. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod1FirstLevelSendersOutsideWithRefInPackage.st b/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod1FirstLevelSendersOutsideWithRefInPackage.st new file mode 100644 index 0000000..ea2cea2 --- /dev/null +++ b/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod1FirstLevelSendersOutsideWithRefInPackage.st @@ -0,0 +1,4 @@ +testMethod1 +testMethod1FirstLevelSendersOutsideWithRefInPackage + "In order to be sure that this method does not reference any class, we don't use directly the class but go through their name with a concatenation and then transform them into class" +^('SmTClassP1','FirstLevelSendersOutsideWithRefInPackage') asClass new method1FirstLevelSendersWithRefInPackage. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInClass.st b/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInClass.st new file mode 100644 index 0000000..7e03d19 --- /dev/null +++ b/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInClass.st @@ -0,0 +1,3 @@ +testMethod2 +testMethod2SecondLevelSenderInsideTestOutsideWithRefInClass +^ ('SmTClass','P1SecondLevelSendersInsideTestOutsideWithRefInClass') asClass new method2SecondLevelSendersInsideTestOutsideWithRefInClass. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInMethod.st b/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInMethod.st new file mode 100644 index 0000000..003fd6b --- /dev/null +++ b/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInMethod.st @@ -0,0 +1,3 @@ +testMethod2 +testMethod2SecondLevelSenderInsideTestOutsideWithRefInMethod +^ SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod new method2SecondLevelSendersInsideTestOutsideWithRefInMethod. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInPackage.st b/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInPackage.st new file mode 100644 index 0000000..ef6cfaa --- /dev/null +++ b/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInPackage.st @@ -0,0 +1,3 @@ +testMethod2 +testMethod2SecondLevelSenderInsideTestOutsideWithRefInPackage +SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage new method2SecondLevelSendersInsideTestOutsideWithRefInPackage. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod2SecondLevelSendersInsidePackageWithTestOutside.st b/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod2SecondLevelSendersInsidePackageWithTestOutside.st new file mode 100644 index 0000000..7a7cb10 --- /dev/null +++ b/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod2SecondLevelSendersInsidePackageWithTestOutside.st @@ -0,0 +1,5 @@ +testMethod2 +testMethod2SecondLevelSendersInsidePackageWithTestOutside + "Data for tests: this method calls a method not from the same package, which itself calls a method. Both are not from the same package as this test (both are located in SmartTestDataOutsideP1)" + "In order to be sure that this method does not reference any class, we don't use directly the class but go through their name with a concatenation and then transform them into class" + ^ ('SmTClass','P1') asClass new method2SecondLevelSendersInsidePackageWithTestOutside. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod2SecondLevelSendersOutsidePackageWithTestOutside.st b/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod2SecondLevelSendersOutsidePackageWithTestOutside.st new file mode 100644 index 0000000..fb45d7e --- /dev/null +++ b/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod2SecondLevelSendersOutsidePackageWithTestOutside.st @@ -0,0 +1,5 @@ +testMethod2 +testMethod2SecondLevelSendersOutsidePackageWithTestOutside +"Data for tests: this method calls a method from the same package (located in SmartTestDataOutsideP1), which itself calls a method not from the same package (located in SmartTestDataOutsideP1)" +"In order to be sure that this method does not reference any class, we don't use directly the class but go through their name with a concatenation and then transform them into class" + ^ ('SmTClass','P2') asClass new method2SecondLevelSendersOutsidePackageWithTestOutside. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/properties.json b/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/properties.json new file mode 100644 index 0000000..7ab592e --- /dev/null +++ b/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "EleonoreWALD 5/11/2018 11:55", + "super" : "TestCase", + "category" : "SmartTestDataOutsideP2-ModificationOnMethod-Tests", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTClassTestP2Test", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/SmTExtensionP2Test.class/README.md b/src/SmartTestDataOutsideP2.package/SmTExtensionP2Test.class/README.md new file mode 100644 index 0000000..7366ace --- /dev/null +++ b/src/SmartTestDataOutsideP2.package/SmTExtensionP2Test.class/README.md @@ -0,0 +1 @@ +Data for the tests for an extension method. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/SmTExtensionP2Test.class/properties.json b/src/SmartTestDataOutsideP2.package/SmTExtensionP2Test.class/properties.json new file mode 100644 index 0000000..ec7b54e --- /dev/null +++ b/src/SmartTestDataOutsideP2.package/SmTExtensionP2Test.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "eleonoreW 6/11/2018 14:43", + "super" : "TestCase", + "category" : "SmartTestDataOutsideP2-ModificationOnMethod-ExtensionMethod-Test", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTExtensionP2Test", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/monticello.meta/categories.st b/src/SmartTestDataOutsideP2.package/monticello.meta/categories.st new file mode 100644 index 0000000..d86853b --- /dev/null +++ b/src/SmartTestDataOutsideP2.package/monticello.meta/categories.st @@ -0,0 +1,9 @@ +SystemOrganization addCategory: #SmartTestDataOutsideP2! +SystemOrganization addCategory: 'SmartTestDataOutsideP2-ModificationOnClass-Tests'! +SystemOrganization addCategory: 'SmartTestDataOutsideP2-ModificationOnMethod-ExtensionMethod-Test'! +SystemOrganization addCategory: 'SmartTestDataOutsideP2-ModificationOnMethod-References'! +SystemOrganization addCategory: 'SmartTestDataOutsideP2-ModificationOnMethod-SenderOutTestInWithRef'! +SystemOrganization addCategory: 'SmartTestDataOutsideP2-ModificationOnMethod-SenderOutTestOutWithRef'! +SystemOrganization addCategory: 'SmartTestDataOutsideP2-ModificationOnMethod-Tests'! +SystemOrganization addCategory: 'SmartTestDataOutsideP2-ModificationOnMethod-WithoutRef'! +SystemOrganization addCategory: 'SmartTestDataOutsideP2-ModificationOnVariable-Tests'! diff --git a/src/SmartTestDataOutsideP2.package/monticello.meta/initializers.st b/src/SmartTestDataOutsideP2.package/monticello.meta/initializers.st new file mode 100644 index 0000000..e69de29 diff --git a/src/SmartTestDataOutsideP2.package/monticello.meta/package b/src/SmartTestDataOutsideP2.package/monticello.meta/package new file mode 100644 index 0000000..bdeaca8 --- /dev/null +++ b/src/SmartTestDataOutsideP2.package/monticello.meta/package @@ -0,0 +1 @@ +(name 'SmartTestDataOutsideP2') \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/properties.json b/src/SmartTestDataOutsideP2.package/properties.json new file mode 100644 index 0000000..6f31cf5 --- /dev/null +++ b/src/SmartTestDataOutsideP2.package/properties.json @@ -0,0 +1 @@ +{ } \ No newline at end of file diff --git a/src/SmartTestDataOutsideP3.package/.filetree b/src/SmartTestDataOutsideP3.package/.filetree new file mode 100644 index 0000000..57a6797 --- /dev/null +++ b/src/SmartTestDataOutsideP3.package/.filetree @@ -0,0 +1,5 @@ +{ + "separateMethodMetaAndSource" : false, + "noMethodMetaData" : true, + "useCypressPropertiesFile" : true +} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP3.package/SmTClassTestP3.class/README.md b/src/SmartTestDataOutsideP3.package/SmTClassTestP3.class/README.md new file mode 100644 index 0000000..0d5ab97 --- /dev/null +++ b/src/SmartTestDataOutsideP3.package/SmTClassTestP3.class/README.md @@ -0,0 +1,11 @@ +Data for SmartTest tests on the filters (defaultClass). + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are controlled and consequently the tests are independent the one from the others. + +In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). + +If the name of the test contains 'method2', the test use the method method2, if the test contains 'method1', the test directly uses the modified method. + + +The methods and tests in this package are not located in the same package as the modified method. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP3.package/SmTClassTestP3.class/instance/testExtensionMethod2SecondLevelSenders.st b/src/SmartTestDataOutsideP3.package/SmTClassTestP3.class/instance/testExtensionMethod2SecondLevelSenders.st new file mode 100644 index 0000000..a7d7fde --- /dev/null +++ b/src/SmartTestDataOutsideP3.package/SmTClassTestP3.class/instance/testExtensionMethod2SecondLevelSenders.st @@ -0,0 +1,3 @@ +tests +testExtensionMethod2SecondLevelSenders +('SmTExtension','P3') asClass >> #extensionMethod2SecondLevelSenders . \ No newline at end of file diff --git a/src/SmartTestDataOutsideP3.package/SmTClassTestP3.class/instance/testMethod1ExtensionTestInside.st b/src/SmartTestDataOutsideP3.package/SmTClassTestP3.class/instance/testMethod1ExtensionTestInside.st new file mode 100644 index 0000000..0d86c73 --- /dev/null +++ b/src/SmartTestDataOutsideP3.package/SmTClassTestP3.class/instance/testMethod1ExtensionTestInside.st @@ -0,0 +1,3 @@ +tests +testMethod1ExtensionTestInside +('SmTExtension','P4') asClass >> #method1ExtensionTestInside diff --git a/src/SmartTestDataOutsideP3.package/SmTClassTestP3.class/properties.json b/src/SmartTestDataOutsideP3.package/SmTClassTestP3.class/properties.json new file mode 100644 index 0000000..c736186 --- /dev/null +++ b/src/SmartTestDataOutsideP3.package/SmTClassTestP3.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "EleonoreWALD 5/11/2018 13:41", + "super" : "TestCase", + "category" : "SmartTestDataOutsideP3", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTClassTestP3", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRef.class/README.md b/src/SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRef.class/README.md new file mode 100644 index 0000000..a11920a --- /dev/null +++ b/src/SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRef.class/README.md @@ -0,0 +1,10 @@ +Data for SmartTest tests on the filters (defaultClass). + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are controlled and consequently the tests are independent the one from the others. + +In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). + +If the name of the test contains 'method2', the test use the method method2, if the test contains 'method1', the test directly uses the modified method. + +In this class, the first and second level senders are located outside of the package of the modified method and in two different package. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRef.class/properties.json b/src/SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRef.class/properties.json new file mode 100644 index 0000000..8e21d59 --- /dev/null +++ b/src/SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRef.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "EleonoreWALD 5/17/2018 10:50", + "super" : "TestCase", + "category" : "SmartTestDataOutsideP3", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRef", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefInMethod.class/README.md b/src/SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefInMethod.class/README.md new file mode 100644 index 0000000..b690942 --- /dev/null +++ b/src/SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefInMethod.class/README.md @@ -0,0 +1,11 @@ +Data for SmartTest tests on the filters (defaultClass). + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are controlled and consequently the tests are independent the one from the others. + +In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). + +If the name of the test contains 'method2', the test use the method method2, if the test contains 'method1', the test directly uses the modified method. + +In this class, the first and second level senders are located outside of the package of the modified method and in two different package. +We test two different setup, one in which both method2 and testMethod2 references directly the class of method1, and another in which method2 references the class of method1 and testMethod2 references the class of method2. diff --git a/src/SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefInMethod.class/instance/testMethod2SecondLevelSenderOutsideTestOutsideWithRefInMethod.st b/src/SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefInMethod.class/instance/testMethod2SecondLevelSenderOutsideTestOutsideWithRefInMethod.st new file mode 100644 index 0000000..efea04e --- /dev/null +++ b/src/SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefInMethod.class/instance/testMethod2SecondLevelSenderOutsideTestOutsideWithRefInMethod.st @@ -0,0 +1,4 @@ +testMethod2 +testMethod2SecondLevelSenderOutsideTestOutsideWithRefInMethod +('SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefIn','Method') asClass >> #method2SecondLevelSendersOutsideTestOutsideWithRefInMethod. +SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod new. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefInMethod.class/properties.json b/src/SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefInMethod.class/properties.json new file mode 100644 index 0000000..4d70f13 --- /dev/null +++ b/src/SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefInMethod.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "EleonoreWALD 5/17/2018 10:46", + "super" : "SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRef", + "category" : "SmartTestDataOutsideP3", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefInMethod", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP3.package/SmTExtensionP3.class/README.md b/src/SmartTestDataOutsideP3.package/SmTExtensionP3.class/README.md new file mode 100644 index 0000000..73b89fa --- /dev/null +++ b/src/SmartTestDataOutsideP3.package/SmTExtensionP3.class/README.md @@ -0,0 +1 @@ +This class is an extension of the package P3, it is located in the package p4. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP3.package/SmTExtensionP3.class/properties.json b/src/SmartTestDataOutsideP3.package/SmTExtensionP3.class/properties.json new file mode 100644 index 0000000..832e5af --- /dev/null +++ b/src/SmartTestDataOutsideP3.package/SmTExtensionP3.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "eleonoreW 6/11/2018 15:48", + "super" : "Object", + "category" : "SmartTestDataOutsideP3", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTExtensionP3", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP3.package/SmTExtensionP4.extension/instance/extensionMethodP4.st b/src/SmartTestDataOutsideP3.package/SmTExtensionP4.extension/instance/extensionMethodP4.st new file mode 100644 index 0000000..1210d2e --- /dev/null +++ b/src/SmartTestDataOutsideP3.package/SmTExtensionP4.extension/instance/extensionMethodP4.st @@ -0,0 +1,2 @@ +*SmartTestDataOutsideP3 +extensionMethodP4 \ No newline at end of file diff --git a/src/SmartTestDataOutsideP3.package/SmTExtensionP4.extension/properties.json b/src/SmartTestDataOutsideP3.package/SmTExtensionP4.extension/properties.json new file mode 100644 index 0000000..3232f13 --- /dev/null +++ b/src/SmartTestDataOutsideP3.package/SmTExtensionP4.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "SmTExtensionP4" +} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP3.package/monticello.meta/categories.st b/src/SmartTestDataOutsideP3.package/monticello.meta/categories.st new file mode 100644 index 0000000..e9a01f5 --- /dev/null +++ b/src/SmartTestDataOutsideP3.package/monticello.meta/categories.st @@ -0,0 +1 @@ +SystemOrganization addCategory: #SmartTestDataOutsideP3! diff --git a/src/SmartTestDataOutsideP3.package/monticello.meta/initializers.st b/src/SmartTestDataOutsideP3.package/monticello.meta/initializers.st new file mode 100644 index 0000000..e69de29 diff --git a/src/SmartTestDataOutsideP3.package/monticello.meta/package b/src/SmartTestDataOutsideP3.package/monticello.meta/package new file mode 100644 index 0000000..5652444 --- /dev/null +++ b/src/SmartTestDataOutsideP3.package/monticello.meta/package @@ -0,0 +1 @@ +(name 'SmartTestDataOutsideP3') \ No newline at end of file diff --git a/src/SmartTestDataOutsideP3.package/properties.json b/src/SmartTestDataOutsideP3.package/properties.json new file mode 100644 index 0000000..6f31cf5 --- /dev/null +++ b/src/SmartTestDataOutsideP3.package/properties.json @@ -0,0 +1 @@ +{ } \ No newline at end of file diff --git a/src/SmartTestDataOutsideP4.package/.filetree b/src/SmartTestDataOutsideP4.package/.filetree new file mode 100644 index 0000000..57a6797 --- /dev/null +++ b/src/SmartTestDataOutsideP4.package/.filetree @@ -0,0 +1,5 @@ +{ + "separateMethodMetaAndSource" : false, + "noMethodMetaData" : true, + "useCypressPropertiesFile" : true +} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP4.package/SmTExtensionP4.class/README.md b/src/SmartTestDataOutsideP4.package/SmTExtensionP4.class/README.md new file mode 100644 index 0000000..73b89fa --- /dev/null +++ b/src/SmartTestDataOutsideP4.package/SmTExtensionP4.class/README.md @@ -0,0 +1 @@ +This class is an extension of the package P3, it is located in the package p4. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP4.package/SmTExtensionP4.class/instance/method1ExtensionTestInside.st b/src/SmartTestDataOutsideP4.package/SmTExtensionP4.class/instance/method1ExtensionTestInside.st new file mode 100644 index 0000000..ef5c3d1 --- /dev/null +++ b/src/SmartTestDataOutsideP4.package/SmTExtensionP4.class/instance/method1ExtensionTestInside.st @@ -0,0 +1,2 @@ +method1 +method1ExtensionTestInside \ No newline at end of file diff --git a/src/SmartTestDataOutsideP4.package/SmTExtensionP4.class/properties.json b/src/SmartTestDataOutsideP4.package/SmTExtensionP4.class/properties.json new file mode 100644 index 0000000..66eb7e6 --- /dev/null +++ b/src/SmartTestDataOutsideP4.package/SmTExtensionP4.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "eleonoreW 6/11/2018 15:47", + "super" : "Object", + "category" : "SmartTestDataOutsideP4", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "SmTExtensionP4", + "type" : "normal" +} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP4.package/monticello.meta/categories.st b/src/SmartTestDataOutsideP4.package/monticello.meta/categories.st new file mode 100644 index 0000000..dba4d10 --- /dev/null +++ b/src/SmartTestDataOutsideP4.package/monticello.meta/categories.st @@ -0,0 +1 @@ +SystemOrganization addCategory: #SmartTestDataOutsideP4! diff --git a/src/SmartTestDataOutsideP4.package/monticello.meta/initializers.st b/src/SmartTestDataOutsideP4.package/monticello.meta/initializers.st new file mode 100644 index 0000000..e69de29 diff --git a/src/SmartTestDataOutsideP4.package/monticello.meta/package b/src/SmartTestDataOutsideP4.package/monticello.meta/package new file mode 100644 index 0000000..1dc58cb --- /dev/null +++ b/src/SmartTestDataOutsideP4.package/monticello.meta/package @@ -0,0 +1 @@ +(name 'SmartTestDataOutsideP4') \ No newline at end of file diff --git a/src/SmartTestDataOutsideP4.package/properties.json b/src/SmartTestDataOutsideP4.package/properties.json new file mode 100644 index 0000000..6f31cf5 --- /dev/null +++ b/src/SmartTestDataOutsideP4.package/properties.json @@ -0,0 +1 @@ +{ } \ No newline at end of file From ca4a3b0c089b24b19c71e26b23803419cf25bdd1 Mon Sep 17 00:00:00 2001 From: badetitou Date: Wed, 15 Aug 2018 16:51:05 +0200 Subject: [PATCH 148/150] sources migrated --- src/.properties | 3 +- src/BaselineOfSmartTest.package/.filetree | 5 - .../BaselineOfSmartTest.class/README.md | 0 .../instance/baseline..st | 8 - .../instance/defineDependencies..st | 2 - .../instance/defineGroups..st | 5 - .../BaselineOfSmartTest.class/properties.json | 11 - .../monticello.meta/categories.st | 1 - .../monticello.meta/initializers.st | 0 .../monticello.meta/package | 1 - .../properties.json | 1 - .../BaselineOfSmartTest.class.st} | 34 +- src/BaselineOfSmartTest/package.st | 1 + .../.filetree | 5 - .../ConfigurationOfSmartTest.class/README.md | 0 .../class/DevelopmentSupport.st | 4 - .../class/baseConfigurationClassIfAbsent..st | 6 - .../class/ensureMetacello.st | 3 - .../class/ensureMetacelloBaseConfiguration.st | 15 - .../class/isMetacelloConfig.st | 3 - .../class/load.st | 4 - .../class/loadBleedingEdge.st | 4 - .../class/loadDevelopment.st | 4 - .../class/project.st | 3 - .../class/validate.st | 8 - .../instance/customProjectAttributes.st | 3 - .../instance/dev01..st | 10 - .../instance/development..st | 5 - .../instance/master..st | 8 - .../instance/project.st | 14 - .../instance/stable..st | 5 - .../properties.json | 15 - .../monticello.meta/categories.st | 1 - .../monticello.meta/initializers.st | 0 .../monticello.meta/package | 1 - .../properties.json | 1 - .../ConfigurationOfSmartTest.class.st | 142 +++++ src/ConfigurationOfSmartTest/package.st | 1 + src/SmartTest-Tests-Data.package/.filetree | 5 - .../SmTClass.class/README.md | 4 - .../SmTClass.class/instance/method1.st | 5 - .../SmTClass.class/instance/method2.st | 4 - .../SmTClass.class/instance/method3..st | 5 - .../SmTClass.class/instance/method4.st | 4 - .../SmTClass.class/properties.json | 14 - .../SmTClass2.class/instance/initialize.st | 3 - .../SmTClass2.class/properties.json | 14 - .../SmTClassTest.class/README.md | 3 - .../SmTClassTest.class/instance/setUp.st | 3 - .../SmTClassTest.class/instance/tearDown.st | 3 - .../instance/testMethod1.st | 5 - .../instance/testMethod2.st | 5 - .../instance/testMethod3.st | 5 - .../instance/testMethod4.st | 5 - .../instance/testMethod5.st | 3 - .../SmTClassTest.class/properties.json | 11 - .../SmTInheritClassTest.class/README.md | 2 - .../instance/setUp.st | 3 - .../SmTInheritClassTest.class/properties.json | 11 - .../SmTSuperClassTest.class/README.md | 2 - .../class/isAbstract.st | 4 - .../instance/testMethod1.st | 4 - .../SmTSuperClassTest.class/properties.json | 13 - .../monticello.meta/categories.st | 1 - .../monticello.meta/initializers.st | 0 .../monticello.meta/package | 1 - .../properties.json | 1 - src/SmartTest-Tests-Data/SmTClass.class.st | 42 ++ .../SmTClass2.class.st} | 17 + .../SmTClassTest.class.st | 54 ++ .../SmTInheritClassTest.class.st | 14 + .../SmTSuperClassTest.class.st | 25 + src/SmartTest-Tests-Data/package.st | 1 + src/SmartTest-Tests.package/.filetree | 5 - .../README.md | 1 - .../instance/cacheStrategy.st | 3 - .../properties.json | 11 - .../README.md | 1 - .../instance/cacheStrategy.st | 3 - .../properties.json | 11 - .../README.md | 1 - .../instance/cacheStrategy.st | 3 - .../properties.json | 11 - .../README.md | 1 - .../instance/cacheStrategy.st | 3 - .../properties.json | 11 - .../README.md | 1 - .../class/isAbstract.st | 3 - .../instance/dynamicFinder.st | 3 - .../testRunningTestMethod1ToBuildCache.st | 12 - .../testRunningTestMethod2ToBuildCache.st | 36 -- .../testRunningTestMethod5ToBuildCache.st | 11 - .../properties.json | 11 - .../SmTCacheBuilderTest.class/README.md | 1 - .../class/isAbstract.st | 4 - .../instance/cacheStrategy.st | 3 - .../instance/dynamicFinder.st | 3 - .../instance/searchTestMethodsFor..st | 4 - .../instance/setUp.st | 10 - .../instance/tearDown.st | 5 - ...chTestsForStandardMethodWhileEmptyCache.st | 9 - .../testRunningTestMethod1ToBuildCache.st | 11 - .../testRunningTestMethod2ToBuildCache.st | 14 - .../testRunningTestMethod5ToBuildCache.st | 12 - .../SmTCacheBuilderTest.class/properties.json | 14 - .../README.md | 1 - .../instance/cacheStrategy.st | 3 - .../properties.json | 11 - .../README.md | 1 - .../instance/cacheStrategy.st | 3 - .../properties.json | 11 - .../README.md | 1 - .../instance/cacheStrategy.st | 3 - .../properties.json | 11 - .../README.md | 1 - .../instance/cacheStrategy.st | 3 - .../properties.json | 11 - .../README.md | 1 - .../class/isAbstract.st | 3 - .../instance/dynamicFinder.st | 3 - .../properties.json | 11 - .../SmTCacheNeverResetTest.class/README.md | 0 .../instance/strategyTested.st | 3 - .../properties.json | 11 - .../README.md | 0 .../instance/strategyTested.st | 3 - .../properties.json | 11 - .../README.md | 0 .../instance/strategyTested.st | 3 - .../instance/testResetAfter1Commit.st | 6 - .../properties.json | 11 - .../SmTCacheResetOnDemandTest.class/README.md | 0 .../instance/strategyTested.st | 3 - .../instance/testResetAfter1Commit.st | 5 - .../instance/testResetAfter1MethodChange.st | 5 - .../instance/testResetAfter4MethodChange.st | 9 - .../instance/testResetAfter5MethodChange.st | 9 - .../properties.json | 11 - .../SmTCacheTest.class/README.md | 5 - .../SmTCacheTest.class/class/isAbstract.st | 3 - .../SmTCacheTest.class/instance/initCache.st | 33 -- .../SmTCacheTest.class/instance/setUp.st | 11 - .../instance/strategyTested.st | 3 - .../instance/testInitCache.st | 3 - .../instance/testResetAfter1Commit.st | 5 - .../instance/testResetAfter1MethodChange.st | 5 - .../instance/testResetAfter4MethodChange.st | 8 - .../instance/testResetAfter5MethodChange.st | 9 - .../SmTCacheTest.class/properties.json | 14 - .../README.md | 0 .../instance/initCache.st | 33 -- .../instance/setUp.st | 10 - .../instance/tearDown.st | 3 - .../instance/testModificationOnTest.st | 10 - .../instance/testTestSelfSelected.st | 10 - .../properties.json | 11 - .../README.md | 0 .../instance/initCache.st | 33 -- .../instance/setUp.st | 10 - .../instance/tearDown.st | 3 - .../instance/testModificationOnTest.st | 10 - .../instance/testTestSelfSelected.st | 10 - .../properties.json | 11 - .../README.md | 0 .../instance/initCache.st | 33 -- .../instance/setUp.st | 10 - .../instance/tearDown.st | 3 - .../instance/testModificationOnTest.st | 10 - .../instance/testTestSelfSelected.st | 10 - .../properties.json | 11 - .../README.md | 1 - .../instance/initCache.st | 33 -- .../instance/setUp.st | 10 - .../instance/tearDown.st | 3 - .../instance/testModificationOnTest.st | 10 - .../instance/testTestSelfSelected.st | 10 - .../properties.json | 11 - .../README.md | 1 - .../instance/setUp.st | 10 - .../properties.json | 11 - .../SmTFilterAbstractTest.class/README.md | 46 -- .../class/isAbstract.st | 4 - .../instanceVariableNamed.fromClass..st | 3 - .../instance/searchTestMethodsFor..st | 4 - .../instance/searchTestMethodsForAClass..st | 4 - .../searchTestsForInstVar.ofClass..st | 3 - .../instance/setUp.st | 22 - .../instance/tearDown.st | 4 - ...assAbstractTestCaseDoesntRedefineMethod.st | 10 - ...estClassAbstractTestCaseRedefinesMethod.st | 8 - .../instance/testClassInheritanceSubClass1.st | 8 - .../instance/testClassInsidePackageWithRef.st | 8 - .../testClassOutsidePackageWithRef.st | 8 - .../instance/testClassSimpleTestCase.st | 8 - .../instance/testClassTestsInside.st | 7 - ...tExtensionMethodFirstLevelSendersInside.st | 7 - ...ExtensionMethodFirstLevelSendersOutside.st | 7 - ...ExtensionMethodSecondLevelSendersInside.st | 8 - .../instance/testExtensionTestInside.st | 8 - .../instance/testInstVarInsideClass.st | 9 - .../instance/testInstVarInsidePackage.st | 9 - .../instance/testInstVarOutsidePackage.st | 9 - ...ardMethodFirstLevelSendersInsidePackage.st | 13 - ...rdMethodFirstLevelSendersOutsidePackage.st | 13 - ...evelSendersOutsidePackageWithRefInClass.st | 12 - ...velSendersOutsidePackageWithRefInMethod.st | 12 - ...elSendersOutsidePackageWithRefInPackage.st | 13 - ...LevelSendersInsidePackageWithTestInside.st | 14 - ...evelSendersInsidePackageWithTestOutside.st | 13 - ...lSendersInsideTestOutsideWithRefInClass.st | 13 - ...SendersInsideTestOutsideWithRefInMethod.st | 13 - ...endersInsideTestOutsideWithRefInPackage.st | 13 - ...evelSendersOutsidePackageWithTestInside.st | 14 - ...velSendersOutsidePackageWithTestOutside.st | 13 - ...lSendersOutsideTestInsideWithRefInClass.st | 13 - ...SendersOutsideTestInsideWithRefInMethod.st | 13 - ...endersOutsideTestInsideWithRefInPackage.st | 13 - ...endersOutsideTestOutsideWithRefInMethod.st | 14 - .../properties.json | 20 - .../SmTFinderAbstractTest.class/README.md | 7 - .../class/isAbstract.st | 4 - .../instance/searchTestMethodsFor..st | 4 - .../instance/searchTestsForASetUpMethod..st | 3 - .../searchTestsForATearDownMethod..st | 3 - .../instance/searchTestsForATestMethod..st | 3 - .../instance/setUp.st | 12 - .../instance/tearDown.st | 6 - .../instance/testInheritance.st | 9 - .../instance/testModificationOnInitialize.st | 16 - .../instance/testModificationOnTest.st | 10 - .../instance/testSetupMethodFindsTests.st | 12 - ...testSetupMethodWithNonSetupFindsNoTests.st | 8 - .../testStandardMethodFirstLevelSenders.st | 9 - .../testStandardMethodSecondLevelSenders.st | 10 - .../testStandardMethodThirdLevelSenders.st | 10 - .../instance/testTearDownMethodFindsTests.st | 11 - ...rDownMethodWithNoneTearDownFindsNoTests.st | 5 - .../instance/testTestSelfSelected.st | 10 - .../properties.json | 22 - .../SmTOnModificationTest.class/README.md | 1 - .../instance/setUp.st | 4 - .../instance/tearDown.st | 4 - .../instance/testAdd.st | 10 - .../instance/testGet.st | 16 - .../properties.json | 13 - .../SmTRunnerTest.class/README.md | 1 - .../SmTRunnerTest.class/instance/noop.st | 3 - .../SmTRunnerTest.class/instance/setUp.st | 3 - .../instance/testIconForTestResultGreen.st | 6 - .../instance/testIconForTestResultRed.st | 7 - .../instance/testIconForTestResultWhite.st | 7 - .../instance/testIconForTestResultYellow.st | 8 - .../instance/testRunCaseNotifyIconGreen.st | 13 - .../instance/testRunCaseNotifyIconRed.st | 7 - .../instance/testRunCaseNotifyIconYellow.st | 7 - .../instance/testRunCasesNotifyIconGreen.st | 17 - .../instance/testRunCasesNotifyIconRed.st | 14 - .../instance/testRunCasesNotifyIconYellow.st | 9 - .../SmTRunnerTest.class/properties.json | 13 - .../README.md | 6 - .../instance/setUp.st | 5 - .../instance/testExtensionTestInside.st | 8 - .../instance/testInstVarOutsidePackage.st | 9 - ...evelSendersOutsidePackageWithRefInClass.st | 12 - ...velSendersOutsidePackageWithRefInMethod.st | 12 - ...elSendersOutsidePackageWithRefInPackage.st | 13 - ...lSendersInsideTestOutsideWithRefInClass.st | 13 - ...SendersInsideTestOutsideWithRefInMethod.st | 13 - ...endersInsideTestOutsideWithRefInPackage.st | 13 - ...lSendersOutsideTestInsideWithRefInClass.st | 13 - ...SendersOutsideTestInsideWithRefInMethod.st | 13 - ...endersOutsideTestInsideWithRefInPackage.st | 13 - ...endersOutsideTestOutsideWithRefInMethod.st | 14 - .../properties.json | 11 - .../README.md | 5 - .../testClassOutsidePackageWithRef.st | 7 - .../instance/testInstVarOutsidePackage.st | 9 - .../properties.json | 11 - .../README.md | 7 - .../instance/setUp.st | 9 - ...rdMethodFirstLevelSendersOutsidePackage.st | 13 - ...evelSendersOutsidePackageWithRefInClass.st | 12 - ...velSendersOutsidePackageWithRefInMethod.st | 12 - ...elSendersOutsidePackageWithRefInPackage.st | 13 - ...evelSendersInsidePackageWithTestOutside.st | 13 - ...lSendersInsideTestOutsideWithRefInClass.st | 13 - ...SendersInsideTestOutsideWithRefInMethod.st | 13 - ...endersInsideTestOutsideWithRefInPackage.st | 13 - ...evelSendersOutsidePackageWithTestInside.st | 12 - ...velSendersOutsidePackageWithTestOutside.st | 12 - ...lSendersOutsideTestInsideWithRefInClass.st | 13 - ...SendersOutsideTestInsideWithRefInMethod.st | 13 - ...endersOutsideTestInsideWithRefInPackage.st | 13 - .../properties.json | 11 - .../README.md | 6 - .../instance/setUp.st | 7 - .../testClassOutsidePackageWithRef.st | 7 - ...ExtensionMethodFirstLevelSendersOutside.st | 6 - .../instance/testInstVarOutsidePackage.st | 9 - .../properties.json | 11 - .../SmTSettingsBasicCacheTest.class/README.md | 0 .../instance/cacheStrategy.st | 3 - .../properties.json | 11 - .../SmTSettingsCacheTest.class/README.md | 0 .../class/isAbstract.st | 3 - .../instance/cacheStrategy.st | 3 - .../instance/testChangeCacheStrategy.st | 7 - .../properties.json | 11 - .../README.md | 0 .../instance/filterStrategy.st | 3 - .../properties.json | 11 - .../README.md | 0 .../instance/filterStrategy.st | 3 - .../properties.json | 11 - .../README.md | 0 .../instance/filterStrategy.st | 3 - .../properties.json | 11 - .../README.md | 0 .../instance/filterStrategy.st | 3 - .../properties.json | 11 - .../README.md | 0 .../instance/dataForTestRegex.st | 3 - .../instance/filterStrategy.st | 3 - .../instance/setUp.st | 5 - .../instance/tearDown.st | 5 - .../instance/testChangeRegexWhenChanged.st | 4 - .../properties.json | 13 - .../SmTSettingsFilterTest.class/README.md | 0 .../class/isAbstract.st | 3 - .../instance/filterStrategy.st | 3 - .../instance/testChangeFilterStrategy.st | 7 - .../properties.json | 11 - .../README.md | 0 .../instance/finderStrategy.st | 3 - .../properties.json | 11 - .../README.md | 0 .../instance/finderStrategy.st | 3 - .../properties.json | 11 - .../SmTSettingsFinderTest.class/README.md | 0 .../class/isAbstract.st | 3 - .../instance/finderStrategy.st | 3 - .../properties.json | 11 - .../README.md | 0 .../instance/finderStrategy.st | 3 - .../properties.json | 11 - .../SmTSettingsNoCacheTest.class/README.md | 0 .../instance/cacheStrategy.st | 3 - .../properties.json | 11 - .../README.md | 1 - .../class/isAbstract.st | 3 - .../instance/dataForTestRegex.st | 3 - .../instance/setUp.st | 6 - .../instance/tearDown.st | 5 - ...ChangeRegexSmTSpecifyPackagesNameFilter.st | 5 - .../properties.json | 14 - .../README.md | 0 .../instance/runnerStrategy.st | 3 - .../properties.json | 11 - .../README.md | 0 .../instance/runnerStrategy.st | 3 - .../properties.json | 11 - .../README.md | 0 .../instance/runnerStrategy.st | 3 - .../properties.json | 11 - .../SmTSettingsRunnerTest.class/README.md | 0 .../class/isAbstract.st | 3 - .../instance/runnerStrategy.st | 3 - .../instance/testChangeRunnerStrategy.st | 7 - .../properties.json | 11 - .../SmTSettingsTest.class/README.md | 1 - .../SmTSettingsTest.class/class/isAbstract.st | 3 - .../SmTSettingsTest.class/instance/setUp.st | 4 - .../instance/tearDown.st | 4 - .../SmTSettingsTest.class/properties.json | 13 - .../README.md | 0 .../instance/getTestingStrategy.st | 3 - .../properties.json | 11 - .../README.md | 0 .../instance/getTestingStrategy.st | 3 - .../properties.json | 11 - .../README.md | 0 .../instance/getTestingStrategy.st | 3 - .../properties.json | 11 - .../README.md | 0 .../instance/getTestingStrategy.st | 3 - .../properties.json | 11 - .../README.md | 0 .../class/isAbstract.st | 3 - .../instance/getTestingStrategy.st | 3 - .../testChangeTestingStrategyStrategy.st | 8 - .../properties.json | 11 - .../README.md | 1 - .../instance/setUp.st | 4 - .../testStandardMethodSecondLevelSenders.st | 10 - .../properties.json | 11 - .../README.md | 3 - .../instance/setUp.st | 5 - .../instance/tearDown.st | 4 - .../properties.json | 11 - .../README.md | 1 - .../instance/setUp.st | 5 - .../instance/testInheritance.st | 10 - .../testStandardMethodFirstLevelSenders.st | 12 - .../testStandardMethodSecondLevelSenders.st | 16 - .../testStandardMethodThirdLevelSenders.st | 10 - .../properties.json | 11 - .../SmartFinderTest.class/README.md | 1 - .../instance/initCache.st | 31 -- .../SmartFinderTest.class/instance/setUp.st | 9 - .../instance/tearDown.st | 3 - .../instance/testChangeCacheClassFinder.st | 7 - .../instance/testChangeFilterFinder.st | 7 - .../testChangeFilterTryFindTestFinder.st | 7 - .../testChangeFinderTestingStrategy.st | 7 - .../testChangeRunnerTestingStrategy.st | 7 - .../instance/testResetCache.st | 7 - ...testTwoSmartFinderhaveTwoDifferentCache.st | 5 - .../SmartFinderTest.class/properties.json | 13 - .../monticello.meta/categories.st | 8 - .../monticello.meta/initializers.st | 0 .../monticello.meta/package | 1 - src/SmartTest-Tests.package/properties.json | 1 - ...BuilderReflectivityNeverResetTest.class.st | 13 + ...eflectivityResetEvery5ChangesTest.class.st | 13 + ...rReflectivityResetEveryCommitTest.class.st | 13 + ...lderReflectivityResetOnDemandTest.class.st | 13 + .../SmTCacheBuilderReflectivityTest.class.st | 83 +++ .../SmTCacheBuilderTest.class.st | 108 ++++ ...BuilderTestCoverageNeverResetTest.class.st | 13 + ...estCoverageResetEvery5ChangesTest.class.st | 13 + ...rTestCoverageResetEveryCommitTest.class.st | 13 + ...lderTestCoverageResetOnDemandTest.class.st | 13 + .../SmTCacheBuilderTestCoverageTest.class.st | 18 + .../SmTCacheNeverResetTest.class.st | 10 + .../SmTCacheResetEvery5ChangesTest.class.st} | 18 +- .../SmTCacheResetEveryCommitTest.class.st | 18 + .../SmTCacheResetOnDemandTest.class.st | 46 ++ src/SmartTest-Tests/SmTCacheTest.class.st | 115 ++++ ...eStrategyBasicCacheNeverResetTest.class.st | 81 +++ ...yBasicCacheResetEvery5ChangesTest.class.st | 81 +++ ...egyBasicCacheResetEveryCommitTest.class.st | 81 +++ .../SmTDynamicCoverageStrategyTest.class.st | 84 +++ ...TDynamicReflectivityStrategyTest.class.st} | 28 +- .../SmTFilterAbstractTest.class.st | 504 ++++++++++++++++++ .../SmTFinderAbstractTest.class.st | 207 +++++++ .../SmTOnModificationTest.class.st | 53 ++ src/SmartTest-Tests/SmTRunnerTest.class.st | 136 +++++ ...dersFilterTestDefaultClassPackage.class.st | 190 +++++++ ...mTSendersFilterTestDefaultPackage.class.st | 32 ++ ...TestWithMultipleRestrictedPackage.class.st | 216 ++++++++ ...rsFilterTestWithRestrictedPackage.class.st | 50 ++ .../SmTSettingsBasicCacheTest.class.st | 10 + .../SmTSettingsCacheTest.class.st | 24 + ...ngsFilterDefaultClassPackagesTest.class.st | 10 + ...SettingsFilterDefaultPackagesTest.class.st | 10 + .../SmTSettingsFilterIcebergTest.class.st | 10 + .../SmTSettingsFilterNoFilterTest.class.st | 10 + ...ingsFilterSpecifyPackagesNameTest.class.st | 38 ++ .../SmTSettingsFilterTest.class.st | 24 + ...SmTSettingsFinderReflectivityTest.class.st | 10 + .../SmTSettingsFinderSenderTestTest.class.st | 10 + .../SmTSettingsFinderTest.class.st} | 23 +- ...SmTSettingsFinderTestCoverageTest.class.st | 10 + .../SmTSettingsNoCacheTest.class.st | 10 + .../SmTSettingsPackagesRegexTest.class.st | 44 ++ .../SmTSettingsRunnerDebugTest.class.st | 10 + .../SmTSettingsRunnerNoticeTest.class.st | 10 + .../SmTSettingsRunnerSmartTest.class.st | 10 + .../SmTSettingsRunnerTest.class.st | 24 + src/SmartTest-Tests/SmTSettingsTest.class.st | 28 + ...SettingsTestingStrategyAlwaysTest.class.st | 10 + ...stingStrategyEachModificationTest.class.st | 10 + ...ngsTestingStrategyFiveMinutesTest.class.st | 10 + ...TSettingsTestingStrategyNeverTest.class.st | 10 + .../SmTSettingsTestingStrategyTest.class.st | 25 + ...DefaultClassPackageBasicCacheTest.class.st | 26 + ...faultClassPackageWithoutCacheTest.class.st | 23 + ...cSpecifyPackageNameBasicCacheTest.class.st | 71 +++ src/SmartTest-Tests/SmartFinderTest.class.st | 121 +++++ src/SmartTest-Tests/package.st | 1 + src/SmartTest-UI.package/.filetree | 5 - .../README.md | 1 - .../class/canBeExecutedInContext..st | 3 - .../instance/decorateTableCell.using..st | 10 - .../instance/description.st | 3 - .../instance/execute.st | 3 - .../properties.json | 11 - .../README.md | 1 - .../instance/canBeExecutedInContext..st | 4 - .../instance/decorateTableCell.using..st | 8 - .../instance/description.st | 3 - .../instance/execute.st | 2 - .../properties.json | 11 - .../SmTAutoTestsWindows.class/README.md | 1 - .../class/defaultSpec.st | 6 - .../instance/button.st | 4 - .../instance/extent.st | 3 - .../instance/icons.st | 4 - .../instance/initializePresenter.st | 7 - .../instance/initializeWidgets.st | 7 - .../instance/setList..st | 8 - .../instance/testList.st | 4 - .../instance/title.st | 3 - .../SmTAutoTestsWindows.class/properties.json | 15 - .../SmTBigButtonCollector.class/README.md | 1 - .../class/activated..st | 4 - .../class/activated.st | 3 - .../class/bigButton.st | 3 - .../class/initialize.st | 3 - .../class/reset.st | 3 - .../class/settingsOn..st | 23 - .../class/unload.st | 3 - .../instance/activated..st | 3 - .../instance/changeColorFromTestResult..st | 9 - .../instance/collector..st | 4 - .../instance/collector.st | 3 - .../instance/disable.st | 5 - .../instance/enable.st | 5 - .../instance/initialize.st | 5 - .../instance/methodModified..st | 8 - .../instance/notify.st | 17 - .../instance/updateList..st | 3 - .../updateNumberOfTheProgressCircle.st | 4 - .../instance/updateUIAfterAddingMethod..st | 4 - .../properties.json | 17 - .../SmTButtonResultWindow.class/README.md | 1 - .../class/defaultSpec.st | 6 - .../instance/addToListTestsMethods..st | 7 - .../instance/button..st | 3 - .../instance/button.st | 3 - .../instance/buttonMorph.st | 3 - .../instance/buttonText..st | 3 - .../instance/buttonText.st | 3 - .../instance/controler..st | 3 - .../instance/controler.st | 3 - .../instance/extent.st | 3 - .../fillFailedTestListFromTestResult..st | 16 - .../instance/icons..st | 3 - .../instance/icons.st | 4 - .../instance/initializeWidgets.st | 19 - .../instance/setList..st | 8 - .../instance/testList..st | 3 - .../instance/testList.st | 3 - .../instance/title.st | 3 - .../properties.json | 17 - .../SmTCollector.class/README.md | 1 - .../instance/addTestMethod..st | 3 - .../instance/addTestMethods..st | 3 - .../SmTCollector.class/instance/collector.st | 3 - .../SmTCollector.class/instance/flush.st | 3 - .../SmTCollector.class/properties.json | 11 - .../SmTFivesMinutesCollector.class/README.md | 1 - .../class/addTestMethod..st | 3 - .../class/addTestMethods..st | 3 - .../class/start.st | 3 - .../class/stop.st | 3 - .../class/uniqueInstance.st | 3 - .../instance/collector.st | 3 - .../instance/process.st | 14 - .../instance/reset.st | 3 - .../instance/showResult..st | 9 - .../instance/start.st | 3 - .../instance/stop.st | 3 - .../properties.json | 16 - .../SmTIconFabric.class/README.md | 1 - .../class/createIconForMethod..st | 17 - .../class/createIconForMethods..st | 17 - .../SmTIconFabric.class/properties.json | 11 - .../SmTProgressCircle.class/README.md | 15 - .../instance/controler..st | 3 - .../instance/drawOn..st | 8 - .../instance/handlesMouseDown..st | 3 - .../instance/mouseDown..st | 4 - .../instance/percentage..st | 4 - .../instance/percentage.st | 3 - .../SmTProgressCircle.class/properties.json | 14 - .../monticello.meta/categories.st | 5 - .../monticello.meta/initializers.st | 0 .../monticello.meta/package | 1 - src/SmartTest-UI.package/properties.json | 1 - .../ClyOpenClassRelatedTestsCommand.class.st | 35 ++ .../ClyRunClassRelatedTestsCommand.class.st | 33 ++ src/SmartTest-UI/SmTAutoTestsWindows.class.st | 78 +++ .../SmTBigButtonCollector.class.st | 167 ++++++ .../SmTButtonResultWindow.class.st | 147 +++++ src/SmartTest-UI/SmTCollector.class.st | 28 + .../SmTFivesMinutesCollector.class.st | 88 +++ src/SmartTest-UI/SmTIconFabric.class.st | 46 ++ src/SmartTest-UI/SmTProgressCircle.class.st | 64 +++ src/SmartTest-UI/package.st | 1 + src/SmartTest.package/.filetree | 5 - .../properties.json | 3 - .../instance/asTestCase.st | 3 - .../instance/belongsToTestCase.st | 3 - .../instance/isTestMethod.st | 4 - .../instance/isTestSetUpMethod.st | 4 - .../instance/isTestTearDownMethod.st | 4 - .../CompiledMethod.extension/properties.json | 3 - ...withPercentage.borderWidth.borderColor..st | 15 - ...withPercentage.borderWidth.borderColor..st | 10 - ...rcentage.color.borderWidth.borderColor..st | 15 - .../FormCanvas.extension/properties.json | 3 - .../GrafPort.extension/properties.json | 3 - .../instance/unmark.st | 3 - .../HDTestCoverage.extension/properties.json | 3 - .../ManifestSmartTest.class/README.md | 3 - .../class/description.st | 2 - .../class/preUnload.st | 4 - .../ManifestSmartTest.class/properties.json | 11 - .../properties.json | 3 - .../instance/isInitializer.st | 3 - .../instance/senders.st | 3 - .../properties.json | 3 - .../instance/iconicButtons.st | 4 - .../ReProperty.extension/properties.json | 3 - .../SmTAnnouncer.class/README.md | 1 - .../SmTAnnouncer.class/class/announcer.st | 3 - .../class/shouldAnnounce.st | 3 - .../SmTAnnouncer.class/properties.json | 13 - .../README.md | 3 - .../instance/resetCache.st | 3 - .../properties.json | 11 - .../README.md | 3 - .../instance/initialize.st | 3 - .../instance/numberOfChange..st | 3 - .../instance/numberOfChange.st | 3 - .../instance/resetCache.st | 5 - .../properties.json | 13 - .../README.md | 3 - .../instance/resetCacheForChange..st | 4 - .../properties.json | 11 - .../SmTBasicCacheStrategy.class/README.md | 1 - .../instance/at..st | 3 - .../instance/at.ifAbsent..st | 3 - .../instance/at.ifPresent..st | 3 - .../instance/at.ifPresent.ifAbsent..st | 3 - .../instance/at.put..st | 3 - .../instance/currentCache.st | 3 - .../instance/relevantTestsFor..st | 3 - .../searchTestsForMethodReference..st | 3 - .../properties.json | 11 - .../SmTCacheStrategy.class/README.md | 1 - .../SmTCacheStrategy.class/instance/at..st | 3 - .../instance/at.ifAbsent..st | 3 - .../instance/at.ifPresent..st | 3 - .../instance/at.ifPresent.ifAbsent..st | 3 - .../instance/at.put..st | 3 - .../SmTCacheStrategy.class/instance/cache..st | 3 - .../instance/currentCache.st | 3 - .../instance/disable.st | 5 - .../SmTCacheStrategy.class/instance/enable.st | 3 - .../instance/relevantTestsFor..st | 3 - .../instance/resetCache.st | 3 - .../instance/resetCacheForChange..st | 3 - .../searchTestsForMethodReference..st | 3 - .../SmTCacheStrategy.class/properties.json | 13 - .../SmTClassNeedTestsCritique.class/README.md | 1 - .../instance/description.st | 3 - .../instance/title.st | 3 - .../properties.json | 11 - .../README.md | 1 - .../class/for.by.tests..st | 5 - .../instance/description.st | 3 - .../properties.json | 11 - .../SmTClassTestedRule.class/README.md | 1 - .../class/checksClass.st | 3 - .../class/classActivated..st | 3 - .../class/classActivated.st | 3 - .../class/initialize.st | 3 - .../class/settingsOn..st | 9 - .../SmTClassTestedRule.class/class/unload.st | 3 - .../instance/basicCheck..st | 3 - .../instance/check.forCritiquesDo..st | 7 - .../instance/findTestsForClass..st | 5 - .../instance/findTestsForMethods..st | 3 - .../instance/methodUsingVariablesOfClass..st | 7 - .../SmTClassTestedRule.class/instance/name.st | 3 - .../SmTClassTestedRule.class/properties.json | 13 - .../README.md | 1 - .../properties.json | 11 - .../SmTDefaultPackagesFilter.class/README.md | 1 - .../class/settingsOn..st | 4 - .../instance/extractClassPackageBaseName..st | 3 - .../extractCompiledMethodPackageBaseName..st | 3 - ...extractMethodDefinitionPackageBaseName..st | 3 - .../instance/extractPackageBaseName..st | 3 - .../instance/extractPackagesFrom..st | 14 - .../instance/extractPackagesFromTrait..st | 3 - .../shouldEntityBeFilteredOut.inPackages..st | 5 - .../properties.json | 11 - .../SmTEventRecipient.class/README.md | 1 - .../instance/actionForEvent.fromMorph..st | 3 - .../instance/runTestAndShowProgressIn..st | 2 - .../SmTEventRecipient.class/properties.json | 11 - .../SmTFilterStrategy.class/README.md | 1 - .../instance/extractPackagesFrom..st | 3 - .../shouldEntityBeFilteredOut.inPackages..st | 3 - .../SmTFilterStrategy.class/properties.json | 11 - .../README.md | 1 - .../instance/extractPackagesFrom..st | 5 - .../shouldEntityBeFilteredOut.inPackages..st | 3 - .../properties.json | 11 - .../README.md | 1 - .../instance/change.st | 2 - .../instance/description.st | 3 - .../instance/execute.st | 3 - .../instance/nameToDisplay.st | 3 - .../instance/oldVersionTextToDisplay.st | 3 - .../instance/providesChange.st | 3 - .../instance/textToDisplay.st | 3 - .../instance/title.st | 3 - .../instance/whatToDisplayIn..st | 3 - .../properties.json | 11 - .../README.md | 1 - .../class/for.by.tests..st | 5 - .../instance/description.st | 3 - .../properties.json | 13 - .../README.md | 0 .../class/addToElementBag..st | 3 - .../class/bag.st | 3 - .../class/disable.st | 4 - .../class/enable.st | 7 - .../class/getElementFromBag..st | 6 - .../class/methodAdded..st | 3 - .../class/methodModified..st | 3 - .../instance/basicCheck..st | 4 - .../instance/name.st | 4 - .../properties.json | 15 - .../SmTMethodTestedRule.class/README.md | 1 - .../class/checksMethod.st | 3 - .../class/disable.st | 2 - .../SmTMethodTestedRule.class/class/enable.st | 2 - .../class/initialize.st | 3 - .../class/isMethodActivated.st | 3 - .../class/methodActivated..st | 3 - .../class/methodActivated.st | 3 - .../class/methodRuleStrategy..st | 5 - .../class/methodRuleStrategy.st | 3 - .../class/settingsOn..st | 16 - .../SmTMethodTestedRule.class/class/unload.st | 3 - .../instance/basicCheck..st | 3 - .../instance/check.forCritiquesDo..st | 7 - .../instance/isVisible.st | 3 - .../instance/name.st | 3 - .../SmTMethodTestedRule.class/properties.json | 15 - .../SmTNeedTestsCritique.class/README.md | 1 - .../instance/description.st | 3 - .../instance/icon.st | 3 - .../instance/providesChange.st | 3 - .../instance/title.st | 3 - .../properties.json | 11 - .../SmTNoCacheStrategy.class/README.md | 1 - .../SmTNoCacheStrategy.class/instance/at..st | 3 - .../instance/at.ifAbsent..st | 3 - .../instance/at.ifPresent..st | 3 - .../instance/at.ifPresent.ifAbsent..st | 3 - .../instance/at.put..st | 3 - .../instance/currentCache.st | 3 - .../instance/relevantTestsFor..st | 3 - .../searchTestsForMethodReference..st | 3 - .../SmTNoCacheStrategy.class/properties.json | 11 - .../SmTNoFilter.class/README.md | 1 - .../shouldEntityBeFilteredOut.inPackages..st | 5 - .../SmTNoFilter.class/properties.json | 11 - .../README.md | 2 - .../class/isConcreteFinder.st | 3 - .../instance/analyseAndRemoveProxyFor..st | 3 - .../instance/buildCacheFromTestSuite..st | 4 - .../instance/collectAllRelativePackages..st | 3 - .../collectRelativeTestMethodOfMethods..st | 7 - ...CompiledMethodFromReceiver.andSelector..st | 4 - ...extractCurrentTestExecutionFromContext..st | 6 - .../instance/initializeLink.st | 14 - .../initializeLinkInCompiledMethod..st | 15 - .../instance/installLinkAndRunTest..st | 9 - .../instance/installProxyFor..st | 5 - .../instance/isCORAMethodBlacklisted..st | 3 - ...sCompiledMethod.alreadyExploredForTest..st | 6 - .../instance/methodsInSimilarPackageAs..st | 8 - .../instance/searchRelativeTestForMethod..st | 11 - .../searchTestsForAStandardMethod..st | 6 - .../properties.json | 11 - .../SmTRelativeTestsCritique.class/README.md | 1 - .../class/for.by.tests..st | 5 - .../instance/actions.st | 10 - .../instance/description.st | 3 - .../instance/icon.st | 4 - .../instance/iconicButtons.st | 4 - .../initializeRule.target.testsList..st | 4 - .../instance/openTestsWindowWith..st | 6 - .../instance/providesChange.st | 3 - .../instance/testButton..st | 3 - .../instance/testButton.st | 3 - .../instance/tests..st | 3 - .../instance/tests.st | 3 - .../instance/title.st | 3 - .../properties.json | 14 - .../SmTRules.class/README.md | 1 - .../SmTRules.class/class/activated..st | 3 - .../SmTRules.class/class/activated.st | 3 - .../SmTRules.class/class/cacheStrategy..st | 4 - .../SmTRules.class/class/cacheStrategy.st | 3 - .../SmTRules.class/class/fillCache.st | 5 - .../SmTRules.class/class/filter..st | 5 - .../SmTRules.class/class/filter.st | 3 - .../SmTRules.class/class/finder..st | 5 - .../SmTRules.class/class/finder.st | 3 - .../SmTRules.class/class/packagesRegex..st | 4 - .../SmTRules.class/class/packagesRegex.st | 3 - .../class/propagateRegexToTestFinder.st | 4 - .../SmTRules.class/class/runner..st | 4 - .../SmTRules.class/class/runner.st | 3 - .../SmTRules.class/class/settingsOn..st | 97 ---- .../class/shouldTryToFindTestForDynamic..st | 4 - .../class/shouldTryToFindTestForDynamic.st | 3 - .../SmTRules.class/class/strategy..st | 4 - .../SmTRules.class/class/strategy.st | 3 - .../SmTRules.class/class/testFinder..st | 5 - .../SmTRules.class/class/testFinder.st | 9 - .../SmTRules.class/class/unload.st | 3 - .../SmTRules.class/instance/activated.st | 3 - .../SmTRules.class/instance/basicCheck..st | 3 - .../instance/findTestsForMethod..st | 3 - .../instance/isOnNautilusOrCalypso.st | 6 - .../SmTRules.class/instance/isVisible.st | 3 - .../SmTRules.class/instance/severity.st | 4 - .../SmTRules.class/instance/tests.st | 3 - .../SmTRules.class/properties.json | 25 - .../SmTRunnerStrategy.class/README.md | 1 - .../class/colorForTestResultOf..st | 9 - .../class/iconForTestFromTestCaseHistory..st | 9 - .../iconForTestFromTestsCasesHistory..st | 15 - .../class/iconForTestResultOf..st | 9 - .../class/notifyTitle.contents..st | 19 - .../class/runCase.notifyIcon..st | 11 - .../class/runCases..st | 8 - .../class/runCases.notifyIcon..st | 6 - .../SmTRunnerStrategy.class/properties.json | 11 - .../SmTRunnerStrategyDebug.class/README.md | 1 - .../class/runCases..st | 8 - .../properties.json | 11 - .../SmTRunnerStrategyNotice.class/README.md | 1 - .../properties.json | 11 - .../SmTRunnerStrategySmart.class/README.md | 1 - .../properties.json | 11 - .../SmTSelectPackageBrowser.class/README.md | 1 - .../class/openWithSmartFinder..st | 6 - .../instance/addAllItems.st | 8 - .../instance/addItems.st | 8 - .../instance/createTestSuiteFrom..st | 6 - .../instance/initialize.st | 13 - .../instance/nextAction.st | 9 - .../instance/removeAllItems.st | 8 - .../instance/removeItems.st | 8 - .../instance/smartFinder..st | 3 - .../instance/smartFinder.st | 3 - .../instance/sort..st | 3 - .../instance/sort.withAll..st | 7 - .../instance/sort.withoutAll..st | 7 - .../properties.json | 13 - .../README.md | 3 - .../class/isConcreteFinder.st | 3 - .../collectSenderOfRGMethodeDefintion..st | 6 - .../instance/methodsFor.forThePackage..st | 28 - ...iveSearchForAStandardMethod.inPackages..st | 3 - ...andardMethod.inPackages.alreadyVisited..st | 15 - .../searchTestsForAStandardMethod..st | 7 - .../properties.json | 11 - .../README.md | 1 - .../class/packagesRegex..st | 5 - .../instance/extractPackagesFrom..st | 3 - .../instance/packages.st | 6 - .../instance/packagesRegex..st | 3 - .../instance/packagesRegex.st | 3 - .../instance/selectedPackages.st | 7 - .../shouldEntityBeFilteredOut.inPackages..st | 5 - .../properties.json | 14 - .../SmTTestCoverage.class/README.md | 1 - .../SmTTestCoverage.class/instance/finder..st | 3 - .../SmTTestCoverage.class/instance/finder.st | 3 - .../SmTTestCoverage.class/instance/mark.st | 6 - .../instance/run.with.in..st | 4 - .../SmTTestCoverage.class/properties.json | 13 - .../README.md | 13 - .../class/collectPackageWithBaseName..st | 3 - .../class/collectPackagesFromName..st | 3 - .../class/extractPackageBaseName..st | 3 - .../class/isConcreteFinder.st | 3 - .../addATest.toACollectionOfMethod..st | 4 - .../instance/addATest.toMethodReference..st | 4 - ...dImpactedTestFromWrapper.theTestMethod..st | 8 - .../addRelevantTest.fromMarkedWrappers..st | 8 - .../addToCurrentExecutionMethodReference..st | 6 - .../instance/analyseAndRemoveProxyFor..st | 4 - .../instance/availableMethods.st | 9 - .../instance/availablePackages.st | 17 - .../instance/availableTestMethods.st | 4 - .../instance/availableTestPackages.st | 19 - .../instance/buildCacheFromTestSuite..st | 27 - .../instance/collectAllRelativePackages..st | 3 - .../instance/collectClassToTestForPackage..st | 6 - .../collectClassToTestForPackagesNamed..st | 3 - .../collectMethodToTestForPackage..st | 3 - .../collectMethodToTestForPackages..st | 3 - .../collectMethodToTestForPackagesNamed..st | 3 - .../instance/extractPackageBaseName..st | 3 - .../instance/getPackageFromName..st | 3 - .../instance/initialize.st | 3 - .../instance/installProxyFor..st | 19 - .../instance/methodsInSimilarPackageAs..st | 8 - .../instance/searchRelativeTestForMethod..st | 16 - .../searchTestsForAStandardMethod..st | 4 - .../instance/searchTestsForClass..st | 13 - .../updateCacheAndUnmarkFrom.forMethod..st | 6 - .../properties.json | 13 - .../README.md | 3 - .../class/isConcreteFinder.st | 3 - .../instance/addATest.toMethod..st | 4 - .../instance/analyseAndRemoveProxyFor..st | 3 - .../instance/buildCacheFromTestSuite..st | 3 - .../instance/currentTestExecution..st | 3 - .../instance/currentTestExecution.st | 3 - .../instance/installProxyFor..st | 3 - .../instance/methodsFor..st | 19 - .../properties.json | 13 - .../SmTTestFinderStrategy.class/README.md | 1 - .../class/isConcreteFinder.st | 3 - .../instance/cache..st | 3 - .../instance/cache.st | 3 - ...computeInheritedTestFromDiscoveredTest..st | 10 - .../instance/filter..st | 3 - .../instance/filter.st | 3 - .../instance/initialize.st | 3 - .../instance/methodToTest..st | 3 - .../instance/methodsFor..st | 26 - .../recursiveSearchForAClass.inPackages..st | 3 - ...rchForAClass.inPackages.alreadyVisited..st | 21 - .../instance/searchTestsForAClass..st | 5 - .../instance/searchTestsForAInstVar..st | 7 - .../searchTestsForAInstVar.OfClass..st | 12 - .../instance/searchTestsForASetUpMethod..st | 10 - .../searchTestsForAStandardMethod..st | 5 - .../searchTestsForATearDownMethod..st | 11 - .../instance/searchTestsForATestMethod..st | 5 - .../instance/searchTestsForATrait..st | 7 - .../searchTestsForClassReferenceOf..st | 13 - .../instance/searchTestsForMethod..st | 5 - .../searchTestsForMethodReference..st | 3 - .../shouldTryToFindTestForDynamic..st | 3 - .../instance/shouldTryToFindTestForDynamic.st | 3 - .../instance/subTestFromRGDefinition..st | 6 - .../properties.json | 15 - .../SmTTestGenerator.class/README.md | 1 - .../instance/buildTestClassDefinitionFrom..st | 8 - .../instance/buildTestClassNameFrom..st | 4 - .../instance/buildTestPackageNameFrom..st | 4 - .../instance/buildTestSelectorFor..st | 15 - .../instance/createTestForClass..st | 20 - .../generateCommentForTestClass.from..st | 9 - .../generateSourceCodeForTestFrom..st | 3 - .../instance/generateTestMethodFor..st | 15 - .../SmTTestGenerator.class/properties.json | 11 - .../SmTTestListener.class/README.md | 1 - .../SmTTestListener.class/class/activated..st | 4 - .../SmTTestListener.class/class/activated.st | 5 - .../class/settingsOn..st | 11 - .../class/uniqueInstance.st | 3 - .../instance/activated..st | 6 - .../instance/cacheStrategy..st | 3 - .../instance/cacheStrategy.st | 3 - .../instance/disableListenerTestCase.st | 4 - .../instance/enableListenerTestCase.st | 4 - .../instance/smtDynamicFinder..st | 3 - .../instance/smtDynamicFinder.st | 3 - .../instance/testCaseEnded..st | 3 - .../instance/testCaseStarted..st | 3 - .../SmTTestListener.class/properties.json | 17 - .../SmTTestingStrategy.class/README.md | 1 - .../instance/disable.st | 3 - .../instance/enable.st | 3 - .../instance/findTestsForMethod..st | 3 - .../instance/finder..st | 3 - .../instance/finder.st | 4 - .../instance/getMethodsFor..st | 3 - .../getTestMethodFromCompiledTestMethod..st | 4 - .../instance/runner..st | 3 - .../instance/runner.st | 3 - .../SmTTestingStrategy.class/properties.json | 18 - .../SmTTestingStrategyAlways.class/README.md | 1 - .../instance/findTestsForMethod..st | 6 - .../properties.json | 11 - .../README.md | 1 - .../instance/addToElementBag..st | 3 - .../instance/bag.st | 3 - .../instance/disable.st | 5 - .../instance/enable.st | 7 - .../instance/findTestsForMethod..st | 7 - .../instance/getElementFromBag..st | 6 - .../instance/initialize.st | 3 - .../instance/methodAdded..st | 3 - .../instance/methodModified..st | 3 - .../properties.json | 13 - .../README.md | 1 - .../instance/disable.st | 4 - .../instance/enable.st | 4 - .../instance/findTestsForMethod..st | 6 - .../properties.json | 11 - .../SmTTestingStrategyNever.class/README.md | 1 - .../instance/findTestsForMethod..st | 3 - .../properties.json | 11 - .../instance/allMethods.st | 4 - .../instance/allTestMethods.st | 4 - .../SmalltalkImage.extension/properties.json | 3 - .../SmartFinder.class/README.md | 13 - .../instance/autoUpdateCache..st | 5 - .../instance/buildCacheFromTestSuite..st | 4 - .../instance/cacheStrategy..st | 7 - .../instance/cacheStrategy.st | 3 - .../SmartFinder.class/instance/clean.st | 5 - .../instance/currentCache.st | 3 - .../SmartFinder.class/instance/filter..st | 4 - .../SmartFinder.class/instance/filter.st | 3 - .../instance/findTestsForMethod..st | 6 - .../SmartFinder.class/instance/initialize.st | 3 - .../instance/researchTestsForMethod..st | 4 - .../SmartFinder.class/instance/resetCache.st | 3 - .../instance/searchTestsForASetUpMethod..st | 3 - .../searchTestsForATearDownMethod..st | 3 - .../instance/searchTestsForATestMethod..st | 3 - .../instance/setCacheValues..st | 3 - .../shouldTryToFindTestForDynamic..st | 4 - .../instance/shouldTryToFindTestForDynamic.st | 3 - .../SmartFinder.class/instance/smtFinder..st | 8 - .../SmartFinder.class/instance/smtFinder.st | 8 - .../SmartFinder.class/instance/smtListener.st | 3 - .../SmartFinder.class/instance/testRunner..st | 4 - .../SmartFinder.class/instance/testRunner.st | 3 - .../instance/testingStrategy..st | 8 - .../instance/testingStrategy.st | 3 - .../SmartFinder.class/properties.json | 20 - .../instance/isTestSuite.st | 3 - .../TestAsserter.extension/properties.json | 3 - .../class/allTestMethods.st | 4 - .../class/generalAnnouncer.st | 3 - .../class/shouldAnnounce.st | 3 - .../instance/announce.withResult..st | 11 - .../instance/generalAnnouncer.st | 3 - .../instance/methodReference.st | 3 - .../TestCase.extension/properties.json | 3 - .../instance/flatCollectTests.st | 9 - .../instance/isTestSuite.st | 3 - .../TestSuite.extension/properties.json | 3 - .../monticello.meta/categories.st | 12 - .../monticello.meta/initializers.st | 0 src/SmartTest.package/monticello.meta/package | 1 - src/SmartTest.package/properties.json | 1 - .../ASTCacheResetTest.extension.st} | 9 +- src/SmartTest/CompiledMethod.extension.st | 29 + src/SmartTest/FormCanvas.extension.st | 49 ++ .../GrafPort.extension.st} | 9 +- src/SmartTest/HDTestCoverage.extension.st | 6 + src/SmartTest/ManifestSmartTest.class.st | 20 + .../NautilusRefactoring.extension.st} | 9 +- src/SmartTest/RGMethodDefinition.extension.st | 11 + src/SmartTest/ReProperty.extension.st | 7 + src/SmartTest/SmTAnnouncer.class.st | 21 + .../SmTBasicCacheNeverResetStrategy.class.st | 15 + ...icCacheResetEvery5ChangesStrategy.class.st | 35 ++ ...asicCacheResetEveryCommitStrategy.class.st | 16 + src/SmartTest/SmTBasicCacheStrategy.class.st | 48 ++ src/SmartTest/SmTCacheStrategy.class.st | 78 +++ .../SmTClassNeedTestsCritique.class.st | 18 + .../SmTClassRelativeTestsCritique.class.st | 20 + src/SmartTest/SmTClassTestedRule.class.st | 88 +++ .../SmTDefaultClassPackagesFilter.class.st} | 17 +- .../SmTDefaultPackagesFilter.class.st | 62 +++ src/SmartTest/SmTEventRecipient.class.st | 17 + src/SmartTest/SmTFilterStrategy.class.st | 18 + .../SmTIcebergLoadedPackagesFilter.class.st | 20 + .../SmTMethodNeedTestsCritique.class.st | 52 ++ .../SmTMethodRelativeTestsCritique.class.st | 23 + ...SmTMethodTestedOnModificationRule.class.st | 66 +++ src/SmartTest/SmTMethodTestedRule.class.st | 106 ++++ src/SmartTest/SmTNeedTestsCritique.class.st | 28 + src/SmartTest/SmTNoCacheStrategy.class.st | 48 ++ src/SmartTest/SmTNoFilter.class.st | 15 + ...SmTReflectivityTestFinderStrategy.class.st | 148 +++++ .../SmTRelativeTestsCritique.class.st | 92 ++++ src/SmartTest/SmTRules.class.st | 288 ++++++++++ src/SmartTest/SmTRunnerStrategy.class.st | 110 ++++ src/SmartTest/SmTRunnerStrategyDebug.class.st | 18 + .../SmTRunnerStrategyNotice.class.st} | 16 +- src/SmartTest/SmTRunnerStrategySmart.class.st | 8 + .../SmTSelectPackageBrowser.class.st | 126 +++++ .../SmTSenderTestFinderStrategy.class.st | 84 +++ .../SmTSpecifyPackagesNameFilter.class.st | 58 ++ src/SmartTest/SmTTestCoverage.class.st | 35 ++ ...SmTTestCoverageTestFinderStrategy.class.st | 302 +++++++++++ .../SmTTestFinderDynamicStrategy.class.st | 70 +++ src/SmartTest/SmTTestFinderStrategy.class.st | 239 +++++++++ src/SmartTest/SmTTestGenerator.class.st | 102 ++++ src/SmartTest/SmTTestListener.class.st | 97 ++++ src/SmartTest/SmTTestingStrategy.class.st | 64 +++ .../SmTTestingStrategyAlways.class.st | 16 + ...mTTestingStrategyEachModification.class.st | 69 +++ .../SmTTestingStrategyFiveMinutes.class.st | 28 + .../SmTTestingStrategyNever.class.st | 13 + src/SmartTest/SmalltalkImage.extension.st | 13 + src/SmartTest/SmartFinder.class.st | 186 +++++++ src/SmartTest/TestAsserter.extension.st | 6 + src/SmartTest/TestCase.extension.st | 40 ++ src/SmartTest/TestSuite.extension.st | 17 + src/SmartTest/package.st | 1 + src/SmartTestDataOutsideP1.package/.filetree | 5 - ...ModificationOnClassInsidePackageWithRef.st | 3 - .../properties.json | 11 - .../properties.json | 11 - .../properties.json | 11 - .../README.md | 8 - .../testModificationOnClassSimpleTestCase.st | 3 - .../properties.json | 11 - .../SmTClassP1.class/README.md | 8 - .../method1FirstLevelSendersInsidePackage.st | 5 - .../method1FirstLevelSendersOutsidePackage.st | 5 - ...LevelSendersInsidePackageWithTestInside.st | 5 - ...evelSendersInsidePackageWithTestOutside.st | 5 - ...evelSendersOutsidePackageWithTestInside.st | 5 - ...velSendersOutsidePackageWithTestOutside.st | 5 - ...LevelSendersInsidePackageWithTestInside.st | 6 - ...evelSendersInsidePackageWithTestOutside.st | 6 - .../SmTClassP1.class/properties.json | 11 - ...1FirstLevelSendersInsideWithRefInMethod.st | 5 - .../properties.json | 11 - .../method1FirstLevelSendersWithRefInClass.st | 5 - .../properties.json | 11 - ...method1FirstLevelSendersWithRefInMethod.st | 5 - .../properties.json | 11 - ...ethod1FirstLevelSendersWithRefInPackage.st | 5 - .../properties.json | 11 - .../README.md | 8 - ...VarModificationOnVariableInsidePackage..st | 3 - ...tVarModificationOnVariableInsidePackage.st | 3 - ...arModificationOnVariableOutsidePackage..st | 3 - ...VarModificationOnVariableOutsidePackage.st | 3 - .../properties.json | 14 - .../README.md | 8 - ...stVarModificationOnVariableInsideClass..st | 3 - ...nstVarModificationOnVariableInsideClass.st | 3 - .../testModificationOnVariableInsideClass.st | 5 - .../properties.json | 13 - .../README.md | 6 - ...testModificationOnVariableInsidePackage.st | 5 - .../properties.json | 13 - ...lSendersInsideTestOutsideWithRefInClass.st | 5 - ...lSendersInsideTestOutsideWithRefInClass.st | 5 - .../properties.json | 11 - .../README.md | 10 - ...SendersInsideTestOutsideWithRefInMethod.st | 5 - ...SendersInsideTestOutsideWithRefInMethod.st | 5 - .../properties.json | 11 - ...endersInsideTestOutsideWithRefInPackage.st | 5 - ...endersInsideTestOutsideWithRefInPackage.st | 5 - .../properties.json | 11 - ...lSendersOutsideTestInsideWithRefInClass.st | 5 - .../properties.json | 11 - ...SendersOutsideTestInsideWithRefInMethod.st | 5 - .../properties.json | 11 - ...endersOutsideTestInsideWithRefInPackage.st | 5 - .../properties.json | 11 - ...endersOutsideTestOutsideWithRefInMethod.st | 5 - .../properties.json | 11 - .../SmTClassTestP1.class/README.md | 8 - ...ExtensionMethod1FirstLevelSendersInside.st | 3 - ...stMethod1FirstLevelSendersInsidePackage.st | 5 - ...LevelSendersInsidePackageWithTestInside.st | 4 - ...evelSendersOutsidePackageWithTestInside.st | 4 - ...lSendersOutsideTestInsideWithRefInClass.st | 5 - ...SendersOutsideTestInsideWithRefInMethod.st | 5 - ...endersOutsideTestInsideWithRefInPackage.st | 5 - .../SmTClassTestP1.class/properties.json | 11 - .../extensionMethod1SecondLevelSenders.st | 2 - .../SmTExtensionP1.class/properties.json | 11 - ...extensionMethod1FirstLevelSendersInside.st | 3 - ...xtensionMethod1FirstLevelSendersOutside.st | 3 - .../properties.json | 3 - .../extensionMethod2SecondLevelSenders.st | 4 - .../SmTExtensionP3.extension/properties.json | 3 - .../README.md | 8 - .../class/isAbstract.st | 4 - ...testModificationOnClassAbstractTestCase.st | 3 - .../properties.json | 11 - ...1FirstLevelSendersInsideWithRefInMethod.st | 3 - .../properties.json | 11 - .../properties.json | 11 - ...testModificationOnClassAbstractTestCase.st | 3 - .../properties.json | 11 - .../instance/method1Inheritance.st | 3 - .../SmTP1Inheritance.class/properties.json | 11 - .../README.md | 6 - .../instance/testMethod1Inheritance.st | 4 - .../properties.json | 11 - .../README.md | 3 - .../properties.json | 11 - .../SmTP1InheritanceTest.class/README.md | 6 - .../class/isAbstract.st | 4 - .../instance/testMethod1Inheritance.st | 4 - .../properties.json | 11 - .../monticello.meta/categories.st | 13 - .../monticello.meta/initializers.st | 0 .../monticello.meta/package | 1 - .../properties.json | 1 - ...idePackageTestOutsideWithRefTest.class.st} | 14 +- ...ationOnClassInsidePackageWithRef.class.st} | 9 +- ...tionOnClassOutsidePackageWithRef.class.st} | 9 +- ...ModificationOnClassSimpleTestCase.class.st | 20 + .../SmTClassP1.class.st | 74 +++ ...evelSendersInsideWithRefInMethod.class.st} | 15 + ...evelSendersOutsideWithRefInClass.class.st} | 15 + ...velSendersOutsideWithRefInMethod.class.st} | 16 +- ...elSendersOutsideWithRefInPackage.class.st} | 16 +- .../SmTClassP1ModificationOnVariable.class.st | 39 ++ ...ficationOnVariableInsideClassTest.class.st | 35 ++ ...cationOnVariableInsidePackageTest.class.st | 23 + ...sInsideTestOutsideWithRefInClass.class.st} | 23 +- ...sInsideTestOutsideWithRefInMethod.class.st | 31 ++ ...nsideTestOutsideWithRefInPackage.class.st} | 23 +- ...sOutsideTestInsideWithRefInClass.class.st} | 16 +- ...OutsideTestInsideWithRefInMethod.class.st} | 16 +- ...utsideTestInsideWithRefInPackage.class.st} | 16 +- ...utsideTestOutsideWithRefInMethod.class.st} | 15 + .../SmTClassTestP1.class.st | 61 +++ .../SmTExtensionP1.class.st} | 13 +- .../SmTExtensionP2Test.extension.st | 11 + .../SmTExtensionP3.extension.st | 7 + .../SmTP1ClassTestAbstractTestCase.class.st | 26 + ...evelSendersInsideWithRefInMethod.class.st} | 13 + ...TestSubClassDoesntRedefineMethod.class.st} | 9 +- ...ClassTestSubclassRedefinesMethod.class.st} | 14 +- .../SmTP1Inheritance.class.st} | 13 + .../SmTP1InheritanceSubClass1Test.class.st | 19 + .../SmTP1InheritanceSubClass2Test.class.st | 10 + .../SmTP1InheritanceTest.class.st | 25 + src/SmartTestDataOutsideP1/package.st | 1 + src/SmartTestDataOutsideP2.package/.filetree | 5 - ...odificationOnClassOutsidePackageWithRef.st | 3 - .../properties.json | 11 - .../README.md | 8 - ...estModificationOnVariableOutsidePackage.st | 5 - .../properties.json | 13 - .../SmTClassP2.class/README.md | 10 - ...evelSendersOutsidePackageWithTestInside.st | 6 - ...velSendersOutsidePackageWithTestOutside.st | 6 - .../SmTClassP2.class/properties.json | 11 - .../README.md | 6 - ...irstLevelSendersOutsideWithRefInPackage.st | 4 - ...endersInsideTestOutsideWithRefInPackage.st | 4 - ...endersOutsideTestInsideWithRefInPackage.st | 4 - .../properties.json | 11 - ...lSendersOutsideTestInsideWithRefInClass.st | 3 - ...lSendersOutsideTestInsideWithRefInClass.st | 3 - .../properties.json | 11 - ...SendersOutsideTestInsideWithRefInMethod.st | 3 - .../properties.json | 11 - ...endersOutsideTestInsideWithRefInPackage.st | 3 - .../properties.json | 11 - ...endersOutsideTestOutsideWithRefInMethod.st | 3 - .../properties.json | 11 - .../SmTClassTestP2Test.class/README.md | 11 - ...1FirstLevelSendersOutsideWithRefInClass.st | 3 - ...lSendersInsideTestOutsideWithRefInClass.st | 3 - ...xtensionMethod1FirstLevelSendersOutside.st | 3 - ...tMethod1FirstLevelSendersOutsidePackage.st | 5 - ...1FirstLevelSendersOutsideWithRefInClass.st | 4 - ...FirstLevelSendersOutsideWithRefInMethod.st | 4 - ...irstLevelSendersOutsideWithRefInPackage.st | 4 - ...elSenderInsideTestOutsideWithRefInClass.st | 3 - ...lSenderInsideTestOutsideWithRefInMethod.st | 3 - ...SenderInsideTestOutsideWithRefInPackage.st | 3 - ...evelSendersInsidePackageWithTestOutside.st | 5 - ...velSendersOutsidePackageWithTestOutside.st | 5 - .../SmTClassTestP2Test.class/properties.json | 11 - .../SmTExtensionP2Test.class/README.md | 1 - .../SmTExtensionP2Test.class/properties.json | 11 - .../monticello.meta/categories.st | 9 - .../monticello.meta/initializers.st | 0 .../monticello.meta/package | 1 - .../properties.json | 1 - ...OnClassOutsidePackageWithRefTest.class.st} | 14 +- ...ationOnVariableOutsidePackageTest.class.st | 25 + .../SmTClassP2.class.st | 33 ++ .../SmTClassP2ReferencesInPackage.class.st | 28 + ...sOutsideTestInsideWithRefInClass.class.st} | 21 +- ...OutsideTestInsideWithRefInMethod.class.st} | 14 +- ...utsideTestInsideWithRefInPackage.class.st} | 14 +- ...utsideTestOutsideWithRefInMethod.class.st} | 12 + .../SmTClassTestP2Test.class.st | 87 +++ .../SmTExtensionP2Test.class.st | 8 + src/SmartTestDataOutsideP2/package.st | 1 + src/SmartTestDataOutsideP3.package/.filetree | 5 - .../testExtensionMethod2SecondLevelSenders.st | 3 - .../testMethod1ExtensionTestInside.st | 3 - .../SmTClassTestP3.class/properties.json | 11 - .../properties.json | 11 - ...SenderOutsideTestOutsideWithRefInMethod.st | 4 - .../properties.json | 11 - .../SmTExtensionP3.class/README.md | 1 - .../SmTExtensionP3.class/properties.json | 11 - .../instance/extensionMethodP4.st | 2 - .../SmTExtensionP4.extension/properties.json | 3 - .../monticello.meta/categories.st | 1 - .../monticello.meta/initializers.st | 0 .../monticello.meta/package | 1 - .../properties.json | 1 - .../SmTClassTestP3.class.st} | 20 +- ...lSenderOutsideTestOutsideWithRef.class.st} | 9 +- ...utsideTestOutsideWithRefInMethod.class.st} | 16 +- .../SmTExtensionP3.class.st | 8 + .../SmTExtensionP4.extension.st | 5 + src/SmartTestDataOutsideP3/package.st | 1 + src/SmartTestDataOutsideP4.package/.filetree | 5 - .../SmTExtensionP4.class/README.md | 1 - .../instance/method1ExtensionTestInside.st | 2 - .../SmTExtensionP4.class/properties.json | 11 - .../monticello.meta/categories.st | 1 - .../monticello.meta/initializers.st | 0 .../monticello.meta/package | 1 - .../properties.json | 1 - .../SmTExtensionP4.class.st | 12 + src/SmartTestDataOutsideP4/package.st | 1 + 1329 files changed, 8050 insertions(+), 7243 deletions(-) delete mode 100644 src/BaselineOfSmartTest.package/.filetree delete mode 100644 src/BaselineOfSmartTest.package/BaselineOfSmartTest.class/README.md delete mode 100644 src/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/baseline..st delete mode 100644 src/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/defineDependencies..st delete mode 100644 src/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/defineGroups..st delete mode 100644 src/BaselineOfSmartTest.package/BaselineOfSmartTest.class/properties.json delete mode 100644 src/BaselineOfSmartTest.package/monticello.meta/categories.st delete mode 100644 src/BaselineOfSmartTest.package/monticello.meta/initializers.st delete mode 100644 src/BaselineOfSmartTest.package/monticello.meta/package delete mode 100644 src/BaselineOfSmartTest.package/properties.json rename src/{BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/definePackages..st => BaselineOfSmartTest/BaselineOfSmartTest.class.st} (52%) create mode 100644 src/BaselineOfSmartTest/package.st delete mode 100644 src/ConfigurationOfSmartTest.package/.filetree delete mode 100644 src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/README.md delete mode 100644 src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/DevelopmentSupport.st delete mode 100644 src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/baseConfigurationClassIfAbsent..st delete mode 100644 src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/ensureMetacello.st delete mode 100644 src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/ensureMetacelloBaseConfiguration.st delete mode 100644 src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/isMetacelloConfig.st delete mode 100644 src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/load.st delete mode 100644 src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/loadBleedingEdge.st delete mode 100644 src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/loadDevelopment.st delete mode 100644 src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/project.st delete mode 100644 src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/validate.st delete mode 100644 src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/instance/customProjectAttributes.st delete mode 100644 src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/instance/dev01..st delete mode 100644 src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/instance/development..st delete mode 100644 src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/instance/master..st delete mode 100644 src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/instance/project.st delete mode 100644 src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/instance/stable..st delete mode 100644 src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/properties.json delete mode 100644 src/ConfigurationOfSmartTest.package/monticello.meta/categories.st delete mode 100644 src/ConfigurationOfSmartTest.package/monticello.meta/initializers.st delete mode 100644 src/ConfigurationOfSmartTest.package/monticello.meta/package delete mode 100644 src/ConfigurationOfSmartTest.package/properties.json create mode 100644 src/ConfigurationOfSmartTest/ConfigurationOfSmartTest.class.st create mode 100644 src/ConfigurationOfSmartTest/package.st delete mode 100644 src/SmartTest-Tests-Data.package/.filetree delete mode 100644 src/SmartTest-Tests-Data.package/SmTClass.class/README.md delete mode 100644 src/SmartTest-Tests-Data.package/SmTClass.class/instance/method1.st delete mode 100644 src/SmartTest-Tests-Data.package/SmTClass.class/instance/method2.st delete mode 100644 src/SmartTest-Tests-Data.package/SmTClass.class/instance/method3..st delete mode 100644 src/SmartTest-Tests-Data.package/SmTClass.class/instance/method4.st delete mode 100644 src/SmartTest-Tests-Data.package/SmTClass.class/properties.json delete mode 100644 src/SmartTest-Tests-Data.package/SmTClass2.class/instance/initialize.st delete mode 100644 src/SmartTest-Tests-Data.package/SmTClass2.class/properties.json delete mode 100644 src/SmartTest-Tests-Data.package/SmTClassTest.class/README.md delete mode 100644 src/SmartTest-Tests-Data.package/SmTClassTest.class/instance/setUp.st delete mode 100644 src/SmartTest-Tests-Data.package/SmTClassTest.class/instance/tearDown.st delete mode 100644 src/SmartTest-Tests-Data.package/SmTClassTest.class/instance/testMethod1.st delete mode 100644 src/SmartTest-Tests-Data.package/SmTClassTest.class/instance/testMethod2.st delete mode 100644 src/SmartTest-Tests-Data.package/SmTClassTest.class/instance/testMethod3.st delete mode 100644 src/SmartTest-Tests-Data.package/SmTClassTest.class/instance/testMethod4.st delete mode 100644 src/SmartTest-Tests-Data.package/SmTClassTest.class/instance/testMethod5.st delete mode 100644 src/SmartTest-Tests-Data.package/SmTClassTest.class/properties.json delete mode 100644 src/SmartTest-Tests-Data.package/SmTInheritClassTest.class/README.md delete mode 100644 src/SmartTest-Tests-Data.package/SmTInheritClassTest.class/instance/setUp.st delete mode 100644 src/SmartTest-Tests-Data.package/SmTInheritClassTest.class/properties.json delete mode 100644 src/SmartTest-Tests-Data.package/SmTSuperClassTest.class/README.md delete mode 100644 src/SmartTest-Tests-Data.package/SmTSuperClassTest.class/class/isAbstract.st delete mode 100644 src/SmartTest-Tests-Data.package/SmTSuperClassTest.class/instance/testMethod1.st delete mode 100644 src/SmartTest-Tests-Data.package/SmTSuperClassTest.class/properties.json delete mode 100644 src/SmartTest-Tests-Data.package/monticello.meta/categories.st delete mode 100644 src/SmartTest-Tests-Data.package/monticello.meta/initializers.st delete mode 100644 src/SmartTest-Tests-Data.package/monticello.meta/package delete mode 100644 src/SmartTest-Tests-Data.package/properties.json create mode 100644 src/SmartTest-Tests-Data/SmTClass.class.st rename src/{SmartTest-Tests-Data.package/SmTClass2.class/README.md => SmartTest-Tests-Data/SmTClass2.class.st} (50%) create mode 100644 src/SmartTest-Tests-Data/SmTClassTest.class.st create mode 100644 src/SmartTest-Tests-Data/SmTInheritClassTest.class.st create mode 100644 src/SmartTest-Tests-Data/SmTSuperClassTest.class.st create mode 100644 src/SmartTest-Tests-Data/package.st delete mode 100644 src/SmartTest-Tests.package/.filetree delete mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderReflectivityNeverResetTest.class/README.md delete mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderReflectivityNeverResetTest.class/instance/cacheStrategy.st delete mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderReflectivityNeverResetTest.class/properties.json delete mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEvery5ChangesTest.class/README.md delete mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEvery5ChangesTest.class/instance/cacheStrategy.st delete mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEvery5ChangesTest.class/properties.json delete mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEveryCommitTest.class/README.md delete mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEveryCommitTest.class/instance/cacheStrategy.st delete mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEveryCommitTest.class/properties.json delete mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetOnDemandTest.class/README.md delete mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetOnDemandTest.class/instance/cacheStrategy.st delete mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetOnDemandTest.class/properties.json delete mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/README.md delete mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/class/isAbstract.st delete mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/instance/dynamicFinder.st delete mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod1ToBuildCache.st delete mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod2ToBuildCache.st delete mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod5ToBuildCache.st delete mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/properties.json delete mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderTest.class/README.md delete mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderTest.class/class/isAbstract.st delete mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/cacheStrategy.st delete mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/dynamicFinder.st delete mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/searchTestMethodsFor..st delete mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/setUp.st delete mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/tearDown.st delete mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/testResearchTestsForStandardMethodWhileEmptyCache.st delete mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod1ToBuildCache.st delete mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod2ToBuildCache.st delete mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod5ToBuildCache.st delete mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderTest.class/properties.json delete mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageNeverResetTest.class/README.md delete mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageNeverResetTest.class/instance/cacheStrategy.st delete mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageNeverResetTest.class/properties.json delete mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEvery5ChangesTest.class/README.md delete mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEvery5ChangesTest.class/instance/cacheStrategy.st delete mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEvery5ChangesTest.class/properties.json delete mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEveryCommitTest.class/README.md delete mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEveryCommitTest.class/instance/cacheStrategy.st delete mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEveryCommitTest.class/properties.json delete mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetOnDemandTest.class/README.md delete mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetOnDemandTest.class/instance/cacheStrategy.st delete mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetOnDemandTest.class/properties.json delete mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/README.md delete mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/class/isAbstract.st delete mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/instance/dynamicFinder.st delete mode 100644 src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/properties.json delete mode 100644 src/SmartTest-Tests.package/SmTCacheNeverResetTest.class/README.md delete mode 100644 src/SmartTest-Tests.package/SmTCacheNeverResetTest.class/instance/strategyTested.st delete mode 100644 src/SmartTest-Tests.package/SmTCacheNeverResetTest.class/properties.json delete mode 100644 src/SmartTest-Tests.package/SmTCacheResetEvery5ChangesTest.class/README.md delete mode 100644 src/SmartTest-Tests.package/SmTCacheResetEvery5ChangesTest.class/instance/strategyTested.st delete mode 100644 src/SmartTest-Tests.package/SmTCacheResetEvery5ChangesTest.class/properties.json delete mode 100644 src/SmartTest-Tests.package/SmTCacheResetEveryCommitTest.class/README.md delete mode 100644 src/SmartTest-Tests.package/SmTCacheResetEveryCommitTest.class/instance/strategyTested.st delete mode 100644 src/SmartTest-Tests.package/SmTCacheResetEveryCommitTest.class/instance/testResetAfter1Commit.st delete mode 100644 src/SmartTest-Tests.package/SmTCacheResetEveryCommitTest.class/properties.json delete mode 100644 src/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/README.md delete mode 100644 src/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/instance/strategyTested.st delete mode 100644 src/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/instance/testResetAfter1Commit.st delete mode 100644 src/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/instance/testResetAfter1MethodChange.st delete mode 100644 src/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/instance/testResetAfter4MethodChange.st delete mode 100644 src/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/instance/testResetAfter5MethodChange.st delete mode 100644 src/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/properties.json delete mode 100644 src/SmartTest-Tests.package/SmTCacheTest.class/README.md delete mode 100644 src/SmartTest-Tests.package/SmTCacheTest.class/class/isAbstract.st delete mode 100644 src/SmartTest-Tests.package/SmTCacheTest.class/instance/initCache.st delete mode 100644 src/SmartTest-Tests.package/SmTCacheTest.class/instance/setUp.st delete mode 100644 src/SmartTest-Tests.package/SmTCacheTest.class/instance/strategyTested.st delete mode 100644 src/SmartTest-Tests.package/SmTCacheTest.class/instance/testInitCache.st delete mode 100644 src/SmartTest-Tests.package/SmTCacheTest.class/instance/testResetAfter1Commit.st delete mode 100644 src/SmartTest-Tests.package/SmTCacheTest.class/instance/testResetAfter1MethodChange.st delete mode 100644 src/SmartTest-Tests.package/SmTCacheTest.class/instance/testResetAfter4MethodChange.st delete mode 100644 src/SmartTest-Tests.package/SmTCacheTest.class/instance/testResetAfter5MethodChange.st delete mode 100644 src/SmartTest-Tests.package/SmTCacheTest.class/properties.json delete mode 100644 src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/README.md delete mode 100644 src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/instance/initCache.st delete mode 100644 src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/instance/setUp.st delete mode 100644 src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/instance/tearDown.st delete mode 100644 src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/instance/testModificationOnTest.st delete mode 100644 src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/instance/testTestSelfSelected.st delete mode 100644 src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/properties.json delete mode 100644 src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/README.md delete mode 100644 src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/instance/initCache.st delete mode 100644 src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/instance/setUp.st delete mode 100644 src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/instance/tearDown.st delete mode 100644 src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/instance/testModificationOnTest.st delete mode 100644 src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/instance/testTestSelfSelected.st delete mode 100644 src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/properties.json delete mode 100644 src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/README.md delete mode 100644 src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/instance/initCache.st delete mode 100644 src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/instance/setUp.st delete mode 100644 src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/instance/tearDown.st delete mode 100644 src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/instance/testModificationOnTest.st delete mode 100644 src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/instance/testTestSelfSelected.st delete mode 100644 src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/properties.json delete mode 100644 src/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/README.md delete mode 100644 src/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/instance/initCache.st delete mode 100644 src/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/instance/setUp.st delete mode 100644 src/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/instance/tearDown.st delete mode 100644 src/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/instance/testModificationOnTest.st delete mode 100644 src/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/instance/testTestSelfSelected.st delete mode 100644 src/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/properties.json delete mode 100644 src/SmartTest-Tests.package/SmTDynamicReflectivityStrategyTest.class/README.md delete mode 100644 src/SmartTest-Tests.package/SmTDynamicReflectivityStrategyTest.class/instance/setUp.st delete mode 100644 src/SmartTest-Tests.package/SmTDynamicReflectivityStrategyTest.class/properties.json delete mode 100644 src/SmartTest-Tests.package/SmTFilterAbstractTest.class/README.md delete mode 100644 src/SmartTest-Tests.package/SmTFilterAbstractTest.class/class/isAbstract.st delete mode 100644 src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/instanceVariableNamed.fromClass..st delete mode 100644 src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/searchTestMethodsFor..st delete mode 100644 src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/searchTestMethodsForAClass..st delete mode 100644 src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/searchTestsForInstVar.ofClass..st delete mode 100644 src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/setUp.st delete mode 100644 src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/tearDown.st delete mode 100644 src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassAbstractTestCaseDoesntRedefineMethod.st delete mode 100644 src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassAbstractTestCaseRedefinesMethod.st delete mode 100644 src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassInheritanceSubClass1.st delete mode 100644 src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassInsidePackageWithRef.st delete mode 100644 src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassOutsidePackageWithRef.st delete mode 100644 src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassSimpleTestCase.st delete mode 100644 src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassTestsInside.st delete mode 100644 src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testExtensionMethodFirstLevelSendersInside.st delete mode 100644 src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testExtensionMethodFirstLevelSendersOutside.st delete mode 100644 src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testExtensionMethodSecondLevelSendersInside.st delete mode 100644 src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testExtensionTestInside.st delete mode 100644 src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testInstVarInsideClass.st delete mode 100644 src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testInstVarInsidePackage.st delete mode 100644 src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testInstVarOutsidePackage.st delete mode 100644 src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersInsidePackage.st delete mode 100644 src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st delete mode 100644 src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st delete mode 100644 src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st delete mode 100644 src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st delete mode 100644 src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestInside.st delete mode 100644 src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestOutside.st delete mode 100644 src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st delete mode 100644 src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st delete mode 100644 src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st delete mode 100644 src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestInside.st delete mode 100644 src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestOutside.st delete mode 100644 src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st delete mode 100644 src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st delete mode 100644 src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st delete mode 100644 src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefInMethod.st delete mode 100644 src/SmartTest-Tests.package/SmTFilterAbstractTest.class/properties.json delete mode 100644 src/SmartTest-Tests.package/SmTFinderAbstractTest.class/README.md delete mode 100644 src/SmartTest-Tests.package/SmTFinderAbstractTest.class/class/isAbstract.st delete mode 100644 src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/searchTestMethodsFor..st delete mode 100644 src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/searchTestsForASetUpMethod..st delete mode 100644 src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/searchTestsForATearDownMethod..st delete mode 100644 src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/searchTestsForATestMethod..st delete mode 100644 src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/setUp.st delete mode 100644 src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/tearDown.st delete mode 100644 src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testInheritance.st delete mode 100644 src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testModificationOnInitialize.st delete mode 100644 src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testModificationOnTest.st delete mode 100644 src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testSetupMethodFindsTests.st delete mode 100644 src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testSetupMethodWithNonSetupFindsNoTests.st delete mode 100644 src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testStandardMethodFirstLevelSenders.st delete mode 100644 src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testStandardMethodSecondLevelSenders.st delete mode 100644 src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testStandardMethodThirdLevelSenders.st delete mode 100644 src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testTearDownMethodFindsTests.st delete mode 100644 src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testTearDownMethodWithNoneTearDownFindsNoTests.st delete mode 100644 src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testTestSelfSelected.st delete mode 100644 src/SmartTest-Tests.package/SmTFinderAbstractTest.class/properties.json delete mode 100644 src/SmartTest-Tests.package/SmTOnModificationTest.class/README.md delete mode 100644 src/SmartTest-Tests.package/SmTOnModificationTest.class/instance/setUp.st delete mode 100644 src/SmartTest-Tests.package/SmTOnModificationTest.class/instance/tearDown.st delete mode 100644 src/SmartTest-Tests.package/SmTOnModificationTest.class/instance/testAdd.st delete mode 100644 src/SmartTest-Tests.package/SmTOnModificationTest.class/instance/testGet.st delete mode 100644 src/SmartTest-Tests.package/SmTOnModificationTest.class/properties.json delete mode 100644 src/SmartTest-Tests.package/SmTRunnerTest.class/README.md delete mode 100644 src/SmartTest-Tests.package/SmTRunnerTest.class/instance/noop.st delete mode 100644 src/SmartTest-Tests.package/SmTRunnerTest.class/instance/setUp.st delete mode 100644 src/SmartTest-Tests.package/SmTRunnerTest.class/instance/testIconForTestResultGreen.st delete mode 100644 src/SmartTest-Tests.package/SmTRunnerTest.class/instance/testIconForTestResultRed.st delete mode 100644 src/SmartTest-Tests.package/SmTRunnerTest.class/instance/testIconForTestResultWhite.st delete mode 100644 src/SmartTest-Tests.package/SmTRunnerTest.class/instance/testIconForTestResultYellow.st delete mode 100644 src/SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCaseNotifyIconGreen.st delete mode 100644 src/SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCaseNotifyIconRed.st delete mode 100644 src/SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCaseNotifyIconYellow.st delete mode 100644 src/SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCasesNotifyIconGreen.st delete mode 100644 src/SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCasesNotifyIconRed.st delete mode 100644 src/SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCasesNotifyIconYellow.st delete mode 100644 src/SmartTest-Tests.package/SmTRunnerTest.class/properties.json delete mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/README.md delete mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/setUp.st delete mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testExtensionTestInside.st delete mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testInstVarOutsidePackage.st delete mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st delete mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st delete mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st delete mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st delete mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st delete mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st delete mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st delete mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st delete mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st delete mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefInMethod.st delete mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/properties.json delete mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestDefaultPackage.class/README.md delete mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestDefaultPackage.class/instance/testClassOutsidePackageWithRef.st delete mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestDefaultPackage.class/instance/testInstVarOutsidePackage.st delete mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestDefaultPackage.class/properties.json delete mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/README.md delete mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/setUp.st delete mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st delete mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st delete mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st delete mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st delete mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestOutside.st delete mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st delete mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st delete mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st delete mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestInside.st delete mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestOutside.st delete mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st delete mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st delete mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st delete mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/properties.json delete mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/README.md delete mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/setUp.st delete mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/testClassOutsidePackageWithRef.st delete mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/testExtensionMethodFirstLevelSendersOutside.st delete mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/testInstVarOutsidePackage.st delete mode 100644 src/SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/properties.json delete mode 100644 src/SmartTest-Tests.package/SmTSettingsBasicCacheTest.class/README.md delete mode 100644 src/SmartTest-Tests.package/SmTSettingsBasicCacheTest.class/instance/cacheStrategy.st delete mode 100644 src/SmartTest-Tests.package/SmTSettingsBasicCacheTest.class/properties.json delete mode 100644 src/SmartTest-Tests.package/SmTSettingsCacheTest.class/README.md delete mode 100644 src/SmartTest-Tests.package/SmTSettingsCacheTest.class/class/isAbstract.st delete mode 100644 src/SmartTest-Tests.package/SmTSettingsCacheTest.class/instance/cacheStrategy.st delete mode 100644 src/SmartTest-Tests.package/SmTSettingsCacheTest.class/instance/testChangeCacheStrategy.st delete mode 100644 src/SmartTest-Tests.package/SmTSettingsCacheTest.class/properties.json delete mode 100644 src/SmartTest-Tests.package/SmTSettingsFilterDefaultClassPackagesTest.class/README.md delete mode 100644 src/SmartTest-Tests.package/SmTSettingsFilterDefaultClassPackagesTest.class/instance/filterStrategy.st delete mode 100644 src/SmartTest-Tests.package/SmTSettingsFilterDefaultClassPackagesTest.class/properties.json delete mode 100644 src/SmartTest-Tests.package/SmTSettingsFilterDefaultPackagesTest.class/README.md delete mode 100644 src/SmartTest-Tests.package/SmTSettingsFilterDefaultPackagesTest.class/instance/filterStrategy.st delete mode 100644 src/SmartTest-Tests.package/SmTSettingsFilterDefaultPackagesTest.class/properties.json delete mode 100644 src/SmartTest-Tests.package/SmTSettingsFilterIcebergTest.class/README.md delete mode 100644 src/SmartTest-Tests.package/SmTSettingsFilterIcebergTest.class/instance/filterStrategy.st delete mode 100644 src/SmartTest-Tests.package/SmTSettingsFilterIcebergTest.class/properties.json delete mode 100644 src/SmartTest-Tests.package/SmTSettingsFilterNoFilterTest.class/README.md delete mode 100644 src/SmartTest-Tests.package/SmTSettingsFilterNoFilterTest.class/instance/filterStrategy.st delete mode 100644 src/SmartTest-Tests.package/SmTSettingsFilterNoFilterTest.class/properties.json delete mode 100644 src/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/README.md delete mode 100644 src/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/dataForTestRegex.st delete mode 100644 src/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/filterStrategy.st delete mode 100644 src/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/setUp.st delete mode 100644 src/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/tearDown.st delete mode 100644 src/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/testChangeRegexWhenChanged.st delete mode 100644 src/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/properties.json delete mode 100644 src/SmartTest-Tests.package/SmTSettingsFilterTest.class/README.md delete mode 100644 src/SmartTest-Tests.package/SmTSettingsFilterTest.class/class/isAbstract.st delete mode 100644 src/SmartTest-Tests.package/SmTSettingsFilterTest.class/instance/filterStrategy.st delete mode 100644 src/SmartTest-Tests.package/SmTSettingsFilterTest.class/instance/testChangeFilterStrategy.st delete mode 100644 src/SmartTest-Tests.package/SmTSettingsFilterTest.class/properties.json delete mode 100644 src/SmartTest-Tests.package/SmTSettingsFinderReflectivityTest.class/README.md delete mode 100644 src/SmartTest-Tests.package/SmTSettingsFinderReflectivityTest.class/instance/finderStrategy.st delete mode 100644 src/SmartTest-Tests.package/SmTSettingsFinderReflectivityTest.class/properties.json delete mode 100644 src/SmartTest-Tests.package/SmTSettingsFinderSenderTestTest.class/README.md delete mode 100644 src/SmartTest-Tests.package/SmTSettingsFinderSenderTestTest.class/instance/finderStrategy.st delete mode 100644 src/SmartTest-Tests.package/SmTSettingsFinderSenderTestTest.class/properties.json delete mode 100644 src/SmartTest-Tests.package/SmTSettingsFinderTest.class/README.md delete mode 100644 src/SmartTest-Tests.package/SmTSettingsFinderTest.class/class/isAbstract.st delete mode 100644 src/SmartTest-Tests.package/SmTSettingsFinderTest.class/instance/finderStrategy.st delete mode 100644 src/SmartTest-Tests.package/SmTSettingsFinderTest.class/properties.json delete mode 100644 src/SmartTest-Tests.package/SmTSettingsFinderTestCoverageTest.class/README.md delete mode 100644 src/SmartTest-Tests.package/SmTSettingsFinderTestCoverageTest.class/instance/finderStrategy.st delete mode 100644 src/SmartTest-Tests.package/SmTSettingsFinderTestCoverageTest.class/properties.json delete mode 100644 src/SmartTest-Tests.package/SmTSettingsNoCacheTest.class/README.md delete mode 100644 src/SmartTest-Tests.package/SmTSettingsNoCacheTest.class/instance/cacheStrategy.st delete mode 100644 src/SmartTest-Tests.package/SmTSettingsNoCacheTest.class/properties.json delete mode 100644 src/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/README.md delete mode 100644 src/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/class/isAbstract.st delete mode 100644 src/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/instance/dataForTestRegex.st delete mode 100644 src/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/instance/setUp.st delete mode 100644 src/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/instance/tearDown.st delete mode 100644 src/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/instance/testChangeRegexSmTSpecifyPackagesNameFilter.st delete mode 100644 src/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/properties.json delete mode 100644 src/SmartTest-Tests.package/SmTSettingsRunnerDebugTest.class/README.md delete mode 100644 src/SmartTest-Tests.package/SmTSettingsRunnerDebugTest.class/instance/runnerStrategy.st delete mode 100644 src/SmartTest-Tests.package/SmTSettingsRunnerDebugTest.class/properties.json delete mode 100644 src/SmartTest-Tests.package/SmTSettingsRunnerNoticeTest.class/README.md delete mode 100644 src/SmartTest-Tests.package/SmTSettingsRunnerNoticeTest.class/instance/runnerStrategy.st delete mode 100644 src/SmartTest-Tests.package/SmTSettingsRunnerNoticeTest.class/properties.json delete mode 100644 src/SmartTest-Tests.package/SmTSettingsRunnerSmartTest.class/README.md delete mode 100644 src/SmartTest-Tests.package/SmTSettingsRunnerSmartTest.class/instance/runnerStrategy.st delete mode 100644 src/SmartTest-Tests.package/SmTSettingsRunnerSmartTest.class/properties.json delete mode 100644 src/SmartTest-Tests.package/SmTSettingsRunnerTest.class/README.md delete mode 100644 src/SmartTest-Tests.package/SmTSettingsRunnerTest.class/class/isAbstract.st delete mode 100644 src/SmartTest-Tests.package/SmTSettingsRunnerTest.class/instance/runnerStrategy.st delete mode 100644 src/SmartTest-Tests.package/SmTSettingsRunnerTest.class/instance/testChangeRunnerStrategy.st delete mode 100644 src/SmartTest-Tests.package/SmTSettingsRunnerTest.class/properties.json delete mode 100644 src/SmartTest-Tests.package/SmTSettingsTest.class/README.md delete mode 100644 src/SmartTest-Tests.package/SmTSettingsTest.class/class/isAbstract.st delete mode 100644 src/SmartTest-Tests.package/SmTSettingsTest.class/instance/setUp.st delete mode 100644 src/SmartTest-Tests.package/SmTSettingsTest.class/instance/tearDown.st delete mode 100644 src/SmartTest-Tests.package/SmTSettingsTest.class/properties.json delete mode 100644 src/SmartTest-Tests.package/SmTSettingsTestingStrategyAlwaysTest.class/README.md delete mode 100644 src/SmartTest-Tests.package/SmTSettingsTestingStrategyAlwaysTest.class/instance/getTestingStrategy.st delete mode 100644 src/SmartTest-Tests.package/SmTSettingsTestingStrategyAlwaysTest.class/properties.json delete mode 100644 src/SmartTest-Tests.package/SmTSettingsTestingStrategyEachModificationTest.class/README.md delete mode 100644 src/SmartTest-Tests.package/SmTSettingsTestingStrategyEachModificationTest.class/instance/getTestingStrategy.st delete mode 100644 src/SmartTest-Tests.package/SmTSettingsTestingStrategyEachModificationTest.class/properties.json delete mode 100644 src/SmartTest-Tests.package/SmTSettingsTestingStrategyFiveMinutesTest.class/README.md delete mode 100644 src/SmartTest-Tests.package/SmTSettingsTestingStrategyFiveMinutesTest.class/instance/getTestingStrategy.st delete mode 100644 src/SmartTest-Tests.package/SmTSettingsTestingStrategyFiveMinutesTest.class/properties.json delete mode 100644 src/SmartTest-Tests.package/SmTSettingsTestingStrategyNeverTest.class/README.md delete mode 100644 src/SmartTest-Tests.package/SmTSettingsTestingStrategyNeverTest.class/instance/getTestingStrategy.st delete mode 100644 src/SmartTest-Tests.package/SmTSettingsTestingStrategyNeverTest.class/properties.json delete mode 100644 src/SmartTest-Tests.package/SmTSettingsTestingStrategyTest.class/README.md delete mode 100644 src/SmartTest-Tests.package/SmTSettingsTestingStrategyTest.class/class/isAbstract.st delete mode 100644 src/SmartTest-Tests.package/SmTSettingsTestingStrategyTest.class/instance/getTestingStrategy.st delete mode 100644 src/SmartTest-Tests.package/SmTSettingsTestingStrategyTest.class/instance/testChangeTestingStrategyStrategy.st delete mode 100644 src/SmartTest-Tests.package/SmTSettingsTestingStrategyTest.class/properties.json delete mode 100644 src/SmartTest-Tests.package/SmTStaticDefaultClassPackageBasicCacheTest.class/README.md delete mode 100644 src/SmartTest-Tests.package/SmTStaticDefaultClassPackageBasicCacheTest.class/instance/setUp.st delete mode 100644 src/SmartTest-Tests.package/SmTStaticDefaultClassPackageBasicCacheTest.class/instance/testStandardMethodSecondLevelSenders.st delete mode 100644 src/SmartTest-Tests.package/SmTStaticDefaultClassPackageBasicCacheTest.class/properties.json delete mode 100644 src/SmartTest-Tests.package/SmTStaticDefaultClassPackageWithoutCacheTest.class/README.md delete mode 100644 src/SmartTest-Tests.package/SmTStaticDefaultClassPackageWithoutCacheTest.class/instance/setUp.st delete mode 100644 src/SmartTest-Tests.package/SmTStaticDefaultClassPackageWithoutCacheTest.class/instance/tearDown.st delete mode 100644 src/SmartTest-Tests.package/SmTStaticDefaultClassPackageWithoutCacheTest.class/properties.json delete mode 100644 src/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/README.md delete mode 100644 src/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/instance/setUp.st delete mode 100644 src/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/instance/testInheritance.st delete mode 100644 src/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/instance/testStandardMethodFirstLevelSenders.st delete mode 100644 src/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/instance/testStandardMethodSecondLevelSenders.st delete mode 100644 src/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/instance/testStandardMethodThirdLevelSenders.st delete mode 100644 src/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/properties.json delete mode 100644 src/SmartTest-Tests.package/SmartFinderTest.class/README.md delete mode 100644 src/SmartTest-Tests.package/SmartFinderTest.class/instance/initCache.st delete mode 100644 src/SmartTest-Tests.package/SmartFinderTest.class/instance/setUp.st delete mode 100644 src/SmartTest-Tests.package/SmartFinderTest.class/instance/tearDown.st delete mode 100644 src/SmartTest-Tests.package/SmartFinderTest.class/instance/testChangeCacheClassFinder.st delete mode 100644 src/SmartTest-Tests.package/SmartFinderTest.class/instance/testChangeFilterFinder.st delete mode 100644 src/SmartTest-Tests.package/SmartFinderTest.class/instance/testChangeFilterTryFindTestFinder.st delete mode 100644 src/SmartTest-Tests.package/SmartFinderTest.class/instance/testChangeFinderTestingStrategy.st delete mode 100644 src/SmartTest-Tests.package/SmartFinderTest.class/instance/testChangeRunnerTestingStrategy.st delete mode 100644 src/SmartTest-Tests.package/SmartFinderTest.class/instance/testResetCache.st delete mode 100644 src/SmartTest-Tests.package/SmartFinderTest.class/instance/testTwoSmartFinderhaveTwoDifferentCache.st delete mode 100644 src/SmartTest-Tests.package/SmartFinderTest.class/properties.json delete mode 100644 src/SmartTest-Tests.package/monticello.meta/categories.st delete mode 100644 src/SmartTest-Tests.package/monticello.meta/initializers.st delete mode 100644 src/SmartTest-Tests.package/monticello.meta/package delete mode 100644 src/SmartTest-Tests.package/properties.json create mode 100644 src/SmartTest-Tests/SmTCacheBuilderReflectivityNeverResetTest.class.st create mode 100644 src/SmartTest-Tests/SmTCacheBuilderReflectivityResetEvery5ChangesTest.class.st create mode 100644 src/SmartTest-Tests/SmTCacheBuilderReflectivityResetEveryCommitTest.class.st create mode 100644 src/SmartTest-Tests/SmTCacheBuilderReflectivityResetOnDemandTest.class.st create mode 100644 src/SmartTest-Tests/SmTCacheBuilderReflectivityTest.class.st create mode 100644 src/SmartTest-Tests/SmTCacheBuilderTest.class.st create mode 100644 src/SmartTest-Tests/SmTCacheBuilderTestCoverageNeverResetTest.class.st create mode 100644 src/SmartTest-Tests/SmTCacheBuilderTestCoverageResetEvery5ChangesTest.class.st create mode 100644 src/SmartTest-Tests/SmTCacheBuilderTestCoverageResetEveryCommitTest.class.st create mode 100644 src/SmartTest-Tests/SmTCacheBuilderTestCoverageResetOnDemandTest.class.st create mode 100644 src/SmartTest-Tests/SmTCacheBuilderTestCoverageTest.class.st create mode 100644 src/SmartTest-Tests/SmTCacheNeverResetTest.class.st rename src/{SmartTest-Tests.package/SmTCacheResetEvery5ChangesTest.class/instance/testResetAfter5MethodChange.st => SmartTest-Tests/SmTCacheResetEvery5ChangesTest.class.st} (60%) create mode 100644 src/SmartTest-Tests/SmTCacheResetEveryCommitTest.class.st create mode 100644 src/SmartTest-Tests/SmTCacheResetOnDemandTest.class.st create mode 100644 src/SmartTest-Tests/SmTCacheTest.class.st create mode 100644 src/SmartTest-Tests/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class.st create mode 100644 src/SmartTest-Tests/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class.st create mode 100644 src/SmartTest-Tests/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class.st create mode 100644 src/SmartTest-Tests/SmTDynamicCoverageStrategyTest.class.st rename src/{SmartTest-Tests.package/SmTDynamicReflectivityStrategyTest.class/instance/initCache.st => SmartTest-Tests/SmTDynamicReflectivityStrategyTest.class.st} (66%) create mode 100644 src/SmartTest-Tests/SmTFilterAbstractTest.class.st create mode 100644 src/SmartTest-Tests/SmTFinderAbstractTest.class.st create mode 100644 src/SmartTest-Tests/SmTOnModificationTest.class.st create mode 100644 src/SmartTest-Tests/SmTRunnerTest.class.st create mode 100644 src/SmartTest-Tests/SmTSendersFilterTestDefaultClassPackage.class.st create mode 100644 src/SmartTest-Tests/SmTSendersFilterTestDefaultPackage.class.st create mode 100644 src/SmartTest-Tests/SmTSendersFilterTestWithMultipleRestrictedPackage.class.st create mode 100644 src/SmartTest-Tests/SmTSendersFilterTestWithRestrictedPackage.class.st create mode 100644 src/SmartTest-Tests/SmTSettingsBasicCacheTest.class.st create mode 100644 src/SmartTest-Tests/SmTSettingsCacheTest.class.st create mode 100644 src/SmartTest-Tests/SmTSettingsFilterDefaultClassPackagesTest.class.st create mode 100644 src/SmartTest-Tests/SmTSettingsFilterDefaultPackagesTest.class.st create mode 100644 src/SmartTest-Tests/SmTSettingsFilterIcebergTest.class.st create mode 100644 src/SmartTest-Tests/SmTSettingsFilterNoFilterTest.class.st create mode 100644 src/SmartTest-Tests/SmTSettingsFilterSpecifyPackagesNameTest.class.st create mode 100644 src/SmartTest-Tests/SmTSettingsFilterTest.class.st create mode 100644 src/SmartTest-Tests/SmTSettingsFinderReflectivityTest.class.st create mode 100644 src/SmartTest-Tests/SmTSettingsFinderSenderTestTest.class.st rename src/{SmartTest-Tests.package/SmTSettingsFinderTest.class/instance/testChangeFinderStrategy.st => SmartTest-Tests/SmTSettingsFinderTest.class.st} (50%) create mode 100644 src/SmartTest-Tests/SmTSettingsFinderTestCoverageTest.class.st create mode 100644 src/SmartTest-Tests/SmTSettingsNoCacheTest.class.st create mode 100644 src/SmartTest-Tests/SmTSettingsPackagesRegexTest.class.st create mode 100644 src/SmartTest-Tests/SmTSettingsRunnerDebugTest.class.st create mode 100644 src/SmartTest-Tests/SmTSettingsRunnerNoticeTest.class.st create mode 100644 src/SmartTest-Tests/SmTSettingsRunnerSmartTest.class.st create mode 100644 src/SmartTest-Tests/SmTSettingsRunnerTest.class.st create mode 100644 src/SmartTest-Tests/SmTSettingsTest.class.st create mode 100644 src/SmartTest-Tests/SmTSettingsTestingStrategyAlwaysTest.class.st create mode 100644 src/SmartTest-Tests/SmTSettingsTestingStrategyEachModificationTest.class.st create mode 100644 src/SmartTest-Tests/SmTSettingsTestingStrategyFiveMinutesTest.class.st create mode 100644 src/SmartTest-Tests/SmTSettingsTestingStrategyNeverTest.class.st create mode 100644 src/SmartTest-Tests/SmTSettingsTestingStrategyTest.class.st create mode 100644 src/SmartTest-Tests/SmTStaticDefaultClassPackageBasicCacheTest.class.st create mode 100644 src/SmartTest-Tests/SmTStaticDefaultClassPackageWithoutCacheTest.class.st create mode 100644 src/SmartTest-Tests/SmTStaticSpecifyPackageNameBasicCacheTest.class.st create mode 100644 src/SmartTest-Tests/SmartFinderTest.class.st create mode 100644 src/SmartTest-Tests/package.st delete mode 100644 src/SmartTest-UI.package/.filetree delete mode 100644 src/SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/README.md delete mode 100644 src/SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/class/canBeExecutedInContext..st delete mode 100644 src/SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/instance/decorateTableCell.using..st delete mode 100644 src/SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/instance/description.st delete mode 100644 src/SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/instance/execute.st delete mode 100644 src/SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/properties.json delete mode 100644 src/SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/README.md delete mode 100644 src/SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/instance/canBeExecutedInContext..st delete mode 100644 src/SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/instance/decorateTableCell.using..st delete mode 100644 src/SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/instance/description.st delete mode 100644 src/SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/instance/execute.st delete mode 100644 src/SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/properties.json delete mode 100644 src/SmartTest-UI.package/SmTAutoTestsWindows.class/README.md delete mode 100644 src/SmartTest-UI.package/SmTAutoTestsWindows.class/class/defaultSpec.st delete mode 100644 src/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/button.st delete mode 100644 src/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/extent.st delete mode 100644 src/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/icons.st delete mode 100644 src/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/initializePresenter.st delete mode 100644 src/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/initializeWidgets.st delete mode 100644 src/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/setList..st delete mode 100644 src/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/testList.st delete mode 100644 src/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/title.st delete mode 100644 src/SmartTest-UI.package/SmTAutoTestsWindows.class/properties.json delete mode 100644 src/SmartTest-UI.package/SmTBigButtonCollector.class/README.md delete mode 100644 src/SmartTest-UI.package/SmTBigButtonCollector.class/class/activated..st delete mode 100644 src/SmartTest-UI.package/SmTBigButtonCollector.class/class/activated.st delete mode 100644 src/SmartTest-UI.package/SmTBigButtonCollector.class/class/bigButton.st delete mode 100644 src/SmartTest-UI.package/SmTBigButtonCollector.class/class/initialize.st delete mode 100644 src/SmartTest-UI.package/SmTBigButtonCollector.class/class/reset.st delete mode 100644 src/SmartTest-UI.package/SmTBigButtonCollector.class/class/settingsOn..st delete mode 100644 src/SmartTest-UI.package/SmTBigButtonCollector.class/class/unload.st delete mode 100644 src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/activated..st delete mode 100644 src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/changeColorFromTestResult..st delete mode 100644 src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/collector..st delete mode 100644 src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/collector.st delete mode 100644 src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/disable.st delete mode 100644 src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/enable.st delete mode 100644 src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/initialize.st delete mode 100644 src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/methodModified..st delete mode 100644 src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/notify.st delete mode 100644 src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/updateList..st delete mode 100644 src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/updateNumberOfTheProgressCircle.st delete mode 100644 src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/updateUIAfterAddingMethod..st delete mode 100644 src/SmartTest-UI.package/SmTBigButtonCollector.class/properties.json delete mode 100644 src/SmartTest-UI.package/SmTButtonResultWindow.class/README.md delete mode 100644 src/SmartTest-UI.package/SmTButtonResultWindow.class/class/defaultSpec.st delete mode 100644 src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/addToListTestsMethods..st delete mode 100644 src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/button..st delete mode 100644 src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/button.st delete mode 100644 src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/buttonMorph.st delete mode 100644 src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/buttonText..st delete mode 100644 src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/buttonText.st delete mode 100644 src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/controler..st delete mode 100644 src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/controler.st delete mode 100644 src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/extent.st delete mode 100644 src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/fillFailedTestListFromTestResult..st delete mode 100644 src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/icons..st delete mode 100644 src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/icons.st delete mode 100644 src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/initializeWidgets.st delete mode 100644 src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/setList..st delete mode 100644 src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/testList..st delete mode 100644 src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/testList.st delete mode 100644 src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/title.st delete mode 100644 src/SmartTest-UI.package/SmTButtonResultWindow.class/properties.json delete mode 100644 src/SmartTest-UI.package/SmTCollector.class/README.md delete mode 100644 src/SmartTest-UI.package/SmTCollector.class/instance/addTestMethod..st delete mode 100644 src/SmartTest-UI.package/SmTCollector.class/instance/addTestMethods..st delete mode 100644 src/SmartTest-UI.package/SmTCollector.class/instance/collector.st delete mode 100644 src/SmartTest-UI.package/SmTCollector.class/instance/flush.st delete mode 100644 src/SmartTest-UI.package/SmTCollector.class/properties.json delete mode 100644 src/SmartTest-UI.package/SmTFivesMinutesCollector.class/README.md delete mode 100644 src/SmartTest-UI.package/SmTFivesMinutesCollector.class/class/addTestMethod..st delete mode 100644 src/SmartTest-UI.package/SmTFivesMinutesCollector.class/class/addTestMethods..st delete mode 100644 src/SmartTest-UI.package/SmTFivesMinutesCollector.class/class/start.st delete mode 100644 src/SmartTest-UI.package/SmTFivesMinutesCollector.class/class/stop.st delete mode 100644 src/SmartTest-UI.package/SmTFivesMinutesCollector.class/class/uniqueInstance.st delete mode 100644 src/SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/collector.st delete mode 100644 src/SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/process.st delete mode 100644 src/SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/reset.st delete mode 100644 src/SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/showResult..st delete mode 100644 src/SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/start.st delete mode 100644 src/SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/stop.st delete mode 100644 src/SmartTest-UI.package/SmTFivesMinutesCollector.class/properties.json delete mode 100644 src/SmartTest-UI.package/SmTIconFabric.class/README.md delete mode 100644 src/SmartTest-UI.package/SmTIconFabric.class/class/createIconForMethod..st delete mode 100644 src/SmartTest-UI.package/SmTIconFabric.class/class/createIconForMethods..st delete mode 100644 src/SmartTest-UI.package/SmTIconFabric.class/properties.json delete mode 100644 src/SmartTest-UI.package/SmTProgressCircle.class/README.md delete mode 100644 src/SmartTest-UI.package/SmTProgressCircle.class/instance/controler..st delete mode 100644 src/SmartTest-UI.package/SmTProgressCircle.class/instance/drawOn..st delete mode 100644 src/SmartTest-UI.package/SmTProgressCircle.class/instance/handlesMouseDown..st delete mode 100644 src/SmartTest-UI.package/SmTProgressCircle.class/instance/mouseDown..st delete mode 100644 src/SmartTest-UI.package/SmTProgressCircle.class/instance/percentage..st delete mode 100644 src/SmartTest-UI.package/SmTProgressCircle.class/instance/percentage.st delete mode 100644 src/SmartTest-UI.package/SmTProgressCircle.class/properties.json delete mode 100644 src/SmartTest-UI.package/monticello.meta/categories.st delete mode 100644 src/SmartTest-UI.package/monticello.meta/initializers.st delete mode 100644 src/SmartTest-UI.package/monticello.meta/package delete mode 100644 src/SmartTest-UI.package/properties.json create mode 100644 src/SmartTest-UI/ClyOpenClassRelatedTestsCommand.class.st create mode 100644 src/SmartTest-UI/ClyRunClassRelatedTestsCommand.class.st create mode 100644 src/SmartTest-UI/SmTAutoTestsWindows.class.st create mode 100644 src/SmartTest-UI/SmTBigButtonCollector.class.st create mode 100644 src/SmartTest-UI/SmTButtonResultWindow.class.st create mode 100644 src/SmartTest-UI/SmTCollector.class.st create mode 100644 src/SmartTest-UI/SmTFivesMinutesCollector.class.st create mode 100644 src/SmartTest-UI/SmTIconFabric.class.st create mode 100644 src/SmartTest-UI/SmTProgressCircle.class.st create mode 100644 src/SmartTest-UI/package.st delete mode 100644 src/SmartTest.package/.filetree delete mode 100644 src/SmartTest.package/ASTCacheResetTest.extension/properties.json delete mode 100644 src/SmartTest.package/CompiledMethod.extension/instance/asTestCase.st delete mode 100644 src/SmartTest.package/CompiledMethod.extension/instance/belongsToTestCase.st delete mode 100644 src/SmartTest.package/CompiledMethod.extension/instance/isTestMethod.st delete mode 100644 src/SmartTest.package/CompiledMethod.extension/instance/isTestSetUpMethod.st delete mode 100644 src/SmartTest.package/CompiledMethod.extension/instance/isTestTearDownMethod.st delete mode 100644 src/SmartTest.package/CompiledMethod.extension/properties.json delete mode 100644 src/SmartTest.package/FormCanvas.extension/instance/fillOval.color.withPercentage.borderWidth.borderColor..st delete mode 100644 src/SmartTest.package/FormCanvas.extension/instance/fillOval.fillStyle.withPercentage.borderWidth.borderColor..st delete mode 100644 src/SmartTest.package/FormCanvas.extension/instance/fillOval.withPercentage.color.borderWidth.borderColor..st delete mode 100644 src/SmartTest.package/FormCanvas.extension/properties.json delete mode 100644 src/SmartTest.package/GrafPort.extension/properties.json delete mode 100644 src/SmartTest.package/HDTestCoverage.extension/instance/unmark.st delete mode 100644 src/SmartTest.package/HDTestCoverage.extension/properties.json delete mode 100644 src/SmartTest.package/ManifestSmartTest.class/README.md delete mode 100644 src/SmartTest.package/ManifestSmartTest.class/class/description.st delete mode 100644 src/SmartTest.package/ManifestSmartTest.class/class/preUnload.st delete mode 100644 src/SmartTest.package/ManifestSmartTest.class/properties.json delete mode 100644 src/SmartTest.package/NautilusRefactoring.extension/properties.json delete mode 100644 src/SmartTest.package/RGMethodDefinition.extension/instance/isInitializer.st delete mode 100644 src/SmartTest.package/RGMethodDefinition.extension/instance/senders.st delete mode 100644 src/SmartTest.package/RGMethodDefinition.extension/properties.json delete mode 100644 src/SmartTest.package/ReProperty.extension/instance/iconicButtons.st delete mode 100644 src/SmartTest.package/ReProperty.extension/properties.json delete mode 100644 src/SmartTest.package/SmTAnnouncer.class/README.md delete mode 100644 src/SmartTest.package/SmTAnnouncer.class/class/announcer.st delete mode 100644 src/SmartTest.package/SmTAnnouncer.class/class/shouldAnnounce.st delete mode 100644 src/SmartTest.package/SmTAnnouncer.class/properties.json delete mode 100644 src/SmartTest.package/SmTBasicCacheNeverResetStrategy.class/README.md delete mode 100644 src/SmartTest.package/SmTBasicCacheNeverResetStrategy.class/instance/resetCache.st delete mode 100644 src/SmartTest.package/SmTBasicCacheNeverResetStrategy.class/properties.json delete mode 100644 src/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/README.md delete mode 100644 src/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/instance/initialize.st delete mode 100644 src/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/instance/numberOfChange..st delete mode 100644 src/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/instance/numberOfChange.st delete mode 100644 src/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/instance/resetCache.st delete mode 100644 src/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/properties.json delete mode 100644 src/SmartTest.package/SmTBasicCacheResetEveryCommitStrategy.class/README.md delete mode 100644 src/SmartTest.package/SmTBasicCacheResetEveryCommitStrategy.class/instance/resetCacheForChange..st delete mode 100644 src/SmartTest.package/SmTBasicCacheResetEveryCommitStrategy.class/properties.json delete mode 100644 src/SmartTest.package/SmTBasicCacheStrategy.class/README.md delete mode 100644 src/SmartTest.package/SmTBasicCacheStrategy.class/instance/at..st delete mode 100644 src/SmartTest.package/SmTBasicCacheStrategy.class/instance/at.ifAbsent..st delete mode 100644 src/SmartTest.package/SmTBasicCacheStrategy.class/instance/at.ifPresent..st delete mode 100644 src/SmartTest.package/SmTBasicCacheStrategy.class/instance/at.ifPresent.ifAbsent..st delete mode 100644 src/SmartTest.package/SmTBasicCacheStrategy.class/instance/at.put..st delete mode 100644 src/SmartTest.package/SmTBasicCacheStrategy.class/instance/currentCache.st delete mode 100644 src/SmartTest.package/SmTBasicCacheStrategy.class/instance/relevantTestsFor..st delete mode 100644 src/SmartTest.package/SmTBasicCacheStrategy.class/instance/searchTestsForMethodReference..st delete mode 100644 src/SmartTest.package/SmTBasicCacheStrategy.class/properties.json delete mode 100644 src/SmartTest.package/SmTCacheStrategy.class/README.md delete mode 100644 src/SmartTest.package/SmTCacheStrategy.class/instance/at..st delete mode 100644 src/SmartTest.package/SmTCacheStrategy.class/instance/at.ifAbsent..st delete mode 100644 src/SmartTest.package/SmTCacheStrategy.class/instance/at.ifPresent..st delete mode 100644 src/SmartTest.package/SmTCacheStrategy.class/instance/at.ifPresent.ifAbsent..st delete mode 100644 src/SmartTest.package/SmTCacheStrategy.class/instance/at.put..st delete mode 100644 src/SmartTest.package/SmTCacheStrategy.class/instance/cache..st delete mode 100644 src/SmartTest.package/SmTCacheStrategy.class/instance/currentCache.st delete mode 100644 src/SmartTest.package/SmTCacheStrategy.class/instance/disable.st delete mode 100644 src/SmartTest.package/SmTCacheStrategy.class/instance/enable.st delete mode 100644 src/SmartTest.package/SmTCacheStrategy.class/instance/relevantTestsFor..st delete mode 100644 src/SmartTest.package/SmTCacheStrategy.class/instance/resetCache.st delete mode 100644 src/SmartTest.package/SmTCacheStrategy.class/instance/resetCacheForChange..st delete mode 100644 src/SmartTest.package/SmTCacheStrategy.class/instance/searchTestsForMethodReference..st delete mode 100644 src/SmartTest.package/SmTCacheStrategy.class/properties.json delete mode 100644 src/SmartTest.package/SmTClassNeedTestsCritique.class/README.md delete mode 100644 src/SmartTest.package/SmTClassNeedTestsCritique.class/instance/description.st delete mode 100644 src/SmartTest.package/SmTClassNeedTestsCritique.class/instance/title.st delete mode 100644 src/SmartTest.package/SmTClassNeedTestsCritique.class/properties.json delete mode 100644 src/SmartTest.package/SmTClassRelativeTestsCritique.class/README.md delete mode 100644 src/SmartTest.package/SmTClassRelativeTestsCritique.class/class/for.by.tests..st delete mode 100644 src/SmartTest.package/SmTClassRelativeTestsCritique.class/instance/description.st delete mode 100644 src/SmartTest.package/SmTClassRelativeTestsCritique.class/properties.json delete mode 100644 src/SmartTest.package/SmTClassTestedRule.class/README.md delete mode 100644 src/SmartTest.package/SmTClassTestedRule.class/class/checksClass.st delete mode 100644 src/SmartTest.package/SmTClassTestedRule.class/class/classActivated..st delete mode 100644 src/SmartTest.package/SmTClassTestedRule.class/class/classActivated.st delete mode 100644 src/SmartTest.package/SmTClassTestedRule.class/class/initialize.st delete mode 100644 src/SmartTest.package/SmTClassTestedRule.class/class/settingsOn..st delete mode 100644 src/SmartTest.package/SmTClassTestedRule.class/class/unload.st delete mode 100644 src/SmartTest.package/SmTClassTestedRule.class/instance/basicCheck..st delete mode 100644 src/SmartTest.package/SmTClassTestedRule.class/instance/check.forCritiquesDo..st delete mode 100644 src/SmartTest.package/SmTClassTestedRule.class/instance/findTestsForClass..st delete mode 100644 src/SmartTest.package/SmTClassTestedRule.class/instance/findTestsForMethods..st delete mode 100644 src/SmartTest.package/SmTClassTestedRule.class/instance/methodUsingVariablesOfClass..st delete mode 100644 src/SmartTest.package/SmTClassTestedRule.class/instance/name.st delete mode 100644 src/SmartTest.package/SmTClassTestedRule.class/properties.json delete mode 100644 src/SmartTest.package/SmTDefaultClassPackagesFilter.class/README.md delete mode 100644 src/SmartTest.package/SmTDefaultClassPackagesFilter.class/properties.json delete mode 100644 src/SmartTest.package/SmTDefaultPackagesFilter.class/README.md delete mode 100644 src/SmartTest.package/SmTDefaultPackagesFilter.class/class/settingsOn..st delete mode 100644 src/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractClassPackageBaseName..st delete mode 100644 src/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractCompiledMethodPackageBaseName..st delete mode 100644 src/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractMethodDefinitionPackageBaseName..st delete mode 100644 src/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractPackageBaseName..st delete mode 100644 src/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractPackagesFrom..st delete mode 100644 src/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractPackagesFromTrait..st delete mode 100644 src/SmartTest.package/SmTDefaultPackagesFilter.class/instance/shouldEntityBeFilteredOut.inPackages..st delete mode 100644 src/SmartTest.package/SmTDefaultPackagesFilter.class/properties.json delete mode 100644 src/SmartTest.package/SmTEventRecipient.class/README.md delete mode 100644 src/SmartTest.package/SmTEventRecipient.class/instance/actionForEvent.fromMorph..st delete mode 100644 src/SmartTest.package/SmTEventRecipient.class/instance/runTestAndShowProgressIn..st delete mode 100644 src/SmartTest.package/SmTEventRecipient.class/properties.json delete mode 100644 src/SmartTest.package/SmTFilterStrategy.class/README.md delete mode 100644 src/SmartTest.package/SmTFilterStrategy.class/instance/extractPackagesFrom..st delete mode 100644 src/SmartTest.package/SmTFilterStrategy.class/instance/shouldEntityBeFilteredOut.inPackages..st delete mode 100644 src/SmartTest.package/SmTFilterStrategy.class/properties.json delete mode 100644 src/SmartTest.package/SmTIcebergLoadedPackagesFilter.class/README.md delete mode 100644 src/SmartTest.package/SmTIcebergLoadedPackagesFilter.class/instance/extractPackagesFrom..st delete mode 100644 src/SmartTest.package/SmTIcebergLoadedPackagesFilter.class/instance/shouldEntityBeFilteredOut.inPackages..st delete mode 100644 src/SmartTest.package/SmTIcebergLoadedPackagesFilter.class/properties.json delete mode 100644 src/SmartTest.package/SmTMethodNeedTestsCritique.class/README.md delete mode 100644 src/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/change.st delete mode 100644 src/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/description.st delete mode 100644 src/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/execute.st delete mode 100644 src/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/nameToDisplay.st delete mode 100644 src/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/oldVersionTextToDisplay.st delete mode 100644 src/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/providesChange.st delete mode 100644 src/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/textToDisplay.st delete mode 100644 src/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/title.st delete mode 100644 src/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/whatToDisplayIn..st delete mode 100644 src/SmartTest.package/SmTMethodNeedTestsCritique.class/properties.json delete mode 100644 src/SmartTest.package/SmTMethodRelativeTestsCritique.class/README.md delete mode 100644 src/SmartTest.package/SmTMethodRelativeTestsCritique.class/class/for.by.tests..st delete mode 100644 src/SmartTest.package/SmTMethodRelativeTestsCritique.class/instance/description.st delete mode 100644 src/SmartTest.package/SmTMethodRelativeTestsCritique.class/properties.json delete mode 100644 src/SmartTest.package/SmTMethodTestedOnModificationRule.class/README.md delete mode 100644 src/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/addToElementBag..st delete mode 100644 src/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/bag.st delete mode 100644 src/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/disable.st delete mode 100644 src/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/enable.st delete mode 100644 src/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/getElementFromBag..st delete mode 100644 src/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/methodAdded..st delete mode 100644 src/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/methodModified..st delete mode 100644 src/SmartTest.package/SmTMethodTestedOnModificationRule.class/instance/basicCheck..st delete mode 100644 src/SmartTest.package/SmTMethodTestedOnModificationRule.class/instance/name.st delete mode 100644 src/SmartTest.package/SmTMethodTestedOnModificationRule.class/properties.json delete mode 100644 src/SmartTest.package/SmTMethodTestedRule.class/README.md delete mode 100644 src/SmartTest.package/SmTMethodTestedRule.class/class/checksMethod.st delete mode 100644 src/SmartTest.package/SmTMethodTestedRule.class/class/disable.st delete mode 100644 src/SmartTest.package/SmTMethodTestedRule.class/class/enable.st delete mode 100644 src/SmartTest.package/SmTMethodTestedRule.class/class/initialize.st delete mode 100644 src/SmartTest.package/SmTMethodTestedRule.class/class/isMethodActivated.st delete mode 100644 src/SmartTest.package/SmTMethodTestedRule.class/class/methodActivated..st delete mode 100644 src/SmartTest.package/SmTMethodTestedRule.class/class/methodActivated.st delete mode 100644 src/SmartTest.package/SmTMethodTestedRule.class/class/methodRuleStrategy..st delete mode 100644 src/SmartTest.package/SmTMethodTestedRule.class/class/methodRuleStrategy.st delete mode 100644 src/SmartTest.package/SmTMethodTestedRule.class/class/settingsOn..st delete mode 100644 src/SmartTest.package/SmTMethodTestedRule.class/class/unload.st delete mode 100644 src/SmartTest.package/SmTMethodTestedRule.class/instance/basicCheck..st delete mode 100644 src/SmartTest.package/SmTMethodTestedRule.class/instance/check.forCritiquesDo..st delete mode 100644 src/SmartTest.package/SmTMethodTestedRule.class/instance/isVisible.st delete mode 100644 src/SmartTest.package/SmTMethodTestedRule.class/instance/name.st delete mode 100644 src/SmartTest.package/SmTMethodTestedRule.class/properties.json delete mode 100644 src/SmartTest.package/SmTNeedTestsCritique.class/README.md delete mode 100644 src/SmartTest.package/SmTNeedTestsCritique.class/instance/description.st delete mode 100644 src/SmartTest.package/SmTNeedTestsCritique.class/instance/icon.st delete mode 100644 src/SmartTest.package/SmTNeedTestsCritique.class/instance/providesChange.st delete mode 100644 src/SmartTest.package/SmTNeedTestsCritique.class/instance/title.st delete mode 100644 src/SmartTest.package/SmTNeedTestsCritique.class/properties.json delete mode 100644 src/SmartTest.package/SmTNoCacheStrategy.class/README.md delete mode 100644 src/SmartTest.package/SmTNoCacheStrategy.class/instance/at..st delete mode 100644 src/SmartTest.package/SmTNoCacheStrategy.class/instance/at.ifAbsent..st delete mode 100644 src/SmartTest.package/SmTNoCacheStrategy.class/instance/at.ifPresent..st delete mode 100644 src/SmartTest.package/SmTNoCacheStrategy.class/instance/at.ifPresent.ifAbsent..st delete mode 100644 src/SmartTest.package/SmTNoCacheStrategy.class/instance/at.put..st delete mode 100644 src/SmartTest.package/SmTNoCacheStrategy.class/instance/currentCache.st delete mode 100644 src/SmartTest.package/SmTNoCacheStrategy.class/instance/relevantTestsFor..st delete mode 100644 src/SmartTest.package/SmTNoCacheStrategy.class/instance/searchTestsForMethodReference..st delete mode 100644 src/SmartTest.package/SmTNoCacheStrategy.class/properties.json delete mode 100644 src/SmartTest.package/SmTNoFilter.class/README.md delete mode 100644 src/SmartTest.package/SmTNoFilter.class/instance/shouldEntityBeFilteredOut.inPackages..st delete mode 100644 src/SmartTest.package/SmTNoFilter.class/properties.json delete mode 100644 src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/README.md delete mode 100644 src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/class/isConcreteFinder.st delete mode 100644 src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/analyseAndRemoveProxyFor..st delete mode 100644 src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/buildCacheFromTestSuite..st delete mode 100644 src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/collectAllRelativePackages..st delete mode 100644 src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/collectRelativeTestMethodOfMethods..st delete mode 100644 src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/extractCompiledMethodFromReceiver.andSelector..st delete mode 100644 src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/extractCurrentTestExecutionFromContext..st delete mode 100644 src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/initializeLink.st delete mode 100644 src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/initializeLinkInCompiledMethod..st delete mode 100644 src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/installLinkAndRunTest..st delete mode 100644 src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/installProxyFor..st delete mode 100644 src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/isCORAMethodBlacklisted..st delete mode 100644 src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/isCompiledMethod.alreadyExploredForTest..st delete mode 100644 src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/methodsInSimilarPackageAs..st delete mode 100644 src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/searchRelativeTestForMethod..st delete mode 100644 src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/searchTestsForAStandardMethod..st delete mode 100644 src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/properties.json delete mode 100644 src/SmartTest.package/SmTRelativeTestsCritique.class/README.md delete mode 100644 src/SmartTest.package/SmTRelativeTestsCritique.class/class/for.by.tests..st delete mode 100644 src/SmartTest.package/SmTRelativeTestsCritique.class/instance/actions.st delete mode 100644 src/SmartTest.package/SmTRelativeTestsCritique.class/instance/description.st delete mode 100644 src/SmartTest.package/SmTRelativeTestsCritique.class/instance/icon.st delete mode 100644 src/SmartTest.package/SmTRelativeTestsCritique.class/instance/iconicButtons.st delete mode 100644 src/SmartTest.package/SmTRelativeTestsCritique.class/instance/initializeRule.target.testsList..st delete mode 100644 src/SmartTest.package/SmTRelativeTestsCritique.class/instance/openTestsWindowWith..st delete mode 100644 src/SmartTest.package/SmTRelativeTestsCritique.class/instance/providesChange.st delete mode 100644 src/SmartTest.package/SmTRelativeTestsCritique.class/instance/testButton..st delete mode 100644 src/SmartTest.package/SmTRelativeTestsCritique.class/instance/testButton.st delete mode 100644 src/SmartTest.package/SmTRelativeTestsCritique.class/instance/tests..st delete mode 100644 src/SmartTest.package/SmTRelativeTestsCritique.class/instance/tests.st delete mode 100644 src/SmartTest.package/SmTRelativeTestsCritique.class/instance/title.st delete mode 100644 src/SmartTest.package/SmTRelativeTestsCritique.class/properties.json delete mode 100644 src/SmartTest.package/SmTRules.class/README.md delete mode 100644 src/SmartTest.package/SmTRules.class/class/activated..st delete mode 100644 src/SmartTest.package/SmTRules.class/class/activated.st delete mode 100644 src/SmartTest.package/SmTRules.class/class/cacheStrategy..st delete mode 100644 src/SmartTest.package/SmTRules.class/class/cacheStrategy.st delete mode 100644 src/SmartTest.package/SmTRules.class/class/fillCache.st delete mode 100644 src/SmartTest.package/SmTRules.class/class/filter..st delete mode 100644 src/SmartTest.package/SmTRules.class/class/filter.st delete mode 100644 src/SmartTest.package/SmTRules.class/class/finder..st delete mode 100644 src/SmartTest.package/SmTRules.class/class/finder.st delete mode 100644 src/SmartTest.package/SmTRules.class/class/packagesRegex..st delete mode 100644 src/SmartTest.package/SmTRules.class/class/packagesRegex.st delete mode 100644 src/SmartTest.package/SmTRules.class/class/propagateRegexToTestFinder.st delete mode 100644 src/SmartTest.package/SmTRules.class/class/runner..st delete mode 100644 src/SmartTest.package/SmTRules.class/class/runner.st delete mode 100644 src/SmartTest.package/SmTRules.class/class/settingsOn..st delete mode 100644 src/SmartTest.package/SmTRules.class/class/shouldTryToFindTestForDynamic..st delete mode 100644 src/SmartTest.package/SmTRules.class/class/shouldTryToFindTestForDynamic.st delete mode 100644 src/SmartTest.package/SmTRules.class/class/strategy..st delete mode 100644 src/SmartTest.package/SmTRules.class/class/strategy.st delete mode 100644 src/SmartTest.package/SmTRules.class/class/testFinder..st delete mode 100644 src/SmartTest.package/SmTRules.class/class/testFinder.st delete mode 100644 src/SmartTest.package/SmTRules.class/class/unload.st delete mode 100644 src/SmartTest.package/SmTRules.class/instance/activated.st delete mode 100644 src/SmartTest.package/SmTRules.class/instance/basicCheck..st delete mode 100644 src/SmartTest.package/SmTRules.class/instance/findTestsForMethod..st delete mode 100644 src/SmartTest.package/SmTRules.class/instance/isOnNautilusOrCalypso.st delete mode 100644 src/SmartTest.package/SmTRules.class/instance/isVisible.st delete mode 100644 src/SmartTest.package/SmTRules.class/instance/severity.st delete mode 100644 src/SmartTest.package/SmTRules.class/instance/tests.st delete mode 100644 src/SmartTest.package/SmTRules.class/properties.json delete mode 100644 src/SmartTest.package/SmTRunnerStrategy.class/README.md delete mode 100644 src/SmartTest.package/SmTRunnerStrategy.class/class/colorForTestResultOf..st delete mode 100644 src/SmartTest.package/SmTRunnerStrategy.class/class/iconForTestFromTestCaseHistory..st delete mode 100644 src/SmartTest.package/SmTRunnerStrategy.class/class/iconForTestFromTestsCasesHistory..st delete mode 100644 src/SmartTest.package/SmTRunnerStrategy.class/class/iconForTestResultOf..st delete mode 100644 src/SmartTest.package/SmTRunnerStrategy.class/class/notifyTitle.contents..st delete mode 100644 src/SmartTest.package/SmTRunnerStrategy.class/class/runCase.notifyIcon..st delete mode 100644 src/SmartTest.package/SmTRunnerStrategy.class/class/runCases..st delete mode 100644 src/SmartTest.package/SmTRunnerStrategy.class/class/runCases.notifyIcon..st delete mode 100644 src/SmartTest.package/SmTRunnerStrategy.class/properties.json delete mode 100644 src/SmartTest.package/SmTRunnerStrategyDebug.class/README.md delete mode 100644 src/SmartTest.package/SmTRunnerStrategyDebug.class/class/runCases..st delete mode 100644 src/SmartTest.package/SmTRunnerStrategyDebug.class/properties.json delete mode 100644 src/SmartTest.package/SmTRunnerStrategyNotice.class/README.md delete mode 100644 src/SmartTest.package/SmTRunnerStrategyNotice.class/properties.json delete mode 100644 src/SmartTest.package/SmTRunnerStrategySmart.class/README.md delete mode 100644 src/SmartTest.package/SmTRunnerStrategySmart.class/properties.json delete mode 100644 src/SmartTest.package/SmTSelectPackageBrowser.class/README.md delete mode 100644 src/SmartTest.package/SmTSelectPackageBrowser.class/class/openWithSmartFinder..st delete mode 100644 src/SmartTest.package/SmTSelectPackageBrowser.class/instance/addAllItems.st delete mode 100644 src/SmartTest.package/SmTSelectPackageBrowser.class/instance/addItems.st delete mode 100644 src/SmartTest.package/SmTSelectPackageBrowser.class/instance/createTestSuiteFrom..st delete mode 100644 src/SmartTest.package/SmTSelectPackageBrowser.class/instance/initialize.st delete mode 100644 src/SmartTest.package/SmTSelectPackageBrowser.class/instance/nextAction.st delete mode 100644 src/SmartTest.package/SmTSelectPackageBrowser.class/instance/removeAllItems.st delete mode 100644 src/SmartTest.package/SmTSelectPackageBrowser.class/instance/removeItems.st delete mode 100644 src/SmartTest.package/SmTSelectPackageBrowser.class/instance/smartFinder..st delete mode 100644 src/SmartTest.package/SmTSelectPackageBrowser.class/instance/smartFinder.st delete mode 100644 src/SmartTest.package/SmTSelectPackageBrowser.class/instance/sort..st delete mode 100644 src/SmartTest.package/SmTSelectPackageBrowser.class/instance/sort.withAll..st delete mode 100644 src/SmartTest.package/SmTSelectPackageBrowser.class/instance/sort.withoutAll..st delete mode 100644 src/SmartTest.package/SmTSelectPackageBrowser.class/properties.json delete mode 100644 src/SmartTest.package/SmTSenderTestFinderStrategy.class/README.md delete mode 100644 src/SmartTest.package/SmTSenderTestFinderStrategy.class/class/isConcreteFinder.st delete mode 100644 src/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/collectSenderOfRGMethodeDefintion..st delete mode 100644 src/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/methodsFor.forThePackage..st delete mode 100644 src/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAStandardMethod.inPackages..st delete mode 100644 src/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAStandardMethod.inPackages.alreadyVisited..st delete mode 100644 src/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/searchTestsForAStandardMethod..st delete mode 100644 src/SmartTest.package/SmTSenderTestFinderStrategy.class/properties.json delete mode 100644 src/SmartTest.package/SmTSpecifyPackagesNameFilter.class/README.md delete mode 100644 src/SmartTest.package/SmTSpecifyPackagesNameFilter.class/class/packagesRegex..st delete mode 100644 src/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/extractPackagesFrom..st delete mode 100644 src/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/packages.st delete mode 100644 src/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/packagesRegex..st delete mode 100644 src/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/packagesRegex.st delete mode 100644 src/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/selectedPackages.st delete mode 100644 src/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/shouldEntityBeFilteredOut.inPackages..st delete mode 100644 src/SmartTest.package/SmTSpecifyPackagesNameFilter.class/properties.json delete mode 100644 src/SmartTest.package/SmTTestCoverage.class/README.md delete mode 100644 src/SmartTest.package/SmTTestCoverage.class/instance/finder..st delete mode 100644 src/SmartTest.package/SmTTestCoverage.class/instance/finder.st delete mode 100644 src/SmartTest.package/SmTTestCoverage.class/instance/mark.st delete mode 100644 src/SmartTest.package/SmTTestCoverage.class/instance/run.with.in..st delete mode 100644 src/SmartTest.package/SmTTestCoverage.class/properties.json delete mode 100644 src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/README.md delete mode 100644 src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/class/collectPackageWithBaseName..st delete mode 100644 src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/class/collectPackagesFromName..st delete mode 100644 src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/class/extractPackageBaseName..st delete mode 100644 src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/class/isConcreteFinder.st delete mode 100644 src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/addATest.toACollectionOfMethod..st delete mode 100644 src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/addATest.toMethodReference..st delete mode 100644 src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/addImpactedTestFromWrapper.theTestMethod..st delete mode 100644 src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/addRelevantTest.fromMarkedWrappers..st delete mode 100644 src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/addToCurrentExecutionMethodReference..st delete mode 100644 src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/analyseAndRemoveProxyFor..st delete mode 100644 src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/availableMethods.st delete mode 100644 src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/availablePackages.st delete mode 100644 src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/availableTestMethods.st delete mode 100644 src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/availableTestPackages.st delete mode 100644 src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/buildCacheFromTestSuite..st delete mode 100644 src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectAllRelativePackages..st delete mode 100644 src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectClassToTestForPackage..st delete mode 100644 src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectClassToTestForPackagesNamed..st delete mode 100644 src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectMethodToTestForPackage..st delete mode 100644 src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectMethodToTestForPackages..st delete mode 100644 src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectMethodToTestForPackagesNamed..st delete mode 100644 src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/extractPackageBaseName..st delete mode 100644 src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/getPackageFromName..st delete mode 100644 src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/initialize.st delete mode 100644 src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/installProxyFor..st delete mode 100644 src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/methodsInSimilarPackageAs..st delete mode 100644 src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/searchRelativeTestForMethod..st delete mode 100644 src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/searchTestsForAStandardMethod..st delete mode 100644 src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/searchTestsForClass..st delete mode 100644 src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/updateCacheAndUnmarkFrom.forMethod..st delete mode 100644 src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/properties.json delete mode 100644 src/SmartTest.package/SmTTestFinderDynamicStrategy.class/README.md delete mode 100644 src/SmartTest.package/SmTTestFinderDynamicStrategy.class/class/isConcreteFinder.st delete mode 100644 src/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/addATest.toMethod..st delete mode 100644 src/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/analyseAndRemoveProxyFor..st delete mode 100644 src/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/buildCacheFromTestSuite..st delete mode 100644 src/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/currentTestExecution..st delete mode 100644 src/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/currentTestExecution.st delete mode 100644 src/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/installProxyFor..st delete mode 100644 src/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/methodsFor..st delete mode 100644 src/SmartTest.package/SmTTestFinderDynamicStrategy.class/properties.json delete mode 100644 src/SmartTest.package/SmTTestFinderStrategy.class/README.md delete mode 100644 src/SmartTest.package/SmTTestFinderStrategy.class/class/isConcreteFinder.st delete mode 100644 src/SmartTest.package/SmTTestFinderStrategy.class/instance/cache..st delete mode 100644 src/SmartTest.package/SmTTestFinderStrategy.class/instance/cache.st delete mode 100644 src/SmartTest.package/SmTTestFinderStrategy.class/instance/computeInheritedTestFromDiscoveredTest..st delete mode 100644 src/SmartTest.package/SmTTestFinderStrategy.class/instance/filter..st delete mode 100644 src/SmartTest.package/SmTTestFinderStrategy.class/instance/filter.st delete mode 100644 src/SmartTest.package/SmTTestFinderStrategy.class/instance/initialize.st delete mode 100644 src/SmartTest.package/SmTTestFinderStrategy.class/instance/methodToTest..st delete mode 100644 src/SmartTest.package/SmTTestFinderStrategy.class/instance/methodsFor..st delete mode 100644 src/SmartTest.package/SmTTestFinderStrategy.class/instance/recursiveSearchForAClass.inPackages..st delete mode 100644 src/SmartTest.package/SmTTestFinderStrategy.class/instance/recursiveSearchForAClass.inPackages.alreadyVisited..st delete mode 100644 src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForAClass..st delete mode 100644 src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForAInstVar..st delete mode 100644 src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForAInstVar.OfClass..st delete mode 100644 src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForASetUpMethod..st delete mode 100644 src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForAStandardMethod..st delete mode 100644 src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForATearDownMethod..st delete mode 100644 src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForATestMethod..st delete mode 100644 src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForATrait..st delete mode 100644 src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForClassReferenceOf..st delete mode 100644 src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForMethod..st delete mode 100644 src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForMethodReference..st delete mode 100644 src/SmartTest.package/SmTTestFinderStrategy.class/instance/shouldTryToFindTestForDynamic..st delete mode 100644 src/SmartTest.package/SmTTestFinderStrategy.class/instance/shouldTryToFindTestForDynamic.st delete mode 100644 src/SmartTest.package/SmTTestFinderStrategy.class/instance/subTestFromRGDefinition..st delete mode 100644 src/SmartTest.package/SmTTestFinderStrategy.class/properties.json delete mode 100644 src/SmartTest.package/SmTTestGenerator.class/README.md delete mode 100644 src/SmartTest.package/SmTTestGenerator.class/instance/buildTestClassDefinitionFrom..st delete mode 100644 src/SmartTest.package/SmTTestGenerator.class/instance/buildTestClassNameFrom..st delete mode 100644 src/SmartTest.package/SmTTestGenerator.class/instance/buildTestPackageNameFrom..st delete mode 100644 src/SmartTest.package/SmTTestGenerator.class/instance/buildTestSelectorFor..st delete mode 100644 src/SmartTest.package/SmTTestGenerator.class/instance/createTestForClass..st delete mode 100644 src/SmartTest.package/SmTTestGenerator.class/instance/generateCommentForTestClass.from..st delete mode 100644 src/SmartTest.package/SmTTestGenerator.class/instance/generateSourceCodeForTestFrom..st delete mode 100644 src/SmartTest.package/SmTTestGenerator.class/instance/generateTestMethodFor..st delete mode 100644 src/SmartTest.package/SmTTestGenerator.class/properties.json delete mode 100644 src/SmartTest.package/SmTTestListener.class/README.md delete mode 100644 src/SmartTest.package/SmTTestListener.class/class/activated..st delete mode 100644 src/SmartTest.package/SmTTestListener.class/class/activated.st delete mode 100644 src/SmartTest.package/SmTTestListener.class/class/settingsOn..st delete mode 100644 src/SmartTest.package/SmTTestListener.class/class/uniqueInstance.st delete mode 100644 src/SmartTest.package/SmTTestListener.class/instance/activated..st delete mode 100644 src/SmartTest.package/SmTTestListener.class/instance/cacheStrategy..st delete mode 100644 src/SmartTest.package/SmTTestListener.class/instance/cacheStrategy.st delete mode 100644 src/SmartTest.package/SmTTestListener.class/instance/disableListenerTestCase.st delete mode 100644 src/SmartTest.package/SmTTestListener.class/instance/enableListenerTestCase.st delete mode 100644 src/SmartTest.package/SmTTestListener.class/instance/smtDynamicFinder..st delete mode 100644 src/SmartTest.package/SmTTestListener.class/instance/smtDynamicFinder.st delete mode 100644 src/SmartTest.package/SmTTestListener.class/instance/testCaseEnded..st delete mode 100644 src/SmartTest.package/SmTTestListener.class/instance/testCaseStarted..st delete mode 100644 src/SmartTest.package/SmTTestListener.class/properties.json delete mode 100644 src/SmartTest.package/SmTTestingStrategy.class/README.md delete mode 100644 src/SmartTest.package/SmTTestingStrategy.class/instance/disable.st delete mode 100644 src/SmartTest.package/SmTTestingStrategy.class/instance/enable.st delete mode 100644 src/SmartTest.package/SmTTestingStrategy.class/instance/findTestsForMethod..st delete mode 100644 src/SmartTest.package/SmTTestingStrategy.class/instance/finder..st delete mode 100644 src/SmartTest.package/SmTTestingStrategy.class/instance/finder.st delete mode 100644 src/SmartTest.package/SmTTestingStrategy.class/instance/getMethodsFor..st delete mode 100644 src/SmartTest.package/SmTTestingStrategy.class/instance/getTestMethodFromCompiledTestMethod..st delete mode 100644 src/SmartTest.package/SmTTestingStrategy.class/instance/runner..st delete mode 100644 src/SmartTest.package/SmTTestingStrategy.class/instance/runner.st delete mode 100644 src/SmartTest.package/SmTTestingStrategy.class/properties.json delete mode 100644 src/SmartTest.package/SmTTestingStrategyAlways.class/README.md delete mode 100644 src/SmartTest.package/SmTTestingStrategyAlways.class/instance/findTestsForMethod..st delete mode 100644 src/SmartTest.package/SmTTestingStrategyAlways.class/properties.json delete mode 100644 src/SmartTest.package/SmTTestingStrategyEachModification.class/README.md delete mode 100644 src/SmartTest.package/SmTTestingStrategyEachModification.class/instance/addToElementBag..st delete mode 100644 src/SmartTest.package/SmTTestingStrategyEachModification.class/instance/bag.st delete mode 100644 src/SmartTest.package/SmTTestingStrategyEachModification.class/instance/disable.st delete mode 100644 src/SmartTest.package/SmTTestingStrategyEachModification.class/instance/enable.st delete mode 100644 src/SmartTest.package/SmTTestingStrategyEachModification.class/instance/findTestsForMethod..st delete mode 100644 src/SmartTest.package/SmTTestingStrategyEachModification.class/instance/getElementFromBag..st delete mode 100644 src/SmartTest.package/SmTTestingStrategyEachModification.class/instance/initialize.st delete mode 100644 src/SmartTest.package/SmTTestingStrategyEachModification.class/instance/methodAdded..st delete mode 100644 src/SmartTest.package/SmTTestingStrategyEachModification.class/instance/methodModified..st delete mode 100644 src/SmartTest.package/SmTTestingStrategyEachModification.class/properties.json delete mode 100644 src/SmartTest.package/SmTTestingStrategyFiveMinutes.class/README.md delete mode 100644 src/SmartTest.package/SmTTestingStrategyFiveMinutes.class/instance/disable.st delete mode 100644 src/SmartTest.package/SmTTestingStrategyFiveMinutes.class/instance/enable.st delete mode 100644 src/SmartTest.package/SmTTestingStrategyFiveMinutes.class/instance/findTestsForMethod..st delete mode 100644 src/SmartTest.package/SmTTestingStrategyFiveMinutes.class/properties.json delete mode 100644 src/SmartTest.package/SmTTestingStrategyNever.class/README.md delete mode 100644 src/SmartTest.package/SmTTestingStrategyNever.class/instance/findTestsForMethod..st delete mode 100644 src/SmartTest.package/SmTTestingStrategyNever.class/properties.json delete mode 100644 src/SmartTest.package/SmalltalkImage.extension/instance/allMethods.st delete mode 100644 src/SmartTest.package/SmalltalkImage.extension/instance/allTestMethods.st delete mode 100644 src/SmartTest.package/SmalltalkImage.extension/properties.json delete mode 100644 src/SmartTest.package/SmartFinder.class/README.md delete mode 100644 src/SmartTest.package/SmartFinder.class/instance/autoUpdateCache..st delete mode 100644 src/SmartTest.package/SmartFinder.class/instance/buildCacheFromTestSuite..st delete mode 100644 src/SmartTest.package/SmartFinder.class/instance/cacheStrategy..st delete mode 100644 src/SmartTest.package/SmartFinder.class/instance/cacheStrategy.st delete mode 100644 src/SmartTest.package/SmartFinder.class/instance/clean.st delete mode 100644 src/SmartTest.package/SmartFinder.class/instance/currentCache.st delete mode 100644 src/SmartTest.package/SmartFinder.class/instance/filter..st delete mode 100644 src/SmartTest.package/SmartFinder.class/instance/filter.st delete mode 100644 src/SmartTest.package/SmartFinder.class/instance/findTestsForMethod..st delete mode 100644 src/SmartTest.package/SmartFinder.class/instance/initialize.st delete mode 100644 src/SmartTest.package/SmartFinder.class/instance/researchTestsForMethod..st delete mode 100644 src/SmartTest.package/SmartFinder.class/instance/resetCache.st delete mode 100644 src/SmartTest.package/SmartFinder.class/instance/searchTestsForASetUpMethod..st delete mode 100644 src/SmartTest.package/SmartFinder.class/instance/searchTestsForATearDownMethod..st delete mode 100644 src/SmartTest.package/SmartFinder.class/instance/searchTestsForATestMethod..st delete mode 100644 src/SmartTest.package/SmartFinder.class/instance/setCacheValues..st delete mode 100644 src/SmartTest.package/SmartFinder.class/instance/shouldTryToFindTestForDynamic..st delete mode 100644 src/SmartTest.package/SmartFinder.class/instance/shouldTryToFindTestForDynamic.st delete mode 100644 src/SmartTest.package/SmartFinder.class/instance/smtFinder..st delete mode 100644 src/SmartTest.package/SmartFinder.class/instance/smtFinder.st delete mode 100644 src/SmartTest.package/SmartFinder.class/instance/smtListener.st delete mode 100644 src/SmartTest.package/SmartFinder.class/instance/testRunner..st delete mode 100644 src/SmartTest.package/SmartFinder.class/instance/testRunner.st delete mode 100644 src/SmartTest.package/SmartFinder.class/instance/testingStrategy..st delete mode 100644 src/SmartTest.package/SmartFinder.class/instance/testingStrategy.st delete mode 100644 src/SmartTest.package/SmartFinder.class/properties.json delete mode 100644 src/SmartTest.package/TestAsserter.extension/instance/isTestSuite.st delete mode 100644 src/SmartTest.package/TestAsserter.extension/properties.json delete mode 100644 src/SmartTest.package/TestCase.extension/class/allTestMethods.st delete mode 100644 src/SmartTest.package/TestCase.extension/class/generalAnnouncer.st delete mode 100644 src/SmartTest.package/TestCase.extension/class/shouldAnnounce.st delete mode 100644 src/SmartTest.package/TestCase.extension/instance/announce.withResult..st delete mode 100644 src/SmartTest.package/TestCase.extension/instance/generalAnnouncer.st delete mode 100644 src/SmartTest.package/TestCase.extension/instance/methodReference.st delete mode 100644 src/SmartTest.package/TestCase.extension/properties.json delete mode 100644 src/SmartTest.package/TestSuite.extension/instance/flatCollectTests.st delete mode 100644 src/SmartTest.package/TestSuite.extension/instance/isTestSuite.st delete mode 100644 src/SmartTest.package/TestSuite.extension/properties.json delete mode 100644 src/SmartTest.package/monticello.meta/categories.st delete mode 100644 src/SmartTest.package/monticello.meta/initializers.st delete mode 100644 src/SmartTest.package/monticello.meta/package delete mode 100644 src/SmartTest.package/properties.json rename src/{SmartTest.package/ASTCacheResetTest.extension/instance/testCacheResetPreserveLinks.st => SmartTest/ASTCacheResetTest.extension.st} (57%) create mode 100644 src/SmartTest/CompiledMethod.extension.st create mode 100644 src/SmartTest/FormCanvas.extension.st rename src/{SmartTest.package/GrafPort.extension/instance/fillOval.withPercentage..st => SmartTest/GrafPort.extension.st} (85%) create mode 100644 src/SmartTest/HDTestCoverage.extension.st create mode 100644 src/SmartTest/ManifestSmartTest.class.st rename src/{SmartTest.package/NautilusRefactoring.extension/instance/undoLabel.st => SmartTest/NautilusRefactoring.extension.st} (69%) create mode 100644 src/SmartTest/RGMethodDefinition.extension.st create mode 100644 src/SmartTest/ReProperty.extension.st create mode 100644 src/SmartTest/SmTAnnouncer.class.st create mode 100644 src/SmartTest/SmTBasicCacheNeverResetStrategy.class.st create mode 100644 src/SmartTest/SmTBasicCacheResetEvery5ChangesStrategy.class.st create mode 100644 src/SmartTest/SmTBasicCacheResetEveryCommitStrategy.class.st create mode 100644 src/SmartTest/SmTBasicCacheStrategy.class.st create mode 100644 src/SmartTest/SmTCacheStrategy.class.st create mode 100644 src/SmartTest/SmTClassNeedTestsCritique.class.st create mode 100644 src/SmartTest/SmTClassRelativeTestsCritique.class.st create mode 100644 src/SmartTest/SmTClassTestedRule.class.st rename src/{SmartTest.package/SmTDefaultClassPackagesFilter.class/instance/extractPackagesFrom..st => SmartTest/SmTDefaultClassPackagesFilter.class.st} (64%) create mode 100644 src/SmartTest/SmTDefaultPackagesFilter.class.st create mode 100644 src/SmartTest/SmTEventRecipient.class.st create mode 100644 src/SmartTest/SmTFilterStrategy.class.st create mode 100644 src/SmartTest/SmTIcebergLoadedPackagesFilter.class.st create mode 100644 src/SmartTest/SmTMethodNeedTestsCritique.class.st create mode 100644 src/SmartTest/SmTMethodRelativeTestsCritique.class.st create mode 100644 src/SmartTest/SmTMethodTestedOnModificationRule.class.st create mode 100644 src/SmartTest/SmTMethodTestedRule.class.st create mode 100644 src/SmartTest/SmTNeedTestsCritique.class.st create mode 100644 src/SmartTest/SmTNoCacheStrategy.class.st create mode 100644 src/SmartTest/SmTNoFilter.class.st create mode 100644 src/SmartTest/SmTReflectivityTestFinderStrategy.class.st create mode 100644 src/SmartTest/SmTRelativeTestsCritique.class.st create mode 100644 src/SmartTest/SmTRules.class.st create mode 100644 src/SmartTest/SmTRunnerStrategy.class.st create mode 100644 src/SmartTest/SmTRunnerStrategyDebug.class.st rename src/{SmartTest.package/SmTRunnerStrategyNotice.class/class/runCase.notifyIcon..st => SmartTest/SmTRunnerStrategyNotice.class.st} (52%) create mode 100644 src/SmartTest/SmTRunnerStrategySmart.class.st create mode 100644 src/SmartTest/SmTSelectPackageBrowser.class.st create mode 100644 src/SmartTest/SmTSenderTestFinderStrategy.class.st create mode 100644 src/SmartTest/SmTSpecifyPackagesNameFilter.class.st create mode 100644 src/SmartTest/SmTTestCoverage.class.st create mode 100644 src/SmartTest/SmTTestCoverageTestFinderStrategy.class.st create mode 100644 src/SmartTest/SmTTestFinderDynamicStrategy.class.st create mode 100644 src/SmartTest/SmTTestFinderStrategy.class.st create mode 100644 src/SmartTest/SmTTestGenerator.class.st create mode 100644 src/SmartTest/SmTTestListener.class.st create mode 100644 src/SmartTest/SmTTestingStrategy.class.st create mode 100644 src/SmartTest/SmTTestingStrategyAlways.class.st create mode 100644 src/SmartTest/SmTTestingStrategyEachModification.class.st create mode 100644 src/SmartTest/SmTTestingStrategyFiveMinutes.class.st create mode 100644 src/SmartTest/SmTTestingStrategyNever.class.st create mode 100644 src/SmartTest/SmalltalkImage.extension.st create mode 100644 src/SmartTest/SmartFinder.class.st create mode 100644 src/SmartTest/TestAsserter.extension.st create mode 100644 src/SmartTest/TestCase.extension.st create mode 100644 src/SmartTest/TestSuite.extension.st create mode 100644 src/SmartTest/package.st delete mode 100644 src/SmartTestDataOutsideP1.package/.filetree delete mode 100644 src/SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageTestOutsideWithRefTest.class/instance/testRefToSmTClassModificationOnClassInsidePackageWithRef.st delete mode 100644 src/SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageTestOutsideWithRefTest.class/properties.json delete mode 100644 src/SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageWithRef.class/properties.json delete mode 100644 src/SmartTestDataOutsideP1.package/SmTClassModificationOnClassOutsidePackageWithRef.class/properties.json delete mode 100644 src/SmartTestDataOutsideP1.package/SmTClassModificationOnClassSimpleTestCase.class/README.md delete mode 100644 src/SmartTestDataOutsideP1.package/SmTClassModificationOnClassSimpleTestCase.class/instance/testModificationOnClassSimpleTestCase.st delete mode 100644 src/SmartTestDataOutsideP1.package/SmTClassModificationOnClassSimpleTestCase.class/properties.json delete mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1.class/README.md delete mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1FirstLevelSendersInsidePackage.st delete mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1FirstLevelSendersOutsidePackage.st delete mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1SecondLevelSendersInsidePackageWithTestInside.st delete mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1SecondLevelSendersInsidePackageWithTestOutside.st delete mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1SecondLevelSendersOutsidePackageWithTestInside.st delete mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1SecondLevelSendersOutsidePackageWithTestOutside.st delete mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method2SecondLevelSendersInsidePackageWithTestInside.st delete mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method2SecondLevelSendersInsidePackageWithTestOutside.st delete mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1.class/properties.json delete mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersInsideWithRefInMethod.class/instance/method1FirstLevelSendersInsideWithRefInMethod.st delete mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersInsideWithRefInMethod.class/properties.json delete mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class/instance/method1FirstLevelSendersWithRefInClass.st delete mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class/properties.json delete mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class/instance/method1FirstLevelSendersWithRefInMethod.st delete mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class/properties.json delete mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class/instance/method1FirstLevelSendersWithRefInPackage.st delete mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class/properties.json delete mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/README.md delete mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/instVarModificationOnVariableInsidePackage..st delete mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/instVarModificationOnVariableInsidePackage.st delete mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/instVarModificationOnVariableOutsidePackage..st delete mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/instVarModificationOnVariableOutsidePackage.st delete mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/properties.json delete mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsideClassTest.class/README.md delete mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsideClassTest.class/instance/instVarModificationOnVariableInsideClass..st delete mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsideClassTest.class/instance/instVarModificationOnVariableInsideClass.st delete mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsideClassTest.class/instance/testModificationOnVariableInsideClass.st delete mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsideClassTest.class/properties.json delete mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsidePackageTest.class/README.md delete mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsidePackageTest.class/instance/testModificationOnVariableInsidePackage.st delete mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsidePackageTest.class/properties.json delete mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class/instance/method1SecondLevelSendersInsideTestOutsideWithRefInClass.st delete mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class/instance/method2SecondLevelSendersInsideTestOutsideWithRefInClass.st delete mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class/properties.json delete mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class/README.md delete mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class/instance/method1SecondLevelSendersInsideTestOutsideWithRefInMethod.st delete mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class/instance/method2SecondLevelSendersInsideTestOutsideWithRefInMethod.st delete mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class/properties.json delete mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class/instance/method1SecondLevelSendersInsideTestOutsideWithRefInPackage.st delete mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class/instance/method2SecondLevelSendersInsideTestOutsideWithRefInPackage.st delete mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class/properties.json delete mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.class/instance/method1SecondLevelSendersOutsideTestInsideWithRefInClass.st delete mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.class/properties.json delete mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class/instance/method1SecondLevelSendersOutsideTestInsideWithRefInMethod.st delete mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class/properties.json delete mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.class/instance/method1SecondLevelSendersOutsideTestInsideWithRefInPackage.st delete mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.class/properties.json delete mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/instance/method1SecondLevelSendersOutsideTestOutsideWithRefInMethod.st delete mode 100644 src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/properties.json delete mode 100644 src/SmartTestDataOutsideP1.package/SmTClassTestP1.class/README.md delete mode 100644 src/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testExtensionMethod1FirstLevelSendersInside.st delete mode 100644 src/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod1FirstLevelSendersInsidePackage.st delete mode 100644 src/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersInsidePackageWithTestInside.st delete mode 100644 src/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersOutsidePackageWithTestInside.st delete mode 100644 src/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInClass.st delete mode 100644 src/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInMethod.st delete mode 100644 src/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInPackage.st delete mode 100644 src/SmartTestDataOutsideP1.package/SmTClassTestP1.class/properties.json delete mode 100644 src/SmartTestDataOutsideP1.package/SmTExtensionP1.class/instance/extensionMethod1SecondLevelSenders.st delete mode 100644 src/SmartTestDataOutsideP1.package/SmTExtensionP1.class/properties.json delete mode 100644 src/SmartTestDataOutsideP1.package/SmTExtensionP2Test.extension/instance/extensionMethod1FirstLevelSendersInside.st delete mode 100644 src/SmartTestDataOutsideP1.package/SmTExtensionP2Test.extension/instance/extensionMethod1FirstLevelSendersOutside.st delete mode 100644 src/SmartTestDataOutsideP1.package/SmTExtensionP2Test.extension/properties.json delete mode 100644 src/SmartTestDataOutsideP1.package/SmTExtensionP3.extension/instance/extensionMethod2SecondLevelSenders.st delete mode 100644 src/SmartTestDataOutsideP1.package/SmTExtensionP3.extension/properties.json delete mode 100644 src/SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/README.md delete mode 100644 src/SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/class/isAbstract.st delete mode 100644 src/SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/instance/testModificationOnClassAbstractTestCase.st delete mode 100644 src/SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/properties.json delete mode 100644 src/SmartTestDataOutsideP1.package/SmTP1ClassTestFirstLevelSendersInsideWithRefInMethod.class/instance/testMethod1FirstLevelSendersInsideWithRefInMethod.st delete mode 100644 src/SmartTestDataOutsideP1.package/SmTP1ClassTestFirstLevelSendersInsideWithRefInMethod.class/properties.json delete mode 100644 src/SmartTestDataOutsideP1.package/SmTP1ClassTestSubClassDoesntRedefineMethod.class/properties.json delete mode 100644 src/SmartTestDataOutsideP1.package/SmTP1ClassTestSubclassRedefinesMethod.class/instance/testModificationOnClassAbstractTestCase.st delete mode 100644 src/SmartTestDataOutsideP1.package/SmTP1ClassTestSubclassRedefinesMethod.class/properties.json delete mode 100644 src/SmartTestDataOutsideP1.package/SmTP1Inheritance.class/instance/method1Inheritance.st delete mode 100644 src/SmartTestDataOutsideP1.package/SmTP1Inheritance.class/properties.json delete mode 100644 src/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass1Test.class/README.md delete mode 100644 src/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass1Test.class/instance/testMethod1Inheritance.st delete mode 100644 src/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass1Test.class/properties.json delete mode 100644 src/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass2Test.class/README.md delete mode 100644 src/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass2Test.class/properties.json delete mode 100644 src/SmartTestDataOutsideP1.package/SmTP1InheritanceTest.class/README.md delete mode 100644 src/SmartTestDataOutsideP1.package/SmTP1InheritanceTest.class/class/isAbstract.st delete mode 100644 src/SmartTestDataOutsideP1.package/SmTP1InheritanceTest.class/instance/testMethod1Inheritance.st delete mode 100644 src/SmartTestDataOutsideP1.package/SmTP1InheritanceTest.class/properties.json delete mode 100644 src/SmartTestDataOutsideP1.package/monticello.meta/categories.st delete mode 100644 src/SmartTestDataOutsideP1.package/monticello.meta/initializers.st delete mode 100644 src/SmartTestDataOutsideP1.package/monticello.meta/package delete mode 100644 src/SmartTestDataOutsideP1.package/properties.json rename src/{SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageTestOutsideWithRefTest.class/README.md => SmartTestDataOutsideP1/SmTClassModificationOnClassInsidePackageTestOutsideWithRefTest.class.st} (50%) rename src/{SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageWithRef.class/README.md => SmartTestDataOutsideP1/SmTClassModificationOnClassInsidePackageWithRef.class.st} (70%) rename src/{SmartTestDataOutsideP1.package/SmTClassModificationOnClassOutsidePackageWithRef.class/README.md => SmartTestDataOutsideP1/SmTClassModificationOnClassOutsidePackageWithRef.class.st} (76%) create mode 100644 src/SmartTestDataOutsideP1/SmTClassModificationOnClassSimpleTestCase.class.st create mode 100644 src/SmartTestDataOutsideP1/SmTClassP1.class.st rename src/{SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersInsideWithRefInMethod.class/README.md => SmartTestDataOutsideP1/SmTClassP1FirstLevelSendersInsideWithRefInMethod.class.st} (59%) rename src/{SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class/README.md => SmartTestDataOutsideP1/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class.st} (58%) rename src/{SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class/README.md => SmartTestDataOutsideP1/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class.st} (53%) rename src/{SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class/README.md => SmartTestDataOutsideP1/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class.st} (58%) create mode 100644 src/SmartTestDataOutsideP1/SmTClassP1ModificationOnVariable.class.st create mode 100644 src/SmartTestDataOutsideP1/SmTClassP1ModificationOnVariableInsideClassTest.class.st create mode 100644 src/SmartTestDataOutsideP1/SmTClassP1ModificationOnVariableInsidePackageTest.class.st rename src/{SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class/README.md => SmartTestDataOutsideP1/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class.st} (51%) create mode 100644 src/SmartTestDataOutsideP1/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class.st rename src/{SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class/README.md => SmartTestDataOutsideP1/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class.st} (51%) rename src/{SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class/README.md => SmartTestDataOutsideP1/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.class.st} (60%) rename src/{SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.class/README.md => SmartTestDataOutsideP1/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class.st} (61%) rename src/{SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.class/README.md => SmartTestDataOutsideP1/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.class.st} (64%) rename src/{SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/README.md => SmartTestDataOutsideP1/SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod.class.st} (68%) create mode 100644 src/SmartTestDataOutsideP1/SmTClassTestP1.class.st rename src/{SmartTestDataOutsideP1.package/SmTExtensionP1.class/README.md => SmartTestDataOutsideP1/SmTExtensionP1.class.st} (61%) create mode 100644 src/SmartTestDataOutsideP1/SmTExtensionP2Test.extension.st create mode 100644 src/SmartTestDataOutsideP1/SmTExtensionP3.extension.st create mode 100644 src/SmartTestDataOutsideP1/SmTP1ClassTestAbstractTestCase.class.st rename src/{SmartTestDataOutsideP1.package/SmTP1ClassTestFirstLevelSendersInsideWithRefInMethod.class/README.md => SmartTestDataOutsideP1/SmTP1ClassTestFirstLevelSendersInsideWithRefInMethod.class.st} (66%) rename src/{SmartTestDataOutsideP1.package/SmTP1ClassTestSubClassDoesntRedefineMethod.class/README.md => SmartTestDataOutsideP1/SmTP1ClassTestSubClassDoesntRedefineMethod.class.st} (68%) rename src/{SmartTestDataOutsideP1.package/SmTP1ClassTestSubclassRedefinesMethod.class/README.md => SmartTestDataOutsideP1/SmTP1ClassTestSubclassRedefinesMethod.class.st} (55%) rename src/{SmartTestDataOutsideP1.package/SmTP1Inheritance.class/README.md => SmartTestDataOutsideP1/SmTP1Inheritance.class.st} (70%) create mode 100644 src/SmartTestDataOutsideP1/SmTP1InheritanceSubClass1Test.class.st create mode 100644 src/SmartTestDataOutsideP1/SmTP1InheritanceSubClass2Test.class.st create mode 100644 src/SmartTestDataOutsideP1/SmTP1InheritanceTest.class.st create mode 100644 src/SmartTestDataOutsideP1/package.st delete mode 100644 src/SmartTestDataOutsideP2.package/.filetree delete mode 100644 src/SmartTestDataOutsideP2.package/SmTClassModificationOnClassOutsidePackageWithRefTest.class/instance/testRefToSmTClassModificationOnClassOutsidePackageWithRef.st delete mode 100644 src/SmartTestDataOutsideP2.package/SmTClassModificationOnClassOutsidePackageWithRefTest.class/properties.json delete mode 100644 src/SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackageTest.class/README.md delete mode 100644 src/SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackageTest.class/instance/testModificationOnVariableOutsidePackage.st delete mode 100644 src/SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackageTest.class/properties.json delete mode 100644 src/SmartTestDataOutsideP2.package/SmTClassP2.class/README.md delete mode 100644 src/SmartTestDataOutsideP2.package/SmTClassP2.class/instance/method2SecondLevelSendersOutsidePackageWithTestInside.st delete mode 100644 src/SmartTestDataOutsideP2.package/SmTClassP2.class/instance/method2SecondLevelSendersOutsidePackageWithTestOutside.st delete mode 100644 src/SmartTestDataOutsideP2.package/SmTClassP2.class/properties.json delete mode 100644 src/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/README.md delete mode 100644 src/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/instance/referenceToSmTClassP1FirstLevelSendersOutsideWithRefInPackage.st delete mode 100644 src/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/instance/referenceToSmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.st delete mode 100644 src/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/instance/referenceToSmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.st delete mode 100644 src/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/properties.json delete mode 100644 src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/instance/method2SecondLevelSendersOutsideTestInsideWithRefInClass.st delete mode 100644 src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/instance/refToSmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.st delete mode 100644 src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/properties.json delete mode 100644 src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInMethod.class/instance/method2SecondLevelSendersOutsideTestInsideWithRefInMethod.st delete mode 100644 src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInMethod.class/properties.json delete mode 100644 src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage.class/instance/method2SecondLevelSendersOutsideTestInsideWithRefInPackage.st delete mode 100644 src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage.class/properties.json delete mode 100644 src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/instance/method2SecondLevelSendersOutsideTestOutsideWithRefInMethod.st delete mode 100644 src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/properties.json delete mode 100644 src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/README.md delete mode 100644 src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/referenceToSmTClassP1FirstLevelSendersOutsideWithRefInClass.st delete mode 100644 src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/referenceToSmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.st delete mode 100644 src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testExtensionMethod1FirstLevelSendersOutside.st delete mode 100644 src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod1FirstLevelSendersOutsidePackage.st delete mode 100644 src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod1FirstLevelSendersOutsideWithRefInClass.st delete mode 100644 src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod1FirstLevelSendersOutsideWithRefInMethod.st delete mode 100644 src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod1FirstLevelSendersOutsideWithRefInPackage.st delete mode 100644 src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInClass.st delete mode 100644 src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInMethod.st delete mode 100644 src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInPackage.st delete mode 100644 src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod2SecondLevelSendersInsidePackageWithTestOutside.st delete mode 100644 src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod2SecondLevelSendersOutsidePackageWithTestOutside.st delete mode 100644 src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/properties.json delete mode 100644 src/SmartTestDataOutsideP2.package/SmTExtensionP2Test.class/README.md delete mode 100644 src/SmartTestDataOutsideP2.package/SmTExtensionP2Test.class/properties.json delete mode 100644 src/SmartTestDataOutsideP2.package/monticello.meta/categories.st delete mode 100644 src/SmartTestDataOutsideP2.package/monticello.meta/initializers.st delete mode 100644 src/SmartTestDataOutsideP2.package/monticello.meta/package delete mode 100644 src/SmartTestDataOutsideP2.package/properties.json rename src/{SmartTestDataOutsideP2.package/SmTClassModificationOnClassOutsidePackageWithRefTest.class/README.md => SmartTestDataOutsideP2/SmTClassModificationOnClassOutsidePackageWithRefTest.class.st} (56%) create mode 100644 src/SmartTestDataOutsideP2/SmTClassP1ModificationOnVariableOutsidePackageTest.class.st create mode 100644 src/SmartTestDataOutsideP2/SmTClassP2.class.st create mode 100644 src/SmartTestDataOutsideP2/SmTClassP2ReferencesInPackage.class.st rename src/{SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/README.md => SmartTestDataOutsideP2/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class.st} (54%) rename src/{SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInMethod.class/README.md => SmartTestDataOutsideP2/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInMethod.class.st} (67%) rename src/{SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage.class/README.md => SmartTestDataOutsideP2/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage.class.st} (67%) rename src/{SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefInMethod.class/README.md => SmartTestDataOutsideP2/SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefInMethod.class.st} (68%) create mode 100644 src/SmartTestDataOutsideP2/SmTClassTestP2Test.class.st create mode 100644 src/SmartTestDataOutsideP2/SmTExtensionP2Test.class.st create mode 100644 src/SmartTestDataOutsideP2/package.st delete mode 100644 src/SmartTestDataOutsideP3.package/.filetree delete mode 100644 src/SmartTestDataOutsideP3.package/SmTClassTestP3.class/instance/testExtensionMethod2SecondLevelSenders.st delete mode 100644 src/SmartTestDataOutsideP3.package/SmTClassTestP3.class/instance/testMethod1ExtensionTestInside.st delete mode 100644 src/SmartTestDataOutsideP3.package/SmTClassTestP3.class/properties.json delete mode 100644 src/SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRef.class/properties.json delete mode 100644 src/SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefInMethod.class/instance/testMethod2SecondLevelSenderOutsideTestOutsideWithRefInMethod.st delete mode 100644 src/SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefInMethod.class/properties.json delete mode 100644 src/SmartTestDataOutsideP3.package/SmTExtensionP3.class/README.md delete mode 100644 src/SmartTestDataOutsideP3.package/SmTExtensionP3.class/properties.json delete mode 100644 src/SmartTestDataOutsideP3.package/SmTExtensionP4.extension/instance/extensionMethodP4.st delete mode 100644 src/SmartTestDataOutsideP3.package/SmTExtensionP4.extension/properties.json delete mode 100644 src/SmartTestDataOutsideP3.package/monticello.meta/categories.st delete mode 100644 src/SmartTestDataOutsideP3.package/monticello.meta/initializers.st delete mode 100644 src/SmartTestDataOutsideP3.package/monticello.meta/package delete mode 100644 src/SmartTestDataOutsideP3.package/properties.json rename src/{SmartTestDataOutsideP3.package/SmTClassTestP3.class/README.md => SmartTestDataOutsideP3/SmTClassTestP3.class.st} (63%) rename src/{SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRef.class/README.md => SmartTestDataOutsideP3/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRef.class.st} (83%) rename src/{SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/README.md => SmartTestDataOutsideP3/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefInMethod.class.st} (62%) create mode 100644 src/SmartTestDataOutsideP3/SmTExtensionP3.class.st create mode 100644 src/SmartTestDataOutsideP3/SmTExtensionP4.extension.st create mode 100644 src/SmartTestDataOutsideP3/package.st delete mode 100644 src/SmartTestDataOutsideP4.package/.filetree delete mode 100644 src/SmartTestDataOutsideP4.package/SmTExtensionP4.class/README.md delete mode 100644 src/SmartTestDataOutsideP4.package/SmTExtensionP4.class/instance/method1ExtensionTestInside.st delete mode 100644 src/SmartTestDataOutsideP4.package/SmTExtensionP4.class/properties.json delete mode 100644 src/SmartTestDataOutsideP4.package/monticello.meta/categories.st delete mode 100644 src/SmartTestDataOutsideP4.package/monticello.meta/initializers.st delete mode 100644 src/SmartTestDataOutsideP4.package/monticello.meta/package delete mode 100644 src/SmartTestDataOutsideP4.package/properties.json create mode 100644 src/SmartTestDataOutsideP4/SmTExtensionP4.class.st create mode 100644 src/SmartTestDataOutsideP4/package.st diff --git a/src/.properties b/src/.properties index c2bedd4..4e21084 100644 --- a/src/.properties +++ b/src/.properties @@ -1,3 +1,4 @@ { - #format : #filetree + #format : #tonel +}e } \ No newline at end of file diff --git a/src/BaselineOfSmartTest.package/.filetree b/src/BaselineOfSmartTest.package/.filetree deleted file mode 100644 index 57a6797..0000000 --- a/src/BaselineOfSmartTest.package/.filetree +++ /dev/null @@ -1,5 +0,0 @@ -{ - "separateMethodMetaAndSource" : false, - "noMethodMetaData" : true, - "useCypressPropertiesFile" : true -} \ No newline at end of file diff --git a/src/BaselineOfSmartTest.package/BaselineOfSmartTest.class/README.md b/src/BaselineOfSmartTest.package/BaselineOfSmartTest.class/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/src/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/baseline..st b/src/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/baseline..st deleted file mode 100644 index de5050b..0000000 --- a/src/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/baseline..st +++ /dev/null @@ -1,8 +0,0 @@ -baselines -baseline: spec - - spec - for: #common - do: [ self defineDependencies: spec. - self definePackages: spec. - self defineGroups: spec] \ No newline at end of file diff --git a/src/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/defineDependencies..st b/src/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/defineDependencies..st deleted file mode 100644 index 6911781..0000000 --- a/src/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/defineDependencies..st +++ /dev/null @@ -1,2 +0,0 @@ -baselines -defineDependencies: spec \ No newline at end of file diff --git a/src/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/defineGroups..st b/src/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/defineGroups..st deleted file mode 100644 index 45516d6..0000000 --- a/src/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/defineGroups..st +++ /dev/null @@ -1,5 +0,0 @@ -baselines -defineGroups: spec - spec group: 'default' with: #('SmartTest' 'SmartTest-UI'); - group: 'test' with: #('SmartTest-Tests'); - group: 'all' with: #('default' 'test') \ No newline at end of file diff --git a/src/BaselineOfSmartTest.package/BaselineOfSmartTest.class/properties.json b/src/BaselineOfSmartTest.package/BaselineOfSmartTest.class/properties.json deleted file mode 100644 index 648af49..0000000 --- a/src/BaselineOfSmartTest.package/BaselineOfSmartTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "BaselineOf", - "category" : "BaselineOfSmartTest", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "BaselineOfSmartTest", - "type" : "normal" -} \ No newline at end of file diff --git a/src/BaselineOfSmartTest.package/monticello.meta/categories.st b/src/BaselineOfSmartTest.package/monticello.meta/categories.st deleted file mode 100644 index 46a00e8..0000000 --- a/src/BaselineOfSmartTest.package/monticello.meta/categories.st +++ /dev/null @@ -1 +0,0 @@ -SystemOrganization addCategory: #BaselineOfSmartTest! diff --git a/src/BaselineOfSmartTest.package/monticello.meta/initializers.st b/src/BaselineOfSmartTest.package/monticello.meta/initializers.st deleted file mode 100644 index e69de29..0000000 diff --git a/src/BaselineOfSmartTest.package/monticello.meta/package b/src/BaselineOfSmartTest.package/monticello.meta/package deleted file mode 100644 index f0d1a18..0000000 --- a/src/BaselineOfSmartTest.package/monticello.meta/package +++ /dev/null @@ -1 +0,0 @@ -(name 'BaselineOfSmartTest') \ No newline at end of file diff --git a/src/BaselineOfSmartTest.package/properties.json b/src/BaselineOfSmartTest.package/properties.json deleted file mode 100644 index 6f31cf5..0000000 --- a/src/BaselineOfSmartTest.package/properties.json +++ /dev/null @@ -1 +0,0 @@ -{ } \ No newline at end of file diff --git a/src/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/definePackages..st b/src/BaselineOfSmartTest/BaselineOfSmartTest.class.st similarity index 52% rename from src/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/definePackages..st rename to src/BaselineOfSmartTest/BaselineOfSmartTest.class.st index ebc8fd6..3459806 100644 --- a/src/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/definePackages..st +++ b/src/BaselineOfSmartTest/BaselineOfSmartTest.class.st @@ -1,5 +1,32 @@ -baselines -definePackages: spec +Class { + #name : #BaselineOfSmartTest, + #superclass : #BaselineOf, + #category : 'BaselineOfSmartTest' +} + +{ #category : #baselines } +BaselineOfSmartTest >> baseline: spec [ + + spec + for: #common + do: [ self defineDependencies: spec. + self definePackages: spec. + self defineGroups: spec] +] + +{ #category : #baselines } +BaselineOfSmartTest >> defineDependencies: spec [ +] + +{ #category : #baselines } +BaselineOfSmartTest >> defineGroups: spec [ + spec group: 'default' with: #('SmartTest' 'SmartTest-UI'); + group: 'test' with: #('SmartTest-Tests'); + group: 'all' with: #('default' 'test') +] + +{ #category : #baselines } +BaselineOfSmartTest >> definePackages: spec [ spec repository: 'github://badetitou/SmartTest'; package: 'SmartTest' with: [ spec requires: #('SmartTest-UI') ]; @@ -9,4 +36,5 @@ definePackages: spec package: 'SmartTestDataOutsideP3' with: [ spec requires: #('SmartTest' 'SmartTestDataOutsideP4') ]; package: 'SmartTestDataOutsideP4' with: [ spec requires: #('SmartTest') ]; package: 'SmartTest-Tests-Data' with: [ spec requires: #('SmartTest') ]; - package: 'SmartTest-UI' \ No newline at end of file + package: 'SmartTest-UI' +] diff --git a/src/BaselineOfSmartTest/package.st b/src/BaselineOfSmartTest/package.st new file mode 100644 index 0000000..68f1cef --- /dev/null +++ b/src/BaselineOfSmartTest/package.st @@ -0,0 +1 @@ +Package { #name : #BaselineOfSmartTest } diff --git a/src/ConfigurationOfSmartTest.package/.filetree b/src/ConfigurationOfSmartTest.package/.filetree deleted file mode 100644 index 57a6797..0000000 --- a/src/ConfigurationOfSmartTest.package/.filetree +++ /dev/null @@ -1,5 +0,0 @@ -{ - "separateMethodMetaAndSource" : false, - "noMethodMetaData" : true, - "useCypressPropertiesFile" : true -} \ No newline at end of file diff --git a/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/README.md b/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/DevelopmentSupport.st b/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/DevelopmentSupport.st deleted file mode 100644 index c173702..0000000 --- a/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/DevelopmentSupport.st +++ /dev/null @@ -1,4 +0,0 @@ -development support -DevelopmentSupport - - \ No newline at end of file diff --git a/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/baseConfigurationClassIfAbsent..st b/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/baseConfigurationClassIfAbsent..st deleted file mode 100644 index c134fad..0000000 --- a/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/baseConfigurationClassIfAbsent..st +++ /dev/null @@ -1,6 +0,0 @@ -development support -baseConfigurationClassIfAbsent: arg1 - ^ Smalltalk - at: #ConfigurationOf - ifAbsent: [ self ensureMetacelloBaseConfiguration. - Smalltalk at: #ConfigurationOf ifAbsent: arg1 ] \ No newline at end of file diff --git a/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/ensureMetacello.st b/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/ensureMetacello.st deleted file mode 100644 index 555d700..0000000 --- a/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/ensureMetacello.st +++ /dev/null @@ -1,3 +0,0 @@ -development support -ensureMetacello - (self baseConfigurationClassIfAbsent: [ ]) ensureMetacello \ No newline at end of file diff --git a/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/ensureMetacelloBaseConfiguration.st b/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/ensureMetacelloBaseConfiguration.st deleted file mode 100644 index d28fdb0..0000000 --- a/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/ensureMetacelloBaseConfiguration.st +++ /dev/null @@ -1,15 +0,0 @@ -development support -ensureMetacelloBaseConfiguration - Smalltalk - at: #ConfigurationOf - ifAbsent: [ | tmp2 tmp3 | - tmp2 := MCHttpRepository - location: 'http://smalltalkhub.com/mc/dkh/metacello/main' - user: '' - password: ''. - tmp2 - versionReaderForFileNamed: 'Metacello-Base-dkh.107' - do: [ :arg1 | - tmp3 := arg1 version. - tmp3 load. - tmp3 workingCopy repositoryGroup addRepository: tmp2 ] ] \ No newline at end of file diff --git a/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/isMetacelloConfig.st b/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/isMetacelloConfig.st deleted file mode 100644 index 93594e3..0000000 --- a/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/isMetacelloConfig.st +++ /dev/null @@ -1,3 +0,0 @@ -development support -isMetacelloConfig - ^ true \ No newline at end of file diff --git a/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/load.st b/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/load.st deleted file mode 100644 index 063bcbf..0000000 --- a/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/load.st +++ /dev/null @@ -1,4 +0,0 @@ -development support -load - - ^ (self project version: #stable) load \ No newline at end of file diff --git a/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/loadBleedingEdge.st b/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/loadBleedingEdge.st deleted file mode 100644 index 71f048c..0000000 --- a/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/loadBleedingEdge.st +++ /dev/null @@ -1,4 +0,0 @@ -development support -loadBleedingEdge - - ^ (self project version: #bleedingEdge) load \ No newline at end of file diff --git a/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/loadDevelopment.st b/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/loadDevelopment.st deleted file mode 100644 index 1def28e..0000000 --- a/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/loadDevelopment.st +++ /dev/null @@ -1,4 +0,0 @@ -development support -loadDevelopment - - ^ (self project version: #development) load \ No newline at end of file diff --git a/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/project.st b/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/project.st deleted file mode 100644 index 956fddd..0000000 --- a/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/project.st +++ /dev/null @@ -1,3 +0,0 @@ -development support -project - ^ self new project \ No newline at end of file diff --git a/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/validate.st b/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/validate.st deleted file mode 100644 index 8946906..0000000 --- a/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/validate.st +++ /dev/null @@ -1,8 +0,0 @@ -development support -validate - - self ensureMetacello. - ^ ((Smalltalk at: #MetacelloToolBox) - validateConfiguration: self - debug: #() - recurse: false) explore \ No newline at end of file diff --git a/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/instance/customProjectAttributes.st b/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/instance/customProjectAttributes.st deleted file mode 100644 index 15665cb..0000000 --- a/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/instance/customProjectAttributes.st +++ /dev/null @@ -1,3 +0,0 @@ -symbolic versions -customProjectAttributes - ^ #(). \ No newline at end of file diff --git a/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/instance/dev01..st b/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/instance/dev01..st deleted file mode 100644 index 6ea88fb..0000000 --- a/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/instance/dev01..st +++ /dev/null @@ -1,10 +0,0 @@ -symbolic versions -dev01: spec - - - spec for: #'common' do: [ - spec - baseline: 'SmartTest' - with: [ - spec - repository: 'github://badetitou/SmartTest' ] ]. \ No newline at end of file diff --git a/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/instance/development..st b/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/instance/development..st deleted file mode 100644 index e040d13..0000000 --- a/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/instance/development..st +++ /dev/null @@ -1,5 +0,0 @@ -symbolic versions -development: spec - - - spec for: #'common' version: 'dev-01'. \ No newline at end of file diff --git a/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/instance/master..st b/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/instance/master..st deleted file mode 100644 index 377c2c2..0000000 --- a/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/instance/master..st +++ /dev/null @@ -1,8 +0,0 @@ -symbolic versions -master: spec - - - spec for: #'common' do: [ - spec - baseline: 'SmartTest' - with: [ spec repository: 'github://badetitou/SmartTest:master' ] ] \ No newline at end of file diff --git a/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/instance/project.st b/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/instance/project.st deleted file mode 100644 index ca8cbc3..0000000 --- a/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/instance/project.st +++ /dev/null @@ -1,14 +0,0 @@ -symbolic versions -project - | tmp1 | - tmp1 := project. - ^ tmp1 - ifNil: [ self class ensureMetacello. - project := MetacelloMCProject new - projectAttributes: self customProjectAttributes. - (Smalltalk at: #MetacelloVersionConstructor) - on: self - project: project. - project loadType: #linear. - project ] - ifNotNil: [ tmp1 ] \ No newline at end of file diff --git a/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/instance/stable..st b/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/instance/stable..st deleted file mode 100644 index d77b1be..0000000 --- a/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/instance/stable..st +++ /dev/null @@ -1,5 +0,0 @@ -symbolic versions -stable: spec - - - spec for: #'common' version: 'master'. \ No newline at end of file diff --git a/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/properties.json b/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/properties.json deleted file mode 100644 index 8ecfb73..0000000 --- a/src/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/properties.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "commentStamp" : "", - "super" : "Object", - "category" : "ConfigurationOfSmartTest", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ - "LastVersionLoad" - ], - "instvars" : [ - "project" - ], - "name" : "ConfigurationOfSmartTest", - "type" : "normal" -} \ No newline at end of file diff --git a/src/ConfigurationOfSmartTest.package/monticello.meta/categories.st b/src/ConfigurationOfSmartTest.package/monticello.meta/categories.st deleted file mode 100644 index 008c229..0000000 --- a/src/ConfigurationOfSmartTest.package/monticello.meta/categories.st +++ /dev/null @@ -1 +0,0 @@ -SystemOrganization addCategory: #ConfigurationOfSmartTest! diff --git a/src/ConfigurationOfSmartTest.package/monticello.meta/initializers.st b/src/ConfigurationOfSmartTest.package/monticello.meta/initializers.st deleted file mode 100644 index e69de29..0000000 diff --git a/src/ConfigurationOfSmartTest.package/monticello.meta/package b/src/ConfigurationOfSmartTest.package/monticello.meta/package deleted file mode 100644 index 0f3d1fa..0000000 --- a/src/ConfigurationOfSmartTest.package/monticello.meta/package +++ /dev/null @@ -1 +0,0 @@ -(name 'ConfigurationOfSmartTest') \ No newline at end of file diff --git a/src/ConfigurationOfSmartTest.package/properties.json b/src/ConfigurationOfSmartTest.package/properties.json deleted file mode 100644 index 6f31cf5..0000000 --- a/src/ConfigurationOfSmartTest.package/properties.json +++ /dev/null @@ -1 +0,0 @@ -{ } \ No newline at end of file diff --git a/src/ConfigurationOfSmartTest/ConfigurationOfSmartTest.class.st b/src/ConfigurationOfSmartTest/ConfigurationOfSmartTest.class.st new file mode 100644 index 0000000..10cd252 --- /dev/null +++ b/src/ConfigurationOfSmartTest/ConfigurationOfSmartTest.class.st @@ -0,0 +1,142 @@ +Class { + #name : #ConfigurationOfSmartTest, + #superclass : #Object, + #instVars : [ + 'project' + ], + #classVars : [ + 'LastVersionLoad' + ], + #category : 'ConfigurationOfSmartTest' +} + +{ #category : #'development support' } +ConfigurationOfSmartTest class >> DevelopmentSupport [ + + +] + +{ #category : #'development support' } +ConfigurationOfSmartTest class >> baseConfigurationClassIfAbsent: arg1 [ + ^ Smalltalk + at: #ConfigurationOf + ifAbsent: [ self ensureMetacelloBaseConfiguration. + Smalltalk at: #ConfigurationOf ifAbsent: arg1 ] +] + +{ #category : #'development support' } +ConfigurationOfSmartTest class >> ensureMetacello [ + (self baseConfigurationClassIfAbsent: [ ]) ensureMetacello +] + +{ #category : #'development support' } +ConfigurationOfSmartTest class >> ensureMetacelloBaseConfiguration [ + Smalltalk + at: #ConfigurationOf + ifAbsent: [ | tmp2 tmp3 | + tmp2 := MCHttpRepository + location: 'http://smalltalkhub.com/mc/dkh/metacello/main' + user: '' + password: ''. + tmp2 + versionReaderForFileNamed: 'Metacello-Base-dkh.107' + do: [ :arg1 | + tmp3 := arg1 version. + tmp3 load. + tmp3 workingCopy repositoryGroup addRepository: tmp2 ] ] +] + +{ #category : #'development support' } +ConfigurationOfSmartTest class >> isMetacelloConfig [ + ^ true +] + +{ #category : #'development support' } +ConfigurationOfSmartTest class >> load [ + + ^ (self project version: #stable) load +] + +{ #category : #'development support' } +ConfigurationOfSmartTest class >> loadBleedingEdge [ + + ^ (self project version: #bleedingEdge) load +] + +{ #category : #'development support' } +ConfigurationOfSmartTest class >> loadDevelopment [ + + ^ (self project version: #development) load +] + +{ #category : #'development support' } +ConfigurationOfSmartTest class >> project [ + ^ self new project +] + +{ #category : #'development support' } +ConfigurationOfSmartTest class >> validate [ + + self ensureMetacello. + ^ ((Smalltalk at: #MetacelloToolBox) + validateConfiguration: self + debug: #() + recurse: false) explore +] + +{ #category : #'symbolic versions' } +ConfigurationOfSmartTest >> customProjectAttributes [ + ^ #(). +] + +{ #category : #'symbolic versions' } +ConfigurationOfSmartTest >> dev01: spec [ + + + spec for: #'common' do: [ + spec + baseline: 'SmartTest' + with: [ + spec + repository: 'github://badetitou/SmartTest' ] ]. +] + +{ #category : #'symbolic versions' } +ConfigurationOfSmartTest >> development: spec [ + + + spec for: #'common' version: 'dev-01'. +] + +{ #category : #'symbolic versions' } +ConfigurationOfSmartTest >> master: spec [ + + + spec for: #'common' do: [ + spec + baseline: 'SmartTest' + with: [ spec repository: 'github://badetitou/SmartTest:master' ] ] +] + +{ #category : #'symbolic versions' } +ConfigurationOfSmartTest >> project [ + | tmp1 | + tmp1 := project. + ^ tmp1 + ifNil: [ self class ensureMetacello. + project := MetacelloMCProject new + projectAttributes: self customProjectAttributes. + (Smalltalk at: #MetacelloVersionConstructor) + on: self + project: project. + project loadType: #linear. + project ] + ifNotNil: [ tmp1 ] +] + +{ #category : #'symbolic versions' } +ConfigurationOfSmartTest >> stable: spec [ + + + spec for: #'common' version: 'master'. +] diff --git a/src/ConfigurationOfSmartTest/package.st b/src/ConfigurationOfSmartTest/package.st new file mode 100644 index 0000000..f85c1bc --- /dev/null +++ b/src/ConfigurationOfSmartTest/package.st @@ -0,0 +1 @@ +Package { #name : #ConfigurationOfSmartTest } diff --git a/src/SmartTest-Tests-Data.package/.filetree b/src/SmartTest-Tests-Data.package/.filetree deleted file mode 100644 index 57a6797..0000000 --- a/src/SmartTest-Tests-Data.package/.filetree +++ /dev/null @@ -1,5 +0,0 @@ -{ - "separateMethodMetaAndSource" : false, - "noMethodMetaData" : true, - "useCypressPropertiesFile" : true -} \ No newline at end of file diff --git a/src/SmartTest-Tests-Data.package/SmTClass.class/README.md b/src/SmartTest-Tests-Data.package/SmTClass.class/README.md deleted file mode 100644 index 5baf143..0000000 --- a/src/SmartTest-Tests-Data.package/SmTClass.class/README.md +++ /dev/null @@ -1,4 +0,0 @@ -A class and some methods to test SmartTest. -The companion class SmTClassTest contains tests that invoke these methods - -The idea is that asking for the tests that run for example #method1, we should get SmTClassTest>>testMethod1 diff --git a/src/SmartTest-Tests-Data.package/SmTClass.class/instance/method1.st b/src/SmartTest-Tests-Data.package/SmTClass.class/instance/method1.st deleted file mode 100644 index a48bad8..0000000 --- a/src/SmartTest-Tests-Data.package/SmTClass.class/instance/method1.st +++ /dev/null @@ -1,5 +0,0 @@ -test data -method1 - "this is data for SmTFinderAbstractTest tests" - ^ instVar1 - \ No newline at end of file diff --git a/src/SmartTest-Tests-Data.package/SmTClass.class/instance/method2.st b/src/SmartTest-Tests-Data.package/SmTClass.class/instance/method2.st deleted file mode 100644 index 812f754..0000000 --- a/src/SmartTest-Tests-Data.package/SmTClass.class/instance/method2.st +++ /dev/null @@ -1,4 +0,0 @@ -test data -method2 - "this is data for SmTFinderAbstractTest tests" - self method3: self method1 \ No newline at end of file diff --git a/src/SmartTest-Tests-Data.package/SmTClass.class/instance/method3..st b/src/SmartTest-Tests-Data.package/SmTClass.class/instance/method3..st deleted file mode 100644 index cc6e3ff..0000000 --- a/src/SmartTest-Tests-Data.package/SmTClass.class/instance/method3..st +++ /dev/null @@ -1,5 +0,0 @@ -test data -method3: anObject - "this is data for SmTFinderAbstractTest tests" - instVar2 := anObject. - self method4 \ No newline at end of file diff --git a/src/SmartTest-Tests-Data.package/SmTClass.class/instance/method4.st b/src/SmartTest-Tests-Data.package/SmTClass.class/instance/method4.st deleted file mode 100644 index 3e07236..0000000 --- a/src/SmartTest-Tests-Data.package/SmTClass.class/instance/method4.st +++ /dev/null @@ -1,4 +0,0 @@ -test data -method4 - "this is data for SmTFinderAbstractTest tests" - ^ instVar2 \ No newline at end of file diff --git a/src/SmartTest-Tests-Data.package/SmTClass.class/properties.json b/src/SmartTest-Tests-Data.package/SmTClass.class/properties.json deleted file mode 100644 index bed4fca..0000000 --- a/src/SmartTest-Tests-Data.package/SmTClass.class/properties.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "commentStamp" : "NicolasAnquetil 3/5/2018 09:45", - "super" : "Object", - "category" : "SmartTest-Tests-Data", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "instVar1", - "instVar2" - ], - "name" : "SmTClass", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest-Tests-Data.package/SmTClass2.class/instance/initialize.st b/src/SmartTest-Tests-Data.package/SmTClass2.class/instance/initialize.st deleted file mode 100644 index 890d8b1..0000000 --- a/src/SmartTest-Tests-Data.package/SmTClass2.class/instance/initialize.st +++ /dev/null @@ -1,3 +0,0 @@ -initialization -initialize - instVar1 := nil. \ No newline at end of file diff --git a/src/SmartTest-Tests-Data.package/SmTClass2.class/properties.json b/src/SmartTest-Tests-Data.package/SmTClass2.class/properties.json deleted file mode 100644 index ed5bd03..0000000 --- a/src/SmartTest-Tests-Data.package/SmTClass2.class/properties.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/2/2018 10:23", - "super" : "Object", - "category" : "SmartTest-Tests-Data", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "instVar1", - "instVar2" - ], - "name" : "SmTClass2", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest-Tests-Data.package/SmTClassTest.class/README.md b/src/SmartTest-Tests-Data.package/SmTClassTest.class/README.md deleted file mode 100644 index b42ebde..0000000 --- a/src/SmartTest-Tests-Data.package/SmTClassTest.class/README.md +++ /dev/null @@ -1,3 +0,0 @@ -Companion class of SmTClass totest SmartTest. - -Each test here exercise a method of SmTClass diff --git a/src/SmartTest-Tests-Data.package/SmTClassTest.class/instance/setUp.st b/src/SmartTest-Tests-Data.package/SmTClassTest.class/instance/setUp.st deleted file mode 100644 index 9ab9032..0000000 --- a/src/SmartTest-Tests-Data.package/SmTClassTest.class/instance/setUp.st +++ /dev/null @@ -1,3 +0,0 @@ -test data -setUp - "this is data for SmTFinderAbstractTest tests" \ No newline at end of file diff --git a/src/SmartTest-Tests-Data.package/SmTClassTest.class/instance/tearDown.st b/src/SmartTest-Tests-Data.package/SmTClassTest.class/instance/tearDown.st deleted file mode 100644 index 1dba8c5..0000000 --- a/src/SmartTest-Tests-Data.package/SmTClassTest.class/instance/tearDown.st +++ /dev/null @@ -1,3 +0,0 @@ -test data -tearDown - "this is data for SmTFinderAbstractTest tests" \ No newline at end of file diff --git a/src/SmartTest-Tests-Data.package/SmTClassTest.class/instance/testMethod1.st b/src/SmartTest-Tests-Data.package/SmTClassTest.class/instance/testMethod1.st deleted file mode 100644 index 84bc2a3..0000000 --- a/src/SmartTest-Tests-Data.package/SmTClassTest.class/instance/testMethod1.st +++ /dev/null @@ -1,5 +0,0 @@ -test data -testMethod1 - "this is data for SmTFinderAbstractTest tests" - ^ SmTClass new method1 - \ No newline at end of file diff --git a/src/SmartTest-Tests-Data.package/SmTClassTest.class/instance/testMethod2.st b/src/SmartTest-Tests-Data.package/SmTClassTest.class/instance/testMethod2.st deleted file mode 100644 index b1f5e80..0000000 --- a/src/SmartTest-Tests-Data.package/SmTClassTest.class/instance/testMethod2.st +++ /dev/null @@ -1,5 +0,0 @@ -test data -testMethod2 - "this is data for SmTFinderAbstractTest tests" - ^ SmTClass new method2 - \ No newline at end of file diff --git a/src/SmartTest-Tests-Data.package/SmTClassTest.class/instance/testMethod3.st b/src/SmartTest-Tests-Data.package/SmTClassTest.class/instance/testMethod3.st deleted file mode 100644 index a02530f..0000000 --- a/src/SmartTest-Tests-Data.package/SmTClassTest.class/instance/testMethod3.st +++ /dev/null @@ -1,5 +0,0 @@ -test data -testMethod3 - "this is data for SmTFinderAbstractTest tests" - ^ SmTClass new method3: 3. - \ No newline at end of file diff --git a/src/SmartTest-Tests-Data.package/SmTClassTest.class/instance/testMethod4.st b/src/SmartTest-Tests-Data.package/SmTClassTest.class/instance/testMethod4.st deleted file mode 100644 index 821c31c..0000000 --- a/src/SmartTest-Tests-Data.package/SmTClassTest.class/instance/testMethod4.st +++ /dev/null @@ -1,5 +0,0 @@ -test data -testMethod4 - "this is data for SmTFinderAbstractTest tests" - ^ SmTClass new method4 - \ No newline at end of file diff --git a/src/SmartTest-Tests-Data.package/SmTClassTest.class/instance/testMethod5.st b/src/SmartTest-Tests-Data.package/SmTClassTest.class/instance/testMethod5.st deleted file mode 100644 index 397ba21..0000000 --- a/src/SmartTest-Tests-Data.package/SmTClassTest.class/instance/testMethod5.st +++ /dev/null @@ -1,3 +0,0 @@ -test data -testMethod5 - ^ SmTClass2 new. \ No newline at end of file diff --git a/src/SmartTest-Tests-Data.package/SmTClassTest.class/properties.json b/src/SmartTest-Tests-Data.package/SmTClassTest.class/properties.json deleted file mode 100644 index 479e4b8..0000000 --- a/src/SmartTest-Tests-Data.package/SmTClassTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "NicolasAnquetil 3/5/2018 09:45", - "super" : "TestCase", - "category" : "SmartTest-Tests-Data", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTClassTest", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest-Tests-Data.package/SmTInheritClassTest.class/README.md b/src/SmartTest-Tests-Data.package/SmTInheritClassTest.class/README.md deleted file mode 100644 index 30d6df7..0000000 --- a/src/SmartTest-Tests-Data.package/SmTInheritClassTest.class/README.md +++ /dev/null @@ -1,2 +0,0 @@ -A test to test if SmartTest works with inherited tests. -This is the concrete class that executes the tests of its superclass \ No newline at end of file diff --git a/src/SmartTest-Tests-Data.package/SmTInheritClassTest.class/instance/setUp.st b/src/SmartTest-Tests-Data.package/SmTInheritClassTest.class/instance/setUp.st deleted file mode 100644 index fca3dac..0000000 --- a/src/SmartTest-Tests-Data.package/SmTInheritClassTest.class/instance/setUp.st +++ /dev/null @@ -1,3 +0,0 @@ -initialization -setUp - smTtestClass := SmTClass new \ No newline at end of file diff --git a/src/SmartTest-Tests-Data.package/SmTInheritClassTest.class/properties.json b/src/SmartTest-Tests-Data.package/SmTInheritClassTest.class/properties.json deleted file mode 100644 index e2786d2..0000000 --- a/src/SmartTest-Tests-Data.package/SmTInheritClassTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/2/2018 14:04", - "super" : "SmTSuperClassTest", - "category" : "SmartTest-Tests-Data", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTInheritClassTest", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest-Tests-Data.package/SmTSuperClassTest.class/README.md b/src/SmartTest-Tests-Data.package/SmTSuperClassTest.class/README.md deleted file mode 100644 index 0bd34da..0000000 --- a/src/SmartTest-Tests-Data.package/SmTSuperClassTest.class/README.md +++ /dev/null @@ -1,2 +0,0 @@ -A test to test if SmartTest works with inherited tests. -This is an abstract class that is never really executed diff --git a/src/SmartTest-Tests-Data.package/SmTSuperClassTest.class/class/isAbstract.st b/src/SmartTest-Tests-Data.package/SmTSuperClassTest.class/class/isAbstract.st deleted file mode 100644 index 2abee4c..0000000 --- a/src/SmartTest-Tests-Data.package/SmTSuperClassTest.class/class/isAbstract.st +++ /dev/null @@ -1,4 +0,0 @@ -testing -isAbstract - - ^ self == SmTSuperClassTest \ No newline at end of file diff --git a/src/SmartTest-Tests-Data.package/SmTSuperClassTest.class/instance/testMethod1.st b/src/SmartTest-Tests-Data.package/SmTSuperClassTest.class/instance/testMethod1.st deleted file mode 100644 index 75af50c..0000000 --- a/src/SmartTest-Tests-Data.package/SmTSuperClassTest.class/instance/testMethod1.st +++ /dev/null @@ -1,4 +0,0 @@ -tests -testMethod1 - ^ smTtestClass method1 - \ No newline at end of file diff --git a/src/SmartTest-Tests-Data.package/SmTSuperClassTest.class/properties.json b/src/SmartTest-Tests-Data.package/SmTSuperClassTest.class/properties.json deleted file mode 100644 index e389482..0000000 --- a/src/SmartTest-Tests-Data.package/SmTSuperClassTest.class/properties.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/2/2018 14:04", - "super" : "TestCase", - "category" : "SmartTest-Tests-Data", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "smTtestClass" - ], - "name" : "SmTSuperClassTest", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest-Tests-Data.package/monticello.meta/categories.st b/src/SmartTest-Tests-Data.package/monticello.meta/categories.st deleted file mode 100644 index fbb2915..0000000 --- a/src/SmartTest-Tests-Data.package/monticello.meta/categories.st +++ /dev/null @@ -1 +0,0 @@ -SystemOrganization addCategory: #'SmartTest-Tests-Data'! diff --git a/src/SmartTest-Tests-Data.package/monticello.meta/initializers.st b/src/SmartTest-Tests-Data.package/monticello.meta/initializers.st deleted file mode 100644 index e69de29..0000000 diff --git a/src/SmartTest-Tests-Data.package/monticello.meta/package b/src/SmartTest-Tests-Data.package/monticello.meta/package deleted file mode 100644 index 750f36f..0000000 --- a/src/SmartTest-Tests-Data.package/monticello.meta/package +++ /dev/null @@ -1 +0,0 @@ -(name 'SmartTest-Tests-Data') \ No newline at end of file diff --git a/src/SmartTest-Tests-Data.package/properties.json b/src/SmartTest-Tests-Data.package/properties.json deleted file mode 100644 index 6f31cf5..0000000 --- a/src/SmartTest-Tests-Data.package/properties.json +++ /dev/null @@ -1 +0,0 @@ -{ } \ No newline at end of file diff --git a/src/SmartTest-Tests-Data/SmTClass.class.st b/src/SmartTest-Tests-Data/SmTClass.class.st new file mode 100644 index 0000000..f3481e7 --- /dev/null +++ b/src/SmartTest-Tests-Data/SmTClass.class.st @@ -0,0 +1,42 @@ +" +A class and some methods to test SmartTest. +The companion class SmTClassTest contains tests that invoke these methods + +The idea is that asking for the tests that run for example #method1, we should get SmTClassTest>>testMethod1 + +" +Class { + #name : #SmTClass, + #superclass : #Object, + #instVars : [ + 'instVar1', + 'instVar2' + ], + #category : 'SmartTest-Tests-Data' +} + +{ #category : #'test data' } +SmTClass >> method1 [ + "this is data for SmTFinderAbstractTest tests" + ^ instVar1 + +] + +{ #category : #'test data' } +SmTClass >> method2 [ + "this is data for SmTFinderAbstractTest tests" + self method3: self method1 +] + +{ #category : #'test data' } +SmTClass >> method3: anObject [ + "this is data for SmTFinderAbstractTest tests" + instVar2 := anObject. + self method4 +] + +{ #category : #'test data' } +SmTClass >> method4 [ + "this is data for SmTFinderAbstractTest tests" + ^ instVar2 +] diff --git a/src/SmartTest-Tests-Data.package/SmTClass2.class/README.md b/src/SmartTest-Tests-Data/SmTClass2.class.st similarity index 50% rename from src/SmartTest-Tests-Data.package/SmTClass2.class/README.md rename to src/SmartTest-Tests-Data/SmTClass2.class.st index 5baf143..d5dbcc3 100644 --- a/src/SmartTest-Tests-Data.package/SmTClass2.class/README.md +++ b/src/SmartTest-Tests-Data/SmTClass2.class.st @@ -1,4 +1,21 @@ +" A class and some methods to test SmartTest. The companion class SmTClassTest contains tests that invoke these methods The idea is that asking for the tests that run for example #method1, we should get SmTClassTest>>testMethod1 + +" +Class { + #name : #SmTClass2, + #superclass : #Object, + #instVars : [ + 'instVar1', + 'instVar2' + ], + #category : 'SmartTest-Tests-Data' +} + +{ #category : #initialization } +SmTClass2 >> initialize [ + instVar1 := nil. +] diff --git a/src/SmartTest-Tests-Data/SmTClassTest.class.st b/src/SmartTest-Tests-Data/SmTClassTest.class.st new file mode 100644 index 0000000..1177b9c --- /dev/null +++ b/src/SmartTest-Tests-Data/SmTClassTest.class.st @@ -0,0 +1,54 @@ +" +Companion class of SmTClass totest SmartTest. + +Each test here exercise a method of SmTClass + +" +Class { + #name : #SmTClassTest, + #superclass : #TestCase, + #category : 'SmartTest-Tests-Data' +} + +{ #category : #'test data' } +SmTClassTest >> setUp [ + "this is data for SmTFinderAbstractTest tests" +] + +{ #category : #'test data' } +SmTClassTest >> tearDown [ + "this is data for SmTFinderAbstractTest tests" +] + +{ #category : #'test data' } +SmTClassTest >> testMethod1 [ + "this is data for SmTFinderAbstractTest tests" + ^ SmTClass new method1 + +] + +{ #category : #'test data' } +SmTClassTest >> testMethod2 [ + "this is data for SmTFinderAbstractTest tests" + ^ SmTClass new method2 + +] + +{ #category : #'test data' } +SmTClassTest >> testMethod3 [ + "this is data for SmTFinderAbstractTest tests" + ^ SmTClass new method3: 3. + +] + +{ #category : #'test data' } +SmTClassTest >> testMethod4 [ + "this is data for SmTFinderAbstractTest tests" + ^ SmTClass new method4 + +] + +{ #category : #'test data' } +SmTClassTest >> testMethod5 [ + ^ SmTClass2 new. +] diff --git a/src/SmartTest-Tests-Data/SmTInheritClassTest.class.st b/src/SmartTest-Tests-Data/SmTInheritClassTest.class.st new file mode 100644 index 0000000..285e49d --- /dev/null +++ b/src/SmartTest-Tests-Data/SmTInheritClassTest.class.st @@ -0,0 +1,14 @@ +" +A test to test if SmartTest works with inherited tests. +This is the concrete class that executes the tests of its superclass +" +Class { + #name : #SmTInheritClassTest, + #superclass : #SmTSuperClassTest, + #category : 'SmartTest-Tests-Data' +} + +{ #category : #initialization } +SmTInheritClassTest >> setUp [ + smTtestClass := SmTClass new +] diff --git a/src/SmartTest-Tests-Data/SmTSuperClassTest.class.st b/src/SmartTest-Tests-Data/SmTSuperClassTest.class.st new file mode 100644 index 0000000..f924ca4 --- /dev/null +++ b/src/SmartTest-Tests-Data/SmTSuperClassTest.class.st @@ -0,0 +1,25 @@ +" +A test to test if SmartTest works with inherited tests. +This is an abstract class that is never really executed + +" +Class { + #name : #SmTSuperClassTest, + #superclass : #TestCase, + #instVars : [ + 'smTtestClass' + ], + #category : 'SmartTest-Tests-Data' +} + +{ #category : #testing } +SmTSuperClassTest class >> isAbstract [ + + ^ self == SmTSuperClassTest +] + +{ #category : #tests } +SmTSuperClassTest >> testMethod1 [ + ^ smTtestClass method1 + +] diff --git a/src/SmartTest-Tests-Data/package.st b/src/SmartTest-Tests-Data/package.st new file mode 100644 index 0000000..c93b74b --- /dev/null +++ b/src/SmartTest-Tests-Data/package.st @@ -0,0 +1 @@ +Package { #name : #'SmartTest-Tests-Data' } diff --git a/src/SmartTest-Tests.package/.filetree b/src/SmartTest-Tests.package/.filetree deleted file mode 100644 index 57a6797..0000000 --- a/src/SmartTest-Tests.package/.filetree +++ /dev/null @@ -1,5 +0,0 @@ -{ - "separateMethodMetaAndSource" : false, - "noMethodMetaData" : true, - "useCypressPropertiesFile" : true -} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityNeverResetTest.class/README.md b/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityNeverResetTest.class/README.md deleted file mode 100644 index 522e130..0000000 --- a/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityNeverResetTest.class/README.md +++ /dev/null @@ -1 +0,0 @@ -These tests are here to assert that the build cache methods are correct when dealing the Reflectivity strategy and the never reset cache. \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityNeverResetTest.class/instance/cacheStrategy.st b/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityNeverResetTest.class/instance/cacheStrategy.st deleted file mode 100644 index 5b80c72..0000000 --- a/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityNeverResetTest.class/instance/cacheStrategy.st +++ /dev/null @@ -1,3 +0,0 @@ -initialization -cacheStrategy -^ SmTBasicCacheNeverResetStrategy \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityNeverResetTest.class/properties.json b/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityNeverResetTest.class/properties.json deleted file mode 100644 index d274c0f..0000000 --- a/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityNeverResetTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "eleonoreW 7/20/2018 09:27", - "super" : "SmTCacheBuilderReflectivityTest", - "category" : "SmartTest-Tests-CacheBuilder", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTCacheBuilderReflectivityNeverResetTest", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEvery5ChangesTest.class/README.md b/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEvery5ChangesTest.class/README.md deleted file mode 100644 index 58f6d2b..0000000 --- a/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEvery5ChangesTest.class/README.md +++ /dev/null @@ -1 +0,0 @@ -These tests are here to assert that the build cache methods are correct when dealing the Reflectivity strategy and the reset every 5 changes cache. \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEvery5ChangesTest.class/instance/cacheStrategy.st b/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEvery5ChangesTest.class/instance/cacheStrategy.st deleted file mode 100644 index 5b80c72..0000000 --- a/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEvery5ChangesTest.class/instance/cacheStrategy.st +++ /dev/null @@ -1,3 +0,0 @@ -initialization -cacheStrategy -^ SmTBasicCacheNeverResetStrategy \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEvery5ChangesTest.class/properties.json b/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEvery5ChangesTest.class/properties.json deleted file mode 100644 index 312ebe6..0000000 --- a/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEvery5ChangesTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "eleonoreW 7/20/2018 09:27", - "super" : "SmTCacheBuilderReflectivityTest", - "category" : "SmartTest-Tests-CacheBuilder", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTCacheBuilderReflectivityResetEvery5ChangesTest", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEveryCommitTest.class/README.md b/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEveryCommitTest.class/README.md deleted file mode 100644 index ff25e1b..0000000 --- a/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEveryCommitTest.class/README.md +++ /dev/null @@ -1 +0,0 @@ -These tests are here to assert that the build cache methods are correct when dealing the Reflectivity strategy and the reset every commit cache. \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEveryCommitTest.class/instance/cacheStrategy.st b/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEveryCommitTest.class/instance/cacheStrategy.st deleted file mode 100644 index 5b80c72..0000000 --- a/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEveryCommitTest.class/instance/cacheStrategy.st +++ /dev/null @@ -1,3 +0,0 @@ -initialization -cacheStrategy -^ SmTBasicCacheNeverResetStrategy \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEveryCommitTest.class/properties.json b/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEveryCommitTest.class/properties.json deleted file mode 100644 index 1ae013d..0000000 --- a/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEveryCommitTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "eleonoreW 7/20/2018 09:27", - "super" : "SmTCacheBuilderReflectivityTest", - "category" : "SmartTest-Tests-CacheBuilder", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTCacheBuilderReflectivityResetEveryCommitTest", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetOnDemandTest.class/README.md b/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetOnDemandTest.class/README.md deleted file mode 100644 index b6abc29..0000000 --- a/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetOnDemandTest.class/README.md +++ /dev/null @@ -1 +0,0 @@ -These tests are here to assert that the build cache methods are correct when dealing the Reflectivity strategy and the reset on demand cache. \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetOnDemandTest.class/instance/cacheStrategy.st b/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetOnDemandTest.class/instance/cacheStrategy.st deleted file mode 100644 index 3d73e2e..0000000 --- a/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetOnDemandTest.class/instance/cacheStrategy.st +++ /dev/null @@ -1,3 +0,0 @@ -initialization -cacheStrategy -^ SmTBasicCacheStrategy \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetOnDemandTest.class/properties.json b/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetOnDemandTest.class/properties.json deleted file mode 100644 index 12b2ac0..0000000 --- a/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetOnDemandTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "eleonoreW 7/20/2018 09:27", - "super" : "SmTCacheBuilderReflectivityTest", - "category" : "SmartTest-Tests-CacheBuilder", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTCacheBuilderReflectivityResetOnDemandTest", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/README.md b/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/README.md deleted file mode 100644 index 0509902..0000000 --- a/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/README.md +++ /dev/null @@ -1 +0,0 @@ -These tests are here to assert that the build cache methods are correct when dealing with different cache strategies and the Reflectivity strategy. \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/class/isAbstract.st b/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/class/isAbstract.st deleted file mode 100644 index 9df82fc..0000000 --- a/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/class/isAbstract.st +++ /dev/null @@ -1,3 +0,0 @@ -testing -isAbstract - ^ self == SmTCacheBuilderReflectivityTest \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/instance/dynamicFinder.st b/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/instance/dynamicFinder.st deleted file mode 100644 index b289608..0000000 --- a/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/instance/dynamicFinder.st +++ /dev/null @@ -1,3 +0,0 @@ -tests -dynamicFinder - ^ SmTReflectivityTestFinderStrategy new \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod1ToBuildCache.st b/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod1ToBuildCache.st deleted file mode 100644 index bb15332..0000000 --- a/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod1ToBuildCache.st +++ /dev/null @@ -1,12 +0,0 @@ -tests -testRunningTestMethod1ToBuildCache - - self assert: smartFinder currentCache isEmpty. - SmTClassTest run: #testMethod1. - "Running the test fill the cache that is then no more empty but contains only the association between SmTClass>>method1 and SmTClassTest>>testMethod1" - self assert: smartFinder currentCache isNotEmpty. - - "Not sure about the format of the dictionnary." - self - assert: (smartFinder currentCache at: ((SmTClass >> #method1) asRingDefinition )) - equals: {(SmTClassTest >> #testMethod1) asRingDefinition } asSet \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod2ToBuildCache.st b/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod2ToBuildCache.st deleted file mode 100644 index 00d8a37..0000000 --- a/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod2ToBuildCache.st +++ /dev/null @@ -1,36 +0,0 @@ -tests -testRunningTestMethod2ToBuildCache - - self assert: smartFinder currentCache isEmpty. - SmTClassTest run: #testMethod2. - self assert: smartFinder currentCache isNotEmpty. - self - assert: - (smartFinder currentCache - at: (SmTClass >> #method1 )asRingDefinition) - equals: - {(SmTClassTest >> #testMethod2 )asRingDefinition} - asSet. - - "Not sure about the format of the dictionnary." - self - assert: - (smartFinder currentCache - at: (SmTClass >> #method2 )asRingDefinition) - equals: - {(SmTClassTest >> #testMethod2 )asRingDefinition} - asSet. - self - assert: - (smartFinder currentCache - at: (SmTClass >> #method3: )asRingDefinition) - equals: - {(SmTClassTest >> #testMethod2 )asRingDefinition} - asSet. - self - assert: - (smartFinder currentCache - at: (SmTClass >> #method4 )asRingDefinition) - equals: - {(SmTClassTest >> #testMethod2 )asRingDefinition} - asSet \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod5ToBuildCache.st b/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod5ToBuildCache.st deleted file mode 100644 index a234dd1..0000000 --- a/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod5ToBuildCache.st +++ /dev/null @@ -1,11 +0,0 @@ -tests -testRunningTestMethod5ToBuildCache - "This test if SmTTestCoverage find the initialize call" - - - self assert: smartFinder currentCache isEmpty. - SmTClassTest run: #testMethod5. - "Running the test fill the cache that is then no more empty but contains only the association between SmTClass>>method1 and SmTClassTest>>testMethod1" - self assert: smartFinder currentCache isNotEmpty. - self assert: (smartFinder currentCache at: (SmTClass2 >> #initialize) asRingDefinition) equals: {(SmTClassTest >> #testMethod5) asRingDefinition} asSet. - self assert: (smartFinder currentCache at: (SmTClassTest >> #testMethod5) asRingDefinition) equals: {(SmTClassTest >> #testMethod5) asRingDefinition} asSet \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/properties.json b/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/properties.json deleted file mode 100644 index 839ba10..0000000 --- a/src/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "eleonoreW 7/20/2018 09:26", - "super" : "SmTCacheBuilderTest", - "category" : "SmartTest-Tests-CacheBuilder", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTCacheBuilderReflectivityTest", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderTest.class/README.md b/src/SmartTest-Tests.package/SmTCacheBuilderTest.class/README.md deleted file mode 100644 index 9f44baf..0000000 --- a/src/SmartTest-Tests.package/SmTCacheBuilderTest.class/README.md +++ /dev/null @@ -1 +0,0 @@ -This class aims to test the construction of the cache in the context of dynamic method analysis with different dynamic strategies and different cache strategies. \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderTest.class/class/isAbstract.st b/src/SmartTest-Tests.package/SmTCacheBuilderTest.class/class/isAbstract.st deleted file mode 100644 index 640ddb4..0000000 --- a/src/SmartTest-Tests.package/SmTCacheBuilderTest.class/class/isAbstract.st +++ /dev/null @@ -1,4 +0,0 @@ -testing -isAbstract - - ^ self == SmTCacheBuilderTest \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/cacheStrategy.st b/src/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/cacheStrategy.st deleted file mode 100644 index bab15f4..0000000 --- a/src/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/cacheStrategy.st +++ /dev/null @@ -1,3 +0,0 @@ -initialization -cacheStrategy -self subclassResponsibility. \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/dynamicFinder.st b/src/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/dynamicFinder.st deleted file mode 100644 index 2732aa5..0000000 --- a/src/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/dynamicFinder.st +++ /dev/null @@ -1,3 +0,0 @@ -initialization -dynamicFinder - self subclassResponsibility \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/searchTestMethodsFor..st b/src/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/searchTestMethodsFor..st deleted file mode 100644 index dbdfb36..0000000 --- a/src/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/searchTestMethodsFor..st +++ /dev/null @@ -1,4 +0,0 @@ -helpers -searchTestMethodsFor: aCompiledMethod - - ^ smartFinder researchTestsForMethod: aCompiledMethod . \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/setUp.st b/src/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/setUp.st deleted file mode 100644 index e195aa4..0000000 --- a/src/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/setUp.st +++ /dev/null @@ -1,10 +0,0 @@ -initialization -setUp - smartFinder := SmartFinder new. - smartFinder filter: SmTDefaultClassPackagesFilter new. - "the cache is initially empty" - smartFinder autoUpdateCache: false. - smartFinder cacheStrategy: self cacheStrategy new. - smartFinder resetCache. - smartFinder smtFinder: self dynamicFinder. - smartFinder autoUpdateCache: true \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/tearDown.st b/src/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/tearDown.st deleted file mode 100644 index 21f276b..0000000 --- a/src/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/tearDown.st +++ /dev/null @@ -1,5 +0,0 @@ -initialization -tearDown - smartFinder autoUpdateCache: false. - smartFinder clean. - super tearDown \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/testResearchTestsForStandardMethodWhileEmptyCache.st b/src/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/testResearchTestsForStandardMethodWhileEmptyCache.st deleted file mode 100644 index 3ec7994..0000000 --- a/src/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/testResearchTestsForStandardMethodWhileEmptyCache.st +++ /dev/null @@ -1,9 +0,0 @@ -tests -testResearchTestsForStandardMethodWhileEmptyCache - - | testsFound | - self assert: smartFinder currentCache isEmpty. - testsFound := self searchTestMethodsFor: SmTClass >> #method2. - self assert: smartFinder currentCache isEmpty. - self assert: testsFound isEmpty. - diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod1ToBuildCache.st b/src/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod1ToBuildCache.st deleted file mode 100644 index ace7f65..0000000 --- a/src/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod1ToBuildCache.st +++ /dev/null @@ -1,11 +0,0 @@ -tests -testRunningTestMethod1ToBuildCache - - self assert: smartFinder currentCache isEmpty. - SmTClassTest run: #testMethod1. - "Running the test fill the cache that is then no more empty but contains only the association between SmTClass>>method1 and SmTClassTest>>testMethod1" - self assert: smartFinder currentCache isNotEmpty. - self assert: smartFinder currentCache size equals: 2. - - "Not sure about the format of the dictionnary." - self assert: (smartFinder currentCache at: (SmTClass >> #method1) asRingDefinition) equals: {(SmTClassTest >> #testMethod1) asRingDefinition} asSet \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod2ToBuildCache.st b/src/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod2ToBuildCache.st deleted file mode 100644 index 2f3c52c..0000000 --- a/src/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod2ToBuildCache.st +++ /dev/null @@ -1,14 +0,0 @@ -tests -testRunningTestMethod2ToBuildCache - - self assert: smartFinder currentCache isEmpty. - SmTClassTest run: #testMethod2. - "Running the test fills the cache that is then no more empty but contains only the association between SmTClass>>methodi (with i = 1 to 4) and SmTClassTest>>testMethod2. The cache should contain 5 associations one for each method as key and testMethod2 asValue" - self assert: smartFinder currentCache isNotEmpty. - self assert: smartFinder currentCache size equals: 5. - self assert: (smartFinder currentCache at: (SmTClass >> #method1) asRingDefinition) equals: {(SmTClassTest >> #testMethod2) asRingDefinition} asSet. - - "Not sure about the format of the dictionnary." - self assert: (smartFinder currentCache at: (SmTClass >> #method2) asRingDefinition) equals: {(SmTClassTest >> #testMethod2) asRingDefinition} asSet. - self assert: (smartFinder currentCache at: (SmTClass >> #method3:) asRingDefinition) equals: {(SmTClassTest >> #testMethod2) asRingDefinition} asSet. - self assert: (smartFinder currentCache at: (SmTClass >> #method4) asRingDefinition) equals: {(SmTClassTest >> #testMethod2) asRingDefinition} asSet \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod5ToBuildCache.st b/src/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod5ToBuildCache.st deleted file mode 100644 index 03e4ce6..0000000 --- a/src/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod5ToBuildCache.st +++ /dev/null @@ -1,12 +0,0 @@ -tests -testRunningTestMethod5ToBuildCache - "This test if SmTTestCoverage find the initialize call" - - - self assert: smartFinder currentCache isEmpty. - SmTClassTest run: #testMethod5. - "Running the test fill the cache that is then no more empty but contains only the association between SmTClass2>>initialize and SmTClassTest>>testMethod5" - self assert: smartFinder currentCache isNotEmpty. - self assert: smartFinder currentCache size equals: 2. - self assert: (smartFinder currentCache at: (SmTClass2 >> #initialize) asRingDefinition) equals: {(SmTClassTest >> #testMethod5) asRingDefinition} asSet. - self assert: (smartFinder currentCache at: (SmTClassTest >> #testMethod5) asRingDefinition) equals: {(SmTClassTest >> #testMethod5) asRingDefinition} asSet \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderTest.class/properties.json b/src/SmartTest-Tests.package/SmTCacheBuilderTest.class/properties.json deleted file mode 100644 index 66b6ba4..0000000 --- a/src/SmartTest-Tests.package/SmTCacheBuilderTest.class/properties.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "commentStamp" : "eleonoreW 7/20/2018 09:25", - "super" : "TestCase", - "category" : "SmartTest-Tests-CacheBuilder", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "cache", - "smartFinder" - ], - "name" : "SmTCacheBuilderTest", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageNeverResetTest.class/README.md b/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageNeverResetTest.class/README.md deleted file mode 100644 index d616f55..0000000 --- a/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageNeverResetTest.class/README.md +++ /dev/null @@ -1 +0,0 @@ -These tests are here to assert that the build cache methods are correct when dealing the Test Coverage strategy and the never reset cache. \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageNeverResetTest.class/instance/cacheStrategy.st b/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageNeverResetTest.class/instance/cacheStrategy.st deleted file mode 100644 index 5b80c72..0000000 --- a/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageNeverResetTest.class/instance/cacheStrategy.st +++ /dev/null @@ -1,3 +0,0 @@ -initialization -cacheStrategy -^ SmTBasicCacheNeverResetStrategy \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageNeverResetTest.class/properties.json b/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageNeverResetTest.class/properties.json deleted file mode 100644 index 78a331c..0000000 --- a/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageNeverResetTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "eleonoreW 7/20/2018 09:28", - "super" : "SmTCacheBuilderTestCoverageTest", - "category" : "SmartTest-Tests-CacheBuilder", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTCacheBuilderTestCoverageNeverResetTest", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEvery5ChangesTest.class/README.md b/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEvery5ChangesTest.class/README.md deleted file mode 100644 index cec1f78..0000000 --- a/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEvery5ChangesTest.class/README.md +++ /dev/null @@ -1 +0,0 @@ -These tests are here to assert that the build cache methods are correct when dealing the Test Coverage strategy and the reset every 5 changes cache. \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEvery5ChangesTest.class/instance/cacheStrategy.st b/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEvery5ChangesTest.class/instance/cacheStrategy.st deleted file mode 100644 index 6b280ce..0000000 --- a/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEvery5ChangesTest.class/instance/cacheStrategy.st +++ /dev/null @@ -1,3 +0,0 @@ -initialization -cacheStrategy -^ SmTBasicCacheResetEvery5ChangesStrategy \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEvery5ChangesTest.class/properties.json b/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEvery5ChangesTest.class/properties.json deleted file mode 100644 index 6e318b6..0000000 --- a/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEvery5ChangesTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "eleonoreW 7/20/2018 09:28", - "super" : "SmTCacheBuilderTestCoverageTest", - "category" : "SmartTest-Tests-CacheBuilder", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTCacheBuilderTestCoverageResetEvery5ChangesTest", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEveryCommitTest.class/README.md b/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEveryCommitTest.class/README.md deleted file mode 100644 index a507393..0000000 --- a/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEveryCommitTest.class/README.md +++ /dev/null @@ -1 +0,0 @@ -These tests are here to assert that the build cache methods are correct when dealing the Test Coverage strategy and the reset every commits cache. \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEveryCommitTest.class/instance/cacheStrategy.st b/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEveryCommitTest.class/instance/cacheStrategy.st deleted file mode 100644 index f2ecde5..0000000 --- a/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEveryCommitTest.class/instance/cacheStrategy.st +++ /dev/null @@ -1,3 +0,0 @@ -initialization -cacheStrategy -^ SmTBasicCacheResetEveryCommitStrategy \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEveryCommitTest.class/properties.json b/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEveryCommitTest.class/properties.json deleted file mode 100644 index c596ae0..0000000 --- a/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEveryCommitTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "eleonoreW 7/20/2018 09:28", - "super" : "SmTCacheBuilderTestCoverageTest", - "category" : "SmartTest-Tests-CacheBuilder", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTCacheBuilderTestCoverageResetEveryCommitTest", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetOnDemandTest.class/README.md b/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetOnDemandTest.class/README.md deleted file mode 100644 index 104eb7d..0000000 --- a/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetOnDemandTest.class/README.md +++ /dev/null @@ -1 +0,0 @@ -These tests are here to assert that the build cache methods are correct when dealing the Test Coverage strategy and the reset on demand cache. \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetOnDemandTest.class/instance/cacheStrategy.st b/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetOnDemandTest.class/instance/cacheStrategy.st deleted file mode 100644 index 3d73e2e..0000000 --- a/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetOnDemandTest.class/instance/cacheStrategy.st +++ /dev/null @@ -1,3 +0,0 @@ -initialization -cacheStrategy -^ SmTBasicCacheStrategy \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetOnDemandTest.class/properties.json b/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetOnDemandTest.class/properties.json deleted file mode 100644 index 89698bb..0000000 --- a/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetOnDemandTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "eleonoreW 7/20/2018 09:28", - "super" : "SmTCacheBuilderTestCoverageTest", - "category" : "SmartTest-Tests-CacheBuilder", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTCacheBuilderTestCoverageResetOnDemandTest", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/README.md b/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/README.md deleted file mode 100644 index 0168734..0000000 --- a/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/README.md +++ /dev/null @@ -1 +0,0 @@ -These tests are here to assert that the build cache methods are correct when dealing with different cache strategies. \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/class/isAbstract.st b/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/class/isAbstract.st deleted file mode 100644 index 26587b7..0000000 --- a/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/class/isAbstract.st +++ /dev/null @@ -1,3 +0,0 @@ -testing -isAbstract -^ self == SmTCacheBuilderTestCoverageTest \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/instance/dynamicFinder.st b/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/instance/dynamicFinder.st deleted file mode 100644 index c5fe116..0000000 --- a/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/instance/dynamicFinder.st +++ /dev/null @@ -1,3 +0,0 @@ -initialization -dynamicFinder - ^ SmTTestCoverageTestFinderStrategy new \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/properties.json b/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/properties.json deleted file mode 100644 index a70c853..0000000 --- a/src/SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "SmTCacheBuilderTest", - "category" : "SmartTest-Tests-CacheBuilder", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTCacheBuilderTestCoverageTest", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheNeverResetTest.class/README.md b/src/SmartTest-Tests.package/SmTCacheNeverResetTest.class/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/src/SmartTest-Tests.package/SmTCacheNeverResetTest.class/instance/strategyTested.st b/src/SmartTest-Tests.package/SmTCacheNeverResetTest.class/instance/strategyTested.st deleted file mode 100644 index 3633db6..0000000 --- a/src/SmartTest-Tests.package/SmTCacheNeverResetTest.class/instance/strategyTested.st +++ /dev/null @@ -1,3 +0,0 @@ -running -strategyTested -^ SmTBasicCacheNeverResetStrategy \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheNeverResetTest.class/properties.json b/src/SmartTest-Tests.package/SmTCacheNeverResetTest.class/properties.json deleted file mode 100644 index cf8496a..0000000 --- a/src/SmartTest-Tests.package/SmTCacheNeverResetTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "SmTCacheTest", - "category" : "SmartTest-Tests-Cache", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTCacheNeverResetTest", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheResetEvery5ChangesTest.class/README.md b/src/SmartTest-Tests.package/SmTCacheResetEvery5ChangesTest.class/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/src/SmartTest-Tests.package/SmTCacheResetEvery5ChangesTest.class/instance/strategyTested.st b/src/SmartTest-Tests.package/SmTCacheResetEvery5ChangesTest.class/instance/strategyTested.st deleted file mode 100644 index 24f5d1e..0000000 --- a/src/SmartTest-Tests.package/SmTCacheResetEvery5ChangesTest.class/instance/strategyTested.st +++ /dev/null @@ -1,3 +0,0 @@ -running -strategyTested -^ SmTBasicCacheResetEvery5ChangesStrategy \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheResetEvery5ChangesTest.class/properties.json b/src/SmartTest-Tests.package/SmTCacheResetEvery5ChangesTest.class/properties.json deleted file mode 100644 index 6f35492..0000000 --- a/src/SmartTest-Tests.package/SmTCacheResetEvery5ChangesTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "SmTCacheTest", - "category" : "SmartTest-Tests-Cache", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTCacheResetEvery5ChangesTest", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheResetEveryCommitTest.class/README.md b/src/SmartTest-Tests.package/SmTCacheResetEveryCommitTest.class/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/src/SmartTest-Tests.package/SmTCacheResetEveryCommitTest.class/instance/strategyTested.st b/src/SmartTest-Tests.package/SmTCacheResetEveryCommitTest.class/instance/strategyTested.st deleted file mode 100644 index c1a0c01..0000000 --- a/src/SmartTest-Tests.package/SmTCacheResetEveryCommitTest.class/instance/strategyTested.st +++ /dev/null @@ -1,3 +0,0 @@ -running -strategyTested -^ SmTBasicCacheResetEveryCommitStrategy \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheResetEveryCommitTest.class/instance/testResetAfter1Commit.st b/src/SmartTest-Tests.package/SmTCacheResetEveryCommitTest.class/instance/testResetAfter1Commit.st deleted file mode 100644 index 726299b..0000000 --- a/src/SmartTest-Tests.package/SmTCacheResetEveryCommitTest.class/instance/testResetAfter1Commit.st +++ /dev/null @@ -1,6 +0,0 @@ -tests -testResetAfter1Commit - "After one method change, the cache should be empty for NeverRest, EveryFiveChange, and EveryCommit case." - - smartFinder cacheStrategy resetCacheForChange: EpMonticelloVersionSave new. - self assert: smartFinder currentCache isEmpty \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheResetEveryCommitTest.class/properties.json b/src/SmartTest-Tests.package/SmTCacheResetEveryCommitTest.class/properties.json deleted file mode 100644 index a536e58..0000000 --- a/src/SmartTest-Tests.package/SmTCacheResetEveryCommitTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "SmTCacheTest", - "category" : "SmartTest-Tests-Cache", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTCacheResetEveryCommitTest", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/README.md b/src/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/src/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/instance/strategyTested.st b/src/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/instance/strategyTested.st deleted file mode 100644 index af7828f..0000000 --- a/src/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/instance/strategyTested.st +++ /dev/null @@ -1,3 +0,0 @@ -running -strategyTested -^ SmTBasicCacheStrategy \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/instance/testResetAfter1Commit.st b/src/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/instance/testResetAfter1Commit.st deleted file mode 100644 index 3441d01..0000000 --- a/src/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/instance/testResetAfter1Commit.st +++ /dev/null @@ -1,5 +0,0 @@ -tests -testResetAfter1Commit -"After one method change, the cache should be empty for NeverRest, EveryFiveChange, and EveryCommit case." -smartFinder cacheStrategy resetCacheForChange: EpMonticelloVersionSave new. -self assert: (smartFinder currentCache isEmpty) \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/instance/testResetAfter1MethodChange.st b/src/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/instance/testResetAfter1MethodChange.st deleted file mode 100644 index 982958c..0000000 --- a/src/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/instance/testResetAfter1MethodChange.st +++ /dev/null @@ -1,5 +0,0 @@ -tests -testResetAfter1MethodChange -"Here, the cache should be empty because the BasicCache strategy allows that the reset of the cache" -smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. -self assert: (smartFinder currentCache isEmpty) \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/instance/testResetAfter4MethodChange.st b/src/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/instance/testResetAfter4MethodChange.st deleted file mode 100644 index 3815067..0000000 --- a/src/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/instance/testResetAfter4MethodChange.st +++ /dev/null @@ -1,9 +0,0 @@ -tests -testResetAfter4MethodChange - "After one method change, the cache should be empty for NeverRest, EveryFiveChange, and EveryCommit case." - - smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. - smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. - smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. - smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. - self assert: smartFinder currentCache isEmpty \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/instance/testResetAfter5MethodChange.st b/src/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/instance/testResetAfter5MethodChange.st deleted file mode 100644 index 48458f2..0000000 --- a/src/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/instance/testResetAfter5MethodChange.st +++ /dev/null @@ -1,9 +0,0 @@ -tests -testResetAfter5MethodChange -"After one method change, the cache should be empty for NeverRest, EveryFiveChange, and EveryCommit case." -smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. -smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. -smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. -smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. -smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. -self assert: (smartFinder currentCache isEmpty) \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/properties.json b/src/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/properties.json deleted file mode 100644 index 24aa131..0000000 --- a/src/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "SmTCacheTest", - "category" : "SmartTest-Tests-Cache", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTCacheResetOnDemandTest", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheTest.class/README.md b/src/SmartTest-Tests.package/SmTCacheTest.class/README.md deleted file mode 100644 index b7a2888..0000000 --- a/src/SmartTest-Tests.package/SmTCacheTest.class/README.md +++ /dev/null @@ -1,5 +0,0 @@ -This tests are here to assert that cache strategies behave corectly. -- BasicCacheNeverReset should always have something in it. -- BasicCacheResetEvery5Changes should reset after 5 calls to its reset method -- BasicCacheResetEveryCommit should reset after each change that is a commit, and not the methods changes. -- BasicCache should reset each time its method reset is called diff --git a/src/SmartTest-Tests.package/SmTCacheTest.class/class/isAbstract.st b/src/SmartTest-Tests.package/SmTCacheTest.class/class/isAbstract.st deleted file mode 100644 index db562eb..0000000 --- a/src/SmartTest-Tests.package/SmTCacheTest.class/class/isAbstract.st +++ /dev/null @@ -1,3 +0,0 @@ -testing -isAbstract -^ (self == SmTCacheTest) \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheTest.class/instance/initCache.st b/src/SmartTest-Tests.package/SmTCacheTest.class/instance/initCache.st deleted file mode 100644 index 037b06c..0000000 --- a/src/SmartTest-Tests.package/SmTCacheTest.class/instance/initCache.st +++ /dev/null @@ -1,33 +0,0 @@ -initialize-release -initCache - ^ {((SmTClass >> #method1) asRingDefinition - -> - {(SmTClassTest >> #testMethod1) asRingDefinition. - (SmTClassTest >> #testMethod2) asRingDefinition. - (RGMethodDefinition - className: 'SmTInheritClassTest' - selector: #testMethod1 - isMetaSide: false)} asSet). - ((SmTClass >> #method2) asRingDefinition - -> {(SmTClassTest >> #testMethod2) asRingDefinition} asSet). - ((SmTClass >> #method3:) asRingDefinition - -> - {(SmTClassTest >> #testMethod1) asRingDefinition. - (SmTClassTest >> #testMethod2) asRingDefinition. - (SmTClassTest >> #testMethod3) asRingDefinition} asSet). - ((SmTClass >> #method4) asRingDefinition - -> - {(SmTClassTest >> #testMethod2) asRingDefinition. - (SmTClassTest >> #testMethod3) asRingDefinition. - (SmTClassTest >> #testMethod4) asRingDefinition} asSet). - ((SmTClass2 >> #initialize) asRingDefinition - -> {(SmTClassTest >> #testMethod5) asRingDefinition} asSet). - ((SmTClassTest >> #testMethod4) asRingDefinition - -> {(SmTClassTest >> #testMethod4) asRingDefinition} asSet). - ((('SmTP1' , 'Inheritance') asClass >> ('method1' , 'Inheritance') asSymbol) - asRingDefinition - -> - {(('SmTP1' , 'InheritanceSubClass1Test') asClass >> ('testMethod1','Inheritance') asSymbol) - asRingDefinition. - (RGMethodDefinition className: ('SmTP1InheritanceSubClass2','Test') selector: ('testMethod1','Inheritance') isMetaSide: false) - asRingDefinition} asSet)} asDictionary \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheTest.class/instance/setUp.st b/src/SmartTest-Tests.package/SmTCacheTest.class/instance/setUp.st deleted file mode 100644 index f170564..0000000 --- a/src/SmartTest-Tests.package/SmTCacheTest.class/instance/setUp.st +++ /dev/null @@ -1,11 +0,0 @@ -running -setUp - "fill in the cache" - - | initialCache | - super setUp. - smartFinder := SmartFinder new. - initialCache := self initCache. - smartFinder cacheStrategy: (self strategyTested new). - smartFinder setCacheValues: initialCache. - smartFinder smtFinder: SmTTestCoverageTestFinderStrategy new \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheTest.class/instance/strategyTested.st b/src/SmartTest-Tests.package/SmTCacheTest.class/instance/strategyTested.st deleted file mode 100644 index a678b5a..0000000 --- a/src/SmartTest-Tests.package/SmTCacheTest.class/instance/strategyTested.st +++ /dev/null @@ -1,3 +0,0 @@ -running -strategyTested -self subclassResponsibility \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheTest.class/instance/testInitCache.st b/src/SmartTest-Tests.package/SmTCacheTest.class/instance/testInitCache.st deleted file mode 100644 index d43ea86..0000000 --- a/src/SmartTest-Tests.package/SmTCacheTest.class/instance/testInitCache.st +++ /dev/null @@ -1,3 +0,0 @@ -tests -testInitCache -self assert: (smartFinder currentCache isNotEmpty). \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheTest.class/instance/testResetAfter1Commit.st b/src/SmartTest-Tests.package/SmTCacheTest.class/instance/testResetAfter1Commit.st deleted file mode 100644 index fdd9915..0000000 --- a/src/SmartTest-Tests.package/SmTCacheTest.class/instance/testResetAfter1Commit.st +++ /dev/null @@ -1,5 +0,0 @@ -tests -testResetAfter1Commit -"After one method change, the cache should be empty for NeverRest, EveryFiveChange, and EveryCommit case." -smartFinder cacheStrategy resetCacheForChange: EpMonticelloVersionSave new. -self assert: (smartFinder currentCache isNotEmpty) \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheTest.class/instance/testResetAfter1MethodChange.st b/src/SmartTest-Tests.package/SmTCacheTest.class/instance/testResetAfter1MethodChange.st deleted file mode 100644 index 3293a3f..0000000 --- a/src/SmartTest-Tests.package/SmTCacheTest.class/instance/testResetAfter1MethodChange.st +++ /dev/null @@ -1,5 +0,0 @@ -tests -testResetAfter1MethodChange -"After one method change, the cache should be empty for NeverRest, EveryFiveChange, and EveryCommit case." -smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. -self assert: (smartFinder currentCache isNotEmpty) \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheTest.class/instance/testResetAfter4MethodChange.st b/src/SmartTest-Tests.package/SmTCacheTest.class/instance/testResetAfter4MethodChange.st deleted file mode 100644 index 5a3147a..0000000 --- a/src/SmartTest-Tests.package/SmTCacheTest.class/instance/testResetAfter4MethodChange.st +++ /dev/null @@ -1,8 +0,0 @@ -tests -testResetAfter4MethodChange -"After one method change, the cache should be empty for NeverRest, EveryFiveChange, and EveryCommit case." -smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. -smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. -smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. -smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. -self assert: (smartFinder currentCache isNotEmpty) \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheTest.class/instance/testResetAfter5MethodChange.st b/src/SmartTest-Tests.package/SmTCacheTest.class/instance/testResetAfter5MethodChange.st deleted file mode 100644 index 551d2a0..0000000 --- a/src/SmartTest-Tests.package/SmTCacheTest.class/instance/testResetAfter5MethodChange.st +++ /dev/null @@ -1,9 +0,0 @@ -tests -testResetAfter5MethodChange -"After one method change, the cache should be empty for NeverRest, EveryFiveChange, and EveryCommit case." -smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. -smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. -smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. -smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. -smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. -self assert: (smartFinder currentCache isNotEmpty) \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTCacheTest.class/properties.json b/src/SmartTest-Tests.package/SmTCacheTest.class/properties.json deleted file mode 100644 index 353b099..0000000 --- a/src/SmartTest-Tests.package/SmTCacheTest.class/properties.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "commentStamp" : "eleonoreW 7/18/2018 09:37", - "super" : "TestCase", - "category" : "SmartTest-Tests-Cache", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "cache", - "smartFinder" - ], - "name" : "SmTCacheTest", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/README.md b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/instance/initCache.st b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/instance/initCache.st deleted file mode 100644 index 3e53be9..0000000 --- a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/instance/initCache.st +++ /dev/null @@ -1,33 +0,0 @@ -running -initCache - ^ {((SmTClass >> #method1) asRingDefinition - -> - {(SmTClassTest >> #testMethod1) asRingDefinition. - (SmTClassTest >> #testMethod2) asRingDefinition. - (RGMethodDefinition - className: 'SmTInheritClassTest' - selector: #testMethod1 - isMetaSide: false)} asSet). - ((SmTClass >> #method2) asRingDefinition - -> {(SmTClassTest >> #testMethod2) asRingDefinition} asSet). - ((SmTClass >> #method3:) asRingDefinition - -> - {(SmTClassTest >> #testMethod1) asRingDefinition. - (SmTClassTest >> #testMethod2) asRingDefinition. - (SmTClassTest >> #testMethod3) asRingDefinition} asSet). - ((SmTClass >> #method4) asRingDefinition - -> - {(SmTClassTest >> #testMethod2) asRingDefinition. - (SmTClassTest >> #testMethod3) asRingDefinition. - (SmTClassTest >> #testMethod4) asRingDefinition} asSet). - ((SmTClass2 >> #initialize) asRingDefinition - -> {(SmTClassTest >> #testMethod5) asRingDefinition} asSet). - ((SmTClassTest >> #testMethod4) asRingDefinition - -> {(SmTClassTest >> #testMethod4) asRingDefinition} asSet). - ((('SmTP1' , 'Inheritance') asClass >> ('method1' , 'Inheritance') asSymbol) - asRingDefinition - -> - {(('SmTP1' , 'InheritanceSubClass1Test') asClass >> ('testMethod1','Inheritance') asSymbol) - asRingDefinition. - (RGMethodDefinition className: ('SmTP1InheritanceSubClass2','Test') selector: ('testMethod1','Inheritance') isMetaSide: false) - asRingDefinition} asSet)} asDictionary \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/instance/setUp.st b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/instance/setUp.st deleted file mode 100644 index 8e28d19..0000000 --- a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/instance/setUp.st +++ /dev/null @@ -1,10 +0,0 @@ -running -setUp - "fill in the cache" - - | initialCache | - super setUp. - initialCache := self initCache. - smartFinder cacheStrategy: (SmTBasicCacheNeverResetStrategy new). - smartFinder setCacheValues: initialCache. - smartFinder smtFinder: SmTTestCoverageTestFinderStrategy new \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/instance/tearDown.st b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/instance/tearDown.st deleted file mode 100644 index 6df396a..0000000 --- a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/instance/tearDown.st +++ /dev/null @@ -1,3 +0,0 @@ -helpers -tearDown - smartFinder resetCache. \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/instance/testModificationOnTest.st b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/instance/testModificationOnTest.st deleted file mode 100644 index 4365e6b..0000000 --- a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/instance/testModificationOnTest.st +++ /dev/null @@ -1,10 +0,0 @@ -tests -testModificationOnTest -"this method is redundant with the abstract method" - - | testsFound | - testsFound := self searchTestMethodsFor: SmTClassTest >> #testMethod4. - self deny: (testsFound includes: testMethod1). - self deny: (testsFound includes: testMethod2). - self deny: (testsFound includes: testMethod3). - self assert: (testsFound includes: testMethod4) \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/instance/testTestSelfSelected.st b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/instance/testTestSelfSelected.st deleted file mode 100644 index ef87c9f..0000000 --- a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/instance/testTestSelfSelected.st +++ /dev/null @@ -1,10 +0,0 @@ -tests -testTestSelfSelected -"this method is redundant with the abstract method" - - | testsFound | - testsFound := self searchTestsForATestMethod: SmTClassTest >> #testMethod1. - self assert: (testsFound includes: testMethod1). - self deny: (testsFound includes: testMethod2). - self deny: (testsFound includes: testMethod3). - self deny: (testsFound includes: testMethod4) \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/properties.json b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/properties.json deleted file mode 100644 index 928debe..0000000 --- a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "SmTFinderAbstractTest", - "category" : "SmartTest-Tests-Finder", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTDynamicCoverageStrategyBasicCacheNeverResetTest", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/README.md b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/instance/initCache.st b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/instance/initCache.st deleted file mode 100644 index 3e53be9..0000000 --- a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/instance/initCache.st +++ /dev/null @@ -1,33 +0,0 @@ -running -initCache - ^ {((SmTClass >> #method1) asRingDefinition - -> - {(SmTClassTest >> #testMethod1) asRingDefinition. - (SmTClassTest >> #testMethod2) asRingDefinition. - (RGMethodDefinition - className: 'SmTInheritClassTest' - selector: #testMethod1 - isMetaSide: false)} asSet). - ((SmTClass >> #method2) asRingDefinition - -> {(SmTClassTest >> #testMethod2) asRingDefinition} asSet). - ((SmTClass >> #method3:) asRingDefinition - -> - {(SmTClassTest >> #testMethod1) asRingDefinition. - (SmTClassTest >> #testMethod2) asRingDefinition. - (SmTClassTest >> #testMethod3) asRingDefinition} asSet). - ((SmTClass >> #method4) asRingDefinition - -> - {(SmTClassTest >> #testMethod2) asRingDefinition. - (SmTClassTest >> #testMethod3) asRingDefinition. - (SmTClassTest >> #testMethod4) asRingDefinition} asSet). - ((SmTClass2 >> #initialize) asRingDefinition - -> {(SmTClassTest >> #testMethod5) asRingDefinition} asSet). - ((SmTClassTest >> #testMethod4) asRingDefinition - -> {(SmTClassTest >> #testMethod4) asRingDefinition} asSet). - ((('SmTP1' , 'Inheritance') asClass >> ('method1' , 'Inheritance') asSymbol) - asRingDefinition - -> - {(('SmTP1' , 'InheritanceSubClass1Test') asClass >> ('testMethod1','Inheritance') asSymbol) - asRingDefinition. - (RGMethodDefinition className: ('SmTP1InheritanceSubClass2','Test') selector: ('testMethod1','Inheritance') isMetaSide: false) - asRingDefinition} asSet)} asDictionary \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/instance/setUp.st b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/instance/setUp.st deleted file mode 100644 index f28ccb5..0000000 --- a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/instance/setUp.st +++ /dev/null @@ -1,10 +0,0 @@ -running -setUp - "fill in the cache" - - | initialCache | - super setUp. - initialCache := self initCache. - smartFinder cacheStrategy: (SmTBasicCacheResetEvery5ChangesStrategy new). - smartFinder setCacheValues: initialCache. - smartFinder smtFinder: SmTTestCoverageTestFinderStrategy new \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/instance/tearDown.st b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/instance/tearDown.st deleted file mode 100644 index 6df396a..0000000 --- a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/instance/tearDown.st +++ /dev/null @@ -1,3 +0,0 @@ -helpers -tearDown - smartFinder resetCache. \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/instance/testModificationOnTest.st b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/instance/testModificationOnTest.st deleted file mode 100644 index 4365e6b..0000000 --- a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/instance/testModificationOnTest.st +++ /dev/null @@ -1,10 +0,0 @@ -tests -testModificationOnTest -"this method is redundant with the abstract method" - - | testsFound | - testsFound := self searchTestMethodsFor: SmTClassTest >> #testMethod4. - self deny: (testsFound includes: testMethod1). - self deny: (testsFound includes: testMethod2). - self deny: (testsFound includes: testMethod3). - self assert: (testsFound includes: testMethod4) \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/instance/testTestSelfSelected.st b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/instance/testTestSelfSelected.st deleted file mode 100644 index ef87c9f..0000000 --- a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/instance/testTestSelfSelected.st +++ /dev/null @@ -1,10 +0,0 @@ -tests -testTestSelfSelected -"this method is redundant with the abstract method" - - | testsFound | - testsFound := self searchTestsForATestMethod: SmTClassTest >> #testMethod1. - self assert: (testsFound includes: testMethod1). - self deny: (testsFound includes: testMethod2). - self deny: (testsFound includes: testMethod3). - self deny: (testsFound includes: testMethod4) \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/properties.json b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/properties.json deleted file mode 100644 index 1c18b9f..0000000 --- a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "SmTFinderAbstractTest", - "category" : "SmartTest-Tests-Finder", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/README.md b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/instance/initCache.st b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/instance/initCache.st deleted file mode 100644 index 3e53be9..0000000 --- a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/instance/initCache.st +++ /dev/null @@ -1,33 +0,0 @@ -running -initCache - ^ {((SmTClass >> #method1) asRingDefinition - -> - {(SmTClassTest >> #testMethod1) asRingDefinition. - (SmTClassTest >> #testMethod2) asRingDefinition. - (RGMethodDefinition - className: 'SmTInheritClassTest' - selector: #testMethod1 - isMetaSide: false)} asSet). - ((SmTClass >> #method2) asRingDefinition - -> {(SmTClassTest >> #testMethod2) asRingDefinition} asSet). - ((SmTClass >> #method3:) asRingDefinition - -> - {(SmTClassTest >> #testMethod1) asRingDefinition. - (SmTClassTest >> #testMethod2) asRingDefinition. - (SmTClassTest >> #testMethod3) asRingDefinition} asSet). - ((SmTClass >> #method4) asRingDefinition - -> - {(SmTClassTest >> #testMethod2) asRingDefinition. - (SmTClassTest >> #testMethod3) asRingDefinition. - (SmTClassTest >> #testMethod4) asRingDefinition} asSet). - ((SmTClass2 >> #initialize) asRingDefinition - -> {(SmTClassTest >> #testMethod5) asRingDefinition} asSet). - ((SmTClassTest >> #testMethod4) asRingDefinition - -> {(SmTClassTest >> #testMethod4) asRingDefinition} asSet). - ((('SmTP1' , 'Inheritance') asClass >> ('method1' , 'Inheritance') asSymbol) - asRingDefinition - -> - {(('SmTP1' , 'InheritanceSubClass1Test') asClass >> ('testMethod1','Inheritance') asSymbol) - asRingDefinition. - (RGMethodDefinition className: ('SmTP1InheritanceSubClass2','Test') selector: ('testMethod1','Inheritance') isMetaSide: false) - asRingDefinition} asSet)} asDictionary \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/instance/setUp.st b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/instance/setUp.st deleted file mode 100644 index 96bd215..0000000 --- a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/instance/setUp.st +++ /dev/null @@ -1,10 +0,0 @@ -running -setUp - "fill in the cache" - - | initialCache | - super setUp. - initialCache := self initCache. - smartFinder cacheStrategy: (SmTBasicCacheResetEveryCommitStrategy new). - smartFinder setCacheValues: initialCache. - smartFinder smtFinder: SmTTestCoverageTestFinderStrategy new \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/instance/tearDown.st b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/instance/tearDown.st deleted file mode 100644 index 6df396a..0000000 --- a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/instance/tearDown.st +++ /dev/null @@ -1,3 +0,0 @@ -helpers -tearDown - smartFinder resetCache. \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/instance/testModificationOnTest.st b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/instance/testModificationOnTest.st deleted file mode 100644 index 4365e6b..0000000 --- a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/instance/testModificationOnTest.st +++ /dev/null @@ -1,10 +0,0 @@ -tests -testModificationOnTest -"this method is redundant with the abstract method" - - | testsFound | - testsFound := self searchTestMethodsFor: SmTClassTest >> #testMethod4. - self deny: (testsFound includes: testMethod1). - self deny: (testsFound includes: testMethod2). - self deny: (testsFound includes: testMethod3). - self assert: (testsFound includes: testMethod4) \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/instance/testTestSelfSelected.st b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/instance/testTestSelfSelected.st deleted file mode 100644 index ef87c9f..0000000 --- a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/instance/testTestSelfSelected.st +++ /dev/null @@ -1,10 +0,0 @@ -tests -testTestSelfSelected -"this method is redundant with the abstract method" - - | testsFound | - testsFound := self searchTestsForATestMethod: SmTClassTest >> #testMethod1. - self assert: (testsFound includes: testMethod1). - self deny: (testsFound includes: testMethod2). - self deny: (testsFound includes: testMethod3). - self deny: (testsFound includes: testMethod4) \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/properties.json b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/properties.json deleted file mode 100644 index 821a028..0000000 --- a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "SmTFinderAbstractTest", - "category" : "SmartTest-Tests-Finder", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/README.md b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/README.md deleted file mode 100644 index f1222ea..0000000 --- a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/README.md +++ /dev/null @@ -1 +0,0 @@ -In this class, the research is dynamic and it uses the finder TestCoverage. \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/instance/initCache.st b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/instance/initCache.st deleted file mode 100644 index 3e53be9..0000000 --- a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/instance/initCache.st +++ /dev/null @@ -1,33 +0,0 @@ -running -initCache - ^ {((SmTClass >> #method1) asRingDefinition - -> - {(SmTClassTest >> #testMethod1) asRingDefinition. - (SmTClassTest >> #testMethod2) asRingDefinition. - (RGMethodDefinition - className: 'SmTInheritClassTest' - selector: #testMethod1 - isMetaSide: false)} asSet). - ((SmTClass >> #method2) asRingDefinition - -> {(SmTClassTest >> #testMethod2) asRingDefinition} asSet). - ((SmTClass >> #method3:) asRingDefinition - -> - {(SmTClassTest >> #testMethod1) asRingDefinition. - (SmTClassTest >> #testMethod2) asRingDefinition. - (SmTClassTest >> #testMethod3) asRingDefinition} asSet). - ((SmTClass >> #method4) asRingDefinition - -> - {(SmTClassTest >> #testMethod2) asRingDefinition. - (SmTClassTest >> #testMethod3) asRingDefinition. - (SmTClassTest >> #testMethod4) asRingDefinition} asSet). - ((SmTClass2 >> #initialize) asRingDefinition - -> {(SmTClassTest >> #testMethod5) asRingDefinition} asSet). - ((SmTClassTest >> #testMethod4) asRingDefinition - -> {(SmTClassTest >> #testMethod4) asRingDefinition} asSet). - ((('SmTP1' , 'Inheritance') asClass >> ('method1' , 'Inheritance') asSymbol) - asRingDefinition - -> - {(('SmTP1' , 'InheritanceSubClass1Test') asClass >> ('testMethod1','Inheritance') asSymbol) - asRingDefinition. - (RGMethodDefinition className: ('SmTP1InheritanceSubClass2','Test') selector: ('testMethod1','Inheritance') isMetaSide: false) - asRingDefinition} asSet)} asDictionary \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/instance/setUp.st b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/instance/setUp.st deleted file mode 100644 index 1a0a6ba..0000000 --- a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/instance/setUp.st +++ /dev/null @@ -1,10 +0,0 @@ -running -setUp - "fill in the cache" - - | initialCache | - super setUp. - initialCache := self initCache. - smartFinder cacheStrategy: (SmTBasicCacheStrategy new). - smartFinder setCacheValues: initialCache. - smartFinder smtFinder: SmTTestCoverageTestFinderStrategy new \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/instance/tearDown.st b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/instance/tearDown.st deleted file mode 100644 index 6df396a..0000000 --- a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/instance/tearDown.st +++ /dev/null @@ -1,3 +0,0 @@ -helpers -tearDown - smartFinder resetCache. \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/instance/testModificationOnTest.st b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/instance/testModificationOnTest.st deleted file mode 100644 index 4365e6b..0000000 --- a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/instance/testModificationOnTest.st +++ /dev/null @@ -1,10 +0,0 @@ -tests -testModificationOnTest -"this method is redundant with the abstract method" - - | testsFound | - testsFound := self searchTestMethodsFor: SmTClassTest >> #testMethod4. - self deny: (testsFound includes: testMethod1). - self deny: (testsFound includes: testMethod2). - self deny: (testsFound includes: testMethod3). - self assert: (testsFound includes: testMethod4) \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/instance/testTestSelfSelected.st b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/instance/testTestSelfSelected.st deleted file mode 100644 index ef87c9f..0000000 --- a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/instance/testTestSelfSelected.st +++ /dev/null @@ -1,10 +0,0 @@ -tests -testTestSelfSelected -"this method is redundant with the abstract method" - - | testsFound | - testsFound := self searchTestsForATestMethod: SmTClassTest >> #testMethod1. - self assert: (testsFound includes: testMethod1). - self deny: (testsFound includes: testMethod2). - self deny: (testsFound includes: testMethod3). - self deny: (testsFound includes: testMethod4) \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/properties.json b/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/properties.json deleted file mode 100644 index aaf8fb2..0000000 --- a/src/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/3/2018 14:25", - "super" : "SmTFinderAbstractTest", - "category" : "SmartTest-Tests-Finder", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTDynamicCoverageStrategyTest", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTDynamicReflectivityStrategyTest.class/README.md b/src/SmartTest-Tests.package/SmTDynamicReflectivityStrategyTest.class/README.md deleted file mode 100644 index dc43873..0000000 --- a/src/SmartTest-Tests.package/SmTDynamicReflectivityStrategyTest.class/README.md +++ /dev/null @@ -1 +0,0 @@ -A SmTFinderStrategyReflectivityTest is a test class for testing the behavior of SmTFinderStrategyReflectivity \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTDynamicReflectivityStrategyTest.class/instance/setUp.st b/src/SmartTest-Tests.package/SmTDynamicReflectivityStrategyTest.class/instance/setUp.st deleted file mode 100644 index 3c72a61..0000000 --- a/src/SmartTest-Tests.package/SmTDynamicReflectivityStrategyTest.class/instance/setUp.st +++ /dev/null @@ -1,10 +0,0 @@ -running -setUp - "fill in the cache" - - | initialCache | - super setUp. - initialCache := self initCache. - smartFinder cacheStrategy: SmTBasicCacheStrategy new. - smartFinder setCacheValues: initialCache. - smartFinder smtFinder: SmTReflectivityTestFinderStrategy new \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTDynamicReflectivityStrategyTest.class/properties.json b/src/SmartTest-Tests.package/SmTDynamicReflectivityStrategyTest.class/properties.json deleted file mode 100644 index a23ab53..0000000 --- a/src/SmartTest-Tests.package/SmTDynamicReflectivityStrategyTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 4/27/2018 16:02", - "super" : "SmTFinderAbstractTest", - "category" : "SmartTest-Tests-Finder", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTDynamicReflectivityStrategyTest", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/README.md b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/README.md deleted file mode 100644 index a5e2cf6..0000000 --- a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/README.md +++ /dev/null @@ -1,46 +0,0 @@ -I test the strategy SendersFinder with different filters. -In order to be sure that those test are not considered as callers of the modified method and as references to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method. - - -The tests are described below: -The modified method’s name always contains « method1 » and will be refered to as method1. -The modified method can be used directly by a test, in this case the test’s name contains « testMethod1 » -The modified method can be used by a method (and then a test), then the method’s name contains « method2 » -Method 2 will then be called by a test (the second level sender of method1) and this test's name contains « testMethod2 » -The names of the methods and tests will be followed by a identificator. This will result in very long names but it is necessary in order to be unique and explicit. -Being unique, the senders of each method are controlled and consequently the tests are independent the one from the others. - -If the name of a test contains « FirstLevelSender » then the corresponding method2 and testMethod2 do not exist. -If the name of a test contains « SecondLevelSender » then the corresponding testMethod1 does not exist. - -We use the Classification Tree Method to represent the tests (see https://en.wikipedia.org/wiki/Classification_Tree_Method) . - -We will use the Classification Tree Method for the description of the tests. -Exemple for the first line of the following description: -Test FirstLevelSendersInside : the modified method "method1FirstLevelSendersInside" is located in package P1 and testMethod1FirstLevelSendersInside calls method1FirstLevelSendersInside and is located inside the package P1. - - -Simple tests (no references): -Method: TestMethod1 Method2 TestMethod2 Test Identificator -Package: P1 P2 P1 P2 P1 P2 - • | | | | | FirstLevelSendersInside - | • | | | | FirstLevelSendersOutside - | | • | • | SecondLevelSendersInsideTestInside - | | • | | • SecondLevelSendersInsideTestOutside - | | | • • | SecondLevelSendersOutsideTestInside - | | | • | • SecondLevelSendersOutsideTestOutside - - -Simple tests (no references): -Method: TestMethod1 Method2 TestMethod2 Test Identificator -Package: P2 P1 P2 P3 P1 P2 -Reference: Class Method Package | Class Method Package Class Method Package | NoRef Class Method Package - • | | | | | | | | | | | | | | FirstLevelSendersInsideWithRefInClass - | • | | | | | | | | | | | | | FirstLevelSendersInsideWithRefInMethod - | | • • | | | | | | | | • | | SecondLevelSendersInsideTestOutsideWithRefInClass - | | | • | | | | | | | | | • | SecondLevelSendersInsideTestOutsideWithRefInMethod - | | | • | | | | | | | | | | • SecondLevelSendersInsideTestOutsideWithRefInPackage - | | | | • | | | | | • | | | | SecondLevelSendersOutsidesideTestInsideWithRefInClass - | | | | | • | | | | • | | | | SecondLevelSendersOutsidesideTestInsideWithRefInMethod - | | | | | | • | | | • | | | | SecondLevelSendersOutsidesideTestInsideWithRefInPackage - | | | | | | | | • | | | | • | SecondLevelSendersOutsidesideTestOutsideWithRefInMethod \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/class/isAbstract.st b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/class/isAbstract.st deleted file mode 100644 index 9b44e16..0000000 --- a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/class/isAbstract.st +++ /dev/null @@ -1,4 +0,0 @@ -testing -isAbstract - - ^ self == SmTFilterAbstractTest \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/instanceVariableNamed.fromClass..st b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/instanceVariableNamed.fromClass..st deleted file mode 100644 index 75c330d..0000000 --- a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/instanceVariableNamed.fromClass..st +++ /dev/null @@ -1,3 +0,0 @@ -helpers -instanceVariableNamed: aInstVarName fromClass: aClass - ^ (aClass instanceVariables select:[:instVar| instVar = aInstVarName ])first . \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/searchTestMethodsFor..st b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/searchTestMethodsFor..st deleted file mode 100644 index dbdfb36..0000000 --- a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/searchTestMethodsFor..st +++ /dev/null @@ -1,4 +0,0 @@ -helpers -searchTestMethodsFor: aCompiledMethod - - ^ smartFinder researchTestsForMethod: aCompiledMethod . \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/searchTestMethodsForAClass..st b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/searchTestMethodsForAClass..st deleted file mode 100644 index 752bfa5..0000000 --- a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/searchTestMethodsForAClass..st +++ /dev/null @@ -1,4 +0,0 @@ -helpers -searchTestMethodsForAClass: aClass - - ^ smartFinder smtFinder searchTestsForAClass: aClass. \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/searchTestsForInstVar.ofClass..st b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/searchTestsForInstVar.ofClass..st deleted file mode 100644 index e067f9c..0000000 --- a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/searchTestsForInstVar.ofClass..st +++ /dev/null @@ -1,3 +0,0 @@ -helpers -searchTestsForInstVar: aInstanceVariable ofClass: aClass - ^ smartFinder smtFinder searchTestsForAInstVar: aInstanceVariable OfClass: aClass \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/setUp.st b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/setUp.st deleted file mode 100644 index cf49713..0000000 --- a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/setUp.st +++ /dev/null @@ -1,22 +0,0 @@ -running -setUp - super setUp. - smartFinder := SmartFinder new. - smartFinder filter: SmTDefaultPackagesFilter new. - testMethod1FirstLevelSendersInsidePackage := (('SmTClass' , 'TestP1') asClass - >> ('test' , 'Method1FirstLevelSendersInsidePackage') asSymbol) asRingDefinition. - testMethod1FirstLevelSendersOutsidePackage := (('SmTClass' , 'TestP2Test') asClass - >> ('test' , 'Method1FirstLevelSendersOutsidePackage') asSymbol) asRingDefinition. - testMethod2SecondLevelSendersInsidePackageWithTestInside := (('SmTClass' , 'TestP1') - asClass >> ('test' , 'Method2SecondLevelSendersInsidePackageWithTestInside') asSymbol) - asRingDefinition. - testMethod2SecondLevelSendersOutsidePackageWithTestInside := (('SmTClass' , 'TestP1') - asClass >> ('test' , 'Method2SecondLevelSendersOutsidePackageWithTestInside') asSymbol) - asRingDefinition. - testMethod2SecondLevelSendersInsidePackageWithTestOutside := (('SmTClass' , 'TestP2Test') - asClass >> ('test' , 'Method2SecondLevelSendersInsidePackageWithTestOutside') asSymbol) - asRingDefinition. - testMethod2SecondLevelSendersOutsidePackageWithTestOutside := (('SmTClass' , 'TestP2Test') - asClass - >> ('test' , 'Method2SecondLevelSendersOutsidePackageWithTestOutside') asSymbol) - asRingDefinition \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/tearDown.st b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/tearDown.st deleted file mode 100644 index 409a9d5..0000000 --- a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/tearDown.st +++ /dev/null @@ -1,4 +0,0 @@ -running -tearDown - smartFinder clean. - super tearDown \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassAbstractTestCaseDoesntRedefineMethod.st b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassAbstractTestCaseDoesntRedefineMethod.st deleted file mode 100644 index bb4763e..0000000 --- a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassAbstractTestCaseDoesntRedefineMethod.st +++ /dev/null @@ -1,10 +0,0 @@ -test -modification on class -testClassAbstractTestCaseDoesntRedefineMethod -"In this test we want to assert that if the modified class has subclasses, SmartTest finds all the inherited methods (implemented or not)" - - | testsFound testMethodSubClass1 testMethodSubClass2 | - testsFound := self searchTestMethodsForAClass: (('SmTP1ClassTestAbstractTestCase') asClass). - testMethodSubClass1 := RGMethodDefinition className: ('SmTP1ClassTestSubClassDoesntRedefine','Method') selector:('testModificationOnClassAbstract','TestCase') isMetaSide: false. - testMethodSubClass2 := RGMethodDefinition className: ('SmTP1ClassTestSubclassRedefines','Method') selector:('testModificationOnClassAbstract','TestCase') isMetaSide: false. - self assert: (testsFound includes: testMethodSubClass1). - self assert: (testsFound includes: testMethodSubClass2). \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassAbstractTestCaseRedefinesMethod.st b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassAbstractTestCaseRedefinesMethod.st deleted file mode 100644 index cd18903..0000000 --- a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassAbstractTestCaseRedefinesMethod.st +++ /dev/null @@ -1,8 +0,0 @@ -test -modification on class -testClassAbstractTestCaseRedefinesMethod -"In this test we want to assert that if the modified class has subclasses, SmartTest finds all the inherited methods (implemented or not)" - - | testsFound testMethodSubClass1 testMethodSubClass2 | - testsFound := self searchTestMethodsForAClass: (('SmTP1ClassTestAbstractTestCase') asClass). - testMethodSubClass2 := RGMethodDefinition className: ('SmTP1ClassTestSubclassRedefines','Method') selector:('testModificationOnClassAbstract','TestCase') isMetaSide: false. - self assert: (testsFound includes: testMethodSubClass2). \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassInheritanceSubClass1.st b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassInheritanceSubClass1.st deleted file mode 100644 index 2411b3e..0000000 --- a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassInheritanceSubClass1.st +++ /dev/null @@ -1,8 +0,0 @@ -test -modification on class -testClassInheritanceSubClass1 - - | testsFound testMethodSubClass2 | - testsFound := self searchTestMethodsForAClass: (('SmTP1ClassTestSubClass','DoesntRedefineMethod') asClass). - testMethodSubClass2 := RGMethodDefinition className: ('SmTP1ClassTestSubClass','DoesntRedefineMethod') selector:('testModificationOnClass','AbstractTestCase') isMetaSide: false. - self assert: testsFound size equals: 1. - self assert: (testsFound includes: testMethodSubClass2). \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassInsidePackageWithRef.st b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassInsidePackageWithRef.st deleted file mode 100644 index a51df6d..0000000 --- a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassInsidePackageWithRef.st +++ /dev/null @@ -1,8 +0,0 @@ -test -modification on class -testClassInsidePackageWithRef -"In this test, we want to assert that if the class is used in a method, we find the tests related to this method." - - | testsFound | - testsFound := self searchTestMethodsForAClass: ('SmTClassModificationOnClass','InsidePackageWithRef') asClass. - self assert: testsFound size equals: 1. - self assert: (testsFound includes: ((('SmTClassModificationOnClassInsidePackageTestOutside','WithRefTest') asClass >> ('testRefToSmTClassModificationOnClassInsidePackageWithRef') asSymbol) asRingDefinition )). \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassOutsidePackageWithRef.st b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassOutsidePackageWithRef.st deleted file mode 100644 index 33066bb..0000000 --- a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassOutsidePackageWithRef.st +++ /dev/null @@ -1,8 +0,0 @@ -test -modification on class -testClassOutsidePackageWithRef -"In this test, we want to assert that if the class is used in a method, we find the tests related to this method." - - | testsFound | - testsFound := self searchTestMethodsForAClass: ('SmTClassModificationOnClass','OutsidePackageWithRef') asClass. - self assert: testsFound size equals: 1. - self assert: (testsFound includes: ((('SmTClassModificationOnClassOutsidePackageWith','RefTest') asClass >> ('testRefToSmTClassModificationOnClass','OutsidePackageWithRef') asSymbol) asRingDefinition )). \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassSimpleTestCase.st b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassSimpleTestCase.st deleted file mode 100644 index d96f706..0000000 --- a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassSimpleTestCase.st +++ /dev/null @@ -1,8 +0,0 @@ -test -modification on class -testClassSimpleTestCase -"In this test we want to assert that SmartTest finds the test owned directly by a class." - - | testsFound | - testsFound := self searchTestMethodsForAClass: ('SmTClassModificationOnClass','SimpleTestCase') asClass. - self assert: testsFound size equals: 1. - self assert: (testsFound includes: ((('SmTClassModificationOnClass','SimpleTestCase') asClass >> ('testModificationOnClass','SimpleTestCase') asSymbol) asRingDefinition )). \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassTestsInside.st b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassTestsInside.st deleted file mode 100644 index a3a3c1b..0000000 --- a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassTestsInside.st +++ /dev/null @@ -1,7 +0,0 @@ -test -modification on class -testClassTestsInside -"In this test we want to assert that SmartTest finds the test owned directly by a class." - - | testsFound | - testsFound := self searchTestMethodsForAClass: ('SmTClassTest','P2Test') asClass. - self assert: (testsFound includes: ((('SmTClassTest','P2Test') asClass >> ('testMethod1FirstLevelSendersOutsideWithRefIn','Class') asSymbol) asRingDefinition )). \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testExtensionMethodFirstLevelSendersInside.st b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testExtensionMethodFirstLevelSendersInside.st deleted file mode 100644 index 836f010..0000000 --- a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testExtensionMethodFirstLevelSendersInside.st +++ /dev/null @@ -1,7 +0,0 @@ -test - extension method -testExtensionMethodFirstLevelSendersInside - - | testsFound | - testsFound := self searchTestMethodsFor:( ('SmT','ExtensionP2Test') asClass >> ('extensionMethod1FirstLevelSenders','Inside') asSymbol). - self assert: (testsFound includes: ((('SmT','ClassTestP1') asClass >> ('testExtensionMethod1FirstLevelSenders','Inside') asSymbol) asRingDefinition)). - \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testExtensionMethodFirstLevelSendersOutside.st b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testExtensionMethodFirstLevelSendersOutside.st deleted file mode 100644 index ad65fd1..0000000 --- a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testExtensionMethodFirstLevelSendersOutside.st +++ /dev/null @@ -1,7 +0,0 @@ -test - extension method -testExtensionMethodFirstLevelSendersOutside - - | testsFound | - testsFound := self searchTestMethodsFor:( ('SmT','ExtensionP2Test') asClass >> ('extensionMethod1FirstLevelSenders','Outside') asSymbol). - self assert: (testsFound includes: ((('SmT','ClassTestP2Test') asClass >> ('testExtensionMethod1FirstLevelSenders','Outside') asSymbol) asRingDefinition )). - \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testExtensionMethodSecondLevelSendersInside.st b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testExtensionMethodSecondLevelSendersInside.st deleted file mode 100644 index 6394ed5..0000000 --- a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testExtensionMethodSecondLevelSendersInside.st +++ /dev/null @@ -1,8 +0,0 @@ -test - extension method -testExtensionMethodSecondLevelSendersInside - - | testsFound | - testsFound := self searchTestMethodsFor:( ('SmT','ExtensionP1') asClass >> ('extensionMethod1','SecondLevelSenders') asSymbol). - - self deny: (testsFound includes: ((('SmT','ClassTestP3') asClass >> ('testExtensionMethod2','SecondLevelSenders') asSymbol) asRingDefinition )). - \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testExtensionTestInside.st b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testExtensionTestInside.st deleted file mode 100644 index 3959a77..0000000 --- a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testExtensionTestInside.st +++ /dev/null @@ -1,8 +0,0 @@ -test - extension method -testExtensionTestInside - - | testsFound | - testsFound := self searchTestMethodsFor:( ('SmT','ExtensionP4') asClass >> ('method1ExtensionTest','Inside') asSymbol). - - self deny: (testsFound includes: ((('SmT','ClassTestP3') asClass >> ('testMethod1ExtensionTest','Inside') asSymbol) asRingDefinition )). - \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testInstVarInsideClass.st b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testInstVarInsideClass.st deleted file mode 100644 index d6ae7ff..0000000 --- a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testInstVarInsideClass.st +++ /dev/null @@ -1,9 +0,0 @@ -test - instance variable -testInstVarInsideClass -"In this test we want to assert that if the modified class has subclasses, SmartTest finds all the inherited methods (implemented or not)" - - | testsFound aInstVar| - aInstVar := self instanceVariableNamed: 'instVarModificationOnVariableInsideClass' fromClass: (('SmTClassP1ModificationOn','VariableInsideClassTest') asClass). - testsFound := self searchTestsForInstVar: aInstVar ofClass: (('SmTClassP1ModificationOn','VariableInsideClassTest') asClass). - self assert: (testsFound includes: (('SmTClassP1ModificationOn','VariableInsideClassTest') asClass >> ('testModificationOnVariable','InsideClass')asSymbol)asRingDefinition ). - \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testInstVarInsidePackage.st b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testInstVarInsidePackage.st deleted file mode 100644 index 3463639..0000000 --- a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testInstVarInsidePackage.st +++ /dev/null @@ -1,9 +0,0 @@ -test - instance variable -testInstVarInsidePackage -"In this test we want to assert that if the modified class has subclasses, SmartTest finds all the inherited methods (implemented or not)" - - | testsFound aInstVar| - aInstVar := self instanceVariableNamed: 'instVarModificationOnVariableInsidePackage' fromClass: ('SmTClassP1ModificationOn','Variable') asClass. - testsFound := self searchTestsForInstVar: aInstVar ofClass: ('SmTClassP1ModificationOn','Variable') asClass. - self assert: (testsFound includes: (('SmTClassP1ModificationOnVariable','InsidePackageTest') asClass >> ('testModificationOnVariable','InsidePackage')asSymbol)asRingDefinition ). - \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testInstVarOutsidePackage.st b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testInstVarOutsidePackage.st deleted file mode 100644 index ae3a2b3..0000000 --- a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testInstVarOutsidePackage.st +++ /dev/null @@ -1,9 +0,0 @@ -test - instance variable -testInstVarOutsidePackage -"In this test we want to assert that if the modified class has subclasses, SmartTest finds all the inherited methods (implemented or not)" - - | testsFound aInstVar| - aInstVar := self instanceVariableNamed: 'instVarModificationOnVariableOutsidePackage' fromClass: ('SmTClassP1ModificationOnVariable') asClass . - testsFound := self searchTestsForInstVar: aInstVar ofClass: ('SmTClassP1ModificationOnVariable') asClass. - self assert: (testsFound includes: (('SmTClassP1ModificationOnVariable','OutsidePackageTest') asClass >> ('testModificationOnVariable','OutsidePackage')asSymbol)asRingDefinition ). - \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersInsidePackage.st b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersInsidePackage.st deleted file mode 100644 index e377f08..0000000 --- a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersInsidePackage.st +++ /dev/null @@ -1,13 +0,0 @@ -test - standard method - first level sender -testStandardMethodFirstLevelSendersInsidePackage - - "method1 is called by testMethod1, a tests owned by the same package as method1, the only test found should be testMethod1" - "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" - - | testsFound | - testsFound := self searchTestMethodsFor:( ('SmTClass','P1') asClass >> ('method1','FirstLevelSendersInsidePackage') asSymbol). - self assert: testsFound size equals: 1. - self assert: (testsFound includes: testMethod1FirstLevelSendersInsidePackage). - - - \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st deleted file mode 100644 index 083ce27..0000000 --- a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st +++ /dev/null @@ -1,13 +0,0 @@ -test - standard method - first level sender -testStandardMethodFirstLevelSendersOutsidePackage - - "method1 is called by testMethod2, a test not owned by the same package as method1, thus it should not be found" - "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" - - | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClass','P1') asClass >> ('method1','FirstLevelSendersOutsidePackage') asSymbol). - self assert: (testsFound isEmpty ). - self deny: (testsFound includes: testMethod1FirstLevelSendersOutsidePackage). - - - \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st deleted file mode 100644 index eb29a66..0000000 --- a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st +++ /dev/null @@ -1,12 +0,0 @@ -test - standard method - first level sender -testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass - - "method1 is called by testMethod1" - "P1 : method1 - P2 : testMethod1, the reference is made in the class of testMethod1" - "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" - - | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClassP1FirstLevelSendersOutsideWithRefIn','Class') asClass >> ('method1','FirstLevelSendersWithRefInClass') asSymbol). - self assert: testsFound isEmpty. - self deny: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod1FirstLevelSendersOutsideWithRefIn','Class') asSymbol) asRingDefinition ). \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st deleted file mode 100644 index c32ed4f..0000000 --- a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st +++ /dev/null @@ -1,12 +0,0 @@ -test - standard method - first level sender -testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod - - "method1 is called by testMethod1" - "P1 : method1 - P2 : testMethod1, the reference is made in testMethod1" - "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" - - | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClassP1FirstLevelSendersOutsideWithRefIn','Method') asClass >> ('method1','FirstLevelSendersWithRefInMethod') asSymbol). - self assert: testsFound isEmpty. - self deny: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod1FirstLevelSendersOutsideWithRefIn','Method') asSymbol) asRingDefinition ). \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st deleted file mode 100644 index 4813918..0000000 --- a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st +++ /dev/null @@ -1,13 +0,0 @@ -test - standard method - first level sender -testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage - - "method1 is called by testMethod1" - "P1 : method1 - P2 : testMethod1, the reference is made in the package of testMethod1" - "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" - - | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClassP1FirstLevelSendersOutsideWithRefIn','Package') asClass >> ('method1FirstLevelSendersWithRefIn','Package') asSymbol). - self assert: testsFound isEmpty. - self deny: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod1FirstLevelSendersOutsideWithRefIn','Package') asSymbol) asRingDefinition ). - \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestInside.st b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestInside.st deleted file mode 100644 index 3b02fd1..0000000 --- a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestInside.st +++ /dev/null @@ -1,14 +0,0 @@ -test - standard method - second level sender -testStandardMethodSecondLevelSendersInsidePackageWithTestInside - - "method1 is called by method2, which itself is called by testMethod2, a tests owned by the same package as myMethod1, thus testMethod2 should be found. - We never go out of the package so it's normal." - "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" - - | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClass','P1') asClass >> ('method1','SecondLevelSendersInsidePackageWithTestInside') asSymbol). - self assert: testsFound size equals: 1. - self assert: (testsFound includes: testMethod2SecondLevelSendersInsidePackageWithTestInside ). - - - \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestOutside.st b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestOutside.st deleted file mode 100644 index cc86fcb..0000000 --- a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestOutside.st +++ /dev/null @@ -1,13 +0,0 @@ -test - standard method - second level sender -testStandardMethodSecondLevelSendersInsidePackageWithTestOutside - - "method1 is called by method2, which itself is called by testMethod2, a test not owned by the same package as method1, thus testMethod2 should not be found. - We go out of the package once so it's normal hat the test is not found." - "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" - | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClass','P1') asClass >> ('method1','SecondLevelSendersInsidePackageWithTestOutside') asSymbol). - self assert: (testsFound isEmpty ). - self deny: (testsFound includes: testMethod2SecondLevelSendersInsidePackageWithTestOutside ). - - - \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st deleted file mode 100644 index e1c1e64..0000000 --- a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st +++ /dev/null @@ -1,13 +0,0 @@ -test - standard method - second level sender - with references -testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass - - "method1 is called by method 2,itself called by testMethod1" - "P1 : method1 and method2 - P2 : testMethod2, the reference is made in the class of testMethod2" - "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" - - | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersInsideTestOutsideWithRefIn','Class') asClass >> ('method1SecondLevelSendersInsideTestOutsideWithRefIn','Class') asSymbol). - self assert: testsFound isEmpty. - self deny: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod2SecondLevelSenderInsideTestOutsideWithRefIn','Class') asSymbol) asRingDefinition ). - \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st deleted file mode 100644 index d3c8a56..0000000 --- a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st +++ /dev/null @@ -1,13 +0,0 @@ -test - standard method - second level sender - with references -testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod - - "method1 is called by method 2,itself called by testMethod1" - "P1 : method1 and method2 - P2 : testMethod2, the reference is made in testMethod2" - "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" - - | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersInsideTestOutsideWithRefIn','Method') asClass >> ('method1SecondLevelSendersInsideTestOutsideWithRefIn','Method') asSymbol). - self assert: testsFound isEmpty. - self deny: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod2SecondLevelSenderInsideTestOutsideWithRefIn','Method')asSymbol) asRingDefinition ). - \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st deleted file mode 100644 index 3e0debf..0000000 --- a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st +++ /dev/null @@ -1,13 +0,0 @@ -test - standard method - second level sender - with references -testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage - - "method1 is called by method 2,itself called by testMethod1" - "P1 : method1 and method2 - P2 : testMethod2, the reference is made in the package of testMethod2" - "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" - - | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersInsideTestOutsideWithRefIn','Package') asClass >> ('method1SecondLevelSendersInsideTestOutsideWithRefIn','Package') asSymbol). - self assert: testsFound isEmpty. - self deny: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod2SecondLevelSenderInsideTestOutsideWithRefIn','Package') asSymbol) asRingDefinition ). - \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestInside.st b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestInside.st deleted file mode 100644 index 9af20e5..0000000 --- a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestInside.st +++ /dev/null @@ -1,14 +0,0 @@ -test - standard method - second level sender -testStandardMethodSecondLevelSendersOutsidePackageWithTestInside - - "method1 is called by method2, which itself is called by testMethod2, thus testMethod2 should not be found. - We go out of the package once so it's normal hat the test is not found." - "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" - - | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClass','P1') asClass >> ('method1','SecondLevelSendersOutsidePackageWithTestInside') asSymbol). - self assert: (testsFound isEmpty ). - self deny: (testsFound includes: testMethod2SecondLevelSendersOutsidePackageWithTestInside ). - - - \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestOutside.st b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestOutside.st deleted file mode 100644 index bda0954..0000000 --- a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestOutside.st +++ /dev/null @@ -1,13 +0,0 @@ -test - standard method - second level sender -testStandardMethodSecondLevelSendersOutsidePackageWithTestOutside - - "method1 is called by method2, which itself is called by testMethod2, thus testMethod2 should not be found. - We go out of the package once so it's normal hat the test is not found." - "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" - | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClass','P1') asClass >> ('method1','SecondLevelSendersOutsidePackageWithTestOutside') asSymbol). - self assert: (testsFound isEmpty ). - self deny: (testsFound includes: testMethod2SecondLevelSendersOutsidePackageWithTestOutside ). - - - \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st deleted file mode 100644 index 1db8746..0000000 --- a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st +++ /dev/null @@ -1,13 +0,0 @@ -test - standard method - second level sender - with references -testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass - - "method1 is called by method 2,itself called by testMethod1" - "P1 : method1 and testMethod2 - P2 : method2, the reference is made in the class of method2" - "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" - - | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersOutsideTestInsideWithRefIn','Class') asClass >> ('method1SecondLevelSendersOutsideTestInsideWithRefIn','Class') asSymbol). - self assert: testsFound isEmpty. - self deny: (testsFound includes: (('SmTClassTest','P1') asClass >> ('testMethod2SecondLevelSendersOutsideTestInsideWithRefIn','Class') asSymbol) asRingDefinition ). - \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st deleted file mode 100644 index 0ee7b35..0000000 --- a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st +++ /dev/null @@ -1,13 +0,0 @@ -test - standard method - second level sender - with references -testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod - - "method1 is called by method 2,itself called by testMethod1" - "P1 : method1 and testMethod2 - P2 : method2, the reference is made in method2" - "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" - - | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersOutsideTestInsideWithRefIn','Method') asClass >> ('method1SecondLevelSendersOutsideTestInsideWithRefIn','Method') asSymbol). - self assert: testsFound isEmpty. - self deny: (testsFound includes: (('SmTClassTest','P1') asClass >> ('testMethod2SecondLevelSendersOutsideTestInsideWithRefIn','Method') asSymbol) asRingDefinition ). - \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st deleted file mode 100644 index 0fb7e51..0000000 --- a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st +++ /dev/null @@ -1,13 +0,0 @@ -test - standard method - second level sender - with references -testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage - - "method1 is called by method 2,itself called by testMethod1" - "P1 : method1 and testMethod2 - P2 : method2, the reference is made in the package of method2" - "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" - - | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersOutsideTestInsideWithRefIn','Package') asClass >> ('method1SecondLevelSendersOutsideTestInsideWithRefIn','Package') asSymbol). - self assert: testsFound isEmpty. - self deny: (testsFound includes: (('SmTClassTest','P1') asClass >> ('testMethod2SecondLevelSendersOutsideTestInsideWithRefIn','Package') asSymbol) asRingDefinition ). - \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefInMethod.st b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefInMethod.st deleted file mode 100644 index cb7c41b..0000000 --- a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefInMethod.st +++ /dev/null @@ -1,14 +0,0 @@ -test - standard method - second level sender - with references -testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefInMethod - - "method1 is called by method 2,itself called by testMethod1" - "P1 : Class1 >> method1 - P2 : Class2 >> method2, the reference to Class1 is made in method2 - P3 : Class3 >> testMethod2, the reference to Class1 is made in testMethod2" - "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" - - | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefIn','Method') asClass >> ('method1SecondLevelSendersOutsideTestOutsideWithRefIn','Method') asSymbol). - self assert: testsFound isEmpty. - self deny: (testsFound includes: (('SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefIn','Method') asClass >> ('testMethod2SecondLevelSenderOutsideTestOutsideWithRefIn','Method') asSymbol) asRingDefinition ). - \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/properties.json b/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/properties.json deleted file mode 100644 index fc3df9f..0000000 --- a/src/SmartTest-Tests.package/SmTFilterAbstractTest.class/properties.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "commentStamp" : "eleonoreW 6/15/2018 10:07", - "super" : "TestCase", - "category" : "SmartTest-Tests-Filter", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "smartFinder", - "testMethod1FirstLevelSendersOutsidePackage", - "testMethod2SecondLevelSendersInsidePackageWithTestInside", - "testMethod2SecondLevelSendersInsidePackageWithTestOutside", - "testMethod2SecondLevelSendersOutsidePackageWithTestOutside", - "testmethod1FirstLevelSendersInsidePackage", - "testMethod1FirstLevelSendersInsidePackage", - "testMethod2SecondLevelSendersOutsidePackageWithTestInside" - ], - "name" : "SmTFilterAbstractTest", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/README.md b/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/README.md deleted file mode 100644 index a06cbe2..0000000 --- a/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/README.md +++ /dev/null @@ -1,7 +0,0 @@ -This class exists to test the behaviour of the different finders with diffeent settings. -TODO - - - test setUp method with teardown - - test setUp method with setup - - test tearDown with setup - - test tearDown with teardown \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/class/isAbstract.st b/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/class/isAbstract.st deleted file mode 100644 index af93968..0000000 --- a/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/class/isAbstract.st +++ /dev/null @@ -1,4 +0,0 @@ -testing -isAbstract - - ^ self == SmTFinderAbstractTest \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/searchTestMethodsFor..st b/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/searchTestMethodsFor..st deleted file mode 100644 index dbdfb36..0000000 --- a/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/searchTestMethodsFor..st +++ /dev/null @@ -1,4 +0,0 @@ -helpers -searchTestMethodsFor: aCompiledMethod - - ^ smartFinder researchTestsForMethod: aCompiledMethod . \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/searchTestsForASetUpMethod..st b/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/searchTestsForASetUpMethod..st deleted file mode 100644 index dbb2c8c..0000000 --- a/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/searchTestsForASetUpMethod..st +++ /dev/null @@ -1,3 +0,0 @@ -helpers -searchTestsForASetUpMethod: aCompiledMethod - ^ smartFinder searchTestsForASetUpMethod: aCompiledMethod \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/searchTestsForATearDownMethod..st b/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/searchTestsForATearDownMethod..st deleted file mode 100644 index 98d7510..0000000 --- a/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/searchTestsForATearDownMethod..st +++ /dev/null @@ -1,3 +0,0 @@ -helpers -searchTestsForATearDownMethod: aCompiledMethod - ^ smartFinder searchTestsForATearDownMethod: aCompiledMethod \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/searchTestsForATestMethod..st b/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/searchTestsForATestMethod..st deleted file mode 100644 index 3f5f50e..0000000 --- a/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/searchTestsForATestMethod..st +++ /dev/null @@ -1,3 +0,0 @@ -helpers -searchTestsForATestMethod: aCompiledMethod - ^ smartFinder searchTestsForATestMethod: aCompiledMethod \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/setUp.st b/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/setUp.st deleted file mode 100644 index a70a11e..0000000 --- a/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/setUp.st +++ /dev/null @@ -1,12 +0,0 @@ -running -setUp - super setUp. - self timeLimit: 45 seconds. "super super long time for travis CI" - smartFinder := SmartFinder new. - smartFinder filter: SmTDefaultClassPackagesFilter new. - testMethod1 := (SmTClassTest >> #testMethod1) asRingDefinition. - testMethod2 := (SmTClassTest >> #testMethod2) asRingDefinition. - testMethod3 := (SmTClassTest >> #testMethod3) asRingDefinition. - testMethod4 := (SmTClassTest >> #testMethod4) asRingDefinition. - testMethod5 := (SmTClassTest >> #testMethod5) asRingDefinition. - testInheritedMethod1 := RGMethodDefinition className: 'SmTInheritClassTest' selector: #testMethod1 isMetaSide: false \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/tearDown.st b/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/tearDown.st deleted file mode 100644 index b78936f..0000000 --- a/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/tearDown.st +++ /dev/null @@ -1,6 +0,0 @@ -running -tearDown - "reset the cache" - smartFinder resetCache. - smartFinder clean. - super tearDown \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testInheritance.st b/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testInheritance.st deleted file mode 100644 index 9375096..0000000 --- a/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testInheritance.st +++ /dev/null @@ -1,9 +0,0 @@ -tests -testInheritance - - | testsFound testMethod | - testsFound := self searchTestMethodsFor: ('SmTP1' , 'Inheritance') asClass >> ('method1','Inheritance') asSymbol . -testMethod := RGMethodDefinition className: ('SmTP1InheritanceSubClass2','Test') selector:('testMethod1','Inheritance') asSymbol isMetaSide: false. - self assert: testsFound size equals: 2. - self assert: (testsFound includes: ((('SmTP1InheritanceSubClass1Test') asClass >> ('testMethod1Inheritance') asSymbol) asRingDefinition )). - self assert: (testsFound includes: (testMethod) ). \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testModificationOnInitialize.st b/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testModificationOnInitialize.st deleted file mode 100644 index 309c626..0000000 --- a/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testModificationOnInitialize.st +++ /dev/null @@ -1,16 +0,0 @@ -tests -testModificationOnInitialize - - | testsFound |self - timeLimit: - 35 - seconds. - "this one needs more time than the other" - self flag: 'Takes a very long time'. - testsFound := self searchTestMethodsFor: SmTClass2 >> #initialize. - - self deny: (testsFound includes: testMethod1). - self deny: (testsFound includes: testMethod2). - self deny: (testsFound includes: testMethod3). - self deny: (testsFound includes: testMethod4). - self assert: (testsFound includes: testMethod5). \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testModificationOnTest.st b/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testModificationOnTest.st deleted file mode 100644 index accd56b..0000000 --- a/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testModificationOnTest.st +++ /dev/null @@ -1,10 +0,0 @@ -tests -testModificationOnTest -"asserts that if a test method is modified, the tests founds includes itself." - - | testsFound | - testsFound := self searchTestMethodsFor: SmTClassTest >> #testMethod4. - self deny: (testsFound includes: testMethod1). - self deny: (testsFound includes: testMethod2). - self deny: (testsFound includes: testMethod3). - self assert: (testsFound includes: testMethod4). \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testSetupMethodFindsTests.st b/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testSetupMethodFindsTests.st deleted file mode 100644 index d2f60ed..0000000 --- a/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testSetupMethodFindsTests.st +++ /dev/null @@ -1,12 +0,0 @@ -tests -testSetupMethodFindsTests -"asserts that the method SmTClassTest>>setup is related to the testMethods 1 to 4 and that 'testsForASetupMethod' finds all the good tests related to a setup method." - - | testsFound | - testsFound := self searchTestsForASetUpMethod: SmTClassTest >> #setUp. - - self assert: testsFound isNotEmpty. - self assert: (testsFound includes: testMethod1). - self assert: (testsFound includes: testMethod2). - self assert: (testsFound includes: testMethod3). - self assert: (testsFound includes: testMethod4). \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testSetupMethodWithNonSetupFindsNoTests.st b/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testSetupMethodWithNonSetupFindsNoTests.st deleted file mode 100644 index aeb7567..0000000 --- a/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testSetupMethodWithNonSetupFindsNoTests.st +++ /dev/null @@ -1,8 +0,0 @@ -tests -testSetupMethodWithNonSetupFindsNoTests -"asserts that if we use the method 'testsForASetupMethod' with a non setup method as a parameter, the method returns nothing" - - | testsFound | - testsFound := self searchTestsForASetUpMethod: SmTClassTest >> #testMethod1. - - self assert: testsFound isEmpty. \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testStandardMethodFirstLevelSenders.st b/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testStandardMethodFirstLevelSenders.st deleted file mode 100644 index 2be6d36..0000000 --- a/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testStandardMethodFirstLevelSenders.st +++ /dev/null @@ -1,9 +0,0 @@ -tests -testStandardMethodFirstLevelSenders - - | testsFound | - testsFound := self searchTestMethodsFor: SmTClass >> #method2. - self deny: (testsFound includes: testMethod1). - self assert: (testsFound includes: testMethod2). - self deny: (testsFound includes: testMethod3). - self deny: (testsFound includes: testMethod4). \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testStandardMethodSecondLevelSenders.st b/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testStandardMethodSecondLevelSenders.st deleted file mode 100644 index 75bc533..0000000 --- a/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testStandardMethodSecondLevelSenders.st +++ /dev/null @@ -1,10 +0,0 @@ -tests -testStandardMethodSecondLevelSenders - - | testsFound | - testsFound := self searchTestMethodsFor: SmTClass >> #method1. - self assert: (testsFound includes: testMethod1). - self assert: (testsFound includes: testMethod2). - self assert: (testsFound includes: testInheritedMethod1). - self deny: (testsFound includes: testMethod3). - self deny: (testsFound includes: testMethod4). \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testStandardMethodThirdLevelSenders.st b/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testStandardMethodThirdLevelSenders.st deleted file mode 100644 index 59fb15a..0000000 --- a/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testStandardMethodThirdLevelSenders.st +++ /dev/null @@ -1,10 +0,0 @@ -tests -testStandardMethodThirdLevelSenders - - | testsFound | - testsFound := self searchTestMethodsFor: SmTClass >> #method4. - - self deny: (testsFound includes: testMethod1). - self assert: (testsFound includes: testMethod2). - self assert: (testsFound includes: testMethod3). - self assert: (testsFound includes: testMethod4). \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testTearDownMethodFindsTests.st b/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testTearDownMethodFindsTests.st deleted file mode 100644 index 4d100d6..0000000 --- a/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testTearDownMethodFindsTests.st +++ /dev/null @@ -1,11 +0,0 @@ -tests -testTearDownMethodFindsTests - - | testsFound | - testsFound := self searchTestsForATearDownMethod: SmTClassTest >> #tearDown. - - self assert: testsFound isNotEmpty. - self assert: (testsFound includes: testMethod1). - self assert: (testsFound includes: testMethod2). - self assert: (testsFound includes: testMethod3). - self assert: (testsFound includes: testMethod4). \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testTearDownMethodWithNoneTearDownFindsNoTests.st b/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testTearDownMethodWithNoneTearDownFindsNoTests.st deleted file mode 100644 index 898c8dd..0000000 --- a/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testTearDownMethodWithNoneTearDownFindsNoTests.st +++ /dev/null @@ -1,5 +0,0 @@ -tests -testTearDownMethodWithNoneTearDownFindsNoTests - - - self assert: (self searchTestsForATearDownMethod: SmTClassTest >> #testMethod1) isEmpty. \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testTestSelfSelected.st b/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testTestSelfSelected.st deleted file mode 100644 index 245e871..0000000 --- a/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testTestSelfSelected.st +++ /dev/null @@ -1,10 +0,0 @@ -tests -testTestSelfSelected - - | testsFound | - testsFound := self searchTestsForATestMethod: SmTClassTest >> #testMethod1. - - self assert: (testsFound includes: testMethod1). - self deny: (testsFound includes: testMethod2). - self deny: (testsFound includes: testMethod3). - self deny: (testsFound includes: testMethod4). \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/properties.json b/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/properties.json deleted file mode 100644 index f5274de..0000000 --- a/src/SmartTest-Tests.package/SmTFinderAbstractTest.class/properties.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/3/2018 14:21", - "super" : "TestCase", - "category" : "SmartTest-Tests-Finder", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "cache", - "smartFinder", - "testMethod2", - "testMethod1", - "testMethod3", - "testMethod4", - "testMethod5", - "testInheritedMethod1", - "testMethodOutsidePackage1", - "testMethod1OutsidePackage" - ], - "name" : "SmTFinderAbstractTest", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTOnModificationTest.class/README.md b/src/SmartTest-Tests.package/SmTOnModificationTest.class/README.md deleted file mode 100644 index 226ef0c..0000000 --- a/src/SmartTest-Tests.package/SmTOnModificationTest.class/README.md +++ /dev/null @@ -1 +0,0 @@ -A CORAOnModificationTest is a test class for testing the behavior of CORAOnModification \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTOnModificationTest.class/instance/setUp.st b/src/SmartTest-Tests.package/SmTOnModificationTest.class/instance/setUp.st deleted file mode 100644 index ba85017..0000000 --- a/src/SmartTest-Tests.package/SmTOnModificationTest.class/instance/setUp.st +++ /dev/null @@ -1,4 +0,0 @@ -tests-adding -setUp - "prepare strategy" - onModif := SmTTestingStrategyEachModification new. \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTOnModificationTest.class/instance/tearDown.st b/src/SmartTest-Tests.package/SmTOnModificationTest.class/instance/tearDown.st deleted file mode 100644 index 336c710..0000000 --- a/src/SmartTest-Tests.package/SmTOnModificationTest.class/instance/tearDown.st +++ /dev/null @@ -1,4 +0,0 @@ -tests-adding -tearDown - "prepare strategy" - onModif disable \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTOnModificationTest.class/instance/testAdd.st b/src/SmartTest-Tests.package/SmTOnModificationTest.class/instance/testAdd.st deleted file mode 100644 index 80dbedb..0000000 --- a/src/SmartTest-Tests.package/SmTOnModificationTest.class/instance/testAdd.st +++ /dev/null @@ -1,10 +0,0 @@ -tests-adding -testAdd - | el | - onModif := SmTTestingStrategyEachModification new. - self assert: onModif bag isEmpty. - el := SmTRunnerTest >> #noop. - onModif addToElementBag: el. - self assert: onModif bag size equals: 1. - self assert: (onModif bag includes: el). - onModif disable \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTOnModificationTest.class/instance/testGet.st b/src/SmartTest-Tests.package/SmTOnModificationTest.class/instance/testGet.st deleted file mode 100644 index aeaed7c..0000000 --- a/src/SmartTest-Tests.package/SmTOnModificationTest.class/instance/testGet.st +++ /dev/null @@ -1,16 +0,0 @@ -tests-adding -testGet - | el | - onModif := SmTTestingStrategyEachModification new. - el := SmTRunnerTest >> #noop. - onModif addToElementBag: el. - self - assert: (onModif getElementFromBag: SmTRunnerTest >> #testIconForTestResultGreen) - equals: nil. - self assert: onModif bag size equals: 1. - self - assert: (onModif getElementFromBag: SmTRunnerTest >> #testIconForTestResultGreen) - equals: nil. - self assert: (onModif getElementFromBag: el) equals: el. - self assert: onModif bag size equals: 0. - self assert: (onModif getElementFromBag: el) equals: nil \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTOnModificationTest.class/properties.json b/src/SmartTest-Tests.package/SmTOnModificationTest.class/properties.json deleted file mode 100644 index e1c0260..0000000 --- a/src/SmartTest-Tests.package/SmTOnModificationTest.class/properties.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "commentStamp" : "", - "super" : "TestCase", - "category" : "SmartTest-Tests-OnModification", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "onModif" - ], - "name" : "SmTOnModificationTest", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTRunnerTest.class/README.md b/src/SmartTest-Tests.package/SmTRunnerTest.class/README.md deleted file mode 100644 index 33f22f9..0000000 --- a/src/SmartTest-Tests.package/SmTRunnerTest.class/README.md +++ /dev/null @@ -1 +0,0 @@ -I test the behavior of the runner \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTRunnerTest.class/instance/noop.st b/src/SmartTest-Tests.package/SmTRunnerTest.class/instance/noop.st deleted file mode 100644 index 222948f..0000000 --- a/src/SmartTest-Tests.package/SmTRunnerTest.class/instance/noop.st +++ /dev/null @@ -1,3 +0,0 @@ -private -noop - \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTRunnerTest.class/instance/setUp.st b/src/SmartTest-Tests.package/SmTRunnerTest.class/instance/setUp.st deleted file mode 100644 index 6b316b8..0000000 --- a/src/SmartTest-Tests.package/SmTRunnerTest.class/instance/setUp.st +++ /dev/null @@ -1,3 +0,0 @@ -tests -setUp - runner := SmTRunnerStrategySmart. \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTRunnerTest.class/instance/testIconForTestResultGreen.st b/src/SmartTest-Tests.package/SmTRunnerTest.class/instance/testIconForTestResultGreen.st deleted file mode 100644 index 5aef646..0000000 --- a/src/SmartTest-Tests.package/SmTRunnerTest.class/instance/testIconForTestResultGreen.st +++ /dev/null @@ -1,6 +0,0 @@ -tests -testIconForTestResultGreen - | case result | - case := self class selector: #noop. - result := case run. - self assert: (runner iconForTestResultOf: result) equals: (self iconNamed: #testGreenIcon) \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTRunnerTest.class/instance/testIconForTestResultRed.st b/src/SmartTest-Tests.package/SmTRunnerTest.class/instance/testIconForTestResultRed.st deleted file mode 100644 index 40a2137..0000000 --- a/src/SmartTest-Tests.package/SmTRunnerTest.class/instance/testIconForTestResultRed.st +++ /dev/null @@ -1,7 +0,0 @@ -tests -testIconForTestResultRed - | case result | - case := self class selector: #error. - result := case run. - self assert: (runner iconForTestResultOf: result) equals: (self iconNamed: #testRedIcon) - \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTRunnerTest.class/instance/testIconForTestResultWhite.st b/src/SmartTest-Tests.package/SmTRunnerTest.class/instance/testIconForTestResultWhite.st deleted file mode 100644 index b9f76b0..0000000 --- a/src/SmartTest-Tests.package/SmTRunnerTest.class/instance/testIconForTestResultWhite.st +++ /dev/null @@ -1,7 +0,0 @@ -tests -testIconForTestResultWhite - | result | - result := TestResult new. - self - assert: (runner iconForTestResultOf: result) - equals: (self iconNamed: #testGreenIcon) \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTRunnerTest.class/instance/testIconForTestResultYellow.st b/src/SmartTest-Tests.package/SmTRunnerTest.class/instance/testIconForTestResultYellow.st deleted file mode 100644 index 1835e13..0000000 --- a/src/SmartTest-Tests.package/SmTRunnerTest.class/instance/testIconForTestResultYellow.st +++ /dev/null @@ -1,8 +0,0 @@ -tests -testIconForTestResultYellow - | case result | - case := self class selector: #fail. - result := case run. - self - assert: (runner iconForTestResultOf: result) - equals: (self iconNamed: #testYellowIcon) \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCaseNotifyIconGreen.st b/src/SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCaseNotifyIconGreen.st deleted file mode 100644 index c2a6f59..0000000 --- a/src/SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCaseNotifyIconGreen.st +++ /dev/null @@ -1,13 +0,0 @@ -tests -testRunCaseNotifyIconGreen - | case result anIcon | - case := self class selector: #noop. - anIcon := IconicButton new. - result := runner runCase: case notifyIcon: anIcon. - self assert: result passed size equals: 1. - self assert: result errors size equals: 0. - self assert: result failures size equals: 0. - self - assert: anIcon labelGraphic - equals: - (self iconNamed: #testGreenIcon) \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCaseNotifyIconRed.st b/src/SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCaseNotifyIconRed.st deleted file mode 100644 index 3c16bfa..0000000 --- a/src/SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCaseNotifyIconRed.st +++ /dev/null @@ -1,7 +0,0 @@ -tests -testRunCaseNotifyIconRed - | case anIcon | - case := self class selector: #error. - anIcon := IconicButton new. - self should: [runner runCase: case notifyIcon: anIcon] raise: Error . - self assert: anIcon labelGraphic equals: (self iconNamed: #testRedIcon) \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCaseNotifyIconYellow.st b/src/SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCaseNotifyIconYellow.st deleted file mode 100644 index 24ea56b..0000000 --- a/src/SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCaseNotifyIconYellow.st +++ /dev/null @@ -1,7 +0,0 @@ -tests -testRunCaseNotifyIconYellow - | case anIcon | - case := self class selector: #fail. - anIcon := IconicButton new. - self should: [ runner runCase: case notifyIcon: anIcon ] raise: TestFailure. - self assert: anIcon labelGraphic equals: (self iconNamed: #testYellowIcon) \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCasesNotifyIconGreen.st b/src/SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCasesNotifyIconGreen.st deleted file mode 100644 index 271048c..0000000 --- a/src/SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCasesNotifyIconGreen.st +++ /dev/null @@ -1,17 +0,0 @@ -tests -testRunCasesNotifyIconGreen - | case1 case2 case3 anIcon result | - case1 := self class selector: #noop. - case2 := self class selector: #noop. - case3 := self class selector: #noop. - anIcon := IconicButton new. - result := runner - runCases: - {case1. - case2. - case3} - notifyIcon: anIcon. - self assert: result passed size equals: 3. - self assert: result errors size equals: 0. - self assert: result failures size equals: 0. - self assert: anIcon labelGraphic equals: (self iconNamed: #testGreenIcon) \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCasesNotifyIconRed.st b/src/SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCasesNotifyIconRed.st deleted file mode 100644 index f8bf45f..0000000 --- a/src/SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCasesNotifyIconRed.st +++ /dev/null @@ -1,14 +0,0 @@ -tests -testRunCasesNotifyIconRed - | case1 case2 case3 anIcon | - case1 := self class selector: #error. - case2 := self class selector: #fail. - case3 := self class selector: #error. - anIcon := IconicButton new. - runner - runCases: - {case1. - case2. - case3} - notifyIcon: anIcon. - self assert: anIcon labelGraphic equals: (self iconNamed: #testRedIcon) \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCasesNotifyIconYellow.st b/src/SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCasesNotifyIconYellow.st deleted file mode 100644 index 1b3187f..0000000 --- a/src/SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCasesNotifyIconYellow.st +++ /dev/null @@ -1,9 +0,0 @@ -tests -testRunCasesNotifyIconYellow - | case1 case2 case3 anIcon | - case1 := self class selector: #noop. - case2 := self class selector: #fail. - case3 := self class selector: #noop. - anIcon := IconicButton new. - runner runCases: {case1.case2.case3} notifyIcon: anIcon. - self assert: anIcon labelGraphic equals: (self iconNamed: #testYellowIcon) \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTRunnerTest.class/properties.json b/src/SmartTest-Tests.package/SmTRunnerTest.class/properties.json deleted file mode 100644 index 90bccf8..0000000 --- a/src/SmartTest-Tests.package/SmTRunnerTest.class/properties.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "commentStamp" : "BenoitVerhaeghe 6/30/2017 14:48", - "super" : "TestCase", - "category" : "SmartTest-Tests-Runner", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "runner" - ], - "name" : "SmTRunnerTest", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/README.md b/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/README.md deleted file mode 100644 index da1eccf..0000000 --- a/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/README.md +++ /dev/null @@ -1,6 +0,0 @@ -I test the strategy SendersFinder with the filterDefaultClassPackage. -The filter should accept any test that is owned by : - - the package of the modified method; - - a package that references the class of the modified method. - -In order to be sure that those test are not considered as callers of the modified method and as references to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method. \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/setUp.st b/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/setUp.st deleted file mode 100644 index 1f0e8e4..0000000 --- a/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/setUp.st +++ /dev/null @@ -1,5 +0,0 @@ -running -setUp -"Here we want to test the SmTDefaultPackagesFilter with the static strategy 'sendersFinder' " - super setUp. - smartFinder filter: SmTDefaultClassPackagesFilter new. \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testExtensionTestInside.st b/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testExtensionTestInside.st deleted file mode 100644 index 635a00a..0000000 --- a/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testExtensionTestInside.st +++ /dev/null @@ -1,8 +0,0 @@ -tests -testExtensionTestInside - - | testsFound | - testsFound := self searchTestMethodsFor:( ('SmT','ExtensionP4') asClass >> ('method1ExtensionTest','Inside') asSymbol). - - self assert: (testsFound includes: ((('SmT','ClassTestP3') asClass >> ('testMethod1ExtensionTest','Inside') asSymbol) asRingDefinition )). - \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testInstVarOutsidePackage.st b/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testInstVarOutsidePackage.st deleted file mode 100644 index e0a1cdc..0000000 --- a/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testInstVarOutsidePackage.st +++ /dev/null @@ -1,9 +0,0 @@ -tests -testInstVarOutsidePackage -"In this test we want to assert that if the modified class has subclasses, SmartTest finds all the inherited methods (implemented or not)" - - | testsFound aInstVar| - aInstVar := self instanceVariableNamed: 'instVarModificationOnVariableOutsidePackage' fromClass: ('SmTClassP1ModificationOnVariable') asClass . - testsFound := self searchTestsForInstVar: aInstVar ofClass: ('SmTClassP1ModificationOnVariable') asClass. - self assert: testsFound size equals: 0. - \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st b/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st deleted file mode 100644 index 3711712..0000000 --- a/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st +++ /dev/null @@ -1,12 +0,0 @@ -tests -testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass - - "method1 is called by testMethod1" - "P1 : method1 - P2 : testMethod1, the reference is made in the class of testMethod1" - "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" - - | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClassP1FirstLevelSendersOutsideWithRefIn','Class') asClass >> ('method1','FirstLevelSendersWithRefInClass') asSymbol). - self assert: testsFound size equals: 1. - self assert: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod1FirstLevelSendersOutsideWithRefIn','Class') asSymbol) asRingDefinition ). \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st b/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st deleted file mode 100644 index af519a0..0000000 --- a/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st +++ /dev/null @@ -1,12 +0,0 @@ -tests -testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod - - "method1 is called by testMethod1" - "P1 : method1 - P2 : testMethod1, the reference is made in testMethod1" - "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" - - | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClassP1FirstLevelSendersOutsideWithRefIn','Method') asClass >> ('method1','FirstLevelSendersWithRefInMethod') asSymbol). - self assert: testsFound size equals: 1. - self assert: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod1FirstLevelSendersOutsideWithRefIn','Method') asSymbol) asRingDefinition ). \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st b/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st deleted file mode 100644 index e70c0c2..0000000 --- a/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st +++ /dev/null @@ -1,13 +0,0 @@ -tests -testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage - - "method1 is called by testMethod1" - "P1 : method1 - P2 : testMethod1, the reference is made in the package of testMethod1" - "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" - - | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClassP1FirstLevelSendersOutsideWithRefIn','Package') asClass >> ('method1FirstLevelSendersWithRefIn','Package') asSymbol). - self assert: testsFound size equals: 1. - self assert: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod1FirstLevelSendersOutsideWithRefIn','Package') asSymbol) asRingDefinition ). - \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st b/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st deleted file mode 100644 index be07332..0000000 --- a/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st +++ /dev/null @@ -1,13 +0,0 @@ -tests -testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass - - "method1 is called by method 2,itself called by testMethod1" - "P1 : method1 and method2 - P2 : testMethod2, the reference is made in the class of testMethod2" - "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" - - | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersInsideTestOutsideWithRefIn','Class') asClass >> ('method1SecondLevelSendersInsideTestOutsideWithRefIn','Class') asSymbol). - self assert: testsFound size equals: 1. - self assert: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod2SecondLevelSenderInsideTestOutsideWithRefIn','Class') asSymbol) asRingDefinition ). - \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st b/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st deleted file mode 100644 index 9bf9fb4..0000000 --- a/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st +++ /dev/null @@ -1,13 +0,0 @@ -tests -testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod - - "method1 is called by method 2,itself called by testMethod1" - "P1 : method1 and method2 - P2 : testMethod2, the reference is made in testMethod2" - "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" - - | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersInsideTestOutsideWithRefIn','Method') asClass >> ('method1SecondLevelSendersInsideTestOutsideWithRefIn','Method') asSymbol). - self assert: testsFound size equals: 1. - self assert: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod2SecondLevelSenderInsideTestOutsideWithRefIn','Method')asSymbol) asRingDefinition ). - \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st b/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st deleted file mode 100644 index 32d056c..0000000 --- a/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st +++ /dev/null @@ -1,13 +0,0 @@ -tests -testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage - - "method1 is called by method 2,itself called by testMethod1" - "P1 : method1 and method2 - P2 : testMethod2, the reference is made in the package of testMethod2" - "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" - - | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersInsideTestOutsideWithRefIn','Package') asClass >> ('method1SecondLevelSendersInsideTestOutsideWithRefIn','Package') asSymbol). - self assert: testsFound size equals: 1. - self assert: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod2SecondLevelSenderInsideTestOutsideWithRefIn','Package') asSymbol) asRingDefinition ). - \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st b/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st deleted file mode 100644 index 29aceea..0000000 --- a/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st +++ /dev/null @@ -1,13 +0,0 @@ -tests -testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass - - "method1 is called by method 2,itself called by testMethod1" - "P1 : method1 and testMethod2 - P2 : method2, the reference is made in the class of method2" - "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" - - | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersOutsideTestInsideWithRefIn','Class') asClass >> ('method1SecondLevelSendersOutsideTestInsideWithRefIn','Class') asSymbol). - self assert: testsFound size equals: 1. - self assert: (testsFound includes: (('SmTClassTest','P1') asClass >> ('testMethod2SecondLevelSendersOutsideTestInsideWithRefIn','Class') asSymbol) asRingDefinition ). - \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st b/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st deleted file mode 100644 index ffdcb51..0000000 --- a/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st +++ /dev/null @@ -1,13 +0,0 @@ -tests -testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod - - "method1 is called by method 2,itself called by testMethod1" - "P1 : method1 and testMethod2 - P2 : method2, the reference is made in method2" - "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" - - | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersOutsideTestInsideWithRefIn','Method') asClass >> ('method1SecondLevelSendersOutsideTestInsideWithRefIn','Method') asSymbol). - self assert: testsFound size equals: 1. - self assert: (testsFound includes: (('SmTClassTest','P1') asClass >> ('testMethod2SecondLevelSendersOutsideTestInsideWithRefIn','Method') asSymbol) asRingDefinition ). - \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st b/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st deleted file mode 100644 index 465bb6e..0000000 --- a/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st +++ /dev/null @@ -1,13 +0,0 @@ -tests -testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage - - "method1 is called by method 2,itself called by testMethod1" - "P1 : method1 and testMethod2 - P2 : method2, the reference is made in the package of method2" - "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" - - | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersOutsideTestInsideWithRefIn','Package') asClass >> ('method1SecondLevelSendersOutsideTestInsideWithRefIn','Package') asSymbol). - self assert: testsFound size equals: 1. - self assert: (testsFound includes: (('SmTClassTest','P1') asClass >> ('testMethod2SecondLevelSendersOutsideTestInsideWithRefIn','Package') asSymbol) asRingDefinition ). - \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefInMethod.st b/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefInMethod.st deleted file mode 100644 index 37379b4..0000000 --- a/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefInMethod.st +++ /dev/null @@ -1,14 +0,0 @@ -tests -testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefInMethod - - "method1 is called by method 2,itself called by testMethod1" - "P1 : Class1 >> method1 - P2 : Class2 >> method2, the reference to Class1 is made in method2 - P3 : Class3 >> testMethod2, the reference to Class1 is made in testMethod2" - "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" - - | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefIn','Method') asClass >> ('method1SecondLevelSendersOutsideTestOutsideWithRefIn','Method') asSymbol). - self assert: testsFound size equals: 1. - self assert: (testsFound includes: (('SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefIn','Method') asClass >> ('testMethod2SecondLevelSenderOutsideTestOutsideWithRefIn','Method') asSymbol) asRingDefinition ). - \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/properties.json b/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/properties.json deleted file mode 100644 index 28bb79c..0000000 --- a/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/14/2018 14:06", - "super" : "SmTFilterAbstractTest", - "category" : "SmartTest-Tests-Filter", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTSendersFilterTestDefaultClassPackage", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultPackage.class/README.md b/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultPackage.class/README.md deleted file mode 100644 index dcb8d92..0000000 --- a/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultPackage.class/README.md +++ /dev/null @@ -1,5 +0,0 @@ -I test the strategy SendersFinder with the filter DefaultPackage. -The filter should accept any test that is owned by : - - the package of the modified method; - -In order to be sure that those test are not considered as callers of the modified method and as references to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method. \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultPackage.class/instance/testClassOutsidePackageWithRef.st b/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultPackage.class/instance/testClassOutsidePackageWithRef.st deleted file mode 100644 index f8cffb2..0000000 --- a/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultPackage.class/instance/testClassOutsidePackageWithRef.st +++ /dev/null @@ -1,7 +0,0 @@ -tests -testClassOutsidePackageWithRef -"In this test, we want to assert that if the class is used in a method, we find the tests related to this method." - - | testsFound | - testsFound := self searchTestMethodsForAClass: ('SmTClassModificationOnClass','OutsidePackageWithRef') asClass. - self assert: testsFound size equals: 0. \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultPackage.class/instance/testInstVarOutsidePackage.st b/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultPackage.class/instance/testInstVarOutsidePackage.st deleted file mode 100644 index e0a1cdc..0000000 --- a/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultPackage.class/instance/testInstVarOutsidePackage.st +++ /dev/null @@ -1,9 +0,0 @@ -tests -testInstVarOutsidePackage -"In this test we want to assert that if the modified class has subclasses, SmartTest finds all the inherited methods (implemented or not)" - - | testsFound aInstVar| - aInstVar := self instanceVariableNamed: 'instVarModificationOnVariableOutsidePackage' fromClass: ('SmTClassP1ModificationOnVariable') asClass . - testsFound := self searchTestsForInstVar: aInstVar ofClass: ('SmTClassP1ModificationOnVariable') asClass. - self assert: testsFound size equals: 0. - \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultPackage.class/properties.json b/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultPackage.class/properties.json deleted file mode 100644 index 648bd0d..0000000 --- a/src/SmartTest-Tests.package/SmTSendersFilterTestDefaultPackage.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/14/2018 14:06", - "super" : "SmTFilterAbstractTest", - "category" : "SmartTest-Tests-Filter", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTSendersFilterTestDefaultPackage", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/README.md b/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/README.md deleted file mode 100644 index e18a184..0000000 --- a/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/README.md +++ /dev/null @@ -1,7 +0,0 @@ -I test the strategy SendersFinder with the filter RestrictedPackage. -The filter should accept any test that is owned by a package whose name matches the regex. - -Here we look for tests in the package SmartDataTestOutsideP1 AND SmartDataTestOutsideP2 End of statement list encountered ->(this is defined in the SetUp method). -The results are different than the results with only one package. - -In order to be sure that those test are not considered as callers of the modified method and as references to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method. \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/setUp.st b/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/setUp.st deleted file mode 100644 index e3b651a..0000000 --- a/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/setUp.st +++ /dev/null @@ -1,9 +0,0 @@ -running -setUp - "Here we want to test the SmTRestrictedPackageFilter with the static strategy 'sendersFinder'. We look for the tests located in both SmartTestDataOutsideP1 and P2." - - super setUp. - self timeLimit: 60 seconds. - smartFinder - filter: - (SmTSpecifyPackagesNameFilter packagesRegex: 'SmartTestDataOutsideP1|SmartTestDataOutsideP2') \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st b/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st deleted file mode 100644 index d261fd4..0000000 --- a/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st +++ /dev/null @@ -1,13 +0,0 @@ -tests -testStandardMethodFirstLevelSendersOutsidePackage - - "MyMethod1 is called by testMyMethod2, a test not owned by the same package as myMethod1 but its package matches the regex so it should be found" - "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" - - | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClass','P1') asClass >> ('method1','FirstLevelSendersOutsidePackage') asSymbol). - self assert: testsFound size equals: 1 . - self assert: (testsFound includes: testMethod1FirstLevelSendersOutsidePackage). - - - \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st b/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st deleted file mode 100644 index 3711712..0000000 --- a/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st +++ /dev/null @@ -1,12 +0,0 @@ -tests -testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass - - "method1 is called by testMethod1" - "P1 : method1 - P2 : testMethod1, the reference is made in the class of testMethod1" - "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" - - | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClassP1FirstLevelSendersOutsideWithRefIn','Class') asClass >> ('method1','FirstLevelSendersWithRefInClass') asSymbol). - self assert: testsFound size equals: 1. - self assert: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod1FirstLevelSendersOutsideWithRefIn','Class') asSymbol) asRingDefinition ). \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st b/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st deleted file mode 100644 index af519a0..0000000 --- a/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st +++ /dev/null @@ -1,12 +0,0 @@ -tests -testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod - - "method1 is called by testMethod1" - "P1 : method1 - P2 : testMethod1, the reference is made in testMethod1" - "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" - - | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClassP1FirstLevelSendersOutsideWithRefIn','Method') asClass >> ('method1','FirstLevelSendersWithRefInMethod') asSymbol). - self assert: testsFound size equals: 1. - self assert: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod1FirstLevelSendersOutsideWithRefIn','Method') asSymbol) asRingDefinition ). \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st b/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st deleted file mode 100644 index e70c0c2..0000000 --- a/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st +++ /dev/null @@ -1,13 +0,0 @@ -tests -testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage - - "method1 is called by testMethod1" - "P1 : method1 - P2 : testMethod1, the reference is made in the package of testMethod1" - "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" - - | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClassP1FirstLevelSendersOutsideWithRefIn','Package') asClass >> ('method1FirstLevelSendersWithRefIn','Package') asSymbol). - self assert: testsFound size equals: 1. - self assert: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod1FirstLevelSendersOutsideWithRefIn','Package') asSymbol) asRingDefinition ). - \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestOutside.st b/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestOutside.st deleted file mode 100644 index becbfcd..0000000 --- a/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestOutside.st +++ /dev/null @@ -1,13 +0,0 @@ -running -testStandardMethodSecondLevelSendersInsidePackageWithTestOutside - - "method1 is called by method2, which itself is called by testMethod2, both methods (the test and the method) are not owned by the same package as myMethod1 but their packages matches the regex so it should be found" - "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" - - | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClass','P1') asClass >> ('method1','SecondLevelSendersInsidePackageWithTestOutside') asSymbol). - self assert: testsFound size equals: 1 . - self assert: (testsFound includes: testMethod2SecondLevelSendersInsidePackageWithTestOutside ). - - - \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st b/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st deleted file mode 100644 index be07332..0000000 --- a/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st +++ /dev/null @@ -1,13 +0,0 @@ -tests -testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass - - "method1 is called by method 2,itself called by testMethod1" - "P1 : method1 and method2 - P2 : testMethod2, the reference is made in the class of testMethod2" - "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" - - | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersInsideTestOutsideWithRefIn','Class') asClass >> ('method1SecondLevelSendersInsideTestOutsideWithRefIn','Class') asSymbol). - self assert: testsFound size equals: 1. - self assert: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod2SecondLevelSenderInsideTestOutsideWithRefIn','Class') asSymbol) asRingDefinition ). - \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st b/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st deleted file mode 100644 index 9bf9fb4..0000000 --- a/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st +++ /dev/null @@ -1,13 +0,0 @@ -tests -testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod - - "method1 is called by method 2,itself called by testMethod1" - "P1 : method1 and method2 - P2 : testMethod2, the reference is made in testMethod2" - "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" - - | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersInsideTestOutsideWithRefIn','Method') asClass >> ('method1SecondLevelSendersInsideTestOutsideWithRefIn','Method') asSymbol). - self assert: testsFound size equals: 1. - self assert: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod2SecondLevelSenderInsideTestOutsideWithRefIn','Method')asSymbol) asRingDefinition ). - \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st b/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st deleted file mode 100644 index 32d056c..0000000 --- a/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st +++ /dev/null @@ -1,13 +0,0 @@ -tests -testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage - - "method1 is called by method 2,itself called by testMethod1" - "P1 : method1 and method2 - P2 : testMethod2, the reference is made in the package of testMethod2" - "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" - - | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersInsideTestOutsideWithRefIn','Package') asClass >> ('method1SecondLevelSendersInsideTestOutsideWithRefIn','Package') asSymbol). - self assert: testsFound size equals: 1. - self assert: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod2SecondLevelSenderInsideTestOutsideWithRefIn','Package') asSymbol) asRingDefinition ). - \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestInside.st b/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestInside.st deleted file mode 100644 index c17c27f..0000000 --- a/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestInside.st +++ /dev/null @@ -1,12 +0,0 @@ -running -testStandardMethodSecondLevelSendersOutsidePackageWithTestInside - - "method1 is called by method2, which itself is called by testMethod2, both methods (the test and the method) are not owned by the same package as myMethod1 but their packages matches the regex so it should be found" - "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" - | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClass','P1') asClass >> ('method1','SecondLevelSendersOutsidePackageWithTestInside') asSymbol). - self assert: testsFound size equals: 1 . - self assert: (testsFound includes: testMethod2SecondLevelSendersOutsidePackageWithTestInside ). - - - \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestOutside.st b/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestOutside.st deleted file mode 100644 index 14e3170..0000000 --- a/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestOutside.st +++ /dev/null @@ -1,12 +0,0 @@ -running -testStandardMethodSecondLevelSendersOutsidePackageWithTestOutside - - "method1 is called by method2, which itself is called by testMethod2, both methods (the test and the method) are not owned by the same package as myMethod1 but their packages matches the regex so it should be found" - "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" - | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClass','P1') asClass >> ('method1','SecondLevelSendersOutsidePackageWithTestOutside') asSymbol). - self assert: testsFound size equals: 1 . - self assert: (testsFound includes: testMethod2SecondLevelSendersOutsidePackageWithTestOutside ). - - - \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st b/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st deleted file mode 100644 index 29aceea..0000000 --- a/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st +++ /dev/null @@ -1,13 +0,0 @@ -tests -testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass - - "method1 is called by method 2,itself called by testMethod1" - "P1 : method1 and testMethod2 - P2 : method2, the reference is made in the class of method2" - "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" - - | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersOutsideTestInsideWithRefIn','Class') asClass >> ('method1SecondLevelSendersOutsideTestInsideWithRefIn','Class') asSymbol). - self assert: testsFound size equals: 1. - self assert: (testsFound includes: (('SmTClassTest','P1') asClass >> ('testMethod2SecondLevelSendersOutsideTestInsideWithRefIn','Class') asSymbol) asRingDefinition ). - \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st b/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st deleted file mode 100644 index ffdcb51..0000000 --- a/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st +++ /dev/null @@ -1,13 +0,0 @@ -tests -testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod - - "method1 is called by method 2,itself called by testMethod1" - "P1 : method1 and testMethod2 - P2 : method2, the reference is made in method2" - "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" - - | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersOutsideTestInsideWithRefIn','Method') asClass >> ('method1SecondLevelSendersOutsideTestInsideWithRefIn','Method') asSymbol). - self assert: testsFound size equals: 1. - self assert: (testsFound includes: (('SmTClassTest','P1') asClass >> ('testMethod2SecondLevelSendersOutsideTestInsideWithRefIn','Method') asSymbol) asRingDefinition ). - \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st b/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st deleted file mode 100644 index 465bb6e..0000000 --- a/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st +++ /dev/null @@ -1,13 +0,0 @@ -tests -testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage - - "method1 is called by method 2,itself called by testMethod1" - "P1 : method1 and testMethod2 - P2 : method2, the reference is made in the package of method2" - "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" - - | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersOutsideTestInsideWithRefIn','Package') asClass >> ('method1SecondLevelSendersOutsideTestInsideWithRefIn','Package') asSymbol). - self assert: testsFound size equals: 1. - self assert: (testsFound includes: (('SmTClassTest','P1') asClass >> ('testMethod2SecondLevelSendersOutsideTestInsideWithRefIn','Package') asSymbol) asRingDefinition ). - \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/properties.json b/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/properties.json deleted file mode 100644 index 88d6a92..0000000 --- a/src/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/14/2018 14:07", - "super" : "SmTFilterAbstractTest", - "category" : "SmartTest-Tests-Filter", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTSendersFilterTestWithMultipleRestrictedPackage", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/README.md b/src/SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/README.md deleted file mode 100644 index 7b2af44..0000000 --- a/src/SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/README.md +++ /dev/null @@ -1,6 +0,0 @@ -I test the strategy SendersFinder with the filter RestrictedPackage. -The filter should accept any test that is owned by a package whose name matches the regex. - -Here we look for tests in the package SmartDataTestOutsideP1 (this is defined in the SetUp method). - -In order to be sure that those test are not considered as callers of the modified method and as references to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method. \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/setUp.st b/src/SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/setUp.st deleted file mode 100644 index d682286..0000000 --- a/src/SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/setUp.st +++ /dev/null @@ -1,7 +0,0 @@ -running -setUp - "Here we want to test the SmTRestrictedPackageFilter with the static strategy 'sendersFinder'. We only look for the tests located in SmartTestDataOutsideP1." - - super setUp. - self timeLimit: 60 seconds. - smartFinder filter: (SmTSpecifyPackagesNameFilter packagesRegex: 'SmartTestDataOutsideP1') \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/testClassOutsidePackageWithRef.st b/src/SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/testClassOutsidePackageWithRef.st deleted file mode 100644 index f8cffb2..0000000 --- a/src/SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/testClassOutsidePackageWithRef.st +++ /dev/null @@ -1,7 +0,0 @@ -tests -testClassOutsidePackageWithRef -"In this test, we want to assert that if the class is used in a method, we find the tests related to this method." - - | testsFound | - testsFound := self searchTestMethodsForAClass: ('SmTClassModificationOnClass','OutsidePackageWithRef') asClass. - self assert: testsFound size equals: 0. \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/testExtensionMethodFirstLevelSendersOutside.st b/src/SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/testExtensionMethodFirstLevelSendersOutside.st deleted file mode 100644 index fbbf6f2..0000000 --- a/src/SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/testExtensionMethodFirstLevelSendersOutside.st +++ /dev/null @@ -1,6 +0,0 @@ -tests -testExtensionMethodFirstLevelSendersOutside - - | testsFound | - testsFound := self searchTestMethodsFor:( ('SmT','ExtensionP2Test') asClass >> ('extensionMethod1FirstLevelSenders','Outside') asSymbol). - self deny: (testsFound includes: ((('SmT','ClassTestP2Test') asClass >> ('testExtensionMethod1FirstLevelSenders','Outside') asSymbol) asRingDefinition )). \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/testInstVarOutsidePackage.st b/src/SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/testInstVarOutsidePackage.st deleted file mode 100644 index 1a6bba4..0000000 --- a/src/SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/testInstVarOutsidePackage.st +++ /dev/null @@ -1,9 +0,0 @@ -tests -testInstVarOutsidePackage -"In this test we want to assert that if the modified class has subclasses, SmartTest finds all the inherited methods (implemented or not)" - - | testsFound aInstVar| - aInstVar := self instanceVariableNamed: 'instVarModificationOnVariableOutsidePackage' fromClass: ('SmTClassP1ModificationOnVariable') asClass . - testsFound := self searchTestsForInstVar: aInstVar ofClass:('SmTClassP1ModificationOnVariable') asClass . - self assert: testsFound size equals: 0. - \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/properties.json b/src/SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/properties.json deleted file mode 100644 index 0daa47e..0000000 --- a/src/SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/14/2018 14:07", - "super" : "SmTFilterAbstractTest", - "category" : "SmartTest-Tests-Filter", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTSendersFilterTestWithRestrictedPackage", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsBasicCacheTest.class/README.md b/src/SmartTest-Tests.package/SmTSettingsBasicCacheTest.class/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/src/SmartTest-Tests.package/SmTSettingsBasicCacheTest.class/instance/cacheStrategy.st b/src/SmartTest-Tests.package/SmTSettingsBasicCacheTest.class/instance/cacheStrategy.st deleted file mode 100644 index ec438a3..0000000 --- a/src/SmartTest-Tests.package/SmTSettingsBasicCacheTest.class/instance/cacheStrategy.st +++ /dev/null @@ -1,3 +0,0 @@ -settings -cacheStrategy - ^ SmTBasicCacheStrategy \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsBasicCacheTest.class/properties.json b/src/SmartTest-Tests.package/SmTSettingsBasicCacheTest.class/properties.json deleted file mode 100644 index c248630..0000000 --- a/src/SmartTest-Tests.package/SmTSettingsBasicCacheTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "SmTSettingsCacheTest", - "category" : "SmartTest-Tests-Settings", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTSettingsBasicCacheTest", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsCacheTest.class/README.md b/src/SmartTest-Tests.package/SmTSettingsCacheTest.class/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/src/SmartTest-Tests.package/SmTSettingsCacheTest.class/class/isAbstract.st b/src/SmartTest-Tests.package/SmTSettingsCacheTest.class/class/isAbstract.st deleted file mode 100644 index 3416abb..0000000 --- a/src/SmartTest-Tests.package/SmTSettingsCacheTest.class/class/isAbstract.st +++ /dev/null @@ -1,3 +0,0 @@ -testing -isAbstract - ^ self = SmTSettingsCacheTest \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsCacheTest.class/instance/cacheStrategy.st b/src/SmartTest-Tests.package/SmTSettingsCacheTest.class/instance/cacheStrategy.st deleted file mode 100644 index 6b3c91d..0000000 --- a/src/SmartTest-Tests.package/SmTSettingsCacheTest.class/instance/cacheStrategy.st +++ /dev/null @@ -1,3 +0,0 @@ -settings -cacheStrategy - self subclassResponsibility \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsCacheTest.class/instance/testChangeCacheStrategy.st b/src/SmartTest-Tests.package/SmTSettingsCacheTest.class/instance/testChangeCacheStrategy.st deleted file mode 100644 index 50663d8..0000000 --- a/src/SmartTest-Tests.package/SmTSettingsCacheTest.class/instance/testChangeCacheStrategy.st +++ /dev/null @@ -1,7 +0,0 @@ -tests -testChangeCacheStrategy - "Test changement of the runner in the setting (throught SmTRules methods)" - - SmTRules cacheStrategy: self cacheStrategy. - self assert: (SmTRules testFinder cacheStrategy isKindOf: self cacheStrategy). - self assert: (SmTRules testFinder smtFinder cache isKindOf: self cacheStrategy) \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsCacheTest.class/properties.json b/src/SmartTest-Tests.package/SmTSettingsCacheTest.class/properties.json deleted file mode 100644 index f83f581..0000000 --- a/src/SmartTest-Tests.package/SmTSettingsCacheTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "SmTSettingsTest", - "category" : "SmartTest-Tests-Settings", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTSettingsCacheTest", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsFilterDefaultClassPackagesTest.class/README.md b/src/SmartTest-Tests.package/SmTSettingsFilterDefaultClassPackagesTest.class/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/src/SmartTest-Tests.package/SmTSettingsFilterDefaultClassPackagesTest.class/instance/filterStrategy.st b/src/SmartTest-Tests.package/SmTSettingsFilterDefaultClassPackagesTest.class/instance/filterStrategy.st deleted file mode 100644 index 57ada31..0000000 --- a/src/SmartTest-Tests.package/SmTSettingsFilterDefaultClassPackagesTest.class/instance/filterStrategy.st +++ /dev/null @@ -1,3 +0,0 @@ -running -filterStrategy - ^ SmTDefaultClassPackagesFilter \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsFilterDefaultClassPackagesTest.class/properties.json b/src/SmartTest-Tests.package/SmTSettingsFilterDefaultClassPackagesTest.class/properties.json deleted file mode 100644 index faf7616..0000000 --- a/src/SmartTest-Tests.package/SmTSettingsFilterDefaultClassPackagesTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "SmTSettingsFilterTest", - "category" : "SmartTest-Tests-Settings", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTSettingsFilterDefaultClassPackagesTest", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsFilterDefaultPackagesTest.class/README.md b/src/SmartTest-Tests.package/SmTSettingsFilterDefaultPackagesTest.class/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/src/SmartTest-Tests.package/SmTSettingsFilterDefaultPackagesTest.class/instance/filterStrategy.st b/src/SmartTest-Tests.package/SmTSettingsFilterDefaultPackagesTest.class/instance/filterStrategy.st deleted file mode 100644 index d9a54d5..0000000 --- a/src/SmartTest-Tests.package/SmTSettingsFilterDefaultPackagesTest.class/instance/filterStrategy.st +++ /dev/null @@ -1,3 +0,0 @@ -running -filterStrategy - ^ SmTDefaultPackagesFilter \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsFilterDefaultPackagesTest.class/properties.json b/src/SmartTest-Tests.package/SmTSettingsFilterDefaultPackagesTest.class/properties.json deleted file mode 100644 index 12278e2..0000000 --- a/src/SmartTest-Tests.package/SmTSettingsFilterDefaultPackagesTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "SmTSettingsFilterTest", - "category" : "SmartTest-Tests-Settings", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTSettingsFilterDefaultPackagesTest", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsFilterIcebergTest.class/README.md b/src/SmartTest-Tests.package/SmTSettingsFilterIcebergTest.class/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/src/SmartTest-Tests.package/SmTSettingsFilterIcebergTest.class/instance/filterStrategy.st b/src/SmartTest-Tests.package/SmTSettingsFilterIcebergTest.class/instance/filterStrategy.st deleted file mode 100644 index 1ebdc3f..0000000 --- a/src/SmartTest-Tests.package/SmTSettingsFilterIcebergTest.class/instance/filterStrategy.st +++ /dev/null @@ -1,3 +0,0 @@ -running -filterStrategy - ^ SmTIcebergLoadedPackagesFilter \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsFilterIcebergTest.class/properties.json b/src/SmartTest-Tests.package/SmTSettingsFilterIcebergTest.class/properties.json deleted file mode 100644 index 321e2a0..0000000 --- a/src/SmartTest-Tests.package/SmTSettingsFilterIcebergTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "SmTSettingsFilterTest", - "category" : "SmartTest-Tests-Settings", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTSettingsFilterIcebergTest", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsFilterNoFilterTest.class/README.md b/src/SmartTest-Tests.package/SmTSettingsFilterNoFilterTest.class/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/src/SmartTest-Tests.package/SmTSettingsFilterNoFilterTest.class/instance/filterStrategy.st b/src/SmartTest-Tests.package/SmTSettingsFilterNoFilterTest.class/instance/filterStrategy.st deleted file mode 100644 index cf78b21..0000000 --- a/src/SmartTest-Tests.package/SmTSettingsFilterNoFilterTest.class/instance/filterStrategy.st +++ /dev/null @@ -1,3 +0,0 @@ -running -filterStrategy - ^ SmTNoFilter \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsFilterNoFilterTest.class/properties.json b/src/SmartTest-Tests.package/SmTSettingsFilterNoFilterTest.class/properties.json deleted file mode 100644 index d5116b6..0000000 --- a/src/SmartTest-Tests.package/SmTSettingsFilterNoFilterTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "SmTSettingsFilterTest", - "category" : "SmartTest-Tests-Settings", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTSettingsFilterNoFilterTest", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/README.md b/src/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/src/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/dataForTestRegex.st b/src/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/dataForTestRegex.st deleted file mode 100644 index f9324cf..0000000 --- a/src/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/dataForTestRegex.st +++ /dev/null @@ -1,3 +0,0 @@ -running -dataForTestRegex - ^ 'SmartTes*|StarWars' \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/filterStrategy.st b/src/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/filterStrategy.st deleted file mode 100644 index 8b28c3a..0000000 --- a/src/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/filterStrategy.st +++ /dev/null @@ -1,3 +0,0 @@ -running -filterStrategy - ^ SmTSpecifyPackagesNameFilter \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/setUp.st b/src/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/setUp.st deleted file mode 100644 index 9769d58..0000000 --- a/src/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/setUp.st +++ /dev/null @@ -1,5 +0,0 @@ -running -setUp - super setUp. - oldRegex := SmTRules packagesRegex. - SmTRules packagesRegex: self dataForTestRegex \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/tearDown.st b/src/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/tearDown.st deleted file mode 100644 index ff5a0e9..0000000 --- a/src/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/tearDown.st +++ /dev/null @@ -1,5 +0,0 @@ -running -tearDown - - SmTRules packagesRegex: oldRegex. - super tearDown \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/testChangeRegexWhenChanged.st b/src/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/testChangeRegexWhenChanged.st deleted file mode 100644 index 2c37f78..0000000 --- a/src/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/testChangeRegexWhenChanged.st +++ /dev/null @@ -1,4 +0,0 @@ -running -testChangeRegexWhenChanged - SmTRules filter: self filterStrategy. - self assert: SmTRules testFinder filter packagesRegex equals: self dataForTestRegex \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/properties.json b/src/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/properties.json deleted file mode 100644 index a847d2d..0000000 --- a/src/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/properties.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "commentStamp" : "", - "super" : "SmTSettingsFilterTest", - "category" : "SmartTest-Tests-Settings", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "oldRegex" - ], - "name" : "SmTSettingsFilterSpecifyPackagesNameTest", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsFilterTest.class/README.md b/src/SmartTest-Tests.package/SmTSettingsFilterTest.class/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/src/SmartTest-Tests.package/SmTSettingsFilterTest.class/class/isAbstract.st b/src/SmartTest-Tests.package/SmTSettingsFilterTest.class/class/isAbstract.st deleted file mode 100644 index 38cd750..0000000 --- a/src/SmartTest-Tests.package/SmTSettingsFilterTest.class/class/isAbstract.st +++ /dev/null @@ -1,3 +0,0 @@ -testing -isAbstract - ^ self = SmTSettingsFilterTest \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsFilterTest.class/instance/filterStrategy.st b/src/SmartTest-Tests.package/SmTSettingsFilterTest.class/instance/filterStrategy.st deleted file mode 100644 index 0e4dd42..0000000 --- a/src/SmartTest-Tests.package/SmTSettingsFilterTest.class/instance/filterStrategy.st +++ /dev/null @@ -1,3 +0,0 @@ -running -filterStrategy - self subclassResponsibility \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsFilterTest.class/instance/testChangeFilterStrategy.st b/src/SmartTest-Tests.package/SmTSettingsFilterTest.class/instance/testChangeFilterStrategy.st deleted file mode 100644 index 3798777..0000000 --- a/src/SmartTest-Tests.package/SmTSettingsFilterTest.class/instance/testChangeFilterStrategy.st +++ /dev/null @@ -1,7 +0,0 @@ -tests -testChangeFilterStrategy - "Test changement of the runner in the setting (throught SmTRules methods)" - - SmTRules filter: self filterStrategy. - self assert: (SmTRules testFinder filter isKindOf: self filterStrategy). - self assert: (SmTRules testFinder smtFinder filter isKindOf: self filterStrategy) \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsFilterTest.class/properties.json b/src/SmartTest-Tests.package/SmTSettingsFilterTest.class/properties.json deleted file mode 100644 index 9317b69..0000000 --- a/src/SmartTest-Tests.package/SmTSettingsFilterTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "SmTSettingsTest", - "category" : "SmartTest-Tests-Settings", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTSettingsFilterTest", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsFinderReflectivityTest.class/README.md b/src/SmartTest-Tests.package/SmTSettingsFinderReflectivityTest.class/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/src/SmartTest-Tests.package/SmTSettingsFinderReflectivityTest.class/instance/finderStrategy.st b/src/SmartTest-Tests.package/SmTSettingsFinderReflectivityTest.class/instance/finderStrategy.st deleted file mode 100644 index b2a46ab..0000000 --- a/src/SmartTest-Tests.package/SmTSettingsFinderReflectivityTest.class/instance/finderStrategy.st +++ /dev/null @@ -1,3 +0,0 @@ -running -finderStrategy - ^ SmTReflectivityTestFinderStrategy \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsFinderReflectivityTest.class/properties.json b/src/SmartTest-Tests.package/SmTSettingsFinderReflectivityTest.class/properties.json deleted file mode 100644 index d337601..0000000 --- a/src/SmartTest-Tests.package/SmTSettingsFinderReflectivityTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "SmTSettingsFinderTest", - "category" : "SmartTest-Tests-Settings", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTSettingsFinderReflectivityTest", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsFinderSenderTestTest.class/README.md b/src/SmartTest-Tests.package/SmTSettingsFinderSenderTestTest.class/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/src/SmartTest-Tests.package/SmTSettingsFinderSenderTestTest.class/instance/finderStrategy.st b/src/SmartTest-Tests.package/SmTSettingsFinderSenderTestTest.class/instance/finderStrategy.st deleted file mode 100644 index 9343188..0000000 --- a/src/SmartTest-Tests.package/SmTSettingsFinderSenderTestTest.class/instance/finderStrategy.st +++ /dev/null @@ -1,3 +0,0 @@ -running -finderStrategy - ^ SmTSenderTestFinderStrategy \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsFinderSenderTestTest.class/properties.json b/src/SmartTest-Tests.package/SmTSettingsFinderSenderTestTest.class/properties.json deleted file mode 100644 index 52d93c0..0000000 --- a/src/SmartTest-Tests.package/SmTSettingsFinderSenderTestTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "SmTSettingsFinderTest", - "category" : "SmartTest-Tests-Settings", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTSettingsFinderSenderTestTest", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsFinderTest.class/README.md b/src/SmartTest-Tests.package/SmTSettingsFinderTest.class/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/src/SmartTest-Tests.package/SmTSettingsFinderTest.class/class/isAbstract.st b/src/SmartTest-Tests.package/SmTSettingsFinderTest.class/class/isAbstract.st deleted file mode 100644 index 27238b9..0000000 --- a/src/SmartTest-Tests.package/SmTSettingsFinderTest.class/class/isAbstract.st +++ /dev/null @@ -1,3 +0,0 @@ -testing -isAbstract - ^ self = SmTSettingsFinderTest \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsFinderTest.class/instance/finderStrategy.st b/src/SmartTest-Tests.package/SmTSettingsFinderTest.class/instance/finderStrategy.st deleted file mode 100644 index fea0ff8..0000000 --- a/src/SmartTest-Tests.package/SmTSettingsFinderTest.class/instance/finderStrategy.st +++ /dev/null @@ -1,3 +0,0 @@ -running -finderStrategy - self subclassResponsibility \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsFinderTest.class/properties.json b/src/SmartTest-Tests.package/SmTSettingsFinderTest.class/properties.json deleted file mode 100644 index 0bbc317..0000000 --- a/src/SmartTest-Tests.package/SmTSettingsFinderTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "SmTSettingsTest", - "category" : "SmartTest-Tests-Settings", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTSettingsFinderTest", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsFinderTestCoverageTest.class/README.md b/src/SmartTest-Tests.package/SmTSettingsFinderTestCoverageTest.class/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/src/SmartTest-Tests.package/SmTSettingsFinderTestCoverageTest.class/instance/finderStrategy.st b/src/SmartTest-Tests.package/SmTSettingsFinderTestCoverageTest.class/instance/finderStrategy.st deleted file mode 100644 index 7dd53de..0000000 --- a/src/SmartTest-Tests.package/SmTSettingsFinderTestCoverageTest.class/instance/finderStrategy.st +++ /dev/null @@ -1,3 +0,0 @@ -running -finderStrategy - ^ SmTTestCoverageTestFinderStrategy \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsFinderTestCoverageTest.class/properties.json b/src/SmartTest-Tests.package/SmTSettingsFinderTestCoverageTest.class/properties.json deleted file mode 100644 index cd1ed10..0000000 --- a/src/SmartTest-Tests.package/SmTSettingsFinderTestCoverageTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "SmTSettingsFinderTest", - "category" : "SmartTest-Tests-Settings", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTSettingsFinderTestCoverageTest", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsNoCacheTest.class/README.md b/src/SmartTest-Tests.package/SmTSettingsNoCacheTest.class/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/src/SmartTest-Tests.package/SmTSettingsNoCacheTest.class/instance/cacheStrategy.st b/src/SmartTest-Tests.package/SmTSettingsNoCacheTest.class/instance/cacheStrategy.st deleted file mode 100644 index 9d8fd7b..0000000 --- a/src/SmartTest-Tests.package/SmTSettingsNoCacheTest.class/instance/cacheStrategy.st +++ /dev/null @@ -1,3 +0,0 @@ -settings -cacheStrategy - ^ SmTNoCacheStrategy \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsNoCacheTest.class/properties.json b/src/SmartTest-Tests.package/SmTSettingsNoCacheTest.class/properties.json deleted file mode 100644 index 9e57baf..0000000 --- a/src/SmartTest-Tests.package/SmTSettingsNoCacheTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "SmTSettingsCacheTest", - "category" : "SmartTest-Tests-Settings", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTSettingsNoCacheTest", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/README.md b/src/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/README.md deleted file mode 100644 index dbb2ac4..0000000 --- a/src/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/README.md +++ /dev/null @@ -1 +0,0 @@ -We test if we correctly changed the regex when we changed it (or not) in the settings. \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/class/isAbstract.st b/src/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/class/isAbstract.st deleted file mode 100644 index d9df9bb..0000000 --- a/src/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/class/isAbstract.st +++ /dev/null @@ -1,3 +0,0 @@ -testing -isAbstract - ^ false \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/instance/dataForTestRegex.st b/src/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/instance/dataForTestRegex.st deleted file mode 100644 index f9324cf..0000000 --- a/src/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/instance/dataForTestRegex.st +++ /dev/null @@ -1,3 +0,0 @@ -running -dataForTestRegex - ^ 'SmartTes*|StarWars' \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/instance/setUp.st b/src/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/instance/setUp.st deleted file mode 100644 index 2ae7e33..0000000 --- a/src/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/instance/setUp.st +++ /dev/null @@ -1,6 +0,0 @@ -running -setUp - super setUp. - - oldRegex := SmTRules packagesRegex. - oldFilter := SmTRules filter. \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/instance/tearDown.st b/src/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/instance/tearDown.st deleted file mode 100644 index b596626..0000000 --- a/src/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/instance/tearDown.st +++ /dev/null @@ -1,5 +0,0 @@ -running -tearDown - SmTRules packagesRegex: oldRegex. - SmTRules filter: oldFilter. - super tearDown \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/instance/testChangeRegexSmTSpecifyPackagesNameFilter.st b/src/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/instance/testChangeRegexSmTSpecifyPackagesNameFilter.st deleted file mode 100644 index 8232d38..0000000 --- a/src/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/instance/testChangeRegexSmTSpecifyPackagesNameFilter.st +++ /dev/null @@ -1,5 +0,0 @@ -tests -testChangeRegexSmTSpecifyPackagesNameFilter - SmTRules filter: SmTSpecifyPackagesNameFilter. - SmTRules packagesRegex: self dataForTestRegex. - self assert: SmTRules testFinder filter packagesRegex equals: self dataForTestRegex \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/properties.json b/src/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/properties.json deleted file mode 100644 index 37cee46..0000000 --- a/src/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/properties.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "commentStamp" : "eleonoreW 6/29/2018 13:24", - "super" : "SmTSettingsTest", - "category" : "SmartTest-Tests-Settings", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "oldRegex", - "oldFilter" - ], - "name" : "SmTSettingsPackagesRegexTest", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsRunnerDebugTest.class/README.md b/src/SmartTest-Tests.package/SmTSettingsRunnerDebugTest.class/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/src/SmartTest-Tests.package/SmTSettingsRunnerDebugTest.class/instance/runnerStrategy.st b/src/SmartTest-Tests.package/SmTSettingsRunnerDebugTest.class/instance/runnerStrategy.st deleted file mode 100644 index cd30455..0000000 --- a/src/SmartTest-Tests.package/SmTSettingsRunnerDebugTest.class/instance/runnerStrategy.st +++ /dev/null @@ -1,3 +0,0 @@ -running -runnerStrategy - ^ SmTRunnerStrategyDebug \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsRunnerDebugTest.class/properties.json b/src/SmartTest-Tests.package/SmTSettingsRunnerDebugTest.class/properties.json deleted file mode 100644 index 9ff2a92..0000000 --- a/src/SmartTest-Tests.package/SmTSettingsRunnerDebugTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "SmTSettingsRunnerTest", - "category" : "SmartTest-Tests-Settings", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTSettingsRunnerDebugTest", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsRunnerNoticeTest.class/README.md b/src/SmartTest-Tests.package/SmTSettingsRunnerNoticeTest.class/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/src/SmartTest-Tests.package/SmTSettingsRunnerNoticeTest.class/instance/runnerStrategy.st b/src/SmartTest-Tests.package/SmTSettingsRunnerNoticeTest.class/instance/runnerStrategy.st deleted file mode 100644 index 56dcb02..0000000 --- a/src/SmartTest-Tests.package/SmTSettingsRunnerNoticeTest.class/instance/runnerStrategy.st +++ /dev/null @@ -1,3 +0,0 @@ -running -runnerStrategy - ^ SmTRunnerStrategyNotice \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsRunnerNoticeTest.class/properties.json b/src/SmartTest-Tests.package/SmTSettingsRunnerNoticeTest.class/properties.json deleted file mode 100644 index a583b96..0000000 --- a/src/SmartTest-Tests.package/SmTSettingsRunnerNoticeTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "SmTSettingsRunnerTest", - "category" : "SmartTest-Tests-Settings", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTSettingsRunnerNoticeTest", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsRunnerSmartTest.class/README.md b/src/SmartTest-Tests.package/SmTSettingsRunnerSmartTest.class/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/src/SmartTest-Tests.package/SmTSettingsRunnerSmartTest.class/instance/runnerStrategy.st b/src/SmartTest-Tests.package/SmTSettingsRunnerSmartTest.class/instance/runnerStrategy.st deleted file mode 100644 index 43c285d..0000000 --- a/src/SmartTest-Tests.package/SmTSettingsRunnerSmartTest.class/instance/runnerStrategy.st +++ /dev/null @@ -1,3 +0,0 @@ -running -runnerStrategy - ^ SmTRunnerStrategySmart \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsRunnerSmartTest.class/properties.json b/src/SmartTest-Tests.package/SmTSettingsRunnerSmartTest.class/properties.json deleted file mode 100644 index cb02290..0000000 --- a/src/SmartTest-Tests.package/SmTSettingsRunnerSmartTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "SmTSettingsRunnerTest", - "category" : "SmartTest-Tests-Settings", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTSettingsRunnerSmartTest", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsRunnerTest.class/README.md b/src/SmartTest-Tests.package/SmTSettingsRunnerTest.class/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/src/SmartTest-Tests.package/SmTSettingsRunnerTest.class/class/isAbstract.st b/src/SmartTest-Tests.package/SmTSettingsRunnerTest.class/class/isAbstract.st deleted file mode 100644 index aa5ac68..0000000 --- a/src/SmartTest-Tests.package/SmTSettingsRunnerTest.class/class/isAbstract.st +++ /dev/null @@ -1,3 +0,0 @@ -testing -isAbstract - ^ self = SmTSettingsRunnerTest \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsRunnerTest.class/instance/runnerStrategy.st b/src/SmartTest-Tests.package/SmTSettingsRunnerTest.class/instance/runnerStrategy.st deleted file mode 100644 index 122fd7f..0000000 --- a/src/SmartTest-Tests.package/SmTSettingsRunnerTest.class/instance/runnerStrategy.st +++ /dev/null @@ -1,3 +0,0 @@ -running -runnerStrategy - self subclassResponsibility \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsRunnerTest.class/instance/testChangeRunnerStrategy.st b/src/SmartTest-Tests.package/SmTSettingsRunnerTest.class/instance/testChangeRunnerStrategy.st deleted file mode 100644 index 56d97bd..0000000 --- a/src/SmartTest-Tests.package/SmTSettingsRunnerTest.class/instance/testChangeRunnerStrategy.st +++ /dev/null @@ -1,7 +0,0 @@ -tests -testChangeRunnerStrategy - "Test changement of the runner in the setting (throught SmTRules methods)" - - SmTRules runner: self runnerStrategy. - self assert: SmTRules testFinder testRunner equals: self runnerStrategy. - self assert: SmTRules testFinder testingStrategy runner equals: self runnerStrategy. \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsRunnerTest.class/properties.json b/src/SmartTest-Tests.package/SmTSettingsRunnerTest.class/properties.json deleted file mode 100644 index d02140e..0000000 --- a/src/SmartTest-Tests.package/SmTSettingsRunnerTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "SmTSettingsTest", - "category" : "SmartTest-Tests-Settings", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTSettingsRunnerTest", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsTest.class/README.md b/src/SmartTest-Tests.package/SmTSettingsTest.class/README.md deleted file mode 100644 index 380795d..0000000 --- a/src/SmartTest-Tests.package/SmTSettingsTest.class/README.md +++ /dev/null @@ -1 +0,0 @@ -These tests are here to assert that when we change the settings of SmartTest in the environnement, they are indeed changed. \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsTest.class/class/isAbstract.st b/src/SmartTest-Tests.package/SmTSettingsTest.class/class/isAbstract.st deleted file mode 100644 index 44b4751..0000000 --- a/src/SmartTest-Tests.package/SmTSettingsTest.class/class/isAbstract.st +++ /dev/null @@ -1,3 +0,0 @@ -testing -isAbstract - ^ true \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsTest.class/instance/setUp.st b/src/SmartTest-Tests.package/SmTSettingsTest.class/instance/setUp.st deleted file mode 100644 index 2da55ab..0000000 --- a/src/SmartTest-Tests.package/SmTSettingsTest.class/instance/setUp.st +++ /dev/null @@ -1,4 +0,0 @@ -running -setUp - super setUp. - oldSettings := SmTRules testFinder \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsTest.class/instance/tearDown.st b/src/SmartTest-Tests.package/SmTSettingsTest.class/instance/tearDown.st deleted file mode 100644 index 45635eb..0000000 --- a/src/SmartTest-Tests.package/SmTSettingsTest.class/instance/tearDown.st +++ /dev/null @@ -1,4 +0,0 @@ -running -tearDown - SmTRules testFinder: oldSettings. - super tearDown \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsTest.class/properties.json b/src/SmartTest-Tests.package/SmTSettingsTest.class/properties.json deleted file mode 100644 index 4ea77cd..0000000 --- a/src/SmartTest-Tests.package/SmTSettingsTest.class/properties.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "commentStamp" : "eleonoreW 7/18/2018 10:15", - "super" : "TestCase", - "category" : "SmartTest-Tests-Settings", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "oldSettings" - ], - "name" : "SmTSettingsTest", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsTestingStrategyAlwaysTest.class/README.md b/src/SmartTest-Tests.package/SmTSettingsTestingStrategyAlwaysTest.class/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/src/SmartTest-Tests.package/SmTSettingsTestingStrategyAlwaysTest.class/instance/getTestingStrategy.st b/src/SmartTest-Tests.package/SmTSettingsTestingStrategyAlwaysTest.class/instance/getTestingStrategy.st deleted file mode 100644 index 81062d3..0000000 --- a/src/SmartTest-Tests.package/SmTSettingsTestingStrategyAlwaysTest.class/instance/getTestingStrategy.st +++ /dev/null @@ -1,3 +0,0 @@ -running -getTestingStrategy - ^ SmTTestingStrategyAlways \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsTestingStrategyAlwaysTest.class/properties.json b/src/SmartTest-Tests.package/SmTSettingsTestingStrategyAlwaysTest.class/properties.json deleted file mode 100644 index db21bc6..0000000 --- a/src/SmartTest-Tests.package/SmTSettingsTestingStrategyAlwaysTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "SmTSettingsTestingStrategyTest", - "category" : "SmartTest-Tests-Settings", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTSettingsTestingStrategyAlwaysTest", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsTestingStrategyEachModificationTest.class/README.md b/src/SmartTest-Tests.package/SmTSettingsTestingStrategyEachModificationTest.class/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/src/SmartTest-Tests.package/SmTSettingsTestingStrategyEachModificationTest.class/instance/getTestingStrategy.st b/src/SmartTest-Tests.package/SmTSettingsTestingStrategyEachModificationTest.class/instance/getTestingStrategy.st deleted file mode 100644 index 68208a8..0000000 --- a/src/SmartTest-Tests.package/SmTSettingsTestingStrategyEachModificationTest.class/instance/getTestingStrategy.st +++ /dev/null @@ -1,3 +0,0 @@ -running -getTestingStrategy - ^ SmTTestingStrategyEachModification \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsTestingStrategyEachModificationTest.class/properties.json b/src/SmartTest-Tests.package/SmTSettingsTestingStrategyEachModificationTest.class/properties.json deleted file mode 100644 index 6c645de..0000000 --- a/src/SmartTest-Tests.package/SmTSettingsTestingStrategyEachModificationTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "SmTSettingsTestingStrategyTest", - "category" : "SmartTest-Tests-Settings", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTSettingsTestingStrategyEachModificationTest", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsTestingStrategyFiveMinutesTest.class/README.md b/src/SmartTest-Tests.package/SmTSettingsTestingStrategyFiveMinutesTest.class/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/src/SmartTest-Tests.package/SmTSettingsTestingStrategyFiveMinutesTest.class/instance/getTestingStrategy.st b/src/SmartTest-Tests.package/SmTSettingsTestingStrategyFiveMinutesTest.class/instance/getTestingStrategy.st deleted file mode 100644 index dc89876..0000000 --- a/src/SmartTest-Tests.package/SmTSettingsTestingStrategyFiveMinutesTest.class/instance/getTestingStrategy.st +++ /dev/null @@ -1,3 +0,0 @@ -running -getTestingStrategy - ^ SmTTestingStrategyFiveMinutes \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsTestingStrategyFiveMinutesTest.class/properties.json b/src/SmartTest-Tests.package/SmTSettingsTestingStrategyFiveMinutesTest.class/properties.json deleted file mode 100644 index cc0af9b..0000000 --- a/src/SmartTest-Tests.package/SmTSettingsTestingStrategyFiveMinutesTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "SmTSettingsTestingStrategyTest", - "category" : "SmartTest-Tests-Settings", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTSettingsTestingStrategyFiveMinutesTest", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsTestingStrategyNeverTest.class/README.md b/src/SmartTest-Tests.package/SmTSettingsTestingStrategyNeverTest.class/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/src/SmartTest-Tests.package/SmTSettingsTestingStrategyNeverTest.class/instance/getTestingStrategy.st b/src/SmartTest-Tests.package/SmTSettingsTestingStrategyNeverTest.class/instance/getTestingStrategy.st deleted file mode 100644 index 28f7c5c..0000000 --- a/src/SmartTest-Tests.package/SmTSettingsTestingStrategyNeverTest.class/instance/getTestingStrategy.st +++ /dev/null @@ -1,3 +0,0 @@ -running -getTestingStrategy - ^ SmTTestingStrategyNever \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsTestingStrategyNeverTest.class/properties.json b/src/SmartTest-Tests.package/SmTSettingsTestingStrategyNeverTest.class/properties.json deleted file mode 100644 index a830630..0000000 --- a/src/SmartTest-Tests.package/SmTSettingsTestingStrategyNeverTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "SmTSettingsTestingStrategyTest", - "category" : "SmartTest-Tests-Settings", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTSettingsTestingStrategyNeverTest", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsTestingStrategyTest.class/README.md b/src/SmartTest-Tests.package/SmTSettingsTestingStrategyTest.class/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/src/SmartTest-Tests.package/SmTSettingsTestingStrategyTest.class/class/isAbstract.st b/src/SmartTest-Tests.package/SmTSettingsTestingStrategyTest.class/class/isAbstract.st deleted file mode 100644 index e2c3b4d..0000000 --- a/src/SmartTest-Tests.package/SmTSettingsTestingStrategyTest.class/class/isAbstract.st +++ /dev/null @@ -1,3 +0,0 @@ -testing -isAbstract - ^ self = SmTSettingsTestingStrategyTest \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsTestingStrategyTest.class/instance/getTestingStrategy.st b/src/SmartTest-Tests.package/SmTSettingsTestingStrategyTest.class/instance/getTestingStrategy.st deleted file mode 100644 index baa4567..0000000 --- a/src/SmartTest-Tests.package/SmTSettingsTestingStrategyTest.class/instance/getTestingStrategy.st +++ /dev/null @@ -1,3 +0,0 @@ -running -getTestingStrategy - self subclassResponsibility \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsTestingStrategyTest.class/instance/testChangeTestingStrategyStrategy.st b/src/SmartTest-Tests.package/SmTSettingsTestingStrategyTest.class/instance/testChangeTestingStrategyStrategy.st deleted file mode 100644 index 681e96d..0000000 --- a/src/SmartTest-Tests.package/SmTSettingsTestingStrategyTest.class/instance/testChangeTestingStrategyStrategy.st +++ /dev/null @@ -1,8 +0,0 @@ -tests -testChangeTestingStrategyStrategy - "Test changement of the runner in the setting (throught SmTRules methods)" - - SmTRules strategy: self getTestingStrategy . - self assert: (SmTRules testFinder testingStrategy isKindOf: self getTestingStrategy ). - self assert: SmTRules testFinder testingStrategy runner equals: SmTRules runner. - self assert: SmTRules testFinder testingStrategy finder equals: SmTRules testFinder smtFinder \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTSettingsTestingStrategyTest.class/properties.json b/src/SmartTest-Tests.package/SmTSettingsTestingStrategyTest.class/properties.json deleted file mode 100644 index d5435e1..0000000 --- a/src/SmartTest-Tests.package/SmTSettingsTestingStrategyTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "SmTSettingsTest", - "category" : "SmartTest-Tests-Settings", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTSettingsTestingStrategyTest", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTStaticDefaultClassPackageBasicCacheTest.class/README.md b/src/SmartTest-Tests.package/SmTStaticDefaultClassPackageBasicCacheTest.class/README.md deleted file mode 100644 index 0038960..0000000 --- a/src/SmartTest-Tests.package/SmTStaticDefaultClassPackageBasicCacheTest.class/README.md +++ /dev/null @@ -1 +0,0 @@ -I test the static finder with DefaultClassPackageFilter and BasicCache \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTStaticDefaultClassPackageBasicCacheTest.class/instance/setUp.st b/src/SmartTest-Tests.package/SmTStaticDefaultClassPackageBasicCacheTest.class/instance/setUp.st deleted file mode 100644 index 4dee1d0..0000000 --- a/src/SmartTest-Tests.package/SmTStaticDefaultClassPackageBasicCacheTest.class/instance/setUp.st +++ /dev/null @@ -1,4 +0,0 @@ -running -setUp - super setUp. - smartFinder resetCache \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTStaticDefaultClassPackageBasicCacheTest.class/instance/testStandardMethodSecondLevelSenders.st b/src/SmartTest-Tests.package/SmTStaticDefaultClassPackageBasicCacheTest.class/instance/testStandardMethodSecondLevelSenders.st deleted file mode 100644 index 61f9cfb..0000000 --- a/src/SmartTest-Tests.package/SmTStaticDefaultClassPackageBasicCacheTest.class/instance/testStandardMethodSecondLevelSenders.st +++ /dev/null @@ -1,10 +0,0 @@ -tests -testStandardMethodSecondLevelSenders - - | testsFound | - testsFound := self searchTestMethodsFor: SmTClass >> #method1. - - self assert: (testsFound includes: testMethod1). - self assert: (testsFound includes: testMethod2). - self deny: (testsFound includes: testMethod3). - self deny: (testsFound includes: testMethod4). \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTStaticDefaultClassPackageBasicCacheTest.class/properties.json b/src/SmartTest-Tests.package/SmTStaticDefaultClassPackageBasicCacheTest.class/properties.json deleted file mode 100644 index fe2f37e..0000000 --- a/src/SmartTest-Tests.package/SmTStaticDefaultClassPackageBasicCacheTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "eleonoreW 6/29/2018 16:19", - "super" : "SmTFinderAbstractTest", - "category" : "SmartTest-Tests-Finder", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTStaticDefaultClassPackageBasicCacheTest", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTStaticDefaultClassPackageWithoutCacheTest.class/README.md b/src/SmartTest-Tests.package/SmTStaticDefaultClassPackageWithoutCacheTest.class/README.md deleted file mode 100644 index a12902a..0000000 --- a/src/SmartTest-Tests.package/SmTStaticDefaultClassPackageWithoutCacheTest.class/README.md +++ /dev/null @@ -1,3 +0,0 @@ -In this class, the research is limited to the SmartTest-Tests-Data package, the research is static (it is using the SenderStrategy finder) and no cache is used. - -This comment is false, the research is not limited to SmartTest-Tests-Data package ! Should we change the comment or the tests ?? \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTStaticDefaultClassPackageWithoutCacheTest.class/instance/setUp.st b/src/SmartTest-Tests.package/SmTStaticDefaultClassPackageWithoutCacheTest.class/instance/setUp.st deleted file mode 100644 index 5ea2564..0000000 --- a/src/SmartTest-Tests.package/SmTStaticDefaultClassPackageWithoutCacheTest.class/instance/setUp.st +++ /dev/null @@ -1,5 +0,0 @@ -running -setUp - super setUp. - smartFinder cacheStrategy: SmTNoCacheStrategy new. - cache := SmTNoCacheStrategy new \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTStaticDefaultClassPackageWithoutCacheTest.class/instance/tearDown.st b/src/SmartTest-Tests.package/SmTStaticDefaultClassPackageWithoutCacheTest.class/instance/tearDown.st deleted file mode 100644 index 9d91f52..0000000 --- a/src/SmartTest-Tests.package/SmTStaticDefaultClassPackageWithoutCacheTest.class/instance/tearDown.st +++ /dev/null @@ -1,4 +0,0 @@ -initialization -tearDown - super tearDown. - smartFinder resetCache \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTStaticDefaultClassPackageWithoutCacheTest.class/properties.json b/src/SmartTest-Tests.package/SmTStaticDefaultClassPackageWithoutCacheTest.class/properties.json deleted file mode 100644 index b06a222..0000000 --- a/src/SmartTest-Tests.package/SmTStaticDefaultClassPackageWithoutCacheTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/7/2018 11:25", - "super" : "SmTFinderAbstractTest", - "category" : "SmartTest-Tests-Finder", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTStaticDefaultClassPackageWithoutCacheTest", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/README.md b/src/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/README.md deleted file mode 100644 index 71116be..0000000 --- a/src/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/README.md +++ /dev/null @@ -1 +0,0 @@ -In this class, the research is limited to the SmartTest-Tests-Data package and the research is static (it is using the SenderStrategy finder). \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/instance/setUp.st b/src/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/instance/setUp.st deleted file mode 100644 index 02118d0..0000000 --- a/src/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/instance/setUp.st +++ /dev/null @@ -1,5 +0,0 @@ -running -setUp - super setUp. - smartFinder filter: (SmTSpecifyPackagesNameFilter packagesRegex: 'SmartTest-Tests-Data'). - smartFinder resetCache \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/instance/testInheritance.st b/src/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/instance/testInheritance.st deleted file mode 100644 index de200be..0000000 --- a/src/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/instance/testInheritance.st +++ /dev/null @@ -1,10 +0,0 @@ -tests -testInheritance - - "The test is outside of the scope of the test" - | testsFound | - testsFound := self searchTestMethodsFor: ('SmTP1' , 'Inheritance') asClass >> #method1Inheritance. - - self assert: testsFound isEmpty. - self deny: (testsFound includes: ((('SmTP1InheritanceSubClass1','Test')asClass >> ('testMethod1','Inheritance')asSymbol) asRingDefinition )). - self deny: (testsFound includes: ( (RGMethodDefinition className: ('SmTP1InheritanceSubClass2','Test') selector: ('testMethod1','Inheritance') asSymbol isMetaSide: false) asRingDefinition )). \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/instance/testStandardMethodFirstLevelSenders.st b/src/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/instance/testStandardMethodFirstLevelSenders.st deleted file mode 100644 index 669189f..0000000 --- a/src/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/instance/testStandardMethodFirstLevelSenders.st +++ /dev/null @@ -1,12 +0,0 @@ -tests -testStandardMethodFirstLevelSenders - "Same test as in the superclass, but here there should be only one test found (there are many in the superclass)" - - - | testsFound | - testsFound := self searchTestMethodsFor: SmTClass >> #method2. - self assert: testsFound size equals: 1. - self assert: (testsFound includes: testMethod2). - self deny: (testsFound includes: testMethod1). - self deny: (testsFound includes: testMethod3). - self deny: (testsFound includes: testMethod4) \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/instance/testStandardMethodSecondLevelSenders.st b/src/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/instance/testStandardMethodSecondLevelSenders.st deleted file mode 100644 index 068b5b5..0000000 --- a/src/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/instance/testStandardMethodSecondLevelSenders.st +++ /dev/null @@ -1,16 +0,0 @@ -tests -testStandardMethodSecondLevelSenders - "In class, the research is limited to the SmartTest-Tests-Data package and is static. So the assertions are different. There should be only one test found that call the method2 message" - "Here the test founds should not include the test 'testInheritedMethod1' because - - it is not in the package SmartTest-Tests-Data - - it makes a reference to SmTClassOutSide new method2 and NOT SmTClass >> method2" - - - | testsFound | - testsFound := self searchTestMethodsFor: SmTClass >> #method1. - self assert: testsFound size equals: 3. - self assert: (testsFound includes: testMethod1). - self assert: (testsFound includes: testMethod2). - self assert: (testsFound includes: testInheritedMethod1). - self deny: (testsFound includes: testMethod3). - self deny: (testsFound includes: testMethod4) \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/instance/testStandardMethodThirdLevelSenders.st b/src/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/instance/testStandardMethodThirdLevelSenders.st deleted file mode 100644 index c941ec5..0000000 --- a/src/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/instance/testStandardMethodThirdLevelSenders.st +++ /dev/null @@ -1,10 +0,0 @@ -tests -testStandardMethodThirdLevelSenders - - | testsFound | - testsFound := self searchTestMethodsFor: SmTClass >> #method4. - self assert: testsFound size equals: 3. - self deny: (testsFound includes: (SmTClassTest >> #testMethod1 )asRingDefinition). - self assert: (testsFound includes: (SmTClassTest >> #testMethod2 )asRingDefinition). - self assert: (testsFound includes: (SmTClassTest >> #testMethod3 )asRingDefinition). - self assert: (testsFound includes: (SmTClassTest >> #testMethod4 )asRingDefinition). \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/properties.json b/src/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/properties.json deleted file mode 100644 index cafdede..0000000 --- a/src/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/3/2018 16:17", - "super" : "SmTFinderAbstractTest", - "category" : "SmartTest-Tests-Finder", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTStaticSpecifyPackageNameBasicCacheTest", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmartFinderTest.class/README.md b/src/SmartTest-Tests.package/SmartFinderTest.class/README.md deleted file mode 100644 index 9351dc1..0000000 --- a/src/SmartTest-Tests.package/SmartFinderTest.class/README.md +++ /dev/null @@ -1 +0,0 @@ -A SmartFinderTest is a test class for testing the behavior of SmartFinder \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmartFinderTest.class/instance/initCache.st b/src/SmartTest-Tests.package/SmartFinderTest.class/instance/initCache.st deleted file mode 100644 index 01f8719..0000000 --- a/src/SmartTest-Tests.package/SmartFinderTest.class/instance/initCache.st +++ /dev/null @@ -1,31 +0,0 @@ -initialization -initCache - ^ {((SmTClass >> #method1 )asRingDefinition - -> - {(SmTClassTest >> #testMethod1 )asRingDefinition. - (SmTClassTest >> #testMethod2 )asRingDefinition. - (RGMethodDefinition className: 'SmTInheritClassTest' selector: #testMethod1 isMetaSide: false)} asSet). - ((SmTClass >> #method2 )asRingDefinition - -> - {(SmTClassTest >> #testMethod2 )asRingDefinition} - asSet). - ((SmTClass >> #method3: )asRingDefinition - -> - {(SmTClassTest >> #testMethod1 )asRingDefinition. - (SmTClassTest >> #testMethod2 )asRingDefinition. - (SmTClassTest >> #testMethod3 )asRingDefinition} - asSet). - ((SmTClass >> #method4 )asRingDefinition - -> - {(SmTClassTest >> #testMethod2 )asRingDefinition. - (SmTClassTest >> #testMethod3 )asRingDefinition. - (SmTClassTest >> #testMethod4 )asRingDefinition} - asSet). - ((SmTClass2 >> #initialize )asRingDefinition - -> - {(SmTClassTest >> #testMethod5 )asRingDefinition} - asSet). - ((SmTClassTest >> #testMethod4 )asRingDefinition - -> - {(SmTClassTest >> #testMethod4 )asRingDefinition} - asSet)} asDictionary \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmartFinderTest.class/instance/setUp.st b/src/SmartTest-Tests.package/SmartFinderTest.class/instance/setUp.st deleted file mode 100644 index f9154c6..0000000 --- a/src/SmartTest-Tests.package/SmartFinderTest.class/instance/setUp.st +++ /dev/null @@ -1,9 +0,0 @@ -initialization -setUp - smartFinder := SmartFinder new - cacheStrategy: SmTBasicCacheStrategy new; - filter: SmTNoFilter new; - testRunner: SmTRunnerStrategyDebug; - smtFinder: SmTSenderTestFinderStrategy new; - testingStrategy: SmTTestingStrategyEachModification new; - shouldTryToFindTestForDynamic: false \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmartFinderTest.class/instance/tearDown.st b/src/SmartTest-Tests.package/SmartFinderTest.class/instance/tearDown.st deleted file mode 100644 index 4d3b1ab..0000000 --- a/src/SmartTest-Tests.package/SmartFinderTest.class/instance/tearDown.st +++ /dev/null @@ -1,3 +0,0 @@ -initialization -tearDown - smartFinder clean \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmartFinderTest.class/instance/testChangeCacheClassFinder.st b/src/SmartTest-Tests.package/SmartFinderTest.class/instance/testChangeCacheClassFinder.st deleted file mode 100644 index 3094e7e..0000000 --- a/src/SmartTest-Tests.package/SmartFinderTest.class/instance/testChangeCacheClassFinder.st +++ /dev/null @@ -1,7 +0,0 @@ -initialization -testChangeCacheClassFinder - | cacheTmp | - smartFinder smtFinder. - cacheTmp := SmTBasicCacheStrategy new. - smartFinder cacheStrategy: cacheTmp. - self assert: smartFinder smtFinder cache equals: cacheTmp \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmartFinderTest.class/instance/testChangeFilterFinder.st b/src/SmartTest-Tests.package/SmartFinderTest.class/instance/testChangeFilterFinder.st deleted file mode 100644 index 633c1b0..0000000 --- a/src/SmartTest-Tests.package/SmartFinderTest.class/instance/testChangeFilterFinder.st +++ /dev/null @@ -1,7 +0,0 @@ -initialization -testChangeFilterFinder - | filterTmp | - smartFinder smtFinder. - filterTmp := SmTDefaultPackagesFilter new. - smartFinder filter: filterTmp. - self assert: smartFinder smtFinder filter equals: filterTmp \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmartFinderTest.class/instance/testChangeFilterTryFindTestFinder.st b/src/SmartTest-Tests.package/SmartFinderTest.class/instance/testChangeFilterTryFindTestFinder.st deleted file mode 100644 index 9ac4a08..0000000 --- a/src/SmartTest-Tests.package/SmartFinderTest.class/instance/testChangeFilterTryFindTestFinder.st +++ /dev/null @@ -1,7 +0,0 @@ -initialization -testChangeFilterTryFindTestFinder - smartFinder smtFinder. - smartFinder shouldTryToFindTestForDynamic: true. - self assert: smartFinder smtFinder shouldTryToFindTestForDynamic. - smartFinder shouldTryToFindTestForDynamic: false. - self deny: smartFinder smtFinder shouldTryToFindTestForDynamic \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmartFinderTest.class/instance/testChangeFinderTestingStrategy.st b/src/SmartTest-Tests.package/SmartFinderTest.class/instance/testChangeFinderTestingStrategy.st deleted file mode 100644 index c6d0063..0000000 --- a/src/SmartTest-Tests.package/SmartFinderTest.class/instance/testChangeFinderTestingStrategy.st +++ /dev/null @@ -1,7 +0,0 @@ -initialization -testChangeFinderTestingStrategy - | finderTmp | - smartFinder testingStrategy. - finderTmp := SmTSenderTestFinderStrategy new. - smartFinder smtFinder: finderTmp. - self assert: smartFinder testingStrategy finder equals: finderTmp \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmartFinderTest.class/instance/testChangeRunnerTestingStrategy.st b/src/SmartTest-Tests.package/SmartFinderTest.class/instance/testChangeRunnerTestingStrategy.st deleted file mode 100644 index a9aa534..0000000 --- a/src/SmartTest-Tests.package/SmartFinderTest.class/instance/testChangeRunnerTestingStrategy.st +++ /dev/null @@ -1,7 +0,0 @@ -initialization -testChangeRunnerTestingStrategy - smartFinder testingStrategy. - smartFinder testRunner: SmTRunnerStrategyDebug. - self assert: smartFinder testingStrategy runner equals: SmTRunnerStrategyDebug. - smartFinder testRunner: SmTRunnerStrategyNotice. - self assert: smartFinder testingStrategy runner equals: SmTRunnerStrategyNotice \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmartFinderTest.class/instance/testResetCache.st b/src/SmartTest-Tests.package/SmartFinderTest.class/instance/testResetCache.st deleted file mode 100644 index 999d641..0000000 --- a/src/SmartTest-Tests.package/SmartFinderTest.class/instance/testResetCache.st +++ /dev/null @@ -1,7 +0,0 @@ -tests-api -testResetCache - self assert: smartFinder currentCache isEmpty . - smartFinder setCacheValues: self initCache. - self assert: smartFinder currentCache isNotEmpty . - smartFinder resetCache. - self assert: smartFinder currentCache isEmpty \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmartFinderTest.class/instance/testTwoSmartFinderhaveTwoDifferentCache.st b/src/SmartTest-Tests.package/SmartFinderTest.class/instance/testTwoSmartFinderhaveTwoDifferentCache.st deleted file mode 100644 index 1e36332..0000000 --- a/src/SmartTest-Tests.package/SmartFinderTest.class/instance/testTwoSmartFinderhaveTwoDifferentCache.st +++ /dev/null @@ -1,5 +0,0 @@ -initialization -testTwoSmartFinderhaveTwoDifferentCache - | smartFinder2 | - smartFinder2 := SmartFinder new. - self deny: smartFinder currentCache == smartFinder2 currentCache \ No newline at end of file diff --git a/src/SmartTest-Tests.package/SmartFinderTest.class/properties.json b/src/SmartTest-Tests.package/SmartFinderTest.class/properties.json deleted file mode 100644 index 1d906dd..0000000 --- a/src/SmartTest-Tests.package/SmartFinderTest.class/properties.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "commentStamp" : "", - "super" : "TestCase", - "category" : "SmartTest-Tests-Finder", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "smartFinder" - ], - "name" : "SmartFinderTest", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest-Tests.package/monticello.meta/categories.st b/src/SmartTest-Tests.package/monticello.meta/categories.st deleted file mode 100644 index ad91c77..0000000 --- a/src/SmartTest-Tests.package/monticello.meta/categories.st +++ /dev/null @@ -1,8 +0,0 @@ -SystemOrganization addCategory: #'SmartTest-Tests'! -SystemOrganization addCategory: #'SmartTest-Tests-Cache'! -SystemOrganization addCategory: #'SmartTest-Tests-CacheBuilder'! -SystemOrganization addCategory: #'SmartTest-Tests-Filter'! -SystemOrganization addCategory: #'SmartTest-Tests-Finder'! -SystemOrganization addCategory: #'SmartTest-Tests-OnModification'! -SystemOrganization addCategory: #'SmartTest-Tests-Runner'! -SystemOrganization addCategory: #'SmartTest-Tests-Settings'! diff --git a/src/SmartTest-Tests.package/monticello.meta/initializers.st b/src/SmartTest-Tests.package/monticello.meta/initializers.st deleted file mode 100644 index e69de29..0000000 diff --git a/src/SmartTest-Tests.package/monticello.meta/package b/src/SmartTest-Tests.package/monticello.meta/package deleted file mode 100644 index 9e2d096..0000000 --- a/src/SmartTest-Tests.package/monticello.meta/package +++ /dev/null @@ -1 +0,0 @@ -(name 'SmartTest-Tests') \ No newline at end of file diff --git a/src/SmartTest-Tests.package/properties.json b/src/SmartTest-Tests.package/properties.json deleted file mode 100644 index 6f31cf5..0000000 --- a/src/SmartTest-Tests.package/properties.json +++ /dev/null @@ -1 +0,0 @@ -{ } \ No newline at end of file diff --git a/src/SmartTest-Tests/SmTCacheBuilderReflectivityNeverResetTest.class.st b/src/SmartTest-Tests/SmTCacheBuilderReflectivityNeverResetTest.class.st new file mode 100644 index 0000000..70c091c --- /dev/null +++ b/src/SmartTest-Tests/SmTCacheBuilderReflectivityNeverResetTest.class.st @@ -0,0 +1,13 @@ +" +These tests are here to assert that the build cache methods are correct when dealing the Reflectivity strategy and the never reset cache. +" +Class { + #name : #SmTCacheBuilderReflectivityNeverResetTest, + #superclass : #SmTCacheBuilderReflectivityTest, + #category : 'SmartTest-Tests-CacheBuilder' +} + +{ #category : #initialization } +SmTCacheBuilderReflectivityNeverResetTest >> cacheStrategy [ +^ SmTBasicCacheNeverResetStrategy +] diff --git a/src/SmartTest-Tests/SmTCacheBuilderReflectivityResetEvery5ChangesTest.class.st b/src/SmartTest-Tests/SmTCacheBuilderReflectivityResetEvery5ChangesTest.class.st new file mode 100644 index 0000000..891e958 --- /dev/null +++ b/src/SmartTest-Tests/SmTCacheBuilderReflectivityResetEvery5ChangesTest.class.st @@ -0,0 +1,13 @@ +" +These tests are here to assert that the build cache methods are correct when dealing the Reflectivity strategy and the reset every 5 changes cache. +" +Class { + #name : #SmTCacheBuilderReflectivityResetEvery5ChangesTest, + #superclass : #SmTCacheBuilderReflectivityTest, + #category : 'SmartTest-Tests-CacheBuilder' +} + +{ #category : #initialization } +SmTCacheBuilderReflectivityResetEvery5ChangesTest >> cacheStrategy [ +^ SmTBasicCacheNeverResetStrategy +] diff --git a/src/SmartTest-Tests/SmTCacheBuilderReflectivityResetEveryCommitTest.class.st b/src/SmartTest-Tests/SmTCacheBuilderReflectivityResetEveryCommitTest.class.st new file mode 100644 index 0000000..0acab4c --- /dev/null +++ b/src/SmartTest-Tests/SmTCacheBuilderReflectivityResetEveryCommitTest.class.st @@ -0,0 +1,13 @@ +" +These tests are here to assert that the build cache methods are correct when dealing the Reflectivity strategy and the reset every commit cache. +" +Class { + #name : #SmTCacheBuilderReflectivityResetEveryCommitTest, + #superclass : #SmTCacheBuilderReflectivityTest, + #category : 'SmartTest-Tests-CacheBuilder' +} + +{ #category : #initialization } +SmTCacheBuilderReflectivityResetEveryCommitTest >> cacheStrategy [ +^ SmTBasicCacheNeverResetStrategy +] diff --git a/src/SmartTest-Tests/SmTCacheBuilderReflectivityResetOnDemandTest.class.st b/src/SmartTest-Tests/SmTCacheBuilderReflectivityResetOnDemandTest.class.st new file mode 100644 index 0000000..1cf60a7 --- /dev/null +++ b/src/SmartTest-Tests/SmTCacheBuilderReflectivityResetOnDemandTest.class.st @@ -0,0 +1,13 @@ +" +These tests are here to assert that the build cache methods are correct when dealing the Reflectivity strategy and the reset on demand cache. +" +Class { + #name : #SmTCacheBuilderReflectivityResetOnDemandTest, + #superclass : #SmTCacheBuilderReflectivityTest, + #category : 'SmartTest-Tests-CacheBuilder' +} + +{ #category : #initialization } +SmTCacheBuilderReflectivityResetOnDemandTest >> cacheStrategy [ +^ SmTBasicCacheStrategy +] diff --git a/src/SmartTest-Tests/SmTCacheBuilderReflectivityTest.class.st b/src/SmartTest-Tests/SmTCacheBuilderReflectivityTest.class.st new file mode 100644 index 0000000..c9c06a3 --- /dev/null +++ b/src/SmartTest-Tests/SmTCacheBuilderReflectivityTest.class.st @@ -0,0 +1,83 @@ +" +These tests are here to assert that the build cache methods are correct when dealing with different cache strategies and the Reflectivity strategy. +" +Class { + #name : #SmTCacheBuilderReflectivityTest, + #superclass : #SmTCacheBuilderTest, + #category : 'SmartTest-Tests-CacheBuilder' +} + +{ #category : #testing } +SmTCacheBuilderReflectivityTest class >> isAbstract [ + ^ self == SmTCacheBuilderReflectivityTest +] + +{ #category : #tests } +SmTCacheBuilderReflectivityTest >> dynamicFinder [ + ^ SmTReflectivityTestFinderStrategy new +] + +{ #category : #tests } +SmTCacheBuilderReflectivityTest >> testRunningTestMethod1ToBuildCache [ + + self assert: smartFinder currentCache isEmpty. + SmTClassTest run: #testMethod1. + "Running the test fill the cache that is then no more empty but contains only the association between SmTClass>>method1 and SmTClassTest>>testMethod1" + self assert: smartFinder currentCache isNotEmpty. + + "Not sure about the format of the dictionnary." + self + assert: (smartFinder currentCache at: ((SmTClass >> #method1) asRingDefinition )) + equals: {(SmTClassTest >> #testMethod1) asRingDefinition } asSet +] + +{ #category : #tests } +SmTCacheBuilderReflectivityTest >> testRunningTestMethod2ToBuildCache [ + + self assert: smartFinder currentCache isEmpty. + SmTClassTest run: #testMethod2. + self assert: smartFinder currentCache isNotEmpty. + self + assert: + (smartFinder currentCache + at: (SmTClass >> #method1 )asRingDefinition) + equals: + {(SmTClassTest >> #testMethod2 )asRingDefinition} + asSet. + + "Not sure about the format of the dictionnary." + self + assert: + (smartFinder currentCache + at: (SmTClass >> #method2 )asRingDefinition) + equals: + {(SmTClassTest >> #testMethod2 )asRingDefinition} + asSet. + self + assert: + (smartFinder currentCache + at: (SmTClass >> #method3: )asRingDefinition) + equals: + {(SmTClassTest >> #testMethod2 )asRingDefinition} + asSet. + self + assert: + (smartFinder currentCache + at: (SmTClass >> #method4 )asRingDefinition) + equals: + {(SmTClassTest >> #testMethod2 )asRingDefinition} + asSet +] + +{ #category : #tests } +SmTCacheBuilderReflectivityTest >> testRunningTestMethod5ToBuildCache [ + "This test if SmTTestCoverage find the initialize call" + + + self assert: smartFinder currentCache isEmpty. + SmTClassTest run: #testMethod5. + "Running the test fill the cache that is then no more empty but contains only the association between SmTClass>>method1 and SmTClassTest>>testMethod1" + self assert: smartFinder currentCache isNotEmpty. + self assert: (smartFinder currentCache at: (SmTClass2 >> #initialize) asRingDefinition) equals: {(SmTClassTest >> #testMethod5) asRingDefinition} asSet. + self assert: (smartFinder currentCache at: (SmTClassTest >> #testMethod5) asRingDefinition) equals: {(SmTClassTest >> #testMethod5) asRingDefinition} asSet +] diff --git a/src/SmartTest-Tests/SmTCacheBuilderTest.class.st b/src/SmartTest-Tests/SmTCacheBuilderTest.class.st new file mode 100644 index 0000000..0d2aada --- /dev/null +++ b/src/SmartTest-Tests/SmTCacheBuilderTest.class.st @@ -0,0 +1,108 @@ +" +This class aims to test the construction of the cache in the context of dynamic method analysis with different dynamic strategies and different cache strategies. +" +Class { + #name : #SmTCacheBuilderTest, + #superclass : #TestCase, + #instVars : [ + 'cache', + 'smartFinder' + ], + #category : 'SmartTest-Tests-CacheBuilder' +} + +{ #category : #testing } +SmTCacheBuilderTest class >> isAbstract [ + + ^ self == SmTCacheBuilderTest +] + +{ #category : #initialization } +SmTCacheBuilderTest >> cacheStrategy [ +self subclassResponsibility. +] + +{ #category : #initialization } +SmTCacheBuilderTest >> dynamicFinder [ + self subclassResponsibility +] + +{ #category : #helpers } +SmTCacheBuilderTest >> searchTestMethodsFor: aCompiledMethod [ + + ^ smartFinder researchTestsForMethod: aCompiledMethod . +] + +{ #category : #initialization } +SmTCacheBuilderTest >> setUp [ + smartFinder := SmartFinder new. + smartFinder filter: SmTDefaultClassPackagesFilter new. + "the cache is initially empty" + smartFinder autoUpdateCache: false. + smartFinder cacheStrategy: self cacheStrategy new. + smartFinder resetCache. + smartFinder smtFinder: self dynamicFinder. + smartFinder autoUpdateCache: true +] + +{ #category : #initialization } +SmTCacheBuilderTest >> tearDown [ + smartFinder autoUpdateCache: false. + smartFinder clean. + super tearDown +] + +{ #category : #tests } +SmTCacheBuilderTest >> testResearchTestsForStandardMethodWhileEmptyCache [ + + | testsFound | + self assert: smartFinder currentCache isEmpty. + testsFound := self searchTestMethodsFor: SmTClass >> #method2. + self assert: smartFinder currentCache isEmpty. + self assert: testsFound isEmpty. + + +] + +{ #category : #tests } +SmTCacheBuilderTest >> testRunningTestMethod1ToBuildCache [ + + self assert: smartFinder currentCache isEmpty. + SmTClassTest run: #testMethod1. + "Running the test fill the cache that is then no more empty but contains only the association between SmTClass>>method1 and SmTClassTest>>testMethod1" + self assert: smartFinder currentCache isNotEmpty. + self assert: smartFinder currentCache size equals: 2. + + "Not sure about the format of the dictionnary." + self assert: (smartFinder currentCache at: (SmTClass >> #method1) asRingDefinition) equals: {(SmTClassTest >> #testMethod1) asRingDefinition} asSet +] + +{ #category : #tests } +SmTCacheBuilderTest >> testRunningTestMethod2ToBuildCache [ + + self assert: smartFinder currentCache isEmpty. + SmTClassTest run: #testMethod2. + "Running the test fills the cache that is then no more empty but contains only the association between SmTClass>>methodi (with i = 1 to 4) and SmTClassTest>>testMethod2. The cache should contain 5 associations one for each method as key and testMethod2 asValue" + self assert: smartFinder currentCache isNotEmpty. + self assert: smartFinder currentCache size equals: 5. + self assert: (smartFinder currentCache at: (SmTClass >> #method1) asRingDefinition) equals: {(SmTClassTest >> #testMethod2) asRingDefinition} asSet. + + "Not sure about the format of the dictionnary." + self assert: (smartFinder currentCache at: (SmTClass >> #method2) asRingDefinition) equals: {(SmTClassTest >> #testMethod2) asRingDefinition} asSet. + self assert: (smartFinder currentCache at: (SmTClass >> #method3:) asRingDefinition) equals: {(SmTClassTest >> #testMethod2) asRingDefinition} asSet. + self assert: (smartFinder currentCache at: (SmTClass >> #method4) asRingDefinition) equals: {(SmTClassTest >> #testMethod2) asRingDefinition} asSet +] + +{ #category : #tests } +SmTCacheBuilderTest >> testRunningTestMethod5ToBuildCache [ + "This test if SmTTestCoverage find the initialize call" + + + self assert: smartFinder currentCache isEmpty. + SmTClassTest run: #testMethod5. + "Running the test fill the cache that is then no more empty but contains only the association between SmTClass2>>initialize and SmTClassTest>>testMethod5" + self assert: smartFinder currentCache isNotEmpty. + self assert: smartFinder currentCache size equals: 2. + self assert: (smartFinder currentCache at: (SmTClass2 >> #initialize) asRingDefinition) equals: {(SmTClassTest >> #testMethod5) asRingDefinition} asSet. + self assert: (smartFinder currentCache at: (SmTClassTest >> #testMethod5) asRingDefinition) equals: {(SmTClassTest >> #testMethod5) asRingDefinition} asSet +] diff --git a/src/SmartTest-Tests/SmTCacheBuilderTestCoverageNeverResetTest.class.st b/src/SmartTest-Tests/SmTCacheBuilderTestCoverageNeverResetTest.class.st new file mode 100644 index 0000000..55e5aa9 --- /dev/null +++ b/src/SmartTest-Tests/SmTCacheBuilderTestCoverageNeverResetTest.class.st @@ -0,0 +1,13 @@ +" +These tests are here to assert that the build cache methods are correct when dealing the Test Coverage strategy and the never reset cache. +" +Class { + #name : #SmTCacheBuilderTestCoverageNeverResetTest, + #superclass : #SmTCacheBuilderTestCoverageTest, + #category : 'SmartTest-Tests-CacheBuilder' +} + +{ #category : #initialization } +SmTCacheBuilderTestCoverageNeverResetTest >> cacheStrategy [ +^ SmTBasicCacheNeverResetStrategy +] diff --git a/src/SmartTest-Tests/SmTCacheBuilderTestCoverageResetEvery5ChangesTest.class.st b/src/SmartTest-Tests/SmTCacheBuilderTestCoverageResetEvery5ChangesTest.class.st new file mode 100644 index 0000000..5061105 --- /dev/null +++ b/src/SmartTest-Tests/SmTCacheBuilderTestCoverageResetEvery5ChangesTest.class.st @@ -0,0 +1,13 @@ +" +These tests are here to assert that the build cache methods are correct when dealing the Test Coverage strategy and the reset every 5 changes cache. +" +Class { + #name : #SmTCacheBuilderTestCoverageResetEvery5ChangesTest, + #superclass : #SmTCacheBuilderTestCoverageTest, + #category : 'SmartTest-Tests-CacheBuilder' +} + +{ #category : #initialization } +SmTCacheBuilderTestCoverageResetEvery5ChangesTest >> cacheStrategy [ +^ SmTBasicCacheResetEvery5ChangesStrategy +] diff --git a/src/SmartTest-Tests/SmTCacheBuilderTestCoverageResetEveryCommitTest.class.st b/src/SmartTest-Tests/SmTCacheBuilderTestCoverageResetEveryCommitTest.class.st new file mode 100644 index 0000000..9e47e97 --- /dev/null +++ b/src/SmartTest-Tests/SmTCacheBuilderTestCoverageResetEveryCommitTest.class.st @@ -0,0 +1,13 @@ +" +These tests are here to assert that the build cache methods are correct when dealing the Test Coverage strategy and the reset every commits cache. +" +Class { + #name : #SmTCacheBuilderTestCoverageResetEveryCommitTest, + #superclass : #SmTCacheBuilderTestCoverageTest, + #category : 'SmartTest-Tests-CacheBuilder' +} + +{ #category : #initialization } +SmTCacheBuilderTestCoverageResetEveryCommitTest >> cacheStrategy [ +^ SmTBasicCacheResetEveryCommitStrategy +] diff --git a/src/SmartTest-Tests/SmTCacheBuilderTestCoverageResetOnDemandTest.class.st b/src/SmartTest-Tests/SmTCacheBuilderTestCoverageResetOnDemandTest.class.st new file mode 100644 index 0000000..b21d7be --- /dev/null +++ b/src/SmartTest-Tests/SmTCacheBuilderTestCoverageResetOnDemandTest.class.st @@ -0,0 +1,13 @@ +" +These tests are here to assert that the build cache methods are correct when dealing the Test Coverage strategy and the reset on demand cache. +" +Class { + #name : #SmTCacheBuilderTestCoverageResetOnDemandTest, + #superclass : #SmTCacheBuilderTestCoverageTest, + #category : 'SmartTest-Tests-CacheBuilder' +} + +{ #category : #initialization } +SmTCacheBuilderTestCoverageResetOnDemandTest >> cacheStrategy [ +^ SmTBasicCacheStrategy +] diff --git a/src/SmartTest-Tests/SmTCacheBuilderTestCoverageTest.class.st b/src/SmartTest-Tests/SmTCacheBuilderTestCoverageTest.class.st new file mode 100644 index 0000000..9bb31ce --- /dev/null +++ b/src/SmartTest-Tests/SmTCacheBuilderTestCoverageTest.class.st @@ -0,0 +1,18 @@ +" +These tests are here to assert that the build cache methods are correct when dealing with different cache strategies. +" +Class { + #name : #SmTCacheBuilderTestCoverageTest, + #superclass : #SmTCacheBuilderTest, + #category : 'SmartTest-Tests-CacheBuilder' +} + +{ #category : #testing } +SmTCacheBuilderTestCoverageTest class >> isAbstract [ +^ self == SmTCacheBuilderTestCoverageTest +] + +{ #category : #initialization } +SmTCacheBuilderTestCoverageTest >> dynamicFinder [ + ^ SmTTestCoverageTestFinderStrategy new +] diff --git a/src/SmartTest-Tests/SmTCacheNeverResetTest.class.st b/src/SmartTest-Tests/SmTCacheNeverResetTest.class.st new file mode 100644 index 0000000..12e7ec0 --- /dev/null +++ b/src/SmartTest-Tests/SmTCacheNeverResetTest.class.st @@ -0,0 +1,10 @@ +Class { + #name : #SmTCacheNeverResetTest, + #superclass : #SmTCacheTest, + #category : 'SmartTest-Tests-Cache' +} + +{ #category : #running } +SmTCacheNeverResetTest >> strategyTested [ +^ SmTBasicCacheNeverResetStrategy +] diff --git a/src/SmartTest-Tests.package/SmTCacheResetEvery5ChangesTest.class/instance/testResetAfter5MethodChange.st b/src/SmartTest-Tests/SmTCacheResetEvery5ChangesTest.class.st similarity index 60% rename from src/SmartTest-Tests.package/SmTCacheResetEvery5ChangesTest.class/instance/testResetAfter5MethodChange.st rename to src/SmartTest-Tests/SmTCacheResetEvery5ChangesTest.class.st index 407194d..773762d 100644 --- a/src/SmartTest-Tests.package/SmTCacheResetEvery5ChangesTest.class/instance/testResetAfter5MethodChange.st +++ b/src/SmartTest-Tests/SmTCacheResetEvery5ChangesTest.class.st @@ -1,5 +1,16 @@ -tests -testResetAfter5MethodChange +Class { + #name : #SmTCacheResetEvery5ChangesTest, + #superclass : #SmTCacheTest, + #category : 'SmartTest-Tests-Cache' +} + +{ #category : #running } +SmTCacheResetEvery5ChangesTest >> strategyTested [ +^ SmTBasicCacheResetEvery5ChangesStrategy +] + +{ #category : #tests } +SmTCacheResetEvery5ChangesTest >> testResetAfter5MethodChange [ "After one method change, the cache should be empty for NeverRest, EveryFiveChange, and EveryCommit case." smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. @@ -9,4 +20,5 @@ testResetAfter5MethodChange self assert: smartFinder cacheStrategy numberOfChange == 4. smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. self assert: smartFinder cacheStrategy numberOfChange == 0. - self assert: smartFinder currentCache isEmpty \ No newline at end of file + self assert: smartFinder currentCache isEmpty +] diff --git a/src/SmartTest-Tests/SmTCacheResetEveryCommitTest.class.st b/src/SmartTest-Tests/SmTCacheResetEveryCommitTest.class.st new file mode 100644 index 0000000..06adccf --- /dev/null +++ b/src/SmartTest-Tests/SmTCacheResetEveryCommitTest.class.st @@ -0,0 +1,18 @@ +Class { + #name : #SmTCacheResetEveryCommitTest, + #superclass : #SmTCacheTest, + #category : 'SmartTest-Tests-Cache' +} + +{ #category : #running } +SmTCacheResetEveryCommitTest >> strategyTested [ +^ SmTBasicCacheResetEveryCommitStrategy +] + +{ #category : #tests } +SmTCacheResetEveryCommitTest >> testResetAfter1Commit [ + "After one method change, the cache should be empty for NeverRest, EveryFiveChange, and EveryCommit case." + + smartFinder cacheStrategy resetCacheForChange: EpMonticelloVersionSave new. + self assert: smartFinder currentCache isEmpty +] diff --git a/src/SmartTest-Tests/SmTCacheResetOnDemandTest.class.st b/src/SmartTest-Tests/SmTCacheResetOnDemandTest.class.st new file mode 100644 index 0000000..a687990 --- /dev/null +++ b/src/SmartTest-Tests/SmTCacheResetOnDemandTest.class.st @@ -0,0 +1,46 @@ +Class { + #name : #SmTCacheResetOnDemandTest, + #superclass : #SmTCacheTest, + #category : 'SmartTest-Tests-Cache' +} + +{ #category : #running } +SmTCacheResetOnDemandTest >> strategyTested [ +^ SmTBasicCacheStrategy +] + +{ #category : #tests } +SmTCacheResetOnDemandTest >> testResetAfter1Commit [ +"After one method change, the cache should be empty for NeverRest, EveryFiveChange, and EveryCommit case." +smartFinder cacheStrategy resetCacheForChange: EpMonticelloVersionSave new. +self assert: (smartFinder currentCache isEmpty) +] + +{ #category : #tests } +SmTCacheResetOnDemandTest >> testResetAfter1MethodChange [ +"Here, the cache should be empty because the BasicCache strategy allows that the reset of the cache" +smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. +self assert: (smartFinder currentCache isEmpty) +] + +{ #category : #tests } +SmTCacheResetOnDemandTest >> testResetAfter4MethodChange [ + "After one method change, the cache should be empty for NeverRest, EveryFiveChange, and EveryCommit case." + + smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. + smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. + smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. + smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. + self assert: smartFinder currentCache isEmpty +] + +{ #category : #tests } +SmTCacheResetOnDemandTest >> testResetAfter5MethodChange [ +"After one method change, the cache should be empty for NeverRest, EveryFiveChange, and EveryCommit case." +smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. +smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. +smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. +smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. +smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. +self assert: (smartFinder currentCache isEmpty) +] diff --git a/src/SmartTest-Tests/SmTCacheTest.class.st b/src/SmartTest-Tests/SmTCacheTest.class.st new file mode 100644 index 0000000..bffec80 --- /dev/null +++ b/src/SmartTest-Tests/SmTCacheTest.class.st @@ -0,0 +1,115 @@ +" +This tests are here to assert that cache strategies behave corectly. +- BasicCacheNeverReset should always have something in it. +- BasicCacheResetEvery5Changes should reset after 5 calls to its reset method +- BasicCacheResetEveryCommit should reset after each change that is a commit, and not the methods changes. +- BasicCache should reset each time its method reset is called + +" +Class { + #name : #SmTCacheTest, + #superclass : #TestCase, + #instVars : [ + 'cache', + 'smartFinder' + ], + #category : 'SmartTest-Tests-Cache' +} + +{ #category : #testing } +SmTCacheTest class >> isAbstract [ +^ (self == SmTCacheTest) +] + +{ #category : #'initialize-release' } +SmTCacheTest >> initCache [ + ^ {((SmTClass >> #method1) asRingDefinition + -> + {(SmTClassTest >> #testMethod1) asRingDefinition. + (SmTClassTest >> #testMethod2) asRingDefinition. + (RGMethodDefinition + className: 'SmTInheritClassTest' + selector: #testMethod1 + isMetaSide: false)} asSet). + ((SmTClass >> #method2) asRingDefinition + -> {(SmTClassTest >> #testMethod2) asRingDefinition} asSet). + ((SmTClass >> #method3:) asRingDefinition + -> + {(SmTClassTest >> #testMethod1) asRingDefinition. + (SmTClassTest >> #testMethod2) asRingDefinition. + (SmTClassTest >> #testMethod3) asRingDefinition} asSet). + ((SmTClass >> #method4) asRingDefinition + -> + {(SmTClassTest >> #testMethod2) asRingDefinition. + (SmTClassTest >> #testMethod3) asRingDefinition. + (SmTClassTest >> #testMethod4) asRingDefinition} asSet). + ((SmTClass2 >> #initialize) asRingDefinition + -> {(SmTClassTest >> #testMethod5) asRingDefinition} asSet). + ((SmTClassTest >> #testMethod4) asRingDefinition + -> {(SmTClassTest >> #testMethod4) asRingDefinition} asSet). + ((('SmTP1' , 'Inheritance') asClass >> ('method1' , 'Inheritance') asSymbol) + asRingDefinition + -> + {(('SmTP1' , 'InheritanceSubClass1Test') asClass >> ('testMethod1','Inheritance') asSymbol) + asRingDefinition. + (RGMethodDefinition className: ('SmTP1InheritanceSubClass2','Test') selector: ('testMethod1','Inheritance') isMetaSide: false) + asRingDefinition} asSet)} asDictionary +] + +{ #category : #running } +SmTCacheTest >> setUp [ + "fill in the cache" + + | initialCache | + super setUp. + smartFinder := SmartFinder new. + initialCache := self initCache. + smartFinder cacheStrategy: (self strategyTested new). + smartFinder setCacheValues: initialCache. + smartFinder smtFinder: SmTTestCoverageTestFinderStrategy new +] + +{ #category : #running } +SmTCacheTest >> strategyTested [ +self subclassResponsibility +] + +{ #category : #tests } +SmTCacheTest >> testInitCache [ +self assert: (smartFinder currentCache isNotEmpty). +] + +{ #category : #tests } +SmTCacheTest >> testResetAfter1Commit [ +"After one method change, the cache should be empty for NeverRest, EveryFiveChange, and EveryCommit case." +smartFinder cacheStrategy resetCacheForChange: EpMonticelloVersionSave new. +self assert: (smartFinder currentCache isNotEmpty) +] + +{ #category : #tests } +SmTCacheTest >> testResetAfter1MethodChange [ +"After one method change, the cache should be empty for NeverRest, EveryFiveChange, and EveryCommit case." +smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. +self assert: (smartFinder currentCache isNotEmpty) +] + +{ #category : #tests } +SmTCacheTest >> testResetAfter4MethodChange [ +"After one method change, the cache should be empty for NeverRest, EveryFiveChange, and EveryCommit case." +smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. +smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. +smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. +smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. +self assert: (smartFinder currentCache isNotEmpty) +] + +{ #category : #tests } +SmTCacheTest >> testResetAfter5MethodChange [ +"After one method change, the cache should be empty for NeverRest, EveryFiveChange, and EveryCommit case." +smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. +smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. +smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. +smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. +smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. +self assert: (smartFinder currentCache isNotEmpty) +] diff --git a/src/SmartTest-Tests/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class.st b/src/SmartTest-Tests/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class.st new file mode 100644 index 0000000..447bb5b --- /dev/null +++ b/src/SmartTest-Tests/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class.st @@ -0,0 +1,81 @@ +Class { + #name : #SmTDynamicCoverageStrategyBasicCacheNeverResetTest, + #superclass : #SmTFinderAbstractTest, + #category : 'SmartTest-Tests-Finder' +} + +{ #category : #running } +SmTDynamicCoverageStrategyBasicCacheNeverResetTest >> initCache [ + ^ {((SmTClass >> #method1) asRingDefinition + -> + {(SmTClassTest >> #testMethod1) asRingDefinition. + (SmTClassTest >> #testMethod2) asRingDefinition. + (RGMethodDefinition + className: 'SmTInheritClassTest' + selector: #testMethod1 + isMetaSide: false)} asSet). + ((SmTClass >> #method2) asRingDefinition + -> {(SmTClassTest >> #testMethod2) asRingDefinition} asSet). + ((SmTClass >> #method3:) asRingDefinition + -> + {(SmTClassTest >> #testMethod1) asRingDefinition. + (SmTClassTest >> #testMethod2) asRingDefinition. + (SmTClassTest >> #testMethod3) asRingDefinition} asSet). + ((SmTClass >> #method4) asRingDefinition + -> + {(SmTClassTest >> #testMethod2) asRingDefinition. + (SmTClassTest >> #testMethod3) asRingDefinition. + (SmTClassTest >> #testMethod4) asRingDefinition} asSet). + ((SmTClass2 >> #initialize) asRingDefinition + -> {(SmTClassTest >> #testMethod5) asRingDefinition} asSet). + ((SmTClassTest >> #testMethod4) asRingDefinition + -> {(SmTClassTest >> #testMethod4) asRingDefinition} asSet). + ((('SmTP1' , 'Inheritance') asClass >> ('method1' , 'Inheritance') asSymbol) + asRingDefinition + -> + {(('SmTP1' , 'InheritanceSubClass1Test') asClass >> ('testMethod1','Inheritance') asSymbol) + asRingDefinition. + (RGMethodDefinition className: ('SmTP1InheritanceSubClass2','Test') selector: ('testMethod1','Inheritance') isMetaSide: false) + asRingDefinition} asSet)} asDictionary +] + +{ #category : #running } +SmTDynamicCoverageStrategyBasicCacheNeverResetTest >> setUp [ + "fill in the cache" + + | initialCache | + super setUp. + initialCache := self initCache. + smartFinder cacheStrategy: (SmTBasicCacheNeverResetStrategy new). + smartFinder setCacheValues: initialCache. + smartFinder smtFinder: SmTTestCoverageTestFinderStrategy new +] + +{ #category : #helpers } +SmTDynamicCoverageStrategyBasicCacheNeverResetTest >> tearDown [ + smartFinder resetCache. +] + +{ #category : #tests } +SmTDynamicCoverageStrategyBasicCacheNeverResetTest >> testModificationOnTest [ +"this method is redundant with the abstract method" + + | testsFound | + testsFound := self searchTestMethodsFor: SmTClassTest >> #testMethod4. + self deny: (testsFound includes: testMethod1). + self deny: (testsFound includes: testMethod2). + self deny: (testsFound includes: testMethod3). + self assert: (testsFound includes: testMethod4) +] + +{ #category : #tests } +SmTDynamicCoverageStrategyBasicCacheNeverResetTest >> testTestSelfSelected [ +"this method is redundant with the abstract method" + + | testsFound | + testsFound := self searchTestsForATestMethod: SmTClassTest >> #testMethod1. + self assert: (testsFound includes: testMethod1). + self deny: (testsFound includes: testMethod2). + self deny: (testsFound includes: testMethod3). + self deny: (testsFound includes: testMethod4) +] diff --git a/src/SmartTest-Tests/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class.st b/src/SmartTest-Tests/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class.st new file mode 100644 index 0000000..5c577b2 --- /dev/null +++ b/src/SmartTest-Tests/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class.st @@ -0,0 +1,81 @@ +Class { + #name : #SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest, + #superclass : #SmTFinderAbstractTest, + #category : 'SmartTest-Tests-Finder' +} + +{ #category : #running } +SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest >> initCache [ + ^ {((SmTClass >> #method1) asRingDefinition + -> + {(SmTClassTest >> #testMethod1) asRingDefinition. + (SmTClassTest >> #testMethod2) asRingDefinition. + (RGMethodDefinition + className: 'SmTInheritClassTest' + selector: #testMethod1 + isMetaSide: false)} asSet). + ((SmTClass >> #method2) asRingDefinition + -> {(SmTClassTest >> #testMethod2) asRingDefinition} asSet). + ((SmTClass >> #method3:) asRingDefinition + -> + {(SmTClassTest >> #testMethod1) asRingDefinition. + (SmTClassTest >> #testMethod2) asRingDefinition. + (SmTClassTest >> #testMethod3) asRingDefinition} asSet). + ((SmTClass >> #method4) asRingDefinition + -> + {(SmTClassTest >> #testMethod2) asRingDefinition. + (SmTClassTest >> #testMethod3) asRingDefinition. + (SmTClassTest >> #testMethod4) asRingDefinition} asSet). + ((SmTClass2 >> #initialize) asRingDefinition + -> {(SmTClassTest >> #testMethod5) asRingDefinition} asSet). + ((SmTClassTest >> #testMethod4) asRingDefinition + -> {(SmTClassTest >> #testMethod4) asRingDefinition} asSet). + ((('SmTP1' , 'Inheritance') asClass >> ('method1' , 'Inheritance') asSymbol) + asRingDefinition + -> + {(('SmTP1' , 'InheritanceSubClass1Test') asClass >> ('testMethod1','Inheritance') asSymbol) + asRingDefinition. + (RGMethodDefinition className: ('SmTP1InheritanceSubClass2','Test') selector: ('testMethod1','Inheritance') isMetaSide: false) + asRingDefinition} asSet)} asDictionary +] + +{ #category : #running } +SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest >> setUp [ + "fill in the cache" + + | initialCache | + super setUp. + initialCache := self initCache. + smartFinder cacheStrategy: (SmTBasicCacheResetEvery5ChangesStrategy new). + smartFinder setCacheValues: initialCache. + smartFinder smtFinder: SmTTestCoverageTestFinderStrategy new +] + +{ #category : #helpers } +SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest >> tearDown [ + smartFinder resetCache. +] + +{ #category : #tests } +SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest >> testModificationOnTest [ +"this method is redundant with the abstract method" + + | testsFound | + testsFound := self searchTestMethodsFor: SmTClassTest >> #testMethod4. + self deny: (testsFound includes: testMethod1). + self deny: (testsFound includes: testMethod2). + self deny: (testsFound includes: testMethod3). + self assert: (testsFound includes: testMethod4) +] + +{ #category : #tests } +SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest >> testTestSelfSelected [ +"this method is redundant with the abstract method" + + | testsFound | + testsFound := self searchTestsForATestMethod: SmTClassTest >> #testMethod1. + self assert: (testsFound includes: testMethod1). + self deny: (testsFound includes: testMethod2). + self deny: (testsFound includes: testMethod3). + self deny: (testsFound includes: testMethod4) +] diff --git a/src/SmartTest-Tests/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class.st b/src/SmartTest-Tests/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class.st new file mode 100644 index 0000000..868788c --- /dev/null +++ b/src/SmartTest-Tests/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class.st @@ -0,0 +1,81 @@ +Class { + #name : #SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest, + #superclass : #SmTFinderAbstractTest, + #category : 'SmartTest-Tests-Finder' +} + +{ #category : #running } +SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest >> initCache [ + ^ {((SmTClass >> #method1) asRingDefinition + -> + {(SmTClassTest >> #testMethod1) asRingDefinition. + (SmTClassTest >> #testMethod2) asRingDefinition. + (RGMethodDefinition + className: 'SmTInheritClassTest' + selector: #testMethod1 + isMetaSide: false)} asSet). + ((SmTClass >> #method2) asRingDefinition + -> {(SmTClassTest >> #testMethod2) asRingDefinition} asSet). + ((SmTClass >> #method3:) asRingDefinition + -> + {(SmTClassTest >> #testMethod1) asRingDefinition. + (SmTClassTest >> #testMethod2) asRingDefinition. + (SmTClassTest >> #testMethod3) asRingDefinition} asSet). + ((SmTClass >> #method4) asRingDefinition + -> + {(SmTClassTest >> #testMethod2) asRingDefinition. + (SmTClassTest >> #testMethod3) asRingDefinition. + (SmTClassTest >> #testMethod4) asRingDefinition} asSet). + ((SmTClass2 >> #initialize) asRingDefinition + -> {(SmTClassTest >> #testMethod5) asRingDefinition} asSet). + ((SmTClassTest >> #testMethod4) asRingDefinition + -> {(SmTClassTest >> #testMethod4) asRingDefinition} asSet). + ((('SmTP1' , 'Inheritance') asClass >> ('method1' , 'Inheritance') asSymbol) + asRingDefinition + -> + {(('SmTP1' , 'InheritanceSubClass1Test') asClass >> ('testMethod1','Inheritance') asSymbol) + asRingDefinition. + (RGMethodDefinition className: ('SmTP1InheritanceSubClass2','Test') selector: ('testMethod1','Inheritance') isMetaSide: false) + asRingDefinition} asSet)} asDictionary +] + +{ #category : #running } +SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest >> setUp [ + "fill in the cache" + + | initialCache | + super setUp. + initialCache := self initCache. + smartFinder cacheStrategy: (SmTBasicCacheResetEveryCommitStrategy new). + smartFinder setCacheValues: initialCache. + smartFinder smtFinder: SmTTestCoverageTestFinderStrategy new +] + +{ #category : #helpers } +SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest >> tearDown [ + smartFinder resetCache. +] + +{ #category : #tests } +SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest >> testModificationOnTest [ +"this method is redundant with the abstract method" + + | testsFound | + testsFound := self searchTestMethodsFor: SmTClassTest >> #testMethod4. + self deny: (testsFound includes: testMethod1). + self deny: (testsFound includes: testMethod2). + self deny: (testsFound includes: testMethod3). + self assert: (testsFound includes: testMethod4) +] + +{ #category : #tests } +SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest >> testTestSelfSelected [ +"this method is redundant with the abstract method" + + | testsFound | + testsFound := self searchTestsForATestMethod: SmTClassTest >> #testMethod1. + self assert: (testsFound includes: testMethod1). + self deny: (testsFound includes: testMethod2). + self deny: (testsFound includes: testMethod3). + self deny: (testsFound includes: testMethod4) +] diff --git a/src/SmartTest-Tests/SmTDynamicCoverageStrategyTest.class.st b/src/SmartTest-Tests/SmTDynamicCoverageStrategyTest.class.st new file mode 100644 index 0000000..20208b0 --- /dev/null +++ b/src/SmartTest-Tests/SmTDynamicCoverageStrategyTest.class.st @@ -0,0 +1,84 @@ +" +In this class, the research is dynamic and it uses the finder TestCoverage. +" +Class { + #name : #SmTDynamicCoverageStrategyTest, + #superclass : #SmTFinderAbstractTest, + #category : 'SmartTest-Tests-Finder' +} + +{ #category : #running } +SmTDynamicCoverageStrategyTest >> initCache [ + ^ {((SmTClass >> #method1) asRingDefinition + -> + {(SmTClassTest >> #testMethod1) asRingDefinition. + (SmTClassTest >> #testMethod2) asRingDefinition. + (RGMethodDefinition + className: 'SmTInheritClassTest' + selector: #testMethod1 + isMetaSide: false)} asSet). + ((SmTClass >> #method2) asRingDefinition + -> {(SmTClassTest >> #testMethod2) asRingDefinition} asSet). + ((SmTClass >> #method3:) asRingDefinition + -> + {(SmTClassTest >> #testMethod1) asRingDefinition. + (SmTClassTest >> #testMethod2) asRingDefinition. + (SmTClassTest >> #testMethod3) asRingDefinition} asSet). + ((SmTClass >> #method4) asRingDefinition + -> + {(SmTClassTest >> #testMethod2) asRingDefinition. + (SmTClassTest >> #testMethod3) asRingDefinition. + (SmTClassTest >> #testMethod4) asRingDefinition} asSet). + ((SmTClass2 >> #initialize) asRingDefinition + -> {(SmTClassTest >> #testMethod5) asRingDefinition} asSet). + ((SmTClassTest >> #testMethod4) asRingDefinition + -> {(SmTClassTest >> #testMethod4) asRingDefinition} asSet). + ((('SmTP1' , 'Inheritance') asClass >> ('method1' , 'Inheritance') asSymbol) + asRingDefinition + -> + {(('SmTP1' , 'InheritanceSubClass1Test') asClass >> ('testMethod1','Inheritance') asSymbol) + asRingDefinition. + (RGMethodDefinition className: ('SmTP1InheritanceSubClass2','Test') selector: ('testMethod1','Inheritance') isMetaSide: false) + asRingDefinition} asSet)} asDictionary +] + +{ #category : #running } +SmTDynamicCoverageStrategyTest >> setUp [ + "fill in the cache" + + | initialCache | + super setUp. + initialCache := self initCache. + smartFinder cacheStrategy: (SmTBasicCacheStrategy new). + smartFinder setCacheValues: initialCache. + smartFinder smtFinder: SmTTestCoverageTestFinderStrategy new +] + +{ #category : #helpers } +SmTDynamicCoverageStrategyTest >> tearDown [ + smartFinder resetCache. +] + +{ #category : #tests } +SmTDynamicCoverageStrategyTest >> testModificationOnTest [ +"this method is redundant with the abstract method" + + | testsFound | + testsFound := self searchTestMethodsFor: SmTClassTest >> #testMethod4. + self deny: (testsFound includes: testMethod1). + self deny: (testsFound includes: testMethod2). + self deny: (testsFound includes: testMethod3). + self assert: (testsFound includes: testMethod4) +] + +{ #category : #tests } +SmTDynamicCoverageStrategyTest >> testTestSelfSelected [ +"this method is redundant with the abstract method" + + | testsFound | + testsFound := self searchTestsForATestMethod: SmTClassTest >> #testMethod1. + self assert: (testsFound includes: testMethod1). + self deny: (testsFound includes: testMethod2). + self deny: (testsFound includes: testMethod3). + self deny: (testsFound includes: testMethod4) +] diff --git a/src/SmartTest-Tests.package/SmTDynamicReflectivityStrategyTest.class/instance/initCache.st b/src/SmartTest-Tests/SmTDynamicReflectivityStrategyTest.class.st similarity index 66% rename from src/SmartTest-Tests.package/SmTDynamicReflectivityStrategyTest.class/instance/initCache.st rename to src/SmartTest-Tests/SmTDynamicReflectivityStrategyTest.class.st index cd478c7..5d4c1af 100644 --- a/src/SmartTest-Tests.package/SmTDynamicReflectivityStrategyTest.class/instance/initCache.st +++ b/src/SmartTest-Tests/SmTDynamicReflectivityStrategyTest.class.st @@ -1,5 +1,14 @@ -initialization -initCache +" +A SmTFinderStrategyReflectivityTest is a test class for testing the behavior of SmTFinderStrategyReflectivity +" +Class { + #name : #SmTDynamicReflectivityStrategyTest, + #superclass : #SmTFinderAbstractTest, + #category : 'SmartTest-Tests-Finder' +} + +{ #category : #initialization } +SmTDynamicReflectivityStrategyTest >> initCache [ ^ {((SmTClass >> #method1) asRingDefinition -> {(SmTClassTest >> #testMethod1) asRingDefinition. @@ -29,4 +38,17 @@ initCache -> {(('SmTP1' , 'InheritanceSubClass1Test') asClass >> ('testMethod1','Inheritance') asSymbol) asRingDefinition. - (RGMethodDefinition className: ('SmTP1InheritanceSubClass2','Test') selector: ('testMethod1','Inheritance') asSymbol isMetaSide: false)} asSet)} asDictionary \ No newline at end of file + (RGMethodDefinition className: ('SmTP1InheritanceSubClass2','Test') selector: ('testMethod1','Inheritance') asSymbol isMetaSide: false)} asSet)} asDictionary +] + +{ #category : #running } +SmTDynamicReflectivityStrategyTest >> setUp [ + "fill in the cache" + + | initialCache | + super setUp. + initialCache := self initCache. + smartFinder cacheStrategy: SmTBasicCacheStrategy new. + smartFinder setCacheValues: initialCache. + smartFinder smtFinder: SmTReflectivityTestFinderStrategy new +] diff --git a/src/SmartTest-Tests/SmTFilterAbstractTest.class.st b/src/SmartTest-Tests/SmTFilterAbstractTest.class.st new file mode 100644 index 0000000..afbc8ff --- /dev/null +++ b/src/SmartTest-Tests/SmTFilterAbstractTest.class.st @@ -0,0 +1,504 @@ +" +I test the strategy SendersFinder with different filters. +In order to be sure that those test are not considered as callers of the modified method and as references to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method. + + +The tests are described below: +The modified method’s name always contains « method1 » and will be refered to as method1. +The modified method can be used directly by a test, in this case the test’s name contains « testMethod1 » +The modified method can be used by a method (and then a test), then the method’s name contains « method2 » +Method 2 will then be called by a test (the second level sender of method1) and this test's name contains « testMethod2 » +The names of the methods and tests will be followed by a identificator. This will result in very long names but it is necessary in order to be unique and explicit. +Being unique, the senders of each method are controlled and consequently the tests are independent the one from the others. + +If the name of a test contains « FirstLevelSender » then the corresponding method2 and testMethod2 do not exist. +If the name of a test contains « SecondLevelSender » then the corresponding testMethod1 does not exist. + +We use the Classification Tree Method to represent the tests (see https://en.wikipedia.org/wiki/Classification_Tree_Method) . + +We will use the Classification Tree Method for the description of the tests. +Exemple for the first line of the following description: +Test FirstLevelSendersInside : the modified method ""method1FirstLevelSendersInside"" is located in package P1 and testMethod1FirstLevelSendersInside calls method1FirstLevelSendersInside and is located inside the package P1. + + +Simple tests (no references): +Method: TestMethod1 Method2 TestMethod2 Test Identificator +Package: P1 P2 P1 P2 P1 P2 + • | | | | | FirstLevelSendersInside + | • | | | | FirstLevelSendersOutside + | | • | • | SecondLevelSendersInsideTestInside + | | • | | • SecondLevelSendersInsideTestOutside + | | | • • | SecondLevelSendersOutsideTestInside + | | | • | • SecondLevelSendersOutsideTestOutside + + +Simple tests (no references): +Method: TestMethod1 Method2 TestMethod2 Test Identificator +Package: P2 P1 P2 P3 P1 P2 +Reference: Class Method Package | Class Method Package Class Method Package | NoRef Class Method Package + • | | | | | | | | | | | | | | FirstLevelSendersInsideWithRefInClass + | • | | | | | | | | | | | | | FirstLevelSendersInsideWithRefInMethod + | | • • | | | | | | | | • | | SecondLevelSendersInsideTestOutsideWithRefInClass + | | | • | | | | | | | | | • | SecondLevelSendersInsideTestOutsideWithRefInMethod + | | | • | | | | | | | | | | • SecondLevelSendersInsideTestOutsideWithRefInPackage + | | | | • | | | | | • | | | | SecondLevelSendersOutsidesideTestInsideWithRefInClass + | | | | | • | | | | • | | | | SecondLevelSendersOutsidesideTestInsideWithRefInMethod + | | | | | | • | | | • | | | | SecondLevelSendersOutsidesideTestInsideWithRefInPackage + | | | | | | | | • | | | | • | SecondLevelSendersOutsidesideTestOutsideWithRefInMethod +" +Class { + #name : #SmTFilterAbstractTest, + #superclass : #TestCase, + #instVars : [ + 'smartFinder', + 'testMethod1FirstLevelSendersOutsidePackage', + 'testMethod2SecondLevelSendersInsidePackageWithTestInside', + 'testMethod2SecondLevelSendersInsidePackageWithTestOutside', + 'testMethod2SecondLevelSendersOutsidePackageWithTestOutside', + 'testmethod1FirstLevelSendersInsidePackage', + 'testMethod1FirstLevelSendersInsidePackage', + 'testMethod2SecondLevelSendersOutsidePackageWithTestInside' + ], + #category : 'SmartTest-Tests-Filter' +} + +{ #category : #testing } +SmTFilterAbstractTest class >> isAbstract [ + + ^ self == SmTFilterAbstractTest +] + +{ #category : #helpers } +SmTFilterAbstractTest >> instanceVariableNamed: aInstVarName fromClass: aClass [ + ^ (aClass instanceVariables select:[:instVar| instVar = aInstVarName ])first . +] + +{ #category : #helpers } +SmTFilterAbstractTest >> searchTestMethodsFor: aCompiledMethod [ + + ^ smartFinder researchTestsForMethod: aCompiledMethod . +] + +{ #category : #helpers } +SmTFilterAbstractTest >> searchTestMethodsForAClass: aClass [ + + ^ smartFinder smtFinder searchTestsForAClass: aClass. +] + +{ #category : #helpers } +SmTFilterAbstractTest >> searchTestsForInstVar: aInstanceVariable ofClass: aClass [ + ^ smartFinder smtFinder searchTestsForAInstVar: aInstanceVariable OfClass: aClass +] + +{ #category : #running } +SmTFilterAbstractTest >> setUp [ + super setUp. + smartFinder := SmartFinder new. + smartFinder filter: SmTDefaultPackagesFilter new. + testMethod1FirstLevelSendersInsidePackage := (('SmTClass' , 'TestP1') asClass + >> ('test' , 'Method1FirstLevelSendersInsidePackage') asSymbol) asRingDefinition. + testMethod1FirstLevelSendersOutsidePackage := (('SmTClass' , 'TestP2Test') asClass + >> ('test' , 'Method1FirstLevelSendersOutsidePackage') asSymbol) asRingDefinition. + testMethod2SecondLevelSendersInsidePackageWithTestInside := (('SmTClass' , 'TestP1') + asClass >> ('test' , 'Method2SecondLevelSendersInsidePackageWithTestInside') asSymbol) + asRingDefinition. + testMethod2SecondLevelSendersOutsidePackageWithTestInside := (('SmTClass' , 'TestP1') + asClass >> ('test' , 'Method2SecondLevelSendersOutsidePackageWithTestInside') asSymbol) + asRingDefinition. + testMethod2SecondLevelSendersInsidePackageWithTestOutside := (('SmTClass' , 'TestP2Test') + asClass >> ('test' , 'Method2SecondLevelSendersInsidePackageWithTestOutside') asSymbol) + asRingDefinition. + testMethod2SecondLevelSendersOutsidePackageWithTestOutside := (('SmTClass' , 'TestP2Test') + asClass + >> ('test' , 'Method2SecondLevelSendersOutsidePackageWithTestOutside') asSymbol) + asRingDefinition +] + +{ #category : #running } +SmTFilterAbstractTest >> tearDown [ + smartFinder clean. + super tearDown +] + +{ #category : #'test -modification on class' } +SmTFilterAbstractTest >> testClassAbstractTestCaseDoesntRedefineMethod [ +"In this test we want to assert that if the modified class has subclasses, SmartTest finds all the inherited methods (implemented or not)" + + | testsFound testMethodSubClass1 testMethodSubClass2 | + testsFound := self searchTestMethodsForAClass: (('SmTP1ClassTestAbstractTestCase') asClass). + testMethodSubClass1 := RGMethodDefinition className: ('SmTP1ClassTestSubClassDoesntRedefine','Method') selector:('testModificationOnClassAbstract','TestCase') isMetaSide: false. + testMethodSubClass2 := RGMethodDefinition className: ('SmTP1ClassTestSubclassRedefines','Method') selector:('testModificationOnClassAbstract','TestCase') isMetaSide: false. + self assert: (testsFound includes: testMethodSubClass1). + self assert: (testsFound includes: testMethodSubClass2). +] + +{ #category : #'test -modification on class' } +SmTFilterAbstractTest >> testClassAbstractTestCaseRedefinesMethod [ +"In this test we want to assert that if the modified class has subclasses, SmartTest finds all the inherited methods (implemented or not)" + + | testsFound testMethodSubClass1 testMethodSubClass2 | + testsFound := self searchTestMethodsForAClass: (('SmTP1ClassTestAbstractTestCase') asClass). + testMethodSubClass2 := RGMethodDefinition className: ('SmTP1ClassTestSubclassRedefines','Method') selector:('testModificationOnClassAbstract','TestCase') isMetaSide: false. + self assert: (testsFound includes: testMethodSubClass2). +] + +{ #category : #'test -modification on class' } +SmTFilterAbstractTest >> testClassInheritanceSubClass1 [ + + | testsFound testMethodSubClass2 | + testsFound := self searchTestMethodsForAClass: (('SmTP1ClassTestSubClass','DoesntRedefineMethod') asClass). + testMethodSubClass2 := RGMethodDefinition className: ('SmTP1ClassTestSubClass','DoesntRedefineMethod') selector:('testModificationOnClass','AbstractTestCase') isMetaSide: false. + self assert: testsFound size equals: 1. + self assert: (testsFound includes: testMethodSubClass2). +] + +{ #category : #'test -modification on class' } +SmTFilterAbstractTest >> testClassInsidePackageWithRef [ +"In this test, we want to assert that if the class is used in a method, we find the tests related to this method." + + | testsFound | + testsFound := self searchTestMethodsForAClass: ('SmTClassModificationOnClass','InsidePackageWithRef') asClass. + self assert: testsFound size equals: 1. + self assert: (testsFound includes: ((('SmTClassModificationOnClassInsidePackageTestOutside','WithRefTest') asClass >> ('testRefToSmTClassModificationOnClassInsidePackageWithRef') asSymbol) asRingDefinition )). +] + +{ #category : #'test -modification on class' } +SmTFilterAbstractTest >> testClassOutsidePackageWithRef [ +"In this test, we want to assert that if the class is used in a method, we find the tests related to this method." + + | testsFound | + testsFound := self searchTestMethodsForAClass: ('SmTClassModificationOnClass','OutsidePackageWithRef') asClass. + self assert: testsFound size equals: 1. + self assert: (testsFound includes: ((('SmTClassModificationOnClassOutsidePackageWith','RefTest') asClass >> ('testRefToSmTClassModificationOnClass','OutsidePackageWithRef') asSymbol) asRingDefinition )). +] + +{ #category : #'test -modification on class' } +SmTFilterAbstractTest >> testClassSimpleTestCase [ +"In this test we want to assert that SmartTest finds the test owned directly by a class." + + | testsFound | + testsFound := self searchTestMethodsForAClass: ('SmTClassModificationOnClass','SimpleTestCase') asClass. + self assert: testsFound size equals: 1. + self assert: (testsFound includes: ((('SmTClassModificationOnClass','SimpleTestCase') asClass >> ('testModificationOnClass','SimpleTestCase') asSymbol) asRingDefinition )). +] + +{ #category : #'test -modification on class' } +SmTFilterAbstractTest >> testClassTestsInside [ +"In this test we want to assert that SmartTest finds the test owned directly by a class." + + | testsFound | + testsFound := self searchTestMethodsForAClass: ('SmTClassTest','P2Test') asClass. + self assert: (testsFound includes: ((('SmTClassTest','P2Test') asClass >> ('testMethod1FirstLevelSendersOutsideWithRefIn','Class') asSymbol) asRingDefinition )). +] + +{ #category : #'test - extension method' } +SmTFilterAbstractTest >> testExtensionMethodFirstLevelSendersInside [ + + | testsFound | + testsFound := self searchTestMethodsFor:( ('SmT','ExtensionP2Test') asClass >> ('extensionMethod1FirstLevelSenders','Inside') asSymbol). + self assert: (testsFound includes: ((('SmT','ClassTestP1') asClass >> ('testExtensionMethod1FirstLevelSenders','Inside') asSymbol) asRingDefinition)). + +] + +{ #category : #'test - extension method' } +SmTFilterAbstractTest >> testExtensionMethodFirstLevelSendersOutside [ + + | testsFound | + testsFound := self searchTestMethodsFor:( ('SmT','ExtensionP2Test') asClass >> ('extensionMethod1FirstLevelSenders','Outside') asSymbol). + self assert: (testsFound includes: ((('SmT','ClassTestP2Test') asClass >> ('testExtensionMethod1FirstLevelSenders','Outside') asSymbol) asRingDefinition )). + +] + +{ #category : #'test - extension method' } +SmTFilterAbstractTest >> testExtensionMethodSecondLevelSendersInside [ + + | testsFound | + testsFound := self searchTestMethodsFor:( ('SmT','ExtensionP1') asClass >> ('extensionMethod1','SecondLevelSenders') asSymbol). + + self deny: (testsFound includes: ((('SmT','ClassTestP3') asClass >> ('testExtensionMethod2','SecondLevelSenders') asSymbol) asRingDefinition )). + +] + +{ #category : #'test - extension method' } +SmTFilterAbstractTest >> testExtensionTestInside [ + + | testsFound | + testsFound := self searchTestMethodsFor:( ('SmT','ExtensionP4') asClass >> ('method1ExtensionTest','Inside') asSymbol). + + self deny: (testsFound includes: ((('SmT','ClassTestP3') asClass >> ('testMethod1ExtensionTest','Inside') asSymbol) asRingDefinition )). + +] + +{ #category : #'test - instance variable' } +SmTFilterAbstractTest >> testInstVarInsideClass [ +"In this test we want to assert that if the modified class has subclasses, SmartTest finds all the inherited methods (implemented or not)" + + | testsFound aInstVar| + aInstVar := self instanceVariableNamed: 'instVarModificationOnVariableInsideClass' fromClass: (('SmTClassP1ModificationOn','VariableInsideClassTest') asClass). + testsFound := self searchTestsForInstVar: aInstVar ofClass: (('SmTClassP1ModificationOn','VariableInsideClassTest') asClass). + self assert: (testsFound includes: (('SmTClassP1ModificationOn','VariableInsideClassTest') asClass >> ('testModificationOnVariable','InsideClass')asSymbol)asRingDefinition ). + +] + +{ #category : #'test - instance variable' } +SmTFilterAbstractTest >> testInstVarInsidePackage [ +"In this test we want to assert that if the modified class has subclasses, SmartTest finds all the inherited methods (implemented or not)" + + | testsFound aInstVar| + aInstVar := self instanceVariableNamed: 'instVarModificationOnVariableInsidePackage' fromClass: ('SmTClassP1ModificationOn','Variable') asClass. + testsFound := self searchTestsForInstVar: aInstVar ofClass: ('SmTClassP1ModificationOn','Variable') asClass. + self assert: (testsFound includes: (('SmTClassP1ModificationOnVariable','InsidePackageTest') asClass >> ('testModificationOnVariable','InsidePackage')asSymbol)asRingDefinition ). + +] + +{ #category : #'test - instance variable' } +SmTFilterAbstractTest >> testInstVarOutsidePackage [ +"In this test we want to assert that if the modified class has subclasses, SmartTest finds all the inherited methods (implemented or not)" + + | testsFound aInstVar| + aInstVar := self instanceVariableNamed: 'instVarModificationOnVariableOutsidePackage' fromClass: ('SmTClassP1ModificationOnVariable') asClass . + testsFound := self searchTestsForInstVar: aInstVar ofClass: ('SmTClassP1ModificationOnVariable') asClass. + self assert: (testsFound includes: (('SmTClassP1ModificationOnVariable','OutsidePackageTest') asClass >> ('testModificationOnVariable','OutsidePackage')asSymbol)asRingDefinition ). + +] + +{ #category : #'test - standard method - first level sender' } +SmTFilterAbstractTest >> testStandardMethodFirstLevelSendersInsidePackage [ + + "method1 is called by testMethod1, a tests owned by the same package as method1, the only test found should be testMethod1" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor:( ('SmTClass','P1') asClass >> ('method1','FirstLevelSendersInsidePackage') asSymbol). + self assert: testsFound size equals: 1. + self assert: (testsFound includes: testMethod1FirstLevelSendersInsidePackage). + + + +] + +{ #category : #'test - standard method - first level sender' } +SmTFilterAbstractTest >> testStandardMethodFirstLevelSendersOutsidePackage [ + + "method1 is called by testMethod2, a test not owned by the same package as method1, thus it should not be found" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClass','P1') asClass >> ('method1','FirstLevelSendersOutsidePackage') asSymbol). + self assert: (testsFound isEmpty ). + self deny: (testsFound includes: testMethod1FirstLevelSendersOutsidePackage). + + + +] + +{ #category : #'test - standard method - first level sender' } +SmTFilterAbstractTest >> testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass [ + + "method1 is called by testMethod1" + "P1 : method1 + P2 : testMethod1, the reference is made in the class of testMethod1" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1FirstLevelSendersOutsideWithRefIn','Class') asClass >> ('method1','FirstLevelSendersWithRefInClass') asSymbol). + self assert: testsFound isEmpty. + self deny: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod1FirstLevelSendersOutsideWithRefIn','Class') asSymbol) asRingDefinition ). +] + +{ #category : #'test - standard method - first level sender' } +SmTFilterAbstractTest >> testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod [ + + "method1 is called by testMethod1" + "P1 : method1 + P2 : testMethod1, the reference is made in testMethod1" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1FirstLevelSendersOutsideWithRefIn','Method') asClass >> ('method1','FirstLevelSendersWithRefInMethod') asSymbol). + self assert: testsFound isEmpty. + self deny: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod1FirstLevelSendersOutsideWithRefIn','Method') asSymbol) asRingDefinition ). +] + +{ #category : #'test - standard method - first level sender' } +SmTFilterAbstractTest >> testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage [ + + "method1 is called by testMethod1" + "P1 : method1 + P2 : testMethod1, the reference is made in the package of testMethod1" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1FirstLevelSendersOutsideWithRefIn','Package') asClass >> ('method1FirstLevelSendersWithRefIn','Package') asSymbol). + self assert: testsFound isEmpty. + self deny: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod1FirstLevelSendersOutsideWithRefIn','Package') asSymbol) asRingDefinition ). + +] + +{ #category : #'test - standard method - second level sender' } +SmTFilterAbstractTest >> testStandardMethodSecondLevelSendersInsidePackageWithTestInside [ + + "method1 is called by method2, which itself is called by testMethod2, a tests owned by the same package as myMethod1, thus testMethod2 should be found. + We never go out of the package so it's normal." + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClass','P1') asClass >> ('method1','SecondLevelSendersInsidePackageWithTestInside') asSymbol). + self assert: testsFound size equals: 1. + self assert: (testsFound includes: testMethod2SecondLevelSendersInsidePackageWithTestInside ). + + + +] + +{ #category : #'test - standard method - second level sender' } +SmTFilterAbstractTest >> testStandardMethodSecondLevelSendersInsidePackageWithTestOutside [ + + "method1 is called by method2, which itself is called by testMethod2, a test not owned by the same package as method1, thus testMethod2 should not be found. + We go out of the package once so it's normal hat the test is not found." + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClass','P1') asClass >> ('method1','SecondLevelSendersInsidePackageWithTestOutside') asSymbol). + self assert: (testsFound isEmpty ). + self deny: (testsFound includes: testMethod2SecondLevelSendersInsidePackageWithTestOutside ). + + + +] + +{ #category : #'test - standard method - second level sender - with references' } +SmTFilterAbstractTest >> testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass [ + + "method1 is called by method 2,itself called by testMethod1" + "P1 : method1 and method2 + P2 : testMethod2, the reference is made in the class of testMethod2" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersInsideTestOutsideWithRefIn','Class') asClass >> ('method1SecondLevelSendersInsideTestOutsideWithRefIn','Class') asSymbol). + self assert: testsFound isEmpty. + self deny: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod2SecondLevelSenderInsideTestOutsideWithRefIn','Class') asSymbol) asRingDefinition ). + +] + +{ #category : #'test - standard method - second level sender - with references' } +SmTFilterAbstractTest >> testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod [ + + "method1 is called by method 2,itself called by testMethod1" + "P1 : method1 and method2 + P2 : testMethod2, the reference is made in testMethod2" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersInsideTestOutsideWithRefIn','Method') asClass >> ('method1SecondLevelSendersInsideTestOutsideWithRefIn','Method') asSymbol). + self assert: testsFound isEmpty. + self deny: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod2SecondLevelSenderInsideTestOutsideWithRefIn','Method')asSymbol) asRingDefinition ). + +] + +{ #category : #'test - standard method - second level sender - with references' } +SmTFilterAbstractTest >> testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage [ + + "method1 is called by method 2,itself called by testMethod1" + "P1 : method1 and method2 + P2 : testMethod2, the reference is made in the package of testMethod2" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersInsideTestOutsideWithRefIn','Package') asClass >> ('method1SecondLevelSendersInsideTestOutsideWithRefIn','Package') asSymbol). + self assert: testsFound isEmpty. + self deny: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod2SecondLevelSenderInsideTestOutsideWithRefIn','Package') asSymbol) asRingDefinition ). + +] + +{ #category : #'test - standard method - second level sender' } +SmTFilterAbstractTest >> testStandardMethodSecondLevelSendersOutsidePackageWithTestInside [ + + "method1 is called by method2, which itself is called by testMethod2, thus testMethod2 should not be found. + We go out of the package once so it's normal hat the test is not found." + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClass','P1') asClass >> ('method1','SecondLevelSendersOutsidePackageWithTestInside') asSymbol). + self assert: (testsFound isEmpty ). + self deny: (testsFound includes: testMethod2SecondLevelSendersOutsidePackageWithTestInside ). + + + +] + +{ #category : #'test - standard method - second level sender' } +SmTFilterAbstractTest >> testStandardMethodSecondLevelSendersOutsidePackageWithTestOutside [ + + "method1 is called by method2, which itself is called by testMethod2, thus testMethod2 should not be found. + We go out of the package once so it's normal hat the test is not found." + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClass','P1') asClass >> ('method1','SecondLevelSendersOutsidePackageWithTestOutside') asSymbol). + self assert: (testsFound isEmpty ). + self deny: (testsFound includes: testMethod2SecondLevelSendersOutsidePackageWithTestOutside ). + + + +] + +{ #category : #'test - standard method - second level sender - with references' } +SmTFilterAbstractTest >> testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass [ + + "method1 is called by method 2,itself called by testMethod1" + "P1 : method1 and testMethod2 + P2 : method2, the reference is made in the class of method2" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersOutsideTestInsideWithRefIn','Class') asClass >> ('method1SecondLevelSendersOutsideTestInsideWithRefIn','Class') asSymbol). + self assert: testsFound isEmpty. + self deny: (testsFound includes: (('SmTClassTest','P1') asClass >> ('testMethod2SecondLevelSendersOutsideTestInsideWithRefIn','Class') asSymbol) asRingDefinition ). + +] + +{ #category : #'test - standard method - second level sender - with references' } +SmTFilterAbstractTest >> testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod [ + + "method1 is called by method 2,itself called by testMethod1" + "P1 : method1 and testMethod2 + P2 : method2, the reference is made in method2" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersOutsideTestInsideWithRefIn','Method') asClass >> ('method1SecondLevelSendersOutsideTestInsideWithRefIn','Method') asSymbol). + self assert: testsFound isEmpty. + self deny: (testsFound includes: (('SmTClassTest','P1') asClass >> ('testMethod2SecondLevelSendersOutsideTestInsideWithRefIn','Method') asSymbol) asRingDefinition ). + +] + +{ #category : #'test - standard method - second level sender - with references' } +SmTFilterAbstractTest >> testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage [ + + "method1 is called by method 2,itself called by testMethod1" + "P1 : method1 and testMethod2 + P2 : method2, the reference is made in the package of method2" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersOutsideTestInsideWithRefIn','Package') asClass >> ('method1SecondLevelSendersOutsideTestInsideWithRefIn','Package') asSymbol). + self assert: testsFound isEmpty. + self deny: (testsFound includes: (('SmTClassTest','P1') asClass >> ('testMethod2SecondLevelSendersOutsideTestInsideWithRefIn','Package') asSymbol) asRingDefinition ). + +] + +{ #category : #'test - standard method - second level sender - with references' } +SmTFilterAbstractTest >> testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefInMethod [ + + "method1 is called by method 2,itself called by testMethod1" + "P1 : Class1 >> method1 + P2 : Class2 >> method2, the reference to Class1 is made in method2 + P3 : Class3 >> testMethod2, the reference to Class1 is made in testMethod2" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefIn','Method') asClass >> ('method1SecondLevelSendersOutsideTestOutsideWithRefIn','Method') asSymbol). + self assert: testsFound isEmpty. + self deny: (testsFound includes: (('SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefIn','Method') asClass >> ('testMethod2SecondLevelSenderOutsideTestOutsideWithRefIn','Method') asSymbol) asRingDefinition ). + +] diff --git a/src/SmartTest-Tests/SmTFinderAbstractTest.class.st b/src/SmartTest-Tests/SmTFinderAbstractTest.class.st new file mode 100644 index 0000000..751b833 --- /dev/null +++ b/src/SmartTest-Tests/SmTFinderAbstractTest.class.st @@ -0,0 +1,207 @@ +" +This class exists to test the behaviour of the different finders with diffeent settings. +TODO + + - test setUp method with teardown + - test setUp method with setup + - test tearDown with setup + - test tearDown with teardown +" +Class { + #name : #SmTFinderAbstractTest, + #superclass : #TestCase, + #instVars : [ + 'cache', + 'smartFinder', + 'testMethod2', + 'testMethod1', + 'testMethod3', + 'testMethod4', + 'testMethod5', + 'testInheritedMethod1', + 'testMethodOutsidePackage1', + 'testMethod1OutsidePackage' + ], + #category : 'SmartTest-Tests-Finder' +} + +{ #category : #testing } +SmTFinderAbstractTest class >> isAbstract [ + + ^ self == SmTFinderAbstractTest +] + +{ #category : #helpers } +SmTFinderAbstractTest >> searchTestMethodsFor: aCompiledMethod [ + + ^ smartFinder researchTestsForMethod: aCompiledMethod . +] + +{ #category : #helpers } +SmTFinderAbstractTest >> searchTestsForASetUpMethod: aCompiledMethod [ + ^ smartFinder searchTestsForASetUpMethod: aCompiledMethod +] + +{ #category : #helpers } +SmTFinderAbstractTest >> searchTestsForATearDownMethod: aCompiledMethod [ + ^ smartFinder searchTestsForATearDownMethod: aCompiledMethod +] + +{ #category : #helpers } +SmTFinderAbstractTest >> searchTestsForATestMethod: aCompiledMethod [ + ^ smartFinder searchTestsForATestMethod: aCompiledMethod +] + +{ #category : #running } +SmTFinderAbstractTest >> setUp [ + super setUp. + self timeLimit: 45 seconds. "super super long time for travis CI" + smartFinder := SmartFinder new. + smartFinder filter: SmTDefaultClassPackagesFilter new. + testMethod1 := (SmTClassTest >> #testMethod1) asRingDefinition. + testMethod2 := (SmTClassTest >> #testMethod2) asRingDefinition. + testMethod3 := (SmTClassTest >> #testMethod3) asRingDefinition. + testMethod4 := (SmTClassTest >> #testMethod4) asRingDefinition. + testMethod5 := (SmTClassTest >> #testMethod5) asRingDefinition. + testInheritedMethod1 := RGMethodDefinition className: 'SmTInheritClassTest' selector: #testMethod1 isMetaSide: false +] + +{ #category : #running } +SmTFinderAbstractTest >> tearDown [ + "reset the cache" + smartFinder resetCache. + smartFinder clean. + super tearDown +] + +{ #category : #tests } +SmTFinderAbstractTest >> testInheritance [ + + | testsFound testMethod | + testsFound := self searchTestMethodsFor: ('SmTP1' , 'Inheritance') asClass >> ('method1','Inheritance') asSymbol . +testMethod := RGMethodDefinition className: ('SmTP1InheritanceSubClass2','Test') selector:('testMethod1','Inheritance') asSymbol isMetaSide: false. + self assert: testsFound size equals: 2. + self assert: (testsFound includes: ((('SmTP1InheritanceSubClass1Test') asClass >> ('testMethod1Inheritance') asSymbol) asRingDefinition )). + self assert: (testsFound includes: (testMethod) ). +] + +{ #category : #tests } +SmTFinderAbstractTest >> testModificationOnInitialize [ + + | testsFound |self + timeLimit: + 35 + seconds. + "this one needs more time than the other" + self flag: 'Takes a very long time'. + testsFound := self searchTestMethodsFor: SmTClass2 >> #initialize. + + self deny: (testsFound includes: testMethod1). + self deny: (testsFound includes: testMethod2). + self deny: (testsFound includes: testMethod3). + self deny: (testsFound includes: testMethod4). + self assert: (testsFound includes: testMethod5). +] + +{ #category : #tests } +SmTFinderAbstractTest >> testModificationOnTest [ +"asserts that if a test method is modified, the tests founds includes itself." + + | testsFound | + testsFound := self searchTestMethodsFor: SmTClassTest >> #testMethod4. + self deny: (testsFound includes: testMethod1). + self deny: (testsFound includes: testMethod2). + self deny: (testsFound includes: testMethod3). + self assert: (testsFound includes: testMethod4). +] + +{ #category : #tests } +SmTFinderAbstractTest >> testSetupMethodFindsTests [ +"asserts that the method SmTClassTest>>setup is related to the testMethods 1 to 4 and that 'testsForASetupMethod' finds all the good tests related to a setup method." + + | testsFound | + testsFound := self searchTestsForASetUpMethod: SmTClassTest >> #setUp. + + self assert: testsFound isNotEmpty. + self assert: (testsFound includes: testMethod1). + self assert: (testsFound includes: testMethod2). + self assert: (testsFound includes: testMethod3). + self assert: (testsFound includes: testMethod4). +] + +{ #category : #tests } +SmTFinderAbstractTest >> testSetupMethodWithNonSetupFindsNoTests [ +"asserts that if we use the method 'testsForASetupMethod' with a non setup method as a parameter, the method returns nothing" + + | testsFound | + testsFound := self searchTestsForASetUpMethod: SmTClassTest >> #testMethod1. + + self assert: testsFound isEmpty. +] + +{ #category : #tests } +SmTFinderAbstractTest >> testStandardMethodFirstLevelSenders [ + + | testsFound | + testsFound := self searchTestMethodsFor: SmTClass >> #method2. + self deny: (testsFound includes: testMethod1). + self assert: (testsFound includes: testMethod2). + self deny: (testsFound includes: testMethod3). + self deny: (testsFound includes: testMethod4). +] + +{ #category : #tests } +SmTFinderAbstractTest >> testStandardMethodSecondLevelSenders [ + + | testsFound | + testsFound := self searchTestMethodsFor: SmTClass >> #method1. + self assert: (testsFound includes: testMethod1). + self assert: (testsFound includes: testMethod2). + self assert: (testsFound includes: testInheritedMethod1). + self deny: (testsFound includes: testMethod3). + self deny: (testsFound includes: testMethod4). +] + +{ #category : #tests } +SmTFinderAbstractTest >> testStandardMethodThirdLevelSenders [ + + | testsFound | + testsFound := self searchTestMethodsFor: SmTClass >> #method4. + + self deny: (testsFound includes: testMethod1). + self assert: (testsFound includes: testMethod2). + self assert: (testsFound includes: testMethod3). + self assert: (testsFound includes: testMethod4). +] + +{ #category : #tests } +SmTFinderAbstractTest >> testTearDownMethodFindsTests [ + + | testsFound | + testsFound := self searchTestsForATearDownMethod: SmTClassTest >> #tearDown. + + self assert: testsFound isNotEmpty. + self assert: (testsFound includes: testMethod1). + self assert: (testsFound includes: testMethod2). + self assert: (testsFound includes: testMethod3). + self assert: (testsFound includes: testMethod4). +] + +{ #category : #tests } +SmTFinderAbstractTest >> testTearDownMethodWithNoneTearDownFindsNoTests [ + + + self assert: (self searchTestsForATearDownMethod: SmTClassTest >> #testMethod1) isEmpty. +] + +{ #category : #tests } +SmTFinderAbstractTest >> testTestSelfSelected [ + + | testsFound | + testsFound := self searchTestsForATestMethod: SmTClassTest >> #testMethod1. + + self assert: (testsFound includes: testMethod1). + self deny: (testsFound includes: testMethod2). + self deny: (testsFound includes: testMethod3). + self deny: (testsFound includes: testMethod4). +] diff --git a/src/SmartTest-Tests/SmTOnModificationTest.class.st b/src/SmartTest-Tests/SmTOnModificationTest.class.st new file mode 100644 index 0000000..b466e77 --- /dev/null +++ b/src/SmartTest-Tests/SmTOnModificationTest.class.st @@ -0,0 +1,53 @@ +" +A CORAOnModificationTest is a test class for testing the behavior of CORAOnModification +" +Class { + #name : #SmTOnModificationTest, + #superclass : #TestCase, + #instVars : [ + 'onModif' + ], + #category : 'SmartTest-Tests-OnModification' +} + +{ #category : #'tests-adding' } +SmTOnModificationTest >> setUp [ + "prepare strategy" + onModif := SmTTestingStrategyEachModification new. +] + +{ #category : #'tests-adding' } +SmTOnModificationTest >> tearDown [ + "prepare strategy" + onModif disable +] + +{ #category : #'tests-adding' } +SmTOnModificationTest >> testAdd [ + | el | + onModif := SmTTestingStrategyEachModification new. + self assert: onModif bag isEmpty. + el := SmTRunnerTest >> #noop. + onModif addToElementBag: el. + self assert: onModif bag size equals: 1. + self assert: (onModif bag includes: el). + onModif disable +] + +{ #category : #'tests-adding' } +SmTOnModificationTest >> testGet [ + | el | + onModif := SmTTestingStrategyEachModification new. + el := SmTRunnerTest >> #noop. + onModif addToElementBag: el. + self + assert: (onModif getElementFromBag: SmTRunnerTest >> #testIconForTestResultGreen) + equals: nil. + self assert: onModif bag size equals: 1. + self + assert: (onModif getElementFromBag: SmTRunnerTest >> #testIconForTestResultGreen) + equals: nil. + self assert: (onModif getElementFromBag: el) equals: el. + self assert: onModif bag size equals: 0. + self assert: (onModif getElementFromBag: el) equals: nil +] diff --git a/src/SmartTest-Tests/SmTRunnerTest.class.st b/src/SmartTest-Tests/SmTRunnerTest.class.st new file mode 100644 index 0000000..903e2bd --- /dev/null +++ b/src/SmartTest-Tests/SmTRunnerTest.class.st @@ -0,0 +1,136 @@ +" +I test the behavior of the runner +" +Class { + #name : #SmTRunnerTest, + #superclass : #TestCase, + #instVars : [ + 'runner' + ], + #category : 'SmartTest-Tests-Runner' +} + +{ #category : #private } +SmTRunnerTest >> noop [ + +] + +{ #category : #tests } +SmTRunnerTest >> setUp [ + runner := SmTRunnerStrategySmart. +] + +{ #category : #tests } +SmTRunnerTest >> testIconForTestResultGreen [ + | case result | + case := self class selector: #noop. + result := case run. + self assert: (runner iconForTestResultOf: result) equals: (self iconNamed: #testGreenIcon) +] + +{ #category : #tests } +SmTRunnerTest >> testIconForTestResultRed [ + | case result | + case := self class selector: #error. + result := case run. + self assert: (runner iconForTestResultOf: result) equals: (self iconNamed: #testRedIcon) + +] + +{ #category : #tests } +SmTRunnerTest >> testIconForTestResultWhite [ + | result | + result := TestResult new. + self + assert: (runner iconForTestResultOf: result) + equals: (self iconNamed: #testGreenIcon) +] + +{ #category : #tests } +SmTRunnerTest >> testIconForTestResultYellow [ + | case result | + case := self class selector: #fail. + result := case run. + self + assert: (runner iconForTestResultOf: result) + equals: (self iconNamed: #testYellowIcon) +] + +{ #category : #tests } +SmTRunnerTest >> testRunCaseNotifyIconGreen [ + | case result anIcon | + case := self class selector: #noop. + anIcon := IconicButton new. + result := runner runCase: case notifyIcon: anIcon. + self assert: result passed size equals: 1. + self assert: result errors size equals: 0. + self assert: result failures size equals: 0. + self + assert: anIcon labelGraphic + equals: + (self iconNamed: #testGreenIcon) +] + +{ #category : #tests } +SmTRunnerTest >> testRunCaseNotifyIconRed [ + | case anIcon | + case := self class selector: #error. + anIcon := IconicButton new. + self should: [runner runCase: case notifyIcon: anIcon] raise: Error . + self assert: anIcon labelGraphic equals: (self iconNamed: #testRedIcon) +] + +{ #category : #tests } +SmTRunnerTest >> testRunCaseNotifyIconYellow [ + | case anIcon | + case := self class selector: #fail. + anIcon := IconicButton new. + self should: [ runner runCase: case notifyIcon: anIcon ] raise: TestFailure. + self assert: anIcon labelGraphic equals: (self iconNamed: #testYellowIcon) +] + +{ #category : #tests } +SmTRunnerTest >> testRunCasesNotifyIconGreen [ + | case1 case2 case3 anIcon result | + case1 := self class selector: #noop. + case2 := self class selector: #noop. + case3 := self class selector: #noop. + anIcon := IconicButton new. + result := runner + runCases: + {case1. + case2. + case3} + notifyIcon: anIcon. + self assert: result passed size equals: 3. + self assert: result errors size equals: 0. + self assert: result failures size equals: 0. + self assert: anIcon labelGraphic equals: (self iconNamed: #testGreenIcon) +] + +{ #category : #tests } +SmTRunnerTest >> testRunCasesNotifyIconRed [ + | case1 case2 case3 anIcon | + case1 := self class selector: #error. + case2 := self class selector: #fail. + case3 := self class selector: #error. + anIcon := IconicButton new. + runner + runCases: + {case1. + case2. + case3} + notifyIcon: anIcon. + self assert: anIcon labelGraphic equals: (self iconNamed: #testRedIcon) +] + +{ #category : #tests } +SmTRunnerTest >> testRunCasesNotifyIconYellow [ + | case1 case2 case3 anIcon | + case1 := self class selector: #noop. + case2 := self class selector: #fail. + case3 := self class selector: #noop. + anIcon := IconicButton new. + runner runCases: {case1.case2.case3} notifyIcon: anIcon. + self assert: anIcon labelGraphic equals: (self iconNamed: #testYellowIcon) +] diff --git a/src/SmartTest-Tests/SmTSendersFilterTestDefaultClassPackage.class.st b/src/SmartTest-Tests/SmTSendersFilterTestDefaultClassPackage.class.st new file mode 100644 index 0000000..1df8a30 --- /dev/null +++ b/src/SmartTest-Tests/SmTSendersFilterTestDefaultClassPackage.class.st @@ -0,0 +1,190 @@ +" +I test the strategy SendersFinder with the filterDefaultClassPackage. +The filter should accept any test that is owned by : + - the package of the modified method; + - a package that references the class of the modified method. + +In order to be sure that those test are not considered as callers of the modified method and as references to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method. +" +Class { + #name : #SmTSendersFilterTestDefaultClassPackage, + #superclass : #SmTFilterAbstractTest, + #category : 'SmartTest-Tests-Filter' +} + +{ #category : #running } +SmTSendersFilterTestDefaultClassPackage >> setUp [ +"Here we want to test the SmTDefaultPackagesFilter with the static strategy 'sendersFinder' " + super setUp. + smartFinder filter: SmTDefaultClassPackagesFilter new. +] + +{ #category : #tests } +SmTSendersFilterTestDefaultClassPackage >> testExtensionTestInside [ + + | testsFound | + testsFound := self searchTestMethodsFor:( ('SmT','ExtensionP4') asClass >> ('method1ExtensionTest','Inside') asSymbol). + + self assert: (testsFound includes: ((('SmT','ClassTestP3') asClass >> ('testMethod1ExtensionTest','Inside') asSymbol) asRingDefinition )). + +] + +{ #category : #tests } +SmTSendersFilterTestDefaultClassPackage >> testInstVarOutsidePackage [ +"In this test we want to assert that if the modified class has subclasses, SmartTest finds all the inherited methods (implemented or not)" + + | testsFound aInstVar| + aInstVar := self instanceVariableNamed: 'instVarModificationOnVariableOutsidePackage' fromClass: ('SmTClassP1ModificationOnVariable') asClass . + testsFound := self searchTestsForInstVar: aInstVar ofClass: ('SmTClassP1ModificationOnVariable') asClass. + self assert: testsFound size equals: 0. + +] + +{ #category : #tests } +SmTSendersFilterTestDefaultClassPackage >> testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass [ + + "method1 is called by testMethod1" + "P1 : method1 + P2 : testMethod1, the reference is made in the class of testMethod1" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1FirstLevelSendersOutsideWithRefIn','Class') asClass >> ('method1','FirstLevelSendersWithRefInClass') asSymbol). + self assert: testsFound size equals: 1. + self assert: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod1FirstLevelSendersOutsideWithRefIn','Class') asSymbol) asRingDefinition ). +] + +{ #category : #tests } +SmTSendersFilterTestDefaultClassPackage >> testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod [ + + "method1 is called by testMethod1" + "P1 : method1 + P2 : testMethod1, the reference is made in testMethod1" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1FirstLevelSendersOutsideWithRefIn','Method') asClass >> ('method1','FirstLevelSendersWithRefInMethod') asSymbol). + self assert: testsFound size equals: 1. + self assert: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod1FirstLevelSendersOutsideWithRefIn','Method') asSymbol) asRingDefinition ). +] + +{ #category : #tests } +SmTSendersFilterTestDefaultClassPackage >> testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage [ + + "method1 is called by testMethod1" + "P1 : method1 + P2 : testMethod1, the reference is made in the package of testMethod1" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1FirstLevelSendersOutsideWithRefIn','Package') asClass >> ('method1FirstLevelSendersWithRefIn','Package') asSymbol). + self assert: testsFound size equals: 1. + self assert: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod1FirstLevelSendersOutsideWithRefIn','Package') asSymbol) asRingDefinition ). + +] + +{ #category : #tests } +SmTSendersFilterTestDefaultClassPackage >> testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass [ + + "method1 is called by method 2,itself called by testMethod1" + "P1 : method1 and method2 + P2 : testMethod2, the reference is made in the class of testMethod2" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersInsideTestOutsideWithRefIn','Class') asClass >> ('method1SecondLevelSendersInsideTestOutsideWithRefIn','Class') asSymbol). + self assert: testsFound size equals: 1. + self assert: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod2SecondLevelSenderInsideTestOutsideWithRefIn','Class') asSymbol) asRingDefinition ). + +] + +{ #category : #tests } +SmTSendersFilterTestDefaultClassPackage >> testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod [ + + "method1 is called by method 2,itself called by testMethod1" + "P1 : method1 and method2 + P2 : testMethod2, the reference is made in testMethod2" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersInsideTestOutsideWithRefIn','Method') asClass >> ('method1SecondLevelSendersInsideTestOutsideWithRefIn','Method') asSymbol). + self assert: testsFound size equals: 1. + self assert: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod2SecondLevelSenderInsideTestOutsideWithRefIn','Method')asSymbol) asRingDefinition ). + +] + +{ #category : #tests } +SmTSendersFilterTestDefaultClassPackage >> testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage [ + + "method1 is called by method 2,itself called by testMethod1" + "P1 : method1 and method2 + P2 : testMethod2, the reference is made in the package of testMethod2" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersInsideTestOutsideWithRefIn','Package') asClass >> ('method1SecondLevelSendersInsideTestOutsideWithRefIn','Package') asSymbol). + self assert: testsFound size equals: 1. + self assert: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod2SecondLevelSenderInsideTestOutsideWithRefIn','Package') asSymbol) asRingDefinition ). + +] + +{ #category : #tests } +SmTSendersFilterTestDefaultClassPackage >> testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass [ + + "method1 is called by method 2,itself called by testMethod1" + "P1 : method1 and testMethod2 + P2 : method2, the reference is made in the class of method2" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersOutsideTestInsideWithRefIn','Class') asClass >> ('method1SecondLevelSendersOutsideTestInsideWithRefIn','Class') asSymbol). + self assert: testsFound size equals: 1. + self assert: (testsFound includes: (('SmTClassTest','P1') asClass >> ('testMethod2SecondLevelSendersOutsideTestInsideWithRefIn','Class') asSymbol) asRingDefinition ). + +] + +{ #category : #tests } +SmTSendersFilterTestDefaultClassPackage >> testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod [ + + "method1 is called by method 2,itself called by testMethod1" + "P1 : method1 and testMethod2 + P2 : method2, the reference is made in method2" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersOutsideTestInsideWithRefIn','Method') asClass >> ('method1SecondLevelSendersOutsideTestInsideWithRefIn','Method') asSymbol). + self assert: testsFound size equals: 1. + self assert: (testsFound includes: (('SmTClassTest','P1') asClass >> ('testMethod2SecondLevelSendersOutsideTestInsideWithRefIn','Method') asSymbol) asRingDefinition ). + +] + +{ #category : #tests } +SmTSendersFilterTestDefaultClassPackage >> testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage [ + + "method1 is called by method 2,itself called by testMethod1" + "P1 : method1 and testMethod2 + P2 : method2, the reference is made in the package of method2" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersOutsideTestInsideWithRefIn','Package') asClass >> ('method1SecondLevelSendersOutsideTestInsideWithRefIn','Package') asSymbol). + self assert: testsFound size equals: 1. + self assert: (testsFound includes: (('SmTClassTest','P1') asClass >> ('testMethod2SecondLevelSendersOutsideTestInsideWithRefIn','Package') asSymbol) asRingDefinition ). + +] + +{ #category : #tests } +SmTSendersFilterTestDefaultClassPackage >> testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefInMethod [ + + "method1 is called by method 2,itself called by testMethod1" + "P1 : Class1 >> method1 + P2 : Class2 >> method2, the reference to Class1 is made in method2 + P3 : Class3 >> testMethod2, the reference to Class1 is made in testMethod2" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefIn','Method') asClass >> ('method1SecondLevelSendersOutsideTestOutsideWithRefIn','Method') asSymbol). + self assert: testsFound size equals: 1. + self assert: (testsFound includes: (('SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefIn','Method') asClass >> ('testMethod2SecondLevelSenderOutsideTestOutsideWithRefIn','Method') asSymbol) asRingDefinition ). + +] diff --git a/src/SmartTest-Tests/SmTSendersFilterTestDefaultPackage.class.st b/src/SmartTest-Tests/SmTSendersFilterTestDefaultPackage.class.st new file mode 100644 index 0000000..369a44a --- /dev/null +++ b/src/SmartTest-Tests/SmTSendersFilterTestDefaultPackage.class.st @@ -0,0 +1,32 @@ +" +I test the strategy SendersFinder with the filter DefaultPackage. +The filter should accept any test that is owned by : + - the package of the modified method; + +In order to be sure that those test are not considered as callers of the modified method and as references to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method. +" +Class { + #name : #SmTSendersFilterTestDefaultPackage, + #superclass : #SmTFilterAbstractTest, + #category : 'SmartTest-Tests-Filter' +} + +{ #category : #tests } +SmTSendersFilterTestDefaultPackage >> testClassOutsidePackageWithRef [ +"In this test, we want to assert that if the class is used in a method, we find the tests related to this method." + + | testsFound | + testsFound := self searchTestMethodsForAClass: ('SmTClassModificationOnClass','OutsidePackageWithRef') asClass. + self assert: testsFound size equals: 0. +] + +{ #category : #tests } +SmTSendersFilterTestDefaultPackage >> testInstVarOutsidePackage [ +"In this test we want to assert that if the modified class has subclasses, SmartTest finds all the inherited methods (implemented or not)" + + | testsFound aInstVar| + aInstVar := self instanceVariableNamed: 'instVarModificationOnVariableOutsidePackage' fromClass: ('SmTClassP1ModificationOnVariable') asClass . + testsFound := self searchTestsForInstVar: aInstVar ofClass: ('SmTClassP1ModificationOnVariable') asClass. + self assert: testsFound size equals: 0. + +] diff --git a/src/SmartTest-Tests/SmTSendersFilterTestWithMultipleRestrictedPackage.class.st b/src/SmartTest-Tests/SmTSendersFilterTestWithMultipleRestrictedPackage.class.st new file mode 100644 index 0000000..67f7d36 --- /dev/null +++ b/src/SmartTest-Tests/SmTSendersFilterTestWithMultipleRestrictedPackage.class.st @@ -0,0 +1,216 @@ +" +I test the strategy SendersFinder with the filter RestrictedPackage. +The filter should accept any test that is owned by a package whose name matches the regex. + +Here we look for tests in the package SmartDataTestOutsideP1 AND SmartDataTestOutsideP2 End of statement list encountered ->(this is defined in the SetUp method). +The results are different than the results with only one package. + +In order to be sure that those test are not considered as callers of the modified method and as references to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method. +" +Class { + #name : #SmTSendersFilterTestWithMultipleRestrictedPackage, + #superclass : #SmTFilterAbstractTest, + #category : 'SmartTest-Tests-Filter' +} + +{ #category : #running } +SmTSendersFilterTestWithMultipleRestrictedPackage >> setUp [ + "Here we want to test the SmTRestrictedPackageFilter with the static strategy 'sendersFinder'. We look for the tests located in both SmartTestDataOutsideP1 and P2." + + super setUp. + self timeLimit: 60 seconds. + smartFinder + filter: + (SmTSpecifyPackagesNameFilter packagesRegex: 'SmartTestDataOutsideP1|SmartTestDataOutsideP2') +] + +{ #category : #tests } +SmTSendersFilterTestWithMultipleRestrictedPackage >> testStandardMethodFirstLevelSendersOutsidePackage [ + + "MyMethod1 is called by testMyMethod2, a test not owned by the same package as myMethod1 but its package matches the regex so it should be found" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClass','P1') asClass >> ('method1','FirstLevelSendersOutsidePackage') asSymbol). + self assert: testsFound size equals: 1 . + self assert: (testsFound includes: testMethod1FirstLevelSendersOutsidePackage). + + + +] + +{ #category : #tests } +SmTSendersFilterTestWithMultipleRestrictedPackage >> testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass [ + + "method1 is called by testMethod1" + "P1 : method1 + P2 : testMethod1, the reference is made in the class of testMethod1" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1FirstLevelSendersOutsideWithRefIn','Class') asClass >> ('method1','FirstLevelSendersWithRefInClass') asSymbol). + self assert: testsFound size equals: 1. + self assert: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod1FirstLevelSendersOutsideWithRefIn','Class') asSymbol) asRingDefinition ). +] + +{ #category : #tests } +SmTSendersFilterTestWithMultipleRestrictedPackage >> testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod [ + + "method1 is called by testMethod1" + "P1 : method1 + P2 : testMethod1, the reference is made in testMethod1" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1FirstLevelSendersOutsideWithRefIn','Method') asClass >> ('method1','FirstLevelSendersWithRefInMethod') asSymbol). + self assert: testsFound size equals: 1. + self assert: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod1FirstLevelSendersOutsideWithRefIn','Method') asSymbol) asRingDefinition ). +] + +{ #category : #tests } +SmTSendersFilterTestWithMultipleRestrictedPackage >> testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage [ + + "method1 is called by testMethod1" + "P1 : method1 + P2 : testMethod1, the reference is made in the package of testMethod1" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1FirstLevelSendersOutsideWithRefIn','Package') asClass >> ('method1FirstLevelSendersWithRefIn','Package') asSymbol). + self assert: testsFound size equals: 1. + self assert: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod1FirstLevelSendersOutsideWithRefIn','Package') asSymbol) asRingDefinition ). + +] + +{ #category : #running } +SmTSendersFilterTestWithMultipleRestrictedPackage >> testStandardMethodSecondLevelSendersInsidePackageWithTestOutside [ + + "method1 is called by method2, which itself is called by testMethod2, both methods (the test and the method) are not owned by the same package as myMethod1 but their packages matches the regex so it should be found" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClass','P1') asClass >> ('method1','SecondLevelSendersInsidePackageWithTestOutside') asSymbol). + self assert: testsFound size equals: 1 . + self assert: (testsFound includes: testMethod2SecondLevelSendersInsidePackageWithTestOutside ). + + + +] + +{ #category : #tests } +SmTSendersFilterTestWithMultipleRestrictedPackage >> testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass [ + + "method1 is called by method 2,itself called by testMethod1" + "P1 : method1 and method2 + P2 : testMethod2, the reference is made in the class of testMethod2" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersInsideTestOutsideWithRefIn','Class') asClass >> ('method1SecondLevelSendersInsideTestOutsideWithRefIn','Class') asSymbol). + self assert: testsFound size equals: 1. + self assert: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod2SecondLevelSenderInsideTestOutsideWithRefIn','Class') asSymbol) asRingDefinition ). + +] + +{ #category : #tests } +SmTSendersFilterTestWithMultipleRestrictedPackage >> testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod [ + + "method1 is called by method 2,itself called by testMethod1" + "P1 : method1 and method2 + P2 : testMethod2, the reference is made in testMethod2" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersInsideTestOutsideWithRefIn','Method') asClass >> ('method1SecondLevelSendersInsideTestOutsideWithRefIn','Method') asSymbol). + self assert: testsFound size equals: 1. + self assert: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod2SecondLevelSenderInsideTestOutsideWithRefIn','Method')asSymbol) asRingDefinition ). + +] + +{ #category : #tests } +SmTSendersFilterTestWithMultipleRestrictedPackage >> testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage [ + + "method1 is called by method 2,itself called by testMethod1" + "P1 : method1 and method2 + P2 : testMethod2, the reference is made in the package of testMethod2" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersInsideTestOutsideWithRefIn','Package') asClass >> ('method1SecondLevelSendersInsideTestOutsideWithRefIn','Package') asSymbol). + self assert: testsFound size equals: 1. + self assert: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod2SecondLevelSenderInsideTestOutsideWithRefIn','Package') asSymbol) asRingDefinition ). + +] + +{ #category : #running } +SmTSendersFilterTestWithMultipleRestrictedPackage >> testStandardMethodSecondLevelSendersOutsidePackageWithTestInside [ + + "method1 is called by method2, which itself is called by testMethod2, both methods (the test and the method) are not owned by the same package as myMethod1 but their packages matches the regex so it should be found" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClass','P1') asClass >> ('method1','SecondLevelSendersOutsidePackageWithTestInside') asSymbol). + self assert: testsFound size equals: 1 . + self assert: (testsFound includes: testMethod2SecondLevelSendersOutsidePackageWithTestInside ). + + + +] + +{ #category : #running } +SmTSendersFilterTestWithMultipleRestrictedPackage >> testStandardMethodSecondLevelSendersOutsidePackageWithTestOutside [ + + "method1 is called by method2, which itself is called by testMethod2, both methods (the test and the method) are not owned by the same package as myMethod1 but their packages matches the regex so it should be found" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClass','P1') asClass >> ('method1','SecondLevelSendersOutsidePackageWithTestOutside') asSymbol). + self assert: testsFound size equals: 1 . + self assert: (testsFound includes: testMethod2SecondLevelSendersOutsidePackageWithTestOutside ). + + + +] + +{ #category : #tests } +SmTSendersFilterTestWithMultipleRestrictedPackage >> testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass [ + + "method1 is called by method 2,itself called by testMethod1" + "P1 : method1 and testMethod2 + P2 : method2, the reference is made in the class of method2" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersOutsideTestInsideWithRefIn','Class') asClass >> ('method1SecondLevelSendersOutsideTestInsideWithRefIn','Class') asSymbol). + self assert: testsFound size equals: 1. + self assert: (testsFound includes: (('SmTClassTest','P1') asClass >> ('testMethod2SecondLevelSendersOutsideTestInsideWithRefIn','Class') asSymbol) asRingDefinition ). + +] + +{ #category : #tests } +SmTSendersFilterTestWithMultipleRestrictedPackage >> testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod [ + + "method1 is called by method 2,itself called by testMethod1" + "P1 : method1 and testMethod2 + P2 : method2, the reference is made in method2" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersOutsideTestInsideWithRefIn','Method') asClass >> ('method1SecondLevelSendersOutsideTestInsideWithRefIn','Method') asSymbol). + self assert: testsFound size equals: 1. + self assert: (testsFound includes: (('SmTClassTest','P1') asClass >> ('testMethod2SecondLevelSendersOutsideTestInsideWithRefIn','Method') asSymbol) asRingDefinition ). + +] + +{ #category : #tests } +SmTSendersFilterTestWithMultipleRestrictedPackage >> testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage [ + + "method1 is called by method 2,itself called by testMethod1" + "P1 : method1 and testMethod2 + P2 : method2, the reference is made in the package of method2" + "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" + + | testsFound | + testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersOutsideTestInsideWithRefIn','Package') asClass >> ('method1SecondLevelSendersOutsideTestInsideWithRefIn','Package') asSymbol). + self assert: testsFound size equals: 1. + self assert: (testsFound includes: (('SmTClassTest','P1') asClass >> ('testMethod2SecondLevelSendersOutsideTestInsideWithRefIn','Package') asSymbol) asRingDefinition ). + +] diff --git a/src/SmartTest-Tests/SmTSendersFilterTestWithRestrictedPackage.class.st b/src/SmartTest-Tests/SmTSendersFilterTestWithRestrictedPackage.class.st new file mode 100644 index 0000000..46d0be3 --- /dev/null +++ b/src/SmartTest-Tests/SmTSendersFilterTestWithRestrictedPackage.class.st @@ -0,0 +1,50 @@ +" +I test the strategy SendersFinder with the filter RestrictedPackage. +The filter should accept any test that is owned by a package whose name matches the regex. + +Here we look for tests in the package SmartDataTestOutsideP1 (this is defined in the SetUp method). + +In order to be sure that those test are not considered as callers of the modified method and as references to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method. +" +Class { + #name : #SmTSendersFilterTestWithRestrictedPackage, + #superclass : #SmTFilterAbstractTest, + #category : 'SmartTest-Tests-Filter' +} + +{ #category : #running } +SmTSendersFilterTestWithRestrictedPackage >> setUp [ + "Here we want to test the SmTRestrictedPackageFilter with the static strategy 'sendersFinder'. We only look for the tests located in SmartTestDataOutsideP1." + + super setUp. + self timeLimit: 60 seconds. + smartFinder filter: (SmTSpecifyPackagesNameFilter packagesRegex: 'SmartTestDataOutsideP1') +] + +{ #category : #tests } +SmTSendersFilterTestWithRestrictedPackage >> testClassOutsidePackageWithRef [ +"In this test, we want to assert that if the class is used in a method, we find the tests related to this method." + + | testsFound | + testsFound := self searchTestMethodsForAClass: ('SmTClassModificationOnClass','OutsidePackageWithRef') asClass. + self assert: testsFound size equals: 0. +] + +{ #category : #tests } +SmTSendersFilterTestWithRestrictedPackage >> testExtensionMethodFirstLevelSendersOutside [ + + | testsFound | + testsFound := self searchTestMethodsFor:( ('SmT','ExtensionP2Test') asClass >> ('extensionMethod1FirstLevelSenders','Outside') asSymbol). + self deny: (testsFound includes: ((('SmT','ClassTestP2Test') asClass >> ('testExtensionMethod1FirstLevelSenders','Outside') asSymbol) asRingDefinition )). +] + +{ #category : #tests } +SmTSendersFilterTestWithRestrictedPackage >> testInstVarOutsidePackage [ +"In this test we want to assert that if the modified class has subclasses, SmartTest finds all the inherited methods (implemented or not)" + + | testsFound aInstVar| + aInstVar := self instanceVariableNamed: 'instVarModificationOnVariableOutsidePackage' fromClass: ('SmTClassP1ModificationOnVariable') asClass . + testsFound := self searchTestsForInstVar: aInstVar ofClass:('SmTClassP1ModificationOnVariable') asClass . + self assert: testsFound size equals: 0. + +] diff --git a/src/SmartTest-Tests/SmTSettingsBasicCacheTest.class.st b/src/SmartTest-Tests/SmTSettingsBasicCacheTest.class.st new file mode 100644 index 0000000..c0399a7 --- /dev/null +++ b/src/SmartTest-Tests/SmTSettingsBasicCacheTest.class.st @@ -0,0 +1,10 @@ +Class { + #name : #SmTSettingsBasicCacheTest, + #superclass : #SmTSettingsCacheTest, + #category : 'SmartTest-Tests-Settings' +} + +{ #category : #settings } +SmTSettingsBasicCacheTest >> cacheStrategy [ + ^ SmTBasicCacheStrategy +] diff --git a/src/SmartTest-Tests/SmTSettingsCacheTest.class.st b/src/SmartTest-Tests/SmTSettingsCacheTest.class.st new file mode 100644 index 0000000..76851af --- /dev/null +++ b/src/SmartTest-Tests/SmTSettingsCacheTest.class.st @@ -0,0 +1,24 @@ +Class { + #name : #SmTSettingsCacheTest, + #superclass : #SmTSettingsTest, + #category : 'SmartTest-Tests-Settings' +} + +{ #category : #testing } +SmTSettingsCacheTest class >> isAbstract [ + ^ self = SmTSettingsCacheTest +] + +{ #category : #settings } +SmTSettingsCacheTest >> cacheStrategy [ + self subclassResponsibility +] + +{ #category : #tests } +SmTSettingsCacheTest >> testChangeCacheStrategy [ + "Test changement of the runner in the setting (throught SmTRules methods)" + + SmTRules cacheStrategy: self cacheStrategy. + self assert: (SmTRules testFinder cacheStrategy isKindOf: self cacheStrategy). + self assert: (SmTRules testFinder smtFinder cache isKindOf: self cacheStrategy) +] diff --git a/src/SmartTest-Tests/SmTSettingsFilterDefaultClassPackagesTest.class.st b/src/SmartTest-Tests/SmTSettingsFilterDefaultClassPackagesTest.class.st new file mode 100644 index 0000000..c3d9568 --- /dev/null +++ b/src/SmartTest-Tests/SmTSettingsFilterDefaultClassPackagesTest.class.st @@ -0,0 +1,10 @@ +Class { + #name : #SmTSettingsFilterDefaultClassPackagesTest, + #superclass : #SmTSettingsFilterTest, + #category : 'SmartTest-Tests-Settings' +} + +{ #category : #running } +SmTSettingsFilterDefaultClassPackagesTest >> filterStrategy [ + ^ SmTDefaultClassPackagesFilter +] diff --git a/src/SmartTest-Tests/SmTSettingsFilterDefaultPackagesTest.class.st b/src/SmartTest-Tests/SmTSettingsFilterDefaultPackagesTest.class.st new file mode 100644 index 0000000..88edf4b --- /dev/null +++ b/src/SmartTest-Tests/SmTSettingsFilterDefaultPackagesTest.class.st @@ -0,0 +1,10 @@ +Class { + #name : #SmTSettingsFilterDefaultPackagesTest, + #superclass : #SmTSettingsFilterTest, + #category : 'SmartTest-Tests-Settings' +} + +{ #category : #running } +SmTSettingsFilterDefaultPackagesTest >> filterStrategy [ + ^ SmTDefaultPackagesFilter +] diff --git a/src/SmartTest-Tests/SmTSettingsFilterIcebergTest.class.st b/src/SmartTest-Tests/SmTSettingsFilterIcebergTest.class.st new file mode 100644 index 0000000..a0d74c8 --- /dev/null +++ b/src/SmartTest-Tests/SmTSettingsFilterIcebergTest.class.st @@ -0,0 +1,10 @@ +Class { + #name : #SmTSettingsFilterIcebergTest, + #superclass : #SmTSettingsFilterTest, + #category : 'SmartTest-Tests-Settings' +} + +{ #category : #running } +SmTSettingsFilterIcebergTest >> filterStrategy [ + ^ SmTIcebergLoadedPackagesFilter +] diff --git a/src/SmartTest-Tests/SmTSettingsFilterNoFilterTest.class.st b/src/SmartTest-Tests/SmTSettingsFilterNoFilterTest.class.st new file mode 100644 index 0000000..ddf7fc3 --- /dev/null +++ b/src/SmartTest-Tests/SmTSettingsFilterNoFilterTest.class.st @@ -0,0 +1,10 @@ +Class { + #name : #SmTSettingsFilterNoFilterTest, + #superclass : #SmTSettingsFilterTest, + #category : 'SmartTest-Tests-Settings' +} + +{ #category : #running } +SmTSettingsFilterNoFilterTest >> filterStrategy [ + ^ SmTNoFilter +] diff --git a/src/SmartTest-Tests/SmTSettingsFilterSpecifyPackagesNameTest.class.st b/src/SmartTest-Tests/SmTSettingsFilterSpecifyPackagesNameTest.class.st new file mode 100644 index 0000000..c6a6952 --- /dev/null +++ b/src/SmartTest-Tests/SmTSettingsFilterSpecifyPackagesNameTest.class.st @@ -0,0 +1,38 @@ +Class { + #name : #SmTSettingsFilterSpecifyPackagesNameTest, + #superclass : #SmTSettingsFilterTest, + #instVars : [ + 'oldRegex' + ], + #category : 'SmartTest-Tests-Settings' +} + +{ #category : #running } +SmTSettingsFilterSpecifyPackagesNameTest >> dataForTestRegex [ + ^ 'SmartTes*|StarWars' +] + +{ #category : #running } +SmTSettingsFilterSpecifyPackagesNameTest >> filterStrategy [ + ^ SmTSpecifyPackagesNameFilter +] + +{ #category : #running } +SmTSettingsFilterSpecifyPackagesNameTest >> setUp [ + super setUp. + oldRegex := SmTRules packagesRegex. + SmTRules packagesRegex: self dataForTestRegex +] + +{ #category : #running } +SmTSettingsFilterSpecifyPackagesNameTest >> tearDown [ + + SmTRules packagesRegex: oldRegex. + super tearDown +] + +{ #category : #running } +SmTSettingsFilterSpecifyPackagesNameTest >> testChangeRegexWhenChanged [ + SmTRules filter: self filterStrategy. + self assert: SmTRules testFinder filter packagesRegex equals: self dataForTestRegex +] diff --git a/src/SmartTest-Tests/SmTSettingsFilterTest.class.st b/src/SmartTest-Tests/SmTSettingsFilterTest.class.st new file mode 100644 index 0000000..6f8bc83 --- /dev/null +++ b/src/SmartTest-Tests/SmTSettingsFilterTest.class.st @@ -0,0 +1,24 @@ +Class { + #name : #SmTSettingsFilterTest, + #superclass : #SmTSettingsTest, + #category : 'SmartTest-Tests-Settings' +} + +{ #category : #testing } +SmTSettingsFilterTest class >> isAbstract [ + ^ self = SmTSettingsFilterTest +] + +{ #category : #running } +SmTSettingsFilterTest >> filterStrategy [ + self subclassResponsibility +] + +{ #category : #tests } +SmTSettingsFilterTest >> testChangeFilterStrategy [ + "Test changement of the runner in the setting (throught SmTRules methods)" + + SmTRules filter: self filterStrategy. + self assert: (SmTRules testFinder filter isKindOf: self filterStrategy). + self assert: (SmTRules testFinder smtFinder filter isKindOf: self filterStrategy) +] diff --git a/src/SmartTest-Tests/SmTSettingsFinderReflectivityTest.class.st b/src/SmartTest-Tests/SmTSettingsFinderReflectivityTest.class.st new file mode 100644 index 0000000..eb5b5c8 --- /dev/null +++ b/src/SmartTest-Tests/SmTSettingsFinderReflectivityTest.class.st @@ -0,0 +1,10 @@ +Class { + #name : #SmTSettingsFinderReflectivityTest, + #superclass : #SmTSettingsFinderTest, + #category : 'SmartTest-Tests-Settings' +} + +{ #category : #running } +SmTSettingsFinderReflectivityTest >> finderStrategy [ + ^ SmTReflectivityTestFinderStrategy +] diff --git a/src/SmartTest-Tests/SmTSettingsFinderSenderTestTest.class.st b/src/SmartTest-Tests/SmTSettingsFinderSenderTestTest.class.st new file mode 100644 index 0000000..68bf3db --- /dev/null +++ b/src/SmartTest-Tests/SmTSettingsFinderSenderTestTest.class.st @@ -0,0 +1,10 @@ +Class { + #name : #SmTSettingsFinderSenderTestTest, + #superclass : #SmTSettingsFinderTest, + #category : 'SmartTest-Tests-Settings' +} + +{ #category : #running } +SmTSettingsFinderSenderTestTest >> finderStrategy [ + ^ SmTSenderTestFinderStrategy +] diff --git a/src/SmartTest-Tests.package/SmTSettingsFinderTest.class/instance/testChangeFinderStrategy.st b/src/SmartTest-Tests/SmTSettingsFinderTest.class.st similarity index 50% rename from src/SmartTest-Tests.package/SmTSettingsFinderTest.class/instance/testChangeFinderStrategy.st rename to src/SmartTest-Tests/SmTSettingsFinderTest.class.st index 9a069df..578c8a1 100644 --- a/src/SmartTest-Tests.package/SmTSettingsFinderTest.class/instance/testChangeFinderStrategy.st +++ b/src/SmartTest-Tests/SmTSettingsFinderTest.class.st @@ -1,9 +1,26 @@ -tests -testChangeFinderStrategy +Class { + #name : #SmTSettingsFinderTest, + #superclass : #SmTSettingsTest, + #category : 'SmartTest-Tests-Settings' +} + +{ #category : #testing } +SmTSettingsFinderTest class >> isAbstract [ + ^ self = SmTSettingsFinderTest +] + +{ #category : #running } +SmTSettingsFinderTest >> finderStrategy [ + self subclassResponsibility +] + +{ #category : #tests } +SmTSettingsFinderTest >> testChangeFinderStrategy [ "Test changement of the runner in the setting (throught SmTRules methods)" SmTRules finder: self finderStrategy. self assert: (SmTRules testFinder smtFinder isKindOf: self finderStrategy). self assert: (SmTRules testFinder smtFinder filter isKindOf: SmTRules filter). self assert: (SmTRules testFinder smtFinder cache isKindOf: SmTRules cacheStrategy). - self assert: (SmTRules testFinder smtFinder filter isKindOf: SmTRules filter) \ No newline at end of file + self assert: (SmTRules testFinder smtFinder filter isKindOf: SmTRules filter) +] diff --git a/src/SmartTest-Tests/SmTSettingsFinderTestCoverageTest.class.st b/src/SmartTest-Tests/SmTSettingsFinderTestCoverageTest.class.st new file mode 100644 index 0000000..34fbd7f --- /dev/null +++ b/src/SmartTest-Tests/SmTSettingsFinderTestCoverageTest.class.st @@ -0,0 +1,10 @@ +Class { + #name : #SmTSettingsFinderTestCoverageTest, + #superclass : #SmTSettingsFinderTest, + #category : 'SmartTest-Tests-Settings' +} + +{ #category : #running } +SmTSettingsFinderTestCoverageTest >> finderStrategy [ + ^ SmTTestCoverageTestFinderStrategy +] diff --git a/src/SmartTest-Tests/SmTSettingsNoCacheTest.class.st b/src/SmartTest-Tests/SmTSettingsNoCacheTest.class.st new file mode 100644 index 0000000..588c5b6 --- /dev/null +++ b/src/SmartTest-Tests/SmTSettingsNoCacheTest.class.st @@ -0,0 +1,10 @@ +Class { + #name : #SmTSettingsNoCacheTest, + #superclass : #SmTSettingsCacheTest, + #category : 'SmartTest-Tests-Settings' +} + +{ #category : #settings } +SmTSettingsNoCacheTest >> cacheStrategy [ + ^ SmTNoCacheStrategy +] diff --git a/src/SmartTest-Tests/SmTSettingsPackagesRegexTest.class.st b/src/SmartTest-Tests/SmTSettingsPackagesRegexTest.class.st new file mode 100644 index 0000000..a34eaae --- /dev/null +++ b/src/SmartTest-Tests/SmTSettingsPackagesRegexTest.class.st @@ -0,0 +1,44 @@ +" +We test if we correctly changed the regex when we changed it (or not) in the settings. +" +Class { + #name : #SmTSettingsPackagesRegexTest, + #superclass : #SmTSettingsTest, + #instVars : [ + 'oldRegex', + 'oldFilter' + ], + #category : 'SmartTest-Tests-Settings' +} + +{ #category : #testing } +SmTSettingsPackagesRegexTest class >> isAbstract [ + ^ false +] + +{ #category : #running } +SmTSettingsPackagesRegexTest >> dataForTestRegex [ + ^ 'SmartTes*|StarWars' +] + +{ #category : #running } +SmTSettingsPackagesRegexTest >> setUp [ + super setUp. + + oldRegex := SmTRules packagesRegex. + oldFilter := SmTRules filter. +] + +{ #category : #running } +SmTSettingsPackagesRegexTest >> tearDown [ + SmTRules packagesRegex: oldRegex. + SmTRules filter: oldFilter. + super tearDown +] + +{ #category : #tests } +SmTSettingsPackagesRegexTest >> testChangeRegexSmTSpecifyPackagesNameFilter [ + SmTRules filter: SmTSpecifyPackagesNameFilter. + SmTRules packagesRegex: self dataForTestRegex. + self assert: SmTRules testFinder filter packagesRegex equals: self dataForTestRegex +] diff --git a/src/SmartTest-Tests/SmTSettingsRunnerDebugTest.class.st b/src/SmartTest-Tests/SmTSettingsRunnerDebugTest.class.st new file mode 100644 index 0000000..ee032f6 --- /dev/null +++ b/src/SmartTest-Tests/SmTSettingsRunnerDebugTest.class.st @@ -0,0 +1,10 @@ +Class { + #name : #SmTSettingsRunnerDebugTest, + #superclass : #SmTSettingsRunnerTest, + #category : 'SmartTest-Tests-Settings' +} + +{ #category : #running } +SmTSettingsRunnerDebugTest >> runnerStrategy [ + ^ SmTRunnerStrategyDebug +] diff --git a/src/SmartTest-Tests/SmTSettingsRunnerNoticeTest.class.st b/src/SmartTest-Tests/SmTSettingsRunnerNoticeTest.class.st new file mode 100644 index 0000000..317aa9c --- /dev/null +++ b/src/SmartTest-Tests/SmTSettingsRunnerNoticeTest.class.st @@ -0,0 +1,10 @@ +Class { + #name : #SmTSettingsRunnerNoticeTest, + #superclass : #SmTSettingsRunnerTest, + #category : 'SmartTest-Tests-Settings' +} + +{ #category : #running } +SmTSettingsRunnerNoticeTest >> runnerStrategy [ + ^ SmTRunnerStrategyNotice +] diff --git a/src/SmartTest-Tests/SmTSettingsRunnerSmartTest.class.st b/src/SmartTest-Tests/SmTSettingsRunnerSmartTest.class.st new file mode 100644 index 0000000..6e93d57 --- /dev/null +++ b/src/SmartTest-Tests/SmTSettingsRunnerSmartTest.class.st @@ -0,0 +1,10 @@ +Class { + #name : #SmTSettingsRunnerSmartTest, + #superclass : #SmTSettingsRunnerTest, + #category : 'SmartTest-Tests-Settings' +} + +{ #category : #running } +SmTSettingsRunnerSmartTest >> runnerStrategy [ + ^ SmTRunnerStrategySmart +] diff --git a/src/SmartTest-Tests/SmTSettingsRunnerTest.class.st b/src/SmartTest-Tests/SmTSettingsRunnerTest.class.st new file mode 100644 index 0000000..0782815 --- /dev/null +++ b/src/SmartTest-Tests/SmTSettingsRunnerTest.class.st @@ -0,0 +1,24 @@ +Class { + #name : #SmTSettingsRunnerTest, + #superclass : #SmTSettingsTest, + #category : 'SmartTest-Tests-Settings' +} + +{ #category : #testing } +SmTSettingsRunnerTest class >> isAbstract [ + ^ self = SmTSettingsRunnerTest +] + +{ #category : #running } +SmTSettingsRunnerTest >> runnerStrategy [ + self subclassResponsibility +] + +{ #category : #tests } +SmTSettingsRunnerTest >> testChangeRunnerStrategy [ + "Test changement of the runner in the setting (throught SmTRules methods)" + + SmTRules runner: self runnerStrategy. + self assert: SmTRules testFinder testRunner equals: self runnerStrategy. + self assert: SmTRules testFinder testingStrategy runner equals: self runnerStrategy. +] diff --git a/src/SmartTest-Tests/SmTSettingsTest.class.st b/src/SmartTest-Tests/SmTSettingsTest.class.st new file mode 100644 index 0000000..7be0dcb --- /dev/null +++ b/src/SmartTest-Tests/SmTSettingsTest.class.st @@ -0,0 +1,28 @@ +" +These tests are here to assert that when we change the settings of SmartTest in the environnement, they are indeed changed. +" +Class { + #name : #SmTSettingsTest, + #superclass : #TestCase, + #instVars : [ + 'oldSettings' + ], + #category : 'SmartTest-Tests-Settings' +} + +{ #category : #testing } +SmTSettingsTest class >> isAbstract [ + ^ true +] + +{ #category : #running } +SmTSettingsTest >> setUp [ + super setUp. + oldSettings := SmTRules testFinder +] + +{ #category : #running } +SmTSettingsTest >> tearDown [ + SmTRules testFinder: oldSettings. + super tearDown +] diff --git a/src/SmartTest-Tests/SmTSettingsTestingStrategyAlwaysTest.class.st b/src/SmartTest-Tests/SmTSettingsTestingStrategyAlwaysTest.class.st new file mode 100644 index 0000000..0a155e0 --- /dev/null +++ b/src/SmartTest-Tests/SmTSettingsTestingStrategyAlwaysTest.class.st @@ -0,0 +1,10 @@ +Class { + #name : #SmTSettingsTestingStrategyAlwaysTest, + #superclass : #SmTSettingsTestingStrategyTest, + #category : 'SmartTest-Tests-Settings' +} + +{ #category : #running } +SmTSettingsTestingStrategyAlwaysTest >> getTestingStrategy [ + ^ SmTTestingStrategyAlways +] diff --git a/src/SmartTest-Tests/SmTSettingsTestingStrategyEachModificationTest.class.st b/src/SmartTest-Tests/SmTSettingsTestingStrategyEachModificationTest.class.st new file mode 100644 index 0000000..0254d70 --- /dev/null +++ b/src/SmartTest-Tests/SmTSettingsTestingStrategyEachModificationTest.class.st @@ -0,0 +1,10 @@ +Class { + #name : #SmTSettingsTestingStrategyEachModificationTest, + #superclass : #SmTSettingsTestingStrategyTest, + #category : 'SmartTest-Tests-Settings' +} + +{ #category : #running } +SmTSettingsTestingStrategyEachModificationTest >> getTestingStrategy [ + ^ SmTTestingStrategyEachModification +] diff --git a/src/SmartTest-Tests/SmTSettingsTestingStrategyFiveMinutesTest.class.st b/src/SmartTest-Tests/SmTSettingsTestingStrategyFiveMinutesTest.class.st new file mode 100644 index 0000000..1956cad --- /dev/null +++ b/src/SmartTest-Tests/SmTSettingsTestingStrategyFiveMinutesTest.class.st @@ -0,0 +1,10 @@ +Class { + #name : #SmTSettingsTestingStrategyFiveMinutesTest, + #superclass : #SmTSettingsTestingStrategyTest, + #category : 'SmartTest-Tests-Settings' +} + +{ #category : #running } +SmTSettingsTestingStrategyFiveMinutesTest >> getTestingStrategy [ + ^ SmTTestingStrategyFiveMinutes +] diff --git a/src/SmartTest-Tests/SmTSettingsTestingStrategyNeverTest.class.st b/src/SmartTest-Tests/SmTSettingsTestingStrategyNeverTest.class.st new file mode 100644 index 0000000..360a67f --- /dev/null +++ b/src/SmartTest-Tests/SmTSettingsTestingStrategyNeverTest.class.st @@ -0,0 +1,10 @@ +Class { + #name : #SmTSettingsTestingStrategyNeverTest, + #superclass : #SmTSettingsTestingStrategyTest, + #category : 'SmartTest-Tests-Settings' +} + +{ #category : #running } +SmTSettingsTestingStrategyNeverTest >> getTestingStrategy [ + ^ SmTTestingStrategyNever +] diff --git a/src/SmartTest-Tests/SmTSettingsTestingStrategyTest.class.st b/src/SmartTest-Tests/SmTSettingsTestingStrategyTest.class.st new file mode 100644 index 0000000..9dad409 --- /dev/null +++ b/src/SmartTest-Tests/SmTSettingsTestingStrategyTest.class.st @@ -0,0 +1,25 @@ +Class { + #name : #SmTSettingsTestingStrategyTest, + #superclass : #SmTSettingsTest, + #category : 'SmartTest-Tests-Settings' +} + +{ #category : #testing } +SmTSettingsTestingStrategyTest class >> isAbstract [ + ^ self = SmTSettingsTestingStrategyTest +] + +{ #category : #running } +SmTSettingsTestingStrategyTest >> getTestingStrategy [ + self subclassResponsibility +] + +{ #category : #tests } +SmTSettingsTestingStrategyTest >> testChangeTestingStrategyStrategy [ + "Test changement of the runner in the setting (throught SmTRules methods)" + + SmTRules strategy: self getTestingStrategy . + self assert: (SmTRules testFinder testingStrategy isKindOf: self getTestingStrategy ). + self assert: SmTRules testFinder testingStrategy runner equals: SmTRules runner. + self assert: SmTRules testFinder testingStrategy finder equals: SmTRules testFinder smtFinder +] diff --git a/src/SmartTest-Tests/SmTStaticDefaultClassPackageBasicCacheTest.class.st b/src/SmartTest-Tests/SmTStaticDefaultClassPackageBasicCacheTest.class.st new file mode 100644 index 0000000..b076ed8 --- /dev/null +++ b/src/SmartTest-Tests/SmTStaticDefaultClassPackageBasicCacheTest.class.st @@ -0,0 +1,26 @@ +" +I test the static finder with DefaultClassPackageFilter and BasicCache +" +Class { + #name : #SmTStaticDefaultClassPackageBasicCacheTest, + #superclass : #SmTFinderAbstractTest, + #category : 'SmartTest-Tests-Finder' +} + +{ #category : #running } +SmTStaticDefaultClassPackageBasicCacheTest >> setUp [ + super setUp. + smartFinder resetCache +] + +{ #category : #tests } +SmTStaticDefaultClassPackageBasicCacheTest >> testStandardMethodSecondLevelSenders [ + + | testsFound | + testsFound := self searchTestMethodsFor: SmTClass >> #method1. + + self assert: (testsFound includes: testMethod1). + self assert: (testsFound includes: testMethod2). + self deny: (testsFound includes: testMethod3). + self deny: (testsFound includes: testMethod4). +] diff --git a/src/SmartTest-Tests/SmTStaticDefaultClassPackageWithoutCacheTest.class.st b/src/SmartTest-Tests/SmTStaticDefaultClassPackageWithoutCacheTest.class.st new file mode 100644 index 0000000..0a33079 --- /dev/null +++ b/src/SmartTest-Tests/SmTStaticDefaultClassPackageWithoutCacheTest.class.st @@ -0,0 +1,23 @@ +" +In this class, the research is limited to the SmartTest-Tests-Data package, the research is static (it is using the SenderStrategy finder) and no cache is used. + +This comment is false, the research is not limited to SmartTest-Tests-Data package ! Should we change the comment or the tests ?? +" +Class { + #name : #SmTStaticDefaultClassPackageWithoutCacheTest, + #superclass : #SmTFinderAbstractTest, + #category : 'SmartTest-Tests-Finder' +} + +{ #category : #running } +SmTStaticDefaultClassPackageWithoutCacheTest >> setUp [ + super setUp. + smartFinder cacheStrategy: SmTNoCacheStrategy new. + cache := SmTNoCacheStrategy new +] + +{ #category : #initialization } +SmTStaticDefaultClassPackageWithoutCacheTest >> tearDown [ + super tearDown. + smartFinder resetCache +] diff --git a/src/SmartTest-Tests/SmTStaticSpecifyPackageNameBasicCacheTest.class.st b/src/SmartTest-Tests/SmTStaticSpecifyPackageNameBasicCacheTest.class.st new file mode 100644 index 0000000..7748651 --- /dev/null +++ b/src/SmartTest-Tests/SmTStaticSpecifyPackageNameBasicCacheTest.class.st @@ -0,0 +1,71 @@ +" +In this class, the research is limited to the SmartTest-Tests-Data package and the research is static (it is using the SenderStrategy finder). +" +Class { + #name : #SmTStaticSpecifyPackageNameBasicCacheTest, + #superclass : #SmTFinderAbstractTest, + #category : 'SmartTest-Tests-Finder' +} + +{ #category : #running } +SmTStaticSpecifyPackageNameBasicCacheTest >> setUp [ + super setUp. + smartFinder filter: (SmTSpecifyPackagesNameFilter packagesRegex: 'SmartTest-Tests-Data'). + smartFinder resetCache +] + +{ #category : #tests } +SmTStaticSpecifyPackageNameBasicCacheTest >> testInheritance [ + + "The test is outside of the scope of the test" + | testsFound | + testsFound := self searchTestMethodsFor: ('SmTP1' , 'Inheritance') asClass >> #method1Inheritance. + + self assert: testsFound isEmpty. + self deny: (testsFound includes: ((('SmTP1InheritanceSubClass1','Test')asClass >> ('testMethod1','Inheritance')asSymbol) asRingDefinition )). + self deny: (testsFound includes: ( (RGMethodDefinition className: ('SmTP1InheritanceSubClass2','Test') selector: ('testMethod1','Inheritance') asSymbol isMetaSide: false) asRingDefinition )). +] + +{ #category : #tests } +SmTStaticSpecifyPackageNameBasicCacheTest >> testStandardMethodFirstLevelSenders [ + "Same test as in the superclass, but here there should be only one test found (there are many in the superclass)" + + + | testsFound | + testsFound := self searchTestMethodsFor: SmTClass >> #method2. + self assert: testsFound size equals: 1. + self assert: (testsFound includes: testMethod2). + self deny: (testsFound includes: testMethod1). + self deny: (testsFound includes: testMethod3). + self deny: (testsFound includes: testMethod4) +] + +{ #category : #tests } +SmTStaticSpecifyPackageNameBasicCacheTest >> testStandardMethodSecondLevelSenders [ + "In class, the research is limited to the SmartTest-Tests-Data package and is static. So the assertions are different. There should be only one test found that call the method2 message" + "Here the test founds should not include the test 'testInheritedMethod1' because + - it is not in the package SmartTest-Tests-Data + - it makes a reference to SmTClassOutSide new method2 and NOT SmTClass >> method2" + + + | testsFound | + testsFound := self searchTestMethodsFor: SmTClass >> #method1. + self assert: testsFound size equals: 3. + self assert: (testsFound includes: testMethod1). + self assert: (testsFound includes: testMethod2). + self assert: (testsFound includes: testInheritedMethod1). + self deny: (testsFound includes: testMethod3). + self deny: (testsFound includes: testMethod4) +] + +{ #category : #tests } +SmTStaticSpecifyPackageNameBasicCacheTest >> testStandardMethodThirdLevelSenders [ + + | testsFound | + testsFound := self searchTestMethodsFor: SmTClass >> #method4. + self assert: testsFound size equals: 3. + self deny: (testsFound includes: (SmTClassTest >> #testMethod1 )asRingDefinition). + self assert: (testsFound includes: (SmTClassTest >> #testMethod2 )asRingDefinition). + self assert: (testsFound includes: (SmTClassTest >> #testMethod3 )asRingDefinition). + self assert: (testsFound includes: (SmTClassTest >> #testMethod4 )asRingDefinition). +] diff --git a/src/SmartTest-Tests/SmartFinderTest.class.st b/src/SmartTest-Tests/SmartFinderTest.class.st new file mode 100644 index 0000000..d138e01 --- /dev/null +++ b/src/SmartTest-Tests/SmartFinderTest.class.st @@ -0,0 +1,121 @@ +" +A SmartFinderTest is a test class for testing the behavior of SmartFinder +" +Class { + #name : #SmartFinderTest, + #superclass : #TestCase, + #instVars : [ + 'smartFinder' + ], + #category : 'SmartTest-Tests-Finder' +} + +{ #category : #initialization } +SmartFinderTest >> initCache [ + ^ {((SmTClass >> #method1 )asRingDefinition + -> + {(SmTClassTest >> #testMethod1 )asRingDefinition. + (SmTClassTest >> #testMethod2 )asRingDefinition. + (RGMethodDefinition className: 'SmTInheritClassTest' selector: #testMethod1 isMetaSide: false)} asSet). + ((SmTClass >> #method2 )asRingDefinition + -> + {(SmTClassTest >> #testMethod2 )asRingDefinition} + asSet). + ((SmTClass >> #method3: )asRingDefinition + -> + {(SmTClassTest >> #testMethod1 )asRingDefinition. + (SmTClassTest >> #testMethod2 )asRingDefinition. + (SmTClassTest >> #testMethod3 )asRingDefinition} + asSet). + ((SmTClass >> #method4 )asRingDefinition + -> + {(SmTClassTest >> #testMethod2 )asRingDefinition. + (SmTClassTest >> #testMethod3 )asRingDefinition. + (SmTClassTest >> #testMethod4 )asRingDefinition} + asSet). + ((SmTClass2 >> #initialize )asRingDefinition + -> + {(SmTClassTest >> #testMethod5 )asRingDefinition} + asSet). + ((SmTClassTest >> #testMethod4 )asRingDefinition + -> + {(SmTClassTest >> #testMethod4 )asRingDefinition} + asSet)} asDictionary +] + +{ #category : #initialization } +SmartFinderTest >> setUp [ + smartFinder := SmartFinder new + cacheStrategy: SmTBasicCacheStrategy new; + filter: SmTNoFilter new; + testRunner: SmTRunnerStrategyDebug; + smtFinder: SmTSenderTestFinderStrategy new; + testingStrategy: SmTTestingStrategyEachModification new; + shouldTryToFindTestForDynamic: false +] + +{ #category : #initialization } +SmartFinderTest >> tearDown [ + smartFinder clean +] + +{ #category : #initialization } +SmartFinderTest >> testChangeCacheClassFinder [ + | cacheTmp | + smartFinder smtFinder. + cacheTmp := SmTBasicCacheStrategy new. + smartFinder cacheStrategy: cacheTmp. + self assert: smartFinder smtFinder cache equals: cacheTmp +] + +{ #category : #initialization } +SmartFinderTest >> testChangeFilterFinder [ + | filterTmp | + smartFinder smtFinder. + filterTmp := SmTDefaultPackagesFilter new. + smartFinder filter: filterTmp. + self assert: smartFinder smtFinder filter equals: filterTmp +] + +{ #category : #initialization } +SmartFinderTest >> testChangeFilterTryFindTestFinder [ + smartFinder smtFinder. + smartFinder shouldTryToFindTestForDynamic: true. + self assert: smartFinder smtFinder shouldTryToFindTestForDynamic. + smartFinder shouldTryToFindTestForDynamic: false. + self deny: smartFinder smtFinder shouldTryToFindTestForDynamic +] + +{ #category : #initialization } +SmartFinderTest >> testChangeFinderTestingStrategy [ + | finderTmp | + smartFinder testingStrategy. + finderTmp := SmTSenderTestFinderStrategy new. + smartFinder smtFinder: finderTmp. + self assert: smartFinder testingStrategy finder equals: finderTmp +] + +{ #category : #initialization } +SmartFinderTest >> testChangeRunnerTestingStrategy [ + smartFinder testingStrategy. + smartFinder testRunner: SmTRunnerStrategyDebug. + self assert: smartFinder testingStrategy runner equals: SmTRunnerStrategyDebug. + smartFinder testRunner: SmTRunnerStrategyNotice. + self assert: smartFinder testingStrategy runner equals: SmTRunnerStrategyNotice +] + +{ #category : #'tests-api' } +SmartFinderTest >> testResetCache [ + self assert: smartFinder currentCache isEmpty . + smartFinder setCacheValues: self initCache. + self assert: smartFinder currentCache isNotEmpty . + smartFinder resetCache. + self assert: smartFinder currentCache isEmpty +] + +{ #category : #initialization } +SmartFinderTest >> testTwoSmartFinderhaveTwoDifferentCache [ + | smartFinder2 | + smartFinder2 := SmartFinder new. + self deny: smartFinder currentCache == smartFinder2 currentCache +] diff --git a/src/SmartTest-Tests/package.st b/src/SmartTest-Tests/package.st new file mode 100644 index 0000000..a8dea7b --- /dev/null +++ b/src/SmartTest-Tests/package.st @@ -0,0 +1 @@ +Package { #name : #'SmartTest-Tests' } diff --git a/src/SmartTest-UI.package/.filetree b/src/SmartTest-UI.package/.filetree deleted file mode 100644 index 57a6797..0000000 --- a/src/SmartTest-UI.package/.filetree +++ /dev/null @@ -1,5 +0,0 @@ -{ - "separateMethodMetaAndSource" : false, - "noMethodMetaData" : true, - "useCypressPropertiesFile" : true -} \ No newline at end of file diff --git a/src/SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/README.md b/src/SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/README.md deleted file mode 100644 index 3e3cd2e..0000000 --- a/src/SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/README.md +++ /dev/null @@ -1 +0,0 @@ -I represent the button that open details of tests you should run from SmartTest (for a class) \ No newline at end of file diff --git a/src/SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/class/canBeExecutedInContext..st b/src/SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/class/canBeExecutedInContext..st deleted file mode 100644 index e6151ba..0000000 --- a/src/SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/class/canBeExecutedInContext..st +++ /dev/null @@ -1,3 +0,0 @@ -testing -canBeExecutedInContext: aCriticContext - ^ SmTRelativeTestsCritique subclasses includes: aCriticContext selectedCritique class \ No newline at end of file diff --git a/src/SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/instance/decorateTableCell.using..st b/src/SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/instance/decorateTableCell.using..st deleted file mode 100644 index 10463cf..0000000 --- a/src/SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/instance/decorateTableCell.using..st +++ /dev/null @@ -1,10 +0,0 @@ -execution -decorateTableCell: anItemCellMorph using: aCommandActivator - anItemCellMorph - addExtraTool: - (IconicButton new - labelGraphic: (Smalltalk iconNamed: #smallWindow); - color: Color transparent; - borderColor: Color transparent; - target: self; - actionSelector: #execute) \ No newline at end of file diff --git a/src/SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/instance/description.st b/src/SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/instance/description.st deleted file mode 100644 index d639199..0000000 --- a/src/SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/instance/description.st +++ /dev/null @@ -1,3 +0,0 @@ -table decoration -description - ^'Open Tests Selection' \ No newline at end of file diff --git a/src/SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/instance/execute.st b/src/SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/instance/execute.st deleted file mode 100644 index d484d30..0000000 --- a/src/SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/instance/execute.st +++ /dev/null @@ -1,3 +0,0 @@ -execution -execute - critique openTestsWindowWith: critique tests \ No newline at end of file diff --git a/src/SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/properties.json b/src/SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/properties.json deleted file mode 100644 index a2f79b3..0000000 --- a/src/SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 4/26/2018 09:35", - "super" : "ClyCritiqueCommand", - "category" : "SmartTest-UI-CalypsoExtension", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "ClyOpenClassRelatedTestsCommand", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/README.md b/src/SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/README.md deleted file mode 100644 index 82da07e..0000000 --- a/src/SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/README.md +++ /dev/null @@ -1 +0,0 @@ -I represent the button that run the tests that SmartTest's found about a class \ No newline at end of file diff --git a/src/SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/instance/canBeExecutedInContext..st b/src/SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/instance/canBeExecutedInContext..st deleted file mode 100644 index 2b0126d..0000000 --- a/src/SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/instance/canBeExecutedInContext..st +++ /dev/null @@ -1,4 +0,0 @@ -execution -canBeExecutedInContext: aCriticContext - - ^ (self canBeExecutedInDropContext: aCriticContext) and: [ SmTRelativeTestsCritique subclasses includes: aCriticContext class ] \ No newline at end of file diff --git a/src/SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/instance/decorateTableCell.using..st b/src/SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/instance/decorateTableCell.using..st deleted file mode 100644 index ee0bd16..0000000 --- a/src/SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/instance/decorateTableCell.using..st +++ /dev/null @@ -1,8 +0,0 @@ -table decoration -decorateTableCell: anItemCellMorph using: aCommandActivator - - | button | - (self canBeExecutedInContext: critique) ifFalse: [ ^ self ]. - button := SmTIconFabric createIconForMethods: critique tests. - - self decorateTableCell: anItemCellMorph with: button \ No newline at end of file diff --git a/src/SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/instance/description.st b/src/SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/instance/description.st deleted file mode 100644 index 6eb7a29..0000000 --- a/src/SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/instance/description.st +++ /dev/null @@ -1,3 +0,0 @@ -table decoration -description - ^'Run tests' \ No newline at end of file diff --git a/src/SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/instance/execute.st b/src/SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/instance/execute.st deleted file mode 100644 index 13f1dfa..0000000 --- a/src/SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/instance/execute.st +++ /dev/null @@ -1,2 +0,0 @@ -execution -execute \ No newline at end of file diff --git a/src/SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/properties.json b/src/SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/properties.json deleted file mode 100644 index 9a2f2ac..0000000 --- a/src/SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 4/26/2018 09:36", - "super" : "ClyCritiqueCommand", - "category" : "SmartTest-UI-CalypsoExtension", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "ClyRunClassRelatedTestsCommand", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTAutoTestsWindows.class/README.md b/src/SmartTest-UI.package/SmTAutoTestsWindows.class/README.md deleted file mode 100644 index ffda2bb..0000000 --- a/src/SmartTest-UI.package/SmTAutoTestsWindows.class/README.md +++ /dev/null @@ -1 +0,0 @@ -The windows where we can select test \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTAutoTestsWindows.class/class/defaultSpec.st b/src/SmartTest-UI.package/SmTAutoTestsWindows.class/class/defaultSpec.st deleted file mode 100644 index 0ab6a3d..0000000 --- a/src/SmartTest-UI.package/SmTAutoTestsWindows.class/class/defaultSpec.st +++ /dev/null @@ -1,6 +0,0 @@ -specs -defaultSpec - ^ SpecLayout composed - newRow: [ :row | row add: #testList] top: 0 bottom: 0.2 ; - newRow: [ :row | row add: #button] top: 0.8 bottom: 0; - yourself \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/button.st b/src/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/button.st deleted file mode 100644 index cd4a51c..0000000 --- a/src/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/button.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -button - ^button - \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/extent.st b/src/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/extent.st deleted file mode 100644 index 2c67358..0000000 --- a/src/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/extent.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -extent - ^ 400 @ 200 \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/icons.st b/src/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/icons.st deleted file mode 100644 index 1a13cd5..0000000 --- a/src/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/icons.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -icons - ^icons ifNil: [ icons := OrderedCollection new ] - \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/initializePresenter.st b/src/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/initializePresenter.st deleted file mode 100644 index 0276c1f..0000000 --- a/src/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/initializePresenter.st +++ /dev/null @@ -1,7 +0,0 @@ -initialization -initializePresenter - "Currently useless" - - button - action: - [ testList listItems withIndexDo: [ :el :id | (self icons at: id) doButtonAction ] ] \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/initializeWidgets.st b/src/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/initializeWidgets.st deleted file mode 100644 index 3ae5210..0000000 --- a/src/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/initializeWidgets.st +++ /dev/null @@ -1,7 +0,0 @@ -initialization -initializeWidgets - testList := IconListModel new. - button := self newButton. - button label: 'Run all test'. - self focusOrder add: testList. - diff --git a/src/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/setList..st b/src/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/setList..st deleted file mode 100644 index 47c0d44..0000000 --- a/src/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/setList..st +++ /dev/null @@ -1,8 +0,0 @@ -accessing -setList: aTestList - ^ testList - items: aTestList; - icons: [ :testMethod | - | ib | - ib := SmTIconFabric createIconForMethod: testMethod. - self icons add: ib ] \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/testList.st b/src/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/testList.st deleted file mode 100644 index d44b749..0000000 --- a/src/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/testList.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -testList - ^testList - \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/title.st b/src/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/title.st deleted file mode 100644 index f7aa3c8..0000000 --- a/src/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/title.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -title - ^ 'AutoTest Selection'. \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTAutoTestsWindows.class/properties.json b/src/SmartTest-UI.package/SmTAutoTestsWindows.class/properties.json deleted file mode 100644 index 55798db..0000000 --- a/src/SmartTest-UI.package/SmTAutoTestsWindows.class/properties.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "commentStamp" : "BenoitVerhaeghe 6/28/2017 09:32", - "super" : "ComposableModel", - "category" : "SmartTest-UI-Morph", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "testList", - "button", - "icons" - ], - "name" : "SmTAutoTestsWindows", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTBigButtonCollector.class/README.md b/src/SmartTest-UI.package/SmTBigButtonCollector.class/README.md deleted file mode 100644 index 27e144b..0000000 --- a/src/SmartTest-UI.package/SmTBigButtonCollector.class/README.md +++ /dev/null @@ -1 +0,0 @@ -The collector used by the Listener to save all the relative test method \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTBigButtonCollector.class/class/activated..st b/src/SmartTest-UI.package/SmTBigButtonCollector.class/class/activated..st deleted file mode 100644 index 0a97ea8..0000000 --- a/src/SmartTest-UI.package/SmTBigButtonCollector.class/class/activated..st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -activated: aSelector - activated := aSelector. - bigButton activated: aSelector \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTBigButtonCollector.class/class/activated.st b/src/SmartTest-UI.package/SmTBigButtonCollector.class/class/activated.st deleted file mode 100644 index 14a1239..0000000 --- a/src/SmartTest-UI.package/SmTBigButtonCollector.class/class/activated.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -activated - ^ activated ifNil: [ activated := false ] \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTBigButtonCollector.class/class/bigButton.st b/src/SmartTest-UI.package/SmTBigButtonCollector.class/class/bigButton.st deleted file mode 100644 index 1073d44..0000000 --- a/src/SmartTest-UI.package/SmTBigButtonCollector.class/class/bigButton.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -bigButton - ^ bigButton \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTBigButtonCollector.class/class/initialize.st b/src/SmartTest-UI.package/SmTBigButtonCollector.class/class/initialize.st deleted file mode 100644 index c46aa53..0000000 --- a/src/SmartTest-UI.package/SmTBigButtonCollector.class/class/initialize.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -initialize - bigButton := self new \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTBigButtonCollector.class/class/reset.st b/src/SmartTest-UI.package/SmTBigButtonCollector.class/class/reset.st deleted file mode 100644 index 78115e3..0000000 --- a/src/SmartTest-UI.package/SmTBigButtonCollector.class/class/reset.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -reset - self bigButton collector: nil \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTBigButtonCollector.class/class/settingsOn..st b/src/SmartTest-UI.package/SmTBigButtonCollector.class/class/settingsOn..st deleted file mode 100644 index 56bcaff..0000000 --- a/src/SmartTest-UI.package/SmTBigButtonCollector.class/class/settingsOn..st +++ /dev/null @@ -1,23 +0,0 @@ -accessing -settingsOn: aBuilder - - (aBuilder setting: #activated) - parent: 'SmartTest'; - target: self; - order: 0.01; - label: 'SmartTest Collect Button'; - description: 'Toogle to activate/disable the Big Button'. - (aBuilder group: #reset) - label: 'Big Button Reset Cache'; - target: self; - parent: #SmartTest; - order: 8; - dialog: [ SimpleButtonMorph new - target: self; - label: 'Reset Collect Button Cache'; - actionSelector: #reset; - themeChanged; - yourself ]; - description: - 'Reset the cache of SmartTest - SmTTestFinderStrategy methodToTest' \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTBigButtonCollector.class/class/unload.st b/src/SmartTest-UI.package/SmTBigButtonCollector.class/class/unload.st deleted file mode 100644 index 01ad23e..0000000 --- a/src/SmartTest-UI.package/SmTBigButtonCollector.class/class/unload.st +++ /dev/null @@ -1,3 +0,0 @@ -initialize - release -unload - self activated: false \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/activated..st b/src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/activated..st deleted file mode 100644 index 9c4a8e3..0000000 --- a/src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/activated..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -activated: aSelector - aSelector ifTrue: [ self enable ] ifFalse: [ self disable ]. \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/changeColorFromTestResult..st b/src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/changeColorFromTestResult..st deleted file mode 100644 index 46b47cd..0000000 --- a/src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/changeColorFromTestResult..st +++ /dev/null @@ -1,9 +0,0 @@ -accessing -changeColorFromTestResult: aTestResult - morph buttonMorph color: Color gray. - aTestResult passedCount > 0 - ifTrue: [ morph buttonMorph color: Color green ]. - aTestResult hasFailures - ifTrue: [ morph buttonMorph color: Color yellow ]. - aTestResult hasErrors - ifTrue: [ morph buttonMorph color: Color red ]. \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/collector..st b/src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/collector..st deleted file mode 100644 index 8df7136..0000000 --- a/src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/collector..st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -collector: anObject - - collector := anObject \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/collector.st b/src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/collector.st deleted file mode 100644 index 230160c..0000000 --- a/src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/collector.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -collector - ^ collector ifNil: [ collector := Set new ] \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/disable.st b/src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/disable.st deleted file mode 100644 index 9b10bae..0000000 --- a/src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/disable.st +++ /dev/null @@ -1,5 +0,0 @@ -accessing -disable - "Do not receiver any system change notification anymore" - morph window isClosed ifFalse: [ morph window close] . - SystemAnnouncer uniqueInstance unsubscribe: self \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/enable.st b/src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/enable.st deleted file mode 100644 index a510777..0000000 --- a/src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/enable.st +++ /dev/null @@ -1,5 +0,0 @@ -accessing -enable - morph openWithSpec. - SystemAnnouncer uniqueInstance unsubscribe: self. - {(MethodModified -> #methodModified:)} do: [ :pair | SystemAnnouncer uniqueInstance weak when: pair key send: pair value to: self ]. diff --git a/src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/initialize.st b/src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/initialize.st deleted file mode 100644 index ff13486..0000000 --- a/src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/initialize.st +++ /dev/null @@ -1,5 +0,0 @@ -accessing -initialize - collector := Set new. - morph := SmTButtonResultWindow new. - morph controler: self. \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/methodModified..st b/src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/methodModified..st deleted file mode 100644 index a05c3e5..0000000 --- a/src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/methodModified..st +++ /dev/null @@ -1,8 +0,0 @@ -accessing -methodModified: anAnnouncement - - [| listOfTest | - listOfTest := SmTRules testFinder researchTestsForMethod: anAnnouncement newMethod. - self collector - addAll: listOfTest. - self updateUIAfterAddingMethod: listOfTest.] forkAt: 20 named: 'BigButton' \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/notify.st b/src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/notify.st deleted file mode 100644 index 711f318..0000000 --- a/src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/notify.st +++ /dev/null @@ -1,17 +0,0 @@ -accessing -notify - | aTestResult | - aTestResult := SmTRules runner - runCases: - (self collector - collect: - [ :aMethodReference | aMethodReference methodClass selector: aMethodReference selector ]). - self - collector: - (self collector - reject: [ :a | - ((TestResult historyAt: a methodClass) at: #passed) - includes: a selector ]). - self updateNumberOfTheProgressCircle. - self changeColorFromTestResult: aTestResult. - morph fillFailedTestListFromTestResult: aTestResult \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/updateList..st b/src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/updateList..st deleted file mode 100644 index d8a8411..0000000 --- a/src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/updateList..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -updateList: listOfTest - morph addToListTestsMethods: listOfTest \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/updateNumberOfTheProgressCircle.st b/src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/updateNumberOfTheProgressCircle.st deleted file mode 100644 index de0ab01..0000000 --- a/src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/updateNumberOfTheProgressCircle.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -updateNumberOfTheProgressCircle - morph buttonText acceptValue: self collector size asTwoCharacterString. - morph buttonMorph color: Color gray. \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/updateUIAfterAddingMethod..st b/src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/updateUIAfterAddingMethod..st deleted file mode 100644 index 5837a0c..0000000 --- a/src/SmartTest-UI.package/SmTBigButtonCollector.class/instance/updateUIAfterAddingMethod..st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -updateUIAfterAddingMethod: listOfTest - self updateNumberOfTheProgressCircle. - self updateList: listOfTest \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTBigButtonCollector.class/properties.json b/src/SmartTest-UI.package/SmTBigButtonCollector.class/properties.json deleted file mode 100644 index fa85a3a..0000000 --- a/src/SmartTest-UI.package/SmTBigButtonCollector.class/properties.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "commentStamp" : "BenoitVerhaeghe 8/11/2017 08:48", - "super" : "SmTCollector", - "category" : "SmartTest-UI-Collector", - "classinstvars" : [ - "activated", - "bigButton" - ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "morph", - "collector" - ], - "name" : "SmTBigButtonCollector", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTButtonResultWindow.class/README.md b/src/SmartTest-UI.package/SmTButtonResultWindow.class/README.md deleted file mode 100644 index f5dcc2a..0000000 --- a/src/SmartTest-UI.package/SmTButtonResultWindow.class/README.md +++ /dev/null @@ -1 +0,0 @@ -I show all the results in a window. \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTButtonResultWindow.class/class/defaultSpec.st b/src/SmartTest-UI.package/SmTButtonResultWindow.class/class/defaultSpec.st deleted file mode 100644 index b16d0dc..0000000 --- a/src/SmartTest-UI.package/SmTButtonResultWindow.class/class/defaultSpec.st +++ /dev/null @@ -1,6 +0,0 @@ -specs -defaultSpec - ^ SpecLayout composed - newColumn: [ :row | row add: #button ] left: 0 right: 0.6; - newColumn: [ :row | row add: #testList ] left: 0.4 right: 1; - yourself \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/addToListTestsMethods..st b/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/addToListTestsMethods..st deleted file mode 100644 index 607e58c..0000000 --- a/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/addToListTestsMethods..st +++ /dev/null @@ -1,7 +0,0 @@ -accessing -addToListTestsMethods: newTestMethod - | list | - list := testList listItems asOrderedCollection. - list := (list collect: [ :a | (a class lookupSelector: a selector) methodReference ]) asSet. - list addAll: newTestMethod. - self setList: ((list collect: [:methodReference | methodReference methodClass selector: methodReference selector]) asOrderedCollection sort: [ :a :b | a asString < b asString ] ) \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/button..st b/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/button..st deleted file mode 100644 index f917aa1..0000000 --- a/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/button..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -button: anObject - button := anObject \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/button.st b/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/button.st deleted file mode 100644 index d11dd9b..0000000 --- a/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/button.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -button - ^ button \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/buttonMorph.st b/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/buttonMorph.st deleted file mode 100644 index 08443b9..0000000 --- a/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/buttonMorph.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -buttonMorph - ^ button morph \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/buttonText..st b/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/buttonText..st deleted file mode 100644 index 96b2d79..0000000 --- a/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/buttonText..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -buttonText: anObject - buttonText := anObject \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/buttonText.st b/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/buttonText.st deleted file mode 100644 index 0bcf5c7..0000000 --- a/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/buttonText.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -buttonText - ^ buttonText \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/controler..st b/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/controler..st deleted file mode 100644 index 9d82fe1..0000000 --- a/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/controler..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -controler: anObject - self button morph controler: anObject \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/controler.st b/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/controler.st deleted file mode 100644 index d61b5dc..0000000 --- a/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/controler.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -controler - ^controler \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/extent.st b/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/extent.st deleted file mode 100644 index 90cd0d1..0000000 --- a/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/extent.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -extent - ^ 600 @ 300 \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/fillFailedTestListFromTestResult..st b/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/fillFailedTestListFromTestResult..st deleted file mode 100644 index 0c6237f..0000000 --- a/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/fillFailedTestListFromTestResult..st +++ /dev/null @@ -1,16 +0,0 @@ -accessing -fillFailedTestListFromTestResult: aTestResult - - | list list2 | - list := testList listItems asOrderedCollection. - list := list - reject: [ :a | ((TestResult historyAt: a class) at: #passed) includes: a selector ]. - list addAll: aTestResult errors. - list addAll: aTestResult failures. - list := (list collect: [ :a | (a class lookupSelector: a selector) methodReference ]) - asSet. - self - setList: - ((list - collect: [ :methodReference | methodReference methodClass selector: methodReference selector ]) - asOrderedCollection sort: [ :a :b | a asString < b asString ]) \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/icons..st b/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/icons..st deleted file mode 100644 index b35d0d7..0000000 --- a/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/icons..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -icons: anObject - icons := anObject \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/icons.st b/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/icons.st deleted file mode 100644 index 513b4d0..0000000 --- a/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/icons.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -icons - ^icons ifNil: [ icons := OrderedCollection new ] - \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/initializeWidgets.st b/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/initializeWidgets.st deleted file mode 100644 index b47da3c..0000000 --- a/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/initializeWidgets.st +++ /dev/null @@ -1,19 +0,0 @@ -accessing -initializeWidgets - testList := IconListModel new. - button := (SmTProgressCircle new - controler: self; - percentage: 100; - extent: 400@200; - color: Color gray) asSpecAdapter. - - buttonText := ('00' asStringMorph - font: (LogicalFont familyName: 'Source Sans Pro' pointSize: 50) emphasis: 2; - position: 60@60; - color: Color white; - yourself). - - self buttonMorph addMorphFront: buttonText. - - - self focusOrder add: testList. \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/setList..st b/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/setList..st deleted file mode 100644 index 4684852..0000000 --- a/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/setList..st +++ /dev/null @@ -1,8 +0,0 @@ -initialization -setList: aTestList - ^ testList - items: aTestList; - icons: [ :testMethod | - | ib | - ib := SmTIconFabric createIconForMethod: testMethod. - self icons add: ib ] \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/testList..st b/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/testList..st deleted file mode 100644 index ff6ed96..0000000 --- a/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/testList..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -testList: anObject - testList := anObject \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/testList.st b/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/testList.st deleted file mode 100644 index 62b6a13..0000000 --- a/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/testList.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -testList - ^ testList \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/title.st b/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/title.st deleted file mode 100644 index b4888f0..0000000 --- a/src/SmartTest-UI.package/SmTButtonResultWindow.class/instance/title.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -title - ^ 'Tests Results'. \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTButtonResultWindow.class/properties.json b/src/SmartTest-UI.package/SmTButtonResultWindow.class/properties.json deleted file mode 100644 index 5ce53c0..0000000 --- a/src/SmartTest-UI.package/SmTButtonResultWindow.class/properties.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/2/2018 10:22", - "super" : "ComposablePresenter", - "category" : "SmartTest-UI-Morph", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "testList", - "button", - "icons", - "controler", - "buttonText" - ], - "name" : "SmTButtonResultWindow", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTCollector.class/README.md b/src/SmartTest-UI.package/SmTCollector.class/README.md deleted file mode 100644 index e7a3ce5..0000000 --- a/src/SmartTest-UI.package/SmTCollector.class/README.md +++ /dev/null @@ -1 +0,0 @@ -This collector exists to describe all the ways the tests can be collected. \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTCollector.class/instance/addTestMethod..st b/src/SmartTest-UI.package/SmTCollector.class/instance/addTestMethod..st deleted file mode 100644 index 6a43f38..0000000 --- a/src/SmartTest-UI.package/SmTCollector.class/instance/addTestMethod..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -addTestMethod: aTestMethod - self collector add: aTestMethod \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTCollector.class/instance/addTestMethods..st b/src/SmartTest-UI.package/SmTCollector.class/instance/addTestMethods..st deleted file mode 100644 index 2a688e0..0000000 --- a/src/SmartTest-UI.package/SmTCollector.class/instance/addTestMethods..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -addTestMethods: aCollectionOfTestsMethod - self collector addAll: aCollectionOfTestsMethod \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTCollector.class/instance/collector.st b/src/SmartTest-UI.package/SmTCollector.class/instance/collector.st deleted file mode 100644 index c8efb37..0000000 --- a/src/SmartTest-UI.package/SmTCollector.class/instance/collector.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -collector - self subclassResponsibility \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTCollector.class/instance/flush.st b/src/SmartTest-UI.package/SmTCollector.class/instance/flush.st deleted file mode 100644 index f82172f..0000000 --- a/src/SmartTest-UI.package/SmTCollector.class/instance/flush.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -flush - self collector removeAll \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTCollector.class/properties.json b/src/SmartTest-UI.package/SmTCollector.class/properties.json deleted file mode 100644 index 272622f..0000000 --- a/src/SmartTest-UI.package/SmTCollector.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/3/2018 17:39", - "super" : "Object", - "category" : "SmartTest-UI-Collector", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTCollector", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTFivesMinutesCollector.class/README.md b/src/SmartTest-UI.package/SmTFivesMinutesCollector.class/README.md deleted file mode 100644 index 7df7474..0000000 --- a/src/SmartTest-UI.package/SmTFivesMinutesCollector.class/README.md +++ /dev/null @@ -1 +0,0 @@ -I collect all the tests and run it each 5 minutes \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTFivesMinutesCollector.class/class/addTestMethod..st b/src/SmartTest-UI.package/SmTFivesMinutesCollector.class/class/addTestMethod..st deleted file mode 100644 index 4f71515..0000000 --- a/src/SmartTest-UI.package/SmTFivesMinutesCollector.class/class/addTestMethod..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -addTestMethod: aTestMethod - self uniqueInstance addTestMethod: aTestMethod \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTFivesMinutesCollector.class/class/addTestMethods..st b/src/SmartTest-UI.package/SmTFivesMinutesCollector.class/class/addTestMethods..st deleted file mode 100644 index b979690..0000000 --- a/src/SmartTest-UI.package/SmTFivesMinutesCollector.class/class/addTestMethods..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -addTestMethods: aCollectionOfTestMethods - self uniqueInstance addTestMethods: aCollectionOfTestMethods \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTFivesMinutesCollector.class/class/start.st b/src/SmartTest-UI.package/SmTFivesMinutesCollector.class/class/start.st deleted file mode 100644 index 82e2d48..0000000 --- a/src/SmartTest-UI.package/SmTFivesMinutesCollector.class/class/start.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -start - self uniqueInstance start \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTFivesMinutesCollector.class/class/stop.st b/src/SmartTest-UI.package/SmTFivesMinutesCollector.class/class/stop.st deleted file mode 100644 index ea00ab6..0000000 --- a/src/SmartTest-UI.package/SmTFivesMinutesCollector.class/class/stop.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -stop - self uniqueInstance stop \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTFivesMinutesCollector.class/class/uniqueInstance.st b/src/SmartTest-UI.package/SmTFivesMinutesCollector.class/class/uniqueInstance.st deleted file mode 100644 index e866592..0000000 --- a/src/SmartTest-UI.package/SmTFivesMinutesCollector.class/class/uniqueInstance.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -uniqueInstance - ^UniqueInstance ifNil: [ UniqueInstance := self new] \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/collector.st b/src/SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/collector.st deleted file mode 100644 index 9a0d70b..0000000 --- a/src/SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/collector.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -collector - ^Collector ifNil: [ Collector := Set new. ] \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/process.st b/src/SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/process.st deleted file mode 100644 index 3d5387b..0000000 --- a/src/SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/process.st +++ /dev/null @@ -1,14 +0,0 @@ -accessing -process - ^ process - ifNil: [ process := [ [ true ] - whileTrue: [ (Delay forSeconds: 300) wait. - self collector - ifNotEmpty: [ | tempOrderedCollection | - tempOrderedCollection := OrderedCollection new. - tempOrderedCollection add: self collector . - ([ :aCollectionOfTest | - | tempResult | - tempResult := SmTRules runner runCases: aCollectionOfTest. - self showResult: tempResult ] newProcessWith: tempOrderedCollection) resume. - self reset ] ] ] newProcess ] \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/reset.st b/src/SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/reset.st deleted file mode 100644 index 7cd4a7f..0000000 --- a/src/SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/reset.st +++ /dev/null @@ -1,3 +0,0 @@ -action -reset - Collector := nil. \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/showResult..st b/src/SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/showResult..st deleted file mode 100644 index d69037e..0000000 --- a/src/SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/showResult..st +++ /dev/null @@ -1,9 +0,0 @@ -UI specific -showResult: aTestResult - | ui | - - (aTestResult hasErrors or: aTestResult hasFailures) - ifFalse: [ ^ self ]. - ui := SmTAutoTestsWindows new. - ui setList: aTestResult tests. - ui openWithSpec. diff --git a/src/SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/start.st b/src/SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/start.st deleted file mode 100644 index e87cda5..0000000 --- a/src/SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/start.st +++ /dev/null @@ -1,3 +0,0 @@ -action -start - self process resume. \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/stop.st b/src/SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/stop.st deleted file mode 100644 index 3860d87..0000000 --- a/src/SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/stop.st +++ /dev/null @@ -1,3 +0,0 @@ -action -stop - self process suspend \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTFivesMinutesCollector.class/properties.json b/src/SmartTest-UI.package/SmTFivesMinutesCollector.class/properties.json deleted file mode 100644 index d851b41..0000000 --- a/src/SmartTest-UI.package/SmTFivesMinutesCollector.class/properties.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "commentStamp" : "BenoitVerhaeghe 6/28/2017 16:19", - "super" : "SmTCollector", - "category" : "SmartTest-UI-Collector", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ - "Collector", - "UniqueInstance" - ], - "instvars" : [ - "process" - ], - "name" : "SmTFivesMinutesCollector", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTIconFabric.class/README.md b/src/SmartTest-UI.package/SmTIconFabric.class/README.md deleted file mode 100644 index 4be13b3..0000000 --- a/src/SmartTest-UI.package/SmTIconFabric.class/README.md +++ /dev/null @@ -1 +0,0 @@ -I'm a tool which create the icons \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTIconFabric.class/class/createIconForMethod..st b/src/SmartTest-UI.package/SmTIconFabric.class/class/createIconForMethod..st deleted file mode 100644 index 82c9a48..0000000 --- a/src/SmartTest-UI.package/SmTIconFabric.class/class/createIconForMethod..st +++ /dev/null @@ -1,17 +0,0 @@ -creation -createIconForMethod: testMethod - | ib | - ib := IconicButton new. - ib - target: SmTRules runner; - actionSelector: #runCase:notifyIcon:; - arguments: - {testMethod. - ib}; - labelGraphic: - (self - iconNamed: (SmTRules runner iconForTestFromTestCaseHistory: testMethod)); - color: Color transparent; - borderColor: Color transparent; - helpText: 'Run the test'. - ^ ib \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTIconFabric.class/class/createIconForMethods..st b/src/SmartTest-UI.package/SmTIconFabric.class/class/createIconForMethods..st deleted file mode 100644 index a1de49e..0000000 --- a/src/SmartTest-UI.package/SmTIconFabric.class/class/createIconForMethods..st +++ /dev/null @@ -1,17 +0,0 @@ -creation -createIconForMethods: aTestCollection - | ib | - ib := IconicButton new. - ib - target: SmTRules runner; - actionSelector: #runCases:notifyIcon:; - arguments: - {aTestCollection. - ib}; - labelGraphic: - (self - iconNamed: (SmTRules runner iconForTestFromTestsCasesHistory: aTestCollection)); - color: Color transparent; - borderColor: Color transparent; - helpText: 'Run the test'. - ^ ib \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTIconFabric.class/properties.json b/src/SmartTest-UI.package/SmTIconFabric.class/properties.json deleted file mode 100644 index ff9dd74..0000000 --- a/src/SmartTest-UI.package/SmTIconFabric.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "BenoitVerhaeghe 6/28/2017 15:45", - "super" : "Object", - "category" : "SmartTest-UI-Tools", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTIconFabric", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTProgressCircle.class/README.md b/src/SmartTest-UI.package/SmTProgressCircle.class/README.md deleted file mode 100644 index b1af462..0000000 --- a/src/SmartTest-UI.package/SmTProgressCircle.class/README.md +++ /dev/null @@ -1,15 +0,0 @@ -pc := ProgressCircle new color: Color blue. -pc extent: 500@500. -pc percentage: 0.3. -pc position: pc topRight. -pc openInWorld. - -mes := MorphEventSubscription new - recipient: CORAEventRecipient new; - selector: #hello. - -meh := MorphicEventHandler new - addSubscription: mes toEvent: #click. - -pc eventHandler: meh. - diff --git a/src/SmartTest-UI.package/SmTProgressCircle.class/instance/controler..st b/src/SmartTest-UI.package/SmTProgressCircle.class/instance/controler..st deleted file mode 100644 index 680d164..0000000 --- a/src/SmartTest-UI.package/SmTProgressCircle.class/instance/controler..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -controler: anObject - controler := anObject \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTProgressCircle.class/instance/drawOn..st b/src/SmartTest-UI.package/SmTProgressCircle.class/instance/drawOn..st deleted file mode 100644 index 934e855..0000000 --- a/src/SmartTest-UI.package/SmTProgressCircle.class/instance/drawOn..st +++ /dev/null @@ -1,8 +0,0 @@ -drawing -drawOn: aCanvas - aCanvas - fillOval: bounds - fillStyle: self fillStyle - withPercentage: self percentage - borderWidth: borderWidth - borderColor: borderColor \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTProgressCircle.class/instance/handlesMouseDown..st b/src/SmartTest-UI.package/SmTProgressCircle.class/instance/handlesMouseDown..st deleted file mode 100644 index b306a99..0000000 --- a/src/SmartTest-UI.package/SmTProgressCircle.class/instance/handlesMouseDown..st +++ /dev/null @@ -1,3 +0,0 @@ -drawing -handlesMouseDown: anEvent - ^ true \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTProgressCircle.class/instance/mouseDown..st b/src/SmartTest-UI.package/SmTProgressCircle.class/instance/mouseDown..st deleted file mode 100644 index 215005f..0000000 --- a/src/SmartTest-UI.package/SmTProgressCircle.class/instance/mouseDown..st +++ /dev/null @@ -1,4 +0,0 @@ -drawing -mouseDown: anEvent - controler notify - \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTProgressCircle.class/instance/percentage..st b/src/SmartTest-UI.package/SmTProgressCircle.class/instance/percentage..st deleted file mode 100644 index 585cc6f..0000000 --- a/src/SmartTest-UI.package/SmTProgressCircle.class/instance/percentage..st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -percentage: anObject - percentage := anObject. - self changed \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTProgressCircle.class/instance/percentage.st b/src/SmartTest-UI.package/SmTProgressCircle.class/instance/percentage.st deleted file mode 100644 index 4e4eb07..0000000 --- a/src/SmartTest-UI.package/SmTProgressCircle.class/instance/percentage.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -percentage - ^ percentage \ No newline at end of file diff --git a/src/SmartTest-UI.package/SmTProgressCircle.class/properties.json b/src/SmartTest-UI.package/SmTProgressCircle.class/properties.json deleted file mode 100644 index b54f264..0000000 --- a/src/SmartTest-UI.package/SmTProgressCircle.class/properties.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "commentStamp" : "BenoitVerhaeghe 7/18/2017 10:40", - "super" : "CircleMorph", - "category" : "SmartTest-UI-Collector", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "percentage", - "controler" - ], - "name" : "SmTProgressCircle", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest-UI.package/monticello.meta/categories.st b/src/SmartTest-UI.package/monticello.meta/categories.st deleted file mode 100644 index 353c91a..0000000 --- a/src/SmartTest-UI.package/monticello.meta/categories.st +++ /dev/null @@ -1,5 +0,0 @@ -SystemOrganization addCategory: #'SmartTest-UI'! -SystemOrganization addCategory: #'SmartTest-UI-CalypsoExtension'! -SystemOrganization addCategory: #'SmartTest-UI-Collector'! -SystemOrganization addCategory: #'SmartTest-UI-Morph'! -SystemOrganization addCategory: #'SmartTest-UI-Tools'! diff --git a/src/SmartTest-UI.package/monticello.meta/initializers.st b/src/SmartTest-UI.package/monticello.meta/initializers.st deleted file mode 100644 index e69de29..0000000 diff --git a/src/SmartTest-UI.package/monticello.meta/package b/src/SmartTest-UI.package/monticello.meta/package deleted file mode 100644 index e49594a..0000000 --- a/src/SmartTest-UI.package/monticello.meta/package +++ /dev/null @@ -1 +0,0 @@ -(name 'SmartTest-UI') \ No newline at end of file diff --git a/src/SmartTest-UI.package/properties.json b/src/SmartTest-UI.package/properties.json deleted file mode 100644 index 6f31cf5..0000000 --- a/src/SmartTest-UI.package/properties.json +++ /dev/null @@ -1 +0,0 @@ -{ } \ No newline at end of file diff --git a/src/SmartTest-UI/ClyOpenClassRelatedTestsCommand.class.st b/src/SmartTest-UI/ClyOpenClassRelatedTestsCommand.class.st new file mode 100644 index 0000000..2eb1422 --- /dev/null +++ b/src/SmartTest-UI/ClyOpenClassRelatedTestsCommand.class.st @@ -0,0 +1,35 @@ +" +I represent the button that open details of tests you should run from SmartTest (for a class) +" +Class { + #name : #ClyOpenClassRelatedTestsCommand, + #superclass : #ClyCritiqueCommand, + #category : 'SmartTest-UI-CalypsoExtension' +} + +{ #category : #testing } +ClyOpenClassRelatedTestsCommand class >> canBeExecutedInContext: aCriticContext [ + ^ SmTRelativeTestsCritique subclasses includes: aCriticContext selectedCritique class +] + +{ #category : #execution } +ClyOpenClassRelatedTestsCommand >> decorateTableCell: anItemCellMorph using: aCommandActivator [ + anItemCellMorph + addExtraTool: + (IconicButton new + labelGraphic: (Smalltalk iconNamed: #smallWindow); + color: Color transparent; + borderColor: Color transparent; + target: self; + actionSelector: #execute) +] + +{ #category : #'table decoration' } +ClyOpenClassRelatedTestsCommand >> description [ + ^'Open Tests Selection' +] + +{ #category : #execution } +ClyOpenClassRelatedTestsCommand >> execute [ + critique openTestsWindowWith: critique tests +] diff --git a/src/SmartTest-UI/ClyRunClassRelatedTestsCommand.class.st b/src/SmartTest-UI/ClyRunClassRelatedTestsCommand.class.st new file mode 100644 index 0000000..0f267d1 --- /dev/null +++ b/src/SmartTest-UI/ClyRunClassRelatedTestsCommand.class.st @@ -0,0 +1,33 @@ +" +I represent the button that run the tests that SmartTest's found about a class +" +Class { + #name : #ClyRunClassRelatedTestsCommand, + #superclass : #ClyCritiqueCommand, + #category : 'SmartTest-UI-CalypsoExtension' +} + +{ #category : #execution } +ClyRunClassRelatedTestsCommand >> canBeExecutedInContext: aCriticContext [ + + ^ (self canBeExecutedInDropContext: aCriticContext) and: [ SmTRelativeTestsCritique subclasses includes: aCriticContext class ] +] + +{ #category : #'table decoration' } +ClyRunClassRelatedTestsCommand >> decorateTableCell: anItemCellMorph using: aCommandActivator [ + + | button | + (self canBeExecutedInContext: critique) ifFalse: [ ^ self ]. + button := SmTIconFabric createIconForMethods: critique tests. + + self decorateTableCell: anItemCellMorph with: button +] + +{ #category : #'table decoration' } +ClyRunClassRelatedTestsCommand >> description [ + ^'Run tests' +] + +{ #category : #execution } +ClyRunClassRelatedTestsCommand >> execute [ +] diff --git a/src/SmartTest-UI/SmTAutoTestsWindows.class.st b/src/SmartTest-UI/SmTAutoTestsWindows.class.st new file mode 100644 index 0000000..97e792a --- /dev/null +++ b/src/SmartTest-UI/SmTAutoTestsWindows.class.st @@ -0,0 +1,78 @@ +" +The windows where we can select test +" +Class { + #name : #SmTAutoTestsWindows, + #superclass : #ComposableModel, + #instVars : [ + 'testList', + 'button', + 'icons' + ], + #category : 'SmartTest-UI-Morph' +} + +{ #category : #specs } +SmTAutoTestsWindows class >> defaultSpec [ + ^ SpecLayout composed + newRow: [ :row | row add: #testList] top: 0 bottom: 0.2 ; + newRow: [ :row | row add: #button] top: 0.8 bottom: 0; + yourself +] + +{ #category : #accessing } +SmTAutoTestsWindows >> button [ + ^button + +] + +{ #category : #accessing } +SmTAutoTestsWindows >> extent [ + ^ 400 @ 200 +] + +{ #category : #accessing } +SmTAutoTestsWindows >> icons [ + ^icons ifNil: [ icons := OrderedCollection new ] + +] + +{ #category : #initialization } +SmTAutoTestsWindows >> initializePresenter [ + "Currently useless" + + button + action: + [ testList listItems withIndexDo: [ :el :id | (self icons at: id) doButtonAction ] ] +] + +{ #category : #initialization } +SmTAutoTestsWindows >> initializeWidgets [ + testList := IconListModel new. + button := self newButton. + button label: 'Run all test'. + self focusOrder add: testList. + + +] + +{ #category : #accessing } +SmTAutoTestsWindows >> setList: aTestList [ + ^ testList + items: aTestList; + icons: [ :testMethod | + | ib | + ib := SmTIconFabric createIconForMethod: testMethod. + self icons add: ib ] +] + +{ #category : #accessing } +SmTAutoTestsWindows >> testList [ + ^testList + +] + +{ #category : #accessing } +SmTAutoTestsWindows >> title [ + ^ 'AutoTest Selection'. +] diff --git a/src/SmartTest-UI/SmTBigButtonCollector.class.st b/src/SmartTest-UI/SmTBigButtonCollector.class.st new file mode 100644 index 0000000..0883232 --- /dev/null +++ b/src/SmartTest-UI/SmTBigButtonCollector.class.st @@ -0,0 +1,167 @@ +" +The collector used by the Listener to save all the relative test method +" +Class { + #name : #SmTBigButtonCollector, + #superclass : #SmTCollector, + #instVars : [ + 'morph', + 'collector' + ], + #classInstVars : [ + 'activated', + 'bigButton' + ], + #category : 'SmartTest-UI-Collector' +} + +{ #category : #accessing } +SmTBigButtonCollector class >> activated [ + ^ activated ifNil: [ activated := false ] +] + +{ #category : #accessing } +SmTBigButtonCollector class >> activated: aSelector [ + activated := aSelector. + bigButton activated: aSelector +] + +{ #category : #accessing } +SmTBigButtonCollector class >> bigButton [ + ^ bigButton +] + +{ #category : #accessing } +SmTBigButtonCollector class >> initialize [ + bigButton := self new +] + +{ #category : #accessing } +SmTBigButtonCollector class >> reset [ + self bigButton collector: nil +] + +{ #category : #accessing } +SmTBigButtonCollector class >> settingsOn: aBuilder [ + + (aBuilder setting: #activated) + parent: 'SmartTest'; + target: self; + order: 0.01; + label: 'SmartTest Collect Button'; + description: 'Toogle to activate/disable the Big Button'. + (aBuilder group: #reset) + label: 'Big Button Reset Cache'; + target: self; + parent: #SmartTest; + order: 8; + dialog: [ SimpleButtonMorph new + target: self; + label: 'Reset Collect Button Cache'; + actionSelector: #reset; + themeChanged; + yourself ]; + description: + 'Reset the cache of SmartTest + SmTTestFinderStrategy methodToTest' +] + +{ #category : #'initialize - release' } +SmTBigButtonCollector class >> unload [ + self activated: false +] + +{ #category : #accessing } +SmTBigButtonCollector >> activated: aSelector [ + aSelector ifTrue: [ self enable ] ifFalse: [ self disable ]. +] + +{ #category : #accessing } +SmTBigButtonCollector >> changeColorFromTestResult: aTestResult [ + morph buttonMorph color: Color gray. + aTestResult passedCount > 0 + ifTrue: [ morph buttonMorph color: Color green ]. + aTestResult hasFailures + ifTrue: [ morph buttonMorph color: Color yellow ]. + aTestResult hasErrors + ifTrue: [ morph buttonMorph color: Color red ]. +] + +{ #category : #accessing } +SmTBigButtonCollector >> collector [ + ^ collector ifNil: [ collector := Set new ] +] + +{ #category : #accessing } +SmTBigButtonCollector >> collector: anObject [ + + collector := anObject +] + +{ #category : #accessing } +SmTBigButtonCollector >> disable [ + "Do not receiver any system change notification anymore" + morph window isClosed ifFalse: [ morph window close] . + SystemAnnouncer uniqueInstance unsubscribe: self +] + +{ #category : #accessing } +SmTBigButtonCollector >> enable [ + morph openWithSpec. + SystemAnnouncer uniqueInstance unsubscribe: self. + {(MethodModified -> #methodModified:)} do: [ :pair | SystemAnnouncer uniqueInstance weak when: pair key send: pair value to: self ]. + +] + +{ #category : #accessing } +SmTBigButtonCollector >> initialize [ + collector := Set new. + morph := SmTButtonResultWindow new. + morph controler: self. +] + +{ #category : #accessing } +SmTBigButtonCollector >> methodModified: anAnnouncement [ + + [| listOfTest | + listOfTest := SmTRules testFinder researchTestsForMethod: anAnnouncement newMethod. + self collector + addAll: listOfTest. + self updateUIAfterAddingMethod: listOfTest.] forkAt: 20 named: 'BigButton' +] + +{ #category : #accessing } +SmTBigButtonCollector >> notify [ + | aTestResult | + aTestResult := SmTRules runner + runCases: + (self collector + collect: + [ :aMethodReference | aMethodReference methodClass selector: aMethodReference selector ]). + self + collector: + (self collector + reject: [ :a | + ((TestResult historyAt: a methodClass) at: #passed) + includes: a selector ]). + self updateNumberOfTheProgressCircle. + self changeColorFromTestResult: aTestResult. + morph fillFailedTestListFromTestResult: aTestResult +] + +{ #category : #accessing } +SmTBigButtonCollector >> updateList: listOfTest [ + morph addToListTestsMethods: listOfTest +] + +{ #category : #accessing } +SmTBigButtonCollector >> updateNumberOfTheProgressCircle [ + morph buttonText acceptValue: self collector size asTwoCharacterString. + morph buttonMorph color: Color gray. +] + +{ #category : #accessing } +SmTBigButtonCollector >> updateUIAfterAddingMethod: listOfTest [ + self updateNumberOfTheProgressCircle. + self updateList: listOfTest +] diff --git a/src/SmartTest-UI/SmTButtonResultWindow.class.st b/src/SmartTest-UI/SmTButtonResultWindow.class.st new file mode 100644 index 0000000..e52945e --- /dev/null +++ b/src/SmartTest-UI/SmTButtonResultWindow.class.st @@ -0,0 +1,147 @@ +" +I show all the results in a window. +" +Class { + #name : #SmTButtonResultWindow, + #superclass : #ComposablePresenter, + #instVars : [ + 'testList', + 'button', + 'icons', + 'controler', + 'buttonText' + ], + #category : 'SmartTest-UI-Morph' +} + +{ #category : #specs } +SmTButtonResultWindow class >> defaultSpec [ + ^ SpecLayout composed + newColumn: [ :row | row add: #button ] left: 0 right: 0.6; + newColumn: [ :row | row add: #testList ] left: 0.4 right: 1; + yourself +] + +{ #category : #accessing } +SmTButtonResultWindow >> addToListTestsMethods: newTestMethod [ + | list | + list := testList listItems asOrderedCollection. + list := (list collect: [ :a | (a class lookupSelector: a selector) methodReference ]) asSet. + list addAll: newTestMethod. + self setList: ((list collect: [:methodReference | methodReference methodClass selector: methodReference selector]) asOrderedCollection sort: [ :a :b | a asString < b asString ] ) +] + +{ #category : #accessing } +SmTButtonResultWindow >> button [ + ^ button +] + +{ #category : #accessing } +SmTButtonResultWindow >> button: anObject [ + button := anObject +] + +{ #category : #accessing } +SmTButtonResultWindow >> buttonMorph [ + ^ button morph +] + +{ #category : #accessing } +SmTButtonResultWindow >> buttonText [ + ^ buttonText +] + +{ #category : #accessing } +SmTButtonResultWindow >> buttonText: anObject [ + buttonText := anObject +] + +{ #category : #accessing } +SmTButtonResultWindow >> controler [ + ^controler +] + +{ #category : #accessing } +SmTButtonResultWindow >> controler: anObject [ + self button morph controler: anObject +] + +{ #category : #accessing } +SmTButtonResultWindow >> extent [ + ^ 600 @ 300 +] + +{ #category : #accessing } +SmTButtonResultWindow >> fillFailedTestListFromTestResult: aTestResult [ + + | list list2 | + list := testList listItems asOrderedCollection. + list := list + reject: [ :a | ((TestResult historyAt: a class) at: #passed) includes: a selector ]. + list addAll: aTestResult errors. + list addAll: aTestResult failures. + list := (list collect: [ :a | (a class lookupSelector: a selector) methodReference ]) + asSet. + self + setList: + ((list + collect: [ :methodReference | methodReference methodClass selector: methodReference selector ]) + asOrderedCollection sort: [ :a :b | a asString < b asString ]) +] + +{ #category : #accessing } +SmTButtonResultWindow >> icons [ + ^icons ifNil: [ icons := OrderedCollection new ] + +] + +{ #category : #accessing } +SmTButtonResultWindow >> icons: anObject [ + icons := anObject +] + +{ #category : #accessing } +SmTButtonResultWindow >> initializeWidgets [ + testList := IconListModel new. + button := (SmTProgressCircle new + controler: self; + percentage: 100; + extent: 400@200; + color: Color gray) asSpecAdapter. + + buttonText := ('00' asStringMorph + font: (LogicalFont familyName: 'Source Sans Pro' pointSize: 50) emphasis: 2; + position: 60@60; + color: Color white; + yourself). + + self buttonMorph addMorphFront: buttonText. + + + self focusOrder add: testList. +] + +{ #category : #initialization } +SmTButtonResultWindow >> setList: aTestList [ + ^ testList + items: aTestList; + icons: [ :testMethod | + | ib | + ib := SmTIconFabric createIconForMethod: testMethod. + self icons add: ib ] +] + +{ #category : #accessing } +SmTButtonResultWindow >> testList [ + ^ testList +] + +{ #category : #accessing } +SmTButtonResultWindow >> testList: anObject [ + testList := anObject +] + +{ #category : #accessing } +SmTButtonResultWindow >> title [ + ^ 'Tests Results'. +] diff --git a/src/SmartTest-UI/SmTCollector.class.st b/src/SmartTest-UI/SmTCollector.class.st new file mode 100644 index 0000000..c455567 --- /dev/null +++ b/src/SmartTest-UI/SmTCollector.class.st @@ -0,0 +1,28 @@ +" +This collector exists to describe all the ways the tests can be collected. +" +Class { + #name : #SmTCollector, + #superclass : #Object, + #category : 'SmartTest-UI-Collector' +} + +{ #category : #accessing } +SmTCollector >> addTestMethod: aTestMethod [ + self collector add: aTestMethod +] + +{ #category : #accessing } +SmTCollector >> addTestMethods: aCollectionOfTestsMethod [ + self collector addAll: aCollectionOfTestsMethod +] + +{ #category : #accessing } +SmTCollector >> collector [ + self subclassResponsibility +] + +{ #category : #accessing } +SmTCollector >> flush [ + self collector removeAll +] diff --git a/src/SmartTest-UI/SmTFivesMinutesCollector.class.st b/src/SmartTest-UI/SmTFivesMinutesCollector.class.st new file mode 100644 index 0000000..e1c4637 --- /dev/null +++ b/src/SmartTest-UI/SmTFivesMinutesCollector.class.st @@ -0,0 +1,88 @@ +" +I collect all the tests and run it each 5 minutes +" +Class { + #name : #SmTFivesMinutesCollector, + #superclass : #SmTCollector, + #instVars : [ + 'process' + ], + #classVars : [ + 'Collector', + 'UniqueInstance' + ], + #category : 'SmartTest-UI-Collector' +} + +{ #category : #accessing } +SmTFivesMinutesCollector class >> addTestMethod: aTestMethod [ + self uniqueInstance addTestMethod: aTestMethod +] + +{ #category : #accessing } +SmTFivesMinutesCollector class >> addTestMethods: aCollectionOfTestMethods [ + self uniqueInstance addTestMethods: aCollectionOfTestMethods +] + +{ #category : #accessing } +SmTFivesMinutesCollector class >> start [ + self uniqueInstance start +] + +{ #category : #accessing } +SmTFivesMinutesCollector class >> stop [ + self uniqueInstance stop +] + +{ #category : #accessing } +SmTFivesMinutesCollector class >> uniqueInstance [ + ^UniqueInstance ifNil: [ UniqueInstance := self new] +] + +{ #category : #accessing } +SmTFivesMinutesCollector >> collector [ + ^Collector ifNil: [ Collector := Set new. ] +] + +{ #category : #accessing } +SmTFivesMinutesCollector >> process [ + ^ process + ifNil: [ process := [ [ true ] + whileTrue: [ (Delay forSeconds: 300) wait. + self collector + ifNotEmpty: [ | tempOrderedCollection | + tempOrderedCollection := OrderedCollection new. + tempOrderedCollection add: self collector . + ([ :aCollectionOfTest | + | tempResult | + tempResult := SmTRules runner runCases: aCollectionOfTest. + self showResult: tempResult ] newProcessWith: tempOrderedCollection) resume. + self reset ] ] ] newProcess ] +] + +{ #category : #action } +SmTFivesMinutesCollector >> reset [ + Collector := nil. +] + +{ #category : #'UI specific' } +SmTFivesMinutesCollector >> showResult: aTestResult [ + | ui | + + (aTestResult hasErrors or: aTestResult hasFailures) + ifFalse: [ ^ self ]. + ui := SmTAutoTestsWindows new. + ui setList: aTestResult tests. + ui openWithSpec. + +] + +{ #category : #action } +SmTFivesMinutesCollector >> start [ + self process resume. +] + +{ #category : #action } +SmTFivesMinutesCollector >> stop [ + self process suspend +] diff --git a/src/SmartTest-UI/SmTIconFabric.class.st b/src/SmartTest-UI/SmTIconFabric.class.st new file mode 100644 index 0000000..ba0e03f --- /dev/null +++ b/src/SmartTest-UI/SmTIconFabric.class.st @@ -0,0 +1,46 @@ +" +I'm a tool which create the icons +" +Class { + #name : #SmTIconFabric, + #superclass : #Object, + #category : 'SmartTest-UI-Tools' +} + +{ #category : #creation } +SmTIconFabric class >> createIconForMethod: testMethod [ + | ib | + ib := IconicButton new. + ib + target: SmTRules runner; + actionSelector: #runCase:notifyIcon:; + arguments: + {testMethod. + ib}; + labelGraphic: + (self + iconNamed: (SmTRules runner iconForTestFromTestCaseHistory: testMethod)); + color: Color transparent; + borderColor: Color transparent; + helpText: 'Run the test'. + ^ ib +] + +{ #category : #creation } +SmTIconFabric class >> createIconForMethods: aTestCollection [ + | ib | + ib := IconicButton new. + ib + target: SmTRules runner; + actionSelector: #runCases:notifyIcon:; + arguments: + {aTestCollection. + ib}; + labelGraphic: + (self + iconNamed: (SmTRules runner iconForTestFromTestsCasesHistory: aTestCollection)); + color: Color transparent; + borderColor: Color transparent; + helpText: 'Run the test'. + ^ ib +] diff --git a/src/SmartTest-UI/SmTProgressCircle.class.st b/src/SmartTest-UI/SmTProgressCircle.class.st new file mode 100644 index 0000000..8f3b47a --- /dev/null +++ b/src/SmartTest-UI/SmTProgressCircle.class.st @@ -0,0 +1,64 @@ +" +pc := ProgressCircle new color: Color blue. +pc extent: 500@500. +pc percentage: 0.3. +pc position: pc topRight. +pc openInWorld. + +mes := MorphEventSubscription new + recipient: CORAEventRecipient new; + selector: #hello. + +meh := MorphicEventHandler new + addSubscription: mes toEvent: #click. + +pc eventHandler: meh. + + +" +Class { + #name : #SmTProgressCircle, + #superclass : #CircleMorph, + #instVars : [ + 'percentage', + 'controler' + ], + #category : 'SmartTest-UI-Collector' +} + +{ #category : #accessing } +SmTProgressCircle >> controler: anObject [ + controler := anObject +] + +{ #category : #drawing } +SmTProgressCircle >> drawOn: aCanvas [ + aCanvas + fillOval: bounds + fillStyle: self fillStyle + withPercentage: self percentage + borderWidth: borderWidth + borderColor: borderColor +] + +{ #category : #drawing } +SmTProgressCircle >> handlesMouseDown: anEvent [ + ^ true +] + +{ #category : #drawing } +SmTProgressCircle >> mouseDown: anEvent [ + controler notify + +] + +{ #category : #accessing } +SmTProgressCircle >> percentage [ + ^ percentage +] + +{ #category : #accessing } +SmTProgressCircle >> percentage: anObject [ + percentage := anObject. + self changed +] diff --git a/src/SmartTest-UI/package.st b/src/SmartTest-UI/package.st new file mode 100644 index 0000000..a6344c0 --- /dev/null +++ b/src/SmartTest-UI/package.st @@ -0,0 +1 @@ +Package { #name : #'SmartTest-UI' } diff --git a/src/SmartTest.package/.filetree b/src/SmartTest.package/.filetree deleted file mode 100644 index 57a6797..0000000 --- a/src/SmartTest.package/.filetree +++ /dev/null @@ -1,5 +0,0 @@ -{ - "separateMethodMetaAndSource" : false, - "noMethodMetaData" : true, - "useCypressPropertiesFile" : true -} \ No newline at end of file diff --git a/src/SmartTest.package/ASTCacheResetTest.extension/properties.json b/src/SmartTest.package/ASTCacheResetTest.extension/properties.json deleted file mode 100644 index c232b20..0000000 --- a/src/SmartTest.package/ASTCacheResetTest.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "ASTCacheResetTest" -} \ No newline at end of file diff --git a/src/SmartTest.package/CompiledMethod.extension/instance/asTestCase.st b/src/SmartTest.package/CompiledMethod.extension/instance/asTestCase.st deleted file mode 100644 index c8d97c0..0000000 --- a/src/SmartTest.package/CompiledMethod.extension/instance/asTestCase.st +++ /dev/null @@ -1,3 +0,0 @@ -*SmartTest -asTestCase - ^ self methodClass selector: self selector \ No newline at end of file diff --git a/src/SmartTest.package/CompiledMethod.extension/instance/belongsToTestCase.st b/src/SmartTest.package/CompiledMethod.extension/instance/belongsToTestCase.st deleted file mode 100644 index 62e0c35..0000000 --- a/src/SmartTest.package/CompiledMethod.extension/instance/belongsToTestCase.st +++ /dev/null @@ -1,3 +0,0 @@ -*SmartTest -belongsToTestCase - ^ self methodClass isKindOf: TestCase class. \ No newline at end of file diff --git a/src/SmartTest.package/CompiledMethod.extension/instance/isTestMethod.st b/src/SmartTest.package/CompiledMethod.extension/instance/isTestMethod.st deleted file mode 100644 index 37b8411..0000000 --- a/src/SmartTest.package/CompiledMethod.extension/instance/isTestMethod.st +++ /dev/null @@ -1,4 +0,0 @@ -*SmartTest -isTestMethod - ^ self belongsToTestCase - and: [ self methodClass allTestSelectors includes: self selector]. \ No newline at end of file diff --git a/src/SmartTest.package/CompiledMethod.extension/instance/isTestSetUpMethod.st b/src/SmartTest.package/CompiledMethod.extension/instance/isTestSetUpMethod.st deleted file mode 100644 index ac12504..0000000 --- a/src/SmartTest.package/CompiledMethod.extension/instance/isTestSetUpMethod.st +++ /dev/null @@ -1,4 +0,0 @@ -*SmartTest -isTestSetUpMethod - ^ (self selector = #setUp) - and: [self belongsToTestCase]. \ No newline at end of file diff --git a/src/SmartTest.package/CompiledMethod.extension/instance/isTestTearDownMethod.st b/src/SmartTest.package/CompiledMethod.extension/instance/isTestTearDownMethod.st deleted file mode 100644 index 39ad64e..0000000 --- a/src/SmartTest.package/CompiledMethod.extension/instance/isTestTearDownMethod.st +++ /dev/null @@ -1,4 +0,0 @@ -*SmartTest -isTestTearDownMethod - ^ (self selector = #tearDown) - and:[self belongsToTestCase]. \ No newline at end of file diff --git a/src/SmartTest.package/CompiledMethod.extension/properties.json b/src/SmartTest.package/CompiledMethod.extension/properties.json deleted file mode 100644 index c2e4663..0000000 --- a/src/SmartTest.package/CompiledMethod.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "CompiledMethod" -} \ No newline at end of file diff --git a/src/SmartTest.package/FormCanvas.extension/instance/fillOval.color.withPercentage.borderWidth.borderColor..st b/src/SmartTest.package/FormCanvas.extension/instance/fillOval.color.withPercentage.borderWidth.borderColor..st deleted file mode 100644 index c7b77c7..0000000 --- a/src/SmartTest.package/FormCanvas.extension/instance/fillOval.color.withPercentage.borderWidth.borderColor..st +++ /dev/null @@ -1,15 +0,0 @@ -*SmartTest -fillOval: r color: fillColor withPercentage: aFloat borderWidth: borderWidth borderColor: borderColor - | rect | - - "draw the border of the oval" - rect := (r translateBy: origin) truncated. - (borderWidth = 0 or: [borderColor isTransparent]) ifFalse:[ - self setFillColor: borderColor. - (r area > 10000 or: [fillColor isTranslucent]) - ifTrue: [port frameOval: rect borderWidth: borderWidth] - ifFalse: [port fillOval: rect]]. "faster this way" - "fill the inside" - fillColor isTransparent ifFalse: - [self setFillColor: fillColor. - port fillOval: (rect insetBy: borderWidth)]. diff --git a/src/SmartTest.package/FormCanvas.extension/instance/fillOval.fillStyle.withPercentage.borderWidth.borderColor..st b/src/SmartTest.package/FormCanvas.extension/instance/fillOval.fillStyle.withPercentage.borderWidth.borderColor..st deleted file mode 100644 index e4d5003..0000000 --- a/src/SmartTest.package/FormCanvas.extension/instance/fillOval.fillStyle.withPercentage.borderWidth.borderColor..st +++ /dev/null @@ -1,10 +0,0 @@ -*SmartTest -fillOval: aRectangle fillStyle: aFillStyle withPercentage: aFloat borderWidth: bw borderColor: bc - "Fill the given oval." - - (aFillStyle isBitmapFill and:[aFillStyle isKindOf: InfiniteForm]) ifTrue:[ - ^self fillOval: aRectangle color: aFillStyle borderWidth: bw borderColor: bc]. - (aFillStyle isSolidFill) ifTrue:[ - ^self fillOval: aRectangle withPercentage: aFloat color: aFillStyle asColor borderWidth: bw borderColor: bc]. - "Use a BalloonCanvas instead" - self balloonFillOval: aRectangle fillStyle: aFillStyle borderWidth: bw borderColor: bc \ No newline at end of file diff --git a/src/SmartTest.package/FormCanvas.extension/instance/fillOval.withPercentage.color.borderWidth.borderColor..st b/src/SmartTest.package/FormCanvas.extension/instance/fillOval.withPercentage.color.borderWidth.borderColor..st deleted file mode 100644 index 0d1dc7f..0000000 --- a/src/SmartTest.package/FormCanvas.extension/instance/fillOval.withPercentage.color.borderWidth.borderColor..st +++ /dev/null @@ -1,15 +0,0 @@ -*SmartTest -fillOval: r withPercentage: aFloat color: fillColor borderWidth: borderWidth borderColor: borderColor - | rect | - - "draw the border of the oval" - rect := (r translateBy: origin) truncated. - (borderWidth = 0 or: [borderColor isTransparent]) ifFalse:[ - self setFillColor: borderColor. - (r area > 10000 or: [fillColor isTranslucent]) - ifTrue: [port frameOval: rect borderWidth: borderWidth] - ifFalse: [port fillOval: rect]]. "faster this way" - "fill the inside" - fillColor isTransparent ifFalse: - [self setFillColor: fillColor. - port fillOval: (rect insetBy: borderWidth) withPercentage: aFloat]. diff --git a/src/SmartTest.package/FormCanvas.extension/properties.json b/src/SmartTest.package/FormCanvas.extension/properties.json deleted file mode 100644 index 9887a28..0000000 --- a/src/SmartTest.package/FormCanvas.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "FormCanvas" -} \ No newline at end of file diff --git a/src/SmartTest.package/GrafPort.extension/properties.json b/src/SmartTest.package/GrafPort.extension/properties.json deleted file mode 100644 index 7221c9f..0000000 --- a/src/SmartTest.package/GrafPort.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "GrafPort" -} \ No newline at end of file diff --git a/src/SmartTest.package/HDTestCoverage.extension/instance/unmark.st b/src/SmartTest.package/HDTestCoverage.extension/instance/unmark.st deleted file mode 100644 index 0f25e27..0000000 --- a/src/SmartTest.package/HDTestCoverage.extension/instance/unmark.st +++ /dev/null @@ -1,3 +0,0 @@ -*SmartTest -unmark - hasRun := false \ No newline at end of file diff --git a/src/SmartTest.package/HDTestCoverage.extension/properties.json b/src/SmartTest.package/HDTestCoverage.extension/properties.json deleted file mode 100644 index ed52621..0000000 --- a/src/SmartTest.package/HDTestCoverage.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "HDTestCoverage" -} \ No newline at end of file diff --git a/src/SmartTest.package/ManifestSmartTest.class/README.md b/src/SmartTest.package/ManifestSmartTest.class/README.md deleted file mode 100644 index dea1c32..0000000 --- a/src/SmartTest.package/ManifestSmartTest.class/README.md +++ /dev/null @@ -1,3 +0,0 @@ -I store metadata for this package. These meta data are used by other tools such as the SmalllintManifestChecker and the critics Browser - -THIS CLASS SHOULD BE RENAMED BECAUSE IT IS NOT AN EVENT \ No newline at end of file diff --git a/src/SmartTest.package/ManifestSmartTest.class/class/description.st b/src/SmartTest.package/ManifestSmartTest.class/class/description.st deleted file mode 100644 index 9534f95..0000000 --- a/src/SmartTest.package/ManifestSmartTest.class/class/description.st +++ /dev/null @@ -1,2 +0,0 @@ -meta-data -description ^ 'CORA is an extention of QA which display information about test' \ No newline at end of file diff --git a/src/SmartTest.package/ManifestSmartTest.class/class/preUnload.st b/src/SmartTest.package/ManifestSmartTest.class/class/preUnload.st deleted file mode 100644 index d881a46..0000000 --- a/src/SmartTest.package/ManifestSmartTest.class/class/preUnload.st +++ /dev/null @@ -1,4 +0,0 @@ -meta-data -preUnload - super - preUnload. \ No newline at end of file diff --git a/src/SmartTest.package/ManifestSmartTest.class/properties.json b/src/SmartTest.package/ManifestSmartTest.class/properties.json deleted file mode 100644 index 2936db6..0000000 --- a/src/SmartTest.package/ManifestSmartTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/3/2018 17:48", - "super" : "PackageManifest", - "category" : "SmartTest", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "ManifestSmartTest", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest.package/NautilusRefactoring.extension/properties.json b/src/SmartTest.package/NautilusRefactoring.extension/properties.json deleted file mode 100644 index c56d8be..0000000 --- a/src/SmartTest.package/NautilusRefactoring.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "NautilusRefactoring" -} \ No newline at end of file diff --git a/src/SmartTest.package/RGMethodDefinition.extension/instance/isInitializer.st b/src/SmartTest.package/RGMethodDefinition.extension/instance/isInitializer.st deleted file mode 100644 index 2af1669..0000000 --- a/src/SmartTest.package/RGMethodDefinition.extension/instance/isInitializer.st +++ /dev/null @@ -1,3 +0,0 @@ -*SmartTest -isInitializer - ^ self selector = #initialize \ No newline at end of file diff --git a/src/SmartTest.package/RGMethodDefinition.extension/instance/senders.st b/src/SmartTest.package/RGMethodDefinition.extension/instance/senders.st deleted file mode 100644 index d224b7c..0000000 --- a/src/SmartTest.package/RGMethodDefinition.extension/instance/senders.st +++ /dev/null @@ -1,3 +0,0 @@ -*SmartTest -senders - ^ SystemNavigation default allSendersOf: self selector \ No newline at end of file diff --git a/src/SmartTest.package/RGMethodDefinition.extension/properties.json b/src/SmartTest.package/RGMethodDefinition.extension/properties.json deleted file mode 100644 index 0bcc002..0000000 --- a/src/SmartTest.package/RGMethodDefinition.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "RGMethodDefinition" -} \ No newline at end of file diff --git a/src/SmartTest.package/ReProperty.extension/instance/iconicButtons.st b/src/SmartTest.package/ReProperty.extension/instance/iconicButtons.st deleted file mode 100644 index 94e94db..0000000 --- a/src/SmartTest.package/ReProperty.extension/instance/iconicButtons.st +++ /dev/null @@ -1,4 +0,0 @@ -*SmartTest -iconicButtons - - ^ #() \ No newline at end of file diff --git a/src/SmartTest.package/ReProperty.extension/properties.json b/src/SmartTest.package/ReProperty.extension/properties.json deleted file mode 100644 index 5f0ce47..0000000 --- a/src/SmartTest.package/ReProperty.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "ReProperty" -} \ No newline at end of file diff --git a/src/SmartTest.package/SmTAnnouncer.class/README.md b/src/SmartTest.package/SmTAnnouncer.class/README.md deleted file mode 100644 index e3a5f62..0000000 --- a/src/SmartTest.package/SmTAnnouncer.class/README.md +++ /dev/null @@ -1 +0,0 @@ -The announcer process announces that some event has occurred and disseminates it to all the listeners that are interested in the event. \ No newline at end of file diff --git a/src/SmartTest.package/SmTAnnouncer.class/class/announcer.st b/src/SmartTest.package/SmTAnnouncer.class/class/announcer.st deleted file mode 100644 index 59bd5d1..0000000 --- a/src/SmartTest.package/SmTAnnouncer.class/class/announcer.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -announcer - ^ announcer ifNil: [ announcer := SmTAnnouncer new ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTAnnouncer.class/class/shouldAnnounce.st b/src/SmartTest.package/SmTAnnouncer.class/class/shouldAnnounce.st deleted file mode 100644 index 0596a28..0000000 --- a/src/SmartTest.package/SmTAnnouncer.class/class/shouldAnnounce.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -shouldAnnounce - ^ SmTTestListener activated \ No newline at end of file diff --git a/src/SmartTest.package/SmTAnnouncer.class/properties.json b/src/SmartTest.package/SmTAnnouncer.class/properties.json deleted file mode 100644 index 1422806..0000000 --- a/src/SmartTest.package/SmTAnnouncer.class/properties.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/2/2018 14:32", - "super" : "Announcer", - "category" : "SmartTest-Listener", - "classinstvars" : [ - "announcer" - ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTAnnouncer", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest.package/SmTBasicCacheNeverResetStrategy.class/README.md b/src/SmartTest.package/SmTBasicCacheNeverResetStrategy.class/README.md deleted file mode 100644 index 811b705..0000000 --- a/src/SmartTest.package/SmTBasicCacheNeverResetStrategy.class/README.md +++ /dev/null @@ -1,3 +0,0 @@ -This strategy always adds the tests to the cache and always gives the tests when asked. - -When using this strategy, the cache is never reseted, even when told so. \ No newline at end of file diff --git a/src/SmartTest.package/SmTBasicCacheNeverResetStrategy.class/instance/resetCache.st b/src/SmartTest.package/SmTBasicCacheNeverResetStrategy.class/instance/resetCache.st deleted file mode 100644 index 0da6502..0000000 --- a/src/SmartTest.package/SmTBasicCacheNeverResetStrategy.class/instance/resetCache.st +++ /dev/null @@ -1,3 +0,0 @@ -private -resetCache - "Never reset the cache for this strategy." \ No newline at end of file diff --git a/src/SmartTest.package/SmTBasicCacheNeverResetStrategy.class/properties.json b/src/SmartTest.package/SmTBasicCacheNeverResetStrategy.class/properties.json deleted file mode 100644 index bb2b73a..0000000 --- a/src/SmartTest.package/SmTBasicCacheNeverResetStrategy.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "eleonoreW 7/12/2018 11:35", - "super" : "SmTBasicCacheStrategy", - "category" : "SmartTest-Cache", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTBasicCacheNeverResetStrategy", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/README.md b/src/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/README.md deleted file mode 100644 index b503ee6..0000000 --- a/src/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/README.md +++ /dev/null @@ -1,3 +0,0 @@ -This strategy always adds the tests to the cache and always gives the tests when asked. - -When using this strategy, the cache is reseted each 5 changes (changes manageable by SmartTest, for exemple changes on methods and classes). \ No newline at end of file diff --git a/src/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/instance/initialize.st b/src/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/instance/initialize.st deleted file mode 100644 index 29ec469..0000000 --- a/src/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/instance/initialize.st +++ /dev/null @@ -1,3 +0,0 @@ -initialization -initialize -self numberOfChange: 0. \ No newline at end of file diff --git a/src/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/instance/numberOfChange..st b/src/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/instance/numberOfChange..st deleted file mode 100644 index 62efcce..0000000 --- a/src/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/instance/numberOfChange..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -numberOfChange: anObject - numberOfChange := anObject \ No newline at end of file diff --git a/src/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/instance/numberOfChange.st b/src/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/instance/numberOfChange.st deleted file mode 100644 index 6708985..0000000 --- a/src/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/instance/numberOfChange.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -numberOfChange - ^ numberOfChange \ No newline at end of file diff --git a/src/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/instance/resetCache.st b/src/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/instance/resetCache.st deleted file mode 100644 index 61ab5e7..0000000 --- a/src/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/instance/resetCache.st +++ /dev/null @@ -1,5 +0,0 @@ -private -resetCache - numberOfChange := numberOfChange + 1. - numberOfChange \\ 5 == 0 - ifTrue: [ cache removeAll. numberOfChange := 0] \ No newline at end of file diff --git a/src/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/properties.json b/src/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/properties.json deleted file mode 100644 index 74500da..0000000 --- a/src/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/properties.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "commentStamp" : "eleonoreW 7/12/2018 11:38", - "super" : "SmTBasicCacheStrategy", - "category" : "SmartTest-Cache", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "numberOfChange" - ], - "name" : "SmTBasicCacheResetEvery5ChangesStrategy", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest.package/SmTBasicCacheResetEveryCommitStrategy.class/README.md b/src/SmartTest.package/SmTBasicCacheResetEveryCommitStrategy.class/README.md deleted file mode 100644 index d1d972b..0000000 --- a/src/SmartTest.package/SmTBasicCacheResetEveryCommitStrategy.class/README.md +++ /dev/null @@ -1,3 +0,0 @@ -This strategy always adds the tests to the cache and always gives the tests when asked. - -When using this strategy, the cache is reseted only when a commit is peformed. It is mostly used with SmartTest Experiment. \ No newline at end of file diff --git a/src/SmartTest.package/SmTBasicCacheResetEveryCommitStrategy.class/instance/resetCacheForChange..st b/src/SmartTest.package/SmTBasicCacheResetEveryCommitStrategy.class/instance/resetCacheForChange..st deleted file mode 100644 index c725031..0000000 --- a/src/SmartTest.package/SmTBasicCacheResetEveryCommitStrategy.class/instance/resetCacheForChange..st +++ /dev/null @@ -1,4 +0,0 @@ -private -resetCacheForChange: aChange - (aChange isKindOf: EpMonticelloVersionSave) ifTrue:[self resetCache]. - \ No newline at end of file diff --git a/src/SmartTest.package/SmTBasicCacheResetEveryCommitStrategy.class/properties.json b/src/SmartTest.package/SmTBasicCacheResetEveryCommitStrategy.class/properties.json deleted file mode 100644 index 85bdb00..0000000 --- a/src/SmartTest.package/SmTBasicCacheResetEveryCommitStrategy.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "eleonoreW 7/12/2018 11:39", - "super" : "SmTBasicCacheStrategy", - "category" : "SmartTest-Cache", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTBasicCacheResetEveryCommitStrategy", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest.package/SmTBasicCacheStrategy.class/README.md b/src/SmartTest.package/SmTBasicCacheStrategy.class/README.md deleted file mode 100644 index 02305ab..0000000 --- a/src/SmartTest.package/SmTBasicCacheStrategy.class/README.md +++ /dev/null @@ -1 +0,0 @@ -This strategy always adds the tests to the cache and always gives the tests when asked. \ No newline at end of file diff --git a/src/SmartTest.package/SmTBasicCacheStrategy.class/instance/at..st b/src/SmartTest.package/SmTBasicCacheStrategy.class/instance/at..st deleted file mode 100644 index b9fbb76..0000000 --- a/src/SmartTest.package/SmTBasicCacheStrategy.class/instance/at..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -at: aMethodReference - ^ self currentCache at: aMethodReference \ No newline at end of file diff --git a/src/SmartTest.package/SmTBasicCacheStrategy.class/instance/at.ifAbsent..st b/src/SmartTest.package/SmTBasicCacheStrategy.class/instance/at.ifAbsent..st deleted file mode 100644 index 6f59865..0000000 --- a/src/SmartTest.package/SmTBasicCacheStrategy.class/instance/at.ifAbsent..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -at: methodReference ifAbsent: aBlock - ^ self currentCache at: methodReference ifAbsent: aBlock \ No newline at end of file diff --git a/src/SmartTest.package/SmTBasicCacheStrategy.class/instance/at.ifPresent..st b/src/SmartTest.package/SmTBasicCacheStrategy.class/instance/at.ifPresent..st deleted file mode 100644 index 4660ebd..0000000 --- a/src/SmartTest.package/SmTBasicCacheStrategy.class/instance/at.ifPresent..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -at: key ifPresent: aPresentBlock - ^ self currentCache at: key ifPresent: aPresentBlock \ No newline at end of file diff --git a/src/SmartTest.package/SmTBasicCacheStrategy.class/instance/at.ifPresent.ifAbsent..st b/src/SmartTest.package/SmTBasicCacheStrategy.class/instance/at.ifPresent.ifAbsent..st deleted file mode 100644 index fa552e4..0000000 --- a/src/SmartTest.package/SmTBasicCacheStrategy.class/instance/at.ifPresent.ifAbsent..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -at: key ifPresent: aPresentBlock ifAbsent: anAbsentBlock - ^ self currentCache at: key ifPresent: aPresentBlock ifAbsent: anAbsentBlock \ No newline at end of file diff --git a/src/SmartTest.package/SmTBasicCacheStrategy.class/instance/at.put..st b/src/SmartTest.package/SmTBasicCacheStrategy.class/instance/at.put..st deleted file mode 100644 index c7863a2..0000000 --- a/src/SmartTest.package/SmTBasicCacheStrategy.class/instance/at.put..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -at: aMethodReference put: aCacheElement - ^ self currentCache at: aMethodReference put: aCacheElement \ No newline at end of file diff --git a/src/SmartTest.package/SmTBasicCacheStrategy.class/instance/currentCache.st b/src/SmartTest.package/SmTBasicCacheStrategy.class/instance/currentCache.st deleted file mode 100644 index 08e8c1a..0000000 --- a/src/SmartTest.package/SmTBasicCacheStrategy.class/instance/currentCache.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -currentCache - ^ cache \ No newline at end of file diff --git a/src/SmartTest.package/SmTBasicCacheStrategy.class/instance/relevantTestsFor..st b/src/SmartTest.package/SmTBasicCacheStrategy.class/instance/relevantTestsFor..st deleted file mode 100644 index 018ab01..0000000 --- a/src/SmartTest.package/SmTBasicCacheStrategy.class/instance/relevantTestsFor..st +++ /dev/null @@ -1,3 +0,0 @@ -private -relevantTestsFor: aCompiledMethod - ^ self currentCache at: aCompiledMethod methodReference ifAbsentPut: [ Set new ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTBasicCacheStrategy.class/instance/searchTestsForMethodReference..st b/src/SmartTest.package/SmTBasicCacheStrategy.class/instance/searchTestsForMethodReference..st deleted file mode 100644 index 5a4bbd4..0000000 --- a/src/SmartTest.package/SmTBasicCacheStrategy.class/instance/searchTestsForMethodReference..st +++ /dev/null @@ -1,3 +0,0 @@ -private -searchTestsForMethodReference: aMethodReference - ^ self currentCache at: aMethodReference ifAbsentPut: [ Set new ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTBasicCacheStrategy.class/properties.json b/src/SmartTest.package/SmTBasicCacheStrategy.class/properties.json deleted file mode 100644 index 8842049..0000000 --- a/src/SmartTest.package/SmTBasicCacheStrategy.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/3/2018 10:13", - "super" : "SmTCacheStrategy", - "category" : "SmartTest-Cache", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTBasicCacheStrategy", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest.package/SmTCacheStrategy.class/README.md b/src/SmartTest.package/SmTCacheStrategy.class/README.md deleted file mode 100644 index 25cf40d..0000000 --- a/src/SmartTest.package/SmTCacheStrategy.class/README.md +++ /dev/null @@ -1 +0,0 @@ -This setting defines how the cache should behave. \ No newline at end of file diff --git a/src/SmartTest.package/SmTCacheStrategy.class/instance/at..st b/src/SmartTest.package/SmTCacheStrategy.class/instance/at..st deleted file mode 100644 index 3994dcf..0000000 --- a/src/SmartTest.package/SmTCacheStrategy.class/instance/at..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -at: aMethodReference - self subclassResponsibility \ No newline at end of file diff --git a/src/SmartTest.package/SmTCacheStrategy.class/instance/at.ifAbsent..st b/src/SmartTest.package/SmTCacheStrategy.class/instance/at.ifAbsent..st deleted file mode 100644 index 9da5cfb..0000000 --- a/src/SmartTest.package/SmTCacheStrategy.class/instance/at.ifAbsent..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -at: aCompiledMethod ifAbsent: aBlock - ^ self subclassResponsibility \ No newline at end of file diff --git a/src/SmartTest.package/SmTCacheStrategy.class/instance/at.ifPresent..st b/src/SmartTest.package/SmTCacheStrategy.class/instance/at.ifPresent..st deleted file mode 100644 index 7ae4246..0000000 --- a/src/SmartTest.package/SmTCacheStrategy.class/instance/at.ifPresent..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -at: key ifPresent: aPresentBlock - self subclassResponsibility \ No newline at end of file diff --git a/src/SmartTest.package/SmTCacheStrategy.class/instance/at.ifPresent.ifAbsent..st b/src/SmartTest.package/SmTCacheStrategy.class/instance/at.ifPresent.ifAbsent..st deleted file mode 100644 index 16555a1..0000000 --- a/src/SmartTest.package/SmTCacheStrategy.class/instance/at.ifPresent.ifAbsent..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -at: key ifPresent: aPresentBlock ifAbsent: anAbsentBlock - self subclassResponsibility \ No newline at end of file diff --git a/src/SmartTest.package/SmTCacheStrategy.class/instance/at.put..st b/src/SmartTest.package/SmTCacheStrategy.class/instance/at.put..st deleted file mode 100644 index 752bcb6..0000000 --- a/src/SmartTest.package/SmTCacheStrategy.class/instance/at.put..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -at: aMethodReference put: aCacheElement - self subclassResponsibility \ No newline at end of file diff --git a/src/SmartTest.package/SmTCacheStrategy.class/instance/cache..st b/src/SmartTest.package/SmTCacheStrategy.class/instance/cache..st deleted file mode 100644 index 392d234..0000000 --- a/src/SmartTest.package/SmTCacheStrategy.class/instance/cache..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -cache: aDictionary - cache := aDictionary \ No newline at end of file diff --git a/src/SmartTest.package/SmTCacheStrategy.class/instance/currentCache.st b/src/SmartTest.package/SmTCacheStrategy.class/instance/currentCache.st deleted file mode 100644 index 708ad09..0000000 --- a/src/SmartTest.package/SmTCacheStrategy.class/instance/currentCache.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -currentCache - self subclassResponsibility \ No newline at end of file diff --git a/src/SmartTest.package/SmTCacheStrategy.class/instance/disable.st b/src/SmartTest.package/SmTCacheStrategy.class/instance/disable.st deleted file mode 100644 index 6327a6d..0000000 --- a/src/SmartTest.package/SmTCacheStrategy.class/instance/disable.st +++ /dev/null @@ -1,5 +0,0 @@ -private -disable - "If you need something to work" - - \ No newline at end of file diff --git a/src/SmartTest.package/SmTCacheStrategy.class/instance/enable.st b/src/SmartTest.package/SmTCacheStrategy.class/instance/enable.st deleted file mode 100644 index 8c8013b..0000000 --- a/src/SmartTest.package/SmTCacheStrategy.class/instance/enable.st +++ /dev/null @@ -1,3 +0,0 @@ -private -enable - "If you need something to work" \ No newline at end of file diff --git a/src/SmartTest.package/SmTCacheStrategy.class/instance/relevantTestsFor..st b/src/SmartTest.package/SmTCacheStrategy.class/instance/relevantTestsFor..st deleted file mode 100644 index bd7fbc5..0000000 --- a/src/SmartTest.package/SmTCacheStrategy.class/instance/relevantTestsFor..st +++ /dev/null @@ -1,3 +0,0 @@ -private -relevantTestsFor: aCompiledMethod - self subclassResponsibility \ No newline at end of file diff --git a/src/SmartTest.package/SmTCacheStrategy.class/instance/resetCache.st b/src/SmartTest.package/SmTCacheStrategy.class/instance/resetCache.st deleted file mode 100644 index 74c9ba7..0000000 --- a/src/SmartTest.package/SmTCacheStrategy.class/instance/resetCache.st +++ /dev/null @@ -1,3 +0,0 @@ -private -resetCache - cache removeAll \ No newline at end of file diff --git a/src/SmartTest.package/SmTCacheStrategy.class/instance/resetCacheForChange..st b/src/SmartTest.package/SmTCacheStrategy.class/instance/resetCacheForChange..st deleted file mode 100644 index 29e6ca9..0000000 --- a/src/SmartTest.package/SmTCacheStrategy.class/instance/resetCacheForChange..st +++ /dev/null @@ -1,3 +0,0 @@ -private -resetCacheForChange: aChange -self resetCache \ No newline at end of file diff --git a/src/SmartTest.package/SmTCacheStrategy.class/instance/searchTestsForMethodReference..st b/src/SmartTest.package/SmTCacheStrategy.class/instance/searchTestsForMethodReference..st deleted file mode 100644 index 8fffffb..0000000 --- a/src/SmartTest.package/SmTCacheStrategy.class/instance/searchTestsForMethodReference..st +++ /dev/null @@ -1,3 +0,0 @@ -private -searchTestsForMethodReference: aMethodReference - self subclassResponsibility \ No newline at end of file diff --git a/src/SmartTest.package/SmTCacheStrategy.class/properties.json b/src/SmartTest.package/SmTCacheStrategy.class/properties.json deleted file mode 100644 index 0645c52..0000000 --- a/src/SmartTest.package/SmTCacheStrategy.class/properties.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/3/2018 09:58", - "super" : "Object", - "category" : "SmartTest-Cache", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "cache" - ], - "name" : "SmTCacheStrategy", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest.package/SmTClassNeedTestsCritique.class/README.md b/src/SmartTest.package/SmTClassNeedTestsCritique.class/README.md deleted file mode 100644 index fc1086f..0000000 --- a/src/SmartTest.package/SmTClassNeedTestsCritique.class/README.md +++ /dev/null @@ -1 +0,0 @@ -The critique that explains you need to write tests for this class \ No newline at end of file diff --git a/src/SmartTest.package/SmTClassNeedTestsCritique.class/instance/description.st b/src/SmartTest.package/SmTClassNeedTestsCritique.class/instance/description.st deleted file mode 100644 index a8da552..0000000 --- a/src/SmartTest.package/SmTClassNeedTestsCritique.class/instance/description.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -description - ^'You should always write tests your classes to ensure the fiability of your code' \ No newline at end of file diff --git a/src/SmartTest.package/SmTClassNeedTestsCritique.class/instance/title.st b/src/SmartTest.package/SmTClassNeedTestsCritique.class/instance/title.st deleted file mode 100644 index 60b4648..0000000 --- a/src/SmartTest.package/SmTClassNeedTestsCritique.class/instance/title.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -title - ^ 'You should write tests for your class' \ No newline at end of file diff --git a/src/SmartTest.package/SmTClassNeedTestsCritique.class/properties.json b/src/SmartTest.package/SmTClassNeedTestsCritique.class/properties.json deleted file mode 100644 index 60255e2..0000000 --- a/src/SmartTest.package/SmTClassNeedTestsCritique.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "BenoitVerhaeghe 6/28/2017 14:17", - "super" : "SmTNeedTestsCritique", - "category" : "SmartTest-Critiques", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTClassNeedTestsCritique", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest.package/SmTClassRelativeTestsCritique.class/README.md b/src/SmartTest.package/SmTClassRelativeTestsCritique.class/README.md deleted file mode 100644 index edf4769..0000000 --- a/src/SmartTest.package/SmTClassRelativeTestsCritique.class/README.md +++ /dev/null @@ -1 +0,0 @@ -The critique that explains you need to run test for this class \ No newline at end of file diff --git a/src/SmartTest.package/SmTClassRelativeTestsCritique.class/class/for.by.tests..st b/src/SmartTest.package/SmTClassRelativeTestsCritique.class/class/for.by.tests..st deleted file mode 100644 index 43eadaf..0000000 --- a/src/SmartTest.package/SmTClassRelativeTestsCritique.class/class/for.by.tests..st +++ /dev/null @@ -1,5 +0,0 @@ -instance creation -for: anEntity by: aRule tests: aTestList - ^ self basicNew - initializeRule: aRule target: anEntity testsList: aTestList; - yourself \ No newline at end of file diff --git a/src/SmartTest.package/SmTClassRelativeTestsCritique.class/instance/description.st b/src/SmartTest.package/SmTClassRelativeTestsCritique.class/instance/description.st deleted file mode 100644 index d0f3415..0000000 --- a/src/SmartTest.package/SmTClassRelativeTestsCritique.class/instance/description.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -description - ^'You should always run tests your classes to ensure the fiability of your code' \ No newline at end of file diff --git a/src/SmartTest.package/SmTClassRelativeTestsCritique.class/properties.json b/src/SmartTest.package/SmTClassRelativeTestsCritique.class/properties.json deleted file mode 100644 index 23c3738..0000000 --- a/src/SmartTest.package/SmTClassRelativeTestsCritique.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "BenoitVerhaeghe 6/28/2017 14:17", - "super" : "SmTRelativeTestsCritique", - "category" : "SmartTest-Critiques", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTClassRelativeTestsCritique", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest.package/SmTClassTestedRule.class/README.md b/src/SmartTest.package/SmTClassTestedRule.class/README.md deleted file mode 100644 index b9f6182..0000000 --- a/src/SmartTest.package/SmTClassTestedRule.class/README.md +++ /dev/null @@ -1 +0,0 @@ -I check class tests \ No newline at end of file diff --git a/src/SmartTest.package/SmTClassTestedRule.class/class/checksClass.st b/src/SmartTest.package/SmTClassTestedRule.class/class/checksClass.st deleted file mode 100644 index 47eecb8..0000000 --- a/src/SmartTest.package/SmTClassTestedRule.class/class/checksClass.st +++ /dev/null @@ -1,3 +0,0 @@ -testing-interest -checksClass - ^ true \ No newline at end of file diff --git a/src/SmartTest.package/SmTClassTestedRule.class/class/classActivated..st b/src/SmartTest.package/SmTClassTestedRule.class/class/classActivated..st deleted file mode 100644 index d7a8cac..0000000 --- a/src/SmartTest.package/SmTClassTestedRule.class/class/classActivated..st +++ /dev/null @@ -1,3 +0,0 @@ -testing-interest -classActivated: aSelector - ClassActivated := aSelector \ No newline at end of file diff --git a/src/SmartTest.package/SmTClassTestedRule.class/class/classActivated.st b/src/SmartTest.package/SmTClassTestedRule.class/class/classActivated.st deleted file mode 100644 index 0f3e75d..0000000 --- a/src/SmartTest.package/SmTClassTestedRule.class/class/classActivated.st +++ /dev/null @@ -1,3 +0,0 @@ -testing-interest -classActivated - ^ ClassActivated ifNil: [ ClassActivated := false ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTClassTestedRule.class/class/initialize.st b/src/SmartTest.package/SmTClassTestedRule.class/class/initialize.st deleted file mode 100644 index 3026617..0000000 --- a/src/SmartTest.package/SmTClassTestedRule.class/class/initialize.st +++ /dev/null @@ -1,3 +0,0 @@ -testing-interest -initialize - ReRuleManager cleanUp \ No newline at end of file diff --git a/src/SmartTest.package/SmTClassTestedRule.class/class/settingsOn..st b/src/SmartTest.package/SmTClassTestedRule.class/class/settingsOn..st deleted file mode 100644 index 0170511..0000000 --- a/src/SmartTest.package/SmTClassTestedRule.class/class/settingsOn..st +++ /dev/null @@ -1,9 +0,0 @@ -testing-interest -settingsOn: aBuilder - - (aBuilder setting: #classActivated) - parent: #SmTActivationRenrakuOption; - target: self; - order: 0.1; - label: 'SmartTest class analyse activated'; - description: 'Toogle to activate/disable the analyse for class' \ No newline at end of file diff --git a/src/SmartTest.package/SmTClassTestedRule.class/class/unload.st b/src/SmartTest.package/SmTClassTestedRule.class/class/unload.st deleted file mode 100644 index 03c404c..0000000 --- a/src/SmartTest.package/SmTClassTestedRule.class/class/unload.st +++ /dev/null @@ -1,3 +0,0 @@ -testing-interest -unload - \ No newline at end of file diff --git a/src/SmartTest.package/SmTClassTestedRule.class/instance/basicCheck..st b/src/SmartTest.package/SmTClassTestedRule.class/instance/basicCheck..st deleted file mode 100644 index a37547d..0000000 --- a/src/SmartTest.package/SmTClassTestedRule.class/instance/basicCheck..st +++ /dev/null @@ -1,3 +0,0 @@ -running -basicCheck: anEntity - ^ (super basicCheck: anEntity) and: [(anEntity isKindOf: Class) and: [ self class classActivated] ] diff --git a/src/SmartTest.package/SmTClassTestedRule.class/instance/check.forCritiquesDo..st b/src/SmartTest.package/SmTClassTestedRule.class/instance/check.forCritiquesDo..st deleted file mode 100644 index 1f29228..0000000 --- a/src/SmartTest.package/SmTClassTestedRule.class/instance/check.forCritiquesDo..st +++ /dev/null @@ -1,7 +0,0 @@ -enumerating -check: anEntity forCritiquesDo: aCriticBlock - - (self basicCheck: anEntity) - ifTrue: [ (self findTestsForClass: anEntity) isEmpty - ifTrue: [ aCriticBlock value: (SmTClassNeedTestsCritique for: anEntity by: self) ] - ifFalse: [ aCriticBlock value: (SmTClassRelativeTestsCritique for: anEntity by: self tests: self tests) ] ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTClassTestedRule.class/instance/findTestsForClass..st b/src/SmartTest.package/SmTClassTestedRule.class/instance/findTestsForClass..st deleted file mode 100644 index f2ce0c5..0000000 --- a/src/SmartTest.package/SmTClassTestedRule.class/instance/findTestsForClass..st +++ /dev/null @@ -1,5 +0,0 @@ -instance creation -findTestsForClass: aClass - | aCollectionOfCompiledTest | - aCollectionOfCompiledTest := self findTestsForMethods: (self methodUsingVariablesOfClass: aClass). - ^tests := aCollectionOfCompiledTest \ No newline at end of file diff --git a/src/SmartTest.package/SmTClassTestedRule.class/instance/findTestsForMethods..st b/src/SmartTest.package/SmTClassTestedRule.class/instance/findTestsForMethods..st deleted file mode 100644 index 56bbd80..0000000 --- a/src/SmartTest.package/SmTClassTestedRule.class/instance/findTestsForMethods..st +++ /dev/null @@ -1,3 +0,0 @@ -instance creation -findTestsForMethods: aCollectionOfCompiledMethod - ^tests := aCollectionOfCompiledMethod flatCollect: [ :aCompiledMethod | self findTestsForMethod: aCompiledMethod] \ No newline at end of file diff --git a/src/SmartTest.package/SmTClassTestedRule.class/instance/methodUsingVariablesOfClass..st b/src/SmartTest.package/SmTClassTestedRule.class/instance/methodUsingVariablesOfClass..st deleted file mode 100644 index 370bbe8..0000000 --- a/src/SmartTest.package/SmTClassTestedRule.class/instance/methodUsingVariablesOfClass..st +++ /dev/null @@ -1,7 +0,0 @@ -running -methodUsingVariablesOfClass: aClass - | aSet | - aSet := Set new. - aSet addAll: (aClass classLayout allVisibleSlots flatCollect: #usingMethods). -" aSet addAll: ((aClass classVariables flatCollect: #usingMethods) collect: #compiledMethod)." - ^tests := aSet \ No newline at end of file diff --git a/src/SmartTest.package/SmTClassTestedRule.class/instance/name.st b/src/SmartTest.package/SmTClassTestedRule.class/instance/name.st deleted file mode 100644 index c8ff170..0000000 --- a/src/SmartTest.package/SmTClassTestedRule.class/instance/name.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -name - ^ 'SmartTest Class Tested' \ No newline at end of file diff --git a/src/SmartTest.package/SmTClassTestedRule.class/properties.json b/src/SmartTest.package/SmTClassTestedRule.class/properties.json deleted file mode 100644 index bc56384..0000000 --- a/src/SmartTest.package/SmTClassTestedRule.class/properties.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "commentStamp" : "BenoitVerhaeghe 6/28/2017 11:58", - "super" : "SmTRules", - "category" : "SmartTest-Rules", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ - "ClassActivated" - ], - "instvars" : [ ], - "name" : "SmTClassTestedRule", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest.package/SmTDefaultClassPackagesFilter.class/README.md b/src/SmartTest.package/SmTDefaultClassPackagesFilter.class/README.md deleted file mode 100644 index 99cd23e..0000000 --- a/src/SmartTest.package/SmTDefaultClassPackagesFilter.class/README.md +++ /dev/null @@ -1 +0,0 @@ -This filter looks in the packages of all methods that reference the class of the changed entity (method or class) diff --git a/src/SmartTest.package/SmTDefaultClassPackagesFilter.class/properties.json b/src/SmartTest.package/SmTDefaultClassPackagesFilter.class/properties.json deleted file mode 100644 index 31d6243..0000000 --- a/src/SmartTest.package/SmTDefaultClassPackagesFilter.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/3/2018 17:57", - "super" : "SmTDefaultPackagesFilter", - "category" : "SmartTest-Filter", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTDefaultClassPackagesFilter", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest.package/SmTDefaultPackagesFilter.class/README.md b/src/SmartTest.package/SmTDefaultPackagesFilter.class/README.md deleted file mode 100644 index 908b109..0000000 --- a/src/SmartTest.package/SmTDefaultPackagesFilter.class/README.md +++ /dev/null @@ -1 +0,0 @@ -This filter only looks in the package owning the changed entity (method or class) \ No newline at end of file diff --git a/src/SmartTest.package/SmTDefaultPackagesFilter.class/class/settingsOn..st b/src/SmartTest.package/SmTDefaultPackagesFilter.class/class/settingsOn..st deleted file mode 100644 index 7cec5d9..0000000 --- a/src/SmartTest.package/SmTDefaultPackagesFilter.class/class/settingsOn..st +++ /dev/null @@ -1,4 +0,0 @@ -settings -settingsOn: aBuilder - - (aBuilder group: #SmTFilter) parent: #SmartFinder; order: 0.6 \ No newline at end of file diff --git a/src/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractClassPackageBaseName..st b/src/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractClassPackageBaseName..st deleted file mode 100644 index 238c898..0000000 --- a/src/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractClassPackageBaseName..st +++ /dev/null @@ -1,3 +0,0 @@ -parsing -extractClassPackageBaseName: aClass - ^ self extractPackageBaseName: aClass package name \ No newline at end of file diff --git a/src/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractCompiledMethodPackageBaseName..st b/src/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractCompiledMethodPackageBaseName..st deleted file mode 100644 index 8481512..0000000 --- a/src/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractCompiledMethodPackageBaseName..st +++ /dev/null @@ -1,3 +0,0 @@ -parsing -extractCompiledMethodPackageBaseName: aCompiledMethod - ^ self extractPackageBaseName: aCompiledMethod package packageName \ No newline at end of file diff --git a/src/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractMethodDefinitionPackageBaseName..st b/src/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractMethodDefinitionPackageBaseName..st deleted file mode 100644 index 3f9cdc8..0000000 --- a/src/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractMethodDefinitionPackageBaseName..st +++ /dev/null @@ -1,3 +0,0 @@ -parsing -extractMethodDefinitionPackageBaseName: aRGMethodDefinition - ^ self extractPackageBaseName: aRGMethodDefinition package realPackage packageName \ No newline at end of file diff --git a/src/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractPackageBaseName..st b/src/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractPackageBaseName..st deleted file mode 100644 index 0e63598..0000000 --- a/src/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractPackageBaseName..st +++ /dev/null @@ -1,3 +0,0 @@ -parsing -extractPackageBaseName: aPackageName - ^(aPackageName substrings: '-') at: 1 \ No newline at end of file diff --git a/src/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractPackagesFrom..st b/src/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractPackagesFrom..st deleted file mode 100644 index 6ce0201..0000000 --- a/src/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractPackagesFrom..st +++ /dev/null @@ -1,14 +0,0 @@ -accessing -extractPackagesFrom: anEntity - "Thid method find: - - the package of the classes that owned the method - - the package that contains the method if its an extension" - - | packages | - packages := Set new. - anEntity isClass - ifTrue: [ packages add: (self extractClassPackageBaseName: anEntity)] - ifFalse: [ packages := {(self extractCompiledMethodPackageBaseName: anEntity)} asSet. - anEntity isExtension - ifTrue: [ anEntity package extendedClasses do: [ :aClass | packages add: aClass package name ] ] ]. - ^ packages \ No newline at end of file diff --git a/src/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractPackagesFromTrait..st b/src/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractPackagesFromTrait..st deleted file mode 100644 index 1f41232..0000000 --- a/src/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractPackagesFromTrait..st +++ /dev/null @@ -1,3 +0,0 @@ -asserting -extractPackagesFromTrait: aTrait - ^ self extractPackageBaseName: aTrait package name \ No newline at end of file diff --git a/src/SmartTest.package/SmTDefaultPackagesFilter.class/instance/shouldEntityBeFilteredOut.inPackages..st b/src/SmartTest.package/SmTDefaultPackagesFilter.class/instance/shouldEntityBeFilteredOut.inPackages..st deleted file mode 100644 index fdfc70f..0000000 --- a/src/SmartTest.package/SmTDefaultPackagesFilter.class/instance/shouldEntityBeFilteredOut.inPackages..st +++ /dev/null @@ -1,5 +0,0 @@ -asserting -shouldEntityBeFilteredOut: anEntity inPackages: packages - "(anEntity methodClass allCallsOn collect: #ciPackage) not." - (anEntity isClass )ifTrue: [^(packages includes: (anEntity package name)) not]. - ^ (packages includes: (self extractMethodDefinitionPackageBaseName: anEntity )) not \ No newline at end of file diff --git a/src/SmartTest.package/SmTDefaultPackagesFilter.class/properties.json b/src/SmartTest.package/SmTDefaultPackagesFilter.class/properties.json deleted file mode 100644 index b0332df..0000000 --- a/src/SmartTest.package/SmTDefaultPackagesFilter.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/3/2018 17:53", - "super" : "SmTFilterStrategy", - "category" : "SmartTest-Filter", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTDefaultPackagesFilter", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest.package/SmTEventRecipient.class/README.md b/src/SmartTest.package/SmTEventRecipient.class/README.md deleted file mode 100644 index 78dc8c8..0000000 --- a/src/SmartTest.package/SmTEventRecipient.class/README.md +++ /dev/null @@ -1 +0,0 @@ -I collect tests, run tests and notify the big button of my work \ No newline at end of file diff --git a/src/SmartTest.package/SmTEventRecipient.class/instance/actionForEvent.fromMorph..st b/src/SmartTest.package/SmTEventRecipient.class/instance/actionForEvent.fromMorph..st deleted file mode 100644 index 671b1a1..0000000 --- a/src/SmartTest.package/SmTEventRecipient.class/instance/actionForEvent.fromMorph..st +++ /dev/null @@ -1,3 +0,0 @@ -action -actionForEvent: anEvent fromMorph: aMorph - self runTestAndShowProgressIn: aMorph \ No newline at end of file diff --git a/src/SmartTest.package/SmTEventRecipient.class/instance/runTestAndShowProgressIn..st b/src/SmartTest.package/SmTEventRecipient.class/instance/runTestAndShowProgressIn..st deleted file mode 100644 index 124d352..0000000 --- a/src/SmartTest.package/SmTEventRecipient.class/instance/runTestAndShowProgressIn..st +++ /dev/null @@ -1,2 +0,0 @@ -action -runTestAndShowProgressIn: aMorph \ No newline at end of file diff --git a/src/SmartTest.package/SmTEventRecipient.class/properties.json b/src/SmartTest.package/SmTEventRecipient.class/properties.json deleted file mode 100644 index 0c605a9..0000000 --- a/src/SmartTest.package/SmTEventRecipient.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/3/2018 17:47", - "super" : "Object", - "category" : "SmartTest-Event", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTEventRecipient", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest.package/SmTFilterStrategy.class/README.md b/src/SmartTest.package/SmTFilterStrategy.class/README.md deleted file mode 100644 index c49b801..0000000 --- a/src/SmartTest.package/SmTFilterStrategy.class/README.md +++ /dev/null @@ -1 +0,0 @@ -This class is used to define the filter used by SmartTest. \ No newline at end of file diff --git a/src/SmartTest.package/SmTFilterStrategy.class/instance/extractPackagesFrom..st b/src/SmartTest.package/SmTFilterStrategy.class/instance/extractPackagesFrom..st deleted file mode 100644 index 8943843..0000000 --- a/src/SmartTest.package/SmTFilterStrategy.class/instance/extractPackagesFrom..st +++ /dev/null @@ -1,3 +0,0 @@ -asserting -extractPackagesFrom: aCompiledMethod - "Can be implemented to init the filter for a specific research" \ No newline at end of file diff --git a/src/SmartTest.package/SmTFilterStrategy.class/instance/shouldEntityBeFilteredOut.inPackages..st b/src/SmartTest.package/SmTFilterStrategy.class/instance/shouldEntityBeFilteredOut.inPackages..st deleted file mode 100644 index b67367d..0000000 --- a/src/SmartTest.package/SmTFilterStrategy.class/instance/shouldEntityBeFilteredOut.inPackages..st +++ /dev/null @@ -1,3 +0,0 @@ -asserting -shouldEntityBeFilteredOut: anEntity inPackages: anObject - self subclassResponsibility \ No newline at end of file diff --git a/src/SmartTest.package/SmTFilterStrategy.class/properties.json b/src/SmartTest.package/SmTFilterStrategy.class/properties.json deleted file mode 100644 index 32d945f..0000000 --- a/src/SmartTest.package/SmTFilterStrategy.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/2/2018 10:19", - "super" : "Object", - "category" : "SmartTest-Filter", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTFilterStrategy", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest.package/SmTIcebergLoadedPackagesFilter.class/README.md b/src/SmartTest.package/SmTIcebergLoadedPackagesFilter.class/README.md deleted file mode 100644 index aca271c..0000000 --- a/src/SmartTest.package/SmTIcebergLoadedPackagesFilter.class/README.md +++ /dev/null @@ -1 +0,0 @@ -This filter only looks in the packages that are loaded with Iceberg \ No newline at end of file diff --git a/src/SmartTest.package/SmTIcebergLoadedPackagesFilter.class/instance/extractPackagesFrom..st b/src/SmartTest.package/SmTIcebergLoadedPackagesFilter.class/instance/extractPackagesFrom..st deleted file mode 100644 index 5be8a6f..0000000 --- a/src/SmartTest.package/SmTIcebergLoadedPackagesFilter.class/instance/extractPackagesFrom..st +++ /dev/null @@ -1,5 +0,0 @@ -asserting -extractPackagesFrom: aCompiledMethod - "Can be implemented to init the filter for a specific research" - - ^ ((IceRepository registry reject: [ :registry | registry name = 'pharo' ]) flatCollect: [ :repository | repository loadedPackages]) \ No newline at end of file diff --git a/src/SmartTest.package/SmTIcebergLoadedPackagesFilter.class/instance/shouldEntityBeFilteredOut.inPackages..st b/src/SmartTest.package/SmTIcebergLoadedPackagesFilter.class/instance/shouldEntityBeFilteredOut.inPackages..st deleted file mode 100644 index debb58d..0000000 --- a/src/SmartTest.package/SmTIcebergLoadedPackagesFilter.class/instance/shouldEntityBeFilteredOut.inPackages..st +++ /dev/null @@ -1,3 +0,0 @@ -asserting -shouldEntityBeFilteredOut: anEntity inPackages: packages - ^ ((packages collect: #name) includes: anEntity package name) not \ No newline at end of file diff --git a/src/SmartTest.package/SmTIcebergLoadedPackagesFilter.class/properties.json b/src/SmartTest.package/SmTIcebergLoadedPackagesFilter.class/properties.json deleted file mode 100644 index e685cd0..0000000 --- a/src/SmartTest.package/SmTIcebergLoadedPackagesFilter.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/3/2018 17:58", - "super" : "SmTFilterStrategy", - "category" : "SmartTest-Filter", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTIcebergLoadedPackagesFilter", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodNeedTestsCritique.class/README.md b/src/SmartTest.package/SmTMethodNeedTestsCritique.class/README.md deleted file mode 100644 index 48357e7..0000000 --- a/src/SmartTest.package/SmTMethodNeedTestsCritique.class/README.md +++ /dev/null @@ -1 +0,0 @@ -The critique that explains you need to write test for a method \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/change.st b/src/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/change.st deleted file mode 100644 index 5d9e791..0000000 --- a/src/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/change.st +++ /dev/null @@ -1,2 +0,0 @@ -accessing -change \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/description.st b/src/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/description.st deleted file mode 100644 index 09b485b..0000000 --- a/src/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/description.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -description - ^'You should always test your methods to ensure the fiability of your code' \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/execute.st b/src/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/execute.st deleted file mode 100644 index 71e52fb..0000000 --- a/src/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/execute.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -execute - SmTTestGenerator new generateTestMethodFor: self sourceAnchor entity \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/nameToDisplay.st b/src/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/nameToDisplay.st deleted file mode 100644 index 91073c9..0000000 --- a/src/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/nameToDisplay.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -nameToDisplay - ^ 'Add a Test for ', self sourceAnchor entity name \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/oldVersionTextToDisplay.st b/src/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/oldVersionTextToDisplay.st deleted file mode 100644 index d116e05..0000000 --- a/src/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/oldVersionTextToDisplay.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -oldVersionTextToDisplay - ^'' \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/providesChange.st b/src/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/providesChange.st deleted file mode 100644 index 140b20c..0000000 --- a/src/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/providesChange.st +++ /dev/null @@ -1,3 +0,0 @@ -testing -providesChange - ^true \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/textToDisplay.st b/src/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/textToDisplay.st deleted file mode 100644 index 19220e5..0000000 --- a/src/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/textToDisplay.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -textToDisplay - ^'' \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/title.st b/src/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/title.st deleted file mode 100644 index f9d7034..0000000 --- a/src/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/title.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -title - ^ 'You should write tests for your method' \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/whatToDisplayIn..st b/src/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/whatToDisplayIn..st deleted file mode 100644 index 396c583..0000000 --- a/src/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/whatToDisplayIn..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -whatToDisplayIn: aBrowser - ^ { self } \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodNeedTestsCritique.class/properties.json b/src/SmartTest.package/SmTMethodNeedTestsCritique.class/properties.json deleted file mode 100644 index ec1ee9c..0000000 --- a/src/SmartTest.package/SmTMethodNeedTestsCritique.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "BenoitVerhaeghe 6/28/2017 14:16", - "super" : "SmTNeedTestsCritique", - "category" : "SmartTest-Critiques", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTMethodNeedTestsCritique", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodRelativeTestsCritique.class/README.md b/src/SmartTest.package/SmTMethodRelativeTestsCritique.class/README.md deleted file mode 100644 index 6f27049..0000000 --- a/src/SmartTest.package/SmTMethodRelativeTestsCritique.class/README.md +++ /dev/null @@ -1 +0,0 @@ -The critique that explains you should run test for this method \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodRelativeTestsCritique.class/class/for.by.tests..st b/src/SmartTest.package/SmTMethodRelativeTestsCritique.class/class/for.by.tests..st deleted file mode 100644 index 43eadaf..0000000 --- a/src/SmartTest.package/SmTMethodRelativeTestsCritique.class/class/for.by.tests..st +++ /dev/null @@ -1,5 +0,0 @@ -instance creation -for: anEntity by: aRule tests: aTestList - ^ self basicNew - initializeRule: aRule target: anEntity testsList: aTestList; - yourself \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodRelativeTestsCritique.class/instance/description.st b/src/SmartTest.package/SmTMethodRelativeTestsCritique.class/instance/description.st deleted file mode 100644 index 09b485b..0000000 --- a/src/SmartTest.package/SmTMethodRelativeTestsCritique.class/instance/description.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -description - ^'You should always test your methods to ensure the fiability of your code' \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodRelativeTestsCritique.class/properties.json b/src/SmartTest.package/SmTMethodRelativeTestsCritique.class/properties.json deleted file mode 100644 index e1eb55d..0000000 --- a/src/SmartTest.package/SmTMethodRelativeTestsCritique.class/properties.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "commentStamp" : "BenoitVerhaeghe 6/28/2017 14:16", - "super" : "SmTRelativeTestsCritique", - "category" : "SmartTest-Critiques", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "entity" - ], - "name" : "SmTMethodRelativeTestsCritique", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodTestedOnModificationRule.class/README.md b/src/SmartTest.package/SmTMethodTestedOnModificationRule.class/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/src/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/addToElementBag..st b/src/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/addToElementBag..st deleted file mode 100644 index 6adf3c9..0000000 --- a/src/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/addToElementBag..st +++ /dev/null @@ -1,3 +0,0 @@ -protocol -addToElementBag: anElement - self bag add: anElement \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/bag.st b/src/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/bag.st deleted file mode 100644 index e9fc49d..0000000 --- a/src/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/bag.st +++ /dev/null @@ -1,3 +0,0 @@ -protocol -bag - ^ bag ifNil: [ bag := Bag new ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/disable.st b/src/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/disable.st deleted file mode 100644 index f1b1809..0000000 --- a/src/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/disable.st +++ /dev/null @@ -1,4 +0,0 @@ -protocol -disable - super disable. - SystemAnnouncer uniqueInstance unsubscribe: self \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/enable.st b/src/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/enable.st deleted file mode 100644 index 4b47cdb..0000000 --- a/src/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/enable.st +++ /dev/null @@ -1,7 +0,0 @@ -protocol -enable - super enable. - SystemAnnouncer uniqueInstance unsubscribe: self. - {(MethodModified -> #methodModified:). - (MethodAdded -> #methodAdded:)} - do: [ :pair | SystemAnnouncer uniqueInstance weak when: pair key send: pair value to: self ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/getElementFromBag..st b/src/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/getElementFromBag..st deleted file mode 100644 index f20c88f..0000000 --- a/src/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/getElementFromBag..st +++ /dev/null @@ -1,6 +0,0 @@ -protocol -getElementFromBag: anElement - "return nil if element absent. The object else" - - self bag remove: anElement ifAbsent: [ ^ nil ]. - ^ anElement \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/methodAdded..st b/src/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/methodAdded..st deleted file mode 100644 index b315dbf..0000000 --- a/src/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/methodAdded..st +++ /dev/null @@ -1,3 +0,0 @@ -protocol -methodAdded: anAnnouncement - self addToElementBag: anAnnouncement methodAdded \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/methodModified..st b/src/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/methodModified..st deleted file mode 100644 index c898bac..0000000 --- a/src/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/methodModified..st +++ /dev/null @@ -1,3 +0,0 @@ -protocol -methodModified: anAnnouncement - self addToElementBag: anAnnouncement newMethod \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodTestedOnModificationRule.class/instance/basicCheck..st b/src/SmartTest.package/SmTMethodTestedOnModificationRule.class/instance/basicCheck..st deleted file mode 100644 index 97f8270..0000000 --- a/src/SmartTest.package/SmTMethodTestedOnModificationRule.class/instance/basicCheck..st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -basicCheck: anEntity - ^ (super basicCheck: anEntity) - and: [ (anEntity isKindOf: CompiledMethod) and: [ self class isMethodActivated and: [ (self class getElementFromBag: anEntity) isNotNil ] ] ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodTestedOnModificationRule.class/instance/name.st b/src/SmartTest.package/SmTMethodTestedOnModificationRule.class/instance/name.st deleted file mode 100644 index 3dd299b..0000000 --- a/src/SmartTest.package/SmTMethodTestedOnModificationRule.class/instance/name.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -name - "Answer a human readable name of the rule." - ^ 'SmartTest Method Tested On modification' \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodTestedOnModificationRule.class/properties.json b/src/SmartTest.package/SmTMethodTestedOnModificationRule.class/properties.json deleted file mode 100644 index bc4c570..0000000 --- a/src/SmartTest.package/SmTMethodTestedOnModificationRule.class/properties.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "commentStamp" : "", - "super" : "SmTMethodTestedRule", - "category" : "SmartTest-Rules", - "classinstvars" : [ - "bag" - ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "bag" - ], - "name" : "SmTMethodTestedOnModificationRule", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodTestedRule.class/README.md b/src/SmartTest.package/SmTMethodTestedRule.class/README.md deleted file mode 100644 index dfa0fa1..0000000 --- a/src/SmartTest.package/SmTMethodTestedRule.class/README.md +++ /dev/null @@ -1 +0,0 @@ -I check method tests \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodTestedRule.class/class/checksMethod.st b/src/SmartTest.package/SmTMethodTestedRule.class/class/checksMethod.st deleted file mode 100644 index 6970277..0000000 --- a/src/SmartTest.package/SmTMethodTestedRule.class/class/checksMethod.st +++ /dev/null @@ -1,3 +0,0 @@ -testing-interest -checksMethod - ^ true \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodTestedRule.class/class/disable.st b/src/SmartTest.package/SmTMethodTestedRule.class/class/disable.st deleted file mode 100644 index 32459fd..0000000 --- a/src/SmartTest.package/SmTMethodTestedRule.class/class/disable.st +++ /dev/null @@ -1,2 +0,0 @@ -protocol -disable \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodTestedRule.class/class/enable.st b/src/SmartTest.package/SmTMethodTestedRule.class/class/enable.st deleted file mode 100644 index 861d080..0000000 --- a/src/SmartTest.package/SmTMethodTestedRule.class/class/enable.st +++ /dev/null @@ -1,2 +0,0 @@ -protocol -enable \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodTestedRule.class/class/initialize.st b/src/SmartTest.package/SmTMethodTestedRule.class/class/initialize.st deleted file mode 100644 index 3026617..0000000 --- a/src/SmartTest.package/SmTMethodTestedRule.class/class/initialize.st +++ /dev/null @@ -1,3 +0,0 @@ -testing-interest -initialize - ReRuleManager cleanUp \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodTestedRule.class/class/isMethodActivated.st b/src/SmartTest.package/SmTMethodTestedRule.class/class/isMethodActivated.st deleted file mode 100644 index 37713f1..0000000 --- a/src/SmartTest.package/SmTMethodTestedRule.class/class/isMethodActivated.st +++ /dev/null @@ -1,3 +0,0 @@ -testing-interest -isMethodActivated - ^ self methodActivated and: [ self methodRuleStrategy = self ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodTestedRule.class/class/methodActivated..st b/src/SmartTest.package/SmTMethodTestedRule.class/class/methodActivated..st deleted file mode 100644 index 176ab21..0000000 --- a/src/SmartTest.package/SmTMethodTestedRule.class/class/methodActivated..st +++ /dev/null @@ -1,3 +0,0 @@ -testing-interest -methodActivated: aSelector - MethodActivated := aSelector \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodTestedRule.class/class/methodActivated.st b/src/SmartTest.package/SmTMethodTestedRule.class/class/methodActivated.st deleted file mode 100644 index 08d58ce..0000000 --- a/src/SmartTest.package/SmTMethodTestedRule.class/class/methodActivated.st +++ /dev/null @@ -1,3 +0,0 @@ -testing-interest -methodActivated - ^ MethodActivated ifNil: [ MethodActivated := true ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodTestedRule.class/class/methodRuleStrategy..st b/src/SmartTest.package/SmTMethodTestedRule.class/class/methodRuleStrategy..st deleted file mode 100644 index e9419d7..0000000 --- a/src/SmartTest.package/SmTMethodTestedRule.class/class/methodRuleStrategy..st +++ /dev/null @@ -1,5 +0,0 @@ -accessing -methodRuleStrategy: aMethodRuleStrategy - methodRuleStrategy disable. - methodRuleStrategy := aMethodRuleStrategy. - aMethodRuleStrategy enable \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodTestedRule.class/class/methodRuleStrategy.st b/src/SmartTest.package/SmTMethodTestedRule.class/class/methodRuleStrategy.st deleted file mode 100644 index cfef0a2..0000000 --- a/src/SmartTest.package/SmTMethodTestedRule.class/class/methodRuleStrategy.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -methodRuleStrategy - ^ methodRuleStrategy ifNil: [ methodRuleStrategy := SmTMethodTestedOnModificationRule. methodRuleStrategy enable ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodTestedRule.class/class/settingsOn..st b/src/SmartTest.package/SmTMethodTestedRule.class/class/settingsOn..st deleted file mode 100644 index a3984db..0000000 --- a/src/SmartTest.package/SmTMethodTestedRule.class/class/settingsOn..st +++ /dev/null @@ -1,16 +0,0 @@ -testing-interest -settingsOn: aBuilder - - (aBuilder setting: #methodActivated) - parent: #SmTActivationRenrakuOption; - target: self; - order: 0.2; - label: 'SmartTest method analyse activated'; - description: 'Toogle to activate/disable the analyse for method'. - (aBuilder pickOne: #methodRuleStrategy) - order: 0.3; - parent: #SmTActivationRenrakuOption; - label: 'Method Rule'; - target: self; - domainValues: SmTMethodTestedRule withAllSubclasses; - description: 'Select Rule strategy to begin the research of element' \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodTestedRule.class/class/unload.st b/src/SmartTest.package/SmTMethodTestedRule.class/class/unload.st deleted file mode 100644 index 51f3b8a..0000000 --- a/src/SmartTest.package/SmTMethodTestedRule.class/class/unload.st +++ /dev/null @@ -1,3 +0,0 @@ -initialization-release -unload - self disable \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodTestedRule.class/instance/basicCheck..st b/src/SmartTest.package/SmTMethodTestedRule.class/instance/basicCheck..st deleted file mode 100644 index 6f8642c..0000000 --- a/src/SmartTest.package/SmTMethodTestedRule.class/instance/basicCheck..st +++ /dev/null @@ -1,3 +0,0 @@ -running -basicCheck: anEntity - ^ (super basicCheck: anEntity) and: [ (anEntity isKindOf: CompiledMethod) and: [ self class isMethodActivated ] ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodTestedRule.class/instance/check.forCritiquesDo..st b/src/SmartTest.package/SmTMethodTestedRule.class/instance/check.forCritiquesDo..st deleted file mode 100644 index 63bb6df..0000000 --- a/src/SmartTest.package/SmTMethodTestedRule.class/instance/check.forCritiquesDo..st +++ /dev/null @@ -1,7 +0,0 @@ -enumerating -check: anEntity forCritiquesDo: aCriticBlock - (self basicCheck: anEntity) - ifTrue: [ (self findTestsForMethod: anEntity) isEmpty - ifTrue: [ aCriticBlock value: (SmTMethodNeedTestsCritique for: anEntity by: self) ] - ifFalse: [ aCriticBlock - value: (SmTMethodRelativeTestsCritique for: anEntity by: self tests: self tests) ] ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodTestedRule.class/instance/isVisible.st b/src/SmartTest.package/SmTMethodTestedRule.class/instance/isVisible.st deleted file mode 100644 index 80558d3..0000000 --- a/src/SmartTest.package/SmTMethodTestedRule.class/instance/isVisible.st +++ /dev/null @@ -1,3 +0,0 @@ -running -isVisible - ^ true \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodTestedRule.class/instance/name.st b/src/SmartTest.package/SmTMethodTestedRule.class/instance/name.st deleted file mode 100644 index 5afc357..0000000 --- a/src/SmartTest.package/SmTMethodTestedRule.class/instance/name.st +++ /dev/null @@ -1,3 +0,0 @@ -running -name - ^ 'SmartTest Method Tested' \ No newline at end of file diff --git a/src/SmartTest.package/SmTMethodTestedRule.class/properties.json b/src/SmartTest.package/SmTMethodTestedRule.class/properties.json deleted file mode 100644 index b9625e4..0000000 --- a/src/SmartTest.package/SmTMethodTestedRule.class/properties.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "commentStamp" : "BenoitVerhaeghe 6/28/2017 11:57", - "super" : "SmTRules", - "category" : "SmartTest-Rules", - "classinstvars" : [ - "methodRuleStrategy" - ], - "pools" : [ ], - "classvars" : [ - "MethodActivated" - ], - "instvars" : [ ], - "name" : "SmTMethodTestedRule", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest.package/SmTNeedTestsCritique.class/README.md b/src/SmartTest.package/SmTNeedTestsCritique.class/README.md deleted file mode 100644 index fac3200..0000000 --- a/src/SmartTest.package/SmTNeedTestsCritique.class/README.md +++ /dev/null @@ -1 +0,0 @@ -I represent a critique when there are no tests for an entity \ No newline at end of file diff --git a/src/SmartTest.package/SmTNeedTestsCritique.class/instance/description.st b/src/SmartTest.package/SmTNeedTestsCritique.class/instance/description.st deleted file mode 100644 index f9cc81c..0000000 --- a/src/SmartTest.package/SmTNeedTestsCritique.class/instance/description.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -description - self subclassResponsibility \ No newline at end of file diff --git a/src/SmartTest.package/SmTNeedTestsCritique.class/instance/icon.st b/src/SmartTest.package/SmTNeedTestsCritique.class/instance/icon.st deleted file mode 100644 index c1a5ac0..0000000 --- a/src/SmartTest.package/SmTNeedTestsCritique.class/instance/icon.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -icon - ^#warning asIcon \ No newline at end of file diff --git a/src/SmartTest.package/SmTNeedTestsCritique.class/instance/providesChange.st b/src/SmartTest.package/SmTNeedTestsCritique.class/instance/providesChange.st deleted file mode 100644 index 823c0e5..0000000 --- a/src/SmartTest.package/SmTNeedTestsCritique.class/instance/providesChange.st +++ /dev/null @@ -1,3 +0,0 @@ -testing -providesChange - ^false \ No newline at end of file diff --git a/src/SmartTest.package/SmTNeedTestsCritique.class/instance/title.st b/src/SmartTest.package/SmTNeedTestsCritique.class/instance/title.st deleted file mode 100644 index e531037..0000000 --- a/src/SmartTest.package/SmTNeedTestsCritique.class/instance/title.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -title - self subclassResponsibility \ No newline at end of file diff --git a/src/SmartTest.package/SmTNeedTestsCritique.class/properties.json b/src/SmartTest.package/SmTNeedTestsCritique.class/properties.json deleted file mode 100644 index b2b1fa6..0000000 --- a/src/SmartTest.package/SmTNeedTestsCritique.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "BenoitVerhaeghe 7/4/2017 10:06", - "super" : "ReAbstractCritique", - "category" : "SmartTest-Critiques", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTNeedTestsCritique", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest.package/SmTNoCacheStrategy.class/README.md b/src/SmartTest.package/SmTNoCacheStrategy.class/README.md deleted file mode 100644 index ae56a32..0000000 --- a/src/SmartTest.package/SmTNoCacheStrategy.class/README.md +++ /dev/null @@ -1 +0,0 @@ -This strategy never adds the tests found to the cache. \ No newline at end of file diff --git a/src/SmartTest.package/SmTNoCacheStrategy.class/instance/at..st b/src/SmartTest.package/SmTNoCacheStrategy.class/instance/at..st deleted file mode 100644 index ce8949d..0000000 --- a/src/SmartTest.package/SmTNoCacheStrategy.class/instance/at..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -at: aMethodReference - ^ Set new \ No newline at end of file diff --git a/src/SmartTest.package/SmTNoCacheStrategy.class/instance/at.ifAbsent..st b/src/SmartTest.package/SmTNoCacheStrategy.class/instance/at.ifAbsent..st deleted file mode 100644 index 85485da..0000000 --- a/src/SmartTest.package/SmTNoCacheStrategy.class/instance/at.ifAbsent..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -at: aCompiled ifAbsent: aBlock - ^ aBlock value \ No newline at end of file diff --git a/src/SmartTest.package/SmTNoCacheStrategy.class/instance/at.ifPresent..st b/src/SmartTest.package/SmTNoCacheStrategy.class/instance/at.ifPresent..st deleted file mode 100644 index e532dde..0000000 --- a/src/SmartTest.package/SmTNoCacheStrategy.class/instance/at.ifPresent..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -at: aMethodReference ifPresent: aPresentBlock - ^ nil \ No newline at end of file diff --git a/src/SmartTest.package/SmTNoCacheStrategy.class/instance/at.ifPresent.ifAbsent..st b/src/SmartTest.package/SmTNoCacheStrategy.class/instance/at.ifPresent.ifAbsent..st deleted file mode 100644 index 1790837..0000000 --- a/src/SmartTest.package/SmTNoCacheStrategy.class/instance/at.ifPresent.ifAbsent..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -at: key ifPresent: aPresentBlock ifAbsent: anAbsentBlock - ^ anAbsentBlock value \ No newline at end of file diff --git a/src/SmartTest.package/SmTNoCacheStrategy.class/instance/at.put..st b/src/SmartTest.package/SmTNoCacheStrategy.class/instance/at.put..st deleted file mode 100644 index 4040fef..0000000 --- a/src/SmartTest.package/SmTNoCacheStrategy.class/instance/at.put..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -at: aMethodReference put: aCacheElement - ^ self \ No newline at end of file diff --git a/src/SmartTest.package/SmTNoCacheStrategy.class/instance/currentCache.st b/src/SmartTest.package/SmTNoCacheStrategy.class/instance/currentCache.st deleted file mode 100644 index dc9533e..0000000 --- a/src/SmartTest.package/SmTNoCacheStrategy.class/instance/currentCache.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -currentCache - ^ Dictionary new \ No newline at end of file diff --git a/src/SmartTest.package/SmTNoCacheStrategy.class/instance/relevantTestsFor..st b/src/SmartTest.package/SmTNoCacheStrategy.class/instance/relevantTestsFor..st deleted file mode 100644 index c47ce96..0000000 --- a/src/SmartTest.package/SmTNoCacheStrategy.class/instance/relevantTestsFor..st +++ /dev/null @@ -1,3 +0,0 @@ -private -relevantTestsFor: aCompiledMethod - ^ Set new \ No newline at end of file diff --git a/src/SmartTest.package/SmTNoCacheStrategy.class/instance/searchTestsForMethodReference..st b/src/SmartTest.package/SmTNoCacheStrategy.class/instance/searchTestsForMethodReference..st deleted file mode 100644 index f30a1fa..0000000 --- a/src/SmartTest.package/SmTNoCacheStrategy.class/instance/searchTestsForMethodReference..st +++ /dev/null @@ -1,3 +0,0 @@ -private -searchTestsForMethodReference: aMethodReference - ^ Set new \ No newline at end of file diff --git a/src/SmartTest.package/SmTNoCacheStrategy.class/properties.json b/src/SmartTest.package/SmTNoCacheStrategy.class/properties.json deleted file mode 100644 index d1bc08f..0000000 --- a/src/SmartTest.package/SmTNoCacheStrategy.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/3/2018 10:01", - "super" : "SmTCacheStrategy", - "category" : "SmartTest-Cache", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTNoCacheStrategy", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest.package/SmTNoFilter.class/README.md b/src/SmartTest.package/SmTNoFilter.class/README.md deleted file mode 100644 index a22b544..0000000 --- a/src/SmartTest.package/SmTNoFilter.class/README.md +++ /dev/null @@ -1 +0,0 @@ -This filter is "useless" because it does not filter anything: it looks everywhere in the image \ No newline at end of file diff --git a/src/SmartTest.package/SmTNoFilter.class/instance/shouldEntityBeFilteredOut.inPackages..st b/src/SmartTest.package/SmTNoFilter.class/instance/shouldEntityBeFilteredOut.inPackages..st deleted file mode 100644 index cd37653..0000000 --- a/src/SmartTest.package/SmTNoFilter.class/instance/shouldEntityBeFilteredOut.inPackages..st +++ /dev/null @@ -1,5 +0,0 @@ -asserting -shouldEntityBeFilteredOut: anEntity inPackages: anObject - "(anEntity methodClass allCallsOn collect: #ciPackage) not." - - ^ false \ No newline at end of file diff --git a/src/SmartTest.package/SmTNoFilter.class/properties.json b/src/SmartTest.package/SmTNoFilter.class/properties.json deleted file mode 100644 index c2bbcf0..0000000 --- a/src/SmartTest.package/SmTNoFilter.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/3/2018 17:59", - "super" : "SmTFilterStrategy", - "category" : "SmartTest-Filter", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTNoFilter", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/README.md b/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/README.md deleted file mode 100644 index ec5d680..0000000 --- a/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/README.md +++ /dev/null @@ -1,2 +0,0 @@ -I'm a dynamic finder. -I use the meta link to discover the coverage of Test \ No newline at end of file diff --git a/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/class/isConcreteFinder.st b/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/class/isConcreteFinder.st deleted file mode 100644 index 37fb41d..0000000 --- a/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/class/isConcreteFinder.st +++ /dev/null @@ -1,3 +0,0 @@ -testing -isConcreteFinder - ^ true \ No newline at end of file diff --git a/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/analyseAndRemoveProxyFor..st b/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/analyseAndRemoveProxyFor..st deleted file mode 100644 index e7eebe3..0000000 --- a/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/analyseAndRemoveProxyFor..st +++ /dev/null @@ -1,3 +0,0 @@ -api -analyseAndRemoveProxyFor: aTestCase - MetaLink uninstallAll \ No newline at end of file diff --git a/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/buildCacheFromTestSuite..st b/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/buildCacheFromTestSuite..st deleted file mode 100644 index 77049d9..0000000 --- a/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/buildCacheFromTestSuite..st +++ /dev/null @@ -1,4 +0,0 @@ -api -buildCacheFromTestSuite: aTestSuite - aTestSuite flatCollectTests do: [ :aTestCase | self installProxyFor: aTestCase. aTestCase run ]. - MetaLink uninstallAll \ No newline at end of file diff --git a/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/collectAllRelativePackages..st b/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/collectAllRelativePackages..st deleted file mode 100644 index 4518d8a..0000000 --- a/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/collectAllRelativePackages..st +++ /dev/null @@ -1,3 +0,0 @@ -search -collectAllRelativePackages: aByteString - ^ RPackageOrganizer default packages select: [ :a | (self filter extractPackageBaseName: a packageName) = aByteString ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/collectRelativeTestMethodOfMethods..st b/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/collectRelativeTestMethodOfMethods..st deleted file mode 100644 index 11d57b9..0000000 --- a/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/collectRelativeTestMethodOfMethods..st +++ /dev/null @@ -1,7 +0,0 @@ -search -collectRelativeTestMethodOfMethods: methods - ^ (((methods collect: [ :aMethod | aMethod asTestMethod ]) - select: [ :aTestMethod | aTestMethod isNotNil ]) - reject: [ :aTestMethod | self isCORAMethodBlacklisted: aTestMethod ]) - asSet - collect: [ :method | method methodClass selector: method selector ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/extractCompiledMethodFromReceiver.andSelector..st b/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/extractCompiledMethodFromReceiver.andSelector..st deleted file mode 100644 index a2c0813..0000000 --- a/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/extractCompiledMethodFromReceiver.andSelector..st +++ /dev/null @@ -1,4 +0,0 @@ -api -extractCompiledMethodFromReceiver: receiver andSelector: selector - " (self class environment at: aSendNode receiver methodNode compiledMethod) lookupSelector: aSendNode selector" - ^ receiver class lookupSelector: selector \ No newline at end of file diff --git a/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/extractCurrentTestExecutionFromContext..st b/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/extractCurrentTestExecutionFromContext..st deleted file mode 100644 index 3eea595..0000000 --- a/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/extractCurrentTestExecutionFromContext..st +++ /dev/null @@ -1,6 +0,0 @@ -api -extractCurrentTestExecutionFromContext: ctxt - | aTestCase aCompiledTestCase | - aTestCase := ctxt arguments at: 1. - aCompiledTestCase := aTestCase class >> aTestCase selector. - ^ aCompiledTestCase compiledMethod \ No newline at end of file diff --git a/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/initializeLink.st b/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/initializeLink.st deleted file mode 100644 index 108907a..0000000 --- a/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/initializeLink.st +++ /dev/null @@ -1,14 +0,0 @@ -initialization -initializeLink - | link | - link := MetaLink new - metaObject: [ :ctxt | - | aCompiledTestCase | - aCompiledTestCase := self extractCurrentTestExecutionFromContext: ctxt. - self initializeLinkInCompiledMethod: aCompiledTestCase. - self currentTestExecution: aCompiledTestCase ]; - selector: #value:; - arguments: #(context); - level: 0; - optionOneShot: true. - (TestExecutionEnvironment >> #runTestCase:) ast link: link \ No newline at end of file diff --git a/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/initializeLinkInCompiledMethod..st b/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/initializeLinkInCompiledMethod..st deleted file mode 100644 index 16f53cc..0000000 --- a/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/initializeLinkInCompiledMethod..st +++ /dev/null @@ -1,15 +0,0 @@ -initialization -initializeLinkInCompiledMethod: aCompiledMethod - | link | - link := MetaLink new - metaObject: [ :receiver :selector | - | receiverCompiledMethod | - receiverCompiledMethod := self extractCompiledMethodFromReceiver: receiver andSelector: selector. - (self isCompiledMethod: receiverCompiledMethod alreadyExploredForTest: self currentTestExecution) - ifFalse: [ self initializeLinkInCompiledMethod: receiverCompiledMethod ]. - self addATest: self currentTestExecution toMethod: receiverCompiledMethod ]; - selector: #value:value:; - arguments: #(receiver selector); - level: 0; - optionOneShot: true. - aCompiledMethod sendNodes do: [ :node | node link: link ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/installLinkAndRunTest..st b/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/installLinkAndRunTest..st deleted file mode 100644 index b33c55b..0000000 --- a/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/installLinkAndRunTest..st +++ /dev/null @@ -1,9 +0,0 @@ -api -installLinkAndRunTest: aTestMethod - | testEnv | - self currentTestExecution: aTestMethod. - self initializeLinkInCompiledMethod: (aTestMethod class >> aTestMethod selector). - - testEnv := TestExecutionEnvironment new. - [testEnv beActiveDuring: [ - testEnv runTestCase: aTestMethod]] on: Exception do: [ ]. \ No newline at end of file diff --git a/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/installProxyFor..st b/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/installProxyFor..st deleted file mode 100644 index 91f5b58..0000000 --- a/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/installProxyFor..st +++ /dev/null @@ -1,5 +0,0 @@ -api -installProxyFor: aTestCase - self currentTestExecution: aTestCase. - self addATest: aTestCase toMethod: aTestCase. - self initializeLinkInCompiledMethod: aTestCase class >> aTestCase selector \ No newline at end of file diff --git a/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/isCORAMethodBlacklisted..st b/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/isCORAMethodBlacklisted..st deleted file mode 100644 index b5ebb25..0000000 --- a/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/isCORAMethodBlacklisted..st +++ /dev/null @@ -1,3 +0,0 @@ -testing -isCORAMethodBlacklisted: aCompiledMethod - ^ (aCompiledMethod pragmaAt: #CORATestBlacklisted) isNotNil \ No newline at end of file diff --git a/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/isCompiledMethod.alreadyExploredForTest..st b/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/isCompiledMethod.alreadyExploredForTest..st deleted file mode 100644 index 1c9c5d0..0000000 --- a/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/isCompiledMethod.alreadyExploredForTest..st +++ /dev/null @@ -1,6 +0,0 @@ -testing -isCompiledMethod: receiverCompiledMethod alreadyExploredForTest: testInstance - self cache - at: receiverCompiledMethod methodReference - ifPresent: [ :aSetOfTestInstance | ^ aSetOfTestInstance includes: (testInstance class >> testInstance selector) methodReference ] - ifAbsent: [ ^ false ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/methodsInSimilarPackageAs..st b/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/methodsInSimilarPackageAs..st deleted file mode 100644 index 3a33eaf..0000000 --- a/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/methodsInSimilarPackageAs..st +++ /dev/null @@ -1,8 +0,0 @@ -private -methodsInSimilarPackageAs: aCompiledMethod - - | packageBaseName packages | - packageBaseName := self filter extractCompiledMethodPackageBaseName: aCompiledMethod. - packages := self collectAllRelativePackages: packageBaseName. - ^ packages - flatCollect: [ :aPackage | aPackage package correspondingRPackage methods ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/searchRelativeTestForMethod..st b/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/searchRelativeTestForMethod..st deleted file mode 100644 index d860b54..0000000 --- a/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/searchRelativeTestForMethod..st +++ /dev/null @@ -1,11 +0,0 @@ -search -searchRelativeTestForMethod: aCompiledMethod - "Search for only one package and NOT relative others method" - - | methods | - - methods := self methodsInSimilarPackageAs: aCompiledMethod. - ((self collectRelativeTestMethodOfMethods: methods) asOrderedCollection sort: [ :a :b | a printString < b printString ]) - do: [ :aTestMethod | self installLinkAndRunTest: aTestMethod ] - displayingProgress: [ :aClass | 'Processing ' , aClass asString ] - every: 1 \ No newline at end of file diff --git a/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/searchTestsForAStandardMethod..st b/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/searchTestsForAStandardMethod..st deleted file mode 100644 index b7f774b..0000000 --- a/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/searchTestsForAStandardMethod..st +++ /dev/null @@ -1,6 +0,0 @@ -private -searchTestsForAStandardMethod: aCompiledMethod - self cache - at: aCompiledMethod methodReference - ifAbsent: [ self searchRelativeTestForMethod: aCompiledMethod ]. - ^ (self searchTestsForMethod: aCompiledMethod) collect: #compiledMethod \ No newline at end of file diff --git a/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/properties.json b/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/properties.json deleted file mode 100644 index 0d9c006..0000000 --- a/src/SmartTest.package/SmTReflectivityTestFinderStrategy.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/2/2018 13:42", - "super" : "SmTTestFinderDynamicStrategy", - "category" : "SmartTest-Finder", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTReflectivityTestFinderStrategy", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest.package/SmTRelativeTestsCritique.class/README.md b/src/SmartTest.package/SmTRelativeTestsCritique.class/README.md deleted file mode 100644 index 56ceb36..0000000 --- a/src/SmartTest.package/SmTRelativeTestsCritique.class/README.md +++ /dev/null @@ -1 +0,0 @@ -I represent a critique when there are tests to run for an entity \ No newline at end of file diff --git a/src/SmartTest.package/SmTRelativeTestsCritique.class/class/for.by.tests..st b/src/SmartTest.package/SmTRelativeTestsCritique.class/class/for.by.tests..st deleted file mode 100644 index 43eadaf..0000000 --- a/src/SmartTest.package/SmTRelativeTestsCritique.class/class/for.by.tests..st +++ /dev/null @@ -1,5 +0,0 @@ -instance creation -for: anEntity by: aRule tests: aTestList - ^ self basicNew - initializeRule: aRule target: anEntity testsList: aTestList; - yourself \ No newline at end of file diff --git a/src/SmartTest.package/SmTRelativeTestsCritique.class/instance/actions.st b/src/SmartTest.package/SmTRelativeTestsCritique.class/instance/actions.st deleted file mode 100644 index 883d9d8..0000000 --- a/src/SmartTest.package/SmTRelativeTestsCritique.class/instance/actions.st +++ /dev/null @@ -1,10 +0,0 @@ -actions -actions - ^ super actions - copyWith: - (RePropertyAction new - icon: #smallWindow asIcon; - description: 'Open Tests Selection'; - action: - [ :crit :package | self openTestsWindowWith: tests ]; - yourself) \ No newline at end of file diff --git a/src/SmartTest.package/SmTRelativeTestsCritique.class/instance/description.st b/src/SmartTest.package/SmTRelativeTestsCritique.class/instance/description.st deleted file mode 100644 index f9cc81c..0000000 --- a/src/SmartTest.package/SmTRelativeTestsCritique.class/instance/description.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -description - self subclassResponsibility \ No newline at end of file diff --git a/src/SmartTest.package/SmTRelativeTestsCritique.class/instance/icon.st b/src/SmartTest.package/SmTRelativeTestsCritique.class/instance/icon.st deleted file mode 100644 index 55351b3..0000000 --- a/src/SmartTest.package/SmTRelativeTestsCritique.class/instance/icon.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -icon - - ^#smallInfo asIcon \ No newline at end of file diff --git a/src/SmartTest.package/SmTRelativeTestsCritique.class/instance/iconicButtons.st b/src/SmartTest.package/SmTRelativeTestsCritique.class/instance/iconicButtons.st deleted file mode 100644 index 1b8a590..0000000 --- a/src/SmartTest.package/SmTRelativeTestsCritique.class/instance/iconicButtons.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -iconicButtons - self testButton: (SmTIconFabric createIconForMethods: self tests). - ^ {self testButton} \ No newline at end of file diff --git a/src/SmartTest.package/SmTRelativeTestsCritique.class/instance/initializeRule.target.testsList..st b/src/SmartTest.package/SmTRelativeTestsCritique.class/instance/initializeRule.target.testsList..st deleted file mode 100644 index edae14b..0000000 --- a/src/SmartTest.package/SmTRelativeTestsCritique.class/instance/initializeRule.target.testsList..st +++ /dev/null @@ -1,4 +0,0 @@ -initialization -initializeRule: aRule target: anEntity testsList: aTestList - self initializeRule: aRule target: anEntity. - tests := aTestList \ No newline at end of file diff --git a/src/SmartTest.package/SmTRelativeTestsCritique.class/instance/openTestsWindowWith..st b/src/SmartTest.package/SmTRelativeTestsCritique.class/instance/openTestsWindowWith..st deleted file mode 100644 index 6f45cca..0000000 --- a/src/SmartTest.package/SmTRelativeTestsCritique.class/instance/openTestsWindowWith..st +++ /dev/null @@ -1,6 +0,0 @@ -actions -openTestsWindowWith: aTestList - | ui | - ui := SmTAutoTestsWindows new. - ui setList: aTestList. - ui openWithSpec. \ No newline at end of file diff --git a/src/SmartTest.package/SmTRelativeTestsCritique.class/instance/providesChange.st b/src/SmartTest.package/SmTRelativeTestsCritique.class/instance/providesChange.st deleted file mode 100644 index 823c0e5..0000000 --- a/src/SmartTest.package/SmTRelativeTestsCritique.class/instance/providesChange.st +++ /dev/null @@ -1,3 +0,0 @@ -testing -providesChange - ^false \ No newline at end of file diff --git a/src/SmartTest.package/SmTRelativeTestsCritique.class/instance/testButton..st b/src/SmartTest.package/SmTRelativeTestsCritique.class/instance/testButton..st deleted file mode 100644 index 112f67d..0000000 --- a/src/SmartTest.package/SmTRelativeTestsCritique.class/instance/testButton..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -testButton: anObject - testButton := anObject \ No newline at end of file diff --git a/src/SmartTest.package/SmTRelativeTestsCritique.class/instance/testButton.st b/src/SmartTest.package/SmTRelativeTestsCritique.class/instance/testButton.st deleted file mode 100644 index e6c1b88..0000000 --- a/src/SmartTest.package/SmTRelativeTestsCritique.class/instance/testButton.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -testButton - ^ testButton \ No newline at end of file diff --git a/src/SmartTest.package/SmTRelativeTestsCritique.class/instance/tests..st b/src/SmartTest.package/SmTRelativeTestsCritique.class/instance/tests..st deleted file mode 100644 index 36f35ea..0000000 --- a/src/SmartTest.package/SmTRelativeTestsCritique.class/instance/tests..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -tests: anObject - tests := anObject \ No newline at end of file diff --git a/src/SmartTest.package/SmTRelativeTestsCritique.class/instance/tests.st b/src/SmartTest.package/SmTRelativeTestsCritique.class/instance/tests.st deleted file mode 100644 index a473a35..0000000 --- a/src/SmartTest.package/SmTRelativeTestsCritique.class/instance/tests.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -tests - ^ tests \ No newline at end of file diff --git a/src/SmartTest.package/SmTRelativeTestsCritique.class/instance/title.st b/src/SmartTest.package/SmTRelativeTestsCritique.class/instance/title.st deleted file mode 100644 index 096fe81..0000000 --- a/src/SmartTest.package/SmTRelativeTestsCritique.class/instance/title.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -title - ^ 'You should run these tests' \ No newline at end of file diff --git a/src/SmartTest.package/SmTRelativeTestsCritique.class/properties.json b/src/SmartTest.package/SmTRelativeTestsCritique.class/properties.json deleted file mode 100644 index 8d544ee..0000000 --- a/src/SmartTest.package/SmTRelativeTestsCritique.class/properties.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "commentStamp" : "BenoitVerhaeghe 7/4/2017 10:06", - "super" : "ReAbstractCritique", - "category" : "SmartTest-Critiques", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "tests", - "testButton" - ], - "name" : "SmTRelativeTestsCritique", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest.package/SmTRules.class/README.md b/src/SmartTest.package/SmTRules.class/README.md deleted file mode 100644 index 6315e87..0000000 --- a/src/SmartTest.package/SmTRules.class/README.md +++ /dev/null @@ -1 +0,0 @@ -I represent a kind of CORA structure \ No newline at end of file diff --git a/src/SmartTest.package/SmTRules.class/class/activated..st b/src/SmartTest.package/SmTRules.class/class/activated..st deleted file mode 100644 index 5c94b9e..0000000 --- a/src/SmartTest.package/SmTRules.class/class/activated..st +++ /dev/null @@ -1,3 +0,0 @@ -settings -activated: aSelector - ^ Activated := aSelector \ No newline at end of file diff --git a/src/SmartTest.package/SmTRules.class/class/activated.st b/src/SmartTest.package/SmTRules.class/class/activated.st deleted file mode 100644 index 75af3dc..0000000 --- a/src/SmartTest.package/SmTRules.class/class/activated.st +++ /dev/null @@ -1,3 +0,0 @@ -settings -activated - ^ Activated ifNil: [ Activated := true ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTRules.class/class/cacheStrategy..st b/src/SmartTest.package/SmTRules.class/class/cacheStrategy..st deleted file mode 100644 index 2b3db01..0000000 --- a/src/SmartTest.package/SmTRules.class/class/cacheStrategy..st +++ /dev/null @@ -1,4 +0,0 @@ -settings -cacheStrategy: aSelector - self testFinder cacheStrategy: aSelector new. - ^ smTCache := aSelector \ No newline at end of file diff --git a/src/SmartTest.package/SmTRules.class/class/cacheStrategy.st b/src/SmartTest.package/SmTRules.class/class/cacheStrategy.st deleted file mode 100644 index 712f025..0000000 --- a/src/SmartTest.package/SmTRules.class/class/cacheStrategy.st +++ /dev/null @@ -1,3 +0,0 @@ -settings -cacheStrategy - ^ smTCache ifNil: [ smTCache := SmTBasicCacheStrategy ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTRules.class/class/fillCache.st b/src/SmartTest.package/SmTRules.class/class/fillCache.st deleted file mode 100644 index 40e803d..0000000 --- a/src/SmartTest.package/SmTRules.class/class/fillCache.st +++ /dev/null @@ -1,5 +0,0 @@ -instance creation -fillCache - SmTSelectPackageBrowser openWithSmartFinder: self testFinder - - \ No newline at end of file diff --git a/src/SmartTest.package/SmTRules.class/class/filter..st b/src/SmartTest.package/SmTRules.class/class/filter..st deleted file mode 100644 index 8aa4c30..0000000 --- a/src/SmartTest.package/SmTRules.class/class/filter..st +++ /dev/null @@ -1,5 +0,0 @@ -settings -filter: aSelector - self testFinder filter: aSelector new. - self propagateRegexToTestFinder. - ^ smTFilter := aSelector \ No newline at end of file diff --git a/src/SmartTest.package/SmTRules.class/class/filter.st b/src/SmartTest.package/SmTRules.class/class/filter.st deleted file mode 100644 index 8e793e2..0000000 --- a/src/SmartTest.package/SmTRules.class/class/filter.st +++ /dev/null @@ -1,3 +0,0 @@ -settings -filter - ^ smTFilter ifNil: [ smTFilter := SmTIcebergLoadedPackagesFilter ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTRules.class/class/finder..st b/src/SmartTest.package/SmTRules.class/class/finder..st deleted file mode 100644 index b8c687d..0000000 --- a/src/SmartTest.package/SmTRules.class/class/finder..st +++ /dev/null @@ -1,5 +0,0 @@ -settings -finder: aSelector - smTFinder := aSelector. - self testFinder smtFinder: aSelector new. - ^ smTFinder \ No newline at end of file diff --git a/src/SmartTest.package/SmTRules.class/class/finder.st b/src/SmartTest.package/SmTRules.class/class/finder.st deleted file mode 100644 index 4aadb8a..0000000 --- a/src/SmartTest.package/SmTRules.class/class/finder.st +++ /dev/null @@ -1,3 +0,0 @@ -settings -finder - ^ smTFinder ifNil: [ smTFinder := SmTSenderTestFinderStrategy ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTRules.class/class/packagesRegex..st b/src/SmartTest.package/SmTRules.class/class/packagesRegex..st deleted file mode 100644 index 3e917be..0000000 --- a/src/SmartTest.package/SmTRules.class/class/packagesRegex..st +++ /dev/null @@ -1,4 +0,0 @@ -settings -packagesRegex: aRegexStringCollection - collectionOfRegex := aRegexStringCollection. - self propagateRegexToTestFinder. \ No newline at end of file diff --git a/src/SmartTest.package/SmTRules.class/class/packagesRegex.st b/src/SmartTest.package/SmTRules.class/class/packagesRegex.st deleted file mode 100644 index 03131c4..0000000 --- a/src/SmartTest.package/SmTRules.class/class/packagesRegex.st +++ /dev/null @@ -1,3 +0,0 @@ -settings -packagesRegex -^ collectionOfRegex ifNil: [ collectionOfRegex := '' ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTRules.class/class/propagateRegexToTestFinder.st b/src/SmartTest.package/SmTRules.class/class/propagateRegexToTestFinder.st deleted file mode 100644 index 8604048..0000000 --- a/src/SmartTest.package/SmTRules.class/class/propagateRegexToTestFinder.st +++ /dev/null @@ -1,4 +0,0 @@ -settings -propagateRegexToTestFinder - self testFinder filter class = SmTSpecifyPackagesNameFilter - ifTrue: [ self testFinder filter packagesRegex: self packagesRegex ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTRules.class/class/runner..st b/src/SmartTest.package/SmTRules.class/class/runner..st deleted file mode 100644 index 9336ee1..0000000 --- a/src/SmartTest.package/SmTRules.class/class/runner..st +++ /dev/null @@ -1,4 +0,0 @@ -settings -runner: aSelector - smTTestRunner := aSelector. - self testFinder testRunner: aSelector \ No newline at end of file diff --git a/src/SmartTest.package/SmTRules.class/class/runner.st b/src/SmartTest.package/SmTRules.class/class/runner.st deleted file mode 100644 index 1705755..0000000 --- a/src/SmartTest.package/SmTRules.class/class/runner.st +++ /dev/null @@ -1,3 +0,0 @@ -settings -runner - ^ smTTestRunner ifNil: [ smTTestRunner := SmTRunnerStrategySmart ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTRules.class/class/settingsOn..st b/src/SmartTest.package/SmTRules.class/class/settingsOn..st deleted file mode 100644 index 16cea8e..0000000 --- a/src/SmartTest.package/SmTRules.class/class/settingsOn..st +++ /dev/null @@ -1,97 +0,0 @@ -settings -settingsOn: aBuilder - - (aBuilder group: #SmartTest) - with: [ (aBuilder group: #SmartFinder) - order: 7; - with: [ (aBuilder pickOne: #finder) - order: 0; - label: 'SmartTest finder'; - target: self; - parent: #SmartFinder; - domainValues: (SmTTestFinderStrategy allSubclasses select: #isConcreteFinder); - description: 'The finder defines how CORA searchs the relative test of a method'. - (aBuilder pickOne: #cacheStrategy) - order: 2; - label: 'SmartTest Cache'; - target: self; - parent: #SmartFinder; - domainValues: SmTCacheStrategy allSubclasses; - description: - 'To visualize the current cache - SmTCacheSettings cache new currentCache'. - (aBuilder pickOne: #runner) - order: 3; - label: 'SmartTest test runner'; - target: self; - parent: #SmartFinder; - domainValues: SmTRunnerStrategy allSubclasses; - description: 'The test runner defines if the tests are run in a debug way or not'. - (aBuilder pickOne: #strategy) - order: 1; - label: 'SmartTest testing strategy'; - target: self; - parent: #SmartFinder; - domainValues: SmTTestingStrategy allSubclasses; - description: 'The testing strategy defines when SmartTest will run the test it has found.'. - (aBuilder pickOne: #filter) - order: 0.5; - label: 'SmartTest filter'; - target: self; - parent: #SmTFilter; - domainValues: SmTFilterStrategy allSubclasses; - description: 'The testing strategy defines when SmartTest will run the test it has found.' ]. - (aBuilder setting: #packagesRegex) - label: 'SmartTest filter Regex configuration'; - target: self; - parent: #SmTFilter; - ghostHelp: 'SmartTe|Star*Wnrs'; - notInStyle; - default: ''; - description: - 'Change the value to scope the package you want to explore. -If you want to check the packages are well detected,run - SmTFilterSpecifyPackageSettings selectedPackage'. - (aBuilder group: #SmTActivationRenrakuOption) - order: 6; - with: [ (aBuilder setting: #activated) - target: self; - order: 0.01; - label: 'SmartTest Reneraku Integration Activated'; - description: 'Toogle to activate/disable the reneraku integration of the plugin' ]. - (aBuilder setting: #shouldTryToFindTestForDynamic) - parent: 'Beta'; - target: self; - order: 0.04; - label: 'Try to find for Dynamic '; - description: - 'When you click in a method, and have selected a Dynamix finder, we''''are updating the cache for it execution - (BETA)'. - (aBuilder group: #fill) - label: 'Fill cache'; - target: self; - parent: #Beta; - dialog: [ SimpleButtonMorph new - target: self; - label: 'Fill cache'; - actionSelector: #fillCache; - themeChanged; - yourself ]; - description: 'Fill the cache with selected package' ]. - (aBuilder group: #reset) - label: 'Reset Cache'; - target: self; - parent: #SmartTest; - order: 9; - dialog: [ SimpleButtonMorph new - target: self testFinder; - label: 'Reset Current SmartTest Cache'; - actionSelector: #resetCache; - themeChanged; - yourself ]; - description: - 'Reset the cache of SmartTest - SmTRules testFinder currentCache'. - (aBuilder group: #Beta) - parent: #SmartTest; - order: 10 \ No newline at end of file diff --git a/src/SmartTest.package/SmTRules.class/class/shouldTryToFindTestForDynamic..st b/src/SmartTest.package/SmTRules.class/class/shouldTryToFindTestForDynamic..st deleted file mode 100644 index 20e024b..0000000 --- a/src/SmartTest.package/SmTRules.class/class/shouldTryToFindTestForDynamic..st +++ /dev/null @@ -1,4 +0,0 @@ -instance creation -shouldTryToFindTestForDynamic: aBoolean - shouldTryToFindTestForDynamic := aBoolean. - self testFinder shouldTryToFindTestForDynamic: aBoolean. \ No newline at end of file diff --git a/src/SmartTest.package/SmTRules.class/class/shouldTryToFindTestForDynamic.st b/src/SmartTest.package/SmTRules.class/class/shouldTryToFindTestForDynamic.st deleted file mode 100644 index 468604a..0000000 --- a/src/SmartTest.package/SmTRules.class/class/shouldTryToFindTestForDynamic.st +++ /dev/null @@ -1,3 +0,0 @@ -instance creation -shouldTryToFindTestForDynamic - ^ shouldTryToFindTestForDynamic ifNil: [ shouldTryToFindTestForDynamic := true ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTRules.class/class/strategy..st b/src/SmartTest.package/SmTRules.class/class/strategy..st deleted file mode 100644 index b52bbd5..0000000 --- a/src/SmartTest.package/SmTRules.class/class/strategy..st +++ /dev/null @@ -1,4 +0,0 @@ -settings -strategy: aSelector - smTClassTestingStrategy := aSelector. - self testFinder testingStrategy: aSelector new \ No newline at end of file diff --git a/src/SmartTest.package/SmTRules.class/class/strategy.st b/src/SmartTest.package/SmTRules.class/class/strategy.st deleted file mode 100644 index 6f9d9dd..0000000 --- a/src/SmartTest.package/SmTRules.class/class/strategy.st +++ /dev/null @@ -1,3 +0,0 @@ -settings -strategy - ^ smTClassTestingStrategy ifNil: [ smTClassTestingStrategy := SmTTestingStrategyEachModification ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTRules.class/class/testFinder..st b/src/SmartTest.package/SmTRules.class/class/testFinder..st deleted file mode 100644 index cd3be6d..0000000 --- a/src/SmartTest.package/SmTRules.class/class/testFinder..st +++ /dev/null @@ -1,5 +0,0 @@ -instance creation -testFinder: aSmTSmartFinder - "It should be used only for tests" - - SmTSmartFinder := aSmTSmartFinder \ No newline at end of file diff --git a/src/SmartTest.package/SmTRules.class/class/testFinder.st b/src/SmartTest.package/SmTRules.class/class/testFinder.st deleted file mode 100644 index 752b452..0000000 --- a/src/SmartTest.package/SmTRules.class/class/testFinder.st +++ /dev/null @@ -1,9 +0,0 @@ -instance creation -testFinder - ^ SmTSmartFinder ifNil: [ SmTSmartFinder := SmartFinder new - cacheStrategy: self cacheStrategy new; - filter: self filter new; - testRunner: self runner; - smtFinder: self finder new; - testingStrategy: self strategy new; - shouldTryToFindTestForDynamic: self shouldTryToFindTestForDynamic ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTRules.class/class/unload.st b/src/SmartTest.package/SmTRules.class/class/unload.st deleted file mode 100644 index e3b94ca..0000000 --- a/src/SmartTest.package/SmTRules.class/class/unload.st +++ /dev/null @@ -1,3 +0,0 @@ -initialize - release -unload - self testFinder clean \ No newline at end of file diff --git a/src/SmartTest.package/SmTRules.class/instance/activated.st b/src/SmartTest.package/SmTRules.class/instance/activated.st deleted file mode 100644 index 23fa300..0000000 --- a/src/SmartTest.package/SmTRules.class/instance/activated.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -activated - ^ self class activated \ No newline at end of file diff --git a/src/SmartTest.package/SmTRules.class/instance/basicCheck..st b/src/SmartTest.package/SmTRules.class/instance/basicCheck..st deleted file mode 100644 index 1957c26..0000000 --- a/src/SmartTest.package/SmTRules.class/instance/basicCheck..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -basicCheck: anEntity - ^ self activated and: [ self isOnNautilusOrCalypso ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTRules.class/instance/findTestsForMethod..st b/src/SmartTest.package/SmTRules.class/instance/findTestsForMethod..st deleted file mode 100644 index 2a81bcf..0000000 --- a/src/SmartTest.package/SmTRules.class/instance/findTestsForMethod..st +++ /dev/null @@ -1,3 +0,0 @@ -initialize-release -findTestsForMethod: aCompiledMethod - ^ tests := self class testFinder findTestsForMethod: aCompiledMethod \ No newline at end of file diff --git a/src/SmartTest.package/SmTRules.class/instance/isOnNautilusOrCalypso.st b/src/SmartTest.package/SmTRules.class/instance/isOnNautilusOrCalypso.st deleted file mode 100644 index 2aaade6..0000000 --- a/src/SmartTest.package/SmTRules.class/instance/isOnNautilusOrCalypso.st +++ /dev/null @@ -1,6 +0,0 @@ -accessing -isOnNautilusOrCalypso - "20 items means at least Nautilus" - | he | - he := thisContext stack collect: [ :c | c methodClass asString ] . - ^ he anySatisfy: [:el | 'ClyNavigationEnvironment' match: el] \ No newline at end of file diff --git a/src/SmartTest.package/SmTRules.class/instance/isVisible.st b/src/SmartTest.package/SmTRules.class/instance/isVisible.st deleted file mode 100644 index d343d46..0000000 --- a/src/SmartTest.package/SmTRules.class/instance/isVisible.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -isVisible - ^ false \ No newline at end of file diff --git a/src/SmartTest.package/SmTRules.class/instance/severity.st b/src/SmartTest.package/SmTRules.class/instance/severity.st deleted file mode 100644 index 77a1f44..0000000 --- a/src/SmartTest.package/SmTRules.class/instance/severity.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -severity - - ^ #information \ No newline at end of file diff --git a/src/SmartTest.package/SmTRules.class/instance/tests.st b/src/SmartTest.package/SmTRules.class/instance/tests.st deleted file mode 100644 index a473a35..0000000 --- a/src/SmartTest.package/SmTRules.class/instance/tests.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -tests - ^ tests \ No newline at end of file diff --git a/src/SmartTest.package/SmTRules.class/properties.json b/src/SmartTest.package/SmTRules.class/properties.json deleted file mode 100644 index 149b0e7..0000000 --- a/src/SmartTest.package/SmTRules.class/properties.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "commentStamp" : "BenoitVerhaeghe 7/13/2017 14:21", - "super" : "ReAbstractRule", - "category" : "SmartTest-Rules", - "classinstvars" : [ - "shouldTryToFindTestForDynamic", - "activated", - "smTCache", - "smTClassTestingStrategy", - "smTFilter", - "smTFinder", - "smTTestRunner", - "collectionOfRegex" - ], - "pools" : [ ], - "classvars" : [ - "Activated", - "SmTSmartFinder" - ], - "instvars" : [ - "tests" - ], - "name" : "SmTRules", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest.package/SmTRunnerStrategy.class/README.md b/src/SmartTest.package/SmTRunnerStrategy.class/README.md deleted file mode 100644 index 06f2095..0000000 --- a/src/SmartTest.package/SmTRunnerStrategy.class/README.md +++ /dev/null @@ -1 +0,0 @@ -I'm a tool which help the plugin to run tests and return the result of them \ No newline at end of file diff --git a/src/SmartTest.package/SmTRunnerStrategy.class/class/colorForTestResultOf..st b/src/SmartTest.package/SmTRunnerStrategy.class/class/colorForTestResultOf..st deleted file mode 100644 index e1be221..0000000 --- a/src/SmartTest.package/SmTRunnerStrategy.class/class/colorForTestResultOf..st +++ /dev/null @@ -1,9 +0,0 @@ -accessing -colorForTestResultOf: aTestResult - aTestResult hasErrors - ifTrue: [ ^ Color red ]. - aTestResult hasFailures - ifTrue: [ ^ Color yellow]. - aTestResult hasPassed - ifTrue: [ ^ Color green ]. - ^ Color gray \ No newline at end of file diff --git a/src/SmartTest.package/SmTRunnerStrategy.class/class/iconForTestFromTestCaseHistory..st b/src/SmartTest.package/SmTRunnerStrategy.class/class/iconForTestFromTestCaseHistory..st deleted file mode 100644 index 08b9e26..0000000 --- a/src/SmartTest.package/SmTRunnerStrategy.class/class/iconForTestFromTestCaseHistory..st +++ /dev/null @@ -1,9 +0,0 @@ -accessing -iconForTestFromTestCaseHistory: aTestCase - (aTestCase class methodRaisedError: aTestCase selector) - ifTrue: [ ^ #testRedIcon ]. - (aTestCase class methodFailed: aTestCase selector) - ifTrue: [ ^ #testYellowIcon ]. - (aTestCase class methodPassed: aTestCase selector) - ifTrue: [ ^ #testGreenIcon ]. - ^ #testNotRunIcon \ No newline at end of file diff --git a/src/SmartTest.package/SmTRunnerStrategy.class/class/iconForTestFromTestsCasesHistory..st b/src/SmartTest.package/SmTRunnerStrategy.class/class/iconForTestFromTestsCasesHistory..st deleted file mode 100644 index 08e427d..0000000 --- a/src/SmartTest.package/SmTRunnerStrategy.class/class/iconForTestFromTestsCasesHistory..st +++ /dev/null @@ -1,15 +0,0 @@ -accessing -iconForTestFromTestsCasesHistory: aCollectionOfTestCase - | iconType tempColor | - iconType := #testNotRunIcon. - aCollectionOfTestCase - do: [ :aTestCase | - tempColor := self iconForTestFromTestCaseHistory: aTestCase. - (tempColor = #testNotRunIcon) - ifTrue: [ ^ #testNotRunIcon ]. - (tempColor = #testRedIcon) - ifTrue: [ iconType := #testRedIcon ]. - (iconType = #testRedIcon) - ifFalse: [ (tempColor = #testYellowIcon) - ifTrue: [ iconType := #testYellowIcon ] ifFalse: [ iconType := tempColor ] ] ]. - ^ iconType \ No newline at end of file diff --git a/src/SmartTest.package/SmTRunnerStrategy.class/class/iconForTestResultOf..st b/src/SmartTest.package/SmTRunnerStrategy.class/class/iconForTestResultOf..st deleted file mode 100644 index 27f03fc..0000000 --- a/src/SmartTest.package/SmTRunnerStrategy.class/class/iconForTestResultOf..st +++ /dev/null @@ -1,9 +0,0 @@ -accessing -iconForTestResultOf: aTestResult - aTestResult hasErrors - ifTrue: [ ^ self iconNamed: #testRedIcon ]. - aTestResult hasFailures - ifTrue: [ ^ self iconNamed: #testYellowIcon ]. - aTestResult hasPassed - ifTrue: [ ^ self iconNamed: #testGreenIcon ]. - ^ self iconNamed: #testNotRunIcon. \ No newline at end of file diff --git a/src/SmartTest.package/SmTRunnerStrategy.class/class/notifyTitle.contents..st b/src/SmartTest.package/SmTRunnerStrategy.class/class/notifyTitle.contents..st deleted file mode 100644 index a3e37b5..0000000 --- a/src/SmartTest.package/SmTRunnerStrategy.class/class/notifyTitle.contents..st +++ /dev/null @@ -1,19 +0,0 @@ -action -notifyTitle: title contents: aTestResult - - | contents | - contents := aTestResult tests size > 3 - ifTrue: [ String streamContents: [ :aStream | - aStream - << aTestResult tests size - << ' tests in: '. - (aTestResult tests collect: #class as: Set) - do: [ :eachClass | aStream << eachClass name ] - separatedBy: [ aStream << ', ' ] ] ] - ifFalse: [ aTestResult ]. - - GrowlMorph - openWithLabel: title - contents: contents - backgroundColor: (self colorForTestResultOf: aTestResult ) - labelColor: Color black \ No newline at end of file diff --git a/src/SmartTest.package/SmTRunnerStrategy.class/class/runCase.notifyIcon..st b/src/SmartTest.package/SmTRunnerStrategy.class/class/runCase.notifyIcon..st deleted file mode 100644 index 5290675..0000000 --- a/src/SmartTest.package/SmTRunnerStrategy.class/class/runCase.notifyIcon..st +++ /dev/null @@ -1,11 +0,0 @@ -action -runCase: aTestMethod notifyIcon: anIcon - | aTestResult | - - aTestResult := TestResult new. - [ aTestResult runCaseForDebug: aTestMethod ] - ensure: [ anIcon labelGraphic: (self iconForTestResultOf: aTestResult) ]. - anIcon labelGraphic: (self iconForTestResultOf: aTestResult). - aTestResult updateResultsInHistory. - self notifyTitle: 'SmartTest Execution' contents: aTestResult. - ^aTestResult. \ No newline at end of file diff --git a/src/SmartTest.package/SmTRunnerStrategy.class/class/runCases..st b/src/SmartTest.package/SmTRunnerStrategy.class/class/runCases..st deleted file mode 100644 index d19e09c..0000000 --- a/src/SmartTest.package/SmTRunnerStrategy.class/class/runCases..st +++ /dev/null @@ -1,8 +0,0 @@ -action -runCases: aTestCollection - | aTestResult | - aTestResult := TestResult new. - aTestCollection do: [ :aTest |aTestResult runCase: aTest ]. - aTestResult updateResultsInHistory. - self notifyTitle: 'SmartTest Execution' contents: aTestResult. - ^aTestResult \ No newline at end of file diff --git a/src/SmartTest.package/SmTRunnerStrategy.class/class/runCases.notifyIcon..st b/src/SmartTest.package/SmTRunnerStrategy.class/class/runCases.notifyIcon..st deleted file mode 100644 index c03828d..0000000 --- a/src/SmartTest.package/SmTRunnerStrategy.class/class/runCases.notifyIcon..st +++ /dev/null @@ -1,6 +0,0 @@ -action -runCases: aTestCollection notifyIcon: anIcon - | aTestResult | - aTestResult := self runCases: aTestCollection. - anIcon labelGraphic: (self iconForTestResultOf: aTestResult ) . - ^aTestResult \ No newline at end of file diff --git a/src/SmartTest.package/SmTRunnerStrategy.class/properties.json b/src/SmartTest.package/SmTRunnerStrategy.class/properties.json deleted file mode 100644 index 989708f..0000000 --- a/src/SmartTest.package/SmTRunnerStrategy.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "BenoitVerhaeghe 6/28/2017 15:44", - "super" : "Object", - "category" : "SmartTest-Runner", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTRunnerStrategy", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest.package/SmTRunnerStrategyDebug.class/README.md b/src/SmartTest.package/SmTRunnerStrategyDebug.class/README.md deleted file mode 100644 index af06d62..0000000 --- a/src/SmartTest.package/SmTRunnerStrategyDebug.class/README.md +++ /dev/null @@ -1 +0,0 @@ -When a test is run by CORA. If it failled, the debugger will open. \ No newline at end of file diff --git a/src/SmartTest.package/SmTRunnerStrategyDebug.class/class/runCases..st b/src/SmartTest.package/SmTRunnerStrategyDebug.class/class/runCases..st deleted file mode 100644 index 3d79efc..0000000 --- a/src/SmartTest.package/SmTRunnerStrategyDebug.class/class/runCases..st +++ /dev/null @@ -1,8 +0,0 @@ -action -runCases: aTestCollection - | aTestResult | - aTestResult := TestResult new. - aTestCollection do: [ :aTest |aTestResult runCaseForDebug: aTest ]. - aTestResult updateResultsInHistory. - self notifyTitle: 'SmartTest Execution' contents: aTestResult. - ^aTestResult \ No newline at end of file diff --git a/src/SmartTest.package/SmTRunnerStrategyDebug.class/properties.json b/src/SmartTest.package/SmTRunnerStrategyDebug.class/properties.json deleted file mode 100644 index 2a8af7a..0000000 --- a/src/SmartTest.package/SmTRunnerStrategyDebug.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "BenoitVerhaeghe 7/13/2017 14:20", - "super" : "SmTRunnerStrategy", - "category" : "SmartTest-Runner", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTRunnerStrategyDebug", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest.package/SmTRunnerStrategyNotice.class/README.md b/src/SmartTest.package/SmTRunnerStrategyNotice.class/README.md deleted file mode 100644 index 32f3aaa..0000000 --- a/src/SmartTest.package/SmTRunnerStrategyNotice.class/README.md +++ /dev/null @@ -1 +0,0 @@ -When a test is run by CORA. If it failled, nothing happen \ No newline at end of file diff --git a/src/SmartTest.package/SmTRunnerStrategyNotice.class/properties.json b/src/SmartTest.package/SmTRunnerStrategyNotice.class/properties.json deleted file mode 100644 index 9b65280..0000000 --- a/src/SmartTest.package/SmTRunnerStrategyNotice.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "BenoitVerhaeghe 7/13/2017 14:20", - "super" : "SmTRunnerStrategy", - "category" : "SmartTest-Runner", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTRunnerStrategyNotice", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest.package/SmTRunnerStrategySmart.class/README.md b/src/SmartTest.package/SmTRunnerStrategySmart.class/README.md deleted file mode 100644 index d31f6db..0000000 --- a/src/SmartTest.package/SmTRunnerStrategySmart.class/README.md +++ /dev/null @@ -1 +0,0 @@ -When a test is run by CORA. If it failled and it was run from the test selection windows, the debugger will open. Nothing else \ No newline at end of file diff --git a/src/SmartTest.package/SmTRunnerStrategySmart.class/properties.json b/src/SmartTest.package/SmTRunnerStrategySmart.class/properties.json deleted file mode 100644 index bb8c246..0000000 --- a/src/SmartTest.package/SmTRunnerStrategySmart.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "BenoitVerhaeghe 7/13/2017 14:21", - "super" : "SmTRunnerStrategy", - "category" : "SmartTest-Runner", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTRunnerStrategySmart", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest.package/SmTSelectPackageBrowser.class/README.md b/src/SmartTest.package/SmTSelectPackageBrowser.class/README.md deleted file mode 100644 index 1a61282..0000000 --- a/src/SmartTest.package/SmTSelectPackageBrowser.class/README.md +++ /dev/null @@ -1 +0,0 @@ -I'm a tool that helps in selecting the packages that are going to be searched. \ No newline at end of file diff --git a/src/SmartTest.package/SmTSelectPackageBrowser.class/class/openWithSmartFinder..st b/src/SmartTest.package/SmTSelectPackageBrowser.class/class/openWithSmartFinder..st deleted file mode 100644 index 1218ea9..0000000 --- a/src/SmartTest.package/SmTSelectPackageBrowser.class/class/openWithSmartFinder..st +++ /dev/null @@ -1,6 +0,0 @@ -opening -openWithSmartFinder: aSmartFinder - self new - smartFinder: aSmartFinder; - items: RPackageOrganizer default packages; - openWithSpec \ No newline at end of file diff --git a/src/SmartTest.package/SmTSelectPackageBrowser.class/instance/addAllItems.st b/src/SmartTest.package/SmTSelectPackageBrowser.class/instance/addAllItems.st deleted file mode 100644 index d442fcb..0000000 --- a/src/SmartTest.package/SmTSelectPackageBrowser.class/instance/addAllItems.st +++ /dev/null @@ -1,8 +0,0 @@ -api -addAllItems - | tmp | - tmp := self sort: selectedModel listItems withAll: toSelectModel listItems. - selectedModel items: tmp. - toSelectModel items: #(). - toSelectModel updateList. - selectedModel updateList \ No newline at end of file diff --git a/src/SmartTest.package/SmTSelectPackageBrowser.class/instance/addItems.st b/src/SmartTest.package/SmTSelectPackageBrowser.class/instance/addItems.st deleted file mode 100644 index 9130793..0000000 --- a/src/SmartTest.package/SmTSelectPackageBrowser.class/instance/addItems.st +++ /dev/null @@ -1,8 +0,0 @@ -accessing -addItems - toSelectModel selectedItems - ifNotNil: [ :items | - selectedModel items: (self sort: selectedModel listItems withAll: items). - toSelectModel items: (self sort: toSelectModel listItems withoutAll: items) ]. - toSelectModel updateList. - selectedModel updateList \ No newline at end of file diff --git a/src/SmartTest.package/SmTSelectPackageBrowser.class/instance/createTestSuiteFrom..st b/src/SmartTest.package/SmTSelectPackageBrowser.class/instance/createTestSuiteFrom..st deleted file mode 100644 index e000a0f..0000000 --- a/src/SmartTest.package/SmTSelectPackageBrowser.class/instance/createTestSuiteFrom..st +++ /dev/null @@ -1,6 +0,0 @@ -api -createTestSuiteFrom: listItem - | testSuite | - testSuite := TestSuite new. - testSuite addTests: ((listItem flatCollect: #methods) select: #isTestMethod thenCollect: #asTestCase). - ^ testSuite \ No newline at end of file diff --git a/src/SmartTest.package/SmTSelectPackageBrowser.class/instance/initialize.st b/src/SmartTest.package/SmTSelectPackageBrowser.class/instance/initialize.st deleted file mode 100644 index f9cc3f2..0000000 --- a/src/SmartTest.package/SmTSelectPackageBrowser.class/instance/initialize.st +++ /dev/null @@ -1,13 +0,0 @@ -initialization -initialize - | wrappingBlock testPackage | - super initialize. - toSelectModel := self instantiate: ListPresenter. - selectedModel := self instantiate: ListPresenter. - selectedModel beMultipleSelection. - toSelectModel beMultipleSelection. - wrappingBlock := [ :package | package packageName ]. - toSelectModel displayBlock: wrappingBlock. - selectedModel displayBlock: wrappingBlock. - testPackage := MCWorkingCopy allManagers reject: [ :package | '*Test*' match: package packageName ]. - toSelectModel items: (self sort: (toSelectModel listItems \ testPackage)) \ No newline at end of file diff --git a/src/SmartTest.package/SmTSelectPackageBrowser.class/instance/nextAction.st b/src/SmartTest.package/SmTSelectPackageBrowser.class/instance/nextAction.st deleted file mode 100644 index 8f8278d..0000000 --- a/src/SmartTest.package/SmTSelectPackageBrowser.class/instance/nextAction.st +++ /dev/null @@ -1,9 +0,0 @@ -api -nextAction - | past testSuite | - testSuite := self createTestSuiteFrom: selectedModel listItems. - past := smartFinder smtFinder. - smartFinder smtFinder: SmTReflectivityTestFinderStrategy new. - smartFinder buildCacheFromTestSuite: testSuite. - smartFinder smtFinder: past. - self delete \ No newline at end of file diff --git a/src/SmartTest.package/SmTSelectPackageBrowser.class/instance/removeAllItems.st b/src/SmartTest.package/SmTSelectPackageBrowser.class/instance/removeAllItems.st deleted file mode 100644 index b063120..0000000 --- a/src/SmartTest.package/SmTSelectPackageBrowser.class/instance/removeAllItems.st +++ /dev/null @@ -1,8 +0,0 @@ -accessing -removeAllItems - | tmp | - tmp := self sort: toSelectModel listItems withAll: selectedModel listItems. - toSelectModel items: tmp. - selectedModel items: #(). - toSelectModel updateList. - selectedModel updateList \ No newline at end of file diff --git a/src/SmartTest.package/SmTSelectPackageBrowser.class/instance/removeItems.st b/src/SmartTest.package/SmTSelectPackageBrowser.class/instance/removeItems.st deleted file mode 100644 index 98920fc..0000000 --- a/src/SmartTest.package/SmTSelectPackageBrowser.class/instance/removeItems.st +++ /dev/null @@ -1,8 +0,0 @@ -accessing -removeItems - selectedModel selectedItems - ifNotNil: [ :items | - toSelectModel items: (self sort: toSelectModel listItems withAll: items). - selectedModel items: (self sort: selectedModel listItems withoutAll: items) ]. - toSelectModel updateList. - selectedModel updateList \ No newline at end of file diff --git a/src/SmartTest.package/SmTSelectPackageBrowser.class/instance/smartFinder..st b/src/SmartTest.package/SmTSelectPackageBrowser.class/instance/smartFinder..st deleted file mode 100644 index 344b9d2..0000000 --- a/src/SmartTest.package/SmTSelectPackageBrowser.class/instance/smartFinder..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -smartFinder: anObject - smartFinder := anObject \ No newline at end of file diff --git a/src/SmartTest.package/SmTSelectPackageBrowser.class/instance/smartFinder.st b/src/SmartTest.package/SmTSelectPackageBrowser.class/instance/smartFinder.st deleted file mode 100644 index c5302f3..0000000 --- a/src/SmartTest.package/SmTSelectPackageBrowser.class/instance/smartFinder.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -smartFinder - ^ smartFinder \ No newline at end of file diff --git a/src/SmartTest.package/SmTSelectPackageBrowser.class/instance/sort..st b/src/SmartTest.package/SmTSelectPackageBrowser.class/instance/sort..st deleted file mode 100644 index 1208739..0000000 --- a/src/SmartTest.package/SmTSelectPackageBrowser.class/instance/sort..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -sort: aCollection - ^ aCollection asOrderedCollection sort: [:e1 :e2 | (e1 asString) < (e2 asString)]. \ No newline at end of file diff --git a/src/SmartTest.package/SmTSelectPackageBrowser.class/instance/sort.withAll..st b/src/SmartTest.package/SmTSelectPackageBrowser.class/instance/sort.withAll..st deleted file mode 100644 index 6690419..0000000 --- a/src/SmartTest.package/SmTSelectPackageBrowser.class/instance/sort.withAll..st +++ /dev/null @@ -1,7 +0,0 @@ -accessing -sort: aCollection withAll: anotherCollection - ^ self - sort: - (aCollection asOrderedCollection - addAll: anotherCollection; - yourself) \ No newline at end of file diff --git a/src/SmartTest.package/SmTSelectPackageBrowser.class/instance/sort.withoutAll..st b/src/SmartTest.package/SmTSelectPackageBrowser.class/instance/sort.withoutAll..st deleted file mode 100644 index 560a365..0000000 --- a/src/SmartTest.package/SmTSelectPackageBrowser.class/instance/sort.withoutAll..st +++ /dev/null @@ -1,7 +0,0 @@ -accessing -sort: aCollection withoutAll: anotherCollection - ^ self - sort: - (aCollection asOrderedCollection - removeAll: anotherCollection; - yourself) \ No newline at end of file diff --git a/src/SmartTest.package/SmTSelectPackageBrowser.class/properties.json b/src/SmartTest.package/SmTSelectPackageBrowser.class/properties.json deleted file mode 100644 index 88e9fbd..0000000 --- a/src/SmartTest.package/SmTSelectPackageBrowser.class/properties.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/3/2018 14:30", - "super" : "SelectBrowser", - "category" : "SmartTest-Tools", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "smartFinder" - ], - "name" : "SmTSelectPackageBrowser", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest.package/SmTSenderTestFinderStrategy.class/README.md b/src/SmartTest.package/SmTSenderTestFinderStrategy.class/README.md deleted file mode 100644 index e673479..0000000 --- a/src/SmartTest.package/SmTSenderTestFinderStrategy.class/README.md +++ /dev/null @@ -1,3 +0,0 @@ -I work as ChangeImpact. -I'm looking for sender of sender etc. -I'm not well tested, but I'm fast and can help you for quick testing. \ No newline at end of file diff --git a/src/SmartTest.package/SmTSenderTestFinderStrategy.class/class/isConcreteFinder.st b/src/SmartTest.package/SmTSenderTestFinderStrategy.class/class/isConcreteFinder.st deleted file mode 100644 index 37fb41d..0000000 --- a/src/SmartTest.package/SmTSenderTestFinderStrategy.class/class/isConcreteFinder.st +++ /dev/null @@ -1,3 +0,0 @@ -testing -isConcreteFinder - ^ true \ No newline at end of file diff --git a/src/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/collectSenderOfRGMethodeDefintion..st b/src/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/collectSenderOfRGMethodeDefintion..st deleted file mode 100644 index c9067f8..0000000 --- a/src/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/collectSenderOfRGMethodeDefintion..st +++ /dev/null @@ -1,6 +0,0 @@ -private - search -collectSenderOfRGMethodeDefintion: aRGMethodDefinition - ^ aRGMethodDefinition isInitializer - ifTrue: [ { SystemNavigation default allReferencesTo: aRGMethodDefinition methodClass binding. - aRGMethodDefinition senders} asSet flattened ] - ifFalse: [ aRGMethodDefinition senders ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/methodsFor.forThePackage..st b/src/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/methodsFor.forThePackage..st deleted file mode 100644 index c0edec8..0000000 --- a/src/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/methodsFor.forThePackage..st +++ /dev/null @@ -1,28 +0,0 @@ -api -methodsFor: aCompiledMethod forThePackage: packages - self flag: '24 july 2018 - What is this method ? If useless i or from another project i will remove it'. - - ^ self cache - at: aCompiledMethod methodReference - ifAbsent: [ (self searchTestsForATestMethod: aCompiledMethod) - ifNotEmpty: [ :methods | - ^ (self searchTestsForMethod: aCompiledMethod) - addAll: (self computeInheritedTestFromDiscoveredTest: methods); - yourself ]. - (self searchTestsForASetUpMethod: aCompiledMethod) - ifNotEmpty: [ :methods | - ^ (self searchTestsForMethod: aCompiledMethod) - addAll: (self computeInheritedTestFromDiscoveredTest: methods); - yourself ]. - (self searchTestsForATearDownMethod: aCompiledMethod) - ifNotEmpty: [ :methods | - ^ (self searchTestsForMethod: aCompiledMethod) - addAll: (self computeInheritedTestFromDiscoveredTest: methods); - yourself ]. - (self recursiveSearchForAStandardMethod: (aCompiledMethod asRingDefinition) inPackages: packages ) - ifNotEmpty: [ :methods | - ^ (self searchTestsForMethod: aCompiledMethod) - addAll: (self computeInheritedTestFromDiscoveredTest: methods); - yourself ]. - self cache at: aCompiledMethod methodReference put: Set new. - ^ {} ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAStandardMethod.inPackages..st b/src/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAStandardMethod.inPackages..st deleted file mode 100644 index 90ea373..0000000 --- a/src/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAStandardMethod.inPackages..st +++ /dev/null @@ -1,3 +0,0 @@ -private - search -recursiveSearchForAStandardMethod: aRGMethodDefinition inPackages: packages - ^ self recursiveSearchForAStandardMethod: aRGMethodDefinition inPackages: packages alreadyVisited: Set new \ No newline at end of file diff --git a/src/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAStandardMethod.inPackages.alreadyVisited..st b/src/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAStandardMethod.inPackages.alreadyVisited..st deleted file mode 100644 index 3f09e2c..0000000 --- a/src/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAStandardMethod.inPackages.alreadyVisited..st +++ /dev/null @@ -1,15 +0,0 @@ -private - search -recursiveSearchForAStandardMethod: aRGMethodDefinition inPackages: packages alreadyVisited: alreadyVisitedMethods - | foundMethods | - self cache at: aRGMethodDefinition ifPresent: [ :a | ^ a ]. - foundMethods := Set new. - (self collectSenderOfRGMethodeDefintion: aRGMethodDefinition) - reject: [ :aSenderMethod | - | reject | - reject := (filter shouldEntityBeFilteredOut: aSenderMethod inPackages: packages) or: [ alreadyVisitedMethods includes: aSenderMethod ]. - alreadyVisitedMethods add: aSenderMethod. - reject ] - thenDo: [ :aSenderRGMethodDefinition | - foundMethods add: aSenderRGMethodDefinition. - foundMethods addAll: (self recursiveSearchForAStandardMethod: aSenderRGMethodDefinition inPackages: packages alreadyVisited: alreadyVisitedMethods) ]. - ^ foundMethods \ No newline at end of file diff --git a/src/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/searchTestsForAStandardMethod..st b/src/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/searchTestsForAStandardMethod..st deleted file mode 100644 index 6706616..0000000 --- a/src/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/searchTestsForAStandardMethod..st +++ /dev/null @@ -1,7 +0,0 @@ -API -searchTestsForAStandardMethod: aCompiledMethod - | packagesToLookAt | - packagesToLookAt := self filter extractPackagesFrom: aCompiledMethod. - ^ (self - recursiveSearchForAStandardMethod: aCompiledMethod methodReference - inPackages: packagesToLookAt ) select: #isTestMethod \ No newline at end of file diff --git a/src/SmartTest.package/SmTSenderTestFinderStrategy.class/properties.json b/src/SmartTest.package/SmTSenderTestFinderStrategy.class/properties.json deleted file mode 100644 index 5a65ea6..0000000 --- a/src/SmartTest.package/SmTSenderTestFinderStrategy.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "BenoitVerhaeghe 7/13/2017 14:22", - "super" : "SmTTestFinderStrategy", - "category" : "SmartTest-Finder", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTSenderTestFinderStrategy", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest.package/SmTSpecifyPackagesNameFilter.class/README.md b/src/SmartTest.package/SmTSpecifyPackagesNameFilter.class/README.md deleted file mode 100644 index 7c2f3e9..0000000 --- a/src/SmartTest.package/SmTSpecifyPackagesNameFilter.class/README.md +++ /dev/null @@ -1 +0,0 @@ -This filter only looks in the packages whose names match a given regex \ No newline at end of file diff --git a/src/SmartTest.package/SmTSpecifyPackagesNameFilter.class/class/packagesRegex..st b/src/SmartTest.package/SmTSpecifyPackagesNameFilter.class/class/packagesRegex..st deleted file mode 100644 index cc1e9c6..0000000 --- a/src/SmartTest.package/SmTSpecifyPackagesNameFilter.class/class/packagesRegex..st +++ /dev/null @@ -1,5 +0,0 @@ -settings-definition -packagesRegex: aRegexStringCollection - ^ self new - packagesRegex: aRegexStringCollection; - yourself \ No newline at end of file diff --git a/src/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/extractPackagesFrom..st b/src/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/extractPackagesFrom..st deleted file mode 100644 index b6a3a80..0000000 --- a/src/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/extractPackagesFrom..st +++ /dev/null @@ -1,3 +0,0 @@ -asserting -extractPackagesFrom: aCompiledMethod - ^ self packages. \ No newline at end of file diff --git a/src/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/packages.st b/src/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/packages.st deleted file mode 100644 index a95f07a..0000000 --- a/src/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/packages.st +++ /dev/null @@ -1,6 +0,0 @@ -accessing -packages - "Return the collection of package that was find from the settings" - - - ^ self selectedPackages \ No newline at end of file diff --git a/src/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/packagesRegex..st b/src/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/packagesRegex..st deleted file mode 100644 index b85808c..0000000 --- a/src/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/packagesRegex..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -packagesRegex: anObject - packagesRegex := anObject \ No newline at end of file diff --git a/src/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/packagesRegex.st b/src/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/packagesRegex.st deleted file mode 100644 index 7242357..0000000 --- a/src/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/packagesRegex.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -packagesRegex - ^ packagesRegex \ No newline at end of file diff --git a/src/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/selectedPackages.st b/src/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/selectedPackages.st deleted file mode 100644 index a3134ec..0000000 --- a/src/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/selectedPackages.st +++ /dev/null @@ -1,7 +0,0 @@ -accessing -selectedPackages - ^ (RPackageOrganizer default packages - flatCollect: [ :package | - package classTags - select: [ :classTag | self packagesRegex asRegex matchesPrefix: classTag categoryName ] - thenCollect: #categoryName ]) asSet \ No newline at end of file diff --git a/src/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/shouldEntityBeFilteredOut.inPackages..st b/src/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/shouldEntityBeFilteredOut.inPackages..st deleted file mode 100644 index 3d3f208..0000000 --- a/src/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/shouldEntityBeFilteredOut.inPackages..st +++ /dev/null @@ -1,5 +0,0 @@ -accessing -shouldEntityBeFilteredOut: anEntity inPackages: anObject - "(anEntity methodClass allCallsOn collect: #ciPackage) not." - (anEntity isClass) ifTrue:[^ (self packages includes: anEntity category) not]. - ^ (self packages includes: anEntity methodClass category) not \ No newline at end of file diff --git a/src/SmartTest.package/SmTSpecifyPackagesNameFilter.class/properties.json b/src/SmartTest.package/SmTSpecifyPackagesNameFilter.class/properties.json deleted file mode 100644 index 27ca52a..0000000 --- a/src/SmartTest.package/SmTSpecifyPackagesNameFilter.class/properties.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/3/2018 18:09", - "super" : "SmTFilterStrategy", - "category" : "SmartTest-Filter", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "packagesRegex", - "selectedPackages" - ], - "name" : "SmTSpecifyPackagesNameFilter", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestCoverage.class/README.md b/src/SmartTest.package/SmTTestCoverage.class/README.md deleted file mode 100644 index ad5d226..0000000 --- a/src/SmartTest.package/SmTTestCoverage.class/README.md +++ /dev/null @@ -1 +0,0 @@ -I'm a tool that help configure the finder for the TestCoverage strategy. \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestCoverage.class/instance/finder..st b/src/SmartTest.package/SmTTestCoverage.class/instance/finder..st deleted file mode 100644 index 18735bb..0000000 --- a/src/SmartTest.package/SmTTestCoverage.class/instance/finder..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -finder: aSmTFinder - finder := aSmTFinder \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestCoverage.class/instance/finder.st b/src/SmartTest.package/SmTTestCoverage.class/instance/finder.st deleted file mode 100644 index a435954..0000000 --- a/src/SmartTest.package/SmTTestCoverage.class/instance/finder.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -finder - ^ finder \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestCoverage.class/instance/mark.st b/src/SmartTest.package/SmTTestCoverage.class/instance/mark.st deleted file mode 100644 index 68c9ce0..0000000 --- a/src/SmartTest.package/SmTTestCoverage.class/instance/mark.st +++ /dev/null @@ -1,6 +0,0 @@ -accessing -mark - hasRun - ifFalse: [ hasRun := true. - self finder - addToCurrentExecutionMethodReference: reference ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestCoverage.class/instance/run.with.in..st b/src/SmartTest.package/SmTTestCoverage.class/instance/run.with.in..st deleted file mode 100644 index 7ce6723..0000000 --- a/src/SmartTest.package/SmTTestCoverage.class/instance/run.with.in..st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -run: aSelector with: anArray in: aReceiver - self mark. - ^ aReceiver withArgs: anArray executeMethod: method \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestCoverage.class/properties.json b/src/SmartTest.package/SmTTestCoverage.class/properties.json deleted file mode 100644 index f79da6c..0000000 --- a/src/SmartTest.package/SmTTestCoverage.class/properties.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/3/2018 14:29", - "super" : "HDTestCoverage", - "category" : "SmartTest-Tools", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "finder" - ], - "name" : "SmTTestCoverage", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/README.md b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/README.md deleted file mode 100644 index df51272..0000000 --- a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/README.md +++ /dev/null @@ -1,13 +0,0 @@ -The Wrapper strategy is a dynamic test regression finder. - -It only does the reseach for method one by one. - - ts := TestSuite new. -ts addTest: (SmTClassTest selector: #testMethod1). -ts addTest: (SmTClassTest selector: #testMethod2). -ts addTest: (SmTClassTest selector: #testMethod3). -ts addTest: (SmTClassTest selector: #testMethod4). -sf := SmartFinder new. -sf smtFinder: SmTTestCoverageTestFinderStrategy new. -sf buildCacheFromTestSuite: ts. -sf cacheValues \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/class/collectPackageWithBaseName..st b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/class/collectPackageWithBaseName..st deleted file mode 100644 index 53b1a66..0000000 --- a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/class/collectPackageWithBaseName..st +++ /dev/null @@ -1,3 +0,0 @@ -protocol -collectPackageWithBaseName: aBaseNamePackage - ^ RPackageOrganizer default packages select: [ :p | aBaseNamePackage,'*' match: p packageName ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/class/collectPackagesFromName..st b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/class/collectPackagesFromName..st deleted file mode 100644 index 92f10fc..0000000 --- a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/class/collectPackagesFromName..st +++ /dev/null @@ -1,3 +0,0 @@ -protocol -collectPackagesFromName: aPackageName - ^ self collectPackageWithBaseName: (self extractPackageBaseName: aPackageName) \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/class/extractPackageBaseName..st b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/class/extractPackageBaseName..st deleted file mode 100644 index 8480e2f..0000000 --- a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/class/extractPackageBaseName..st +++ /dev/null @@ -1,3 +0,0 @@ -protocol -extractPackageBaseName: aPackageName - ^(aPackageName substrings: '-') at: 1 \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/class/isConcreteFinder.st b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/class/isConcreteFinder.st deleted file mode 100644 index 32dcc3d..0000000 --- a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/class/isConcreteFinder.st +++ /dev/null @@ -1,3 +0,0 @@ -protocol -isConcreteFinder - ^ true \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/addATest.toACollectionOfMethod..st b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/addATest.toACollectionOfMethod..st deleted file mode 100644 index bfcc81d..0000000 --- a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/addATest.toACollectionOfMethod..st +++ /dev/null @@ -1,4 +0,0 @@ -adding -addATest: aTestCase toACollectionOfMethod: aCollectionOfCompiledMethod - aCollectionOfCompiledMethod - do: [ :aCompiledMethod | self addATest: aTestCase toMethod: aCompiledMethod ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/addATest.toMethodReference..st b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/addATest.toMethodReference..st deleted file mode 100644 index e20b9e5..0000000 --- a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/addATest.toMethodReference..st +++ /dev/null @@ -1,4 +0,0 @@ -adding -addATest: aTestCase toMethodReference: aMethodReference - (self searchTestsForMethodReference: aMethodReference) - add: aTestCase methodReference \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/addImpactedTestFromWrapper.theTestMethod..st b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/addImpactedTestFromWrapper.theTestMethod..st deleted file mode 100644 index c19cbf2..0000000 --- a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/addImpactedTestFromWrapper.theTestMethod..st +++ /dev/null @@ -1,8 +0,0 @@ -adding -addImpactedTestFromWrapper: aTestMethod theTestMethod: wrappers - | suite testRunner | - testRunner := TestRunner new. - suite := TestSuite new. - suite addTest: aTestMethod. - testRunner runSuite: suite. - self updateCacheAndUnmarkFrom: wrappers forMethod: aTestMethod. \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/addRelevantTest.fromMarkedWrappers..st b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/addRelevantTest.fromMarkedWrappers..st deleted file mode 100644 index 58a6c1b..0000000 --- a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/addRelevantTest.fromMarkedWrappers..st +++ /dev/null @@ -1,8 +0,0 @@ -jenkins -addRelevantTest: aTestMethod fromMarkedWrappers: wrappers - | suite testRunner | - testRunner := TestRunner new. - suite := TestSuite new. - suite addTest: aTestMethod. - testRunner runSuite: suite. - self updateCacheAndUnmarkFrom: wrappers forMethod: aTestMethod . diff --git a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/addToCurrentExecutionMethodReference..st b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/addToCurrentExecutionMethodReference..st deleted file mode 100644 index 87f382b..0000000 --- a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/addToCurrentExecutionMethodReference..st +++ /dev/null @@ -1,6 +0,0 @@ -adding -addToCurrentExecutionMethodReference: aMethodReference - | he | - he := thisContext contextStack reject: [ :c | c selector = #DoIt ] thenCollect: [ :a | a method methodReference ]. - ((he includes: self currentTestExecution methodReference) or: [(he collect: #selector) includes: #buildCacheFromTestSuite:]) - ifTrue: [ self addATest: self currentTestExecution toMethodReference: aMethodReference ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/analyseAndRemoveProxyFor..st b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/analyseAndRemoveProxyFor..st deleted file mode 100644 index 27544bc..0000000 --- a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/analyseAndRemoveProxyFor..st +++ /dev/null @@ -1,4 +0,0 @@ -api -analyseAndRemoveProxyFor: aTestCase - (wrappers at: aTestCase) do: [ :each | each uninstall ]. - wrappers removeKey: aTestCase \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/availableMethods.st b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/availableMethods.st deleted file mode 100644 index 1a3b680..0000000 --- a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/availableMethods.st +++ /dev/null @@ -1,9 +0,0 @@ -accessing -availableMethods - "Collect the methods that can be used with the wrapper to fill completely the methodToTest dictionnary" - ^ (self availablePackages flatCollect: [ :aPackage | aPackage methods ]) - reject: [ :method | - method methodClass = SmTTestCoverage - or: [ method methodClass = SmTTestCoverageTestFinderStrategy - or: [ method methodClass = SmTTestFinderStrategy - or: [ method methodClass = SmTBasicCacheStrategy or: [ method methodClass = HDTestCoverage or: [ method methodClass = SmTTestFinderDynamicStrategy] ] ] ] ] ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/availablePackages.st b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/availablePackages.st deleted file mode 100644 index ea0719c..0000000 --- a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/availablePackages.st +++ /dev/null @@ -1,17 +0,0 @@ -accessing -availablePackages - "Collect the packages that can be used with the wrapper to fill completely the methodToTest dictionnary" - | availablePackages | - (availablePackages := RPackageOrganizer default packages - reject: [ :package | - (package packageName beginsWith: 'Kernel') - or: [ (package packageName beginsWith: 'Collections') - or: [ (package packageName beginsWith: 'GT') -or: [ (package packageName beginsWith: 'Ring') - or: [ (package packageName beginsWith: 'Regex') - or: [ (package packageName beginsWith: 'Exceptions') - or: [ (package packageName beginsWith: 'SUnit') - or: [ (package packageName beginsWith: 'System') or: [ (package packageName endsWith: 'Tests') - or: [ package packageName includesSubstring: 'HudsonBuildTools20' caseSensitive: false ] ] ] ] ] ] ] ] ] ]) - sort: [ :a :b | a packageName < b packageName ]. - ^ availablePackages \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/availableTestMethods.st b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/availableTestMethods.st deleted file mode 100644 index 4f8ede2..0000000 --- a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/availableTestMethods.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -availableTestMethods - "Collect the test methods that can be used with the wrapper to fill completely the methodToTest dictionnary" - ^ (self availableTestPackages flatCollect: [ :aPackage | aPackage methods ]) reject: [ :method | method methodClass = SmTTestCoverage ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/availableTestPackages.st b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/availableTestPackages.st deleted file mode 100644 index c73d77b..0000000 --- a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/availableTestPackages.st +++ /dev/null @@ -1,19 +0,0 @@ -accessing -availableTestPackages - "Collect the test packages that can be used with the wrapper to fill completely the methodToTest dictionnary" - | availablePackages | - (availablePackages := RPackageOrganizer default packages - reject: [ :package | - (package packageName beginsWith: 'Kernel') - or: [ (package packageName beginsWith: 'Collections') - or: [ (package packageName beginsWith: 'GT') - or: [ (package packageName beginsWith: 'AST') - or: [ (package packageName beginsWith: 'Athens') - or: [ (package packageName beginsWith: 'Ring') - or: [ (package packageName beginsWith: 'Alien') - or: [ (package packageName beginsWith: 'Announcements') - or: [ (package packageName beginsWith: 'Regex') - or: [ (package packageName beginsWith: 'Exceptions') - or: [ (package packageName beginsWith: 'SUnit') or: [ (package packageName beginsWith: 'System') or: [ package packageName includesSubstring: 'HudsonBuildTools20' caseSensitive: false ] ] ] ] ] ] ] ] ] ] ] ] ]) - sort: [ :a :b | a packageName < b packageName ]. - ^ availablePackages \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/buildCacheFromTestSuite..st b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/buildCacheFromTestSuite..st deleted file mode 100644 index 7b2adf3..0000000 --- a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/buildCacheFromTestSuite..st +++ /dev/null @@ -1,27 +0,0 @@ -api -buildCacheFromTestSuite: aTestSuite -"tr := TestRunner new. -tr open. -testSuites := tr allSelectedTestSuites. -ts := TestSuite new. -(testSuites flatCollect: [ :ts | ts tests ]) do: [ :atest | ts addTest: atest ]. -[sf := SmartFinder new. -sf smtFinder: SmTTestCoverageTestFinderStrategy new. -sf buildCacheFromTestSuite: ts. -sf cacheValues ] timeToRun -" - | listOfPackage methodToWrap | - listOfPackage := (aTestSuite flatCollectTests flatCollect: [ :aTestCase | self class collectPackagesFromName: aTestCase class package name ]) asSet collect: #packageName. - methodToWrap := Set new. - methodToWrap addAll: (self collectMethodToTestForPackagesNamed: listOfPackage). - "methodToWrap addAll: (self collectClassToTestForPackagesNamed: listOfPackage)." - methodToWrap := methodToWrap intersection: self availableMethods. - wrappers at: aTestSuite put: (methodToWrap asOrderedCollection collect: [ :each | (SmTTestCoverage on: each methodReference) finder: self ]). - (wrappers at: aTestSuite) do: [ :each | each install ] "displayingProgress: [ :aClass | 'Installing ' , aClass asString ] every: 1". - aTestSuite flatCollectTests - do: [ :aTestCase | - self currentTestExecution: aTestCase. - self addATest: aTestCase toMethodReference: aTestCase methodReference. - aTestCase run. - (wrappers at: aTestSuite) do: [ :each | each unmark ] ]. - (wrappers at: aTestSuite) do: [ :each | each uninstall ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectAllRelativePackages..st b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectAllRelativePackages..st deleted file mode 100644 index 4518d8a..0000000 --- a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectAllRelativePackages..st +++ /dev/null @@ -1,3 +0,0 @@ -search -collectAllRelativePackages: aByteString - ^ RPackageOrganizer default packages select: [ :a | (self filter extractPackageBaseName: a packageName) = aByteString ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectClassToTestForPackage..st b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectClassToTestForPackage..st deleted file mode 100644 index 63169fc..0000000 --- a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectClassToTestForPackage..st +++ /dev/null @@ -1,6 +0,0 @@ -jenkins -collectClassToTestForPackage: aPackage - (self availablePackages includes: aPackage) - ifTrue: [ ^ (aPackage classes reject: #isTrait) - flatCollect: [ :aClass | SmTClassTestedRule new methodUsingVariablesOfClass: aClass ] ]. - ^ OrderedCollection new \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectClassToTestForPackagesNamed..st b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectClassToTestForPackagesNamed..st deleted file mode 100644 index 76f8199..0000000 --- a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectClassToTestForPackagesNamed..st +++ /dev/null @@ -1,3 +0,0 @@ -jenkins -collectClassToTestForPackagesNamed: aCollectionOfPackagesNamed - ^ aCollectionOfPackagesNamed flatCollect: [ :aPackageName | self collectClassToTestForPackage: (self getPackageFromName: aPackageName) ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectMethodToTestForPackage..st b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectMethodToTestForPackage..st deleted file mode 100644 index 7689e16..0000000 --- a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectMethodToTestForPackage..st +++ /dev/null @@ -1,3 +0,0 @@ -jenkins -collectMethodToTestForPackage: aPackage - ^ aPackage methods \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectMethodToTestForPackages..st b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectMethodToTestForPackages..st deleted file mode 100644 index 1c71ebd..0000000 --- a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectMethodToTestForPackages..st +++ /dev/null @@ -1,3 +0,0 @@ -jenkins -collectMethodToTestForPackages: aCollectionOfPackage - ^ aCollectionOfPackage flatCollect: [ :aPackage | self collectMethodToTestForPackage: aPackage ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectMethodToTestForPackagesNamed..st b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectMethodToTestForPackagesNamed..st deleted file mode 100644 index cbbc40c..0000000 --- a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectMethodToTestForPackagesNamed..st +++ /dev/null @@ -1,3 +0,0 @@ -jenkins -collectMethodToTestForPackagesNamed: aCollectionOfPackagesName - ^ aCollectionOfPackagesName flatCollect: [ :aPackageName | self collectMethodToTestForPackage: (self getPackageFromName: aPackageName ) ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/extractPackageBaseName..st b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/extractPackageBaseName..st deleted file mode 100644 index 0e63598..0000000 --- a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/extractPackageBaseName..st +++ /dev/null @@ -1,3 +0,0 @@ -parsing -extractPackageBaseName: aPackageName - ^(aPackageName substrings: '-') at: 1 \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/getPackageFromName..st b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/getPackageFromName..st deleted file mode 100644 index ff8adb9..0000000 --- a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/getPackageFromName..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -getPackageFromName: aPackageName - ^ RPackage organizer packageNamed: aPackageName. \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/initialize.st b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/initialize.st deleted file mode 100644 index e2caed1..0000000 --- a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/initialize.st +++ /dev/null @@ -1,3 +0,0 @@ -initialization -initialize - wrappers := Dictionary new \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/installProxyFor..st b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/installProxyFor..st deleted file mode 100644 index ee02dce..0000000 --- a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/installProxyFor..st +++ /dev/null @@ -1,19 +0,0 @@ -api -installProxyFor: aTestCase - | methodToWrap listOfPackage | - self currentTestExecution: aTestCase. - self addATest: aTestCase toMethodReference: aTestCase methodReference. - listOfPackage := OrderedCollection new. - listOfPackage addAll: (SmalltalkImage current packages select: [ :package | package name beginsWith: (self extractPackageBaseName: (aTestCase methodReference compiledMethod package name)) ] ). - methodToWrap := Set new. - methodToWrap addAll: (self collectMethodToTestForPackagesNamed: (listOfPackage collect: #name)). - methodToWrap := methodToWrap intersection: self availableMethods. - wrappers - at: aTestCase - put: - (methodToWrap asOrderedCollection - collect: [ :each | (SmTTestCoverage on: each methodReference) finder: self ]). - ((wrappers at: aTestCase) sort: [ :a :b | a name < b name ]) - do: [ :each | each install ] - displayingProgress: [ :aClass | 'Installing ' , aClass asString ] - every: 1 \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/methodsInSimilarPackageAs..st b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/methodsInSimilarPackageAs..st deleted file mode 100644 index 2b77ca3..0000000 --- a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/methodsInSimilarPackageAs..st +++ /dev/null @@ -1,8 +0,0 @@ -api -methodsInSimilarPackageAs: aCompiledMethod - - | packageBaseName packages | - packageBaseName := self filter extractCompiledMethodPackageBaseName: aCompiledMethod. - packages := self collectAllRelativePackages: packageBaseName. - ^ packages - flatCollect: [ :aPackage | aPackage methods ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/searchRelativeTestForMethod..st b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/searchRelativeTestForMethod..st deleted file mode 100644 index 2c91fe1..0000000 --- a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/searchRelativeTestForMethod..st +++ /dev/null @@ -1,16 +0,0 @@ -search -searchRelativeTestForMethod: aCompiledMethod - "Search for only one package and NOT relative others method" - | methods | - methods := self methodsInSimilarPackageAs: aCompiledMethod. - - wrappers := {(HDTestCoverage on: aCompiledMethod methodReference)} asOrderedCollection. - wrappers do: [ :each | each install ]. - [ - - (self collectRelativeTestMethodOfMethods: methods) - do: [ :aTestMethod | self addImpactedTestFromWrapper: aTestMethod theTestMethod: wrappers ] - displayingProgress: [ :aClass | 'Processing ' , aClass asString ] - every: 1 - - ] ensure: [ wrappers do: [ :each | each uninstall ] ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/searchTestsForAStandardMethod..st b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/searchTestsForAStandardMethod..st deleted file mode 100644 index 0d11c84..0000000 --- a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/searchTestsForAStandardMethod..st +++ /dev/null @@ -1,4 +0,0 @@ -api -searchTestsForAStandardMethod: aCompiledMethod - self searchRelativeTestForMethod: aCompiledMethod. - ^ self searchTestsForMethod: aCompiledMethod \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/searchTestsForClass..st b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/searchTestsForClass..st deleted file mode 100644 index 7afb9c2..0000000 --- a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/searchTestsForClass..st +++ /dev/null @@ -1,13 +0,0 @@ -api -searchTestsForClass: aClass - "Find all tests in related packages that reference the method's class" - | allSendersClass allTests | - allSendersClass := (aClass allCallsOn - collect: [:aReference| - aReference actualClass]) asSet - select: [:aColectedClass| - (aColectedClass isKindOf: TestCase class) ]. - - allTests := OrderedCollection new. - allSendersClass do: [:aSenderClass| allTests addAll: aSenderClass allTestMethods]. - ^ allTests. \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/updateCacheAndUnmarkFrom.forMethod..st b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/updateCacheAndUnmarkFrom.forMethod..st deleted file mode 100644 index ae36939..0000000 --- a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/updateCacheAndUnmarkFrom.forMethod..st +++ /dev/null @@ -1,6 +0,0 @@ -jenkins -updateCacheAndUnmarkFrom: wrappers forMethod: aTestMethod - | aToResetAfterMarkCollection | - aToResetAfterMarkCollection := wrappers select: [ :each | each hasRun ]. - self addATest: aTestMethod toACollectionOfMethod: aToResetAfterMarkCollection. - aToResetAfterMarkCollection do: [ :each | each unmark ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/properties.json b/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/properties.json deleted file mode 100644 index 60c1e2b..0000000 --- a/src/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/properties.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "commentStamp" : "BenoitVerhaeghe 3/15/2018 23:38", - "super" : "SmTTestFinderDynamicStrategy", - "category" : "SmartTest-Finder", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "wrappers" - ], - "name" : "SmTTestCoverageTestFinderStrategy", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestFinderDynamicStrategy.class/README.md b/src/SmartTest.package/SmTTestFinderDynamicStrategy.class/README.md deleted file mode 100644 index 1180292..0000000 --- a/src/SmartTest.package/SmTTestFinderDynamicStrategy.class/README.md +++ /dev/null @@ -1,3 +0,0 @@ -Represent a dynamic strategy - -self todo: #AddDetails \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestFinderDynamicStrategy.class/class/isConcreteFinder.st b/src/SmartTest.package/SmTTestFinderDynamicStrategy.class/class/isConcreteFinder.st deleted file mode 100644 index e5c4805..0000000 --- a/src/SmartTest.package/SmTTestFinderDynamicStrategy.class/class/isConcreteFinder.st +++ /dev/null @@ -1,3 +0,0 @@ -testing -isConcreteFinder - ^ false \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/addATest.toMethod..st b/src/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/addATest.toMethod..st deleted file mode 100644 index a88d7d3..0000000 --- a/src/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/addATest.toMethod..st +++ /dev/null @@ -1,4 +0,0 @@ -api -addATest: aTestCase toMethod: aCompiledMethod - (self searchTestsForMethod: aCompiledMethod) - add: aTestCase methodReference \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/analyseAndRemoveProxyFor..st b/src/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/analyseAndRemoveProxyFor..st deleted file mode 100644 index 760e20a..0000000 --- a/src/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/analyseAndRemoveProxyFor..st +++ /dev/null @@ -1,3 +0,0 @@ -api -analyseAndRemoveProxyFor: aTestCase - self subclassResponsibility \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/buildCacheFromTestSuite..st b/src/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/buildCacheFromTestSuite..st deleted file mode 100644 index d9db133..0000000 --- a/src/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/buildCacheFromTestSuite..st +++ /dev/null @@ -1,3 +0,0 @@ -api -buildCacheFromTestSuite: aTestSuite - self subclassResponsibility \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/currentTestExecution..st b/src/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/currentTestExecution..st deleted file mode 100644 index 11fd07c..0000000 --- a/src/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/currentTestExecution..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -currentTestExecution: anObject - currentTestExecution := anObject \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/currentTestExecution.st b/src/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/currentTestExecution.st deleted file mode 100644 index 7112214..0000000 --- a/src/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/currentTestExecution.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -currentTestExecution - ^ currentTestExecution \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/installProxyFor..st b/src/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/installProxyFor..st deleted file mode 100644 index 211b385..0000000 --- a/src/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/installProxyFor..st +++ /dev/null @@ -1,3 +0,0 @@ -api -installProxyFor: aTestCase - self subclassResponsibility \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/methodsFor..st b/src/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/methodsFor..st deleted file mode 100644 index 540984c..0000000 --- a/src/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/methodsFor..st +++ /dev/null @@ -1,19 +0,0 @@ -api -methodsFor: aCompiledMethod - | finalFoundMethod | - ^ self cache - at: aCompiledMethod methodReference - ifAbsent: [ (self shouldTryToFindTestForDynamic ) - ifFalse: [ ^ {} ]. - #(#searchTestsForATestMethod: #searchTestsForASetUpMethod: #searchTestsForATearDownMethod: #searchTestsForAStandardMethod:) - do: [ :heuristic | - | methods | - methods := [ self perform: heuristic with: aCompiledMethod ] - on: MessageNotUnderstood - do: [ #() ]. - methods isEmpty - ifFalse: [ finalFoundMethod := self searchTestsForMethod: aCompiledMethod. - finalFoundMethod addAll: (self computeInheritedTestFromDiscoveredTest: methods) asOrderedCollection. - ^ finalFoundMethod ] ]. - self cache at: aCompiledMethod methodReference put: Set new. - ^ {} ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestFinderDynamicStrategy.class/properties.json b/src/SmartTest.package/SmTTestFinderDynamicStrategy.class/properties.json deleted file mode 100644 index 57bf357..0000000 --- a/src/SmartTest.package/SmTTestFinderDynamicStrategy.class/properties.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "commentStamp" : "BenoitVerhaeghe 3/14/2018 21:59", - "super" : "SmTTestFinderStrategy", - "category" : "SmartTest-Finder", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "currentTestExecution" - ], - "name" : "SmTTestFinderDynamicStrategy", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestFinderStrategy.class/README.md b/src/SmartTest.package/SmTTestFinderStrategy.class/README.md deleted file mode 100644 index f1608a4..0000000 --- a/src/SmartTest.package/SmTTestFinderStrategy.class/README.md +++ /dev/null @@ -1 +0,0 @@ -I represent an abstract strategy to find tests exercising some method \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestFinderStrategy.class/class/isConcreteFinder.st b/src/SmartTest.package/SmTTestFinderStrategy.class/class/isConcreteFinder.st deleted file mode 100644 index 6fa7dbe..0000000 --- a/src/SmartTest.package/SmTTestFinderStrategy.class/class/isConcreteFinder.st +++ /dev/null @@ -1,3 +0,0 @@ -protocol -isConcreteFinder - ^ false \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestFinderStrategy.class/instance/cache..st b/src/SmartTest.package/SmTTestFinderStrategy.class/instance/cache..st deleted file mode 100644 index 2c80aae..0000000 --- a/src/SmartTest.package/SmTTestFinderStrategy.class/instance/cache..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -cache: aSmTCache - cache := aSmTCache \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestFinderStrategy.class/instance/cache.st b/src/SmartTest.package/SmTTestFinderStrategy.class/instance/cache.st deleted file mode 100644 index ad8319d..0000000 --- a/src/SmartTest.package/SmTTestFinderStrategy.class/instance/cache.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -cache - ^ cache \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestFinderStrategy.class/instance/computeInheritedTestFromDiscoveredTest..st b/src/SmartTest.package/SmTTestFinderStrategy.class/instance/computeInheritedTestFromDiscoveredTest..st deleted file mode 100644 index ceee394..0000000 --- a/src/SmartTest.package/SmTTestFinderStrategy.class/instance/computeInheritedTestFromDiscoveredTest..st +++ /dev/null @@ -1,10 +0,0 @@ -accessing -computeInheritedTestFromDiscoveredTest: aCollectionOfRGDefinitionOfTest - | testList | - testList := OrderedCollection new. - aCollectionOfRGDefinitionOfTest - do: [ :anRGDefinition | - anRGDefinition methodClass isAbstract - ifTrue: [ testList addAll: (self subTestFromRGDefinition: anRGDefinition) ] - ifFalse: [ testList add: anRGDefinition ] ]. - ^ testList asSet \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestFinderStrategy.class/instance/filter..st b/src/SmartTest.package/SmTTestFinderStrategy.class/instance/filter..st deleted file mode 100644 index b9c3f76..0000000 --- a/src/SmartTest.package/SmTTestFinderStrategy.class/instance/filter..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -filter: aSmTFilter - filter := aSmTFilter \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestFinderStrategy.class/instance/filter.st b/src/SmartTest.package/SmTTestFinderStrategy.class/instance/filter.st deleted file mode 100644 index b39a756..0000000 --- a/src/SmartTest.package/SmTTestFinderStrategy.class/instance/filter.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -filter - ^ filter \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestFinderStrategy.class/instance/initialize.st b/src/SmartTest.package/SmTTestFinderStrategy.class/instance/initialize.st deleted file mode 100644 index 96cbef9..0000000 --- a/src/SmartTest.package/SmTTestFinderStrategy.class/instance/initialize.st +++ /dev/null @@ -1,3 +0,0 @@ -initialization -initialize - self shouldTryToFindTestForDynamic: false \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestFinderStrategy.class/instance/methodToTest..st b/src/SmartTest.package/SmTTestFinderStrategy.class/instance/methodToTest..st deleted file mode 100644 index 7d8b26b..0000000 --- a/src/SmartTest.package/SmTTestFinderStrategy.class/instance/methodToTest..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -methodToTest: anObject - cache methodToTest: anObject \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestFinderStrategy.class/instance/methodsFor..st b/src/SmartTest.package/SmTTestFinderStrategy.class/instance/methodsFor..st deleted file mode 100644 index 0544d36..0000000 --- a/src/SmartTest.package/SmTTestFinderStrategy.class/instance/methodsFor..st +++ /dev/null @@ -1,26 +0,0 @@ -api -methodsFor: aCompiledMethod - ^ self cache - at: aCompiledMethod methodReference - ifAbsent: [ (self searchTestsForATestMethod: aCompiledMethod) - ifNotEmpty: [ :methods | - ^ (self searchTestsForMethod: aCompiledMethod) - addAll: (self computeInheritedTestFromDiscoveredTest: methods); - yourself ]. - (self searchTestsForASetUpMethod: aCompiledMethod) - ifNotEmpty: [ :methods | - ^ (self searchTestsForMethod: aCompiledMethod) - addAll: (self computeInheritedTestFromDiscoveredTest: methods); - yourself ]. - (self searchTestsForATearDownMethod: aCompiledMethod) - ifNotEmpty: [ :methods | - ^ (self searchTestsForMethod: aCompiledMethod) - addAll: (self computeInheritedTestFromDiscoveredTest: methods); - yourself ]. - (self searchTestsForAStandardMethod: aCompiledMethod) - ifNotEmpty: [ :methods | - ^ (self searchTestsForMethod: aCompiledMethod) - addAll: (self computeInheritedTestFromDiscoveredTest: methods); - yourself ]. - self cache at: aCompiledMethod methodReference put: Set new. - ^ {} ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestFinderStrategy.class/instance/recursiveSearchForAClass.inPackages..st b/src/SmartTest.package/SmTTestFinderStrategy.class/instance/recursiveSearchForAClass.inPackages..st deleted file mode 100644 index d8d4a71..0000000 --- a/src/SmartTest.package/SmTTestFinderStrategy.class/instance/recursiveSearchForAClass.inPackages..st +++ /dev/null @@ -1,3 +0,0 @@ -private - search -recursiveSearchForAClass: aClass inPackages: packagesToLookAt - ^ self recursiveSearchForAClass: aClass inPackages: packagesToLookAt alreadyVisited: Set new \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestFinderStrategy.class/instance/recursiveSearchForAClass.inPackages.alreadyVisited..st b/src/SmartTest.package/SmTTestFinderStrategy.class/instance/recursiveSearchForAClass.inPackages.alreadyVisited..st deleted file mode 100644 index 1b70cf9..0000000 --- a/src/SmartTest.package/SmTTestFinderStrategy.class/instance/recursiveSearchForAClass.inPackages.alreadyVisited..st +++ /dev/null @@ -1,21 +0,0 @@ -private - search -recursiveSearchForAClass: aClass inPackages: packagesToLookAt alreadyVisited: alreadyVisitedClass - | testsFound allCallsOnClass | - testsFound := Set new. - aClass isTestCase - ifTrue: [ (aClass methods select: [ :aMethod | aMethod isTestMethod ]) do: [ :eachTestMethod | testsFound addAll: (self methodsFor: eachTestMethod) ]. - aClass allTestSelectors do: [ :each | testsFound add: (RGMethodDefinition className: aClass name selector: each isMetaSide: false) ] ]. - testsFound - addAll: - ((aClass allCallsOn select: [ :aCallOn | (filter shouldEntityBeFilteredOut: aCallOn inPackages: packagesToLookAt) not ]) - flatCollect: [ :aRGMethodDefinition | self methodsFor: aRGMethodDefinition compiledMethod]). - aClass subclasses - reject: [ :aSubClass | - | reject | - reject := (filter shouldEntityBeFilteredOut: aSubClass inPackages: packagesToLookAt) or: [ alreadyVisitedClass includes: aSubClass ]. - alreadyVisitedClass add: aSubClass. - reject ] - thenDo: [ :aSubClass | - testsFound add: aSubClass. - testsFound addAll: (self recursiveSearchForAClass: aSubClass inPackages: packagesToLookAt alreadyVisited: alreadyVisitedClass) ]. - ^ testsFound \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForAClass..st b/src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForAClass..st deleted file mode 100644 index 0e73de2..0000000 --- a/src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForAClass..st +++ /dev/null @@ -1,5 +0,0 @@ -accessing -searchTestsForAClass: aClass - | packagesToLookAt | - packagesToLookAt := self filter extractPackagesFrom: aClass. - ^ self recursiveSearchForAClass: aClass inPackages: packagesToLookAt \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForAInstVar..st b/src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForAInstVar..st deleted file mode 100644 index c6c6211..0000000 --- a/src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForAInstVar..st +++ /dev/null @@ -1,7 +0,0 @@ -accessing -searchTestsForAInstVar: aInstVar - "This method returns all the tests related to a instance variable." - - | testsFound | - testsFound := Set new. - ^ testsFound \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForAInstVar.OfClass..st b/src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForAInstVar.OfClass..st deleted file mode 100644 index 37757a6..0000000 --- a/src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForAInstVar.OfClass..st +++ /dev/null @@ -1,12 +0,0 @@ -accessing -searchTestsForAInstVar: aInstanceVariable OfClass: aClass - "This method returns all the tests related to a instance variable." - - | testsFound senders | - testsFound := Set new. - senders := Set new. - senders - addAll: ((aClass classLayout allVisibleSlots select: [ :eachSlot | eachSlot name = aInstanceVariable ]) flatCollect: #usingMethods). - testsFound - addAll: (senders flatCollect: [ :each | self methodsFor: each ]). - ^ testsFound \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForASetUpMethod..st b/src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForASetUpMethod..st deleted file mode 100644 index 67ae9b9..0000000 --- a/src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForASetUpMethod..st +++ /dev/null @@ -1,10 +0,0 @@ -private -searchTestsForASetUpMethod: aCompiledMethod - "If the method is a TestCase setUp, returns all the tests of this TestCase and its subclasses" - ^ (aCompiledMethod isTestSetUpMethod) - ifTrue: [|result| - result := OrderedCollection new. - result addAll: aCompiledMethod methodClass allTestMethods. - (aCompiledMethod methodClass subclasses do:[:aSubClass | result addAll: aSubClass allTestMethods]). - result collect: #methodReference] - ifFalse: [{}]. \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForAStandardMethod..st b/src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForAStandardMethod..st deleted file mode 100644 index 16daa21..0000000 --- a/src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForAStandardMethod..st +++ /dev/null @@ -1,5 +0,0 @@ -private -searchTestsForAStandardMethod: aCompiledMethod - "Should return a Collection of #methodReference" - - self subclassResponsibility \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForATearDownMethod..st b/src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForATearDownMethod..st deleted file mode 100644 index e4417f0..0000000 --- a/src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForATearDownMethod..st +++ /dev/null @@ -1,11 +0,0 @@ -private -searchTestsForATearDownMethod: aCompiledMethod - "If the method is a TestCase tearDown, returns all the tests of this TestCase" - ^ (aCompiledMethod isTestTearDownMethod) - ifTrue: [ - |result| - result := OrderedCollection new. - result addAll: aCompiledMethod methodClass allTestMethods. - (aCompiledMethod methodClass subclasses do:[:aSubClass | result addAll: aSubClass allTestMethods]). - result collect: #methodReference] - ifFalse: [{}]. \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForATestMethod..st b/src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForATestMethod..st deleted file mode 100644 index eaa5ae8..0000000 --- a/src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForATestMethod..st +++ /dev/null @@ -1,5 +0,0 @@ -private -searchTestsForATestMethod: aCompiledMethod - ^ aCompiledMethod isTestMethod - ifTrue: [{aCompiledMethod methodReference}] - ifFalse: [{}]. \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForATrait..st b/src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForATrait..st deleted file mode 100644 index e293697..0000000 --- a/src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForATrait..st +++ /dev/null @@ -1,7 +0,0 @@ -accessing -searchTestsForATrait: aTrait - | packagesToLookAt testsFound| - testsFound := Set new. - packagesToLookAt := self filter extractPackagesFrom: aTrait. - aTrait users do: [:eachClass | testsFound addAll: (self recursiveSearchForAClass: eachClass inPackages: packagesToLookAt)]. - ^testsFound \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForClassReferenceOf..st b/src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForClassReferenceOf..st deleted file mode 100644 index fb1af37..0000000 --- a/src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForClassReferenceOf..st +++ /dev/null @@ -1,13 +0,0 @@ -private -searchTestsForClassReferenceOf: aCompiledMethod - "Find all tests in related packages that reference the method's class" - | allSendersClass allTests | - allSendersClass := (aCompiledMethod methodClass allCallsOn - collect: [:aReference| - aReference actualClass]) asSet - select: [:aClass| - (aClass isKindOf: TestCase class) ]. - - allTests := OrderedCollection new. - allSendersClass do: [:aClass| allTests addAll: aClass allTestMethods]. - ^ allTests collect: #methodReference. \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForMethod..st b/src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForMethod..st deleted file mode 100644 index 69ae4c1..0000000 --- a/src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForMethod..st +++ /dev/null @@ -1,5 +0,0 @@ -accessing -searchTestsForMethod: aCompiledMethod - ^ self cache relevantTestsFor: aCompiledMethod - "at: aCompiledMethod methodReference - ifAbsentPut: [ Set new ]" \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForMethodReference..st b/src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForMethodReference..st deleted file mode 100644 index 334bc02..0000000 --- a/src/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForMethodReference..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -searchTestsForMethodReference: aMethodReference - ^ self cache searchTestsForMethodReference: aMethodReference \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestFinderStrategy.class/instance/shouldTryToFindTestForDynamic..st b/src/SmartTest.package/SmTTestFinderStrategy.class/instance/shouldTryToFindTestForDynamic..st deleted file mode 100644 index d0dbe63..0000000 --- a/src/SmartTest.package/SmTTestFinderStrategy.class/instance/shouldTryToFindTestForDynamic..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -shouldTryToFindTestForDynamic: aBoolean - shouldTryToFindTestForDynamic := aBoolean \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestFinderStrategy.class/instance/shouldTryToFindTestForDynamic.st b/src/SmartTest.package/SmTTestFinderStrategy.class/instance/shouldTryToFindTestForDynamic.st deleted file mode 100644 index ce10b33..0000000 --- a/src/SmartTest.package/SmTTestFinderStrategy.class/instance/shouldTryToFindTestForDynamic.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -shouldTryToFindTestForDynamic - ^ shouldTryToFindTestForDynamic \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestFinderStrategy.class/instance/subTestFromRGDefinition..st b/src/SmartTest.package/SmTTestFinderStrategy.class/instance/subTestFromRGDefinition..st deleted file mode 100644 index 5d67d1e..0000000 --- a/src/SmartTest.package/SmTTestFinderStrategy.class/instance/subTestFromRGDefinition..st +++ /dev/null @@ -1,6 +0,0 @@ -accessing -subTestFromRGDefinition: anRGDefinition - ^ self - computeInheritedTestFromDiscoveredTest: - ((anRGDefinition methodClass suite tests flatCollect: #tests) - collect: [ :each | RGMethodDefinition class: each class selector: each selector ]) \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestFinderStrategy.class/properties.json b/src/SmartTest.package/SmTTestFinderStrategy.class/properties.json deleted file mode 100644 index ad94c13..0000000 --- a/src/SmartTest.package/SmTTestFinderStrategy.class/properties.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "commentStamp" : "eleonoreW 6/29/2018 15:25", - "super" : "Object", - "category" : "SmartTest-Finder", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "filter", - "cache", - "shouldTryToFindTestForDynamic" - ], - "name" : "SmTTestFinderStrategy", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestGenerator.class/README.md b/src/SmartTest.package/SmTTestGenerator.class/README.md deleted file mode 100644 index 864ae0b..0000000 --- a/src/SmartTest.package/SmTTestGenerator.class/README.md +++ /dev/null @@ -1 +0,0 @@ -Tool easy to use by everyone to generate test from a Compiled Method \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestGenerator.class/instance/buildTestClassDefinitionFrom..st b/src/SmartTest.package/SmTTestGenerator.class/instance/buildTestClassDefinitionFrom..st deleted file mode 100644 index 2990d9e..0000000 --- a/src/SmartTest.package/SmTTestGenerator.class/instance/buildTestClassDefinitionFrom..st +++ /dev/null @@ -1,8 +0,0 @@ -widget method -buildTestClassDefinitionFrom: aClass - - ^ 'TestCase subclass: ', (self buildTestClassNameFrom: aClass) printString, ' - instanceVariableNames: '''' - classVariableNames: '''' - poolDictionaries: '''' - package: ''',(self buildTestPackageNameFrom:aClass),'''' \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestGenerator.class/instance/buildTestClassNameFrom..st b/src/SmartTest.package/SmTTestGenerator.class/instance/buildTestClassNameFrom..st deleted file mode 100644 index 8321241..0000000 --- a/src/SmartTest.package/SmTTestGenerator.class/instance/buildTestClassNameFrom..st +++ /dev/null @@ -1,4 +0,0 @@ -widget method -buildTestClassNameFrom: aClass - - ^ (aClass name asString,'Test') asSymbol \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestGenerator.class/instance/buildTestPackageNameFrom..st b/src/SmartTest.package/SmTTestGenerator.class/instance/buildTestPackageNameFrom..st deleted file mode 100644 index 22e9d73..0000000 --- a/src/SmartTest.package/SmTTestGenerator.class/instance/buildTestPackageNameFrom..st +++ /dev/null @@ -1,4 +0,0 @@ -widget method -buildTestPackageNameFrom:aClass - - ^ aClass package name asString, '-Tests' \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestGenerator.class/instance/buildTestSelectorFor..st b/src/SmartTest.package/SmTTestGenerator.class/instance/buildTestSelectorFor..st deleted file mode 100644 index 9fb1dd1..0000000 --- a/src/SmartTest.package/SmTTestGenerator.class/instance/buildTestSelectorFor..st +++ /dev/null @@ -1,15 +0,0 @@ -widget method -buildTestSelectorFor: aMethod - - ^ String streamContents: [:s || capitalize | - capitalize := true. - s << 'test'. - aMethod selector do: [:c | - c = $: - ifTrue: [ capitalize := true ] - ifFalse: [ capitalize - ifTrue: [ - capitalize := false. - s << c asUppercase. ] - ifFalse:[ s << c ]]]] - \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestGenerator.class/instance/createTestForClass..st b/src/SmartTest.package/SmTTestGenerator.class/instance/createTestForClass..st deleted file mode 100644 index 59c0c1e..0000000 --- a/src/SmartTest.package/SmTTestGenerator.class/instance/createTestForClass..st +++ /dev/null @@ -1,20 +0,0 @@ -widget method -createTestForClass: aClass - | testClass className | - aClass ifNil: [ ^ nil ]. - aClass isTestCase - ifTrue: [ ^ nil ]. - aClass isMeta - ifTrue: [ ^ nil ]. - className := self buildTestClassNameFrom: aClass. - testClass := self class environment - at: className - ifPresent: [ :class | class ] - ifAbsent: [ testClass := TestCase - subclass: className - instanceVariableNames: '' - classVariableNames: '' - package: (self buildTestPackageNameFrom: aClass). - self class environment at: className. - testClass comment: (self generateCommentForTestClass: testClass from: aClass) ]. - ^ testClass \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestGenerator.class/instance/generateCommentForTestClass.from..st b/src/SmartTest.package/SmTTestGenerator.class/instance/generateCommentForTestClass.from..st deleted file mode 100644 index 783ab03..0000000 --- a/src/SmartTest.package/SmTTestGenerator.class/instance/generateCommentForTestClass.from..st +++ /dev/null @@ -1,9 +0,0 @@ -widget method -generateCommentForTestClass: testClass from: aClass - - ^ String streamContents: [:stream || name | - name := testClass name. - name first isVowel - ifTrue: [ stream << 'An '] - ifFalse:[ stream <<'A ']. - stream << name << ' is a test class for testing the behavior of '<< aClass name ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestGenerator.class/instance/generateSourceCodeForTestFrom..st b/src/SmartTest.package/SmTTestGenerator.class/instance/generateSourceCodeForTestFrom..st deleted file mode 100644 index 4dab780..0000000 --- a/src/SmartTest.package/SmTTestGenerator.class/instance/generateSourceCodeForTestFrom..st +++ /dev/null @@ -1,3 +0,0 @@ -widget method -generateSourceCodeForTestFrom: aMethod - ^ (self buildTestSelectorFor: aMethod), String crlf,' self shouldBeImplemented' \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestGenerator.class/instance/generateTestMethodFor..st b/src/SmartTest.package/SmTTestGenerator.class/instance/generateTestMethodFor..st deleted file mode 100644 index 49e43b3..0000000 --- a/src/SmartTest.package/SmTTestGenerator.class/instance/generateTestMethodFor..st +++ /dev/null @@ -1,15 +0,0 @@ -widget method -generateTestMethodFor: aMethod - "generate a test method for aMethod and return the generated method" - - | class testMethodName | - testMethodName := aMethod methodClass name , 'Test'. - class := Smalltalk allClasses - detect: [ :e | e name = testMethodName ] - ifNone: [ self createTestForClass: aMethod methodClass ]. - class - ifNotNil: [ class - compile: (self generateSourceCodeForTestFrom: aMethod) - classified: 'tests-' , aMethod category. - ^ class >> (self buildTestSelectorFor: aMethod) asSymbol ]. - ^ nil \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestGenerator.class/properties.json b/src/SmartTest.package/SmTTestGenerator.class/properties.json deleted file mode 100644 index 70f7b30..0000000 --- a/src/SmartTest.package/SmTTestGenerator.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "BenoitVerhaeghe 7/7/2017 16:25", - "super" : "Object", - "category" : "SmartTest-Tools", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTTestGenerator", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestListener.class/README.md b/src/SmartTest.package/SmTTestListener.class/README.md deleted file mode 100644 index 100c415..0000000 --- a/src/SmartTest.package/SmTTestListener.class/README.md +++ /dev/null @@ -1 +0,0 @@ -I'm listening all the tests event and add it to the RTS \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestListener.class/class/activated..st b/src/SmartTest.package/SmTTestListener.class/class/activated..st deleted file mode 100644 index 16dbb4b..0000000 --- a/src/SmartTest.package/SmTTestListener.class/class/activated..st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -activated: aSelector - activated := aSelector. - self uniqueInstance activated: aSelector \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestListener.class/class/activated.st b/src/SmartTest.package/SmTTestListener.class/class/activated.st deleted file mode 100644 index 7f03b2d..0000000 --- a/src/SmartTest.package/SmTTestListener.class/class/activated.st +++ /dev/null @@ -1,5 +0,0 @@ -accessing -activated - ^ activated - ifNil: [ activated := false. - self uniqueInstance activated: false ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestListener.class/class/settingsOn..st b/src/SmartTest.package/SmTTestListener.class/class/settingsOn..st deleted file mode 100644 index 87f61e3..0000000 --- a/src/SmartTest.package/SmTTestListener.class/class/settingsOn..st +++ /dev/null @@ -1,11 +0,0 @@ -initialization -settingsOn: aBuilder - - (aBuilder setting: #activated) - parent: #Beta; - target: self; - order: 0.04; - label: 'AutoUpdate Cache'; - description: - 'When you execute a test, we''''are updating the cache for it execution - (BETA)' \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestListener.class/class/uniqueInstance.st b/src/SmartTest.package/SmTTestListener.class/class/uniqueInstance.st deleted file mode 100644 index 7d34d72..0000000 --- a/src/SmartTest.package/SmTTestListener.class/class/uniqueInstance.st +++ /dev/null @@ -1,3 +0,0 @@ -initialization -uniqueInstance - ^ uniqueInstance ifNil: [ uniqueInstance := self new ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestListener.class/instance/activated..st b/src/SmartTest.package/SmTTestListener.class/instance/activated..st deleted file mode 100644 index 3cc0774..0000000 --- a/src/SmartTest.package/SmTTestListener.class/instance/activated..st +++ /dev/null @@ -1,6 +0,0 @@ -announcement handling -activated: aSelector - aSelector - ifTrue: [ self disableListenerTestCase. - self enableListenerTestCase ] - ifFalse: [ self disableListenerTestCase ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestListener.class/instance/cacheStrategy..st b/src/SmartTest.package/SmTTestListener.class/instance/cacheStrategy..st deleted file mode 100644 index 886d7f6..0000000 --- a/src/SmartTest.package/SmTTestListener.class/instance/cacheStrategy..st +++ /dev/null @@ -1,3 +0,0 @@ -announcement handling -cacheStrategy: aCacheClass - cacheClass := aCacheClass \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestListener.class/instance/cacheStrategy.st b/src/SmartTest.package/SmTTestListener.class/instance/cacheStrategy.st deleted file mode 100644 index 505d110..0000000 --- a/src/SmartTest.package/SmTTestListener.class/instance/cacheStrategy.st +++ /dev/null @@ -1,3 +0,0 @@ -announcement handling -cacheStrategy - ^ cacheClass \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestListener.class/instance/disableListenerTestCase.st b/src/SmartTest.package/SmTTestListener.class/instance/disableListenerTestCase.st deleted file mode 100644 index 52f24e1..0000000 --- a/src/SmartTest.package/SmTTestListener.class/instance/disableListenerTestCase.st +++ /dev/null @@ -1,4 +0,0 @@ -protocol -disableListenerTestCase - SmTAnnouncer announcer unsubscribe: self. - SmTAnnouncer announcer unsubscribe: self \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestListener.class/instance/enableListenerTestCase.st b/src/SmartTest.package/SmTTestListener.class/instance/enableListenerTestCase.st deleted file mode 100644 index 9ed9c5d..0000000 --- a/src/SmartTest.package/SmTTestListener.class/instance/enableListenerTestCase.st +++ /dev/null @@ -1,4 +0,0 @@ -protocol -enableListenerTestCase - SmTAnnouncer announcer weak when: TestCaseStarted send: #testCaseStarted: to: self. - SmTAnnouncer announcer weak when: TestCaseEnded send: #testCaseEnded: to: self \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestListener.class/instance/smtDynamicFinder..st b/src/SmartTest.package/SmTTestListener.class/instance/smtDynamicFinder..st deleted file mode 100644 index 5d84b60..0000000 --- a/src/SmartTest.package/SmTTestListener.class/instance/smtDynamicFinder..st +++ /dev/null @@ -1,3 +0,0 @@ -announcement handling -smtDynamicFinder: aSmTTestFinderStrategy - smtDynamicFinder := aSmTTestFinderStrategy \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestListener.class/instance/smtDynamicFinder.st b/src/SmartTest.package/SmTTestListener.class/instance/smtDynamicFinder.st deleted file mode 100644 index a88a39f..0000000 --- a/src/SmartTest.package/SmTTestListener.class/instance/smtDynamicFinder.st +++ /dev/null @@ -1,3 +0,0 @@ -announcement handling -smtDynamicFinder - ^ smtDynamicFinder \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestListener.class/instance/testCaseEnded..st b/src/SmartTest.package/SmTTestListener.class/instance/testCaseEnded..st deleted file mode 100644 index ea8a75a..0000000 --- a/src/SmartTest.package/SmTTestListener.class/instance/testCaseEnded..st +++ /dev/null @@ -1,3 +0,0 @@ -protocol -testCaseEnded: aTestAnnouncement - self smtDynamicFinder analyseAndRemoveProxyFor: aTestAnnouncement testCase \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestListener.class/instance/testCaseStarted..st b/src/SmartTest.package/SmTTestListener.class/instance/testCaseStarted..st deleted file mode 100644 index 9fc4460..0000000 --- a/src/SmartTest.package/SmTTestListener.class/instance/testCaseStarted..st +++ /dev/null @@ -1,3 +0,0 @@ -protocol -testCaseStarted: aTestAnnouncement - self smtDynamicFinder installProxyFor: aTestAnnouncement testCase \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestListener.class/properties.json b/src/SmartTest.package/SmTTestListener.class/properties.json deleted file mode 100644 index 970ebdf..0000000 --- a/src/SmartTest.package/SmTTestListener.class/properties.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/3/2018 14:50", - "super" : "Object", - "category" : "SmartTest-Listener", - "classinstvars" : [ - "uniqueInstance", - "activated" - ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "cacheClass", - "smtDynamicFinder" - ], - "name" : "SmTTestListener", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestingStrategy.class/README.md b/src/SmartTest.package/SmTTestingStrategy.class/README.md deleted file mode 100644 index 119b946..0000000 --- a/src/SmartTest.package/SmTTestingStrategy.class/README.md +++ /dev/null @@ -1 +0,0 @@ -The testing strategy defines when the tests we've found will be run. \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestingStrategy.class/instance/disable.st b/src/SmartTest.package/SmTTestingStrategy.class/instance/disable.st deleted file mode 100644 index 2be7069..0000000 --- a/src/SmartTest.package/SmTTestingStrategy.class/instance/disable.st +++ /dev/null @@ -1,3 +0,0 @@ -protocol -disable - "can be override" \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestingStrategy.class/instance/enable.st b/src/SmartTest.package/SmTTestingStrategy.class/instance/enable.st deleted file mode 100644 index 7389a0a..0000000 --- a/src/SmartTest.package/SmTTestingStrategy.class/instance/enable.st +++ /dev/null @@ -1,3 +0,0 @@ -protocol -enable - "can be override" \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestingStrategy.class/instance/findTestsForMethod..st b/src/SmartTest.package/SmTTestingStrategy.class/instance/findTestsForMethod..st deleted file mode 100644 index 8a31725..0000000 --- a/src/SmartTest.package/SmTTestingStrategy.class/instance/findTestsForMethod..st +++ /dev/null @@ -1,3 +0,0 @@ -instance creation -findTestsForMethod: aCompiledMethod - self subclassResponsibility \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestingStrategy.class/instance/finder..st b/src/SmartTest.package/SmTTestingStrategy.class/instance/finder..st deleted file mode 100644 index 7ca23c0..0000000 --- a/src/SmartTest.package/SmTTestingStrategy.class/instance/finder..st +++ /dev/null @@ -1,3 +0,0 @@ -instance creation -finder: aSmTFinder - finder := aSmTFinder \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestingStrategy.class/instance/finder.st b/src/SmartTest.package/SmTTestingStrategy.class/instance/finder.st deleted file mode 100644 index 532fa51..0000000 --- a/src/SmartTest.package/SmTTestingStrategy.class/instance/finder.st +++ /dev/null @@ -1,4 +0,0 @@ -instance creation -finder - ^ finder - \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestingStrategy.class/instance/getMethodsFor..st b/src/SmartTest.package/SmTTestingStrategy.class/instance/getMethodsFor..st deleted file mode 100644 index f6a113c..0000000 --- a/src/SmartTest.package/SmTTestingStrategy.class/instance/getMethodsFor..st +++ /dev/null @@ -1,3 +0,0 @@ -instance creation -getMethodsFor: aCompiledMethod - ^ self getTestMethodFromCompiledTestMethod: (self finder methodsFor: aCompiledMethod) \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestingStrategy.class/instance/getTestMethodFromCompiledTestMethod..st b/src/SmartTest.package/SmTTestingStrategy.class/instance/getTestMethodFromCompiledTestMethod..st deleted file mode 100644 index 315d7b5..0000000 --- a/src/SmartTest.package/SmTTestingStrategy.class/instance/getTestMethodFromCompiledTestMethod..st +++ /dev/null @@ -1,4 +0,0 @@ -instance creation -getTestMethodFromCompiledTestMethod: aCollectionOfCompiledMethod - ^ aCollectionOfCompiledMethod - collect: [ :aCompiledMethod | aCompiledMethod methodClass selector: aCompiledMethod selector ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestingStrategy.class/instance/runner..st b/src/SmartTest.package/SmTTestingStrategy.class/instance/runner..st deleted file mode 100644 index 4fd89d5..0000000 --- a/src/SmartTest.package/SmTTestingStrategy.class/instance/runner..st +++ /dev/null @@ -1,3 +0,0 @@ -instance creation -runner: aSmTRunner - runner := aSmTRunner \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestingStrategy.class/instance/runner.st b/src/SmartTest.package/SmTTestingStrategy.class/instance/runner.st deleted file mode 100644 index 205cb7c..0000000 --- a/src/SmartTest.package/SmTTestingStrategy.class/instance/runner.st +++ /dev/null @@ -1,3 +0,0 @@ -instance creation -runner - ^ runner \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestingStrategy.class/properties.json b/src/SmartTest.package/SmTTestingStrategy.class/properties.json deleted file mode 100644 index 4b6d04d..0000000 --- a/src/SmartTest.package/SmTTestingStrategy.class/properties.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "commentStamp" : "BenoitVerhaeghe 7/13/2017 14:17", - "super" : "Object", - "category" : "SmartTest-Testing", - "classinstvars" : [ - "queue", - "researchProcess", - "defaultSize" - ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "finder", - "runner" - ], - "name" : "SmTTestingStrategy", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestingStrategyAlways.class/README.md b/src/SmartTest.package/SmTTestingStrategyAlways.class/README.md deleted file mode 100644 index 7eb54d8..0000000 --- a/src/SmartTest.package/SmTTestingStrategyAlways.class/README.md +++ /dev/null @@ -1 +0,0 @@ -As soon as the tests are found. CORA run the test suite \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestingStrategyAlways.class/instance/findTestsForMethod..st b/src/SmartTest.package/SmTTestingStrategyAlways.class/instance/findTestsForMethod..st deleted file mode 100644 index 0e016d8..0000000 --- a/src/SmartTest.package/SmTTestingStrategyAlways.class/instance/findTestsForMethod..st +++ /dev/null @@ -1,6 +0,0 @@ -instance creation -findTestsForMethod: aCompiledMethod - | tests | - tests := self getMethodsFor: aCompiledMethod. - self runner runCases: tests. - ^ tests \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestingStrategyAlways.class/properties.json b/src/SmartTest.package/SmTTestingStrategyAlways.class/properties.json deleted file mode 100644 index 48b1326..0000000 --- a/src/SmartTest.package/SmTTestingStrategyAlways.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "BenoitVerhaeghe 7/13/2017 14:18", - "super" : "SmTTestingStrategy", - "category" : "SmartTest-Testing", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTTestingStrategyAlways", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestingStrategyEachModification.class/README.md b/src/SmartTest.package/SmTTestingStrategyEachModification.class/README.md deleted file mode 100644 index 8ad2251..0000000 --- a/src/SmartTest.package/SmTTestingStrategyEachModification.class/README.md +++ /dev/null @@ -1 +0,0 @@ -Each time the developer does a modification, CORA run the test suite \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestingStrategyEachModification.class/instance/addToElementBag..st b/src/SmartTest.package/SmTTestingStrategyEachModification.class/instance/addToElementBag..st deleted file mode 100644 index 51de68c..0000000 --- a/src/SmartTest.package/SmTTestingStrategyEachModification.class/instance/addToElementBag..st +++ /dev/null @@ -1,3 +0,0 @@ -instance creation -addToElementBag: anElement - self bag add: anElement \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestingStrategyEachModification.class/instance/bag.st b/src/SmartTest.package/SmTTestingStrategyEachModification.class/instance/bag.st deleted file mode 100644 index aa9c970..0000000 --- a/src/SmartTest.package/SmTTestingStrategyEachModification.class/instance/bag.st +++ /dev/null @@ -1,3 +0,0 @@ -instance creation -bag - ^ bag \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestingStrategyEachModification.class/instance/disable.st b/src/SmartTest.package/SmTTestingStrategyEachModification.class/instance/disable.st deleted file mode 100644 index dd3afcb..0000000 --- a/src/SmartTest.package/SmTTestingStrategyEachModification.class/instance/disable.st +++ /dev/null @@ -1,5 +0,0 @@ -protocol -disable - super disable. - - SystemAnnouncer uniqueInstance unsubscribe: self \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestingStrategyEachModification.class/instance/enable.st b/src/SmartTest.package/SmTTestingStrategyEachModification.class/instance/enable.st deleted file mode 100644 index 4b47cdb..0000000 --- a/src/SmartTest.package/SmTTestingStrategyEachModification.class/instance/enable.st +++ /dev/null @@ -1,7 +0,0 @@ -protocol -enable - super enable. - SystemAnnouncer uniqueInstance unsubscribe: self. - {(MethodModified -> #methodModified:). - (MethodAdded -> #methodAdded:)} - do: [ :pair | SystemAnnouncer uniqueInstance weak when: pair key send: pair value to: self ] \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestingStrategyEachModification.class/instance/findTestsForMethod..st b/src/SmartTest.package/SmTTestingStrategyEachModification.class/instance/findTestsForMethod..st deleted file mode 100644 index fb71921..0000000 --- a/src/SmartTest.package/SmTTestingStrategyEachModification.class/instance/findTestsForMethod..st +++ /dev/null @@ -1,7 +0,0 @@ -instance creation -findTestsForMethod: aCompiledMethod - | tests | - tests := self getMethodsFor: aCompiledMethod. - (self getElementFromBag: aCompiledMethod) - ifNotNil: [ self runner runCases: tests ]. - ^ tests \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestingStrategyEachModification.class/instance/getElementFromBag..st b/src/SmartTest.package/SmTTestingStrategyEachModification.class/instance/getElementFromBag..st deleted file mode 100644 index 8a04b66..0000000 --- a/src/SmartTest.package/SmTTestingStrategyEachModification.class/instance/getElementFromBag..st +++ /dev/null @@ -1,6 +0,0 @@ -instance creation -getElementFromBag: anElement - "return nil if element absent. The object else" - - self bag remove: anElement ifAbsent: [ ^ nil ]. - ^ anElement \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestingStrategyEachModification.class/instance/initialize.st b/src/SmartTest.package/SmTTestingStrategyEachModification.class/instance/initialize.st deleted file mode 100644 index 00734c9..0000000 --- a/src/SmartTest.package/SmTTestingStrategyEachModification.class/instance/initialize.st +++ /dev/null @@ -1,3 +0,0 @@ -initialization -initialize - bag := Bag new \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestingStrategyEachModification.class/instance/methodAdded..st b/src/SmartTest.package/SmTTestingStrategyEachModification.class/instance/methodAdded..st deleted file mode 100644 index 251545a..0000000 --- a/src/SmartTest.package/SmTTestingStrategyEachModification.class/instance/methodAdded..st +++ /dev/null @@ -1,3 +0,0 @@ -instance creation -methodAdded: anAnnouncement - self addToElementBag: anAnnouncement methodAdded \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestingStrategyEachModification.class/instance/methodModified..st b/src/SmartTest.package/SmTTestingStrategyEachModification.class/instance/methodModified..st deleted file mode 100644 index 796b801..0000000 --- a/src/SmartTest.package/SmTTestingStrategyEachModification.class/instance/methodModified..st +++ /dev/null @@ -1,3 +0,0 @@ -instance creation -methodModified: anAnnouncement - self addToElementBag: anAnnouncement newMethod \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestingStrategyEachModification.class/properties.json b/src/SmartTest.package/SmTTestingStrategyEachModification.class/properties.json deleted file mode 100644 index 8a90851..0000000 --- a/src/SmartTest.package/SmTTestingStrategyEachModification.class/properties.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "commentStamp" : "BenoitVerhaeghe 7/13/2017 14:18", - "super" : "SmTTestingStrategy", - "category" : "SmartTest-Testing", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "bag" - ], - "name" : "SmTTestingStrategyEachModification", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestingStrategyFiveMinutes.class/README.md b/src/SmartTest.package/SmTTestingStrategyFiveMinutes.class/README.md deleted file mode 100644 index 90ffc7d..0000000 --- a/src/SmartTest.package/SmTTestingStrategyFiveMinutes.class/README.md +++ /dev/null @@ -1 +0,0 @@ -Every 5 minutes, CORA run the tests which have been found in the last 5 minutes \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestingStrategyFiveMinutes.class/instance/disable.st b/src/SmartTest.package/SmTTestingStrategyFiveMinutes.class/instance/disable.st deleted file mode 100644 index d23561b..0000000 --- a/src/SmartTest.package/SmTTestingStrategyFiveMinutes.class/instance/disable.st +++ /dev/null @@ -1,4 +0,0 @@ -protocol -disable - super disable. - SmTFivesMinutesCollector stop \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestingStrategyFiveMinutes.class/instance/enable.st b/src/SmartTest.package/SmTTestingStrategyFiveMinutes.class/instance/enable.st deleted file mode 100644 index 31e4945..0000000 --- a/src/SmartTest.package/SmTTestingStrategyFiveMinutes.class/instance/enable.st +++ /dev/null @@ -1,4 +0,0 @@ -protocol -enable - super enable. - SmTFivesMinutesCollector start \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestingStrategyFiveMinutes.class/instance/findTestsForMethod..st b/src/SmartTest.package/SmTTestingStrategyFiveMinutes.class/instance/findTestsForMethod..st deleted file mode 100644 index 301e6fb..0000000 --- a/src/SmartTest.package/SmTTestingStrategyFiveMinutes.class/instance/findTestsForMethod..st +++ /dev/null @@ -1,6 +0,0 @@ -instance creation -findTestsForMethod: aCompiledMethod - | tests | - tests := self getMethodsFor: aCompiledMethod. - SmTFivesMinutesCollector addTestMethods: tests. - ^ tests \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestingStrategyFiveMinutes.class/properties.json b/src/SmartTest.package/SmTTestingStrategyFiveMinutes.class/properties.json deleted file mode 100644 index 4889df8..0000000 --- a/src/SmartTest.package/SmTTestingStrategyFiveMinutes.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "BenoitVerhaeghe 7/13/2017 14:19", - "super" : "SmTTestingStrategy", - "category" : "SmartTest-Testing", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTTestingStrategyFiveMinutes", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestingStrategyNever.class/README.md b/src/SmartTest.package/SmTTestingStrategyNever.class/README.md deleted file mode 100644 index 694e63d..0000000 --- a/src/SmartTest.package/SmTTestingStrategyNever.class/README.md +++ /dev/null @@ -1 +0,0 @@ -CORA never run test automatically \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestingStrategyNever.class/instance/findTestsForMethod..st b/src/SmartTest.package/SmTTestingStrategyNever.class/instance/findTestsForMethod..st deleted file mode 100644 index 0e3832c..0000000 --- a/src/SmartTest.package/SmTTestingStrategyNever.class/instance/findTestsForMethod..st +++ /dev/null @@ -1,3 +0,0 @@ -instance creation -findTestsForMethod: aCompiledMethod - ^ self getMethodsFor: aCompiledMethod \ No newline at end of file diff --git a/src/SmartTest.package/SmTTestingStrategyNever.class/properties.json b/src/SmartTest.package/SmTTestingStrategyNever.class/properties.json deleted file mode 100644 index 5536709..0000000 --- a/src/SmartTest.package/SmTTestingStrategyNever.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "BenoitVerhaeghe 7/13/2017 14:19", - "super" : "SmTTestingStrategy", - "category" : "SmartTest-Testing", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTTestingStrategyNever", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest.package/SmalltalkImage.extension/instance/allMethods.st b/src/SmartTest.package/SmalltalkImage.extension/instance/allMethods.st deleted file mode 100644 index 240d58f..0000000 --- a/src/SmartTest.package/SmalltalkImage.extension/instance/allMethods.st +++ /dev/null @@ -1,4 +0,0 @@ -*SmartTest -allMethods - - ^ globals allClasses flatCollect: #methods \ No newline at end of file diff --git a/src/SmartTest.package/SmalltalkImage.extension/instance/allTestMethods.st b/src/SmartTest.package/SmalltalkImage.extension/instance/allTestMethods.st deleted file mode 100644 index 51b7173..0000000 --- a/src/SmartTest.package/SmalltalkImage.extension/instance/allTestMethods.st +++ /dev/null @@ -1,4 +0,0 @@ -*SmartTest -allTestMethods - - ^(globals allClasses flatCollect: #methods) select: #isTestMethod \ No newline at end of file diff --git a/src/SmartTest.package/SmalltalkImage.extension/properties.json b/src/SmartTest.package/SmalltalkImage.extension/properties.json deleted file mode 100644 index f581b92..0000000 --- a/src/SmartTest.package/SmalltalkImage.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "SmalltalkImage" -} \ No newline at end of file diff --git a/src/SmartTest.package/SmartFinder.class/README.md b/src/SmartTest.package/SmartFinder.class/README.md deleted file mode 100644 index 03f4122..0000000 --- a/src/SmartTest.package/SmartFinder.class/README.md +++ /dev/null @@ -1,13 +0,0 @@ -I'm the boss !!! - -I contain the instance of all the stuff the user needs. - -If you want to specify some strategy -use it more or less that way (here with the default values) - -SmartFinder new - cache: self cacheStrategy new; - filter: self filter new; - testRunner: self testRunner; - smtFinder: self smtFinder new; - testingStrategy: self testingStrategy new \ No newline at end of file diff --git a/src/SmartTest.package/SmartFinder.class/instance/autoUpdateCache..st b/src/SmartTest.package/SmartFinder.class/instance/autoUpdateCache..st deleted file mode 100644 index d9fde1a..0000000 --- a/src/SmartTest.package/SmartFinder.class/instance/autoUpdateCache..st +++ /dev/null @@ -1,5 +0,0 @@ -accessing -autoUpdateCache: aBoolean - self smtListener cacheStrategy: self cacheStrategy. - self smtListener smtDynamicFinder: self smtFinder. - self smtListener class activated: aBoolean \ No newline at end of file diff --git a/src/SmartTest.package/SmartFinder.class/instance/buildCacheFromTestSuite..st b/src/SmartTest.package/SmartFinder.class/instance/buildCacheFromTestSuite..st deleted file mode 100644 index 4d07ca0..0000000 --- a/src/SmartTest.package/SmartFinder.class/instance/buildCacheFromTestSuite..st +++ /dev/null @@ -1,4 +0,0 @@ -api -buildCacheFromTestSuite: aTestSuite - "Work only if you have selected a Dynamic strategy" - self smtFinder buildCacheFromTestSuite: aTestSuite \ No newline at end of file diff --git a/src/SmartTest.package/SmartFinder.class/instance/cacheStrategy..st b/src/SmartTest.package/SmartFinder.class/instance/cacheStrategy..st deleted file mode 100644 index fd0a35a..0000000 --- a/src/SmartTest.package/SmartFinder.class/instance/cacheStrategy..st +++ /dev/null @@ -1,7 +0,0 @@ -accessing -cacheStrategy: aSmTCacheStrategy - | tmpCache | - tmpCache := self currentCache. - cacheStrategy := aSmTCacheStrategy. - cacheStrategy cache: tmpCache. - self smtFinder cache: cacheStrategy \ No newline at end of file diff --git a/src/SmartTest.package/SmartFinder.class/instance/cacheStrategy.st b/src/SmartTest.package/SmartFinder.class/instance/cacheStrategy.st deleted file mode 100644 index db09239..0000000 --- a/src/SmartTest.package/SmartFinder.class/instance/cacheStrategy.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -cacheStrategy - ^ cacheStrategy ifNil: [ cacheStrategy := SmTBasicCacheStrategy new cache: Dictionary new ] \ No newline at end of file diff --git a/src/SmartTest.package/SmartFinder.class/instance/clean.st b/src/SmartTest.package/SmartFinder.class/instance/clean.st deleted file mode 100644 index 8f475f1..0000000 --- a/src/SmartTest.package/SmartFinder.class/instance/clean.st +++ /dev/null @@ -1,5 +0,0 @@ -api -clean - "Use before loosing my reference - I remove the listener" - self testingStrategy disable \ No newline at end of file diff --git a/src/SmartTest.package/SmartFinder.class/instance/currentCache.st b/src/SmartTest.package/SmartFinder.class/instance/currentCache.st deleted file mode 100644 index 2e7acd8..0000000 --- a/src/SmartTest.package/SmartFinder.class/instance/currentCache.st +++ /dev/null @@ -1,3 +0,0 @@ -api -currentCache - ^ self cacheStrategy currentCache \ No newline at end of file diff --git a/src/SmartTest.package/SmartFinder.class/instance/filter..st b/src/SmartTest.package/SmartFinder.class/instance/filter..st deleted file mode 100644 index be3780f..0000000 --- a/src/SmartTest.package/SmartFinder.class/instance/filter..st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -filter: aSmTDefaultPackagesFilter - filter := aSmTDefaultPackagesFilter. - self smtFinder filter: aSmTDefaultPackagesFilter \ No newline at end of file diff --git a/src/SmartTest.package/SmartFinder.class/instance/filter.st b/src/SmartTest.package/SmartFinder.class/instance/filter.st deleted file mode 100644 index 5bedb47..0000000 --- a/src/SmartTest.package/SmartFinder.class/instance/filter.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -filter - ^ filter ifNil: [ filter := SmTDefaultPackagesFilter new ] \ No newline at end of file diff --git a/src/SmartTest.package/SmartFinder.class/instance/findTestsForMethod..st b/src/SmartTest.package/SmartFinder.class/instance/findTestsForMethod..st deleted file mode 100644 index a519ae2..0000000 --- a/src/SmartTest.package/SmartFinder.class/instance/findTestsForMethod..st +++ /dev/null @@ -1,6 +0,0 @@ -api -findTestsForMethod: aCompiledMethod - "This is the api for QA (use the testing strategy, the rule strategy etc.) - If you only want to find the tests, please consider using #researchTestsForMethod:" - - ^ self testingStrategy findTestsForMethod: aCompiledMethod \ No newline at end of file diff --git a/src/SmartTest.package/SmartFinder.class/instance/initialize.st b/src/SmartTest.package/SmartFinder.class/instance/initialize.st deleted file mode 100644 index 061f7c5..0000000 --- a/src/SmartTest.package/SmartFinder.class/instance/initialize.st +++ /dev/null @@ -1,3 +0,0 @@ -initialization -initialize - self shouldTryToFindTestForDynamic: false \ No newline at end of file diff --git a/src/SmartTest.package/SmartFinder.class/instance/researchTestsForMethod..st b/src/SmartTest.package/SmartFinder.class/instance/researchTestsForMethod..st deleted file mode 100644 index b98b447..0000000 --- a/src/SmartTest.package/SmartFinder.class/instance/researchTestsForMethod..st +++ /dev/null @@ -1,4 +0,0 @@ -api -researchTestsForMethod: aCompiledMethod - "If you only want to find the tests" - ^ self smtFinder methodsFor: aCompiledMethod. \ No newline at end of file diff --git a/src/SmartTest.package/SmartFinder.class/instance/resetCache.st b/src/SmartTest.package/SmartFinder.class/instance/resetCache.st deleted file mode 100644 index 3ffe47b..0000000 --- a/src/SmartTest.package/SmartFinder.class/instance/resetCache.st +++ /dev/null @@ -1,3 +0,0 @@ -api -resetCache - self cacheStrategy resetCache \ No newline at end of file diff --git a/src/SmartTest.package/SmartFinder.class/instance/searchTestsForASetUpMethod..st b/src/SmartTest.package/SmartFinder.class/instance/searchTestsForASetUpMethod..st deleted file mode 100644 index 1256e7f..0000000 --- a/src/SmartTest.package/SmartFinder.class/instance/searchTestsForASetUpMethod..st +++ /dev/null @@ -1,3 +0,0 @@ -api -searchTestsForASetUpMethod: aCompiledMethod - ^ self smtFinder searchTestsForASetUpMethod: aCompiledMethod. \ No newline at end of file diff --git a/src/SmartTest.package/SmartFinder.class/instance/searchTestsForATearDownMethod..st b/src/SmartTest.package/SmartFinder.class/instance/searchTestsForATearDownMethod..st deleted file mode 100644 index a9d746c..0000000 --- a/src/SmartTest.package/SmartFinder.class/instance/searchTestsForATearDownMethod..st +++ /dev/null @@ -1,3 +0,0 @@ -api -searchTestsForATearDownMethod: aCompiledMethod - ^ self smtFinder searchTestsForATearDownMethod: aCompiledMethod \ No newline at end of file diff --git a/src/SmartTest.package/SmartFinder.class/instance/searchTestsForATestMethod..st b/src/SmartTest.package/SmartFinder.class/instance/searchTestsForATestMethod..st deleted file mode 100644 index 1a11564..0000000 --- a/src/SmartTest.package/SmartFinder.class/instance/searchTestsForATestMethod..st +++ /dev/null @@ -1,3 +0,0 @@ -api -searchTestsForATestMethod: aCompiledMethod - ^ self smtFinder searchTestsForATestMethod: aCompiledMethod \ No newline at end of file diff --git a/src/SmartTest.package/SmartFinder.class/instance/setCacheValues..st b/src/SmartTest.package/SmartFinder.class/instance/setCacheValues..st deleted file mode 100644 index 6b99ca6..0000000 --- a/src/SmartTest.package/SmartFinder.class/instance/setCacheValues..st +++ /dev/null @@ -1,3 +0,0 @@ -api -setCacheValues: aDictionnary - self cacheStrategy cache: aDictionnary. \ No newline at end of file diff --git a/src/SmartTest.package/SmartFinder.class/instance/shouldTryToFindTestForDynamic..st b/src/SmartTest.package/SmartFinder.class/instance/shouldTryToFindTestForDynamic..st deleted file mode 100644 index a299c01..0000000 --- a/src/SmartTest.package/SmartFinder.class/instance/shouldTryToFindTestForDynamic..st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -shouldTryToFindTestForDynamic: aBoolean - shouldTryToFindTestForDynamic := aBoolean. - self smtFinder shouldTryToFindTestForDynamic: aBoolean \ No newline at end of file diff --git a/src/SmartTest.package/SmartFinder.class/instance/shouldTryToFindTestForDynamic.st b/src/SmartTest.package/SmartFinder.class/instance/shouldTryToFindTestForDynamic.st deleted file mode 100644 index ce10b33..0000000 --- a/src/SmartTest.package/SmartFinder.class/instance/shouldTryToFindTestForDynamic.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -shouldTryToFindTestForDynamic - ^ shouldTryToFindTestForDynamic \ No newline at end of file diff --git a/src/SmartTest.package/SmartFinder.class/instance/smtFinder..st b/src/SmartTest.package/SmartFinder.class/instance/smtFinder..st deleted file mode 100644 index 763196f..0000000 --- a/src/SmartTest.package/SmartFinder.class/instance/smtFinder..st +++ /dev/null @@ -1,8 +0,0 @@ -accessing -smtFinder: aSmTTestFinderStrategy - smtFinder := aSmTTestFinderStrategy. - smtFinder - filter: self filter; - cache: self cacheStrategy; - shouldTryToFindTestForDynamic: self shouldTryToFindTestForDynamic. - self testingStrategy finder: aSmTTestFinderStrategy \ No newline at end of file diff --git a/src/SmartTest.package/SmartFinder.class/instance/smtFinder.st b/src/SmartTest.package/SmartFinder.class/instance/smtFinder.st deleted file mode 100644 index a1116c9..0000000 --- a/src/SmartTest.package/SmartFinder.class/instance/smtFinder.st +++ /dev/null @@ -1,8 +0,0 @@ -accessing -smtFinder - ^ smtFinder - ifNil: [ smtFinder := SmTSenderTestFinderStrategy new - filter: self filter; - cache: self cacheStrategy; - shouldTryToFindTestForDynamic: self shouldTryToFindTestForDynamic; - yourself ] \ No newline at end of file diff --git a/src/SmartTest.package/SmartFinder.class/instance/smtListener.st b/src/SmartTest.package/SmartFinder.class/instance/smtListener.st deleted file mode 100644 index cff0bdf..0000000 --- a/src/SmartTest.package/SmartFinder.class/instance/smtListener.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -smtListener - ^ SmTTestListener uniqueInstance \ No newline at end of file diff --git a/src/SmartTest.package/SmartFinder.class/instance/testRunner..st b/src/SmartTest.package/SmartFinder.class/instance/testRunner..st deleted file mode 100644 index a975cae..0000000 --- a/src/SmartTest.package/SmartFinder.class/instance/testRunner..st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -testRunner: aSmTRunnerStrategy - testRunner := aSmTRunnerStrategy. - self testingStrategy runner: aSmTRunnerStrategy \ No newline at end of file diff --git a/src/SmartTest.package/SmartFinder.class/instance/testRunner.st b/src/SmartTest.package/SmartFinder.class/instance/testRunner.st deleted file mode 100644 index ecaa12a..0000000 --- a/src/SmartTest.package/SmartFinder.class/instance/testRunner.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -testRunner - ^ testRunner ifNil: [ testRunner := SmTRunnerStrategySmart ] \ No newline at end of file diff --git a/src/SmartTest.package/SmartFinder.class/instance/testingStrategy..st b/src/SmartTest.package/SmartFinder.class/instance/testingStrategy..st deleted file mode 100644 index 7befedb..0000000 --- a/src/SmartTest.package/SmartFinder.class/instance/testingStrategy..st +++ /dev/null @@ -1,8 +0,0 @@ -accessing -testingStrategy: aSmTTestingStrategy - testingStrategy disable. - testingStrategy := aSmTTestingStrategy. - testingStrategy - runner: self testRunner; - finder: self smtFinder. - testingStrategy enable. \ No newline at end of file diff --git a/src/SmartTest.package/SmartFinder.class/instance/testingStrategy.st b/src/SmartTest.package/SmartFinder.class/instance/testingStrategy.st deleted file mode 100644 index b06a04e..0000000 --- a/src/SmartTest.package/SmartFinder.class/instance/testingStrategy.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -testingStrategy - ^ testingStrategy ifNil: [ testingStrategy := SmTTestingStrategyEachModification new runner: self testRunner; finder: self smtFinder ] \ No newline at end of file diff --git a/src/SmartTest.package/SmartFinder.class/properties.json b/src/SmartTest.package/SmartFinder.class/properties.json deleted file mode 100644 index eba1da2..0000000 --- a/src/SmartTest.package/SmartFinder.class/properties.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/3/2018 17:47", - "super" : "Object", - "category" : "SmartTest-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "filter", - "testRunner", - "testingStrategy", - "smtFinder", - "cacheStrategy", - "shouldTryToFindTestForDynamic", - "autoUpdateCache", - "smtListener" - ], - "name" : "SmartFinder", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTest.package/TestAsserter.extension/instance/isTestSuite.st b/src/SmartTest.package/TestAsserter.extension/instance/isTestSuite.st deleted file mode 100644 index a3f60f7..0000000 --- a/src/SmartTest.package/TestAsserter.extension/instance/isTestSuite.st +++ /dev/null @@ -1,3 +0,0 @@ -*SmartTest -isTestSuite - ^ false \ No newline at end of file diff --git a/src/SmartTest.package/TestAsserter.extension/properties.json b/src/SmartTest.package/TestAsserter.extension/properties.json deleted file mode 100644 index 1ee87cb..0000000 --- a/src/SmartTest.package/TestAsserter.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "TestAsserter" -} \ No newline at end of file diff --git a/src/SmartTest.package/TestCase.extension/class/allTestMethods.st b/src/SmartTest.package/TestCase.extension/class/allTestMethods.st deleted file mode 100644 index 2f67a65..0000000 --- a/src/SmartTest.package/TestCase.extension/class/allTestMethods.st +++ /dev/null @@ -1,4 +0,0 @@ -*SmartTest -allTestMethods - ^ self methods select: [:aCompiledMethod| - aCompiledMethod isTestMethod]. \ No newline at end of file diff --git a/src/SmartTest.package/TestCase.extension/class/generalAnnouncer.st b/src/SmartTest.package/TestCase.extension/class/generalAnnouncer.st deleted file mode 100644 index c048a0e..0000000 --- a/src/SmartTest.package/TestCase.extension/class/generalAnnouncer.st +++ /dev/null @@ -1,3 +0,0 @@ -*SmartTest -generalAnnouncer - ^ SmTAnnouncer announcer \ No newline at end of file diff --git a/src/SmartTest.package/TestCase.extension/class/shouldAnnounce.st b/src/SmartTest.package/TestCase.extension/class/shouldAnnounce.st deleted file mode 100644 index 5d9bebe..0000000 --- a/src/SmartTest.package/TestCase.extension/class/shouldAnnounce.st +++ /dev/null @@ -1,3 +0,0 @@ -*SmartTest -shouldAnnounce - ^ SmTAnnouncer shouldAnnounce \ No newline at end of file diff --git a/src/SmartTest.package/TestCase.extension/instance/announce.withResult..st b/src/SmartTest.package/TestCase.extension/instance/announce.withResult..st deleted file mode 100644 index 320f818..0000000 --- a/src/SmartTest.package/TestCase.extension/instance/announce.withResult..st +++ /dev/null @@ -1,11 +0,0 @@ -*SmartTest -announce: anAnnouncementClass withResult: result - | event | - self shouldAnnounce - ifFalse: [ ^ self ]. - - event := anAnnouncementClass asAnnouncement. - event testCase: self. - event testSelector: testSelector. - event testResult: result. - self generalAnnouncer announce: event \ No newline at end of file diff --git a/src/SmartTest.package/TestCase.extension/instance/generalAnnouncer.st b/src/SmartTest.package/TestCase.extension/instance/generalAnnouncer.st deleted file mode 100644 index 29c83d3..0000000 --- a/src/SmartTest.package/TestCase.extension/instance/generalAnnouncer.st +++ /dev/null @@ -1,3 +0,0 @@ -*SmartTest -generalAnnouncer - ^ self class generalAnnouncer \ No newline at end of file diff --git a/src/SmartTest.package/TestCase.extension/instance/methodReference.st b/src/SmartTest.package/TestCase.extension/instance/methodReference.st deleted file mode 100644 index 63b469a..0000000 --- a/src/SmartTest.package/TestCase.extension/instance/methodReference.st +++ /dev/null @@ -1,3 +0,0 @@ -*SmartTest -methodReference - ^ RGMethodDefinition class: self class selector: self selector \ No newline at end of file diff --git a/src/SmartTest.package/TestCase.extension/properties.json b/src/SmartTest.package/TestCase.extension/properties.json deleted file mode 100644 index a3fb0af..0000000 --- a/src/SmartTest.package/TestCase.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "TestCase" -} \ No newline at end of file diff --git a/src/SmartTest.package/TestSuite.extension/instance/flatCollectTests.st b/src/SmartTest.package/TestSuite.extension/instance/flatCollectTests.st deleted file mode 100644 index b7487f9..0000000 --- a/src/SmartTest.package/TestSuite.extension/instance/flatCollectTests.st +++ /dev/null @@ -1,9 +0,0 @@ -*SmartTest -flatCollectTests - ^ tests - ifNil: [ ^ {} ] - ifNotNil: [ tests - flatCollect: [ :t | - t isTestSuite - ifTrue: [ t flatCollectTests ] - ifFalse: [ {t} ] ] ] \ No newline at end of file diff --git a/src/SmartTest.package/TestSuite.extension/instance/isTestSuite.st b/src/SmartTest.package/TestSuite.extension/instance/isTestSuite.st deleted file mode 100644 index 9e3e4f7..0000000 --- a/src/SmartTest.package/TestSuite.extension/instance/isTestSuite.st +++ /dev/null @@ -1,3 +0,0 @@ -*SmartTest -isTestSuite - ^ true \ No newline at end of file diff --git a/src/SmartTest.package/TestSuite.extension/properties.json b/src/SmartTest.package/TestSuite.extension/properties.json deleted file mode 100644 index c8d279a..0000000 --- a/src/SmartTest.package/TestSuite.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "TestSuite" -} \ No newline at end of file diff --git a/src/SmartTest.package/monticello.meta/categories.st b/src/SmartTest.package/monticello.meta/categories.st deleted file mode 100644 index 8985a7f..0000000 --- a/src/SmartTest.package/monticello.meta/categories.st +++ /dev/null @@ -1,12 +0,0 @@ -SystemOrganization addCategory: #SmartTest! -SystemOrganization addCategory: #'SmartTest-Cache'! -SystemOrganization addCategory: #'SmartTest-Core'! -SystemOrganization addCategory: #'SmartTest-Critiques'! -SystemOrganization addCategory: #'SmartTest-Event'! -SystemOrganization addCategory: #'SmartTest-Filter'! -SystemOrganization addCategory: #'SmartTest-Finder'! -SystemOrganization addCategory: #'SmartTest-Listener'! -SystemOrganization addCategory: #'SmartTest-Rules'! -SystemOrganization addCategory: #'SmartTest-Runner'! -SystemOrganization addCategory: #'SmartTest-Testing'! -SystemOrganization addCategory: #'SmartTest-Tools'! diff --git a/src/SmartTest.package/monticello.meta/initializers.st b/src/SmartTest.package/monticello.meta/initializers.st deleted file mode 100644 index e69de29..0000000 diff --git a/src/SmartTest.package/monticello.meta/package b/src/SmartTest.package/monticello.meta/package deleted file mode 100644 index 803c6d8..0000000 --- a/src/SmartTest.package/monticello.meta/package +++ /dev/null @@ -1 +0,0 @@ -(name 'SmartTest') \ No newline at end of file diff --git a/src/SmartTest.package/properties.json b/src/SmartTest.package/properties.json deleted file mode 100644 index 6f31cf5..0000000 --- a/src/SmartTest.package/properties.json +++ /dev/null @@ -1 +0,0 @@ -{ } \ No newline at end of file diff --git a/src/SmartTest.package/ASTCacheResetTest.extension/instance/testCacheResetPreserveLinks.st b/src/SmartTest/ASTCacheResetTest.extension.st similarity index 57% rename from src/SmartTest.package/ASTCacheResetTest.extension/instance/testCacheResetPreserveLinks.st rename to src/SmartTest/ASTCacheResetTest.extension.st index 461c8ea..e83f8c3 100644 --- a/src/SmartTest.package/ASTCacheResetTest.extension/instance/testCacheResetPreserveLinks.st +++ b/src/SmartTest/ASTCacheResetTest.extension.st @@ -1,9 +1,12 @@ -*SmartTest -testCacheResetPreserveLinks +Extension { #name : #ASTCacheResetTest } + +{ #category : #'*SmartTest' } +ASTCacheResetTest >> testCacheResetPreserveLinks [ self annotatedMethod. self assert: counter equals: 1. ASTCache reset. self assert: (self class >> #annotatedMethod) ast statements last value links anyOne == link. self annotatedMethod. - self assert: counter equals: 2 \ No newline at end of file + self assert: counter equals: 2 +] diff --git a/src/SmartTest/CompiledMethod.extension.st b/src/SmartTest/CompiledMethod.extension.st new file mode 100644 index 0000000..810599b --- /dev/null +++ b/src/SmartTest/CompiledMethod.extension.st @@ -0,0 +1,29 @@ +Extension { #name : #CompiledMethod } + +{ #category : #'*SmartTest' } +CompiledMethod >> asTestCase [ + ^ self methodClass selector: self selector +] + +{ #category : #'*SmartTest' } +CompiledMethod >> belongsToTestCase [ + ^ self methodClass isKindOf: TestCase class. +] + +{ #category : #'*SmartTest' } +CompiledMethod >> isTestMethod [ + ^ self belongsToTestCase + and: [ self methodClass allTestSelectors includes: self selector]. +] + +{ #category : #'*SmartTest' } +CompiledMethod >> isTestSetUpMethod [ + ^ (self selector = #setUp) + and: [self belongsToTestCase]. +] + +{ #category : #'*SmartTest' } +CompiledMethod >> isTestTearDownMethod [ + ^ (self selector = #tearDown) + and:[self belongsToTestCase]. +] diff --git a/src/SmartTest/FormCanvas.extension.st b/src/SmartTest/FormCanvas.extension.st new file mode 100644 index 0000000..b4f8b89 --- /dev/null +++ b/src/SmartTest/FormCanvas.extension.st @@ -0,0 +1,49 @@ +Extension { #name : #FormCanvas } + +{ #category : #'*SmartTest' } +FormCanvas >> fillOval: r color: fillColor withPercentage: aFloat borderWidth: borderWidth borderColor: borderColor [ + | rect | + + "draw the border of the oval" + rect := (r translateBy: origin) truncated. + (borderWidth = 0 or: [borderColor isTransparent]) ifFalse:[ + self setFillColor: borderColor. + (r area > 10000 or: [fillColor isTranslucent]) + ifTrue: [port frameOval: rect borderWidth: borderWidth] + ifFalse: [port fillOval: rect]]. "faster this way" + "fill the inside" + fillColor isTransparent ifFalse: + [self setFillColor: fillColor. + port fillOval: (rect insetBy: borderWidth)]. + +] + +{ #category : #'*SmartTest' } +FormCanvas >> fillOval: aRectangle fillStyle: aFillStyle withPercentage: aFloat borderWidth: bw borderColor: bc [ + "Fill the given oval." + + (aFillStyle isBitmapFill and:[aFillStyle isKindOf: InfiniteForm]) ifTrue:[ + ^self fillOval: aRectangle color: aFillStyle borderWidth: bw borderColor: bc]. + (aFillStyle isSolidFill) ifTrue:[ + ^self fillOval: aRectangle withPercentage: aFloat color: aFillStyle asColor borderWidth: bw borderColor: bc]. + "Use a BalloonCanvas instead" + self balloonFillOval: aRectangle fillStyle: aFillStyle borderWidth: bw borderColor: bc +] + +{ #category : #'*SmartTest' } +FormCanvas >> fillOval: r withPercentage: aFloat color: fillColor borderWidth: borderWidth borderColor: borderColor [ + | rect | + + "draw the border of the oval" + rect := (r translateBy: origin) truncated. + (borderWidth = 0 or: [borderColor isTransparent]) ifFalse:[ + self setFillColor: borderColor. + (r area > 10000 or: [fillColor isTranslucent]) + ifTrue: [port frameOval: rect borderWidth: borderWidth] + ifFalse: [port fillOval: rect]]. "faster this way" + "fill the inside" + fillColor isTransparent ifFalse: + [self setFillColor: fillColor. + port fillOval: (rect insetBy: borderWidth) withPercentage: aFloat]. + +] diff --git a/src/SmartTest.package/GrafPort.extension/instance/fillOval.withPercentage..st b/src/SmartTest/GrafPort.extension.st similarity index 85% rename from src/SmartTest.package/GrafPort.extension/instance/fillOval.withPercentage..st rename to src/SmartTest/GrafPort.extension.st index 6f1b5c6..9ead032 100644 --- a/src/SmartTest.package/GrafPort.extension/instance/fillOval.withPercentage..st +++ b/src/SmartTest/GrafPort.extension.st @@ -1,5 +1,7 @@ -*SmartTest -fillOval: rect withPercentage: aFloat +Extension { #name : #GrafPort } + +{ #category : #'*SmartTest' } +GrafPort >> fillOval: rect withPercentage: aFloat [ | centerX centerY nextY yBias xBias outer nextOuterX | rect area <= 0 ifTrue: [ ^ self ]. @@ -27,4 +29,5 @@ fillOval: rect withPercentage: aFloat height := 1 + yBias. width := rect width. destX := rect left. - self copyBits \ No newline at end of file + self copyBits +] diff --git a/src/SmartTest/HDTestCoverage.extension.st b/src/SmartTest/HDTestCoverage.extension.st new file mode 100644 index 0000000..299d1c0 --- /dev/null +++ b/src/SmartTest/HDTestCoverage.extension.st @@ -0,0 +1,6 @@ +Extension { #name : #HDTestCoverage } + +{ #category : #'*SmartTest' } +HDTestCoverage >> unmark [ + hasRun := false +] diff --git a/src/SmartTest/ManifestSmartTest.class.st b/src/SmartTest/ManifestSmartTest.class.st new file mode 100644 index 0000000..d0783b8 --- /dev/null +++ b/src/SmartTest/ManifestSmartTest.class.st @@ -0,0 +1,20 @@ +" +I store metadata for this package. These meta data are used by other tools such as the SmalllintManifestChecker and the critics Browser + +THIS CLASS SHOULD BE RENAMED BECAUSE IT IS NOT AN EVENT +" +Class { + #name : #ManifestSmartTest, + #superclass : #PackageManifest, + #category : 'SmartTest' +} + +{ #category : #'meta-data' } +ManifestSmartTest class >> description [ ^ 'CORA is an extention of QA which display information about test' +] + +{ #category : #'meta-data' } +ManifestSmartTest class >> preUnload [ + super + preUnload. +] diff --git a/src/SmartTest.package/NautilusRefactoring.extension/instance/undoLabel.st b/src/SmartTest/NautilusRefactoring.extension.st similarity index 69% rename from src/SmartTest.package/NautilusRefactoring.extension/instance/undoLabel.st rename to src/SmartTest/NautilusRefactoring.extension.st index d5195d0..e88b957 100644 --- a/src/SmartTest.package/NautilusRefactoring.extension/instance/undoLabel.st +++ b/src/SmartTest/NautilusRefactoring.extension.st @@ -1,5 +1,7 @@ -*SmartTest -undoLabel +Extension { #name : #NautilusRefactoring } + +{ #category : #'*SmartTest' } +NautilusRefactoring >> undoLabel [ | stream | stream := WriteStream with: 'Undo'. self changeManager hasUndoableOperations @@ -12,4 +14,5 @@ undoLabel stream position: 40; nextPutAll: '...' ]. - ^ stream contents \ No newline at end of file + ^ stream contents +] diff --git a/src/SmartTest/RGMethodDefinition.extension.st b/src/SmartTest/RGMethodDefinition.extension.st new file mode 100644 index 0000000..e0e4fbd --- /dev/null +++ b/src/SmartTest/RGMethodDefinition.extension.st @@ -0,0 +1,11 @@ +Extension { #name : #RGMethodDefinition } + +{ #category : #'*SmartTest' } +RGMethodDefinition >> isInitializer [ + ^ self selector = #initialize +] + +{ #category : #'*SmartTest' } +RGMethodDefinition >> senders [ + ^ SystemNavigation default allSendersOf: self selector +] diff --git a/src/SmartTest/ReProperty.extension.st b/src/SmartTest/ReProperty.extension.st new file mode 100644 index 0000000..b148b94 --- /dev/null +++ b/src/SmartTest/ReProperty.extension.st @@ -0,0 +1,7 @@ +Extension { #name : #ReProperty } + +{ #category : #'*SmartTest' } +ReProperty >> iconicButtons [ + + ^ #() +] diff --git a/src/SmartTest/SmTAnnouncer.class.st b/src/SmartTest/SmTAnnouncer.class.st new file mode 100644 index 0000000..7901039 --- /dev/null +++ b/src/SmartTest/SmTAnnouncer.class.st @@ -0,0 +1,21 @@ +" +The announcer process announces that some event has occurred and disseminates it to all the listeners that are interested in the event. +" +Class { + #name : #SmTAnnouncer, + #superclass : #Announcer, + #classInstVars : [ + 'announcer' + ], + #category : 'SmartTest-Listener' +} + +{ #category : #accessing } +SmTAnnouncer class >> announcer [ + ^ announcer ifNil: [ announcer := SmTAnnouncer new ] +] + +{ #category : #accessing } +SmTAnnouncer class >> shouldAnnounce [ + ^ SmTTestListener activated +] diff --git a/src/SmartTest/SmTBasicCacheNeverResetStrategy.class.st b/src/SmartTest/SmTBasicCacheNeverResetStrategy.class.st new file mode 100644 index 0000000..533ac81 --- /dev/null +++ b/src/SmartTest/SmTBasicCacheNeverResetStrategy.class.st @@ -0,0 +1,15 @@ +" +This strategy always adds the tests to the cache and always gives the tests when asked. + +When using this strategy, the cache is never reseted, even when told so. +" +Class { + #name : #SmTBasicCacheNeverResetStrategy, + #superclass : #SmTBasicCacheStrategy, + #category : 'SmartTest-Cache' +} + +{ #category : #private } +SmTBasicCacheNeverResetStrategy >> resetCache [ + "Never reset the cache for this strategy." +] diff --git a/src/SmartTest/SmTBasicCacheResetEvery5ChangesStrategy.class.st b/src/SmartTest/SmTBasicCacheResetEvery5ChangesStrategy.class.st new file mode 100644 index 0000000..b848b29 --- /dev/null +++ b/src/SmartTest/SmTBasicCacheResetEvery5ChangesStrategy.class.st @@ -0,0 +1,35 @@ +" +This strategy always adds the tests to the cache and always gives the tests when asked. + +When using this strategy, the cache is reseted each 5 changes (changes manageable by SmartTest, for exemple changes on methods and classes). +" +Class { + #name : #SmTBasicCacheResetEvery5ChangesStrategy, + #superclass : #SmTBasicCacheStrategy, + #instVars : [ + 'numberOfChange' + ], + #category : 'SmartTest-Cache' +} + +{ #category : #initialization } +SmTBasicCacheResetEvery5ChangesStrategy >> initialize [ +self numberOfChange: 0. +] + +{ #category : #accessing } +SmTBasicCacheResetEvery5ChangesStrategy >> numberOfChange [ + ^ numberOfChange +] + +{ #category : #accessing } +SmTBasicCacheResetEvery5ChangesStrategy >> numberOfChange: anObject [ + numberOfChange := anObject +] + +{ #category : #private } +SmTBasicCacheResetEvery5ChangesStrategy >> resetCache [ + numberOfChange := numberOfChange + 1. + numberOfChange \\ 5 == 0 + ifTrue: [ cache removeAll. numberOfChange := 0] +] diff --git a/src/SmartTest/SmTBasicCacheResetEveryCommitStrategy.class.st b/src/SmartTest/SmTBasicCacheResetEveryCommitStrategy.class.st new file mode 100644 index 0000000..424669c --- /dev/null +++ b/src/SmartTest/SmTBasicCacheResetEveryCommitStrategy.class.st @@ -0,0 +1,16 @@ +" +This strategy always adds the tests to the cache and always gives the tests when asked. + +When using this strategy, the cache is reseted only when a commit is peformed. It is mostly used with SmartTest Experiment. +" +Class { + #name : #SmTBasicCacheResetEveryCommitStrategy, + #superclass : #SmTBasicCacheStrategy, + #category : 'SmartTest-Cache' +} + +{ #category : #private } +SmTBasicCacheResetEveryCommitStrategy >> resetCacheForChange: aChange [ + (aChange isKindOf: EpMonticelloVersionSave) ifTrue:[self resetCache]. + +] diff --git a/src/SmartTest/SmTBasicCacheStrategy.class.st b/src/SmartTest/SmTBasicCacheStrategy.class.st new file mode 100644 index 0000000..5cb0e0a --- /dev/null +++ b/src/SmartTest/SmTBasicCacheStrategy.class.st @@ -0,0 +1,48 @@ +" +This strategy always adds the tests to the cache and always gives the tests when asked. +" +Class { + #name : #SmTBasicCacheStrategy, + #superclass : #SmTCacheStrategy, + #category : 'SmartTest-Cache' +} + +{ #category : #accessing } +SmTBasicCacheStrategy >> at: aMethodReference [ + ^ self currentCache at: aMethodReference +] + +{ #category : #accessing } +SmTBasicCacheStrategy >> at: methodReference ifAbsent: aBlock [ + ^ self currentCache at: methodReference ifAbsent: aBlock +] + +{ #category : #accessing } +SmTBasicCacheStrategy >> at: key ifPresent: aPresentBlock [ + ^ self currentCache at: key ifPresent: aPresentBlock +] + +{ #category : #accessing } +SmTBasicCacheStrategy >> at: key ifPresent: aPresentBlock ifAbsent: anAbsentBlock [ + ^ self currentCache at: key ifPresent: aPresentBlock ifAbsent: anAbsentBlock +] + +{ #category : #accessing } +SmTBasicCacheStrategy >> at: aMethodReference put: aCacheElement [ + ^ self currentCache at: aMethodReference put: aCacheElement +] + +{ #category : #accessing } +SmTBasicCacheStrategy >> currentCache [ + ^ cache +] + +{ #category : #private } +SmTBasicCacheStrategy >> relevantTestsFor: aCompiledMethod [ + ^ self currentCache at: aCompiledMethod methodReference ifAbsentPut: [ Set new ] +] + +{ #category : #private } +SmTBasicCacheStrategy >> searchTestsForMethodReference: aMethodReference [ + ^ self currentCache at: aMethodReference ifAbsentPut: [ Set new ] +] diff --git a/src/SmartTest/SmTCacheStrategy.class.st b/src/SmartTest/SmTCacheStrategy.class.st new file mode 100644 index 0000000..9762f59 --- /dev/null +++ b/src/SmartTest/SmTCacheStrategy.class.st @@ -0,0 +1,78 @@ +" +This setting defines how the cache should behave. +" +Class { + #name : #SmTCacheStrategy, + #superclass : #Object, + #instVars : [ + 'cache' + ], + #category : 'SmartTest-Cache' +} + +{ #category : #accessing } +SmTCacheStrategy >> at: aMethodReference [ + self subclassResponsibility +] + +{ #category : #accessing } +SmTCacheStrategy >> at: aCompiledMethod ifAbsent: aBlock [ + ^ self subclassResponsibility +] + +{ #category : #accessing } +SmTCacheStrategy >> at: key ifPresent: aPresentBlock [ + self subclassResponsibility +] + +{ #category : #accessing } +SmTCacheStrategy >> at: key ifPresent: aPresentBlock ifAbsent: anAbsentBlock [ + self subclassResponsibility +] + +{ #category : #accessing } +SmTCacheStrategy >> at: aMethodReference put: aCacheElement [ + self subclassResponsibility +] + +{ #category : #accessing } +SmTCacheStrategy >> cache: aDictionary [ + cache := aDictionary +] + +{ #category : #accessing } +SmTCacheStrategy >> currentCache [ + self subclassResponsibility +] + +{ #category : #private } +SmTCacheStrategy >> disable [ + "If you need something to work" + + +] + +{ #category : #private } +SmTCacheStrategy >> enable [ + "If you need something to work" +] + +{ #category : #private } +SmTCacheStrategy >> relevantTestsFor: aCompiledMethod [ + self subclassResponsibility +] + +{ #category : #private } +SmTCacheStrategy >> resetCache [ + cache removeAll +] + +{ #category : #private } +SmTCacheStrategy >> resetCacheForChange: aChange [ +self resetCache +] + +{ #category : #private } +SmTCacheStrategy >> searchTestsForMethodReference: aMethodReference [ + self subclassResponsibility +] diff --git a/src/SmartTest/SmTClassNeedTestsCritique.class.st b/src/SmartTest/SmTClassNeedTestsCritique.class.st new file mode 100644 index 0000000..c3d5d60 --- /dev/null +++ b/src/SmartTest/SmTClassNeedTestsCritique.class.st @@ -0,0 +1,18 @@ +" +The critique that explains you need to write tests for this class +" +Class { + #name : #SmTClassNeedTestsCritique, + #superclass : #SmTNeedTestsCritique, + #category : 'SmartTest-Critiques' +} + +{ #category : #accessing } +SmTClassNeedTestsCritique >> description [ + ^'You should always write tests your classes to ensure the fiability of your code' +] + +{ #category : #accessing } +SmTClassNeedTestsCritique >> title [ + ^ 'You should write tests for your class' +] diff --git a/src/SmartTest/SmTClassRelativeTestsCritique.class.st b/src/SmartTest/SmTClassRelativeTestsCritique.class.st new file mode 100644 index 0000000..c6f4c7a --- /dev/null +++ b/src/SmartTest/SmTClassRelativeTestsCritique.class.st @@ -0,0 +1,20 @@ +" +The critique that explains you need to run test for this class +" +Class { + #name : #SmTClassRelativeTestsCritique, + #superclass : #SmTRelativeTestsCritique, + #category : 'SmartTest-Critiques' +} + +{ #category : #'instance creation' } +SmTClassRelativeTestsCritique class >> for: anEntity by: aRule tests: aTestList [ + ^ self basicNew + initializeRule: aRule target: anEntity testsList: aTestList; + yourself +] + +{ #category : #accessing } +SmTClassRelativeTestsCritique >> description [ + ^'You should always run tests your classes to ensure the fiability of your code' +] diff --git a/src/SmartTest/SmTClassTestedRule.class.st b/src/SmartTest/SmTClassTestedRule.class.st new file mode 100644 index 0000000..212980c --- /dev/null +++ b/src/SmartTest/SmTClassTestedRule.class.st @@ -0,0 +1,88 @@ +" +I check class tests +" +Class { + #name : #SmTClassTestedRule, + #superclass : #SmTRules, + #classVars : [ + 'ClassActivated' + ], + #category : 'SmartTest-Rules' +} + +{ #category : #'testing-interest' } +SmTClassTestedRule class >> checksClass [ + ^ true +] + +{ #category : #'testing-interest' } +SmTClassTestedRule class >> classActivated [ + ^ ClassActivated ifNil: [ ClassActivated := false ] +] + +{ #category : #'testing-interest' } +SmTClassTestedRule class >> classActivated: aSelector [ + ClassActivated := aSelector +] + +{ #category : #'testing-interest' } +SmTClassTestedRule class >> initialize [ + ReRuleManager cleanUp +] + +{ #category : #'testing-interest' } +SmTClassTestedRule class >> settingsOn: aBuilder [ + + (aBuilder setting: #classActivated) + parent: #SmTActivationRenrakuOption; + target: self; + order: 0.1; + label: 'SmartTest class analyse activated'; + description: 'Toogle to activate/disable the analyse for class' +] + +{ #category : #'testing-interest' } +SmTClassTestedRule class >> unload [ + +] + +{ #category : #running } +SmTClassTestedRule >> basicCheck: anEntity [ + ^ (super basicCheck: anEntity) and: [(anEntity isKindOf: Class) and: [ self class classActivated] ] + +] + +{ #category : #enumerating } +SmTClassTestedRule >> check: anEntity forCritiquesDo: aCriticBlock [ + + (self basicCheck: anEntity) + ifTrue: [ (self findTestsForClass: anEntity) isEmpty + ifTrue: [ aCriticBlock value: (SmTClassNeedTestsCritique for: anEntity by: self) ] + ifFalse: [ aCriticBlock value: (SmTClassRelativeTestsCritique for: anEntity by: self tests: self tests) ] ] +] + +{ #category : #'instance creation' } +SmTClassTestedRule >> findTestsForClass: aClass [ + | aCollectionOfCompiledTest | + aCollectionOfCompiledTest := self findTestsForMethods: (self methodUsingVariablesOfClass: aClass). + ^tests := aCollectionOfCompiledTest +] + +{ #category : #'instance creation' } +SmTClassTestedRule >> findTestsForMethods: aCollectionOfCompiledMethod [ + ^tests := aCollectionOfCompiledMethod flatCollect: [ :aCompiledMethod | self findTestsForMethod: aCompiledMethod] +] + +{ #category : #running } +SmTClassTestedRule >> methodUsingVariablesOfClass: aClass [ + | aSet | + aSet := Set new. + aSet addAll: (aClass classLayout allVisibleSlots flatCollect: #usingMethods). +" aSet addAll: ((aClass classVariables flatCollect: #usingMethods) collect: #compiledMethod)." + ^tests := aSet +] + +{ #category : #accessing } +SmTClassTestedRule >> name [ + ^ 'SmartTest Class Tested' +] diff --git a/src/SmartTest.package/SmTDefaultClassPackagesFilter.class/instance/extractPackagesFrom..st b/src/SmartTest/SmTDefaultClassPackagesFilter.class.st similarity index 64% rename from src/SmartTest.package/SmTDefaultClassPackagesFilter.class/instance/extractPackagesFrom..st rename to src/SmartTest/SmTDefaultClassPackagesFilter.class.st index cb3f9f5..4acabd0 100644 --- a/src/SmartTest.package/SmTDefaultClassPackagesFilter.class/instance/extractPackagesFrom..st +++ b/src/SmartTest/SmTDefaultClassPackagesFilter.class.st @@ -1,5 +1,15 @@ -accessing -extractPackagesFrom: anEntity +" +This filter looks in the packages of all methods that reference the class of the changed entity (method or class) + +" +Class { + #name : #SmTDefaultClassPackagesFilter, + #superclass : #SmTDefaultPackagesFilter, + #category : 'SmartTest-Filter' +} + +{ #category : #accessing } +SmTDefaultClassPackagesFilter >> extractPackagesFrom: anEntity [ "This method is supposed to find (in addition of the supermethod) for the compiled method: - the packages of the senders of the compiled method - the packages that contains at least one method of the compiled method class" @@ -8,4 +18,5 @@ extractPackagesFrom: anEntity (anEntity isClass) ifTrue: [ class := anEntity ]ifFalse:[class := anEntity methodClass]. class allCallsOn do: [ :rgMethod | packages add: (self extractCompiledMethodPackageBaseName: rgMethod compiledMethod) ]. class extendingPackages do: [ :aPackage | packages add: (self extractCompiledMethodPackageBaseName: aPackage) ]. - ^ packages \ No newline at end of file + ^ packages +] diff --git a/src/SmartTest/SmTDefaultPackagesFilter.class.st b/src/SmartTest/SmTDefaultPackagesFilter.class.st new file mode 100644 index 0000000..7560024 --- /dev/null +++ b/src/SmartTest/SmTDefaultPackagesFilter.class.st @@ -0,0 +1,62 @@ +" +This filter only looks in the package owning the changed entity (method or class) +" +Class { + #name : #SmTDefaultPackagesFilter, + #superclass : #SmTFilterStrategy, + #category : 'SmartTest-Filter' +} + +{ #category : #settings } +SmTDefaultPackagesFilter class >> settingsOn: aBuilder [ + + (aBuilder group: #SmTFilter) parent: #SmartFinder; order: 0.6 +] + +{ #category : #parsing } +SmTDefaultPackagesFilter >> extractClassPackageBaseName: aClass [ + ^ self extractPackageBaseName: aClass package name +] + +{ #category : #parsing } +SmTDefaultPackagesFilter >> extractCompiledMethodPackageBaseName: aCompiledMethod [ + ^ self extractPackageBaseName: aCompiledMethod package packageName +] + +{ #category : #parsing } +SmTDefaultPackagesFilter >> extractMethodDefinitionPackageBaseName: aRGMethodDefinition [ + ^ self extractPackageBaseName: aRGMethodDefinition package realPackage packageName +] + +{ #category : #parsing } +SmTDefaultPackagesFilter >> extractPackageBaseName: aPackageName [ + ^(aPackageName substrings: '-') at: 1 +] + +{ #category : #accessing } +SmTDefaultPackagesFilter >> extractPackagesFrom: anEntity [ + "Thid method find: + - the package of the classes that owned the method + - the package that contains the method if its an extension" + + | packages | + packages := Set new. + anEntity isClass + ifTrue: [ packages add: (self extractClassPackageBaseName: anEntity)] + ifFalse: [ packages := {(self extractCompiledMethodPackageBaseName: anEntity)} asSet. + anEntity isExtension + ifTrue: [ anEntity package extendedClasses do: [ :aClass | packages add: aClass package name ] ] ]. + ^ packages +] + +{ #category : #asserting } +SmTDefaultPackagesFilter >> extractPackagesFromTrait: aTrait [ + ^ self extractPackageBaseName: aTrait package name +] + +{ #category : #asserting } +SmTDefaultPackagesFilter >> shouldEntityBeFilteredOut: anEntity inPackages: packages [ + "(anEntity methodClass allCallsOn collect: #ciPackage) not." + (anEntity isClass )ifTrue: [^(packages includes: (anEntity package name)) not]. + ^ (packages includes: (self extractMethodDefinitionPackageBaseName: anEntity )) not +] diff --git a/src/SmartTest/SmTEventRecipient.class.st b/src/SmartTest/SmTEventRecipient.class.st new file mode 100644 index 0000000..0738954 --- /dev/null +++ b/src/SmartTest/SmTEventRecipient.class.st @@ -0,0 +1,17 @@ +" +I collect tests, run tests and notify the big button of my work +" +Class { + #name : #SmTEventRecipient, + #superclass : #Object, + #category : 'SmartTest-Event' +} + +{ #category : #action } +SmTEventRecipient >> actionForEvent: anEvent fromMorph: aMorph [ + self runTestAndShowProgressIn: aMorph +] + +{ #category : #action } +SmTEventRecipient >> runTestAndShowProgressIn: aMorph [ +] diff --git a/src/SmartTest/SmTFilterStrategy.class.st b/src/SmartTest/SmTFilterStrategy.class.st new file mode 100644 index 0000000..128715b --- /dev/null +++ b/src/SmartTest/SmTFilterStrategy.class.st @@ -0,0 +1,18 @@ +" +This class is used to define the filter used by SmartTest. +" +Class { + #name : #SmTFilterStrategy, + #superclass : #Object, + #category : 'SmartTest-Filter' +} + +{ #category : #asserting } +SmTFilterStrategy >> extractPackagesFrom: aCompiledMethod [ + "Can be implemented to init the filter for a specific research" +] + +{ #category : #asserting } +SmTFilterStrategy >> shouldEntityBeFilteredOut: anEntity inPackages: anObject [ + self subclassResponsibility +] diff --git a/src/SmartTest/SmTIcebergLoadedPackagesFilter.class.st b/src/SmartTest/SmTIcebergLoadedPackagesFilter.class.st new file mode 100644 index 0000000..d68c7ad --- /dev/null +++ b/src/SmartTest/SmTIcebergLoadedPackagesFilter.class.st @@ -0,0 +1,20 @@ +" +This filter only looks in the packages that are loaded with Iceberg +" +Class { + #name : #SmTIcebergLoadedPackagesFilter, + #superclass : #SmTFilterStrategy, + #category : 'SmartTest-Filter' +} + +{ #category : #asserting } +SmTIcebergLoadedPackagesFilter >> extractPackagesFrom: aCompiledMethod [ + "Can be implemented to init the filter for a specific research" + + ^ ((IceRepository registry reject: [ :registry | registry name = 'pharo' ]) flatCollect: [ :repository | repository loadedPackages]) +] + +{ #category : #asserting } +SmTIcebergLoadedPackagesFilter >> shouldEntityBeFilteredOut: anEntity inPackages: packages [ + ^ ((packages collect: #name) includes: anEntity package name) not +] diff --git a/src/SmartTest/SmTMethodNeedTestsCritique.class.st b/src/SmartTest/SmTMethodNeedTestsCritique.class.st new file mode 100644 index 0000000..24cf635 --- /dev/null +++ b/src/SmartTest/SmTMethodNeedTestsCritique.class.st @@ -0,0 +1,52 @@ +" +The critique that explains you need to write test for a method +" +Class { + #name : #SmTMethodNeedTestsCritique, + #superclass : #SmTNeedTestsCritique, + #category : 'SmartTest-Critiques' +} + +{ #category : #accessing } +SmTMethodNeedTestsCritique >> change [ +] + +{ #category : #accessing } +SmTMethodNeedTestsCritique >> description [ + ^'You should always test your methods to ensure the fiability of your code' +] + +{ #category : #accessing } +SmTMethodNeedTestsCritique >> execute [ + SmTTestGenerator new generateTestMethodFor: self sourceAnchor entity +] + +{ #category : #accessing } +SmTMethodNeedTestsCritique >> nameToDisplay [ + ^ 'Add a Test for ', self sourceAnchor entity name +] + +{ #category : #accessing } +SmTMethodNeedTestsCritique >> oldVersionTextToDisplay [ + ^'' +] + +{ #category : #testing } +SmTMethodNeedTestsCritique >> providesChange [ + ^true +] + +{ #category : #accessing } +SmTMethodNeedTestsCritique >> textToDisplay [ + ^'' +] + +{ #category : #accessing } +SmTMethodNeedTestsCritique >> title [ + ^ 'You should write tests for your method' +] + +{ #category : #accessing } +SmTMethodNeedTestsCritique >> whatToDisplayIn: aBrowser [ + ^ { self } +] diff --git a/src/SmartTest/SmTMethodRelativeTestsCritique.class.st b/src/SmartTest/SmTMethodRelativeTestsCritique.class.st new file mode 100644 index 0000000..4ec8635 --- /dev/null +++ b/src/SmartTest/SmTMethodRelativeTestsCritique.class.st @@ -0,0 +1,23 @@ +" +The critique that explains you should run test for this method +" +Class { + #name : #SmTMethodRelativeTestsCritique, + #superclass : #SmTRelativeTestsCritique, + #instVars : [ + 'entity' + ], + #category : 'SmartTest-Critiques' +} + +{ #category : #'instance creation' } +SmTMethodRelativeTestsCritique class >> for: anEntity by: aRule tests: aTestList [ + ^ self basicNew + initializeRule: aRule target: anEntity testsList: aTestList; + yourself +] + +{ #category : #accessing } +SmTMethodRelativeTestsCritique >> description [ + ^'You should always test your methods to ensure the fiability of your code' +] diff --git a/src/SmartTest/SmTMethodTestedOnModificationRule.class.st b/src/SmartTest/SmTMethodTestedOnModificationRule.class.st new file mode 100644 index 0000000..010f842 --- /dev/null +++ b/src/SmartTest/SmTMethodTestedOnModificationRule.class.st @@ -0,0 +1,66 @@ +Class { + #name : #SmTMethodTestedOnModificationRule, + #superclass : #SmTMethodTestedRule, + #instVars : [ + 'bag' + ], + #classInstVars : [ + 'bag' + ], + #category : 'SmartTest-Rules' +} + +{ #category : #protocol } +SmTMethodTestedOnModificationRule class >> addToElementBag: anElement [ + self bag add: anElement +] + +{ #category : #protocol } +SmTMethodTestedOnModificationRule class >> bag [ + ^ bag ifNil: [ bag := Bag new ] +] + +{ #category : #protocol } +SmTMethodTestedOnModificationRule class >> disable [ + super disable. + SystemAnnouncer uniqueInstance unsubscribe: self +] + +{ #category : #protocol } +SmTMethodTestedOnModificationRule class >> enable [ + super enable. + SystemAnnouncer uniqueInstance unsubscribe: self. + {(MethodModified -> #methodModified:). + (MethodAdded -> #methodAdded:)} + do: [ :pair | SystemAnnouncer uniqueInstance weak when: pair key send: pair value to: self ] +] + +{ #category : #protocol } +SmTMethodTestedOnModificationRule class >> getElementFromBag: anElement [ + "return nil if element absent. The object else" + + self bag remove: anElement ifAbsent: [ ^ nil ]. + ^ anElement +] + +{ #category : #protocol } +SmTMethodTestedOnModificationRule class >> methodAdded: anAnnouncement [ + self addToElementBag: anAnnouncement methodAdded +] + +{ #category : #protocol } +SmTMethodTestedOnModificationRule class >> methodModified: anAnnouncement [ + self addToElementBag: anAnnouncement newMethod +] + +{ #category : #accessing } +SmTMethodTestedOnModificationRule >> basicCheck: anEntity [ + ^ (super basicCheck: anEntity) + and: [ (anEntity isKindOf: CompiledMethod) and: [ self class isMethodActivated and: [ (self class getElementFromBag: anEntity) isNotNil ] ] ] +] + +{ #category : #accessing } +SmTMethodTestedOnModificationRule >> name [ + "Answer a human readable name of the rule." + ^ 'SmartTest Method Tested On modification' +] diff --git a/src/SmartTest/SmTMethodTestedRule.class.st b/src/SmartTest/SmTMethodTestedRule.class.st new file mode 100644 index 0000000..64f9af3 --- /dev/null +++ b/src/SmartTest/SmTMethodTestedRule.class.st @@ -0,0 +1,106 @@ +" +I check method tests +" +Class { + #name : #SmTMethodTestedRule, + #superclass : #SmTRules, + #classVars : [ + 'MethodActivated' + ], + #classInstVars : [ + 'methodRuleStrategy' + ], + #category : 'SmartTest-Rules' +} + +{ #category : #'testing-interest' } +SmTMethodTestedRule class >> checksMethod [ + ^ true +] + +{ #category : #protocol } +SmTMethodTestedRule class >> disable [ +] + +{ #category : #protocol } +SmTMethodTestedRule class >> enable [ +] + +{ #category : #'testing-interest' } +SmTMethodTestedRule class >> initialize [ + ReRuleManager cleanUp +] + +{ #category : #'testing-interest' } +SmTMethodTestedRule class >> isMethodActivated [ + ^ self methodActivated and: [ self methodRuleStrategy = self ] +] + +{ #category : #'testing-interest' } +SmTMethodTestedRule class >> methodActivated [ + ^ MethodActivated ifNil: [ MethodActivated := true ] +] + +{ #category : #'testing-interest' } +SmTMethodTestedRule class >> methodActivated: aSelector [ + MethodActivated := aSelector +] + +{ #category : #accessing } +SmTMethodTestedRule class >> methodRuleStrategy [ + ^ methodRuleStrategy ifNil: [ methodRuleStrategy := SmTMethodTestedOnModificationRule. methodRuleStrategy enable ] +] + +{ #category : #accessing } +SmTMethodTestedRule class >> methodRuleStrategy: aMethodRuleStrategy [ + methodRuleStrategy disable. + methodRuleStrategy := aMethodRuleStrategy. + aMethodRuleStrategy enable +] + +{ #category : #'testing-interest' } +SmTMethodTestedRule class >> settingsOn: aBuilder [ + + (aBuilder setting: #methodActivated) + parent: #SmTActivationRenrakuOption; + target: self; + order: 0.2; + label: 'SmartTest method analyse activated'; + description: 'Toogle to activate/disable the analyse for method'. + (aBuilder pickOne: #methodRuleStrategy) + order: 0.3; + parent: #SmTActivationRenrakuOption; + label: 'Method Rule'; + target: self; + domainValues: SmTMethodTestedRule withAllSubclasses; + description: 'Select Rule strategy to begin the research of element' +] + +{ #category : #'initialization-release' } +SmTMethodTestedRule class >> unload [ + self disable +] + +{ #category : #running } +SmTMethodTestedRule >> basicCheck: anEntity [ + ^ (super basicCheck: anEntity) and: [ (anEntity isKindOf: CompiledMethod) and: [ self class isMethodActivated ] ] +] + +{ #category : #enumerating } +SmTMethodTestedRule >> check: anEntity forCritiquesDo: aCriticBlock [ + (self basicCheck: anEntity) + ifTrue: [ (self findTestsForMethod: anEntity) isEmpty + ifTrue: [ aCriticBlock value: (SmTMethodNeedTestsCritique for: anEntity by: self) ] + ifFalse: [ aCriticBlock + value: (SmTMethodRelativeTestsCritique for: anEntity by: self tests: self tests) ] ] +] + +{ #category : #running } +SmTMethodTestedRule >> isVisible [ + ^ true +] + +{ #category : #running } +SmTMethodTestedRule >> name [ + ^ 'SmartTest Method Tested' +] diff --git a/src/SmartTest/SmTNeedTestsCritique.class.st b/src/SmartTest/SmTNeedTestsCritique.class.st new file mode 100644 index 0000000..9d96fd2 --- /dev/null +++ b/src/SmartTest/SmTNeedTestsCritique.class.st @@ -0,0 +1,28 @@ +" +I represent a critique when there are no tests for an entity +" +Class { + #name : #SmTNeedTestsCritique, + #superclass : #ReAbstractCritique, + #category : 'SmartTest-Critiques' +} + +{ #category : #accessing } +SmTNeedTestsCritique >> description [ + self subclassResponsibility +] + +{ #category : #accessing } +SmTNeedTestsCritique >> icon [ + ^#warning asIcon +] + +{ #category : #testing } +SmTNeedTestsCritique >> providesChange [ + ^false +] + +{ #category : #accessing } +SmTNeedTestsCritique >> title [ + self subclassResponsibility +] diff --git a/src/SmartTest/SmTNoCacheStrategy.class.st b/src/SmartTest/SmTNoCacheStrategy.class.st new file mode 100644 index 0000000..b4893bd --- /dev/null +++ b/src/SmartTest/SmTNoCacheStrategy.class.st @@ -0,0 +1,48 @@ +" +This strategy never adds the tests found to the cache. +" +Class { + #name : #SmTNoCacheStrategy, + #superclass : #SmTCacheStrategy, + #category : 'SmartTest-Cache' +} + +{ #category : #accessing } +SmTNoCacheStrategy >> at: aMethodReference [ + ^ Set new +] + +{ #category : #accessing } +SmTNoCacheStrategy >> at: aCompiled ifAbsent: aBlock [ + ^ aBlock value +] + +{ #category : #accessing } +SmTNoCacheStrategy >> at: aMethodReference ifPresent: aPresentBlock [ + ^ nil +] + +{ #category : #accessing } +SmTNoCacheStrategy >> at: key ifPresent: aPresentBlock ifAbsent: anAbsentBlock [ + ^ anAbsentBlock value +] + +{ #category : #accessing } +SmTNoCacheStrategy >> at: aMethodReference put: aCacheElement [ + ^ self +] + +{ #category : #accessing } +SmTNoCacheStrategy >> currentCache [ + ^ Dictionary new +] + +{ #category : #private } +SmTNoCacheStrategy >> relevantTestsFor: aCompiledMethod [ + ^ Set new +] + +{ #category : #private } +SmTNoCacheStrategy >> searchTestsForMethodReference: aMethodReference [ + ^ Set new +] diff --git a/src/SmartTest/SmTNoFilter.class.st b/src/SmartTest/SmTNoFilter.class.st new file mode 100644 index 0000000..eb3612b --- /dev/null +++ b/src/SmartTest/SmTNoFilter.class.st @@ -0,0 +1,15 @@ +" +This filter is ""useless"" because it does not filter anything: it looks everywhere in the image +" +Class { + #name : #SmTNoFilter, + #superclass : #SmTFilterStrategy, + #category : 'SmartTest-Filter' +} + +{ #category : #asserting } +SmTNoFilter >> shouldEntityBeFilteredOut: anEntity inPackages: anObject [ + "(anEntity methodClass allCallsOn collect: #ciPackage) not." + + ^ false +] diff --git a/src/SmartTest/SmTReflectivityTestFinderStrategy.class.st b/src/SmartTest/SmTReflectivityTestFinderStrategy.class.st new file mode 100644 index 0000000..5f8b8b9 --- /dev/null +++ b/src/SmartTest/SmTReflectivityTestFinderStrategy.class.st @@ -0,0 +1,148 @@ +" +I'm a dynamic finder. +I use the meta link to discover the coverage of Test +" +Class { + #name : #SmTReflectivityTestFinderStrategy, + #superclass : #SmTTestFinderDynamicStrategy, + #category : 'SmartTest-Finder' +} + +{ #category : #testing } +SmTReflectivityTestFinderStrategy class >> isConcreteFinder [ + ^ true +] + +{ #category : #api } +SmTReflectivityTestFinderStrategy >> analyseAndRemoveProxyFor: aTestCase [ + MetaLink uninstallAll +] + +{ #category : #api } +SmTReflectivityTestFinderStrategy >> buildCacheFromTestSuite: aTestSuite [ + aTestSuite flatCollectTests do: [ :aTestCase | self installProxyFor: aTestCase. aTestCase run ]. + MetaLink uninstallAll +] + +{ #category : #search } +SmTReflectivityTestFinderStrategy >> collectAllRelativePackages: aByteString [ + ^ RPackageOrganizer default packages select: [ :a | (self filter extractPackageBaseName: a packageName) = aByteString ] +] + +{ #category : #search } +SmTReflectivityTestFinderStrategy >> collectRelativeTestMethodOfMethods: methods [ + ^ (((methods collect: [ :aMethod | aMethod asTestMethod ]) + select: [ :aTestMethod | aTestMethod isNotNil ]) + reject: [ :aTestMethod | self isCORAMethodBlacklisted: aTestMethod ]) + asSet + collect: [ :method | method methodClass selector: method selector ] +] + +{ #category : #api } +SmTReflectivityTestFinderStrategy >> extractCompiledMethodFromReceiver: receiver andSelector: selector [ + " (self class environment at: aSendNode receiver methodNode compiledMethod) lookupSelector: aSendNode selector" + ^ receiver class lookupSelector: selector +] + +{ #category : #api } +SmTReflectivityTestFinderStrategy >> extractCurrentTestExecutionFromContext: ctxt [ + | aTestCase aCompiledTestCase | + aTestCase := ctxt arguments at: 1. + aCompiledTestCase := aTestCase class >> aTestCase selector. + ^ aCompiledTestCase compiledMethod +] + +{ #category : #initialization } +SmTReflectivityTestFinderStrategy >> initializeLink [ + | link | + link := MetaLink new + metaObject: [ :ctxt | + | aCompiledTestCase | + aCompiledTestCase := self extractCurrentTestExecutionFromContext: ctxt. + self initializeLinkInCompiledMethod: aCompiledTestCase. + self currentTestExecution: aCompiledTestCase ]; + selector: #value:; + arguments: #(context); + level: 0; + optionOneShot: true. + (TestExecutionEnvironment >> #runTestCase:) ast link: link +] + +{ #category : #initialization } +SmTReflectivityTestFinderStrategy >> initializeLinkInCompiledMethod: aCompiledMethod [ + | link | + link := MetaLink new + metaObject: [ :receiver :selector | + | receiverCompiledMethod | + receiverCompiledMethod := self extractCompiledMethodFromReceiver: receiver andSelector: selector. + (self isCompiledMethod: receiverCompiledMethod alreadyExploredForTest: self currentTestExecution) + ifFalse: [ self initializeLinkInCompiledMethod: receiverCompiledMethod ]. + self addATest: self currentTestExecution toMethod: receiverCompiledMethod ]; + selector: #value:value:; + arguments: #(receiver selector); + level: 0; + optionOneShot: true. + aCompiledMethod sendNodes do: [ :node | node link: link ] +] + +{ #category : #api } +SmTReflectivityTestFinderStrategy >> installLinkAndRunTest: aTestMethod [ + | testEnv | + self currentTestExecution: aTestMethod. + self initializeLinkInCompiledMethod: (aTestMethod class >> aTestMethod selector). + + testEnv := TestExecutionEnvironment new. + [testEnv beActiveDuring: [ + testEnv runTestCase: aTestMethod]] on: Exception do: [ ]. +] + +{ #category : #api } +SmTReflectivityTestFinderStrategy >> installProxyFor: aTestCase [ + self currentTestExecution: aTestCase. + self addATest: aTestCase toMethod: aTestCase. + self initializeLinkInCompiledMethod: aTestCase class >> aTestCase selector +] + +{ #category : #testing } +SmTReflectivityTestFinderStrategy >> isCORAMethodBlacklisted: aCompiledMethod [ + ^ (aCompiledMethod pragmaAt: #CORATestBlacklisted) isNotNil +] + +{ #category : #testing } +SmTReflectivityTestFinderStrategy >> isCompiledMethod: receiverCompiledMethod alreadyExploredForTest: testInstance [ + self cache + at: receiverCompiledMethod methodReference + ifPresent: [ :aSetOfTestInstance | ^ aSetOfTestInstance includes: (testInstance class >> testInstance selector) methodReference ] + ifAbsent: [ ^ false ] +] + +{ #category : #private } +SmTReflectivityTestFinderStrategy >> methodsInSimilarPackageAs: aCompiledMethod [ + + | packageBaseName packages | + packageBaseName := self filter extractCompiledMethodPackageBaseName: aCompiledMethod. + packages := self collectAllRelativePackages: packageBaseName. + ^ packages + flatCollect: [ :aPackage | aPackage package correspondingRPackage methods ] +] + +{ #category : #search } +SmTReflectivityTestFinderStrategy >> searchRelativeTestForMethod: aCompiledMethod [ + "Search for only one package and NOT relative others method" + + | methods | + + methods := self methodsInSimilarPackageAs: aCompiledMethod. + ((self collectRelativeTestMethodOfMethods: methods) asOrderedCollection sort: [ :a :b | a printString < b printString ]) + do: [ :aTestMethod | self installLinkAndRunTest: aTestMethod ] + displayingProgress: [ :aClass | 'Processing ' , aClass asString ] + every: 1 +] + +{ #category : #private } +SmTReflectivityTestFinderStrategy >> searchTestsForAStandardMethod: aCompiledMethod [ + self cache + at: aCompiledMethod methodReference + ifAbsent: [ self searchRelativeTestForMethod: aCompiledMethod ]. + ^ (self searchTestsForMethod: aCompiledMethod) collect: #compiledMethod +] diff --git a/src/SmartTest/SmTRelativeTestsCritique.class.st b/src/SmartTest/SmTRelativeTestsCritique.class.st new file mode 100644 index 0000000..1787721 --- /dev/null +++ b/src/SmartTest/SmTRelativeTestsCritique.class.st @@ -0,0 +1,92 @@ +" +I represent a critique when there are tests to run for an entity +" +Class { + #name : #SmTRelativeTestsCritique, + #superclass : #ReAbstractCritique, + #instVars : [ + 'tests', + 'testButton' + ], + #category : 'SmartTest-Critiques' +} + +{ #category : #'instance creation' } +SmTRelativeTestsCritique class >> for: anEntity by: aRule tests: aTestList [ + ^ self basicNew + initializeRule: aRule target: anEntity testsList: aTestList; + yourself +] + +{ #category : #actions } +SmTRelativeTestsCritique >> actions [ + ^ super actions + copyWith: + (RePropertyAction new + icon: #smallWindow asIcon; + description: 'Open Tests Selection'; + action: + [ :crit :package | self openTestsWindowWith: tests ]; + yourself) +] + +{ #category : #accessing } +SmTRelativeTestsCritique >> description [ + self subclassResponsibility +] + +{ #category : #accessing } +SmTRelativeTestsCritique >> icon [ + + ^#smallInfo asIcon +] + +{ #category : #accessing } +SmTRelativeTestsCritique >> iconicButtons [ + self testButton: (SmTIconFabric createIconForMethods: self tests). + ^ {self testButton} +] + +{ #category : #initialization } +SmTRelativeTestsCritique >> initializeRule: aRule target: anEntity testsList: aTestList [ + self initializeRule: aRule target: anEntity. + tests := aTestList +] + +{ #category : #actions } +SmTRelativeTestsCritique >> openTestsWindowWith: aTestList [ + | ui | + ui := SmTAutoTestsWindows new. + ui setList: aTestList. + ui openWithSpec. +] + +{ #category : #testing } +SmTRelativeTestsCritique >> providesChange [ + ^false +] + +{ #category : #accessing } +SmTRelativeTestsCritique >> testButton [ + ^ testButton +] + +{ #category : #accessing } +SmTRelativeTestsCritique >> testButton: anObject [ + testButton := anObject +] + +{ #category : #accessing } +SmTRelativeTestsCritique >> tests [ + ^ tests +] + +{ #category : #accessing } +SmTRelativeTestsCritique >> tests: anObject [ + tests := anObject +] + +{ #category : #accessing } +SmTRelativeTestsCritique >> title [ + ^ 'You should run these tests' +] diff --git a/src/SmartTest/SmTRules.class.st b/src/SmartTest/SmTRules.class.st new file mode 100644 index 0000000..0922eb1 --- /dev/null +++ b/src/SmartTest/SmTRules.class.st @@ -0,0 +1,288 @@ +" +I represent a kind of CORA structure +" +Class { + #name : #SmTRules, + #superclass : #ReAbstractRule, + #instVars : [ + 'tests' + ], + #classVars : [ + 'Activated', + 'SmTSmartFinder' + ], + #classInstVars : [ + 'shouldTryToFindTestForDynamic', + 'activated', + 'smTCache', + 'smTClassTestingStrategy', + 'smTFilter', + 'smTFinder', + 'smTTestRunner', + 'collectionOfRegex' + ], + #category : 'SmartTest-Rules' +} + +{ #category : #settings } +SmTRules class >> activated [ + ^ Activated ifNil: [ Activated := true ] +] + +{ #category : #settings } +SmTRules class >> activated: aSelector [ + ^ Activated := aSelector +] + +{ #category : #settings } +SmTRules class >> cacheStrategy [ + ^ smTCache ifNil: [ smTCache := SmTBasicCacheStrategy ] +] + +{ #category : #settings } +SmTRules class >> cacheStrategy: aSelector [ + self testFinder cacheStrategy: aSelector new. + ^ smTCache := aSelector +] + +{ #category : #'instance creation' } +SmTRules class >> fillCache [ + SmTSelectPackageBrowser openWithSmartFinder: self testFinder + + +] + +{ #category : #settings } +SmTRules class >> filter [ + ^ smTFilter ifNil: [ smTFilter := SmTIcebergLoadedPackagesFilter ] +] + +{ #category : #settings } +SmTRules class >> filter: aSelector [ + self testFinder filter: aSelector new. + self propagateRegexToTestFinder. + ^ smTFilter := aSelector +] + +{ #category : #settings } +SmTRules class >> finder [ + ^ smTFinder ifNil: [ smTFinder := SmTSenderTestFinderStrategy ] +] + +{ #category : #settings } +SmTRules class >> finder: aSelector [ + smTFinder := aSelector. + self testFinder smtFinder: aSelector new. + ^ smTFinder +] + +{ #category : #settings } +SmTRules class >> packagesRegex [ +^ collectionOfRegex ifNil: [ collectionOfRegex := '' ] +] + +{ #category : #settings } +SmTRules class >> packagesRegex: aRegexStringCollection [ + collectionOfRegex := aRegexStringCollection. + self propagateRegexToTestFinder. +] + +{ #category : #settings } +SmTRules class >> propagateRegexToTestFinder [ + self testFinder filter class = SmTSpecifyPackagesNameFilter + ifTrue: [ self testFinder filter packagesRegex: self packagesRegex ] +] + +{ #category : #settings } +SmTRules class >> runner [ + ^ smTTestRunner ifNil: [ smTTestRunner := SmTRunnerStrategySmart ] +] + +{ #category : #settings } +SmTRules class >> runner: aSelector [ + smTTestRunner := aSelector. + self testFinder testRunner: aSelector +] + +{ #category : #settings } +SmTRules class >> settingsOn: aBuilder [ + + (aBuilder group: #SmartTest) + with: [ (aBuilder group: #SmartFinder) + order: 7; + with: [ (aBuilder pickOne: #finder) + order: 0; + label: 'SmartTest finder'; + target: self; + parent: #SmartFinder; + domainValues: (SmTTestFinderStrategy allSubclasses select: #isConcreteFinder); + description: 'The finder defines how CORA searchs the relative test of a method'. + (aBuilder pickOne: #cacheStrategy) + order: 2; + label: 'SmartTest Cache'; + target: self; + parent: #SmartFinder; + domainValues: SmTCacheStrategy allSubclasses; + description: + 'To visualize the current cache + SmTCacheSettings cache new currentCache'. + (aBuilder pickOne: #runner) + order: 3; + label: 'SmartTest test runner'; + target: self; + parent: #SmartFinder; + domainValues: SmTRunnerStrategy allSubclasses; + description: 'The test runner defines if the tests are run in a debug way or not'. + (aBuilder pickOne: #strategy) + order: 1; + label: 'SmartTest testing strategy'; + target: self; + parent: #SmartFinder; + domainValues: SmTTestingStrategy allSubclasses; + description: 'The testing strategy defines when SmartTest will run the test it has found.'. + (aBuilder pickOne: #filter) + order: 0.5; + label: 'SmartTest filter'; + target: self; + parent: #SmTFilter; + domainValues: SmTFilterStrategy allSubclasses; + description: 'The testing strategy defines when SmartTest will run the test it has found.' ]. + (aBuilder setting: #packagesRegex) + label: 'SmartTest filter Regex configuration'; + target: self; + parent: #SmTFilter; + ghostHelp: 'SmartTe|Star*Wnrs'; + notInStyle; + default: ''; + description: + 'Change the value to scope the package you want to explore. +If you want to check the packages are well detected,run + SmTFilterSpecifyPackageSettings selectedPackage'. + (aBuilder group: #SmTActivationRenrakuOption) + order: 6; + with: [ (aBuilder setting: #activated) + target: self; + order: 0.01; + label: 'SmartTest Reneraku Integration Activated'; + description: 'Toogle to activate/disable the reneraku integration of the plugin' ]. + (aBuilder setting: #shouldTryToFindTestForDynamic) + parent: 'Beta'; + target: self; + order: 0.04; + label: 'Try to find for Dynamic '; + description: + 'When you click in a method, and have selected a Dynamix finder, we''''are updating the cache for it execution + (BETA)'. + (aBuilder group: #fill) + label: 'Fill cache'; + target: self; + parent: #Beta; + dialog: [ SimpleButtonMorph new + target: self; + label: 'Fill cache'; + actionSelector: #fillCache; + themeChanged; + yourself ]; + description: 'Fill the cache with selected package' ]. + (aBuilder group: #reset) + label: 'Reset Cache'; + target: self; + parent: #SmartTest; + order: 9; + dialog: [ SimpleButtonMorph new + target: self testFinder; + label: 'Reset Current SmartTest Cache'; + actionSelector: #resetCache; + themeChanged; + yourself ]; + description: + 'Reset the cache of SmartTest + SmTRules testFinder currentCache'. + (aBuilder group: #Beta) + parent: #SmartTest; + order: 10 +] + +{ #category : #'instance creation' } +SmTRules class >> shouldTryToFindTestForDynamic [ + ^ shouldTryToFindTestForDynamic ifNil: [ shouldTryToFindTestForDynamic := true ] +] + +{ #category : #'instance creation' } +SmTRules class >> shouldTryToFindTestForDynamic: aBoolean [ + shouldTryToFindTestForDynamic := aBoolean. + self testFinder shouldTryToFindTestForDynamic: aBoolean. +] + +{ #category : #settings } +SmTRules class >> strategy [ + ^ smTClassTestingStrategy ifNil: [ smTClassTestingStrategy := SmTTestingStrategyEachModification ] +] + +{ #category : #settings } +SmTRules class >> strategy: aSelector [ + smTClassTestingStrategy := aSelector. + self testFinder testingStrategy: aSelector new +] + +{ #category : #'instance creation' } +SmTRules class >> testFinder [ + ^ SmTSmartFinder ifNil: [ SmTSmartFinder := SmartFinder new + cacheStrategy: self cacheStrategy new; + filter: self filter new; + testRunner: self runner; + smtFinder: self finder new; + testingStrategy: self strategy new; + shouldTryToFindTestForDynamic: self shouldTryToFindTestForDynamic ] +] + +{ #category : #'instance creation' } +SmTRules class >> testFinder: aSmTSmartFinder [ + "It should be used only for tests" + + SmTSmartFinder := aSmTSmartFinder +] + +{ #category : #'initialize - release' } +SmTRules class >> unload [ + self testFinder clean +] + +{ #category : #accessing } +SmTRules >> activated [ + ^ self class activated +] + +{ #category : #accessing } +SmTRules >> basicCheck: anEntity [ + ^ self activated and: [ self isOnNautilusOrCalypso ] +] + +{ #category : #'initialize-release' } +SmTRules >> findTestsForMethod: aCompiledMethod [ + ^ tests := self class testFinder findTestsForMethod: aCompiledMethod +] + +{ #category : #accessing } +SmTRules >> isOnNautilusOrCalypso [ + "20 items means at least Nautilus" + | he | + he := thisContext stack collect: [ :c | c methodClass asString ] . + ^ he anySatisfy: [:el | 'ClyNavigationEnvironment' match: el] +] + +{ #category : #accessing } +SmTRules >> isVisible [ + ^ false +] + +{ #category : #accessing } +SmTRules >> severity [ + + ^ #information +] + +{ #category : #accessing } +SmTRules >> tests [ + ^ tests +] diff --git a/src/SmartTest/SmTRunnerStrategy.class.st b/src/SmartTest/SmTRunnerStrategy.class.st new file mode 100644 index 0000000..7801b87 --- /dev/null +++ b/src/SmartTest/SmTRunnerStrategy.class.st @@ -0,0 +1,110 @@ +" +I'm a tool which help the plugin to run tests and return the result of them +" +Class { + #name : #SmTRunnerStrategy, + #superclass : #Object, + #category : 'SmartTest-Runner' +} + +{ #category : #accessing } +SmTRunnerStrategy class >> colorForTestResultOf: aTestResult [ + aTestResult hasErrors + ifTrue: [ ^ Color red ]. + aTestResult hasFailures + ifTrue: [ ^ Color yellow]. + aTestResult hasPassed + ifTrue: [ ^ Color green ]. + ^ Color gray +] + +{ #category : #accessing } +SmTRunnerStrategy class >> iconForTestFromTestCaseHistory: aTestCase [ + (aTestCase class methodRaisedError: aTestCase selector) + ifTrue: [ ^ #testRedIcon ]. + (aTestCase class methodFailed: aTestCase selector) + ifTrue: [ ^ #testYellowIcon ]. + (aTestCase class methodPassed: aTestCase selector) + ifTrue: [ ^ #testGreenIcon ]. + ^ #testNotRunIcon +] + +{ #category : #accessing } +SmTRunnerStrategy class >> iconForTestFromTestsCasesHistory: aCollectionOfTestCase [ + | iconType tempColor | + iconType := #testNotRunIcon. + aCollectionOfTestCase + do: [ :aTestCase | + tempColor := self iconForTestFromTestCaseHistory: aTestCase. + (tempColor = #testNotRunIcon) + ifTrue: [ ^ #testNotRunIcon ]. + (tempColor = #testRedIcon) + ifTrue: [ iconType := #testRedIcon ]. + (iconType = #testRedIcon) + ifFalse: [ (tempColor = #testYellowIcon) + ifTrue: [ iconType := #testYellowIcon ] ifFalse: [ iconType := tempColor ] ] ]. + ^ iconType +] + +{ #category : #accessing } +SmTRunnerStrategy class >> iconForTestResultOf: aTestResult [ + aTestResult hasErrors + ifTrue: [ ^ self iconNamed: #testRedIcon ]. + aTestResult hasFailures + ifTrue: [ ^ self iconNamed: #testYellowIcon ]. + aTestResult hasPassed + ifTrue: [ ^ self iconNamed: #testGreenIcon ]. + ^ self iconNamed: #testNotRunIcon. +] + +{ #category : #action } +SmTRunnerStrategy class >> notifyTitle: title contents: aTestResult [ + + | contents | + contents := aTestResult tests size > 3 + ifTrue: [ String streamContents: [ :aStream | + aStream + << aTestResult tests size + << ' tests in: '. + (aTestResult tests collect: #class as: Set) + do: [ :eachClass | aStream << eachClass name ] + separatedBy: [ aStream << ', ' ] ] ] + ifFalse: [ aTestResult ]. + + GrowlMorph + openWithLabel: title + contents: contents + backgroundColor: (self colorForTestResultOf: aTestResult ) + labelColor: Color black +] + +{ #category : #action } +SmTRunnerStrategy class >> runCase: aTestMethod notifyIcon: anIcon [ + | aTestResult | + + aTestResult := TestResult new. + [ aTestResult runCaseForDebug: aTestMethod ] + ensure: [ anIcon labelGraphic: (self iconForTestResultOf: aTestResult) ]. + anIcon labelGraphic: (self iconForTestResultOf: aTestResult). + aTestResult updateResultsInHistory. + self notifyTitle: 'SmartTest Execution' contents: aTestResult. + ^aTestResult. +] + +{ #category : #action } +SmTRunnerStrategy class >> runCases: aTestCollection [ + | aTestResult | + aTestResult := TestResult new. + aTestCollection do: [ :aTest |aTestResult runCase: aTest ]. + aTestResult updateResultsInHistory. + self notifyTitle: 'SmartTest Execution' contents: aTestResult. + ^aTestResult +] + +{ #category : #action } +SmTRunnerStrategy class >> runCases: aTestCollection notifyIcon: anIcon [ + | aTestResult | + aTestResult := self runCases: aTestCollection. + anIcon labelGraphic: (self iconForTestResultOf: aTestResult ) . + ^aTestResult +] diff --git a/src/SmartTest/SmTRunnerStrategyDebug.class.st b/src/SmartTest/SmTRunnerStrategyDebug.class.st new file mode 100644 index 0000000..f977f90 --- /dev/null +++ b/src/SmartTest/SmTRunnerStrategyDebug.class.st @@ -0,0 +1,18 @@ +" +When a test is run by CORA. If it failled, the debugger will open. +" +Class { + #name : #SmTRunnerStrategyDebug, + #superclass : #SmTRunnerStrategy, + #category : 'SmartTest-Runner' +} + +{ #category : #action } +SmTRunnerStrategyDebug class >> runCases: aTestCollection [ + | aTestResult | + aTestResult := TestResult new. + aTestCollection do: [ :aTest |aTestResult runCaseForDebug: aTest ]. + aTestResult updateResultsInHistory. + self notifyTitle: 'SmartTest Execution' contents: aTestResult. + ^aTestResult +] diff --git a/src/SmartTest.package/SmTRunnerStrategyNotice.class/class/runCase.notifyIcon..st b/src/SmartTest/SmTRunnerStrategyNotice.class.st similarity index 52% rename from src/SmartTest.package/SmTRunnerStrategyNotice.class/class/runCase.notifyIcon..st rename to src/SmartTest/SmTRunnerStrategyNotice.class.st index 925fb80..b8da5a3 100644 --- a/src/SmartTest.package/SmTRunnerStrategyNotice.class/class/runCase.notifyIcon..st +++ b/src/SmartTest/SmTRunnerStrategyNotice.class.st @@ -1,5 +1,14 @@ -action -runCase: aTestMethod notifyIcon: anIcon +" +When a test is run by CORA. If it failled, nothing happen +" +Class { + #name : #SmTRunnerStrategyNotice, + #superclass : #SmTRunnerStrategy, + #category : 'SmartTest-Runner' +} + +{ #category : #action } +SmTRunnerStrategyNotice class >> runCase: aTestMethod notifyIcon: anIcon [ | aTestResult | aTestResult := TestResult new. [ aTestResult runCase: aTestMethod ] @@ -7,4 +16,5 @@ runCase: aTestMethod notifyIcon: anIcon anIcon labelGraphic: (self iconForTestResultOf: aTestResult). aTestResult updateResultsInHistory. self notifyTitle: 'SmartTest Execution' contents: aTestResult. - ^aTestResult. \ No newline at end of file + ^aTestResult. +] diff --git a/src/SmartTest/SmTRunnerStrategySmart.class.st b/src/SmartTest/SmTRunnerStrategySmart.class.st new file mode 100644 index 0000000..3eabc9d --- /dev/null +++ b/src/SmartTest/SmTRunnerStrategySmart.class.st @@ -0,0 +1,8 @@ +" +When a test is run by CORA. If it failled and it was run from the test selection windows, the debugger will open. Nothing else +" +Class { + #name : #SmTRunnerStrategySmart, + #superclass : #SmTRunnerStrategy, + #category : 'SmartTest-Runner' +} diff --git a/src/SmartTest/SmTSelectPackageBrowser.class.st b/src/SmartTest/SmTSelectPackageBrowser.class.st new file mode 100644 index 0000000..47e1d92 --- /dev/null +++ b/src/SmartTest/SmTSelectPackageBrowser.class.st @@ -0,0 +1,126 @@ +" +I'm a tool that helps in selecting the packages that are going to be searched. +" +Class { + #name : #SmTSelectPackageBrowser, + #superclass : #SelectBrowser, + #instVars : [ + 'smartFinder' + ], + #category : 'SmartTest-Tools' +} + +{ #category : #opening } +SmTSelectPackageBrowser class >> openWithSmartFinder: aSmartFinder [ + self new + smartFinder: aSmartFinder; + items: RPackageOrganizer default packages; + openWithSpec +] + +{ #category : #api } +SmTSelectPackageBrowser >> addAllItems [ + | tmp | + tmp := self sort: selectedModel listItems withAll: toSelectModel listItems. + selectedModel items: tmp. + toSelectModel items: #(). + toSelectModel updateList. + selectedModel updateList +] + +{ #category : #accessing } +SmTSelectPackageBrowser >> addItems [ + toSelectModel selectedItems + ifNotNil: [ :items | + selectedModel items: (self sort: selectedModel listItems withAll: items). + toSelectModel items: (self sort: toSelectModel listItems withoutAll: items) ]. + toSelectModel updateList. + selectedModel updateList +] + +{ #category : #api } +SmTSelectPackageBrowser >> createTestSuiteFrom: listItem [ + | testSuite | + testSuite := TestSuite new. + testSuite addTests: ((listItem flatCollect: #methods) select: #isTestMethod thenCollect: #asTestCase). + ^ testSuite +] + +{ #category : #initialization } +SmTSelectPackageBrowser >> initialize [ + | wrappingBlock testPackage | + super initialize. + toSelectModel := self instantiate: ListPresenter. + selectedModel := self instantiate: ListPresenter. + selectedModel beMultipleSelection. + toSelectModel beMultipleSelection. + wrappingBlock := [ :package | package packageName ]. + toSelectModel displayBlock: wrappingBlock. + selectedModel displayBlock: wrappingBlock. + testPackage := MCWorkingCopy allManagers reject: [ :package | '*Test*' match: package packageName ]. + toSelectModel items: (self sort: (toSelectModel listItems \ testPackage)) +] + +{ #category : #api } +SmTSelectPackageBrowser >> nextAction [ + | past testSuite | + testSuite := self createTestSuiteFrom: selectedModel listItems. + past := smartFinder smtFinder. + smartFinder smtFinder: SmTReflectivityTestFinderStrategy new. + smartFinder buildCacheFromTestSuite: testSuite. + smartFinder smtFinder: past. + self delete +] + +{ #category : #accessing } +SmTSelectPackageBrowser >> removeAllItems [ + | tmp | + tmp := self sort: toSelectModel listItems withAll: selectedModel listItems. + toSelectModel items: tmp. + selectedModel items: #(). + toSelectModel updateList. + selectedModel updateList +] + +{ #category : #accessing } +SmTSelectPackageBrowser >> removeItems [ + selectedModel selectedItems + ifNotNil: [ :items | + toSelectModel items: (self sort: toSelectModel listItems withAll: items). + selectedModel items: (self sort: selectedModel listItems withoutAll: items) ]. + toSelectModel updateList. + selectedModel updateList +] + +{ #category : #accessing } +SmTSelectPackageBrowser >> smartFinder [ + ^ smartFinder +] + +{ #category : #accessing } +SmTSelectPackageBrowser >> smartFinder: anObject [ + smartFinder := anObject +] + +{ #category : #accessing } +SmTSelectPackageBrowser >> sort: aCollection [ + ^ aCollection asOrderedCollection sort: [:e1 :e2 | (e1 asString) < (e2 asString)]. +] + +{ #category : #accessing } +SmTSelectPackageBrowser >> sort: aCollection withAll: anotherCollection [ + ^ self + sort: + (aCollection asOrderedCollection + addAll: anotherCollection; + yourself) +] + +{ #category : #accessing } +SmTSelectPackageBrowser >> sort: aCollection withoutAll: anotherCollection [ + ^ self + sort: + (aCollection asOrderedCollection + removeAll: anotherCollection; + yourself) +] diff --git a/src/SmartTest/SmTSenderTestFinderStrategy.class.st b/src/SmartTest/SmTSenderTestFinderStrategy.class.st new file mode 100644 index 0000000..5636fb3 --- /dev/null +++ b/src/SmartTest/SmTSenderTestFinderStrategy.class.st @@ -0,0 +1,84 @@ +" +I work as ChangeImpact. +I'm looking for sender of sender etc. +I'm not well tested, but I'm fast and can help you for quick testing. +" +Class { + #name : #SmTSenderTestFinderStrategy, + #superclass : #SmTTestFinderStrategy, + #category : 'SmartTest-Finder' +} + +{ #category : #testing } +SmTSenderTestFinderStrategy class >> isConcreteFinder [ + ^ true +] + +{ #category : #'private - search' } +SmTSenderTestFinderStrategy >> collectSenderOfRGMethodeDefintion: aRGMethodDefinition [ + ^ aRGMethodDefinition isInitializer + ifTrue: [ { SystemNavigation default allReferencesTo: aRGMethodDefinition methodClass binding. + aRGMethodDefinition senders} asSet flattened ] + ifFalse: [ aRGMethodDefinition senders ] +] + +{ #category : #api } +SmTSenderTestFinderStrategy >> methodsFor: aCompiledMethod forThePackage: packages [ + self flag: '24 july 2018 - What is this method ? If useless i or from another project i will remove it'. + + ^ self cache + at: aCompiledMethod methodReference + ifAbsent: [ (self searchTestsForATestMethod: aCompiledMethod) + ifNotEmpty: [ :methods | + ^ (self searchTestsForMethod: aCompiledMethod) + addAll: (self computeInheritedTestFromDiscoveredTest: methods); + yourself ]. + (self searchTestsForASetUpMethod: aCompiledMethod) + ifNotEmpty: [ :methods | + ^ (self searchTestsForMethod: aCompiledMethod) + addAll: (self computeInheritedTestFromDiscoveredTest: methods); + yourself ]. + (self searchTestsForATearDownMethod: aCompiledMethod) + ifNotEmpty: [ :methods | + ^ (self searchTestsForMethod: aCompiledMethod) + addAll: (self computeInheritedTestFromDiscoveredTest: methods); + yourself ]. + (self recursiveSearchForAStandardMethod: (aCompiledMethod asRingDefinition) inPackages: packages ) + ifNotEmpty: [ :methods | + ^ (self searchTestsForMethod: aCompiledMethod) + addAll: (self computeInheritedTestFromDiscoveredTest: methods); + yourself ]. + self cache at: aCompiledMethod methodReference put: Set new. + ^ {} ] +] + +{ #category : #'private - search' } +SmTSenderTestFinderStrategy >> recursiveSearchForAStandardMethod: aRGMethodDefinition inPackages: packages [ + ^ self recursiveSearchForAStandardMethod: aRGMethodDefinition inPackages: packages alreadyVisited: Set new +] + +{ #category : #'private - search' } +SmTSenderTestFinderStrategy >> recursiveSearchForAStandardMethod: aRGMethodDefinition inPackages: packages alreadyVisited: alreadyVisitedMethods [ + | foundMethods | + self cache at: aRGMethodDefinition ifPresent: [ :a | ^ a ]. + foundMethods := Set new. + (self collectSenderOfRGMethodeDefintion: aRGMethodDefinition) + reject: [ :aSenderMethod | + | reject | + reject := (filter shouldEntityBeFilteredOut: aSenderMethod inPackages: packages) or: [ alreadyVisitedMethods includes: aSenderMethod ]. + alreadyVisitedMethods add: aSenderMethod. + reject ] + thenDo: [ :aSenderRGMethodDefinition | + foundMethods add: aSenderRGMethodDefinition. + foundMethods addAll: (self recursiveSearchForAStandardMethod: aSenderRGMethodDefinition inPackages: packages alreadyVisited: alreadyVisitedMethods) ]. + ^ foundMethods +] + +{ #category : #API } +SmTSenderTestFinderStrategy >> searchTestsForAStandardMethod: aCompiledMethod [ + | packagesToLookAt | + packagesToLookAt := self filter extractPackagesFrom: aCompiledMethod. + ^ (self + recursiveSearchForAStandardMethod: aCompiledMethod methodReference + inPackages: packagesToLookAt ) select: #isTestMethod +] diff --git a/src/SmartTest/SmTSpecifyPackagesNameFilter.class.st b/src/SmartTest/SmTSpecifyPackagesNameFilter.class.st new file mode 100644 index 0000000..96c12ad --- /dev/null +++ b/src/SmartTest/SmTSpecifyPackagesNameFilter.class.st @@ -0,0 +1,58 @@ +" +This filter only looks in the packages whose names match a given regex +" +Class { + #name : #SmTSpecifyPackagesNameFilter, + #superclass : #SmTFilterStrategy, + #instVars : [ + 'packagesRegex', + 'selectedPackages' + ], + #category : 'SmartTest-Filter' +} + +{ #category : #'settings-definition' } +SmTSpecifyPackagesNameFilter class >> packagesRegex: aRegexStringCollection [ + ^ self new + packagesRegex: aRegexStringCollection; + yourself +] + +{ #category : #asserting } +SmTSpecifyPackagesNameFilter >> extractPackagesFrom: aCompiledMethod [ + ^ self packages. +] + +{ #category : #accessing } +SmTSpecifyPackagesNameFilter >> packages [ + "Return the collection of package that was find from the settings" + + + ^ self selectedPackages +] + +{ #category : #accessing } +SmTSpecifyPackagesNameFilter >> packagesRegex [ + ^ packagesRegex +] + +{ #category : #accessing } +SmTSpecifyPackagesNameFilter >> packagesRegex: anObject [ + packagesRegex := anObject +] + +{ #category : #accessing } +SmTSpecifyPackagesNameFilter >> selectedPackages [ + ^ (RPackageOrganizer default packages + flatCollect: [ :package | + package classTags + select: [ :classTag | self packagesRegex asRegex matchesPrefix: classTag categoryName ] + thenCollect: #categoryName ]) asSet +] + +{ #category : #accessing } +SmTSpecifyPackagesNameFilter >> shouldEntityBeFilteredOut: anEntity inPackages: anObject [ + "(anEntity methodClass allCallsOn collect: #ciPackage) not." + (anEntity isClass) ifTrue:[^ (self packages includes: anEntity category) not]. + ^ (self packages includes: anEntity methodClass category) not +] diff --git a/src/SmartTest/SmTTestCoverage.class.st b/src/SmartTest/SmTTestCoverage.class.st new file mode 100644 index 0000000..23648ae --- /dev/null +++ b/src/SmartTest/SmTTestCoverage.class.st @@ -0,0 +1,35 @@ +" +I'm a tool that help configure the finder for the TestCoverage strategy. +" +Class { + #name : #SmTTestCoverage, + #superclass : #HDTestCoverage, + #instVars : [ + 'finder' + ], + #category : 'SmartTest-Tools' +} + +{ #category : #accessing } +SmTTestCoverage >> finder [ + ^ finder +] + +{ #category : #accessing } +SmTTestCoverage >> finder: aSmTFinder [ + finder := aSmTFinder +] + +{ #category : #accessing } +SmTTestCoverage >> mark [ + hasRun + ifFalse: [ hasRun := true. + self finder + addToCurrentExecutionMethodReference: reference ] +] + +{ #category : #accessing } +SmTTestCoverage >> run: aSelector with: anArray in: aReceiver [ + self mark. + ^ aReceiver withArgs: anArray executeMethod: method +] diff --git a/src/SmartTest/SmTTestCoverageTestFinderStrategy.class.st b/src/SmartTest/SmTTestCoverageTestFinderStrategy.class.st new file mode 100644 index 0000000..5001530 --- /dev/null +++ b/src/SmartTest/SmTTestCoverageTestFinderStrategy.class.st @@ -0,0 +1,302 @@ +" +The Wrapper strategy is a dynamic test regression finder. + +It only does the reseach for method one by one. + + ts := TestSuite new. +ts addTest: (SmTClassTest selector: #testMethod1). +ts addTest: (SmTClassTest selector: #testMethod2). +ts addTest: (SmTClassTest selector: #testMethod3). +ts addTest: (SmTClassTest selector: #testMethod4). +sf := SmartFinder new. +sf smtFinder: SmTTestCoverageTestFinderStrategy new. +sf buildCacheFromTestSuite: ts. +sf cacheValues +" +Class { + #name : #SmTTestCoverageTestFinderStrategy, + #superclass : #SmTTestFinderDynamicStrategy, + #instVars : [ + 'wrappers' + ], + #category : 'SmartTest-Finder' +} + +{ #category : #protocol } +SmTTestCoverageTestFinderStrategy class >> collectPackageWithBaseName: aBaseNamePackage [ + ^ RPackageOrganizer default packages select: [ :p | aBaseNamePackage,'*' match: p packageName ] +] + +{ #category : #protocol } +SmTTestCoverageTestFinderStrategy class >> collectPackagesFromName: aPackageName [ + ^ self collectPackageWithBaseName: (self extractPackageBaseName: aPackageName) +] + +{ #category : #protocol } +SmTTestCoverageTestFinderStrategy class >> extractPackageBaseName: aPackageName [ + ^(aPackageName substrings: '-') at: 1 +] + +{ #category : #protocol } +SmTTestCoverageTestFinderStrategy class >> isConcreteFinder [ + ^ true +] + +{ #category : #adding } +SmTTestCoverageTestFinderStrategy >> addATest: aTestCase toACollectionOfMethod: aCollectionOfCompiledMethod [ + aCollectionOfCompiledMethod + do: [ :aCompiledMethod | self addATest: aTestCase toMethod: aCompiledMethod ] +] + +{ #category : #adding } +SmTTestCoverageTestFinderStrategy >> addATest: aTestCase toMethodReference: aMethodReference [ + (self searchTestsForMethodReference: aMethodReference) + add: aTestCase methodReference +] + +{ #category : #adding } +SmTTestCoverageTestFinderStrategy >> addImpactedTestFromWrapper: aTestMethod theTestMethod: wrappers [ + | suite testRunner | + testRunner := TestRunner new. + suite := TestSuite new. + suite addTest: aTestMethod. + testRunner runSuite: suite. + self updateCacheAndUnmarkFrom: wrappers forMethod: aTestMethod. +] + +{ #category : #jenkins } +SmTTestCoverageTestFinderStrategy >> addRelevantTest: aTestMethod fromMarkedWrappers: wrappers [ + | suite testRunner | + testRunner := TestRunner new. + suite := TestSuite new. + suite addTest: aTestMethod. + testRunner runSuite: suite. + self updateCacheAndUnmarkFrom: wrappers forMethod: aTestMethod . + +] + +{ #category : #adding } +SmTTestCoverageTestFinderStrategy >> addToCurrentExecutionMethodReference: aMethodReference [ + | he | + he := thisContext contextStack reject: [ :c | c selector = #DoIt ] thenCollect: [ :a | a method methodReference ]. + ((he includes: self currentTestExecution methodReference) or: [(he collect: #selector) includes: #buildCacheFromTestSuite:]) + ifTrue: [ self addATest: self currentTestExecution toMethodReference: aMethodReference ] +] + +{ #category : #api } +SmTTestCoverageTestFinderStrategy >> analyseAndRemoveProxyFor: aTestCase [ + (wrappers at: aTestCase) do: [ :each | each uninstall ]. + wrappers removeKey: aTestCase +] + +{ #category : #accessing } +SmTTestCoverageTestFinderStrategy >> availableMethods [ + "Collect the methods that can be used with the wrapper to fill completely the methodToTest dictionnary" + ^ (self availablePackages flatCollect: [ :aPackage | aPackage methods ]) + reject: [ :method | + method methodClass = SmTTestCoverage + or: [ method methodClass = SmTTestCoverageTestFinderStrategy + or: [ method methodClass = SmTTestFinderStrategy + or: [ method methodClass = SmTBasicCacheStrategy or: [ method methodClass = HDTestCoverage or: [ method methodClass = SmTTestFinderDynamicStrategy] ] ] ] ] ] +] + +{ #category : #accessing } +SmTTestCoverageTestFinderStrategy >> availablePackages [ + "Collect the packages that can be used with the wrapper to fill completely the methodToTest dictionnary" + | availablePackages | + (availablePackages := RPackageOrganizer default packages + reject: [ :package | + (package packageName beginsWith: 'Kernel') + or: [ (package packageName beginsWith: 'Collections') + or: [ (package packageName beginsWith: 'GT') +or: [ (package packageName beginsWith: 'Ring') + or: [ (package packageName beginsWith: 'Regex') + or: [ (package packageName beginsWith: 'Exceptions') + or: [ (package packageName beginsWith: 'SUnit') + or: [ (package packageName beginsWith: 'System') or: [ (package packageName endsWith: 'Tests') + or: [ package packageName includesSubstring: 'HudsonBuildTools20' caseSensitive: false ] ] ] ] ] ] ] ] ] ]) + sort: [ :a :b | a packageName < b packageName ]. + ^ availablePackages +] + +{ #category : #accessing } +SmTTestCoverageTestFinderStrategy >> availableTestMethods [ + "Collect the test methods that can be used with the wrapper to fill completely the methodToTest dictionnary" + ^ (self availableTestPackages flatCollect: [ :aPackage | aPackage methods ]) reject: [ :method | method methodClass = SmTTestCoverage ] +] + +{ #category : #accessing } +SmTTestCoverageTestFinderStrategy >> availableTestPackages [ + "Collect the test packages that can be used with the wrapper to fill completely the methodToTest dictionnary" + | availablePackages | + (availablePackages := RPackageOrganizer default packages + reject: [ :package | + (package packageName beginsWith: 'Kernel') + or: [ (package packageName beginsWith: 'Collections') + or: [ (package packageName beginsWith: 'GT') + or: [ (package packageName beginsWith: 'AST') + or: [ (package packageName beginsWith: 'Athens') + or: [ (package packageName beginsWith: 'Ring') + or: [ (package packageName beginsWith: 'Alien') + or: [ (package packageName beginsWith: 'Announcements') + or: [ (package packageName beginsWith: 'Regex') + or: [ (package packageName beginsWith: 'Exceptions') + or: [ (package packageName beginsWith: 'SUnit') or: [ (package packageName beginsWith: 'System') or: [ package packageName includesSubstring: 'HudsonBuildTools20' caseSensitive: false ] ] ] ] ] ] ] ] ] ] ] ] ]) + sort: [ :a :b | a packageName < b packageName ]. + ^ availablePackages +] + +{ #category : #api } +SmTTestCoverageTestFinderStrategy >> buildCacheFromTestSuite: aTestSuite [ +"tr := TestRunner new. +tr open. +testSuites := tr allSelectedTestSuites. +ts := TestSuite new. +(testSuites flatCollect: [ :ts | ts tests ]) do: [ :atest | ts addTest: atest ]. +[sf := SmartFinder new. +sf smtFinder: SmTTestCoverageTestFinderStrategy new. +sf buildCacheFromTestSuite: ts. +sf cacheValues ] timeToRun +" + | listOfPackage methodToWrap | + listOfPackage := (aTestSuite flatCollectTests flatCollect: [ :aTestCase | self class collectPackagesFromName: aTestCase class package name ]) asSet collect: #packageName. + methodToWrap := Set new. + methodToWrap addAll: (self collectMethodToTestForPackagesNamed: listOfPackage). + "methodToWrap addAll: (self collectClassToTestForPackagesNamed: listOfPackage)." + methodToWrap := methodToWrap intersection: self availableMethods. + wrappers at: aTestSuite put: (methodToWrap asOrderedCollection collect: [ :each | (SmTTestCoverage on: each methodReference) finder: self ]). + (wrappers at: aTestSuite) do: [ :each | each install ] "displayingProgress: [ :aClass | 'Installing ' , aClass asString ] every: 1". + aTestSuite flatCollectTests + do: [ :aTestCase | + self currentTestExecution: aTestCase. + self addATest: aTestCase toMethodReference: aTestCase methodReference. + aTestCase run. + (wrappers at: aTestSuite) do: [ :each | each unmark ] ]. + (wrappers at: aTestSuite) do: [ :each | each uninstall ] +] + +{ #category : #search } +SmTTestCoverageTestFinderStrategy >> collectAllRelativePackages: aByteString [ + ^ RPackageOrganizer default packages select: [ :a | (self filter extractPackageBaseName: a packageName) = aByteString ] +] + +{ #category : #jenkins } +SmTTestCoverageTestFinderStrategy >> collectClassToTestForPackage: aPackage [ + (self availablePackages includes: aPackage) + ifTrue: [ ^ (aPackage classes reject: #isTrait) + flatCollect: [ :aClass | SmTClassTestedRule new methodUsingVariablesOfClass: aClass ] ]. + ^ OrderedCollection new +] + +{ #category : #jenkins } +SmTTestCoverageTestFinderStrategy >> collectClassToTestForPackagesNamed: aCollectionOfPackagesNamed [ + ^ aCollectionOfPackagesNamed flatCollect: [ :aPackageName | self collectClassToTestForPackage: (self getPackageFromName: aPackageName) ] +] + +{ #category : #jenkins } +SmTTestCoverageTestFinderStrategy >> collectMethodToTestForPackage: aPackage [ + ^ aPackage methods +] + +{ #category : #jenkins } +SmTTestCoverageTestFinderStrategy >> collectMethodToTestForPackages: aCollectionOfPackage [ + ^ aCollectionOfPackage flatCollect: [ :aPackage | self collectMethodToTestForPackage: aPackage ] +] + +{ #category : #jenkins } +SmTTestCoverageTestFinderStrategy >> collectMethodToTestForPackagesNamed: aCollectionOfPackagesName [ + ^ aCollectionOfPackagesName flatCollect: [ :aPackageName | self collectMethodToTestForPackage: (self getPackageFromName: aPackageName ) ] +] + +{ #category : #parsing } +SmTTestCoverageTestFinderStrategy >> extractPackageBaseName: aPackageName [ + ^(aPackageName substrings: '-') at: 1 +] + +{ #category : #accessing } +SmTTestCoverageTestFinderStrategy >> getPackageFromName: aPackageName [ + ^ RPackage organizer packageNamed: aPackageName. +] + +{ #category : #initialization } +SmTTestCoverageTestFinderStrategy >> initialize [ + wrappers := Dictionary new +] + +{ #category : #api } +SmTTestCoverageTestFinderStrategy >> installProxyFor: aTestCase [ + | methodToWrap listOfPackage | + self currentTestExecution: aTestCase. + self addATest: aTestCase toMethodReference: aTestCase methodReference. + listOfPackage := OrderedCollection new. + listOfPackage addAll: (SmalltalkImage current packages select: [ :package | package name beginsWith: (self extractPackageBaseName: (aTestCase methodReference compiledMethod package name)) ] ). + methodToWrap := Set new. + methodToWrap addAll: (self collectMethodToTestForPackagesNamed: (listOfPackage collect: #name)). + methodToWrap := methodToWrap intersection: self availableMethods. + wrappers + at: aTestCase + put: + (methodToWrap asOrderedCollection + collect: [ :each | (SmTTestCoverage on: each methodReference) finder: self ]). + ((wrappers at: aTestCase) sort: [ :a :b | a name < b name ]) + do: [ :each | each install ] + displayingProgress: [ :aClass | 'Installing ' , aClass asString ] + every: 1 +] + +{ #category : #api } +SmTTestCoverageTestFinderStrategy >> methodsInSimilarPackageAs: aCompiledMethod [ + + | packageBaseName packages | + packageBaseName := self filter extractCompiledMethodPackageBaseName: aCompiledMethod. + packages := self collectAllRelativePackages: packageBaseName. + ^ packages + flatCollect: [ :aPackage | aPackage methods ] +] + +{ #category : #search } +SmTTestCoverageTestFinderStrategy >> searchRelativeTestForMethod: aCompiledMethod [ + "Search for only one package and NOT relative others method" + | methods | + methods := self methodsInSimilarPackageAs: aCompiledMethod. + + wrappers := {(HDTestCoverage on: aCompiledMethod methodReference)} asOrderedCollection. + wrappers do: [ :each | each install ]. + [ + + (self collectRelativeTestMethodOfMethods: methods) + do: [ :aTestMethod | self addImpactedTestFromWrapper: aTestMethod theTestMethod: wrappers ] + displayingProgress: [ :aClass | 'Processing ' , aClass asString ] + every: 1 + + ] ensure: [ wrappers do: [ :each | each uninstall ] ] +] + +{ #category : #api } +SmTTestCoverageTestFinderStrategy >> searchTestsForAStandardMethod: aCompiledMethod [ + self searchRelativeTestForMethod: aCompiledMethod. + ^ self searchTestsForMethod: aCompiledMethod +] + +{ #category : #api } +SmTTestCoverageTestFinderStrategy >> searchTestsForClass: aClass [ + "Find all tests in related packages that reference the method's class" + | allSendersClass allTests | + allSendersClass := (aClass allCallsOn + collect: [:aReference| + aReference actualClass]) asSet + select: [:aColectedClass| + (aColectedClass isKindOf: TestCase class) ]. + + allTests := OrderedCollection new. + allSendersClass do: [:aSenderClass| allTests addAll: aSenderClass allTestMethods]. + ^ allTests. +] + +{ #category : #jenkins } +SmTTestCoverageTestFinderStrategy >> updateCacheAndUnmarkFrom: wrappers forMethod: aTestMethod [ + | aToResetAfterMarkCollection | + aToResetAfterMarkCollection := wrappers select: [ :each | each hasRun ]. + self addATest: aTestMethod toACollectionOfMethod: aToResetAfterMarkCollection. + aToResetAfterMarkCollection do: [ :each | each unmark ] +] diff --git a/src/SmartTest/SmTTestFinderDynamicStrategy.class.st b/src/SmartTest/SmTTestFinderDynamicStrategy.class.st new file mode 100644 index 0000000..08341ca --- /dev/null +++ b/src/SmartTest/SmTTestFinderDynamicStrategy.class.st @@ -0,0 +1,70 @@ +" +Represent a dynamic strategy + +self todo: #AddDetails +" +Class { + #name : #SmTTestFinderDynamicStrategy, + #superclass : #SmTTestFinderStrategy, + #instVars : [ + 'currentTestExecution' + ], + #category : 'SmartTest-Finder' +} + +{ #category : #testing } +SmTTestFinderDynamicStrategy class >> isConcreteFinder [ + ^ false +] + +{ #category : #api } +SmTTestFinderDynamicStrategy >> addATest: aTestCase toMethod: aCompiledMethod [ + (self searchTestsForMethod: aCompiledMethod) + add: aTestCase methodReference +] + +{ #category : #api } +SmTTestFinderDynamicStrategy >> analyseAndRemoveProxyFor: aTestCase [ + self subclassResponsibility +] + +{ #category : #api } +SmTTestFinderDynamicStrategy >> buildCacheFromTestSuite: aTestSuite [ + self subclassResponsibility +] + +{ #category : #accessing } +SmTTestFinderDynamicStrategy >> currentTestExecution [ + ^ currentTestExecution +] + +{ #category : #accessing } +SmTTestFinderDynamicStrategy >> currentTestExecution: anObject [ + currentTestExecution := anObject +] + +{ #category : #api } +SmTTestFinderDynamicStrategy >> installProxyFor: aTestCase [ + self subclassResponsibility +] + +{ #category : #api } +SmTTestFinderDynamicStrategy >> methodsFor: aCompiledMethod [ + | finalFoundMethod | + ^ self cache + at: aCompiledMethod methodReference + ifAbsent: [ (self shouldTryToFindTestForDynamic ) + ifFalse: [ ^ {} ]. + #(#searchTestsForATestMethod: #searchTestsForASetUpMethod: #searchTestsForATearDownMethod: #searchTestsForAStandardMethod:) + do: [ :heuristic | + | methods | + methods := [ self perform: heuristic with: aCompiledMethod ] + on: MessageNotUnderstood + do: [ #() ]. + methods isEmpty + ifFalse: [ finalFoundMethod := self searchTestsForMethod: aCompiledMethod. + finalFoundMethod addAll: (self computeInheritedTestFromDiscoveredTest: methods) asOrderedCollection. + ^ finalFoundMethod ] ]. + self cache at: aCompiledMethod methodReference put: Set new. + ^ {} ] +] diff --git a/src/SmartTest/SmTTestFinderStrategy.class.st b/src/SmartTest/SmTTestFinderStrategy.class.st new file mode 100644 index 0000000..375a1a2 --- /dev/null +++ b/src/SmartTest/SmTTestFinderStrategy.class.st @@ -0,0 +1,239 @@ +" +I represent an abstract strategy to find tests exercising some method +" +Class { + #name : #SmTTestFinderStrategy, + #superclass : #Object, + #instVars : [ + 'filter', + 'cache', + 'shouldTryToFindTestForDynamic' + ], + #category : 'SmartTest-Finder' +} + +{ #category : #protocol } +SmTTestFinderStrategy class >> isConcreteFinder [ + ^ false +] + +{ #category : #accessing } +SmTTestFinderStrategy >> cache [ + ^ cache +] + +{ #category : #accessing } +SmTTestFinderStrategy >> cache: aSmTCache [ + cache := aSmTCache +] + +{ #category : #accessing } +SmTTestFinderStrategy >> computeInheritedTestFromDiscoveredTest: aCollectionOfRGDefinitionOfTest [ + | testList | + testList := OrderedCollection new. + aCollectionOfRGDefinitionOfTest + do: [ :anRGDefinition | + anRGDefinition methodClass isAbstract + ifTrue: [ testList addAll: (self subTestFromRGDefinition: anRGDefinition) ] + ifFalse: [ testList add: anRGDefinition ] ]. + ^ testList asSet +] + +{ #category : #accessing } +SmTTestFinderStrategy >> filter [ + ^ filter +] + +{ #category : #accessing } +SmTTestFinderStrategy >> filter: aSmTFilter [ + filter := aSmTFilter +] + +{ #category : #initialization } +SmTTestFinderStrategy >> initialize [ + self shouldTryToFindTestForDynamic: false +] + +{ #category : #accessing } +SmTTestFinderStrategy >> methodToTest: anObject [ + cache methodToTest: anObject +] + +{ #category : #api } +SmTTestFinderStrategy >> methodsFor: aCompiledMethod [ + ^ self cache + at: aCompiledMethod methodReference + ifAbsent: [ (self searchTestsForATestMethod: aCompiledMethod) + ifNotEmpty: [ :methods | + ^ (self searchTestsForMethod: aCompiledMethod) + addAll: (self computeInheritedTestFromDiscoveredTest: methods); + yourself ]. + (self searchTestsForASetUpMethod: aCompiledMethod) + ifNotEmpty: [ :methods | + ^ (self searchTestsForMethod: aCompiledMethod) + addAll: (self computeInheritedTestFromDiscoveredTest: methods); + yourself ]. + (self searchTestsForATearDownMethod: aCompiledMethod) + ifNotEmpty: [ :methods | + ^ (self searchTestsForMethod: aCompiledMethod) + addAll: (self computeInheritedTestFromDiscoveredTest: methods); + yourself ]. + (self searchTestsForAStandardMethod: aCompiledMethod) + ifNotEmpty: [ :methods | + ^ (self searchTestsForMethod: aCompiledMethod) + addAll: (self computeInheritedTestFromDiscoveredTest: methods); + yourself ]. + self cache at: aCompiledMethod methodReference put: Set new. + ^ {} ] +] + +{ #category : #'private - search' } +SmTTestFinderStrategy >> recursiveSearchForAClass: aClass inPackages: packagesToLookAt [ + ^ self recursiveSearchForAClass: aClass inPackages: packagesToLookAt alreadyVisited: Set new +] + +{ #category : #'private - search' } +SmTTestFinderStrategy >> recursiveSearchForAClass: aClass inPackages: packagesToLookAt alreadyVisited: alreadyVisitedClass [ + | testsFound allCallsOnClass | + testsFound := Set new. + aClass isTestCase + ifTrue: [ (aClass methods select: [ :aMethod | aMethod isTestMethod ]) do: [ :eachTestMethod | testsFound addAll: (self methodsFor: eachTestMethod) ]. + aClass allTestSelectors do: [ :each | testsFound add: (RGMethodDefinition className: aClass name selector: each isMetaSide: false) ] ]. + testsFound + addAll: + ((aClass allCallsOn select: [ :aCallOn | (filter shouldEntityBeFilteredOut: aCallOn inPackages: packagesToLookAt) not ]) + flatCollect: [ :aRGMethodDefinition | self methodsFor: aRGMethodDefinition compiledMethod]). + aClass subclasses + reject: [ :aSubClass | + | reject | + reject := (filter shouldEntityBeFilteredOut: aSubClass inPackages: packagesToLookAt) or: [ alreadyVisitedClass includes: aSubClass ]. + alreadyVisitedClass add: aSubClass. + reject ] + thenDo: [ :aSubClass | + testsFound add: aSubClass. + testsFound addAll: (self recursiveSearchForAClass: aSubClass inPackages: packagesToLookAt alreadyVisited: alreadyVisitedClass) ]. + ^ testsFound +] + +{ #category : #accessing } +SmTTestFinderStrategy >> searchTestsForAClass: aClass [ + | packagesToLookAt | + packagesToLookAt := self filter extractPackagesFrom: aClass. + ^ self recursiveSearchForAClass: aClass inPackages: packagesToLookAt +] + +{ #category : #accessing } +SmTTestFinderStrategy >> searchTestsForAInstVar: aInstVar [ + "This method returns all the tests related to a instance variable." + + | testsFound | + testsFound := Set new. + ^ testsFound +] + +{ #category : #accessing } +SmTTestFinderStrategy >> searchTestsForAInstVar: aInstanceVariable OfClass: aClass [ + "This method returns all the tests related to a instance variable." + + | testsFound senders | + testsFound := Set new. + senders := Set new. + senders + addAll: ((aClass classLayout allVisibleSlots select: [ :eachSlot | eachSlot name = aInstanceVariable ]) flatCollect: #usingMethods). + testsFound + addAll: (senders flatCollect: [ :each | self methodsFor: each ]). + ^ testsFound +] + +{ #category : #private } +SmTTestFinderStrategy >> searchTestsForASetUpMethod: aCompiledMethod [ + "If the method is a TestCase setUp, returns all the tests of this TestCase and its subclasses" + ^ (aCompiledMethod isTestSetUpMethod) + ifTrue: [|result| + result := OrderedCollection new. + result addAll: aCompiledMethod methodClass allTestMethods. + (aCompiledMethod methodClass subclasses do:[:aSubClass | result addAll: aSubClass allTestMethods]). + result collect: #methodReference] + ifFalse: [{}]. +] + +{ #category : #private } +SmTTestFinderStrategy >> searchTestsForAStandardMethod: aCompiledMethod [ + "Should return a Collection of #methodReference" + + self subclassResponsibility +] + +{ #category : #private } +SmTTestFinderStrategy >> searchTestsForATearDownMethod: aCompiledMethod [ + "If the method is a TestCase tearDown, returns all the tests of this TestCase" + ^ (aCompiledMethod isTestTearDownMethod) + ifTrue: [ + |result| + result := OrderedCollection new. + result addAll: aCompiledMethod methodClass allTestMethods. + (aCompiledMethod methodClass subclasses do:[:aSubClass | result addAll: aSubClass allTestMethods]). + result collect: #methodReference] + ifFalse: [{}]. +] + +{ #category : #private } +SmTTestFinderStrategy >> searchTestsForATestMethod: aCompiledMethod [ + ^ aCompiledMethod isTestMethod + ifTrue: [{aCompiledMethod methodReference}] + ifFalse: [{}]. +] + +{ #category : #accessing } +SmTTestFinderStrategy >> searchTestsForATrait: aTrait [ + | packagesToLookAt testsFound| + testsFound := Set new. + packagesToLookAt := self filter extractPackagesFrom: aTrait. + aTrait users do: [:eachClass | testsFound addAll: (self recursiveSearchForAClass: eachClass inPackages: packagesToLookAt)]. + ^testsFound +] + +{ #category : #private } +SmTTestFinderStrategy >> searchTestsForClassReferenceOf: aCompiledMethod [ + "Find all tests in related packages that reference the method's class" + | allSendersClass allTests | + allSendersClass := (aCompiledMethod methodClass allCallsOn + collect: [:aReference| + aReference actualClass]) asSet + select: [:aClass| + (aClass isKindOf: TestCase class) ]. + + allTests := OrderedCollection new. + allSendersClass do: [:aClass| allTests addAll: aClass allTestMethods]. + ^ allTests collect: #methodReference. +] + +{ #category : #accessing } +SmTTestFinderStrategy >> searchTestsForMethod: aCompiledMethod [ + ^ self cache relevantTestsFor: aCompiledMethod + "at: aCompiledMethod methodReference + ifAbsentPut: [ Set new ]" +] + +{ #category : #accessing } +SmTTestFinderStrategy >> searchTestsForMethodReference: aMethodReference [ + ^ self cache searchTestsForMethodReference: aMethodReference +] + +{ #category : #accessing } +SmTTestFinderStrategy >> shouldTryToFindTestForDynamic [ + ^ shouldTryToFindTestForDynamic +] + +{ #category : #accessing } +SmTTestFinderStrategy >> shouldTryToFindTestForDynamic: aBoolean [ + shouldTryToFindTestForDynamic := aBoolean +] + +{ #category : #accessing } +SmTTestFinderStrategy >> subTestFromRGDefinition: anRGDefinition [ + ^ self + computeInheritedTestFromDiscoveredTest: + ((anRGDefinition methodClass suite tests flatCollect: #tests) + collect: [ :each | RGMethodDefinition class: each class selector: each selector ]) +] diff --git a/src/SmartTest/SmTTestGenerator.class.st b/src/SmartTest/SmTTestGenerator.class.st new file mode 100644 index 0000000..5a74daf --- /dev/null +++ b/src/SmartTest/SmTTestGenerator.class.st @@ -0,0 +1,102 @@ +" +Tool easy to use by everyone to generate test from a Compiled Method +" +Class { + #name : #SmTTestGenerator, + #superclass : #Object, + #category : 'SmartTest-Tools' +} + +{ #category : #'widget method' } +SmTTestGenerator >> buildTestClassDefinitionFrom: aClass [ + + ^ 'TestCase subclass: ', (self buildTestClassNameFrom: aClass) printString, ' + instanceVariableNames: '''' + classVariableNames: '''' + poolDictionaries: '''' + package: ''',(self buildTestPackageNameFrom:aClass),'''' +] + +{ #category : #'widget method' } +SmTTestGenerator >> buildTestClassNameFrom: aClass [ + + ^ (aClass name asString,'Test') asSymbol +] + +{ #category : #'widget method' } +SmTTestGenerator >> buildTestPackageNameFrom:aClass [ + + ^ aClass package name asString, '-Tests' +] + +{ #category : #'widget method' } +SmTTestGenerator >> buildTestSelectorFor: aMethod [ + + ^ String streamContents: [:s || capitalize | + capitalize := true. + s << 'test'. + aMethod selector do: [:c | + c = $: + ifTrue: [ capitalize := true ] + ifFalse: [ capitalize + ifTrue: [ + capitalize := false. + s << c asUppercase. ] + ifFalse:[ s << c ]]]] + +] + +{ #category : #'widget method' } +SmTTestGenerator >> createTestForClass: aClass [ + | testClass className | + aClass ifNil: [ ^ nil ]. + aClass isTestCase + ifTrue: [ ^ nil ]. + aClass isMeta + ifTrue: [ ^ nil ]. + className := self buildTestClassNameFrom: aClass. + testClass := self class environment + at: className + ifPresent: [ :class | class ] + ifAbsent: [ testClass := TestCase + subclass: className + instanceVariableNames: '' + classVariableNames: '' + package: (self buildTestPackageNameFrom: aClass). + self class environment at: className. + testClass comment: (self generateCommentForTestClass: testClass from: aClass) ]. + ^ testClass +] + +{ #category : #'widget method' } +SmTTestGenerator >> generateCommentForTestClass: testClass from: aClass [ + + ^ String streamContents: [:stream || name | + name := testClass name. + name first isVowel + ifTrue: [ stream << 'An '] + ifFalse:[ stream <<'A ']. + stream << name << ' is a test class for testing the behavior of '<< aClass name ] +] + +{ #category : #'widget method' } +SmTTestGenerator >> generateSourceCodeForTestFrom: aMethod [ + ^ (self buildTestSelectorFor: aMethod), String crlf,' self shouldBeImplemented' +] + +{ #category : #'widget method' } +SmTTestGenerator >> generateTestMethodFor: aMethod [ + "generate a test method for aMethod and return the generated method" + + | class testMethodName | + testMethodName := aMethod methodClass name , 'Test'. + class := Smalltalk allClasses + detect: [ :e | e name = testMethodName ] + ifNone: [ self createTestForClass: aMethod methodClass ]. + class + ifNotNil: [ class + compile: (self generateSourceCodeForTestFrom: aMethod) + classified: 'tests-' , aMethod category. + ^ class >> (self buildTestSelectorFor: aMethod) asSymbol ]. + ^ nil +] diff --git a/src/SmartTest/SmTTestListener.class.st b/src/SmartTest/SmTTestListener.class.st new file mode 100644 index 0000000..36669a3 --- /dev/null +++ b/src/SmartTest/SmTTestListener.class.st @@ -0,0 +1,97 @@ +" +I'm listening all the tests event and add it to the RTS +" +Class { + #name : #SmTTestListener, + #superclass : #Object, + #instVars : [ + 'cacheClass', + 'smtDynamicFinder' + ], + #classInstVars : [ + 'uniqueInstance', + 'activated' + ], + #category : 'SmartTest-Listener' +} + +{ #category : #accessing } +SmTTestListener class >> activated [ + ^ activated + ifNil: [ activated := false. + self uniqueInstance activated: false ] +] + +{ #category : #accessing } +SmTTestListener class >> activated: aSelector [ + activated := aSelector. + self uniqueInstance activated: aSelector +] + +{ #category : #initialization } +SmTTestListener class >> settingsOn: aBuilder [ + + (aBuilder setting: #activated) + parent: #Beta; + target: self; + order: 0.04; + label: 'AutoUpdate Cache'; + description: + 'When you execute a test, we''''are updating the cache for it execution + (BETA)' +] + +{ #category : #initialization } +SmTTestListener class >> uniqueInstance [ + ^ uniqueInstance ifNil: [ uniqueInstance := self new ] +] + +{ #category : #'announcement handling' } +SmTTestListener >> activated: aSelector [ + aSelector + ifTrue: [ self disableListenerTestCase. + self enableListenerTestCase ] + ifFalse: [ self disableListenerTestCase ] +] + +{ #category : #'announcement handling' } +SmTTestListener >> cacheStrategy [ + ^ cacheClass +] + +{ #category : #'announcement handling' } +SmTTestListener >> cacheStrategy: aCacheClass [ + cacheClass := aCacheClass +] + +{ #category : #protocol } +SmTTestListener >> disableListenerTestCase [ + SmTAnnouncer announcer unsubscribe: self. + SmTAnnouncer announcer unsubscribe: self +] + +{ #category : #protocol } +SmTTestListener >> enableListenerTestCase [ + SmTAnnouncer announcer weak when: TestCaseStarted send: #testCaseStarted: to: self. + SmTAnnouncer announcer weak when: TestCaseEnded send: #testCaseEnded: to: self +] + +{ #category : #'announcement handling' } +SmTTestListener >> smtDynamicFinder [ + ^ smtDynamicFinder +] + +{ #category : #'announcement handling' } +SmTTestListener >> smtDynamicFinder: aSmTTestFinderStrategy [ + smtDynamicFinder := aSmTTestFinderStrategy +] + +{ #category : #protocol } +SmTTestListener >> testCaseEnded: aTestAnnouncement [ + self smtDynamicFinder analyseAndRemoveProxyFor: aTestAnnouncement testCase +] + +{ #category : #protocol } +SmTTestListener >> testCaseStarted: aTestAnnouncement [ + self smtDynamicFinder installProxyFor: aTestAnnouncement testCase +] diff --git a/src/SmartTest/SmTTestingStrategy.class.st b/src/SmartTest/SmTTestingStrategy.class.st new file mode 100644 index 0000000..b30c9f6 --- /dev/null +++ b/src/SmartTest/SmTTestingStrategy.class.st @@ -0,0 +1,64 @@ +" +The testing strategy defines when the tests we've found will be run. +" +Class { + #name : #SmTTestingStrategy, + #superclass : #Object, + #instVars : [ + 'finder', + 'runner' + ], + #classInstVars : [ + 'queue', + 'researchProcess', + 'defaultSize' + ], + #category : 'SmartTest-Testing' +} + +{ #category : #protocol } +SmTTestingStrategy >> disable [ + "can be override" +] + +{ #category : #protocol } +SmTTestingStrategy >> enable [ + "can be override" +] + +{ #category : #'instance creation' } +SmTTestingStrategy >> findTestsForMethod: aCompiledMethod [ + self subclassResponsibility +] + +{ #category : #'instance creation' } +SmTTestingStrategy >> finder [ + ^ finder + +] + +{ #category : #'instance creation' } +SmTTestingStrategy >> finder: aSmTFinder [ + finder := aSmTFinder +] + +{ #category : #'instance creation' } +SmTTestingStrategy >> getMethodsFor: aCompiledMethod [ + ^ self getTestMethodFromCompiledTestMethod: (self finder methodsFor: aCompiledMethod) +] + +{ #category : #'instance creation' } +SmTTestingStrategy >> getTestMethodFromCompiledTestMethod: aCollectionOfCompiledMethod [ + ^ aCollectionOfCompiledMethod + collect: [ :aCompiledMethod | aCompiledMethod methodClass selector: aCompiledMethod selector ] +] + +{ #category : #'instance creation' } +SmTTestingStrategy >> runner [ + ^ runner +] + +{ #category : #'instance creation' } +SmTTestingStrategy >> runner: aSmTRunner [ + runner := aSmTRunner +] diff --git a/src/SmartTest/SmTTestingStrategyAlways.class.st b/src/SmartTest/SmTTestingStrategyAlways.class.st new file mode 100644 index 0000000..b7d0ba3 --- /dev/null +++ b/src/SmartTest/SmTTestingStrategyAlways.class.st @@ -0,0 +1,16 @@ +" +As soon as the tests are found. CORA run the test suite +" +Class { + #name : #SmTTestingStrategyAlways, + #superclass : #SmTTestingStrategy, + #category : 'SmartTest-Testing' +} + +{ #category : #'instance creation' } +SmTTestingStrategyAlways >> findTestsForMethod: aCompiledMethod [ + | tests | + tests := self getMethodsFor: aCompiledMethod. + self runner runCases: tests. + ^ tests +] diff --git a/src/SmartTest/SmTTestingStrategyEachModification.class.st b/src/SmartTest/SmTTestingStrategyEachModification.class.st new file mode 100644 index 0000000..faee9f7 --- /dev/null +++ b/src/SmartTest/SmTTestingStrategyEachModification.class.st @@ -0,0 +1,69 @@ +" +Each time the developer does a modification, CORA run the test suite +" +Class { + #name : #SmTTestingStrategyEachModification, + #superclass : #SmTTestingStrategy, + #instVars : [ + 'bag' + ], + #category : 'SmartTest-Testing' +} + +{ #category : #'instance creation' } +SmTTestingStrategyEachModification >> addToElementBag: anElement [ + self bag add: anElement +] + +{ #category : #'instance creation' } +SmTTestingStrategyEachModification >> bag [ + ^ bag +] + +{ #category : #protocol } +SmTTestingStrategyEachModification >> disable [ + super disable. + + SystemAnnouncer uniqueInstance unsubscribe: self +] + +{ #category : #protocol } +SmTTestingStrategyEachModification >> enable [ + super enable. + SystemAnnouncer uniqueInstance unsubscribe: self. + {(MethodModified -> #methodModified:). + (MethodAdded -> #methodAdded:)} + do: [ :pair | SystemAnnouncer uniqueInstance weak when: pair key send: pair value to: self ] +] + +{ #category : #'instance creation' } +SmTTestingStrategyEachModification >> findTestsForMethod: aCompiledMethod [ + | tests | + tests := self getMethodsFor: aCompiledMethod. + (self getElementFromBag: aCompiledMethod) + ifNotNil: [ self runner runCases: tests ]. + ^ tests +] + +{ #category : #'instance creation' } +SmTTestingStrategyEachModification >> getElementFromBag: anElement [ + "return nil if element absent. The object else" + + self bag remove: anElement ifAbsent: [ ^ nil ]. + ^ anElement +] + +{ #category : #initialization } +SmTTestingStrategyEachModification >> initialize [ + bag := Bag new +] + +{ #category : #'instance creation' } +SmTTestingStrategyEachModification >> methodAdded: anAnnouncement [ + self addToElementBag: anAnnouncement methodAdded +] + +{ #category : #'instance creation' } +SmTTestingStrategyEachModification >> methodModified: anAnnouncement [ + self addToElementBag: anAnnouncement newMethod +] diff --git a/src/SmartTest/SmTTestingStrategyFiveMinutes.class.st b/src/SmartTest/SmTTestingStrategyFiveMinutes.class.st new file mode 100644 index 0000000..41a3a28 --- /dev/null +++ b/src/SmartTest/SmTTestingStrategyFiveMinutes.class.st @@ -0,0 +1,28 @@ +" +Every 5 minutes, CORA run the tests which have been found in the last 5 minutes +" +Class { + #name : #SmTTestingStrategyFiveMinutes, + #superclass : #SmTTestingStrategy, + #category : 'SmartTest-Testing' +} + +{ #category : #protocol } +SmTTestingStrategyFiveMinutes >> disable [ + super disable. + SmTFivesMinutesCollector stop +] + +{ #category : #protocol } +SmTTestingStrategyFiveMinutes >> enable [ + super enable. + SmTFivesMinutesCollector start +] + +{ #category : #'instance creation' } +SmTTestingStrategyFiveMinutes >> findTestsForMethod: aCompiledMethod [ + | tests | + tests := self getMethodsFor: aCompiledMethod. + SmTFivesMinutesCollector addTestMethods: tests. + ^ tests +] diff --git a/src/SmartTest/SmTTestingStrategyNever.class.st b/src/SmartTest/SmTTestingStrategyNever.class.st new file mode 100644 index 0000000..23689b9 --- /dev/null +++ b/src/SmartTest/SmTTestingStrategyNever.class.st @@ -0,0 +1,13 @@ +" +CORA never run test automatically +" +Class { + #name : #SmTTestingStrategyNever, + #superclass : #SmTTestingStrategy, + #category : 'SmartTest-Testing' +} + +{ #category : #'instance creation' } +SmTTestingStrategyNever >> findTestsForMethod: aCompiledMethod [ + ^ self getMethodsFor: aCompiledMethod +] diff --git a/src/SmartTest/SmalltalkImage.extension.st b/src/SmartTest/SmalltalkImage.extension.st new file mode 100644 index 0000000..5a8d123 --- /dev/null +++ b/src/SmartTest/SmalltalkImage.extension.st @@ -0,0 +1,13 @@ +Extension { #name : #SmalltalkImage } + +{ #category : #'*SmartTest' } +SmalltalkImage >> allMethods [ + + ^ globals allClasses flatCollect: #methods +] + +{ #category : #'*SmartTest' } +SmalltalkImage >> allTestMethods [ + + ^(globals allClasses flatCollect: #methods) select: #isTestMethod +] diff --git a/src/SmartTest/SmartFinder.class.st b/src/SmartTest/SmartFinder.class.st new file mode 100644 index 0000000..89b08a5 --- /dev/null +++ b/src/SmartTest/SmartFinder.class.st @@ -0,0 +1,186 @@ +" +I'm the boss !!! + +I contain the instance of all the stuff the user needs. + +If you want to specify some strategy +use it more or less that way (here with the default values) + +SmartFinder new + cache: self cacheStrategy new; + filter: self filter new; + testRunner: self testRunner; + smtFinder: self smtFinder new; + testingStrategy: self testingStrategy new +" +Class { + #name : #SmartFinder, + #superclass : #Object, + #instVars : [ + 'filter', + 'testRunner', + 'testingStrategy', + 'smtFinder', + 'cacheStrategy', + 'shouldTryToFindTestForDynamic', + 'autoUpdateCache', + 'smtListener' + ], + #category : 'SmartTest-Core' +} + +{ #category : #accessing } +SmartFinder >> autoUpdateCache: aBoolean [ + self smtListener cacheStrategy: self cacheStrategy. + self smtListener smtDynamicFinder: self smtFinder. + self smtListener class activated: aBoolean +] + +{ #category : #api } +SmartFinder >> buildCacheFromTestSuite: aTestSuite [ + "Work only if you have selected a Dynamic strategy" + self smtFinder buildCacheFromTestSuite: aTestSuite +] + +{ #category : #accessing } +SmartFinder >> cacheStrategy [ + ^ cacheStrategy ifNil: [ cacheStrategy := SmTBasicCacheStrategy new cache: Dictionary new ] +] + +{ #category : #accessing } +SmartFinder >> cacheStrategy: aSmTCacheStrategy [ + | tmpCache | + tmpCache := self currentCache. + cacheStrategy := aSmTCacheStrategy. + cacheStrategy cache: tmpCache. + self smtFinder cache: cacheStrategy +] + +{ #category : #api } +SmartFinder >> clean [ + "Use before loosing my reference + I remove the listener" + self testingStrategy disable +] + +{ #category : #api } +SmartFinder >> currentCache [ + ^ self cacheStrategy currentCache +] + +{ #category : #accessing } +SmartFinder >> filter [ + ^ filter ifNil: [ filter := SmTDefaultPackagesFilter new ] +] + +{ #category : #accessing } +SmartFinder >> filter: aSmTDefaultPackagesFilter [ + filter := aSmTDefaultPackagesFilter. + self smtFinder filter: aSmTDefaultPackagesFilter +] + +{ #category : #api } +SmartFinder >> findTestsForMethod: aCompiledMethod [ + "This is the api for QA (use the testing strategy, the rule strategy etc.) + If you only want to find the tests, please consider using #researchTestsForMethod:" + + ^ self testingStrategy findTestsForMethod: aCompiledMethod +] + +{ #category : #initialization } +SmartFinder >> initialize [ + self shouldTryToFindTestForDynamic: false +] + +{ #category : #api } +SmartFinder >> researchTestsForMethod: aCompiledMethod [ + "If you only want to find the tests" + ^ self smtFinder methodsFor: aCompiledMethod. +] + +{ #category : #api } +SmartFinder >> resetCache [ + self cacheStrategy resetCache +] + +{ #category : #api } +SmartFinder >> searchTestsForASetUpMethod: aCompiledMethod [ + ^ self smtFinder searchTestsForASetUpMethod: aCompiledMethod. +] + +{ #category : #api } +SmartFinder >> searchTestsForATearDownMethod: aCompiledMethod [ + ^ self smtFinder searchTestsForATearDownMethod: aCompiledMethod +] + +{ #category : #api } +SmartFinder >> searchTestsForATestMethod: aCompiledMethod [ + ^ self smtFinder searchTestsForATestMethod: aCompiledMethod +] + +{ #category : #api } +SmartFinder >> setCacheValues: aDictionnary [ + self cacheStrategy cache: aDictionnary. +] + +{ #category : #accessing } +SmartFinder >> shouldTryToFindTestForDynamic [ + ^ shouldTryToFindTestForDynamic +] + +{ #category : #accessing } +SmartFinder >> shouldTryToFindTestForDynamic: aBoolean [ + shouldTryToFindTestForDynamic := aBoolean. + self smtFinder shouldTryToFindTestForDynamic: aBoolean +] + +{ #category : #accessing } +SmartFinder >> smtFinder [ + ^ smtFinder + ifNil: [ smtFinder := SmTSenderTestFinderStrategy new + filter: self filter; + cache: self cacheStrategy; + shouldTryToFindTestForDynamic: self shouldTryToFindTestForDynamic; + yourself ] +] + +{ #category : #accessing } +SmartFinder >> smtFinder: aSmTTestFinderStrategy [ + smtFinder := aSmTTestFinderStrategy. + smtFinder + filter: self filter; + cache: self cacheStrategy; + shouldTryToFindTestForDynamic: self shouldTryToFindTestForDynamic. + self testingStrategy finder: aSmTTestFinderStrategy +] + +{ #category : #accessing } +SmartFinder >> smtListener [ + ^ SmTTestListener uniqueInstance +] + +{ #category : #accessing } +SmartFinder >> testRunner [ + ^ testRunner ifNil: [ testRunner := SmTRunnerStrategySmart ] +] + +{ #category : #accessing } +SmartFinder >> testRunner: aSmTRunnerStrategy [ + testRunner := aSmTRunnerStrategy. + self testingStrategy runner: aSmTRunnerStrategy +] + +{ #category : #accessing } +SmartFinder >> testingStrategy [ + ^ testingStrategy ifNil: [ testingStrategy := SmTTestingStrategyEachModification new runner: self testRunner; finder: self smtFinder ] +] + +{ #category : #accessing } +SmartFinder >> testingStrategy: aSmTTestingStrategy [ + testingStrategy disable. + testingStrategy := aSmTTestingStrategy. + testingStrategy + runner: self testRunner; + finder: self smtFinder. + testingStrategy enable. +] diff --git a/src/SmartTest/TestAsserter.extension.st b/src/SmartTest/TestAsserter.extension.st new file mode 100644 index 0000000..6d5b614 --- /dev/null +++ b/src/SmartTest/TestAsserter.extension.st @@ -0,0 +1,6 @@ +Extension { #name : #TestAsserter } + +{ #category : #'*SmartTest' } +TestAsserter >> isTestSuite [ + ^ false +] diff --git a/src/SmartTest/TestCase.extension.st b/src/SmartTest/TestCase.extension.st new file mode 100644 index 0000000..7574eca --- /dev/null +++ b/src/SmartTest/TestCase.extension.st @@ -0,0 +1,40 @@ +Extension { #name : #TestCase } + +{ #category : #'*SmartTest' } +TestCase class >> allTestMethods [ + ^ self methods select: [:aCompiledMethod| + aCompiledMethod isTestMethod]. +] + +{ #category : #'*SmartTest' } +TestCase >> announce: anAnnouncementClass withResult: result [ + | event | + self shouldAnnounce + ifFalse: [ ^ self ]. + + event := anAnnouncementClass asAnnouncement. + event testCase: self. + event testSelector: testSelector. + event testResult: result. + self generalAnnouncer announce: event +] + +{ #category : #'*SmartTest' } +TestCase >> generalAnnouncer [ + ^ self class generalAnnouncer +] + +{ #category : #'*SmartTest' } +TestCase class >> generalAnnouncer [ + ^ SmTAnnouncer announcer +] + +{ #category : #'*SmartTest' } +TestCase >> methodReference [ + ^ RGMethodDefinition class: self class selector: self selector +] + +{ #category : #'*SmartTest' } +TestCase class >> shouldAnnounce [ + ^ SmTAnnouncer shouldAnnounce +] diff --git a/src/SmartTest/TestSuite.extension.st b/src/SmartTest/TestSuite.extension.st new file mode 100644 index 0000000..cfb8ed8 --- /dev/null +++ b/src/SmartTest/TestSuite.extension.st @@ -0,0 +1,17 @@ +Extension { #name : #TestSuite } + +{ #category : #'*SmartTest' } +TestSuite >> flatCollectTests [ + ^ tests + ifNil: [ ^ {} ] + ifNotNil: [ tests + flatCollect: [ :t | + t isTestSuite + ifTrue: [ t flatCollectTests ] + ifFalse: [ {t} ] ] ] +] + +{ #category : #'*SmartTest' } +TestSuite >> isTestSuite [ + ^ true +] diff --git a/src/SmartTest/package.st b/src/SmartTest/package.st new file mode 100644 index 0000000..b654fb5 --- /dev/null +++ b/src/SmartTest/package.st @@ -0,0 +1 @@ +Package { #name : #SmartTest } diff --git a/src/SmartTestDataOutsideP1.package/.filetree b/src/SmartTestDataOutsideP1.package/.filetree deleted file mode 100644 index 57a6797..0000000 --- a/src/SmartTestDataOutsideP1.package/.filetree +++ /dev/null @@ -1,5 +0,0 @@ -{ - "separateMethodMetaAndSource" : false, - "noMethodMetaData" : true, - "useCypressPropertiesFile" : true -} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageTestOutsideWithRefTest.class/instance/testRefToSmTClassModificationOnClassInsidePackageWithRef.st b/src/SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageTestOutsideWithRefTest.class/instance/testRefToSmTClassModificationOnClassInsidePackageWithRef.st deleted file mode 100644 index 3a45b24..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageTestOutsideWithRefTest.class/instance/testRefToSmTClassModificationOnClassInsidePackageWithRef.st +++ /dev/null @@ -1,3 +0,0 @@ -tests -testRefToSmTClassModificationOnClassInsidePackageWithRef -SmTClassModificationOnClassInsidePackageWithRef new. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageTestOutsideWithRefTest.class/properties.json b/src/SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageTestOutsideWithRefTest.class/properties.json deleted file mode 100644 index c378741..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageTestOutsideWithRefTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "eleonoreW 6/11/2018 11:21", - "super" : "TestCase", - "category" : "SmartTestDataOutsideP1-ModificationOnClass-Tests", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTClassModificationOnClassInsidePackageTestOutsideWithRefTest", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageWithRef.class/properties.json b/src/SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageWithRef.class/properties.json deleted file mode 100644 index c13622d..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageWithRef.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "eleonoreW 6/11/2018 11:48", - "super" : "Object", - "category" : "SmartTestDataOutsideP1-ModificationOnClass", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTClassModificationOnClassInsidePackageWithRef", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassModificationOnClassOutsidePackageWithRef.class/properties.json b/src/SmartTestDataOutsideP1.package/SmTClassModificationOnClassOutsidePackageWithRef.class/properties.json deleted file mode 100644 index cb02d99..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTClassModificationOnClassOutsidePackageWithRef.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "eleonoreW 6/11/2018 11:48", - "super" : "Object", - "category" : "SmartTestDataOutsideP1-ModificationOnClass", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTClassModificationOnClassOutsidePackageWithRef", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassModificationOnClassSimpleTestCase.class/README.md b/src/SmartTestDataOutsideP1.package/SmTClassModificationOnClassSimpleTestCase.class/README.md deleted file mode 100644 index 4fc56e1..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTClassModificationOnClassSimpleTestCase.class/README.md +++ /dev/null @@ -1,8 +0,0 @@ -Data for SmartTest tests on the testForClass:. - -Methods of this class have long name in order to be unique and explicit. -Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. - -We will use this that to assert that SmartTest behaves correctly when dealing with inherited methods ans class. - -This class is a subclass of TestCase and contains a test. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassModificationOnClassSimpleTestCase.class/instance/testModificationOnClassSimpleTestCase.st b/src/SmartTestDataOutsideP1.package/SmTClassModificationOnClassSimpleTestCase.class/instance/testModificationOnClassSimpleTestCase.st deleted file mode 100644 index 74de0bc..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTClassModificationOnClassSimpleTestCase.class/instance/testModificationOnClassSimpleTestCase.st +++ /dev/null @@ -1,3 +0,0 @@ -tests -testModificationOnClassSimpleTestCase -"The behaviour of this method is irrelevant." \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassModificationOnClassSimpleTestCase.class/properties.json b/src/SmartTestDataOutsideP1.package/SmTClassModificationOnClassSimpleTestCase.class/properties.json deleted file mode 100644 index f37e249..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTClassModificationOnClassSimpleTestCase.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "eleonoreW 6/11/2018 11:51", - "super" : "TestCase", - "category" : "SmartTestDataOutsideP1-ModificationOnClass-Tests", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTClassModificationOnClassSimpleTestCase", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1.class/README.md b/src/SmartTestDataOutsideP1.package/SmTClassP1.class/README.md deleted file mode 100644 index fbc8827..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTClassP1.class/README.md +++ /dev/null @@ -1,8 +0,0 @@ -Data for SmartTest tests on the filters (default, defaultClass, restricted package). - -Methods of this class have long name in order to be unique and explicit. -Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. - -In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). - -This class is not referenced anywhere (we used concatenation to be sure). diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1FirstLevelSendersInsidePackage.st b/src/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1FirstLevelSendersInsidePackage.st deleted file mode 100644 index 727219c..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1FirstLevelSendersInsidePackage.st +++ /dev/null @@ -1,5 +0,0 @@ -method1 -method1FirstLevelSendersInsidePackage - "Data for tests: method directly called by a test method from the same package" - -" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1FirstLevelSendersOutsidePackage.st b/src/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1FirstLevelSendersOutsidePackage.st deleted file mode 100644 index f5cdce7..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1FirstLevelSendersOutsidePackage.st +++ /dev/null @@ -1,5 +0,0 @@ -method1 -method1FirstLevelSendersOutsidePackage - "Data for tests: method directly called by a test method but not from the same package" - -" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1SecondLevelSendersInsidePackageWithTestInside.st b/src/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1SecondLevelSendersInsidePackageWithTestInside.st deleted file mode 100644 index a1c17b3..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1SecondLevelSendersInsidePackageWithTestInside.st +++ /dev/null @@ -1,5 +0,0 @@ -method1 -method1SecondLevelSendersInsidePackageWithTestInside - "Data for tests: method called by another method , which itself is called by a test from the same package" - -" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1SecondLevelSendersInsidePackageWithTestOutside.st b/src/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1SecondLevelSendersInsidePackageWithTestOutside.st deleted file mode 100644 index 313a287..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1SecondLevelSendersInsidePackageWithTestOutside.st +++ /dev/null @@ -1,5 +0,0 @@ -method1 -method1SecondLevelSendersInsidePackageWithTestOutside - "Data for tests: method called by another method from the same package, which itself is called by a test not from the same package" - -" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1SecondLevelSendersOutsidePackageWithTestInside.st b/src/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1SecondLevelSendersOutsidePackageWithTestInside.st deleted file mode 100644 index c7ab4cf..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1SecondLevelSendersOutsidePackageWithTestInside.st +++ /dev/null @@ -1,5 +0,0 @@ -method1 -method1SecondLevelSendersOutsidePackageWithTestInside - "Data for tests: method called by another method not from the same package, which itself is called by a test from the same package" - -" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1SecondLevelSendersOutsidePackageWithTestOutside.st b/src/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1SecondLevelSendersOutsidePackageWithTestOutside.st deleted file mode 100644 index 258360d..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1SecondLevelSendersOutsidePackageWithTestOutside.st +++ /dev/null @@ -1,5 +0,0 @@ -method1 -method1SecondLevelSendersOutsidePackageWithTestOutside - "Data for tests: method called by another method not from the same package, which itself is called by a test not from the same package" - -" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method2SecondLevelSendersInsidePackageWithTestInside.st b/src/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method2SecondLevelSendersInsidePackageWithTestInside.st deleted file mode 100644 index 8820681..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method2SecondLevelSendersInsidePackageWithTestInside.st +++ /dev/null @@ -1,6 +0,0 @@ -method2 -method2SecondLevelSendersInsidePackageWithTestInside - "Data for tests: this method calls a method from the same package, - this method is called by a test from the same package" - "In order to be sure that this method does not reference any class, we don't use directly the class but go through their name with a concatenation and then transform them into class" -^ ('SmTClass','P1') asClass new method1SecondLevelSendersInsidePackageWithTestInside. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method2SecondLevelSendersInsidePackageWithTestOutside.st b/src/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method2SecondLevelSendersInsidePackageWithTestOutside.st deleted file mode 100644 index 3b52c37..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method2SecondLevelSendersInsidePackageWithTestOutside.st +++ /dev/null @@ -1,6 +0,0 @@ -method2 -method2SecondLevelSendersInsidePackageWithTestOutside - "Data for tests: this method calls a method from the same package, - this method is called by a test not from the same package" - "In order to be sure that this method does not reference any class, we don't use directly the class but go through their name with a concatenation and then transform them into class" -^('SmTClass','P1') asClass new method1SecondLevelSendersInsidePackageWithTestOutside. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1.class/properties.json b/src/SmartTestDataOutsideP1.package/SmTClassP1.class/properties.json deleted file mode 100644 index a55ae1c..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTClassP1.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/11/2018 13:40", - "super" : "Object", - "category" : "SmartTestDataOutsideP1-ModificationOnMethod-WithoutRef", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTClassP1", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersInsideWithRefInMethod.class/instance/method1FirstLevelSendersInsideWithRefInMethod.st b/src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersInsideWithRefInMethod.class/instance/method1FirstLevelSendersInsideWithRefInMethod.st deleted file mode 100644 index 492989f..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersInsideWithRefInMethod.class/instance/method1FirstLevelSendersInsideWithRefInMethod.st +++ /dev/null @@ -1,5 +0,0 @@ -method1 -method1FirstLevelSendersInsideWithRefInMethod -"Data for tests: method directly called by a test method not from the same package" - -" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersInsideWithRefInMethod.class/properties.json b/src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersInsideWithRefInMethod.class/properties.json deleted file mode 100644 index 1be1b61..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersInsideWithRefInMethod.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "eleonoreW 6/11/2018 14:22", - "super" : "Object", - "category" : "SmartTestDataOutsideP1-ModificationOnMethod-FirstLevelWithRef", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTClassP1FirstLevelSendersInsideWithRefInMethod", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class/instance/method1FirstLevelSendersWithRefInClass.st b/src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class/instance/method1FirstLevelSendersWithRefInClass.st deleted file mode 100644 index 0867a5c..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class/instance/method1FirstLevelSendersWithRefInClass.st +++ /dev/null @@ -1,5 +0,0 @@ -method1 -method1FirstLevelSendersWithRefInClass -"Data for tests: method directly called by a test method not from the same package" - -" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class/properties.json b/src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class/properties.json deleted file mode 100644 index 8fa57df..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "eleonoreW 6/11/2018 09:53", - "super" : "Object", - "category" : "SmartTestDataOutsideP1-ModificationOnMethod-FirstLevelWithRef", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTClassP1FirstLevelSendersOutsideWithRefInClass", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class/instance/method1FirstLevelSendersWithRefInMethod.st b/src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class/instance/method1FirstLevelSendersWithRefInMethod.st deleted file mode 100644 index 075633d..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class/instance/method1FirstLevelSendersWithRefInMethod.st +++ /dev/null @@ -1,5 +0,0 @@ -method1 -method1FirstLevelSendersWithRefInMethod -"Data for tests: method directly called by a test method not from the same package" - -" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class/properties.json b/src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class/properties.json deleted file mode 100644 index aca6399..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "eleonoreW 6/11/2018 09:56", - "super" : "Object", - "category" : "SmartTestDataOutsideP1-ModificationOnMethod-FirstLevelWithRef", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTClassP1FirstLevelSendersOutsideWithRefInMethod", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class/instance/method1FirstLevelSendersWithRefInPackage.st b/src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class/instance/method1FirstLevelSendersWithRefInPackage.st deleted file mode 100644 index 50a0e0b..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class/instance/method1FirstLevelSendersWithRefInPackage.st +++ /dev/null @@ -1,5 +0,0 @@ -method1 -method1FirstLevelSendersWithRefInPackage -"Data for tests: method directly called by a test method not from the same package" - -" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class/properties.json b/src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class/properties.json deleted file mode 100644 index 41396ce..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "eleonoreW 6/11/2018 09:55", - "super" : "Object", - "category" : "SmartTestDataOutsideP1-ModificationOnMethod-FirstLevelWithRef", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTClassP1FirstLevelSendersOutsideWithRefInPackage", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/README.md b/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/README.md deleted file mode 100644 index e222370..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/README.md +++ /dev/null @@ -1,8 +0,0 @@ -Data for SmartTest tests on the testForAnInstanceVariable:. - -Methods of this class have long name in order to be unique and explicit. -Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. - -We will use this that to assert that SmartTest behaves correctly when dealing with modifications on instance variables. - -It contains different instance variables that are used in tests. Each variable has only one test that calls them. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/instVarModificationOnVariableInsidePackage..st b/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/instVarModificationOnVariableInsidePackage..st deleted file mode 100644 index 1dadc5b..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/instVarModificationOnVariableInsidePackage..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -instVarModificationOnVariableInsidePackage: anObject - instVarModificationOnVariableInsidePackage := anObject \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/instVarModificationOnVariableInsidePackage.st b/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/instVarModificationOnVariableInsidePackage.st deleted file mode 100644 index 54e008f..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/instVarModificationOnVariableInsidePackage.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -instVarModificationOnVariableInsidePackage - ^ instVarModificationOnVariableInsidePackage \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/instVarModificationOnVariableOutsidePackage..st b/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/instVarModificationOnVariableOutsidePackage..st deleted file mode 100644 index fc92231..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/instVarModificationOnVariableOutsidePackage..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -instVarModificationOnVariableOutsidePackage: anObject - instVarModificationOnVariableOutsidePackage := anObject \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/instVarModificationOnVariableOutsidePackage.st b/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/instVarModificationOnVariableOutsidePackage.st deleted file mode 100644 index 812e85d..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/instVarModificationOnVariableOutsidePackage.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -instVarModificationOnVariableOutsidePackage - ^ instVarModificationOnVariableOutsidePackage \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/properties.json b/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/properties.json deleted file mode 100644 index 0ae4d3f..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/properties.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "commentStamp" : "eleonoreW 6/11/2018 10:31", - "super" : "Object", - "category" : "SmartTestDataOutsideP1-ModificationOnVariable", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "instVarModificationOnVariableInsidePackage", - "instVarModificationOnVariableOutsidePackage" - ], - "name" : "SmTClassP1ModificationOnVariable", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsideClassTest.class/README.md b/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsideClassTest.class/README.md deleted file mode 100644 index 4c281fe..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsideClassTest.class/README.md +++ /dev/null @@ -1,8 +0,0 @@ -Data for SmartTest tests on the testForAnInstanceVariable:. - -Methods of this class have long name in order to be unique and explicit. -Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. - -We will use this that to assert that SmartTest behaves correctly when dealing with modifications on instance variables. - -This class has an instance variable used inside the class in a test. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsideClassTest.class/instance/instVarModificationOnVariableInsideClass..st b/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsideClassTest.class/instance/instVarModificationOnVariableInsideClass..st deleted file mode 100644 index 57981dc..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsideClassTest.class/instance/instVarModificationOnVariableInsideClass..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -instVarModificationOnVariableInsideClass: anObject - instVarModificationOnVariableInsideClass := anObject \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsideClassTest.class/instance/instVarModificationOnVariableInsideClass.st b/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsideClassTest.class/instance/instVarModificationOnVariableInsideClass.st deleted file mode 100644 index 2062647..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsideClassTest.class/instance/instVarModificationOnVariableInsideClass.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -instVarModificationOnVariableInsideClass - ^ instVarModificationOnVariableInsideClass \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsideClassTest.class/instance/testModificationOnVariableInsideClass.st b/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsideClassTest.class/instance/testModificationOnVariableInsideClass.st deleted file mode 100644 index f5e3b50..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsideClassTest.class/instance/testModificationOnVariableInsideClass.st +++ /dev/null @@ -1,5 +0,0 @@ -tests -testModificationOnVariableInsideClass -|anObject| -anObject := ('SmTClassP1ModificationOn','VariableInsideClassTest') asClass new. -anObject instVarModificationOnVariableInsideClass \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsideClassTest.class/properties.json b/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsideClassTest.class/properties.json deleted file mode 100644 index fc5298d..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsideClassTest.class/properties.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "commentStamp" : "eleonoreW 6/11/2018 10:27", - "super" : "TestCase", - "category" : "SmartTestDataOutsideP1-ModificationOnVariable-Tests", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "instVarModificationOnVariableInsideClass" - ], - "name" : "SmTClassP1ModificationOnVariableInsideClassTest", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsidePackageTest.class/README.md b/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsidePackageTest.class/README.md deleted file mode 100644 index 92ec6c1..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsidePackageTest.class/README.md +++ /dev/null @@ -1,6 +0,0 @@ -Data for SmartTest tests on the testForAnInstanceVariable:. - -Methods of this class have long name in order to be unique and explicit. -Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. - -We will use this that to assert that SmartTest behaves correctly when dealing with modifications on instance variables. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsidePackageTest.class/instance/testModificationOnVariableInsidePackage.st b/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsidePackageTest.class/instance/testModificationOnVariableInsidePackage.st deleted file mode 100644 index 5a76e2b..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsidePackageTest.class/instance/testModificationOnVariableInsidePackage.st +++ /dev/null @@ -1,5 +0,0 @@ -tests -testModificationOnVariableInsidePackage -|anObject| -anObject := ('SmTClassP1','ModificationOnVariable')asClass new. -anObject instVarModificationOnVariableInsidePackage \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsidePackageTest.class/properties.json b/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsidePackageTest.class/properties.json deleted file mode 100644 index 4654731..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsidePackageTest.class/properties.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "commentStamp" : "eleonoreW 6/1/2018 14:13", - "super" : "TestCase", - "category" : "SmartTestDataOutsideP1-ModificationOnVariable-Tests", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "instVarModificationOnVariable" - ], - "name" : "SmTClassP1ModificationOnVariableInsidePackageTest", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class/instance/method1SecondLevelSendersInsideTestOutsideWithRefInClass.st b/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class/instance/method1SecondLevelSendersInsideTestOutsideWithRefInClass.st deleted file mode 100644 index 900a979..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class/instance/method1SecondLevelSendersInsideTestOutsideWithRefInClass.st +++ /dev/null @@ -1,5 +0,0 @@ -method1 -method1SecondLevelSendersInsideTestOutsideWithRefInClass -"Data for tests: method directly called by a test method not from the same package" - -" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class/instance/method2SecondLevelSendersInsideTestOutsideWithRefInClass.st b/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class/instance/method2SecondLevelSendersInsideTestOutsideWithRefInClass.st deleted file mode 100644 index fac6880..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class/instance/method2SecondLevelSendersInsideTestOutsideWithRefInClass.st +++ /dev/null @@ -1,5 +0,0 @@ -method2 -method2SecondLevelSendersInsideTestOutsideWithRefInClass -"Data for tests: method directly called by a test method not from the same package" - ^ self method1SecondLevelSendersInsideTestOutsideWithRefInClass -" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class/properties.json b/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class/properties.json deleted file mode 100644 index 97d8117..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/16/2018 16:22", - "super" : "Object", - "category" : "SmartTestDataOutsideP1-ModificationOnMethod-SenderInTestOutWithRef", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class/README.md b/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class/README.md deleted file mode 100644 index 552df47..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class/README.md +++ /dev/null @@ -1,10 +0,0 @@ -Data for SmartTest tests on the DefaultClassPackage filter. - -Methods of this class have long name in order to be unique and explicit. -Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. - -In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). - -In this class, there is the modified method and its first level sender (which contains 'method2' in it's name). In another package, there is the second level sender of the modified method (which contains 'testmethod2' in it's name). - -This class is referenced in the package SmartTestDataOutsideP2inside the same method as testMethod2. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class/instance/method1SecondLevelSendersInsideTestOutsideWithRefInMethod.st b/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class/instance/method1SecondLevelSendersInsideTestOutsideWithRefInMethod.st deleted file mode 100644 index 4b235ea..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class/instance/method1SecondLevelSendersInsideTestOutsideWithRefInMethod.st +++ /dev/null @@ -1,5 +0,0 @@ -method1 -method1SecondLevelSendersInsideTestOutsideWithRefInMethod -"Data for tests: method directly called by a test method not from the same package" - -" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class/instance/method2SecondLevelSendersInsideTestOutsideWithRefInMethod.st b/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class/instance/method2SecondLevelSendersInsideTestOutsideWithRefInMethod.st deleted file mode 100644 index 229e665..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class/instance/method2SecondLevelSendersInsideTestOutsideWithRefInMethod.st +++ /dev/null @@ -1,5 +0,0 @@ -method2 -method2SecondLevelSendersInsideTestOutsideWithRefInMethod -"Data for tests: method directly called by a test method not from the same package" - ^ self method1SecondLevelSendersInsideTestOutsideWithRefInMethod -" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class/properties.json b/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class/properties.json deleted file mode 100644 index 50c4ab4..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/16/2018 16:22", - "super" : "Object", - "category" : "SmartTestDataOutsideP1-ModificationOnMethod-SenderInTestOutWithRef", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class/instance/method1SecondLevelSendersInsideTestOutsideWithRefInPackage.st b/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class/instance/method1SecondLevelSendersInsideTestOutsideWithRefInPackage.st deleted file mode 100644 index e14fd75..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class/instance/method1SecondLevelSendersInsideTestOutsideWithRefInPackage.st +++ /dev/null @@ -1,5 +0,0 @@ -method1 -method1SecondLevelSendersInsideTestOutsideWithRefInPackage -"Data for tests: method directly called by a test method not from the same package" - -" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class/instance/method2SecondLevelSendersInsideTestOutsideWithRefInPackage.st b/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class/instance/method2SecondLevelSendersInsideTestOutsideWithRefInPackage.st deleted file mode 100644 index d5c9f39..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class/instance/method2SecondLevelSendersInsideTestOutsideWithRefInPackage.st +++ /dev/null @@ -1,5 +0,0 @@ -method2 -method2SecondLevelSendersInsideTestOutsideWithRefInPackage -"Data for tests: method directly called by a test method not from the same package" - ^ self method1SecondLevelSendersInsideTestOutsideWithRefInPackage -" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class/properties.json b/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class/properties.json deleted file mode 100644 index 13a15fb..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/16/2018 16:22", - "super" : "Object", - "category" : "SmartTestDataOutsideP1-ModificationOnMethod-SenderInTestOutWithRef", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.class/instance/method1SecondLevelSendersOutsideTestInsideWithRefInClass.st b/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.class/instance/method1SecondLevelSendersOutsideTestInsideWithRefInClass.st deleted file mode 100644 index 2c8364e..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.class/instance/method1SecondLevelSendersOutsideTestInsideWithRefInClass.st +++ /dev/null @@ -1,5 +0,0 @@ -method1 -method1SecondLevelSendersOutsideTestInsideWithRefInClass -"Data for tests: method directly called by a test method not from the same package" - -" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.class/properties.json b/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.class/properties.json deleted file mode 100644 index 1f116dc..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/16/2018 16:22", - "super" : "Object", - "category" : "SmartTestDataOutsideP1-ModificationOnMethod-SenderOutTestInWithRef", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class/instance/method1SecondLevelSendersOutsideTestInsideWithRefInMethod.st b/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class/instance/method1SecondLevelSendersOutsideTestInsideWithRefInMethod.st deleted file mode 100644 index c1eedc0..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class/instance/method1SecondLevelSendersOutsideTestInsideWithRefInMethod.st +++ /dev/null @@ -1,5 +0,0 @@ -method1 -method1SecondLevelSendersOutsideTestInsideWithRefInMethod -"Data for tests: method directly called by a test method not from the same package" - -" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class/properties.json b/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class/properties.json deleted file mode 100644 index f612c90..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/16/2018 16:22", - "super" : "Object", - "category" : "SmartTestDataOutsideP1-ModificationOnMethod-SenderOutTestInWithRef", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.class/instance/method1SecondLevelSendersOutsideTestInsideWithRefInPackage.st b/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.class/instance/method1SecondLevelSendersOutsideTestInsideWithRefInPackage.st deleted file mode 100644 index ab2d54a..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.class/instance/method1SecondLevelSendersOutsideTestInsideWithRefInPackage.st +++ /dev/null @@ -1,5 +0,0 @@ -method1 -method1SecondLevelSendersOutsideTestInsideWithRefInPackage -"Data for tests: method directly called by a test method not from the same package" - -" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.class/properties.json b/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.class/properties.json deleted file mode 100644 index c2a2998..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/16/2018 16:22", - "super" : "Object", - "category" : "SmartTestDataOutsideP1-ModificationOnMethod-SenderOutTestInWithRef", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/instance/method1SecondLevelSendersOutsideTestOutsideWithRefInMethod.st b/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/instance/method1SecondLevelSendersOutsideTestOutsideWithRefInMethod.st deleted file mode 100644 index 35b0bf0..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/instance/method1SecondLevelSendersOutsideTestOutsideWithRefInMethod.st +++ /dev/null @@ -1,5 +0,0 @@ -method1 -method1SecondLevelSendersOutsideTestOutsideWithRefInMethod -"Data for tests: method called by a method not from the same package" - -" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/properties.json b/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/properties.json deleted file mode 100644 index f009d87..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/17/2018 10:51", - "super" : "Object", - "category" : "SmartTestDataOutsideP1-ModificationOnMethod-SenderOutTestOutWithRef", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassTestP1.class/README.md b/src/SmartTestDataOutsideP1.package/SmTClassTestP1.class/README.md deleted file mode 100644 index 94f49e6..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTClassTestP1.class/README.md +++ /dev/null @@ -1,8 +0,0 @@ -Data for SmartTest tests on the filters (default, defaultClass, restricted package). - -Methods of this class have long name in order to be unique and explicit. -Being unique, the senders of each method are controlled and consequently the tests are independent the one from the others. - -In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). - -If the name of the test contains 'method2', the test use the method method2, if the test contains 'method1', the test directly uses the modified method. diff --git a/src/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testExtensionMethod1FirstLevelSendersInside.st b/src/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testExtensionMethod1FirstLevelSendersInside.st deleted file mode 100644 index caf4b9c..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testExtensionMethod1FirstLevelSendersInside.st +++ /dev/null @@ -1,3 +0,0 @@ -testMethod1 -testExtensionMethod1FirstLevelSendersInside -SmTExtensionP2Test >> #extensionMethod1FirstLevelSendersInside \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod1FirstLevelSendersInsidePackage.st b/src/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod1FirstLevelSendersInsidePackage.st deleted file mode 100644 index 84131b1..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod1FirstLevelSendersInsidePackage.st +++ /dev/null @@ -1,5 +0,0 @@ -testMethod1 -testMethod1FirstLevelSendersInsidePackage -"Data for tests: this method calls directly a method from the same package." -"In order to be sure that this method does not reference any class, we don't use directly the class but go through their name with a concatenation and then transform them into class" - ^ ('SmTClass','P1') asClass new method1FirstLevelSendersInsidePackage. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersInsidePackageWithTestInside.st b/src/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersInsidePackageWithTestInside.st deleted file mode 100644 index 9d3f99f..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersInsidePackageWithTestInside.st +++ /dev/null @@ -1,4 +0,0 @@ -testMethod2 -testMethod2SecondLevelSendersInsidePackageWithTestInside -"In order to be sure that this method does not reference any class, we don't use directly the class but go through their name with a concatenation and then transform them into class" - ^ ('SmTClass','P1') asClass new method2SecondLevelSendersInsidePackageWithTestInside. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersOutsidePackageWithTestInside.st b/src/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersOutsidePackageWithTestInside.st deleted file mode 100644 index 3893f88..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersOutsidePackageWithTestInside.st +++ /dev/null @@ -1,4 +0,0 @@ -testMethod2 -testMethod2SecondLevelSendersOutsidePackageWithTestInside -"In order to be sure that this method does not reference any class, we don't use directly the class but go through their name with a concatenation and then transform them into class" - ^ ('SmTClass','P2') asClass new method2SecondLevelSendersOutsidePackageWithTestInside. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInClass.st b/src/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInClass.st deleted file mode 100644 index 4c219ca..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInClass.st +++ /dev/null @@ -1,5 +0,0 @@ -testMethod2 -testMethod2SecondLevelSendersOutsideTestInsideWithRefInClass -"Data for tests: method directly called by a test method not from the same package" - ^('SmTClassP2SecondLevelSendersOutsideTestInsideWithRefIn','Class') asClass new method2SecondLevelSendersOutsideTestInsideWithRefInClass -" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInMethod.st b/src/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInMethod.st deleted file mode 100644 index a18ce1a..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInMethod.st +++ /dev/null @@ -1,5 +0,0 @@ -testMethod2 -testMethod2SecondLevelSendersOutsideTestInsideWithRefInMethod -"Data for tests: method directly called by a test method not from the same package" - ^('SmTClassP2SecondLevelSendersOutsideTestInsideWithRefIn','Method') asClass new method2SecondLevelSendersOutsideTestInsideWithRefInMethod -" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInPackage.st b/src/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInPackage.st deleted file mode 100644 index 4678b11..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInPackage.st +++ /dev/null @@ -1,5 +0,0 @@ -testMethod2 -testMethod2SecondLevelSendersOutsideTestInsideWithRefInPackage -"Data for tests: method directly called by a test method not from the same package" - ^('SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage') asClass new method2SecondLevelSendersOutsideTestInsideWithRefInPackage -" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassTestP1.class/properties.json b/src/SmartTestDataOutsideP1.package/SmTClassTestP1.class/properties.json deleted file mode 100644 index 9a8461c..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTClassTestP1.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/11/2018 11:54", - "super" : "TestCase", - "category" : "SmartTestDataOutsideP1-ModificationOnMethod-Tests", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTClassTestP1", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTExtensionP1.class/instance/extensionMethod1SecondLevelSenders.st b/src/SmartTestDataOutsideP1.package/SmTExtensionP1.class/instance/extensionMethod1SecondLevelSenders.st deleted file mode 100644 index c1ee20e..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTExtensionP1.class/instance/extensionMethod1SecondLevelSenders.st +++ /dev/null @@ -1,2 +0,0 @@ -as yet unclassified -extensionMethod1SecondLevelSenders \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTExtensionP1.class/properties.json b/src/SmartTestDataOutsideP1.package/SmTExtensionP1.class/properties.json deleted file mode 100644 index 3911250..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTExtensionP1.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "eleonoreW 6/11/2018 10:56", - "super" : "Object", - "category" : "SmartTestDataOutsideP1-ModificationOnMethod-SenderExtensionMethod", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTExtensionP1", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTExtensionP2Test.extension/instance/extensionMethod1FirstLevelSendersInside.st b/src/SmartTestDataOutsideP1.package/SmTExtensionP2Test.extension/instance/extensionMethod1FirstLevelSendersInside.st deleted file mode 100644 index e004f83..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTExtensionP2Test.extension/instance/extensionMethod1FirstLevelSendersInside.st +++ /dev/null @@ -1,3 +0,0 @@ -*SmartTestDataOutsideP1 -extensionMethod1FirstLevelSendersInside -"an extension" \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTExtensionP2Test.extension/instance/extensionMethod1FirstLevelSendersOutside.st b/src/SmartTestDataOutsideP1.package/SmTExtensionP2Test.extension/instance/extensionMethod1FirstLevelSendersOutside.st deleted file mode 100644 index aeaa7a9..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTExtensionP2Test.extension/instance/extensionMethod1FirstLevelSendersOutside.st +++ /dev/null @@ -1,3 +0,0 @@ -*SmartTestDataOutsideP1 -extensionMethod1FirstLevelSendersOutside -"an extension" \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTExtensionP2Test.extension/properties.json b/src/SmartTestDataOutsideP1.package/SmTExtensionP2Test.extension/properties.json deleted file mode 100644 index bf6e127..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTExtensionP2Test.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "SmTExtensionP2Test" -} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTExtensionP3.extension/instance/extensionMethod2SecondLevelSenders.st b/src/SmartTestDataOutsideP1.package/SmTExtensionP3.extension/instance/extensionMethod2SecondLevelSenders.st deleted file mode 100644 index 038d501..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTExtensionP3.extension/instance/extensionMethod2SecondLevelSenders.st +++ /dev/null @@ -1,4 +0,0 @@ -*SmartTestDataOutsideP1 -extensionMethod2SecondLevelSenders -"an extension" -('SmT','ExtensionP1') asClass >> #extensionMethod1SecondLevelSenders \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTExtensionP3.extension/properties.json b/src/SmartTestDataOutsideP1.package/SmTExtensionP3.extension/properties.json deleted file mode 100644 index 3d521a1..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTExtensionP3.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "SmTExtensionP3" -} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/README.md b/src/SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/README.md deleted file mode 100644 index 13cf63b..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/README.md +++ /dev/null @@ -1,8 +0,0 @@ -Data for SmartTest tests on the testForClass:. - -Methods of this class have long name in order to be unique and explicit. -Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. - -We will use this that to assert that SmartTest behaves correctly when dealing with inherited methods ans class. - -This class is abstract and has one test, the subclasses will herit this test. The first subclass redefines this test ("SmTP1ClassTestSubClassRedefinesMethod") and the other doesn't ("SmTP1ClassTestSubClassDoesntRedefineMethod"). \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/class/isAbstract.st b/src/SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/class/isAbstract.st deleted file mode 100644 index 5ec8231..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/class/isAbstract.st +++ /dev/null @@ -1,4 +0,0 @@ -testing -isAbstract - - ^ self == SmTP1ClassTestAbstractTestCase \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/instance/testModificationOnClassAbstractTestCase.st b/src/SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/instance/testModificationOnClassAbstractTestCase.st deleted file mode 100644 index fefab3c..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/instance/testModificationOnClassAbstractTestCase.st +++ /dev/null @@ -1,3 +0,0 @@ -tests -testModificationOnClassAbstractTestCase -"the behaviour of this test is irrelevant" \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/properties.json b/src/SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/properties.json deleted file mode 100644 index a87f9a8..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "eleonoreW 6/11/2018 10:36", - "super" : "TestCase", - "category" : "SmartTestDataOutsideP1-ModificationOnClass-Tests", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTP1ClassTestAbstractTestCase", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTP1ClassTestFirstLevelSendersInsideWithRefInMethod.class/instance/testMethod1FirstLevelSendersInsideWithRefInMethod.st b/src/SmartTestDataOutsideP1.package/SmTP1ClassTestFirstLevelSendersInsideWithRefInMethod.class/instance/testMethod1FirstLevelSendersInsideWithRefInMethod.st deleted file mode 100644 index 3553715..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTP1ClassTestFirstLevelSendersInsideWithRefInMethod.class/instance/testMethod1FirstLevelSendersInsideWithRefInMethod.st +++ /dev/null @@ -1,3 +0,0 @@ -tests -testMethod1FirstLevelSendersInsideWithRefInMethod -SmTClassP1FirstLevelSendersInsideWithRefInMethod >> #method1FirstLevelSendersInsideWithRefInMethod \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTP1ClassTestFirstLevelSendersInsideWithRefInMethod.class/properties.json b/src/SmartTestDataOutsideP1.package/SmTP1ClassTestFirstLevelSendersInsideWithRefInMethod.class/properties.json deleted file mode 100644 index 5e1e701..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTP1ClassTestFirstLevelSendersInsideWithRefInMethod.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "eleonoreW 6/11/2018 14:29", - "super" : "TestCase", - "category" : "SmartTestDataOutsideP1-ModificationOnMethod-Tests", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTP1ClassTestFirstLevelSendersInsideWithRefInMethod", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTP1ClassTestSubClassDoesntRedefineMethod.class/properties.json b/src/SmartTestDataOutsideP1.package/SmTP1ClassTestSubClassDoesntRedefineMethod.class/properties.json deleted file mode 100644 index 1676777..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTP1ClassTestSubClassDoesntRedefineMethod.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "eleonoreW 6/11/2018 10:38", - "super" : "SmTP1ClassTestAbstractTestCase", - "category" : "SmartTestDataOutsideP1-ModificationOnClass-Tests", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTP1ClassTestSubClassDoesntRedefineMethod", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTP1ClassTestSubclassRedefinesMethod.class/instance/testModificationOnClassAbstractTestCase.st b/src/SmartTestDataOutsideP1.package/SmTP1ClassTestSubclassRedefinesMethod.class/instance/testModificationOnClassAbstractTestCase.st deleted file mode 100644 index d7007cf..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTP1ClassTestSubclassRedefinesMethod.class/instance/testModificationOnClassAbstractTestCase.st +++ /dev/null @@ -1,3 +0,0 @@ -tests -testModificationOnClassAbstractTestCase -^super testModificationOnClassAbstractTestCase. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTP1ClassTestSubclassRedefinesMethod.class/properties.json b/src/SmartTestDataOutsideP1.package/SmTP1ClassTestSubclassRedefinesMethod.class/properties.json deleted file mode 100644 index 00da709..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTP1ClassTestSubclassRedefinesMethod.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "eleonoreW 6/11/2018 10:38", - "super" : "SmTP1ClassTestAbstractTestCase", - "category" : "SmartTestDataOutsideP1-ModificationOnClass-Tests", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTP1ClassTestSubclassRedefinesMethod", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTP1Inheritance.class/instance/method1Inheritance.st b/src/SmartTestDataOutsideP1.package/SmTP1Inheritance.class/instance/method1Inheritance.st deleted file mode 100644 index 45390f1..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTP1Inheritance.class/instance/method1Inheritance.st +++ /dev/null @@ -1,3 +0,0 @@ -method1 -method1Inheritance -"The behaviour of this method is irrelevant." \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTP1Inheritance.class/properties.json b/src/SmartTestDataOutsideP1.package/SmTP1Inheritance.class/properties.json deleted file mode 100644 index cf0f742..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTP1Inheritance.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "eleonoreW 6/11/2018 09:57", - "super" : "Object", - "category" : "SmartTestDataOutsideP1-ModificationOnMethod-Inheritance", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTP1Inheritance", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass1Test.class/README.md b/src/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass1Test.class/README.md deleted file mode 100644 index c67e3af..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass1Test.class/README.md +++ /dev/null @@ -1,6 +0,0 @@ -Data for SmartTest tests on the filters (default, defaultClass, restricted package). - -Methods of this class have long name in order to be unique and explicit. -Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. - -We will use this that to assert that SmartTest behaves correctly when dealing with inherited methods. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass1Test.class/instance/testMethod1Inheritance.st b/src/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass1Test.class/instance/testMethod1Inheritance.st deleted file mode 100644 index 67bfdbc..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass1Test.class/instance/testMethod1Inheritance.st +++ /dev/null @@ -1,4 +0,0 @@ -tests -testMethod1Inheritance - super testMethod1Inheritance. - "The behaviour of this test is irrelevant". \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass1Test.class/properties.json b/src/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass1Test.class/properties.json deleted file mode 100644 index ff62c87..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass1Test.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/17/2018 11:19", - "super" : "SmTP1InheritanceTest", - "category" : "SmartTestDataOutsideP1-ModificationOnMethod-Tests", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTP1InheritanceSubClass1Test", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass2Test.class/README.md b/src/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass2Test.class/README.md deleted file mode 100644 index 89acbb1..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass2Test.class/README.md +++ /dev/null @@ -1,3 +0,0 @@ -method1Inheritance -"The behaviour of this method is irrelevant" -1. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass2Test.class/properties.json b/src/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass2Test.class/properties.json deleted file mode 100644 index 040986f..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass2Test.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/17/2018 11:51", - "super" : "SmTP1InheritanceTest", - "category" : "SmartTestDataOutsideP1-ModificationOnMethod-Tests", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTP1InheritanceSubClass2Test", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTP1InheritanceTest.class/README.md b/src/SmartTestDataOutsideP1.package/SmTP1InheritanceTest.class/README.md deleted file mode 100644 index c67e3af..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTP1InheritanceTest.class/README.md +++ /dev/null @@ -1,6 +0,0 @@ -Data for SmartTest tests on the filters (default, defaultClass, restricted package). - -Methods of this class have long name in order to be unique and explicit. -Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. - -We will use this that to assert that SmartTest behaves correctly when dealing with inherited methods. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTP1InheritanceTest.class/class/isAbstract.st b/src/SmartTestDataOutsideP1.package/SmTP1InheritanceTest.class/class/isAbstract.st deleted file mode 100644 index 8873a1f..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTP1InheritanceTest.class/class/isAbstract.st +++ /dev/null @@ -1,4 +0,0 @@ -testing -isAbstract - - ^ self == SmTP1InheritanceTest \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTP1InheritanceTest.class/instance/testMethod1Inheritance.st b/src/SmartTestDataOutsideP1.package/SmTP1InheritanceTest.class/instance/testMethod1Inheritance.st deleted file mode 100644 index 9dca779..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTP1InheritanceTest.class/instance/testMethod1Inheritance.st +++ /dev/null @@ -1,4 +0,0 @@ -tests -testMethod1Inheritance - - ('SmTP1', 'Inheritance') asClass new method1Inheritance. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTP1InheritanceTest.class/properties.json b/src/SmartTestDataOutsideP1.package/SmTP1InheritanceTest.class/properties.json deleted file mode 100644 index e1fcbb4..0000000 --- a/src/SmartTestDataOutsideP1.package/SmTP1InheritanceTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/17/2018 11:14", - "super" : "TestCase", - "category" : "SmartTestDataOutsideP1-ModificationOnMethod-Tests", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTP1InheritanceTest", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/monticello.meta/categories.st b/src/SmartTestDataOutsideP1.package/monticello.meta/categories.st deleted file mode 100644 index 5d211d7..0000000 --- a/src/SmartTestDataOutsideP1.package/monticello.meta/categories.st +++ /dev/null @@ -1,13 +0,0 @@ -SystemOrganization addCategory: #SmartTestDataOutsideP1! -SystemOrganization addCategory: 'SmartTestDataOutsideP1-ModificationOnClass'! -SystemOrganization addCategory: 'SmartTestDataOutsideP1-ModificationOnClass-Tests'! -SystemOrganization addCategory: 'SmartTestDataOutsideP1-ModificationOnMethod-FirstLevelWithRef'! -SystemOrganization addCategory: 'SmartTestDataOutsideP1-ModificationOnMethod-Inheritance'! -SystemOrganization addCategory: 'SmartTestDataOutsideP1-ModificationOnMethod-SenderExtensionMethod'! -SystemOrganization addCategory: 'SmartTestDataOutsideP1-ModificationOnMethod-SenderInTestOutWithRef'! -SystemOrganization addCategory: 'SmartTestDataOutsideP1-ModificationOnMethod-SenderOutTestInWithRef'! -SystemOrganization addCategory: 'SmartTestDataOutsideP1-ModificationOnMethod-SenderOutTestOutWithRef'! -SystemOrganization addCategory: 'SmartTestDataOutsideP1-ModificationOnMethod-Tests'! -SystemOrganization addCategory: 'SmartTestDataOutsideP1-ModificationOnMethod-WithoutRef'! -SystemOrganization addCategory: 'SmartTestDataOutsideP1-ModificationOnVariable'! -SystemOrganization addCategory: 'SmartTestDataOutsideP1-ModificationOnVariable-Tests'! diff --git a/src/SmartTestDataOutsideP1.package/monticello.meta/initializers.st b/src/SmartTestDataOutsideP1.package/monticello.meta/initializers.st deleted file mode 100644 index e69de29..0000000 diff --git a/src/SmartTestDataOutsideP1.package/monticello.meta/package b/src/SmartTestDataOutsideP1.package/monticello.meta/package deleted file mode 100644 index c8a9641..0000000 --- a/src/SmartTestDataOutsideP1.package/monticello.meta/package +++ /dev/null @@ -1 +0,0 @@ -(name 'SmartTestDataOutsideP1') \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/properties.json b/src/SmartTestDataOutsideP1.package/properties.json deleted file mode 100644 index 6f31cf5..0000000 --- a/src/SmartTestDataOutsideP1.package/properties.json +++ /dev/null @@ -1 +0,0 @@ -{ } \ No newline at end of file diff --git a/src/SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageTestOutsideWithRefTest.class/README.md b/src/SmartTestDataOutsideP1/SmTClassModificationOnClassInsidePackageTestOutsideWithRefTest.class.st similarity index 50% rename from src/SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageTestOutsideWithRefTest.class/README.md rename to src/SmartTestDataOutsideP1/SmTClassModificationOnClassInsidePackageTestOutsideWithRefTest.class.st index feaf30f..c842584 100644 --- a/src/SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageTestOutsideWithRefTest.class/README.md +++ b/src/SmartTestDataOutsideP1/SmTClassModificationOnClassInsidePackageTestOutsideWithRefTest.class.st @@ -1,3 +1,4 @@ +" Data for SmartTest tests on the testForClass:. Methods of this class have long name in order to be unique and explicit. @@ -5,4 +6,15 @@ Being unique, the senders of each method are mastered and consequently the tests We will use this that to assert that SmartTest behaves correctly when dealing with inherited methods ans class. -This class has a test that references the class SmTClassModificationOnClassInsidePackageWithRef \ No newline at end of file +This class has a test that references the class SmTClassModificationOnClassInsidePackageWithRef +" +Class { + #name : #SmTClassModificationOnClassInsidePackageTestOutsideWithRefTest, + #superclass : #TestCase, + #category : 'SmartTestDataOutsideP1-ModificationOnClass-Tests' +} + +{ #category : #tests } +SmTClassModificationOnClassInsidePackageTestOutsideWithRefTest >> testRefToSmTClassModificationOnClassInsidePackageWithRef [ +SmTClassModificationOnClassInsidePackageWithRef new. +] diff --git a/src/SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageWithRef.class/README.md b/src/SmartTestDataOutsideP1/SmTClassModificationOnClassInsidePackageWithRef.class.st similarity index 70% rename from src/SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageWithRef.class/README.md rename to src/SmartTestDataOutsideP1/SmTClassModificationOnClassInsidePackageWithRef.class.st index a58820e..cada301 100644 --- a/src/SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageWithRef.class/README.md +++ b/src/SmartTestDataOutsideP1/SmTClassModificationOnClassInsidePackageWithRef.class.st @@ -1,3 +1,4 @@ +" Data for SmartTest tests on the testForClass:. Methods of this class have long name in order to be unique and explicit. @@ -5,4 +6,10 @@ Being unique, the senders of each method are mastered and consequently the tests We will use this that to assert that SmartTest behaves correctly when dealing with inherited methods ans class. -This class is referenced inside it package in the test SmTClassModificationOnClassInsidePackageTestOutsideWithRefTest >> testRefToSmTClassModificationOnClassInsidePackageWithRef \ No newline at end of file +This class is referenced inside it package in the test SmTClassModificationOnClassInsidePackageTestOutsideWithRefTest >> testRefToSmTClassModificationOnClassInsidePackageWithRef +" +Class { + #name : #SmTClassModificationOnClassInsidePackageWithRef, + #superclass : #Object, + #category : 'SmartTestDataOutsideP1-ModificationOnClass' +} diff --git a/src/SmartTestDataOutsideP1.package/SmTClassModificationOnClassOutsidePackageWithRef.class/README.md b/src/SmartTestDataOutsideP1/SmTClassModificationOnClassOutsidePackageWithRef.class.st similarity index 76% rename from src/SmartTestDataOutsideP1.package/SmTClassModificationOnClassOutsidePackageWithRef.class/README.md rename to src/SmartTestDataOutsideP1/SmTClassModificationOnClassOutsidePackageWithRef.class.st index aa04ed3..7ecf607 100644 --- a/src/SmartTestDataOutsideP1.package/SmTClassModificationOnClassOutsidePackageWithRef.class/README.md +++ b/src/SmartTestDataOutsideP1/SmTClassModificationOnClassOutsidePackageWithRef.class.st @@ -1,3 +1,4 @@ +" Data for SmartTest tests on the testForClass:. Methods of this class have long name in order to be unique and explicit. @@ -5,4 +6,10 @@ Being unique, the senders of each method are mastered and consequently the tests We will use this that to assert that SmartTest behaves correctly when dealing with inherited methods ans class. -This class is referenced outside its package (in SmartTestDataOutsideP2) in the test RefToSmTClassModificationOnClassOutsidePackageWithRef >> testRefToSmTClassModificationOnClassOutsidePackageWithRef \ No newline at end of file +This class is referenced outside its package (in SmartTestDataOutsideP2) in the test RefToSmTClassModificationOnClassOutsidePackageWithRef >> testRefToSmTClassModificationOnClassOutsidePackageWithRef +" +Class { + #name : #SmTClassModificationOnClassOutsidePackageWithRef, + #superclass : #Object, + #category : 'SmartTestDataOutsideP1-ModificationOnClass' +} diff --git a/src/SmartTestDataOutsideP1/SmTClassModificationOnClassSimpleTestCase.class.st b/src/SmartTestDataOutsideP1/SmTClassModificationOnClassSimpleTestCase.class.st new file mode 100644 index 0000000..1b1f3bc --- /dev/null +++ b/src/SmartTestDataOutsideP1/SmTClassModificationOnClassSimpleTestCase.class.st @@ -0,0 +1,20 @@ +" +Data for SmartTest tests on the testForClass:. + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +We will use this that to assert that SmartTest behaves correctly when dealing with inherited methods ans class. + +This class is a subclass of TestCase and contains a test. +" +Class { + #name : #SmTClassModificationOnClassSimpleTestCase, + #superclass : #TestCase, + #category : 'SmartTestDataOutsideP1-ModificationOnClass-Tests' +} + +{ #category : #tests } +SmTClassModificationOnClassSimpleTestCase >> testModificationOnClassSimpleTestCase [ +"The behaviour of this method is irrelevant." +] diff --git a/src/SmartTestDataOutsideP1/SmTClassP1.class.st b/src/SmartTestDataOutsideP1/SmTClassP1.class.st new file mode 100644 index 0000000..5881c3e --- /dev/null +++ b/src/SmartTestDataOutsideP1/SmTClassP1.class.st @@ -0,0 +1,74 @@ +" +Data for SmartTest tests on the filters (default, defaultClass, restricted package). + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). + +This class is not referenced anywhere (we used concatenation to be sure). + +" +Class { + #name : #SmTClassP1, + #superclass : #Object, + #category : 'SmartTestDataOutsideP1-ModificationOnMethod-WithoutRef' +} + +{ #category : #method1 } +SmTClassP1 >> method1FirstLevelSendersInsidePackage [ + "Data for tests: method directly called by a test method from the same package" + +" the behaviour of this method is not relevant." +] + +{ #category : #method1 } +SmTClassP1 >> method1FirstLevelSendersOutsidePackage [ + "Data for tests: method directly called by a test method but not from the same package" + +" the behaviour of this method is not relevant." +] + +{ #category : #method1 } +SmTClassP1 >> method1SecondLevelSendersInsidePackageWithTestInside [ + "Data for tests: method called by another method , which itself is called by a test from the same package" + +" the behaviour of this method is not relevant." +] + +{ #category : #method1 } +SmTClassP1 >> method1SecondLevelSendersInsidePackageWithTestOutside [ + "Data for tests: method called by another method from the same package, which itself is called by a test not from the same package" + +" the behaviour of this method is not relevant." +] + +{ #category : #method1 } +SmTClassP1 >> method1SecondLevelSendersOutsidePackageWithTestInside [ + "Data for tests: method called by another method not from the same package, which itself is called by a test from the same package" + +" the behaviour of this method is not relevant." +] + +{ #category : #method1 } +SmTClassP1 >> method1SecondLevelSendersOutsidePackageWithTestOutside [ + "Data for tests: method called by another method not from the same package, which itself is called by a test not from the same package" + +" the behaviour of this method is not relevant." +] + +{ #category : #method2 } +SmTClassP1 >> method2SecondLevelSendersInsidePackageWithTestInside [ + "Data for tests: this method calls a method from the same package, + this method is called by a test from the same package" + "In order to be sure that this method does not reference any class, we don't use directly the class but go through their name with a concatenation and then transform them into class" +^ ('SmTClass','P1') asClass new method1SecondLevelSendersInsidePackageWithTestInside. +] + +{ #category : #method2 } +SmTClassP1 >> method2SecondLevelSendersInsidePackageWithTestOutside [ + "Data for tests: this method calls a method from the same package, + this method is called by a test not from the same package" + "In order to be sure that this method does not reference any class, we don't use directly the class but go through their name with a concatenation and then transform them into class" +^('SmTClass','P1') asClass new method1SecondLevelSendersInsidePackageWithTestOutside. +] diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersInsideWithRefInMethod.class/README.md b/src/SmartTestDataOutsideP1/SmTClassP1FirstLevelSendersInsideWithRefInMethod.class.st similarity index 59% rename from src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersInsideWithRefInMethod.class/README.md rename to src/SmartTestDataOutsideP1/SmTClassP1FirstLevelSendersInsideWithRefInMethod.class.st index ca905b8..4080b39 100644 --- a/src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersInsideWithRefInMethod.class/README.md +++ b/src/SmartTestDataOutsideP1/SmTClassP1FirstLevelSendersInsideWithRefInMethod.class.st @@ -1,3 +1,4 @@ +" Data for SmartTest tests on the filters. Methods of this class have long name in order to be unique and explicit. @@ -6,3 +7,17 @@ Being unique, the senders of each method are mastered and consequently the tests In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). This class is referenced by SmTP1ClassTestFirstLevelSendersInsideWithRefInMethod >> testMethod1FirstLevelSendersInsideWithRefInMethod . + +" +Class { + #name : #SmTClassP1FirstLevelSendersInsideWithRefInMethod, + #superclass : #Object, + #category : 'SmartTestDataOutsideP1-ModificationOnMethod-FirstLevelWithRef' +} + +{ #category : #method1 } +SmTClassP1FirstLevelSendersInsideWithRefInMethod >> method1FirstLevelSendersInsideWithRefInMethod [ +"Data for tests: method directly called by a test method not from the same package" + +" the behaviour of this method is not relevant." +] diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class/README.md b/src/SmartTestDataOutsideP1/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class.st similarity index 58% rename from src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class/README.md rename to src/SmartTestDataOutsideP1/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class.st index caf9473..a091a7f 100644 --- a/src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class/README.md +++ b/src/SmartTestDataOutsideP1/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class.st @@ -1,3 +1,4 @@ +" Data for SmartTest tests on the filters. Methods of this class have long name in order to be unique and explicit. @@ -6,3 +7,17 @@ Being unique, the senders of each method are mastered and consequently the tests In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). This class is referenced by SmTClassTestP2FirstLevelSendersOutsideWithRef >> refInClass . + +" +Class { + #name : #SmTClassP1FirstLevelSendersOutsideWithRefInClass, + #superclass : #Object, + #category : 'SmartTestDataOutsideP1-ModificationOnMethod-FirstLevelWithRef' +} + +{ #category : #method1 } +SmTClassP1FirstLevelSendersOutsideWithRefInClass >> method1FirstLevelSendersWithRefInClass [ +"Data for tests: method directly called by a test method not from the same package" + +" the behaviour of this method is not relevant." +] diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class/README.md b/src/SmartTestDataOutsideP1/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class.st similarity index 53% rename from src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class/README.md rename to src/SmartTestDataOutsideP1/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class.st index 5a332eb..13b7b0e 100644 --- a/src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class/README.md +++ b/src/SmartTestDataOutsideP1/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class.st @@ -1,3 +1,4 @@ +" Data for SmartTest tests on the filters. Methods of this class have long name in order to be unique and explicit. @@ -5,4 +6,17 @@ Being unique, the senders of each method are mastered and consequently the tests In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). -This class is referenced by SmartTestDataOutside: SmTClassTestP2 >> testMethod1FirstLevelSendersOutsideWithRefInMethod . \ No newline at end of file +This class is referenced by SmartTestDataOutside: SmTClassTestP2 >> testMethod1FirstLevelSendersOutsideWithRefInMethod . +" +Class { + #name : #SmTClassP1FirstLevelSendersOutsideWithRefInMethod, + #superclass : #Object, + #category : 'SmartTestDataOutsideP1-ModificationOnMethod-FirstLevelWithRef' +} + +{ #category : #method1 } +SmTClassP1FirstLevelSendersOutsideWithRefInMethod >> method1FirstLevelSendersWithRefInMethod [ +"Data for tests: method directly called by a test method not from the same package" + +" the behaviour of this method is not relevant." +] diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class/README.md b/src/SmartTestDataOutsideP1/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class.st similarity index 58% rename from src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class/README.md rename to src/SmartTestDataOutsideP1/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class.st index 2bd355b..2e4a3b4 100644 --- a/src/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class/README.md +++ b/src/SmartTestDataOutsideP1/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class.st @@ -1,3 +1,4 @@ +" Data for SmartTest tests on the filters. Methods of this class have long name in order to be unique and explicit. @@ -5,4 +6,17 @@ Being unique, the senders of each method are mastered and consequently the tests In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). -This class is referenced by SmartTestDataOutsideP2: SmTClassP2ReferencesInPackage >> referenceToSmTClassP1FirstLevelSendersOutsideWithRefInPackage . \ No newline at end of file +This class is referenced by SmartTestDataOutsideP2: SmTClassP2ReferencesInPackage >> referenceToSmTClassP1FirstLevelSendersOutsideWithRefInPackage . +" +Class { + #name : #SmTClassP1FirstLevelSendersOutsideWithRefInPackage, + #superclass : #Object, + #category : 'SmartTestDataOutsideP1-ModificationOnMethod-FirstLevelWithRef' +} + +{ #category : #method1 } +SmTClassP1FirstLevelSendersOutsideWithRefInPackage >> method1FirstLevelSendersWithRefInPackage [ +"Data for tests: method directly called by a test method not from the same package" + +" the behaviour of this method is not relevant." +] diff --git a/src/SmartTestDataOutsideP1/SmTClassP1ModificationOnVariable.class.st b/src/SmartTestDataOutsideP1/SmTClassP1ModificationOnVariable.class.st new file mode 100644 index 0000000..a2d7abb --- /dev/null +++ b/src/SmartTestDataOutsideP1/SmTClassP1ModificationOnVariable.class.st @@ -0,0 +1,39 @@ +" +Data for SmartTest tests on the testForAnInstanceVariable:. + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +We will use this that to assert that SmartTest behaves correctly when dealing with modifications on instance variables. + +It contains different instance variables that are used in tests. Each variable has only one test that calls them. +" +Class { + #name : #SmTClassP1ModificationOnVariable, + #superclass : #Object, + #instVars : [ + 'instVarModificationOnVariableInsidePackage', + 'instVarModificationOnVariableOutsidePackage' + ], + #category : 'SmartTestDataOutsideP1-ModificationOnVariable' +} + +{ #category : #accessing } +SmTClassP1ModificationOnVariable >> instVarModificationOnVariableInsidePackage [ + ^ instVarModificationOnVariableInsidePackage +] + +{ #category : #accessing } +SmTClassP1ModificationOnVariable >> instVarModificationOnVariableInsidePackage: anObject [ + instVarModificationOnVariableInsidePackage := anObject +] + +{ #category : #accessing } +SmTClassP1ModificationOnVariable >> instVarModificationOnVariableOutsidePackage [ + ^ instVarModificationOnVariableOutsidePackage +] + +{ #category : #accessing } +SmTClassP1ModificationOnVariable >> instVarModificationOnVariableOutsidePackage: anObject [ + instVarModificationOnVariableOutsidePackage := anObject +] diff --git a/src/SmartTestDataOutsideP1/SmTClassP1ModificationOnVariableInsideClassTest.class.st b/src/SmartTestDataOutsideP1/SmTClassP1ModificationOnVariableInsideClassTest.class.st new file mode 100644 index 0000000..8a72213 --- /dev/null +++ b/src/SmartTestDataOutsideP1/SmTClassP1ModificationOnVariableInsideClassTest.class.st @@ -0,0 +1,35 @@ +" +Data for SmartTest tests on the testForAnInstanceVariable:. + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +We will use this that to assert that SmartTest behaves correctly when dealing with modifications on instance variables. + +This class has an instance variable used inside the class in a test. +" +Class { + #name : #SmTClassP1ModificationOnVariableInsideClassTest, + #superclass : #TestCase, + #instVars : [ + 'instVarModificationOnVariableInsideClass' + ], + #category : 'SmartTestDataOutsideP1-ModificationOnVariable-Tests' +} + +{ #category : #accessing } +SmTClassP1ModificationOnVariableInsideClassTest >> instVarModificationOnVariableInsideClass [ + ^ instVarModificationOnVariableInsideClass +] + +{ #category : #accessing } +SmTClassP1ModificationOnVariableInsideClassTest >> instVarModificationOnVariableInsideClass: anObject [ + instVarModificationOnVariableInsideClass := anObject +] + +{ #category : #tests } +SmTClassP1ModificationOnVariableInsideClassTest >> testModificationOnVariableInsideClass [ +|anObject| +anObject := ('SmTClassP1ModificationOn','VariableInsideClassTest') asClass new. +anObject instVarModificationOnVariableInsideClass +] diff --git a/src/SmartTestDataOutsideP1/SmTClassP1ModificationOnVariableInsidePackageTest.class.st b/src/SmartTestDataOutsideP1/SmTClassP1ModificationOnVariableInsidePackageTest.class.st new file mode 100644 index 0000000..9bc81e5 --- /dev/null +++ b/src/SmartTestDataOutsideP1/SmTClassP1ModificationOnVariableInsidePackageTest.class.st @@ -0,0 +1,23 @@ +" +Data for SmartTest tests on the testForAnInstanceVariable:. + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +We will use this that to assert that SmartTest behaves correctly when dealing with modifications on instance variables. +" +Class { + #name : #SmTClassP1ModificationOnVariableInsidePackageTest, + #superclass : #TestCase, + #instVars : [ + 'instVarModificationOnVariable' + ], + #category : 'SmartTestDataOutsideP1-ModificationOnVariable-Tests' +} + +{ #category : #tests } +SmTClassP1ModificationOnVariableInsidePackageTest >> testModificationOnVariableInsidePackage [ +|anObject| +anObject := ('SmTClassP1','ModificationOnVariable')asClass new. +anObject instVarModificationOnVariableInsidePackage +] diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class/README.md b/src/SmartTestDataOutsideP1/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class.st similarity index 51% rename from src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class/README.md rename to src/SmartTestDataOutsideP1/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class.st index 47b1d05..a192f3a 100644 --- a/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class/README.md +++ b/src/SmartTestDataOutsideP1/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class.st @@ -1,3 +1,4 @@ +" Data for SmartTest tests on the DefaultClassPackage filter. Methods of this class have long name in order to be unique and explicit. @@ -7,4 +8,24 @@ In the tests, it is always the methods whose name contains 'method1' that are mo In this class, there is the modified method and its first level sender (which contains 'method2' in it's name). In another package, there is the second level sender of the modified method (which contains 'testmethod2' in it's name). -This class is referenced in the package SmartTestDataOutsideP2inside the same class as testMethod2 (but not in the same method). \ No newline at end of file +This class is referenced in the package SmartTestDataOutsideP2inside the same class as testMethod2 (but not in the same method). +" +Class { + #name : #SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass, + #superclass : #Object, + #category : 'SmartTestDataOutsideP1-ModificationOnMethod-SenderInTestOutWithRef' +} + +{ #category : #method1 } +SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass >> method1SecondLevelSendersInsideTestOutsideWithRefInClass [ +"Data for tests: method directly called by a test method not from the same package" + +" the behaviour of this method is not relevant." +] + +{ #category : #method2 } +SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass >> method2SecondLevelSendersInsideTestOutsideWithRefInClass [ +"Data for tests: method directly called by a test method not from the same package" + ^ self method1SecondLevelSendersInsideTestOutsideWithRefInClass +" the behaviour of this method is not relevant." +] diff --git a/src/SmartTestDataOutsideP1/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class.st b/src/SmartTestDataOutsideP1/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class.st new file mode 100644 index 0000000..0c1df4d --- /dev/null +++ b/src/SmartTestDataOutsideP1/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class.st @@ -0,0 +1,31 @@ +" +Data for SmartTest tests on the DefaultClassPackage filter. + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). + +In this class, there is the modified method and its first level sender (which contains 'method2' in it's name). In another package, there is the second level sender of the modified method (which contains 'testmethod2' in it's name). + +This class is referenced in the package SmartTestDataOutsideP2inside the same method as testMethod2. +" +Class { + #name : #SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod, + #superclass : #Object, + #category : 'SmartTestDataOutsideP1-ModificationOnMethod-SenderInTestOutWithRef' +} + +{ #category : #method1 } +SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod >> method1SecondLevelSendersInsideTestOutsideWithRefInMethod [ +"Data for tests: method directly called by a test method not from the same package" + +" the behaviour of this method is not relevant." +] + +{ #category : #method2 } +SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod >> method2SecondLevelSendersInsideTestOutsideWithRefInMethod [ +"Data for tests: method directly called by a test method not from the same package" + ^ self method1SecondLevelSendersInsideTestOutsideWithRefInMethod +" the behaviour of this method is not relevant." +] diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class/README.md b/src/SmartTestDataOutsideP1/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class.st similarity index 51% rename from src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class/README.md rename to src/SmartTestDataOutsideP1/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class.st index 8848848..c687db7 100644 --- a/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class/README.md +++ b/src/SmartTestDataOutsideP1/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class.st @@ -1,3 +1,4 @@ +" Data for SmartTest tests on the DefaultClassPackage filter. Methods of this class have long name in order to be unique and explicit. @@ -7,4 +8,24 @@ In the tests, it is always the methods whose name contains 'method1' that are mo In this class, there is the modified method and its first level sender (which contains 'method2' in it's name). In another package, there is the second level sender of the modified method (which contains 'testmethod2' in it's name). -This class is referenced in the package SmartTestDataOutsideP2inside the same package as testMethod2 (but not in the same method or class). \ No newline at end of file +This class is referenced in the package SmartTestDataOutsideP2inside the same package as testMethod2 (but not in the same method or class). +" +Class { + #name : #SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage, + #superclass : #Object, + #category : 'SmartTestDataOutsideP1-ModificationOnMethod-SenderInTestOutWithRef' +} + +{ #category : #method1 } +SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage >> method1SecondLevelSendersInsideTestOutsideWithRefInPackage [ +"Data for tests: method directly called by a test method not from the same package" + +" the behaviour of this method is not relevant." +] + +{ #category : #method2 } +SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage >> method2SecondLevelSendersInsideTestOutsideWithRefInPackage [ +"Data for tests: method directly called by a test method not from the same package" + ^ self method1SecondLevelSendersInsideTestOutsideWithRefInPackage +" the behaviour of this method is not relevant." +] diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class/README.md b/src/SmartTestDataOutsideP1/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.class.st similarity index 60% rename from src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class/README.md rename to src/SmartTestDataOutsideP1/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.class.st index 88eafea..ef98435 100644 --- a/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class/README.md +++ b/src/SmartTestDataOutsideP1/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.class.st @@ -1,3 +1,4 @@ +" Data for SmartTest tests on the DefaultClassPackage filter. Methods of this class have long name in order to be unique and explicit. @@ -7,4 +8,17 @@ In the tests, it is always the methods whose name contains 'method1' that are mo In this class, there is the modified method and its second level sender (which contains 'testsmethod2' in it's name). In another package, there is the first level sender of the modified method (which contains 'method2' in it's name). -This class is referenced in the package SmartTestDataOutsideP2inside the same method as method2. \ No newline at end of file +This class is referenced in the package SmartTestDataOutsideP2inside the same class as method2 (but not in the same method). +" +Class { + #name : #SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass, + #superclass : #Object, + #category : 'SmartTestDataOutsideP1-ModificationOnMethod-SenderOutTestInWithRef' +} + +{ #category : #method1 } +SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass >> method1SecondLevelSendersOutsideTestInsideWithRefInClass [ +"Data for tests: method directly called by a test method not from the same package" + +" the behaviour of this method is not relevant." +] diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.class/README.md b/src/SmartTestDataOutsideP1/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class.st similarity index 61% rename from src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.class/README.md rename to src/SmartTestDataOutsideP1/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class.st index cc3d28e..2a1f161 100644 --- a/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.class/README.md +++ b/src/SmartTestDataOutsideP1/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class.st @@ -1,3 +1,4 @@ +" Data for SmartTest tests on the DefaultClassPackage filter. Methods of this class have long name in order to be unique and explicit. @@ -7,4 +8,17 @@ In the tests, it is always the methods whose name contains 'method1' that are mo In this class, there is the modified method and its second level sender (which contains 'testsmethod2' in it's name). In another package, there is the first level sender of the modified method (which contains 'method2' in it's name). -This class is referenced in the package SmartTestDataOutsideP2inside the same class as method2 (but not in the same method). \ No newline at end of file +This class is referenced in the package SmartTestDataOutsideP2inside the same method as method2. +" +Class { + #name : #SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod, + #superclass : #Object, + #category : 'SmartTestDataOutsideP1-ModificationOnMethod-SenderOutTestInWithRef' +} + +{ #category : #method1 } +SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod >> method1SecondLevelSendersOutsideTestInsideWithRefInMethod [ +"Data for tests: method directly called by a test method not from the same package" + +" the behaviour of this method is not relevant." +] diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.class/README.md b/src/SmartTestDataOutsideP1/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.class.st similarity index 64% rename from src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.class/README.md rename to src/SmartTestDataOutsideP1/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.class.st index b0b8052..037780e 100644 --- a/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.class/README.md +++ b/src/SmartTestDataOutsideP1/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.class.st @@ -1,3 +1,4 @@ +" Data for SmartTest tests on the DefaultClassPackage filter. Methods of this class have long name in order to be unique and explicit. @@ -7,4 +8,17 @@ In the tests, it is always the methods whose name contains 'method1' that are mo In this class, there is the modified method and its second level sender (which contains 'testsmethod2' in it's name). In another package, there is the first level sender of the modified method (which contains 'method2' in it's name). -This class is referenced in the package SmartTestDataOutsideP2inside the same package as method2 (but not in the same methodor class). \ No newline at end of file +This class is referenced in the package SmartTestDataOutsideP2inside the same package as method2 (but not in the same methodor class). +" +Class { + #name : #SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage, + #superclass : #Object, + #category : 'SmartTestDataOutsideP1-ModificationOnMethod-SenderOutTestInWithRef' +} + +{ #category : #method1 } +SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage >> method1SecondLevelSendersOutsideTestInsideWithRefInPackage [ +"Data for tests: method directly called by a test method not from the same package" + +" the behaviour of this method is not relevant." +] diff --git a/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/README.md b/src/SmartTestDataOutsideP1/SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod.class.st similarity index 68% rename from src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/README.md rename to src/SmartTestDataOutsideP1/SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod.class.st index b690942..54623b4 100644 --- a/src/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/README.md +++ b/src/SmartTestDataOutsideP1/SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod.class.st @@ -1,3 +1,4 @@ +" Data for SmartTest tests on the filters (defaultClass). Methods of this class have long name in order to be unique and explicit. @@ -9,3 +10,17 @@ If the name of the test contains 'method2', the test use the method method2, if In this class, the first and second level senders are located outside of the package of the modified method and in two different package. We test two different setup, one in which both method2 and testMethod2 references directly the class of method1, and another in which method2 references the class of method1 and testMethod2 references the class of method2. + +" +Class { + #name : #SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod, + #superclass : #Object, + #category : 'SmartTestDataOutsideP1-ModificationOnMethod-SenderOutTestOutWithRef' +} + +{ #category : #method1 } +SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod >> method1SecondLevelSendersOutsideTestOutsideWithRefInMethod [ +"Data for tests: method called by a method not from the same package" + +" the behaviour of this method is not relevant." +] diff --git a/src/SmartTestDataOutsideP1/SmTClassTestP1.class.st b/src/SmartTestDataOutsideP1/SmTClassTestP1.class.st new file mode 100644 index 0000000..bcfc366 --- /dev/null +++ b/src/SmartTestDataOutsideP1/SmTClassTestP1.class.st @@ -0,0 +1,61 @@ +" +Data for SmartTest tests on the filters (default, defaultClass, restricted package). + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are controlled and consequently the tests are independent the one from the others. + +In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). + +If the name of the test contains 'method2', the test use the method method2, if the test contains 'method1', the test directly uses the modified method. + +" +Class { + #name : #SmTClassTestP1, + #superclass : #TestCase, + #category : 'SmartTestDataOutsideP1-ModificationOnMethod-Tests' +} + +{ #category : #testMethod1 } +SmTClassTestP1 >> testExtensionMethod1FirstLevelSendersInside [ +SmTExtensionP2Test >> #extensionMethod1FirstLevelSendersInside +] + +{ #category : #testMethod1 } +SmTClassTestP1 >> testMethod1FirstLevelSendersInsidePackage [ +"Data for tests: this method calls directly a method from the same package." +"In order to be sure that this method does not reference any class, we don't use directly the class but go through their name with a concatenation and then transform them into class" + ^ ('SmTClass','P1') asClass new method1FirstLevelSendersInsidePackage. +] + +{ #category : #testMethod2 } +SmTClassTestP1 >> testMethod2SecondLevelSendersInsidePackageWithTestInside [ +"In order to be sure that this method does not reference any class, we don't use directly the class but go through their name with a concatenation and then transform them into class" + ^ ('SmTClass','P1') asClass new method2SecondLevelSendersInsidePackageWithTestInside. +] + +{ #category : #testMethod2 } +SmTClassTestP1 >> testMethod2SecondLevelSendersOutsidePackageWithTestInside [ +"In order to be sure that this method does not reference any class, we don't use directly the class but go through their name with a concatenation and then transform them into class" + ^ ('SmTClass','P2') asClass new method2SecondLevelSendersOutsidePackageWithTestInside. +] + +{ #category : #testMethod2 } +SmTClassTestP1 >> testMethod2SecondLevelSendersOutsideTestInsideWithRefInClass [ +"Data for tests: method directly called by a test method not from the same package" + ^('SmTClassP2SecondLevelSendersOutsideTestInsideWithRefIn','Class') asClass new method2SecondLevelSendersOutsideTestInsideWithRefInClass +" the behaviour of this method is not relevant." +] + +{ #category : #testMethod2 } +SmTClassTestP1 >> testMethod2SecondLevelSendersOutsideTestInsideWithRefInMethod [ +"Data for tests: method directly called by a test method not from the same package" + ^('SmTClassP2SecondLevelSendersOutsideTestInsideWithRefIn','Method') asClass new method2SecondLevelSendersOutsideTestInsideWithRefInMethod +" the behaviour of this method is not relevant." +] + +{ #category : #testMethod2 } +SmTClassTestP1 >> testMethod2SecondLevelSendersOutsideTestInsideWithRefInPackage [ +"Data for tests: method directly called by a test method not from the same package" + ^('SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage') asClass new method2SecondLevelSendersOutsideTestInsideWithRefInPackage +" the behaviour of this method is not relevant." +] diff --git a/src/SmartTestDataOutsideP1.package/SmTExtensionP1.class/README.md b/src/SmartTestDataOutsideP1/SmTExtensionP1.class.st similarity index 61% rename from src/SmartTestDataOutsideP1.package/SmTExtensionP1.class/README.md rename to src/SmartTestDataOutsideP1/SmTExtensionP1.class.st index f08ae56..50451de 100644 --- a/src/SmartTestDataOutsideP1.package/SmTExtensionP1.class/README.md +++ b/src/SmartTestDataOutsideP1/SmTExtensionP1.class.st @@ -1,3 +1,4 @@ +" Data for SmartTest tests on the filters:. Methods of this class have long name in order to be unique and explicit. @@ -5,4 +6,14 @@ Being unique, the senders of each method are mastered and consequently the tests We will use this that to assert that SmartTest behaves correctly when dealing with inherited methods ans class. -This class inherits one test from its superior class and doesn't redefine it. \ No newline at end of file +This class inherits one test from its superior class and doesn't redefine it. +" +Class { + #name : #SmTExtensionP1, + #superclass : #Object, + #category : 'SmartTestDataOutsideP1-ModificationOnMethod-SenderExtensionMethod' +} + +{ #category : #'as yet unclassified' } +SmTExtensionP1 >> extensionMethod1SecondLevelSenders [ +] diff --git a/src/SmartTestDataOutsideP1/SmTExtensionP2Test.extension.st b/src/SmartTestDataOutsideP1/SmTExtensionP2Test.extension.st new file mode 100644 index 0000000..31912e0 --- /dev/null +++ b/src/SmartTestDataOutsideP1/SmTExtensionP2Test.extension.st @@ -0,0 +1,11 @@ +Extension { #name : #SmTExtensionP2Test } + +{ #category : #'*SmartTestDataOutsideP1' } +SmTExtensionP2Test >> extensionMethod1FirstLevelSendersInside [ +"an extension" +] + +{ #category : #'*SmartTestDataOutsideP1' } +SmTExtensionP2Test >> extensionMethod1FirstLevelSendersOutside [ +"an extension" +] diff --git a/src/SmartTestDataOutsideP1/SmTExtensionP3.extension.st b/src/SmartTestDataOutsideP1/SmTExtensionP3.extension.st new file mode 100644 index 0000000..e828bba --- /dev/null +++ b/src/SmartTestDataOutsideP1/SmTExtensionP3.extension.st @@ -0,0 +1,7 @@ +Extension { #name : #SmTExtensionP3 } + +{ #category : #'*SmartTestDataOutsideP1' } +SmTExtensionP3 >> extensionMethod2SecondLevelSenders [ +"an extension" +('SmT','ExtensionP1') asClass >> #extensionMethod1SecondLevelSenders +] diff --git a/src/SmartTestDataOutsideP1/SmTP1ClassTestAbstractTestCase.class.st b/src/SmartTestDataOutsideP1/SmTP1ClassTestAbstractTestCase.class.st new file mode 100644 index 0000000..5a29b41 --- /dev/null +++ b/src/SmartTestDataOutsideP1/SmTP1ClassTestAbstractTestCase.class.st @@ -0,0 +1,26 @@ +" +Data for SmartTest tests on the testForClass:. + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +We will use this that to assert that SmartTest behaves correctly when dealing with inherited methods ans class. + +This class is abstract and has one test, the subclasses will herit this test. The first subclass redefines this test (""SmTP1ClassTestSubClassRedefinesMethod"") and the other doesn't (""SmTP1ClassTestSubClassDoesntRedefineMethod""). +" +Class { + #name : #SmTP1ClassTestAbstractTestCase, + #superclass : #TestCase, + #category : 'SmartTestDataOutsideP1-ModificationOnClass-Tests' +} + +{ #category : #testing } +SmTP1ClassTestAbstractTestCase class >> isAbstract [ + + ^ self == SmTP1ClassTestAbstractTestCase +] + +{ #category : #tests } +SmTP1ClassTestAbstractTestCase >> testModificationOnClassAbstractTestCase [ +"the behaviour of this test is irrelevant" +] diff --git a/src/SmartTestDataOutsideP1.package/SmTP1ClassTestFirstLevelSendersInsideWithRefInMethod.class/README.md b/src/SmartTestDataOutsideP1/SmTP1ClassTestFirstLevelSendersInsideWithRefInMethod.class.st similarity index 66% rename from src/SmartTestDataOutsideP1.package/SmTP1ClassTestFirstLevelSendersInsideWithRefInMethod.class/README.md rename to src/SmartTestDataOutsideP1/SmTP1ClassTestFirstLevelSendersInsideWithRefInMethod.class.st index dc88eb7..9190247 100644 --- a/src/SmartTestDataOutsideP1.package/SmTP1ClassTestFirstLevelSendersInsideWithRefInMethod.class/README.md +++ b/src/SmartTestDataOutsideP1/SmTP1ClassTestFirstLevelSendersInsideWithRefInMethod.class.st @@ -1,3 +1,4 @@ +" Data for SmartTest tests on the filters (default, defaultClass, restricted package). Methods of this class have long name in order to be unique and explicit. @@ -10,3 +11,15 @@ If the name of the test contains 'method2', the test use the method method2, if This class contains a method that references the class SmTClassP1FirstLevelSendersInsideWithRefInMethod. + +" +Class { + #name : #SmTP1ClassTestFirstLevelSendersInsideWithRefInMethod, + #superclass : #TestCase, + #category : 'SmartTestDataOutsideP1-ModificationOnMethod-Tests' +} + +{ #category : #tests } +SmTP1ClassTestFirstLevelSendersInsideWithRefInMethod >> testMethod1FirstLevelSendersInsideWithRefInMethod [ +SmTClassP1FirstLevelSendersInsideWithRefInMethod >> #method1FirstLevelSendersInsideWithRefInMethod +] diff --git a/src/SmartTestDataOutsideP1.package/SmTP1ClassTestSubClassDoesntRedefineMethod.class/README.md b/src/SmartTestDataOutsideP1/SmTP1ClassTestSubClassDoesntRedefineMethod.class.st similarity index 68% rename from src/SmartTestDataOutsideP1.package/SmTP1ClassTestSubClassDoesntRedefineMethod.class/README.md rename to src/SmartTestDataOutsideP1/SmTP1ClassTestSubClassDoesntRedefineMethod.class.st index 095b5d8..f1448b0 100644 --- a/src/SmartTestDataOutsideP1.package/SmTP1ClassTestSubClassDoesntRedefineMethod.class/README.md +++ b/src/SmartTestDataOutsideP1/SmTP1ClassTestSubClassDoesntRedefineMethod.class.st @@ -1,3 +1,4 @@ +" Data for SmartTest tests on the testForClass:. Methods of this class have long name in order to be unique and explicit. @@ -5,4 +6,10 @@ Being unique, the senders of each method are mastered and consequently the tests We will use this that to assert that SmartTest behaves correctly when dealing with inherited methods ans class. -This class inherits one test from its superior class and doesn't redefine it. \ No newline at end of file +This class inherits one test from its superior class and doesn't redefine it. +" +Class { + #name : #SmTP1ClassTestSubClassDoesntRedefineMethod, + #superclass : #SmTP1ClassTestAbstractTestCase, + #category : 'SmartTestDataOutsideP1-ModificationOnClass-Tests' +} diff --git a/src/SmartTestDataOutsideP1.package/SmTP1ClassTestSubclassRedefinesMethod.class/README.md b/src/SmartTestDataOutsideP1/SmTP1ClassTestSubclassRedefinesMethod.class.st similarity index 55% rename from src/SmartTestDataOutsideP1.package/SmTP1ClassTestSubclassRedefinesMethod.class/README.md rename to src/SmartTestDataOutsideP1/SmTP1ClassTestSubclassRedefinesMethod.class.st index 345ccac..793f891 100644 --- a/src/SmartTestDataOutsideP1.package/SmTP1ClassTestSubclassRedefinesMethod.class/README.md +++ b/src/SmartTestDataOutsideP1/SmTP1ClassTestSubclassRedefinesMethod.class.st @@ -1,3 +1,4 @@ +" Data for SmartTest tests on the testForClass:. Methods of this class have long name in order to be unique and explicit. @@ -5,4 +6,15 @@ Being unique, the senders of each method are mastered and consequently the tests We will use this that to assert that SmartTest behaves correctly when dealing with inherited methods ans class. -This class inherits one test from its superior class and redefines it. \ No newline at end of file +This class inherits one test from its superior class and redefines it. +" +Class { + #name : #SmTP1ClassTestSubclassRedefinesMethod, + #superclass : #SmTP1ClassTestAbstractTestCase, + #category : 'SmartTestDataOutsideP1-ModificationOnClass-Tests' +} + +{ #category : #tests } +SmTP1ClassTestSubclassRedefinesMethod >> testModificationOnClassAbstractTestCase [ +^super testModificationOnClassAbstractTestCase. +] diff --git a/src/SmartTestDataOutsideP1.package/SmTP1Inheritance.class/README.md b/src/SmartTestDataOutsideP1/SmTP1Inheritance.class.st similarity index 70% rename from src/SmartTestDataOutsideP1.package/SmTP1Inheritance.class/README.md rename to src/SmartTestDataOutsideP1/SmTP1Inheritance.class.st index 5cddd59..b7f7c53 100644 --- a/src/SmartTestDataOutsideP1.package/SmTP1Inheritance.class/README.md +++ b/src/SmartTestDataOutsideP1/SmTP1Inheritance.class.st @@ -1,3 +1,4 @@ +" Data for SmartTest tests on the filters. With this class, we try to assert that SmartTest work correctly with Inherited methods and tests. @@ -7,3 +8,15 @@ Being unique, the senders of each method are mastered and consequently the tests In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). + +" +Class { + #name : #SmTP1Inheritance, + #superclass : #Object, + #category : 'SmartTestDataOutsideP1-ModificationOnMethod-Inheritance' +} + +{ #category : #method1 } +SmTP1Inheritance >> method1Inheritance [ +"The behaviour of this method is irrelevant." +] diff --git a/src/SmartTestDataOutsideP1/SmTP1InheritanceSubClass1Test.class.st b/src/SmartTestDataOutsideP1/SmTP1InheritanceSubClass1Test.class.st new file mode 100644 index 0000000..4dbdead --- /dev/null +++ b/src/SmartTestDataOutsideP1/SmTP1InheritanceSubClass1Test.class.st @@ -0,0 +1,19 @@ +" +Data for SmartTest tests on the filters (default, defaultClass, restricted package). + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +We will use this that to assert that SmartTest behaves correctly when dealing with inherited methods. +" +Class { + #name : #SmTP1InheritanceSubClass1Test, + #superclass : #SmTP1InheritanceTest, + #category : 'SmartTestDataOutsideP1-ModificationOnMethod-Tests' +} + +{ #category : #tests } +SmTP1InheritanceSubClass1Test >> testMethod1Inheritance [ + super testMethod1Inheritance. + "The behaviour of this test is irrelevant". +] diff --git a/src/SmartTestDataOutsideP1/SmTP1InheritanceSubClass2Test.class.st b/src/SmartTestDataOutsideP1/SmTP1InheritanceSubClass2Test.class.st new file mode 100644 index 0000000..dc23615 --- /dev/null +++ b/src/SmartTestDataOutsideP1/SmTP1InheritanceSubClass2Test.class.st @@ -0,0 +1,10 @@ +" +method1Inheritance +""The behaviour of this method is irrelevant"" +1. +" +Class { + #name : #SmTP1InheritanceSubClass2Test, + #superclass : #SmTP1InheritanceTest, + #category : 'SmartTestDataOutsideP1-ModificationOnMethod-Tests' +} diff --git a/src/SmartTestDataOutsideP1/SmTP1InheritanceTest.class.st b/src/SmartTestDataOutsideP1/SmTP1InheritanceTest.class.st new file mode 100644 index 0000000..5cda055 --- /dev/null +++ b/src/SmartTestDataOutsideP1/SmTP1InheritanceTest.class.st @@ -0,0 +1,25 @@ +" +Data for SmartTest tests on the filters (default, defaultClass, restricted package). + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +We will use this that to assert that SmartTest behaves correctly when dealing with inherited methods. +" +Class { + #name : #SmTP1InheritanceTest, + #superclass : #TestCase, + #category : 'SmartTestDataOutsideP1-ModificationOnMethod-Tests' +} + +{ #category : #testing } +SmTP1InheritanceTest class >> isAbstract [ + + ^ self == SmTP1InheritanceTest +] + +{ #category : #tests } +SmTP1InheritanceTest >> testMethod1Inheritance [ + + ('SmTP1', 'Inheritance') asClass new method1Inheritance. +] diff --git a/src/SmartTestDataOutsideP1/package.st b/src/SmartTestDataOutsideP1/package.st new file mode 100644 index 0000000..41a584b --- /dev/null +++ b/src/SmartTestDataOutsideP1/package.st @@ -0,0 +1 @@ +Package { #name : #SmartTestDataOutsideP1 } diff --git a/src/SmartTestDataOutsideP2.package/.filetree b/src/SmartTestDataOutsideP2.package/.filetree deleted file mode 100644 index 57a6797..0000000 --- a/src/SmartTestDataOutsideP2.package/.filetree +++ /dev/null @@ -1,5 +0,0 @@ -{ - "separateMethodMetaAndSource" : false, - "noMethodMetaData" : true, - "useCypressPropertiesFile" : true -} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/SmTClassModificationOnClassOutsidePackageWithRefTest.class/instance/testRefToSmTClassModificationOnClassOutsidePackageWithRef.st b/src/SmartTestDataOutsideP2.package/SmTClassModificationOnClassOutsidePackageWithRefTest.class/instance/testRefToSmTClassModificationOnClassOutsidePackageWithRef.st deleted file mode 100644 index e78daec..0000000 --- a/src/SmartTestDataOutsideP2.package/SmTClassModificationOnClassOutsidePackageWithRefTest.class/instance/testRefToSmTClassModificationOnClassOutsidePackageWithRef.st +++ /dev/null @@ -1,3 +0,0 @@ -tests -testRefToSmTClassModificationOnClassOutsidePackageWithRef -SmTClassModificationOnClassOutsidePackageWithRef new. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/SmTClassModificationOnClassOutsidePackageWithRefTest.class/properties.json b/src/SmartTestDataOutsideP2.package/SmTClassModificationOnClassOutsidePackageWithRefTest.class/properties.json deleted file mode 100644 index 93314e4..0000000 --- a/src/SmartTestDataOutsideP2.package/SmTClassModificationOnClassOutsidePackageWithRefTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "eleonoreW 6/11/2018 14:35", - "super" : "TestCase", - "category" : "SmartTestDataOutsideP2-ModificationOnClass-Tests", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTClassModificationOnClassOutsidePackageWithRefTest", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackageTest.class/README.md b/src/SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackageTest.class/README.md deleted file mode 100644 index 7c5a1e4..0000000 --- a/src/SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackageTest.class/README.md +++ /dev/null @@ -1,8 +0,0 @@ -Data for SmartTest tests on the testForAnInstanceVariable:. - -Methods of this class have long name in order to be unique and explicit. -Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. - -We will use this that to assert that SmartTest behaves correctly when dealing with modifications on instance variables. - -This class uses an instance variable contained inside a class in a different package. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackageTest.class/instance/testModificationOnVariableOutsidePackage.st b/src/SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackageTest.class/instance/testModificationOnVariableOutsidePackage.st deleted file mode 100644 index a419d7a..0000000 --- a/src/SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackageTest.class/instance/testModificationOnVariableOutsidePackage.st +++ /dev/null @@ -1,5 +0,0 @@ -tests -testModificationOnVariableOutsidePackage -|anObject| -anObject := ('SmTClassP1','ModificationOnVariable')asClass new. -anObject instVarModificationOnVariableOutsidePackage \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackageTest.class/properties.json b/src/SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackageTest.class/properties.json deleted file mode 100644 index 6f948eb..0000000 --- a/src/SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackageTest.class/properties.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "commentStamp" : "eleonoreW 6/11/2018 15:46", - "super" : "TestCase", - "category" : "SmartTestDataOutsideP2-ModificationOnVariable-Tests", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "instVarModificationOnVariableOutsidePackage" - ], - "name" : "SmTClassP1ModificationOnVariableOutsidePackageTest", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/SmTClassP2.class/README.md b/src/SmartTestDataOutsideP2.package/SmTClassP2.class/README.md deleted file mode 100644 index da2fcc4..0000000 --- a/src/SmartTestDataOutsideP2.package/SmTClassP2.class/README.md +++ /dev/null @@ -1,10 +0,0 @@ -Data for SmartTest tests on the filters (default, defaultClass, restricted package). - -Methods of this class have long name in order to be unique and explicit. -Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. - -In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). - -This class is not referenced anywhere (we used concatenation to be sure). - -The methods and tests in this package are not located in the same package as the modified method. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/SmTClassP2.class/instance/method2SecondLevelSendersOutsidePackageWithTestInside.st b/src/SmartTestDataOutsideP2.package/SmTClassP2.class/instance/method2SecondLevelSendersOutsidePackageWithTestInside.st deleted file mode 100644 index 53a8993..0000000 --- a/src/SmartTestDataOutsideP2.package/SmTClassP2.class/instance/method2SecondLevelSendersOutsidePackageWithTestInside.st +++ /dev/null @@ -1,6 +0,0 @@ -method2 -method2SecondLevelSendersOutsidePackageWithTestInside - "Data for tests: this method calls a method not from the same package (located in SmartTestDataOutsideP1), - this method is called by a test from the same package" - "In order to be sure that this method does not reference any class, we don't use directly the class but go through their name with a concatenation and then transform them into class" -^ ('SmTClass','P1') asClass new method1SecondLevelSendersOutsidePackageWithTestInside \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/SmTClassP2.class/instance/method2SecondLevelSendersOutsidePackageWithTestOutside.st b/src/SmartTestDataOutsideP2.package/SmTClassP2.class/instance/method2SecondLevelSendersOutsidePackageWithTestOutside.st deleted file mode 100644 index 1724d7b..0000000 --- a/src/SmartTestDataOutsideP2.package/SmTClassP2.class/instance/method2SecondLevelSendersOutsidePackageWithTestOutside.st +++ /dev/null @@ -1,6 +0,0 @@ -method2 -method2SecondLevelSendersOutsidePackageWithTestOutside - "Data for tests: this method calls a method not from the same package (located in SmartTestDataOutsideP1), - this method is called by a test not from the same package (located in SmartTestDataOutsideP1)" - "In order to be sure that this method does not reference any class, we don't use directly the class but go through their name with a concatenation and then transform them into class" -^ ('SmTClass','P1') asClass new method1SecondLevelSendersOutsidePackageWithTestOutside \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/SmTClassP2.class/properties.json b/src/SmartTestDataOutsideP2.package/SmTClassP2.class/properties.json deleted file mode 100644 index dee3199..0000000 --- a/src/SmartTestDataOutsideP2.package/SmTClassP2.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/11/2018 13:40", - "super" : "Object", - "category" : "SmartTestDataOutsideP2-ModificationOnMethod-WithoutRef", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTClassP2", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/README.md b/src/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/README.md deleted file mode 100644 index 3bb3a41..0000000 --- a/src/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/README.md +++ /dev/null @@ -1,6 +0,0 @@ -Data for SmartTest tests on the DefaultClassPackage filter. - -Methods of this class have long name in order to be unique and explicit. - -Being unique, the senders of each method are controlled and consequently the tests are independent the one from the others. -In this Class, we implement methods that make references to different class to the package SMartTestDataOutsideP1. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/instance/referenceToSmTClassP1FirstLevelSendersOutsideWithRefInPackage.st b/src/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/instance/referenceToSmTClassP1FirstLevelSendersOutsideWithRefInPackage.st deleted file mode 100644 index 7b0e944..0000000 --- a/src/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/instance/referenceToSmTClassP1FirstLevelSendersOutsideWithRefInPackage.st +++ /dev/null @@ -1,4 +0,0 @@ -referenceInPackage -"as yet unclassified" -referenceToSmTClassP1FirstLevelSendersOutsideWithRefInPackage -^SmTClassP1FirstLevelSendersOutsideWithRefInPackage \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/instance/referenceToSmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.st b/src/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/instance/referenceToSmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.st deleted file mode 100644 index 2a29e87..0000000 --- a/src/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/instance/referenceToSmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.st +++ /dev/null @@ -1,4 +0,0 @@ -referenceInPackage -"as yet unclassified" -referenceToSmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage -^SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/instance/referenceToSmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.st b/src/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/instance/referenceToSmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.st deleted file mode 100644 index 9690edb..0000000 --- a/src/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/instance/referenceToSmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.st +++ /dev/null @@ -1,4 +0,0 @@ -referenceInPackage -"as yet unclassified" -referenceToSmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage -^SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/properties.json b/src/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/properties.json deleted file mode 100644 index 7f96c35..0000000 --- a/src/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/17/2018 08:45", - "super" : "Object", - "category" : "SmartTestDataOutsideP2-ModificationOnMethod-References", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTClassP2ReferencesInPackage", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/instance/method2SecondLevelSendersOutsideTestInsideWithRefInClass.st b/src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/instance/method2SecondLevelSendersOutsideTestInsideWithRefInClass.st deleted file mode 100644 index 40bc55b..0000000 --- a/src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/instance/method2SecondLevelSendersOutsideTestInsideWithRefInClass.st +++ /dev/null @@ -1,3 +0,0 @@ -method2 -method2SecondLevelSendersOutsideTestInsideWithRefInClass -^('SmTClassP1SecondLevelSendersOutsideTestInsideWithRefIn','Class') asClass new method1SecondLevelSendersOutsideTestInsideWithRefInClass. diff --git a/src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/instance/refToSmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.st b/src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/instance/refToSmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.st deleted file mode 100644 index c4a465b..0000000 --- a/src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/instance/refToSmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.st +++ /dev/null @@ -1,3 +0,0 @@ -references -refToSmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass -^ SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass new. diff --git a/src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/properties.json b/src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/properties.json deleted file mode 100644 index 94f3220..0000000 --- a/src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/17/2018 08:53", - "super" : "Object", - "category" : "SmartTestDataOutsideP2-ModificationOnMethod-SenderOutTestInWithRef", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInMethod.class/instance/method2SecondLevelSendersOutsideTestInsideWithRefInMethod.st b/src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInMethod.class/instance/method2SecondLevelSendersOutsideTestInsideWithRefInMethod.st deleted file mode 100644 index 78856e9..0000000 --- a/src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInMethod.class/instance/method2SecondLevelSendersOutsideTestInsideWithRefInMethod.st +++ /dev/null @@ -1,3 +0,0 @@ -method2 -method2SecondLevelSendersOutsideTestInsideWithRefInMethod -^SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod new method1SecondLevelSendersOutsideTestInsideWithRefInMethod. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInMethod.class/properties.json b/src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInMethod.class/properties.json deleted file mode 100644 index 236dcf6..0000000 --- a/src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInMethod.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/17/2018 09:00", - "super" : "Object", - "category" : "SmartTestDataOutsideP2-ModificationOnMethod-SenderOutTestInWithRef", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInMethod", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage.class/instance/method2SecondLevelSendersOutsideTestInsideWithRefInPackage.st b/src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage.class/instance/method2SecondLevelSendersOutsideTestInsideWithRefInPackage.st deleted file mode 100644 index 538a95f..0000000 --- a/src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage.class/instance/method2SecondLevelSendersOutsideTestInsideWithRefInPackage.st +++ /dev/null @@ -1,3 +0,0 @@ -method2 -method2SecondLevelSendersOutsideTestInsideWithRefInPackage -^('SmTClassP1SecondLevelSendersOutsideTestInsideWithRefIn','Package') asClass new method1SecondLevelSendersOutsideTestInsideWithRefInPackage. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage.class/properties.json b/src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage.class/properties.json deleted file mode 100644 index dd9b12d..0000000 --- a/src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/17/2018 08:53", - "super" : "Object", - "category" : "SmartTestDataOutsideP2-ModificationOnMethod-SenderOutTestInWithRef", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/instance/method2SecondLevelSendersOutsideTestOutsideWithRefInMethod.st b/src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/instance/method2SecondLevelSendersOutsideTestOutsideWithRefInMethod.st deleted file mode 100644 index 7aab169..0000000 --- a/src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/instance/method2SecondLevelSendersOutsideTestOutsideWithRefInMethod.st +++ /dev/null @@ -1,3 +0,0 @@ -method2 -method2SecondLevelSendersOutsideTestOutsideWithRefInMethod -SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod >> #method1SecondLevelSendersOutsideTestOutsideWithRefInMethod. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/properties.json b/src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/properties.json deleted file mode 100644 index 17c63f7..0000000 --- a/src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/17/2018 10:51", - "super" : "Object", - "category" : "SmartTestDataOutsideP2-ModificationOnMethod-SenderOutTestOutWithRef", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefInMethod", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/README.md b/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/README.md deleted file mode 100644 index e6913c5..0000000 --- a/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/README.md +++ /dev/null @@ -1,11 +0,0 @@ -Data for SmartTest tests on the filters (default, defaultClass, restricted package). - -Methods of this class have long name in order to be unique and explicit. -Being unique, the senders of each method are controlled and consequently the tests are independent the one from the others. - -In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). - -If the name of the test contains 'method2', the test use the method method2, if the test contains 'method1', the test directly uses the modified method. - - -The methods and tests in this package are not located in the same package as the modified method. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/referenceToSmTClassP1FirstLevelSendersOutsideWithRefInClass.st b/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/referenceToSmTClassP1FirstLevelSendersOutsideWithRefInClass.st deleted file mode 100644 index c27b25f..0000000 --- a/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/referenceToSmTClassP1FirstLevelSendersOutsideWithRefInClass.st +++ /dev/null @@ -1,3 +0,0 @@ -references -referenceToSmTClassP1FirstLevelSendersOutsideWithRefInClass -^ SmTClassP1FirstLevelSendersOutsideWithRefInClass. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/referenceToSmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.st b/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/referenceToSmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.st deleted file mode 100644 index 71a5086..0000000 --- a/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/referenceToSmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.st +++ /dev/null @@ -1,3 +0,0 @@ -references -referenceToSmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass -^SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass new. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testExtensionMethod1FirstLevelSendersOutside.st b/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testExtensionMethod1FirstLevelSendersOutside.st deleted file mode 100644 index 25b76db..0000000 --- a/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testExtensionMethod1FirstLevelSendersOutside.st +++ /dev/null @@ -1,3 +0,0 @@ -testMethod1 -testExtensionMethod1FirstLevelSendersOutside -SmTExtensionP2Test >> #extensionMethod1FirstLevelSendersOutside. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod1FirstLevelSendersOutsidePackage.st b/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod1FirstLevelSendersOutsidePackage.st deleted file mode 100644 index 2749e5b..0000000 --- a/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod1FirstLevelSendersOutsidePackage.st +++ /dev/null @@ -1,5 +0,0 @@ -testMethod1 -testMethod1FirstLevelSendersOutsidePackage - "Data for tests: this method calls directly method1, which is not located in the same package" - "In order to be sure that this method does not reference any class, we don't use directly the class but go through their name with a concatenation and then transform them into class" - ^ ('SmTClass','P1') asClass new method1FirstLevelSendersOutsidePackage. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod1FirstLevelSendersOutsideWithRefInClass.st b/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod1FirstLevelSendersOutsideWithRefInClass.st deleted file mode 100644 index 60f6a1b..0000000 --- a/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod1FirstLevelSendersOutsideWithRefInClass.st +++ /dev/null @@ -1,4 +0,0 @@ -testMethod1 -testMethod1FirstLevelSendersOutsideWithRefInClass - "In order to be sure that this method does not reference any class, we don't use directly the class but go through their name with a concatenation and then transform them into class" -^ ('SmTClassP1','FirstLevelSendersOutsideWithRefInClass') asClass new method1FirstLevelSendersWithRefInClass. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod1FirstLevelSendersOutsideWithRefInMethod.st b/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod1FirstLevelSendersOutsideWithRefInMethod.st deleted file mode 100644 index 051a679..0000000 --- a/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod1FirstLevelSendersOutsideWithRefInMethod.st +++ /dev/null @@ -1,4 +0,0 @@ -testMethod1 -testMethod1FirstLevelSendersOutsideWithRefInMethod - "In order to be sure that this method does not reference any class, we don't use directly the class but go through their name with a concatenation and then transform them into class" -^SmTClassP1FirstLevelSendersOutsideWithRefInMethod new method1FirstLevelSendersWithRefInMethod. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod1FirstLevelSendersOutsideWithRefInPackage.st b/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod1FirstLevelSendersOutsideWithRefInPackage.st deleted file mode 100644 index ea2cea2..0000000 --- a/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod1FirstLevelSendersOutsideWithRefInPackage.st +++ /dev/null @@ -1,4 +0,0 @@ -testMethod1 -testMethod1FirstLevelSendersOutsideWithRefInPackage - "In order to be sure that this method does not reference any class, we don't use directly the class but go through their name with a concatenation and then transform them into class" -^('SmTClassP1','FirstLevelSendersOutsideWithRefInPackage') asClass new method1FirstLevelSendersWithRefInPackage. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInClass.st b/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInClass.st deleted file mode 100644 index 7e03d19..0000000 --- a/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInClass.st +++ /dev/null @@ -1,3 +0,0 @@ -testMethod2 -testMethod2SecondLevelSenderInsideTestOutsideWithRefInClass -^ ('SmTClass','P1SecondLevelSendersInsideTestOutsideWithRefInClass') asClass new method2SecondLevelSendersInsideTestOutsideWithRefInClass. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInMethod.st b/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInMethod.st deleted file mode 100644 index 003fd6b..0000000 --- a/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInMethod.st +++ /dev/null @@ -1,3 +0,0 @@ -testMethod2 -testMethod2SecondLevelSenderInsideTestOutsideWithRefInMethod -^ SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod new method2SecondLevelSendersInsideTestOutsideWithRefInMethod. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInPackage.st b/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInPackage.st deleted file mode 100644 index ef6cfaa..0000000 --- a/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInPackage.st +++ /dev/null @@ -1,3 +0,0 @@ -testMethod2 -testMethod2SecondLevelSenderInsideTestOutsideWithRefInPackage -SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage new method2SecondLevelSendersInsideTestOutsideWithRefInPackage. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod2SecondLevelSendersInsidePackageWithTestOutside.st b/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod2SecondLevelSendersInsidePackageWithTestOutside.st deleted file mode 100644 index 7a7cb10..0000000 --- a/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod2SecondLevelSendersInsidePackageWithTestOutside.st +++ /dev/null @@ -1,5 +0,0 @@ -testMethod2 -testMethod2SecondLevelSendersInsidePackageWithTestOutside - "Data for tests: this method calls a method not from the same package, which itself calls a method. Both are not from the same package as this test (both are located in SmartTestDataOutsideP1)" - "In order to be sure that this method does not reference any class, we don't use directly the class but go through their name with a concatenation and then transform them into class" - ^ ('SmTClass','P1') asClass new method2SecondLevelSendersInsidePackageWithTestOutside. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod2SecondLevelSendersOutsidePackageWithTestOutside.st b/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod2SecondLevelSendersOutsidePackageWithTestOutside.st deleted file mode 100644 index fb45d7e..0000000 --- a/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod2SecondLevelSendersOutsidePackageWithTestOutside.st +++ /dev/null @@ -1,5 +0,0 @@ -testMethod2 -testMethod2SecondLevelSendersOutsidePackageWithTestOutside -"Data for tests: this method calls a method from the same package (located in SmartTestDataOutsideP1), which itself calls a method not from the same package (located in SmartTestDataOutsideP1)" -"In order to be sure that this method does not reference any class, we don't use directly the class but go through their name with a concatenation and then transform them into class" - ^ ('SmTClass','P2') asClass new method2SecondLevelSendersOutsidePackageWithTestOutside. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/properties.json b/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/properties.json deleted file mode 100644 index 7ab592e..0000000 --- a/src/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/11/2018 11:55", - "super" : "TestCase", - "category" : "SmartTestDataOutsideP2-ModificationOnMethod-Tests", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTClassTestP2Test", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/SmTExtensionP2Test.class/README.md b/src/SmartTestDataOutsideP2.package/SmTExtensionP2Test.class/README.md deleted file mode 100644 index 7366ace..0000000 --- a/src/SmartTestDataOutsideP2.package/SmTExtensionP2Test.class/README.md +++ /dev/null @@ -1 +0,0 @@ -Data for the tests for an extension method. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/SmTExtensionP2Test.class/properties.json b/src/SmartTestDataOutsideP2.package/SmTExtensionP2Test.class/properties.json deleted file mode 100644 index ec7b54e..0000000 --- a/src/SmartTestDataOutsideP2.package/SmTExtensionP2Test.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "eleonoreW 6/11/2018 14:43", - "super" : "TestCase", - "category" : "SmartTestDataOutsideP2-ModificationOnMethod-ExtensionMethod-Test", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTExtensionP2Test", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/monticello.meta/categories.st b/src/SmartTestDataOutsideP2.package/monticello.meta/categories.st deleted file mode 100644 index d86853b..0000000 --- a/src/SmartTestDataOutsideP2.package/monticello.meta/categories.st +++ /dev/null @@ -1,9 +0,0 @@ -SystemOrganization addCategory: #SmartTestDataOutsideP2! -SystemOrganization addCategory: 'SmartTestDataOutsideP2-ModificationOnClass-Tests'! -SystemOrganization addCategory: 'SmartTestDataOutsideP2-ModificationOnMethod-ExtensionMethod-Test'! -SystemOrganization addCategory: 'SmartTestDataOutsideP2-ModificationOnMethod-References'! -SystemOrganization addCategory: 'SmartTestDataOutsideP2-ModificationOnMethod-SenderOutTestInWithRef'! -SystemOrganization addCategory: 'SmartTestDataOutsideP2-ModificationOnMethod-SenderOutTestOutWithRef'! -SystemOrganization addCategory: 'SmartTestDataOutsideP2-ModificationOnMethod-Tests'! -SystemOrganization addCategory: 'SmartTestDataOutsideP2-ModificationOnMethod-WithoutRef'! -SystemOrganization addCategory: 'SmartTestDataOutsideP2-ModificationOnVariable-Tests'! diff --git a/src/SmartTestDataOutsideP2.package/monticello.meta/initializers.st b/src/SmartTestDataOutsideP2.package/monticello.meta/initializers.st deleted file mode 100644 index e69de29..0000000 diff --git a/src/SmartTestDataOutsideP2.package/monticello.meta/package b/src/SmartTestDataOutsideP2.package/monticello.meta/package deleted file mode 100644 index bdeaca8..0000000 --- a/src/SmartTestDataOutsideP2.package/monticello.meta/package +++ /dev/null @@ -1 +0,0 @@ -(name 'SmartTestDataOutsideP2') \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/properties.json b/src/SmartTestDataOutsideP2.package/properties.json deleted file mode 100644 index 6f31cf5..0000000 --- a/src/SmartTestDataOutsideP2.package/properties.json +++ /dev/null @@ -1 +0,0 @@ -{ } \ No newline at end of file diff --git a/src/SmartTestDataOutsideP2.package/SmTClassModificationOnClassOutsidePackageWithRefTest.class/README.md b/src/SmartTestDataOutsideP2/SmTClassModificationOnClassOutsidePackageWithRefTest.class.st similarity index 56% rename from src/SmartTestDataOutsideP2.package/SmTClassModificationOnClassOutsidePackageWithRefTest.class/README.md rename to src/SmartTestDataOutsideP2/SmTClassModificationOnClassOutsidePackageWithRefTest.class.st index 66ee0bc..bec2176 100644 --- a/src/SmartTestDataOutsideP2.package/SmTClassModificationOnClassOutsidePackageWithRefTest.class/README.md +++ b/src/SmartTestDataOutsideP2/SmTClassModificationOnClassOutsidePackageWithRefTest.class.st @@ -1,3 +1,4 @@ +" Data for SmartTest tests on the testForAnInstanceVariable:. Methods of this class have long name in order to be unique and explicit. @@ -5,4 +6,15 @@ Being unique, the senders of each method are mastered and consequently the tests We will use this that to assert that SmartTest behaves correctly when dealing with modifications on instance variables. -This class has an instance variable used inside the class in a test the instance variable is located outside of this package (in "SmartTestDataOutsideP1"). \ No newline at end of file +This class has an instance variable used inside the class in a test the instance variable is located outside of this package (in ""SmartTestDataOutsideP1""). +" +Class { + #name : #SmTClassModificationOnClassOutsidePackageWithRefTest, + #superclass : #TestCase, + #category : 'SmartTestDataOutsideP2-ModificationOnClass-Tests' +} + +{ #category : #tests } +SmTClassModificationOnClassOutsidePackageWithRefTest >> testRefToSmTClassModificationOnClassOutsidePackageWithRef [ +SmTClassModificationOnClassOutsidePackageWithRef new. +] diff --git a/src/SmartTestDataOutsideP2/SmTClassP1ModificationOnVariableOutsidePackageTest.class.st b/src/SmartTestDataOutsideP2/SmTClassP1ModificationOnVariableOutsidePackageTest.class.st new file mode 100644 index 0000000..539387a --- /dev/null +++ b/src/SmartTestDataOutsideP2/SmTClassP1ModificationOnVariableOutsidePackageTest.class.st @@ -0,0 +1,25 @@ +" +Data for SmartTest tests on the testForAnInstanceVariable:. + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +We will use this that to assert that SmartTest behaves correctly when dealing with modifications on instance variables. + +This class uses an instance variable contained inside a class in a different package. +" +Class { + #name : #SmTClassP1ModificationOnVariableOutsidePackageTest, + #superclass : #TestCase, + #instVars : [ + 'instVarModificationOnVariableOutsidePackage' + ], + #category : 'SmartTestDataOutsideP2-ModificationOnVariable-Tests' +} + +{ #category : #tests } +SmTClassP1ModificationOnVariableOutsidePackageTest >> testModificationOnVariableOutsidePackage [ +|anObject| +anObject := ('SmTClassP1','ModificationOnVariable')asClass new. +anObject instVarModificationOnVariableOutsidePackage +] diff --git a/src/SmartTestDataOutsideP2/SmTClassP2.class.st b/src/SmartTestDataOutsideP2/SmTClassP2.class.st new file mode 100644 index 0000000..a4dcc45 --- /dev/null +++ b/src/SmartTestDataOutsideP2/SmTClassP2.class.st @@ -0,0 +1,33 @@ +" +Data for SmartTest tests on the filters (default, defaultClass, restricted package). + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. + +In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). + +This class is not referenced anywhere (we used concatenation to be sure). + +The methods and tests in this package are not located in the same package as the modified method. +" +Class { + #name : #SmTClassP2, + #superclass : #Object, + #category : 'SmartTestDataOutsideP2-ModificationOnMethod-WithoutRef' +} + +{ #category : #method2 } +SmTClassP2 >> method2SecondLevelSendersOutsidePackageWithTestInside [ + "Data for tests: this method calls a method not from the same package (located in SmartTestDataOutsideP1), + this method is called by a test from the same package" + "In order to be sure that this method does not reference any class, we don't use directly the class but go through their name with a concatenation and then transform them into class" +^ ('SmTClass','P1') asClass new method1SecondLevelSendersOutsidePackageWithTestInside +] + +{ #category : #method2 } +SmTClassP2 >> method2SecondLevelSendersOutsidePackageWithTestOutside [ + "Data for tests: this method calls a method not from the same package (located in SmartTestDataOutsideP1), + this method is called by a test not from the same package (located in SmartTestDataOutsideP1)" + "In order to be sure that this method does not reference any class, we don't use directly the class but go through their name with a concatenation and then transform them into class" +^ ('SmTClass','P1') asClass new method1SecondLevelSendersOutsidePackageWithTestOutside +] diff --git a/src/SmartTestDataOutsideP2/SmTClassP2ReferencesInPackage.class.st b/src/SmartTestDataOutsideP2/SmTClassP2ReferencesInPackage.class.st new file mode 100644 index 0000000..739f794 --- /dev/null +++ b/src/SmartTestDataOutsideP2/SmTClassP2ReferencesInPackage.class.st @@ -0,0 +1,28 @@ +" +Data for SmartTest tests on the DefaultClassPackage filter. + +Methods of this class have long name in order to be unique and explicit. + +Being unique, the senders of each method are controlled and consequently the tests are independent the one from the others. +In this Class, we implement methods that make references to different class to the package SMartTestDataOutsideP1. +" +Class { + #name : #SmTClassP2ReferencesInPackage, + #superclass : #Object, + #category : 'SmartTestDataOutsideP2-ModificationOnMethod-References' +} + +{ #category : #referenceInPackage } +SmTClassP2ReferencesInPackage >> referenceToSmTClassP1FirstLevelSendersOutsideWithRefInPackage [ +^SmTClassP1FirstLevelSendersOutsideWithRefInPackage +] + +{ #category : #referenceInPackage } +SmTClassP2ReferencesInPackage >> referenceToSmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage [ +^SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage +] + +{ #category : #referenceInPackage } +SmTClassP2ReferencesInPackage >> referenceToSmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage [ +^SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage +] diff --git a/src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/README.md b/src/SmartTestDataOutsideP2/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class.st similarity index 54% rename from src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/README.md rename to src/SmartTestDataOutsideP2/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class.st index 004b631..829f2be 100644 --- a/src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/README.md +++ b/src/SmartTestDataOutsideP2/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class.st @@ -1,3 +1,4 @@ +" Data for SmartTest tests on the DefaultClassPackage filter. Methods of this class have long name in order to be unique and explicit. @@ -7,4 +8,22 @@ In the tests, it is always the methods whose name contains 'method1' that are mo In this class, there the first level sender of the modified method (which contains 'method2' in it's name). In another package, there is the modified method and its second level sender (the test itself,which contains 'testmethod2' in it's name). -In this class there is a method that references the class SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass located in the package SmTDataOutsideP1. \ No newline at end of file +In this class there is a method that references the class SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass located in the package SmTDataOutsideP1. +" +Class { + #name : #SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass, + #superclass : #Object, + #category : 'SmartTestDataOutsideP2-ModificationOnMethod-SenderOutTestInWithRef' +} + +{ #category : #method2 } +SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass >> method2SecondLevelSendersOutsideTestInsideWithRefInClass [ +^('SmTClassP1SecondLevelSendersOutsideTestInsideWithRefIn','Class') asClass new method1SecondLevelSendersOutsideTestInsideWithRefInClass. + +] + +{ #category : #references } +SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass >> refToSmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass [ +^ SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass new. + +] diff --git a/src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInMethod.class/README.md b/src/SmartTestDataOutsideP2/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInMethod.class.st similarity index 67% rename from src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInMethod.class/README.md rename to src/SmartTestDataOutsideP2/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInMethod.class.st index 9ea612f..ff72de7 100644 --- a/src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInMethod.class/README.md +++ b/src/SmartTestDataOutsideP2/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInMethod.class.st @@ -1,3 +1,4 @@ +" Data for SmartTest tests on the DefaultClassPackage filter. Methods of this class have long name in order to be unique and explicit. @@ -7,4 +8,15 @@ In the tests, it is always the methods whose name contains 'method1' that are mo In this class, there the first level sender of the modified method (which contains 'method2' in it's name). In another package, there is the modified method and its second level sender (the test itself,which contains 'testmethod2' in it's name). -In this class the second level sender references directly the class of the modified method, SmTClassP1SecondLevelSenderOutsideTestInsideWithRefInMethod, located in the package SmTDataOutsideP1. \ No newline at end of file +In this class the second level sender references directly the class of the modified method, SmTClassP1SecondLevelSenderOutsideTestInsideWithRefInMethod, located in the package SmTDataOutsideP1. +" +Class { + #name : #SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInMethod, + #superclass : #Object, + #category : 'SmartTestDataOutsideP2-ModificationOnMethod-SenderOutTestInWithRef' +} + +{ #category : #method2 } +SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInMethod >> method2SecondLevelSendersOutsideTestInsideWithRefInMethod [ +^SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod new method1SecondLevelSendersOutsideTestInsideWithRefInMethod. +] diff --git a/src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage.class/README.md b/src/SmartTestDataOutsideP2/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage.class.st similarity index 67% rename from src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage.class/README.md rename to src/SmartTestDataOutsideP2/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage.class.st index 118e7ab..23632d0 100644 --- a/src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage.class/README.md +++ b/src/SmartTestDataOutsideP2/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage.class.st @@ -1,3 +1,4 @@ +" Data for SmartTest tests on the DefaultClassPackage filter. Methods of this class have long name in order to be unique and explicit. @@ -8,4 +9,15 @@ In the tests, it is always the methods whose name contains 'method1' that are mo In this class, there the first level sender of the modified method (which contains 'method2' in it's name). In another package, there is the modified method and its second level sender (the test itself,which contains 'testmethod2' in it's name). In this class there no method that references the class SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod located in the package SmTDataOutsideP1. -There is a method in SmTClassP2ReferencesInPackage that references the class SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod. \ No newline at end of file +There is a method in SmTClassP2ReferencesInPackage that references the class SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod. +" +Class { + #name : #SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage, + #superclass : #Object, + #category : 'SmartTestDataOutsideP2-ModificationOnMethod-SenderOutTestInWithRef' +} + +{ #category : #method2 } +SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage >> method2SecondLevelSendersOutsideTestInsideWithRefInPackage [ +^('SmTClassP1SecondLevelSendersOutsideTestInsideWithRefIn','Package') asClass new method1SecondLevelSendersOutsideTestInsideWithRefInPackage. +] diff --git a/src/SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefInMethod.class/README.md b/src/SmartTestDataOutsideP2/SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefInMethod.class.st similarity index 68% rename from src/SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefInMethod.class/README.md rename to src/SmartTestDataOutsideP2/SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefInMethod.class.st index b690942..88defff 100644 --- a/src/SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefInMethod.class/README.md +++ b/src/SmartTestDataOutsideP2/SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefInMethod.class.st @@ -1,3 +1,4 @@ +" Data for SmartTest tests on the filters (defaultClass). Methods of this class have long name in order to be unique and explicit. @@ -9,3 +10,14 @@ If the name of the test contains 'method2', the test use the method method2, if In this class, the first and second level senders are located outside of the package of the modified method and in two different package. We test two different setup, one in which both method2 and testMethod2 references directly the class of method1, and another in which method2 references the class of method1 and testMethod2 references the class of method2. +" +Class { + #name : #SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefInMethod, + #superclass : #Object, + #category : 'SmartTestDataOutsideP2-ModificationOnMethod-SenderOutTestOutWithRef' +} + +{ #category : #method2 } +SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefInMethod >> method2SecondLevelSendersOutsideTestOutsideWithRefInMethod [ +SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod >> #method1SecondLevelSendersOutsideTestOutsideWithRefInMethod. +] diff --git a/src/SmartTestDataOutsideP2/SmTClassTestP2Test.class.st b/src/SmartTestDataOutsideP2/SmTClassTestP2Test.class.st new file mode 100644 index 0000000..ecc19fb --- /dev/null +++ b/src/SmartTestDataOutsideP2/SmTClassTestP2Test.class.st @@ -0,0 +1,87 @@ +" +Data for SmartTest tests on the filters (default, defaultClass, restricted package). + +Methods of this class have long name in order to be unique and explicit. +Being unique, the senders of each method are controlled and consequently the tests are independent the one from the others. + +In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). + +If the name of the test contains 'method2', the test use the method method2, if the test contains 'method1', the test directly uses the modified method. + + +The methods and tests in this package are not located in the same package as the modified method. +" +Class { + #name : #SmTClassTestP2Test, + #superclass : #TestCase, + #category : 'SmartTestDataOutsideP2-ModificationOnMethod-Tests' +} + +{ #category : #references } +SmTClassTestP2Test >> referenceToSmTClassP1FirstLevelSendersOutsideWithRefInClass [ +^ SmTClassP1FirstLevelSendersOutsideWithRefInClass. +] + +{ #category : #references } +SmTClassTestP2Test >> referenceToSmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass [ +^SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass new. +] + +{ #category : #testMethod1 } +SmTClassTestP2Test >> testExtensionMethod1FirstLevelSendersOutside [ +SmTExtensionP2Test >> #extensionMethod1FirstLevelSendersOutside. +] + +{ #category : #testMethod1 } +SmTClassTestP2Test >> testMethod1FirstLevelSendersOutsidePackage [ + "Data for tests: this method calls directly method1, which is not located in the same package" + "In order to be sure that this method does not reference any class, we don't use directly the class but go through their name with a concatenation and then transform them into class" + ^ ('SmTClass','P1') asClass new method1FirstLevelSendersOutsidePackage. +] + +{ #category : #testMethod1 } +SmTClassTestP2Test >> testMethod1FirstLevelSendersOutsideWithRefInClass [ + "In order to be sure that this method does not reference any class, we don't use directly the class but go through their name with a concatenation and then transform them into class" +^ ('SmTClassP1','FirstLevelSendersOutsideWithRefInClass') asClass new method1FirstLevelSendersWithRefInClass. +] + +{ #category : #testMethod1 } +SmTClassTestP2Test >> testMethod1FirstLevelSendersOutsideWithRefInMethod [ + "In order to be sure that this method does not reference any class, we don't use directly the class but go through their name with a concatenation and then transform them into class" +^SmTClassP1FirstLevelSendersOutsideWithRefInMethod new method1FirstLevelSendersWithRefInMethod. +] + +{ #category : #testMethod1 } +SmTClassTestP2Test >> testMethod1FirstLevelSendersOutsideWithRefInPackage [ + "In order to be sure that this method does not reference any class, we don't use directly the class but go through their name with a concatenation and then transform them into class" +^('SmTClassP1','FirstLevelSendersOutsideWithRefInPackage') asClass new method1FirstLevelSendersWithRefInPackage. +] + +{ #category : #testMethod2 } +SmTClassTestP2Test >> testMethod2SecondLevelSenderInsideTestOutsideWithRefInClass [ +^ ('SmTClass','P1SecondLevelSendersInsideTestOutsideWithRefInClass') asClass new method2SecondLevelSendersInsideTestOutsideWithRefInClass. +] + +{ #category : #testMethod2 } +SmTClassTestP2Test >> testMethod2SecondLevelSenderInsideTestOutsideWithRefInMethod [ +^ SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod new method2SecondLevelSendersInsideTestOutsideWithRefInMethod. +] + +{ #category : #testMethod2 } +SmTClassTestP2Test >> testMethod2SecondLevelSenderInsideTestOutsideWithRefInPackage [ +SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage new method2SecondLevelSendersInsideTestOutsideWithRefInPackage. +] + +{ #category : #testMethod2 } +SmTClassTestP2Test >> testMethod2SecondLevelSendersInsidePackageWithTestOutside [ + "Data for tests: this method calls a method not from the same package, which itself calls a method. Both are not from the same package as this test (both are located in SmartTestDataOutsideP1)" + "In order to be sure that this method does not reference any class, we don't use directly the class but go through their name with a concatenation and then transform them into class" + ^ ('SmTClass','P1') asClass new method2SecondLevelSendersInsidePackageWithTestOutside. +] + +{ #category : #testMethod2 } +SmTClassTestP2Test >> testMethod2SecondLevelSendersOutsidePackageWithTestOutside [ +"Data for tests: this method calls a method from the same package (located in SmartTestDataOutsideP1), which itself calls a method not from the same package (located in SmartTestDataOutsideP1)" +"In order to be sure that this method does not reference any class, we don't use directly the class but go through their name with a concatenation and then transform them into class" + ^ ('SmTClass','P2') asClass new method2SecondLevelSendersOutsidePackageWithTestOutside. +] diff --git a/src/SmartTestDataOutsideP2/SmTExtensionP2Test.class.st b/src/SmartTestDataOutsideP2/SmTExtensionP2Test.class.st new file mode 100644 index 0000000..94205b4 --- /dev/null +++ b/src/SmartTestDataOutsideP2/SmTExtensionP2Test.class.st @@ -0,0 +1,8 @@ +" +Data for the tests for an extension method. +" +Class { + #name : #SmTExtensionP2Test, + #superclass : #TestCase, + #category : 'SmartTestDataOutsideP2-ModificationOnMethod-ExtensionMethod-Test' +} diff --git a/src/SmartTestDataOutsideP2/package.st b/src/SmartTestDataOutsideP2/package.st new file mode 100644 index 0000000..23e9784 --- /dev/null +++ b/src/SmartTestDataOutsideP2/package.st @@ -0,0 +1 @@ +Package { #name : #SmartTestDataOutsideP2 } diff --git a/src/SmartTestDataOutsideP3.package/.filetree b/src/SmartTestDataOutsideP3.package/.filetree deleted file mode 100644 index 57a6797..0000000 --- a/src/SmartTestDataOutsideP3.package/.filetree +++ /dev/null @@ -1,5 +0,0 @@ -{ - "separateMethodMetaAndSource" : false, - "noMethodMetaData" : true, - "useCypressPropertiesFile" : true -} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP3.package/SmTClassTestP3.class/instance/testExtensionMethod2SecondLevelSenders.st b/src/SmartTestDataOutsideP3.package/SmTClassTestP3.class/instance/testExtensionMethod2SecondLevelSenders.st deleted file mode 100644 index a7d7fde..0000000 --- a/src/SmartTestDataOutsideP3.package/SmTClassTestP3.class/instance/testExtensionMethod2SecondLevelSenders.st +++ /dev/null @@ -1,3 +0,0 @@ -tests -testExtensionMethod2SecondLevelSenders -('SmTExtension','P3') asClass >> #extensionMethod2SecondLevelSenders . \ No newline at end of file diff --git a/src/SmartTestDataOutsideP3.package/SmTClassTestP3.class/instance/testMethod1ExtensionTestInside.st b/src/SmartTestDataOutsideP3.package/SmTClassTestP3.class/instance/testMethod1ExtensionTestInside.st deleted file mode 100644 index 0d86c73..0000000 --- a/src/SmartTestDataOutsideP3.package/SmTClassTestP3.class/instance/testMethod1ExtensionTestInside.st +++ /dev/null @@ -1,3 +0,0 @@ -tests -testMethod1ExtensionTestInside -('SmTExtension','P4') asClass >> #method1ExtensionTestInside diff --git a/src/SmartTestDataOutsideP3.package/SmTClassTestP3.class/properties.json b/src/SmartTestDataOutsideP3.package/SmTClassTestP3.class/properties.json deleted file mode 100644 index c736186..0000000 --- a/src/SmartTestDataOutsideP3.package/SmTClassTestP3.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/11/2018 13:41", - "super" : "TestCase", - "category" : "SmartTestDataOutsideP3", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTClassTestP3", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRef.class/properties.json b/src/SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRef.class/properties.json deleted file mode 100644 index 8e21d59..0000000 --- a/src/SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRef.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/17/2018 10:50", - "super" : "TestCase", - "category" : "SmartTestDataOutsideP3", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRef", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefInMethod.class/instance/testMethod2SecondLevelSenderOutsideTestOutsideWithRefInMethod.st b/src/SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefInMethod.class/instance/testMethod2SecondLevelSenderOutsideTestOutsideWithRefInMethod.st deleted file mode 100644 index efea04e..0000000 --- a/src/SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefInMethod.class/instance/testMethod2SecondLevelSenderOutsideTestOutsideWithRefInMethod.st +++ /dev/null @@ -1,4 +0,0 @@ -testMethod2 -testMethod2SecondLevelSenderOutsideTestOutsideWithRefInMethod -('SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefIn','Method') asClass >> #method2SecondLevelSendersOutsideTestOutsideWithRefInMethod. -SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod new. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefInMethod.class/properties.json b/src/SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefInMethod.class/properties.json deleted file mode 100644 index 4d70f13..0000000 --- a/src/SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefInMethod.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/17/2018 10:46", - "super" : "SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRef", - "category" : "SmartTestDataOutsideP3", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefInMethod", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP3.package/SmTExtensionP3.class/README.md b/src/SmartTestDataOutsideP3.package/SmTExtensionP3.class/README.md deleted file mode 100644 index 73b89fa..0000000 --- a/src/SmartTestDataOutsideP3.package/SmTExtensionP3.class/README.md +++ /dev/null @@ -1 +0,0 @@ -This class is an extension of the package P3, it is located in the package p4. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP3.package/SmTExtensionP3.class/properties.json b/src/SmartTestDataOutsideP3.package/SmTExtensionP3.class/properties.json deleted file mode 100644 index 832e5af..0000000 --- a/src/SmartTestDataOutsideP3.package/SmTExtensionP3.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "eleonoreW 6/11/2018 15:48", - "super" : "Object", - "category" : "SmartTestDataOutsideP3", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTExtensionP3", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP3.package/SmTExtensionP4.extension/instance/extensionMethodP4.st b/src/SmartTestDataOutsideP3.package/SmTExtensionP4.extension/instance/extensionMethodP4.st deleted file mode 100644 index 1210d2e..0000000 --- a/src/SmartTestDataOutsideP3.package/SmTExtensionP4.extension/instance/extensionMethodP4.st +++ /dev/null @@ -1,2 +0,0 @@ -*SmartTestDataOutsideP3 -extensionMethodP4 \ No newline at end of file diff --git a/src/SmartTestDataOutsideP3.package/SmTExtensionP4.extension/properties.json b/src/SmartTestDataOutsideP3.package/SmTExtensionP4.extension/properties.json deleted file mode 100644 index 3232f13..0000000 --- a/src/SmartTestDataOutsideP3.package/SmTExtensionP4.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "SmTExtensionP4" -} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP3.package/monticello.meta/categories.st b/src/SmartTestDataOutsideP3.package/monticello.meta/categories.st deleted file mode 100644 index e9a01f5..0000000 --- a/src/SmartTestDataOutsideP3.package/monticello.meta/categories.st +++ /dev/null @@ -1 +0,0 @@ -SystemOrganization addCategory: #SmartTestDataOutsideP3! diff --git a/src/SmartTestDataOutsideP3.package/monticello.meta/initializers.st b/src/SmartTestDataOutsideP3.package/monticello.meta/initializers.st deleted file mode 100644 index e69de29..0000000 diff --git a/src/SmartTestDataOutsideP3.package/monticello.meta/package b/src/SmartTestDataOutsideP3.package/monticello.meta/package deleted file mode 100644 index 5652444..0000000 --- a/src/SmartTestDataOutsideP3.package/monticello.meta/package +++ /dev/null @@ -1 +0,0 @@ -(name 'SmartTestDataOutsideP3') \ No newline at end of file diff --git a/src/SmartTestDataOutsideP3.package/properties.json b/src/SmartTestDataOutsideP3.package/properties.json deleted file mode 100644 index 6f31cf5..0000000 --- a/src/SmartTestDataOutsideP3.package/properties.json +++ /dev/null @@ -1 +0,0 @@ -{ } \ No newline at end of file diff --git a/src/SmartTestDataOutsideP3.package/SmTClassTestP3.class/README.md b/src/SmartTestDataOutsideP3/SmTClassTestP3.class.st similarity index 63% rename from src/SmartTestDataOutsideP3.package/SmTClassTestP3.class/README.md rename to src/SmartTestDataOutsideP3/SmTClassTestP3.class.st index 0d5ab97..7956b3d 100644 --- a/src/SmartTestDataOutsideP3.package/SmTClassTestP3.class/README.md +++ b/src/SmartTestDataOutsideP3/SmTClassTestP3.class.st @@ -1,3 +1,4 @@ +" Data for SmartTest tests on the filters (defaultClass). Methods of this class have long name in order to be unique and explicit. @@ -8,4 +9,21 @@ In the tests, it is always the methods whose name contains 'method1' that are mo If the name of the test contains 'method2', the test use the method method2, if the test contains 'method1', the test directly uses the modified method. -The methods and tests in this package are not located in the same package as the modified method. \ No newline at end of file +The methods and tests in this package are not located in the same package as the modified method. +" +Class { + #name : #SmTClassTestP3, + #superclass : #TestCase, + #category : 'SmartTestDataOutsideP3' +} + +{ #category : #tests } +SmTClassTestP3 >> testExtensionMethod2SecondLevelSenders [ +('SmTExtension','P3') asClass >> #extensionMethod2SecondLevelSenders . +] + +{ #category : #tests } +SmTClassTestP3 >> testMethod1ExtensionTestInside [ +('SmTExtension','P4') asClass >> #method1ExtensionTestInside + +] diff --git a/src/SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRef.class/README.md b/src/SmartTestDataOutsideP3/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRef.class.st similarity index 83% rename from src/SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRef.class/README.md rename to src/SmartTestDataOutsideP3/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRef.class.st index a11920a..fa25aed 100644 --- a/src/SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRef.class/README.md +++ b/src/SmartTestDataOutsideP3/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRef.class.st @@ -1,3 +1,4 @@ +" Data for SmartTest tests on the filters (defaultClass). Methods of this class have long name in order to be unique and explicit. @@ -7,4 +8,10 @@ In the tests, it is always the methods whose name contains 'method1' that are mo If the name of the test contains 'method2', the test use the method method2, if the test contains 'method1', the test directly uses the modified method. -In this class, the first and second level senders are located outside of the package of the modified method and in two different package. \ No newline at end of file +In this class, the first and second level senders are located outside of the package of the modified method and in two different package. +" +Class { + #name : #SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRef, + #superclass : #TestCase, + #category : 'SmartTestDataOutsideP3' +} diff --git a/src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/README.md b/src/SmartTestDataOutsideP3/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefInMethod.class.st similarity index 62% rename from src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/README.md rename to src/SmartTestDataOutsideP3/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefInMethod.class.st index 153b40d..a1fd1f9 100644 --- a/src/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/README.md +++ b/src/SmartTestDataOutsideP3/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefInMethod.class.st @@ -1,3 +1,4 @@ +" Data for SmartTest tests on the filters (defaultClass). Methods of this class have long name in order to be unique and explicit. @@ -8,4 +9,17 @@ In the tests, it is always the methods whose name contains 'method1' that are mo If the name of the test contains 'method2', the test use the method method2, if the test contains 'method1', the test directly uses the modified method. In this class, the first and second level senders are located outside of the package of the modified method and in two different package. -We test two different setup, one in which both method2 and testMethod2 references directly the class of method1, and another in which method2 references the class of method1 and testMethod2 references the class of method2. \ No newline at end of file +We test two different setup, one in which both method2 and testMethod2 references directly the class of method1, and another in which method2 references the class of method1 and testMethod2 references the class of method2. + +" +Class { + #name : #SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefInMethod, + #superclass : #SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRef, + #category : 'SmartTestDataOutsideP3' +} + +{ #category : #testMethod2 } +SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefInMethod >> testMethod2SecondLevelSenderOutsideTestOutsideWithRefInMethod [ +('SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefIn','Method') asClass >> #method2SecondLevelSendersOutsideTestOutsideWithRefInMethod. +SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod new. +] diff --git a/src/SmartTestDataOutsideP3/SmTExtensionP3.class.st b/src/SmartTestDataOutsideP3/SmTExtensionP3.class.st new file mode 100644 index 0000000..1e31af6 --- /dev/null +++ b/src/SmartTestDataOutsideP3/SmTExtensionP3.class.st @@ -0,0 +1,8 @@ +" +This class is an extension of the package P3, it is located in the package p4. +" +Class { + #name : #SmTExtensionP3, + #superclass : #Object, + #category : 'SmartTestDataOutsideP3' +} diff --git a/src/SmartTestDataOutsideP3/SmTExtensionP4.extension.st b/src/SmartTestDataOutsideP3/SmTExtensionP4.extension.st new file mode 100644 index 0000000..e37a9f4 --- /dev/null +++ b/src/SmartTestDataOutsideP3/SmTExtensionP4.extension.st @@ -0,0 +1,5 @@ +Extension { #name : #SmTExtensionP4 } + +{ #category : #'*SmartTestDataOutsideP3' } +SmTExtensionP4 >> extensionMethodP4 [ +] diff --git a/src/SmartTestDataOutsideP3/package.st b/src/SmartTestDataOutsideP3/package.st new file mode 100644 index 0000000..8700f5b --- /dev/null +++ b/src/SmartTestDataOutsideP3/package.st @@ -0,0 +1 @@ +Package { #name : #SmartTestDataOutsideP3 } diff --git a/src/SmartTestDataOutsideP4.package/.filetree b/src/SmartTestDataOutsideP4.package/.filetree deleted file mode 100644 index 57a6797..0000000 --- a/src/SmartTestDataOutsideP4.package/.filetree +++ /dev/null @@ -1,5 +0,0 @@ -{ - "separateMethodMetaAndSource" : false, - "noMethodMetaData" : true, - "useCypressPropertiesFile" : true -} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP4.package/SmTExtensionP4.class/README.md b/src/SmartTestDataOutsideP4.package/SmTExtensionP4.class/README.md deleted file mode 100644 index 73b89fa..0000000 --- a/src/SmartTestDataOutsideP4.package/SmTExtensionP4.class/README.md +++ /dev/null @@ -1 +0,0 @@ -This class is an extension of the package P3, it is located in the package p4. \ No newline at end of file diff --git a/src/SmartTestDataOutsideP4.package/SmTExtensionP4.class/instance/method1ExtensionTestInside.st b/src/SmartTestDataOutsideP4.package/SmTExtensionP4.class/instance/method1ExtensionTestInside.st deleted file mode 100644 index ef5c3d1..0000000 --- a/src/SmartTestDataOutsideP4.package/SmTExtensionP4.class/instance/method1ExtensionTestInside.st +++ /dev/null @@ -1,2 +0,0 @@ -method1 -method1ExtensionTestInside \ No newline at end of file diff --git a/src/SmartTestDataOutsideP4.package/SmTExtensionP4.class/properties.json b/src/SmartTestDataOutsideP4.package/SmTExtensionP4.class/properties.json deleted file mode 100644 index 66eb7e6..0000000 --- a/src/SmartTestDataOutsideP4.package/SmTExtensionP4.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "eleonoreW 6/11/2018 15:47", - "super" : "Object", - "category" : "SmartTestDataOutsideP4", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTExtensionP4", - "type" : "normal" -} \ No newline at end of file diff --git a/src/SmartTestDataOutsideP4.package/monticello.meta/categories.st b/src/SmartTestDataOutsideP4.package/monticello.meta/categories.st deleted file mode 100644 index dba4d10..0000000 --- a/src/SmartTestDataOutsideP4.package/monticello.meta/categories.st +++ /dev/null @@ -1 +0,0 @@ -SystemOrganization addCategory: #SmartTestDataOutsideP4! diff --git a/src/SmartTestDataOutsideP4.package/monticello.meta/initializers.st b/src/SmartTestDataOutsideP4.package/monticello.meta/initializers.st deleted file mode 100644 index e69de29..0000000 diff --git a/src/SmartTestDataOutsideP4.package/monticello.meta/package b/src/SmartTestDataOutsideP4.package/monticello.meta/package deleted file mode 100644 index 1dc58cb..0000000 --- a/src/SmartTestDataOutsideP4.package/monticello.meta/package +++ /dev/null @@ -1 +0,0 @@ -(name 'SmartTestDataOutsideP4') \ No newline at end of file diff --git a/src/SmartTestDataOutsideP4.package/properties.json b/src/SmartTestDataOutsideP4.package/properties.json deleted file mode 100644 index 6f31cf5..0000000 --- a/src/SmartTestDataOutsideP4.package/properties.json +++ /dev/null @@ -1 +0,0 @@ -{ } \ No newline at end of file diff --git a/src/SmartTestDataOutsideP4/SmTExtensionP4.class.st b/src/SmartTestDataOutsideP4/SmTExtensionP4.class.st new file mode 100644 index 0000000..1607ebc --- /dev/null +++ b/src/SmartTestDataOutsideP4/SmTExtensionP4.class.st @@ -0,0 +1,12 @@ +" +This class is an extension of the package P3, it is located in the package p4. +" +Class { + #name : #SmTExtensionP4, + #superclass : #Object, + #category : 'SmartTestDataOutsideP4' +} + +{ #category : #method1 } +SmTExtensionP4 >> method1ExtensionTestInside [ +] diff --git a/src/SmartTestDataOutsideP4/package.st b/src/SmartTestDataOutsideP4/package.st new file mode 100644 index 0000000..8461b44 --- /dev/null +++ b/src/SmartTestDataOutsideP4/package.st @@ -0,0 +1 @@ +Package { #name : #SmartTestDataOutsideP4 } From 3148e1d171120174647bc9e48fec83d06d783f9a Mon Sep 17 00:00:00 2001 From: badetitou Date: Wed, 15 Aug 2018 16:58:37 +0200 Subject: [PATCH 149/150] remove old code --- BaselineOfSmartTest.package/.filetree | 5 - .../BaselineOfSmartTest.class/README.md | 0 .../instance/baseline..st | 8 -- .../instance/defineDependencies..st | 2 - .../instance/defineGroups..st | 5 - .../instance/definePackages..st | 12 --- .../BaselineOfSmartTest.class/properties.json | 11 --- .../monticello.meta/categories.st | 1 - .../monticello.meta/initializers.st | 0 .../monticello.meta/package | 1 - BaselineOfSmartTest.package/properties.json | 1 - ConfigurationOfSmartTest.package/.filetree | 5 - .../ConfigurationOfSmartTest.class/README.md | 0 .../class/DevelopmentSupport.st | 4 - .../class/baseConfigurationClassIfAbsent..st | 6 -- .../class/ensureMetacello.st | 3 - .../class/ensureMetacelloBaseConfiguration.st | 15 --- .../class/isMetacelloConfig.st | 3 - .../class/load.st | 4 - .../class/loadBleedingEdge.st | 4 - .../class/loadDevelopment.st | 4 - .../class/project.st | 3 - .../class/validate.st | 8 -- .../instance/customProjectAttributes.st | 3 - .../instance/dev01..st | 10 -- .../instance/development..st | 5 - .../instance/master..st | 8 -- .../instance/project.st | 14 --- .../instance/stable..st | 5 - .../properties.json | 15 --- .../monticello.meta/categories.st | 1 - .../monticello.meta/initializers.st | 0 .../monticello.meta/package | 1 - .../properties.json | 1 - SmartTest-Tests-Data.package/.filetree | 5 - .../SmTClass.class/README.md | 4 - .../SmTClass.class/instance/method1.st | 5 - .../SmTClass.class/instance/method2.st | 4 - .../SmTClass.class/instance/method3..st | 5 - .../SmTClass.class/instance/method4.st | 4 - .../SmTClass.class/properties.json | 14 --- .../SmTClass2.class/README.md | 4 - .../SmTClass2.class/instance/initialize.st | 3 - .../SmTClass2.class/properties.json | 14 --- .../SmTClassTest.class/README.md | 3 - .../SmTClassTest.class/instance/setUp.st | 3 - .../SmTClassTest.class/instance/tearDown.st | 3 - .../instance/testMethod1.st | 5 - .../instance/testMethod2.st | 5 - .../instance/testMethod3.st | 5 - .../instance/testMethod4.st | 5 - .../instance/testMethod5.st | 3 - .../SmTClassTest.class/properties.json | 11 --- .../SmTInheritClassTest.class/README.md | 2 - .../instance/setUp.st | 3 - .../SmTInheritClassTest.class/properties.json | 11 --- .../SmTSuperClassTest.class/README.md | 2 - .../class/isAbstract.st | 4 - .../instance/testMethod1.st | 4 - .../SmTSuperClassTest.class/properties.json | 13 --- .../monticello.meta/categories.st | 1 - .../monticello.meta/initializers.st | 0 .../monticello.meta/package | 1 - SmartTest-Tests-Data.package/properties.json | 1 - SmartTest-Tests.package/.filetree | 5 - .../README.md | 1 - .../instance/cacheStrategy.st | 3 - .../properties.json | 11 --- .../README.md | 1 - .../instance/cacheStrategy.st | 3 - .../properties.json | 11 --- .../README.md | 1 - .../instance/cacheStrategy.st | 3 - .../properties.json | 11 --- .../README.md | 1 - .../instance/cacheStrategy.st | 3 - .../properties.json | 11 --- .../README.md | 1 - .../class/isAbstract.st | 3 - .../instance/dynamicFinder.st | 3 - .../testRunningTestMethod1ToBuildCache.st | 12 --- .../testRunningTestMethod2ToBuildCache.st | 36 ------- .../testRunningTestMethod5ToBuildCache.st | 11 --- .../properties.json | 11 --- .../SmTCacheBuilderTest.class/README.md | 1 - .../class/isAbstract.st | 4 - .../instance/cacheStrategy.st | 3 - .../instance/dynamicFinder.st | 3 - .../instance/searchTestMethodsFor..st | 4 - .../instance/setUp.st | 10 -- .../instance/tearDown.st | 5 - ...chTestsForStandardMethodWhileEmptyCache.st | 9 -- .../testRunningTestMethod1ToBuildCache.st | 11 --- .../testRunningTestMethod2ToBuildCache.st | 14 --- .../testRunningTestMethod5ToBuildCache.st | 12 --- .../SmTCacheBuilderTest.class/properties.json | 14 --- .../README.md | 1 - .../instance/cacheStrategy.st | 3 - .../properties.json | 11 --- .../README.md | 1 - .../instance/cacheStrategy.st | 3 - .../properties.json | 11 --- .../README.md | 1 - .../instance/cacheStrategy.st | 3 - .../properties.json | 11 --- .../README.md | 1 - .../instance/cacheStrategy.st | 3 - .../properties.json | 11 --- .../README.md | 1 - .../class/isAbstract.st | 3 - .../instance/dynamicFinder.st | 3 - .../properties.json | 11 --- .../SmTCacheNeverResetTest.class/README.md | 0 .../instance/strategyTested.st | 3 - .../properties.json | 11 --- .../README.md | 0 .../instance/strategyTested.st | 3 - .../instance/testResetAfter5MethodChange.st | 12 --- .../properties.json | 11 --- .../README.md | 0 .../instance/strategyTested.st | 3 - .../instance/testResetAfter1Commit.st | 6 -- .../properties.json | 11 --- .../SmTCacheResetOnDemandTest.class/README.md | 0 .../instance/strategyTested.st | 3 - .../instance/testResetAfter1Commit.st | 5 - .../instance/testResetAfter1MethodChange.st | 5 - .../instance/testResetAfter4MethodChange.st | 9 -- .../instance/testResetAfter5MethodChange.st | 9 -- .../properties.json | 11 --- .../SmTCacheTest.class/README.md | 5 - .../SmTCacheTest.class/class/isAbstract.st | 3 - .../SmTCacheTest.class/instance/initCache.st | 33 ------- .../SmTCacheTest.class/instance/setUp.st | 11 --- .../instance/strategyTested.st | 3 - .../instance/testInitCache.st | 3 - .../instance/testResetAfter1Commit.st | 5 - .../instance/testResetAfter1MethodChange.st | 5 - .../instance/testResetAfter4MethodChange.st | 8 -- .../instance/testResetAfter5MethodChange.st | 9 -- .../SmTCacheTest.class/properties.json | 14 --- .../README.md | 0 .../instance/initCache.st | 33 ------- .../instance/setUp.st | 10 -- .../instance/tearDown.st | 3 - .../instance/testModificationOnTest.st | 10 -- .../instance/testTestSelfSelected.st | 10 -- .../properties.json | 11 --- .../README.md | 0 .../instance/initCache.st | 33 ------- .../instance/setUp.st | 10 -- .../instance/tearDown.st | 3 - .../instance/testModificationOnTest.st | 10 -- .../instance/testTestSelfSelected.st | 10 -- .../properties.json | 11 --- .../README.md | 0 .../instance/initCache.st | 33 ------- .../instance/setUp.st | 10 -- .../instance/tearDown.st | 3 - .../instance/testModificationOnTest.st | 10 -- .../instance/testTestSelfSelected.st | 10 -- .../properties.json | 11 --- .../README.md | 1 - .../instance/initCache.st | 33 ------- .../instance/setUp.st | 10 -- .../instance/tearDown.st | 3 - .../instance/testModificationOnTest.st | 10 -- .../instance/testTestSelfSelected.st | 10 -- .../properties.json | 11 --- .../README.md | 1 - .../instance/initCache.st | 32 ------ .../instance/setUp.st | 10 -- .../properties.json | 11 --- .../SmTFilterAbstractTest.class/README.md | 46 --------- .../class/isAbstract.st | 4 - .../instanceVariableNamed.fromClass..st | 3 - .../instance/searchTestMethodsFor..st | 4 - .../instance/searchTestMethodsForAClass..st | 4 - .../searchTestsForInstVar.ofClass..st | 3 - .../instance/setUp.st | 22 ----- .../instance/tearDown.st | 4 - ...assAbstractTestCaseDoesntRedefineMethod.st | 10 -- ...estClassAbstractTestCaseRedefinesMethod.st | 8 -- .../instance/testClassInheritanceSubClass1.st | 8 -- .../instance/testClassInsidePackageWithRef.st | 8 -- .../testClassOutsidePackageWithRef.st | 8 -- .../instance/testClassSimpleTestCase.st | 8 -- .../instance/testClassTestsInside.st | 7 -- ...tExtensionMethodFirstLevelSendersInside.st | 7 -- ...ExtensionMethodFirstLevelSendersOutside.st | 7 -- ...ExtensionMethodSecondLevelSendersInside.st | 8 -- .../instance/testExtensionTestInside.st | 8 -- .../instance/testInstVarInsideClass.st | 9 -- .../instance/testInstVarInsidePackage.st | 9 -- .../instance/testInstVarOutsidePackage.st | 9 -- ...ardMethodFirstLevelSendersInsidePackage.st | 13 --- ...rdMethodFirstLevelSendersOutsidePackage.st | 13 --- ...evelSendersOutsidePackageWithRefInClass.st | 12 --- ...velSendersOutsidePackageWithRefInMethod.st | 12 --- ...elSendersOutsidePackageWithRefInPackage.st | 13 --- ...LevelSendersInsidePackageWithTestInside.st | 14 --- ...evelSendersInsidePackageWithTestOutside.st | 13 --- ...lSendersInsideTestOutsideWithRefInClass.st | 13 --- ...SendersInsideTestOutsideWithRefInMethod.st | 13 --- ...endersInsideTestOutsideWithRefInPackage.st | 13 --- ...evelSendersOutsidePackageWithTestInside.st | 14 --- ...velSendersOutsidePackageWithTestOutside.st | 13 --- ...lSendersOutsideTestInsideWithRefInClass.st | 13 --- ...SendersOutsideTestInsideWithRefInMethod.st | 13 --- ...endersOutsideTestInsideWithRefInPackage.st | 13 --- ...endersOutsideTestOutsideWithRefInMethod.st | 14 --- .../properties.json | 20 ---- .../SmTFinderAbstractTest.class/README.md | 7 -- .../class/isAbstract.st | 4 - .../instance/searchTestMethodsFor..st | 4 - .../instance/searchTestsForASetUpMethod..st | 3 - .../searchTestsForATearDownMethod..st | 3 - .../instance/searchTestsForATestMethod..st | 3 - .../instance/setUp.st | 12 --- .../instance/tearDown.st | 6 -- .../instance/testInheritance.st | 9 -- .../instance/testModificationOnInitialize.st | 16 --- .../instance/testModificationOnTest.st | 10 -- .../instance/testSetupMethodFindsTests.st | 12 --- ...testSetupMethodWithNonSetupFindsNoTests.st | 8 -- .../testStandardMethodFirstLevelSenders.st | 9 -- .../testStandardMethodSecondLevelSenders.st | 10 -- .../testStandardMethodThirdLevelSenders.st | 10 -- .../instance/testTearDownMethodFindsTests.st | 11 --- ...rDownMethodWithNoneTearDownFindsNoTests.st | 5 - .../instance/testTestSelfSelected.st | 10 -- .../properties.json | 22 ----- .../SmTOnModificationTest.class/README.md | 1 - .../instance/setUp.st | 4 - .../instance/tearDown.st | 4 - .../instance/testAdd.st | 10 -- .../instance/testGet.st | 16 --- .../properties.json | 13 --- .../SmTRunnerTest.class/README.md | 1 - .../SmTRunnerTest.class/instance/noop.st | 3 - .../SmTRunnerTest.class/instance/setUp.st | 3 - .../instance/testIconForTestResultGreen.st | 6 -- .../instance/testIconForTestResultRed.st | 7 -- .../instance/testIconForTestResultWhite.st | 7 -- .../instance/testIconForTestResultYellow.st | 8 -- .../instance/testRunCaseNotifyIconGreen.st | 13 --- .../instance/testRunCaseNotifyIconRed.st | 7 -- .../instance/testRunCaseNotifyIconYellow.st | 7 -- .../instance/testRunCasesNotifyIconGreen.st | 17 ---- .../instance/testRunCasesNotifyIconRed.st | 14 --- .../instance/testRunCasesNotifyIconYellow.st | 9 -- .../SmTRunnerTest.class/properties.json | 13 --- .../README.md | 6 -- .../instance/setUp.st | 5 - .../instance/testExtensionTestInside.st | 8 -- .../instance/testInstVarOutsidePackage.st | 9 -- ...evelSendersOutsidePackageWithRefInClass.st | 12 --- ...velSendersOutsidePackageWithRefInMethod.st | 12 --- ...elSendersOutsidePackageWithRefInPackage.st | 13 --- ...lSendersInsideTestOutsideWithRefInClass.st | 13 --- ...SendersInsideTestOutsideWithRefInMethod.st | 13 --- ...endersInsideTestOutsideWithRefInPackage.st | 13 --- ...lSendersOutsideTestInsideWithRefInClass.st | 13 --- ...SendersOutsideTestInsideWithRefInMethod.st | 13 --- ...endersOutsideTestInsideWithRefInPackage.st | 13 --- ...endersOutsideTestOutsideWithRefInMethod.st | 14 --- .../properties.json | 11 --- .../README.md | 5 - .../testClassOutsidePackageWithRef.st | 7 -- .../instance/testInstVarOutsidePackage.st | 9 -- .../properties.json | 11 --- .../README.md | 7 -- .../instance/setUp.st | 9 -- ...rdMethodFirstLevelSendersOutsidePackage.st | 13 --- ...evelSendersOutsidePackageWithRefInClass.st | 12 --- ...velSendersOutsidePackageWithRefInMethod.st | 12 --- ...elSendersOutsidePackageWithRefInPackage.st | 13 --- ...evelSendersInsidePackageWithTestOutside.st | 13 --- ...lSendersInsideTestOutsideWithRefInClass.st | 13 --- ...SendersInsideTestOutsideWithRefInMethod.st | 13 --- ...endersInsideTestOutsideWithRefInPackage.st | 13 --- ...evelSendersOutsidePackageWithTestInside.st | 12 --- ...velSendersOutsidePackageWithTestOutside.st | 12 --- ...lSendersOutsideTestInsideWithRefInClass.st | 13 --- ...SendersOutsideTestInsideWithRefInMethod.st | 13 --- ...endersOutsideTestInsideWithRefInPackage.st | 13 --- .../properties.json | 11 --- .../README.md | 6 -- .../instance/setUp.st | 7 -- .../testClassOutsidePackageWithRef.st | 7 -- ...ExtensionMethodFirstLevelSendersOutside.st | 6 -- .../instance/testInstVarOutsidePackage.st | 9 -- .../properties.json | 11 --- .../SmTSettingsBasicCacheTest.class/README.md | 0 .../instance/cacheStrategy.st | 3 - .../properties.json | 11 --- .../SmTSettingsCacheTest.class/README.md | 0 .../class/isAbstract.st | 3 - .../instance/cacheStrategy.st | 3 - .../instance/testChangeCacheStrategy.st | 7 -- .../properties.json | 11 --- .../README.md | 0 .../instance/filterStrategy.st | 3 - .../properties.json | 11 --- .../README.md | 0 .../instance/filterStrategy.st | 3 - .../properties.json | 11 --- .../README.md | 0 .../instance/filterStrategy.st | 3 - .../properties.json | 11 --- .../README.md | 0 .../instance/filterStrategy.st | 3 - .../properties.json | 11 --- .../README.md | 0 .../instance/dataForTestRegex.st | 3 - .../instance/filterStrategy.st | 3 - .../instance/setUp.st | 5 - .../instance/tearDown.st | 5 - .../instance/testChangeRegexWhenChanged.st | 4 - .../properties.json | 13 --- .../SmTSettingsFilterTest.class/README.md | 0 .../class/isAbstract.st | 3 - .../instance/filterStrategy.st | 3 - .../instance/testChangeFilterStrategy.st | 7 -- .../properties.json | 11 --- .../README.md | 0 .../instance/finderStrategy.st | 3 - .../properties.json | 11 --- .../README.md | 0 .../instance/finderStrategy.st | 3 - .../properties.json | 11 --- .../SmTSettingsFinderTest.class/README.md | 0 .../class/isAbstract.st | 3 - .../instance/finderStrategy.st | 3 - .../instance/testChangeFinderStrategy.st | 9 -- .../properties.json | 11 --- .../README.md | 0 .../instance/finderStrategy.st | 3 - .../properties.json | 11 --- .../SmTSettingsNoCacheTest.class/README.md | 0 .../instance/cacheStrategy.st | 3 - .../properties.json | 11 --- .../README.md | 1 - .../class/isAbstract.st | 3 - .../instance/dataForTestRegex.st | 3 - .../instance/setUp.st | 6 -- .../instance/tearDown.st | 5 - ...ChangeRegexSmTSpecifyPackagesNameFilter.st | 5 - .../properties.json | 14 --- .../README.md | 0 .../instance/runnerStrategy.st | 3 - .../properties.json | 11 --- .../README.md | 0 .../instance/runnerStrategy.st | 3 - .../properties.json | 11 --- .../README.md | 0 .../instance/runnerStrategy.st | 3 - .../properties.json | 11 --- .../SmTSettingsRunnerTest.class/README.md | 0 .../class/isAbstract.st | 3 - .../instance/runnerStrategy.st | 3 - .../instance/testChangeRunnerStrategy.st | 7 -- .../properties.json | 11 --- .../SmTSettingsTest.class/README.md | 1 - .../SmTSettingsTest.class/class/isAbstract.st | 3 - .../SmTSettingsTest.class/instance/setUp.st | 4 - .../instance/tearDown.st | 4 - .../SmTSettingsTest.class/properties.json | 13 --- .../README.md | 0 .../instance/getTestingStrategy.st | 3 - .../properties.json | 11 --- .../README.md | 0 .../instance/getTestingStrategy.st | 3 - .../properties.json | 11 --- .../README.md | 0 .../instance/getTestingStrategy.st | 3 - .../properties.json | 11 --- .../README.md | 0 .../instance/getTestingStrategy.st | 3 - .../properties.json | 11 --- .../README.md | 0 .../class/isAbstract.st | 3 - .../instance/getTestingStrategy.st | 3 - .../testChangeTestingStrategyStrategy.st | 8 -- .../properties.json | 11 --- .../README.md | 1 - .../instance/setUp.st | 4 - .../testStandardMethodSecondLevelSenders.st | 10 -- .../properties.json | 11 --- .../README.md | 3 - .../instance/setUp.st | 5 - .../instance/tearDown.st | 4 - .../properties.json | 11 --- .../README.md | 1 - .../instance/setUp.st | 5 - .../instance/testInheritance.st | 10 -- .../testStandardMethodFirstLevelSenders.st | 12 --- .../testStandardMethodSecondLevelSenders.st | 16 --- .../testStandardMethodThirdLevelSenders.st | 10 -- .../properties.json | 11 --- .../SmartFinderTest.class/README.md | 1 - .../instance/initCache.st | 31 ------ .../SmartFinderTest.class/instance/setUp.st | 9 -- .../instance/tearDown.st | 3 - .../instance/testChangeCacheClassFinder.st | 7 -- .../instance/testChangeFilterFinder.st | 7 -- .../testChangeFilterTryFindTestFinder.st | 7 -- .../testChangeFinderTestingStrategy.st | 7 -- .../testChangeRunnerTestingStrategy.st | 7 -- .../instance/testResetCache.st | 7 -- ...testTwoSmartFinderhaveTwoDifferentCache.st | 5 - .../SmartFinderTest.class/properties.json | 13 --- .../monticello.meta/categories.st | 8 -- .../monticello.meta/initializers.st | 0 .../monticello.meta/package | 1 - SmartTest-Tests.package/properties.json | 1 - SmartTest-UI.package/.filetree | 5 - .../README.md | 1 - .../class/canBeExecutedInContext..st | 3 - .../instance/decorateTableCell.using..st | 10 -- .../instance/description.st | 3 - .../instance/execute.st | 3 - .../properties.json | 11 --- .../README.md | 1 - .../instance/canBeExecutedInContext..st | 4 - .../instance/decorateTableCell.using..st | 8 -- .../instance/description.st | 3 - .../instance/execute.st | 2 - .../properties.json | 11 --- .../SmTAutoTestsWindows.class/README.md | 1 - .../class/defaultSpec.st | 6 -- .../instance/button.st | 4 - .../instance/extent.st | 3 - .../instance/icons.st | 4 - .../instance/initializePresenter.st | 7 -- .../instance/initializeWidgets.st | 7 -- .../instance/setList..st | 8 -- .../instance/testList.st | 4 - .../instance/title.st | 3 - .../SmTAutoTestsWindows.class/properties.json | 15 --- .../SmTBigButtonCollector.class/README.md | 1 - .../class/activated..st | 4 - .../class/activated.st | 3 - .../class/bigButton.st | 3 - .../class/initialize.st | 3 - .../class/reset.st | 3 - .../class/settingsOn..st | 23 ----- .../class/unload.st | 3 - .../instance/activated..st | 3 - .../instance/changeColorFromTestResult..st | 9 -- .../instance/collector..st | 4 - .../instance/collector.st | 3 - .../instance/disable.st | 5 - .../instance/enable.st | 5 - .../instance/initialize.st | 5 - .../instance/methodModified..st | 8 -- .../instance/notify.st | 17 ---- .../instance/updateList..st | 3 - .../updateNumberOfTheProgressCircle.st | 4 - .../instance/updateUIAfterAddingMethod..st | 4 - .../properties.json | 17 ---- .../SmTButtonResultWindow.class/README.md | 1 - .../class/defaultSpec.st | 6 -- .../instance/addToListTestsMethods..st | 7 -- .../instance/button..st | 3 - .../instance/button.st | 3 - .../instance/buttonMorph.st | 3 - .../instance/buttonText..st | 3 - .../instance/buttonText.st | 3 - .../instance/controler..st | 3 - .../instance/controler.st | 3 - .../instance/extent.st | 3 - .../fillFailedTestListFromTestResult..st | 16 --- .../instance/icons..st | 3 - .../instance/icons.st | 4 - .../instance/initializeWidgets.st | 19 ---- .../instance/setList..st | 8 -- .../instance/testList..st | 3 - .../instance/testList.st | 3 - .../instance/title.st | 3 - .../properties.json | 17 ---- .../SmTCollector.class/README.md | 1 - .../instance/addTestMethod..st | 3 - .../instance/addTestMethods..st | 3 - .../SmTCollector.class/instance/collector.st | 3 - .../SmTCollector.class/instance/flush.st | 3 - .../SmTCollector.class/properties.json | 11 --- .../SmTFivesMinutesCollector.class/README.md | 1 - .../class/addTestMethod..st | 3 - .../class/addTestMethods..st | 3 - .../class/start.st | 3 - .../class/stop.st | 3 - .../class/uniqueInstance.st | 3 - .../instance/collector.st | 3 - .../instance/process.st | 14 --- .../instance/reset.st | 3 - .../instance/showResult..st | 9 -- .../instance/start.st | 3 - .../instance/stop.st | 3 - .../properties.json | 16 --- .../SmTIconFabric.class/README.md | 1 - .../class/createIconForMethod..st | 17 ---- .../class/createIconForMethods..st | 17 ---- .../SmTIconFabric.class/properties.json | 11 --- .../SmTProgressCircle.class/README.md | 15 --- .../instance/controler..st | 3 - .../instance/drawOn..st | 8 -- .../instance/handlesMouseDown..st | 3 - .../instance/mouseDown..st | 4 - .../instance/percentage..st | 4 - .../instance/percentage.st | 3 - .../SmTProgressCircle.class/properties.json | 14 --- .../monticello.meta/categories.st | 5 - .../monticello.meta/initializers.st | 0 SmartTest-UI.package/monticello.meta/package | 1 - SmartTest-UI.package/properties.json | 1 - SmartTest.package/.filetree | 5 - .../instance/testCacheResetPreserveLinks.st | 9 -- .../properties.json | 3 - .../instance/asTestCase.st | 3 - .../instance/belongsToTestCase.st | 3 - .../instance/isTestMethod.st | 4 - .../instance/isTestSetUpMethod.st | 4 - .../instance/isTestTearDownMethod.st | 4 - .../CompiledMethod.extension/properties.json | 3 - ...withPercentage.borderWidth.borderColor..st | 15 --- ...withPercentage.borderWidth.borderColor..st | 10 -- ...rcentage.color.borderWidth.borderColor..st | 15 --- .../FormCanvas.extension/properties.json | 3 - .../instance/fillOval.withPercentage..st | 30 ------ .../GrafPort.extension/properties.json | 3 - .../instance/unmark.st | 3 - .../HDTestCoverage.extension/properties.json | 3 - .../ManifestSmartTest.class/README.md | 3 - .../class/description.st | 2 - .../class/preUnload.st | 4 - .../ManifestSmartTest.class/properties.json | 11 --- .../instance/undoLabel.st | 15 --- .../properties.json | 3 - .../instance/isInitializer.st | 3 - .../instance/senders.st | 3 - .../properties.json | 3 - .../instance/iconicButtons.st | 4 - .../ReProperty.extension/properties.json | 3 - .../SmTAnnouncer.class/README.md | 1 - .../SmTAnnouncer.class/class/announcer.st | 3 - .../class/shouldAnnounce.st | 3 - .../SmTAnnouncer.class/properties.json | 13 --- .../README.md | 3 - .../instance/resetCache.st | 3 - .../properties.json | 11 --- .../README.md | 3 - .../instance/initialize.st | 3 - .../instance/numberOfChange..st | 3 - .../instance/numberOfChange.st | 3 - .../instance/resetCache.st | 5 - .../properties.json | 13 --- .../README.md | 3 - .../instance/resetCacheForChange..st | 4 - .../properties.json | 11 --- .../SmTBasicCacheStrategy.class/README.md | 1 - .../instance/at..st | 3 - .../instance/at.ifAbsent..st | 3 - .../instance/at.ifPresent..st | 3 - .../instance/at.ifPresent.ifAbsent..st | 3 - .../instance/at.put..st | 3 - .../instance/currentCache.st | 3 - .../instance/relevantTestsFor..st | 3 - .../searchTestsForMethodReference..st | 3 - .../properties.json | 11 --- .../SmTCacheStrategy.class/README.md | 1 - .../SmTCacheStrategy.class/instance/at..st | 3 - .../instance/at.ifAbsent..st | 3 - .../instance/at.ifPresent..st | 3 - .../instance/at.ifPresent.ifAbsent..st | 3 - .../instance/at.put..st | 3 - .../SmTCacheStrategy.class/instance/cache..st | 3 - .../instance/currentCache.st | 3 - .../instance/disable.st | 5 - .../SmTCacheStrategy.class/instance/enable.st | 3 - .../instance/relevantTestsFor..st | 3 - .../instance/resetCache.st | 3 - .../instance/resetCacheForChange..st | 3 - .../searchTestsForMethodReference..st | 3 - .../SmTCacheStrategy.class/properties.json | 13 --- .../SmTClassNeedTestsCritique.class/README.md | 1 - .../instance/description.st | 3 - .../instance/title.st | 3 - .../properties.json | 11 --- .../README.md | 1 - .../class/for.by.tests..st | 5 - .../instance/description.st | 3 - .../properties.json | 11 --- .../SmTClassTestedRule.class/README.md | 1 - .../class/checksClass.st | 3 - .../class/classActivated..st | 3 - .../class/classActivated.st | 3 - .../class/initialize.st | 3 - .../class/settingsOn..st | 9 -- .../SmTClassTestedRule.class/class/unload.st | 3 - .../instance/basicCheck..st | 3 - .../instance/check.forCritiquesDo..st | 7 -- .../instance/findTestsForClass..st | 5 - .../instance/findTestsForMethods..st | 3 - .../instance/methodUsingVariablesOfClass..st | 7 -- .../SmTClassTestedRule.class/instance/name.st | 3 - .../SmTClassTestedRule.class/properties.json | 13 --- .../README.md | 1 - .../instance/extractPackagesFrom..st | 11 --- .../properties.json | 11 --- .../SmTDefaultPackagesFilter.class/README.md | 1 - .../class/settingsOn..st | 4 - .../instance/extractClassPackageBaseName..st | 3 - .../extractCompiledMethodPackageBaseName..st | 3 - ...extractMethodDefinitionPackageBaseName..st | 3 - .../instance/extractPackageBaseName..st | 3 - .../instance/extractPackagesFrom..st | 14 --- .../instance/extractPackagesFromTrait..st | 3 - .../shouldEntityBeFilteredOut.inPackages..st | 5 - .../properties.json | 11 --- .../SmTEventRecipient.class/README.md | 1 - .../instance/actionForEvent.fromMorph..st | 3 - .../instance/runTestAndShowProgressIn..st | 2 - .../SmTEventRecipient.class/properties.json | 11 --- .../SmTFilterStrategy.class/README.md | 1 - .../instance/extractPackagesFrom..st | 3 - .../shouldEntityBeFilteredOut.inPackages..st | 3 - .../SmTFilterStrategy.class/properties.json | 11 --- .../README.md | 1 - .../instance/extractPackagesFrom..st | 5 - .../shouldEntityBeFilteredOut.inPackages..st | 3 - .../properties.json | 11 --- .../README.md | 1 - .../instance/change.st | 2 - .../instance/description.st | 3 - .../instance/execute.st | 3 - .../instance/nameToDisplay.st | 3 - .../instance/oldVersionTextToDisplay.st | 3 - .../instance/providesChange.st | 3 - .../instance/textToDisplay.st | 3 - .../instance/title.st | 3 - .../instance/whatToDisplayIn..st | 3 - .../properties.json | 11 --- .../README.md | 1 - .../class/for.by.tests..st | 5 - .../instance/description.st | 3 - .../properties.json | 13 --- .../README.md | 0 .../class/addToElementBag..st | 3 - .../class/bag.st | 3 - .../class/disable.st | 4 - .../class/enable.st | 7 -- .../class/getElementFromBag..st | 6 -- .../class/methodAdded..st | 3 - .../class/methodModified..st | 3 - .../instance/basicCheck..st | 4 - .../instance/name.st | 4 - .../properties.json | 15 --- .../SmTMethodTestedRule.class/README.md | 1 - .../class/checksMethod.st | 3 - .../class/disable.st | 2 - .../SmTMethodTestedRule.class/class/enable.st | 2 - .../class/initialize.st | 3 - .../class/isMethodActivated.st | 3 - .../class/methodActivated..st | 3 - .../class/methodActivated.st | 3 - .../class/methodRuleStrategy..st | 5 - .../class/methodRuleStrategy.st | 3 - .../class/settingsOn..st | 16 --- .../SmTMethodTestedRule.class/class/unload.st | 3 - .../instance/basicCheck..st | 3 - .../instance/check.forCritiquesDo..st | 7 -- .../instance/isVisible.st | 3 - .../instance/name.st | 3 - .../SmTMethodTestedRule.class/properties.json | 15 --- .../SmTNeedTestsCritique.class/README.md | 1 - .../instance/description.st | 3 - .../instance/icon.st | 3 - .../instance/providesChange.st | 3 - .../instance/title.st | 3 - .../properties.json | 11 --- .../SmTNoCacheStrategy.class/README.md | 1 - .../SmTNoCacheStrategy.class/instance/at..st | 3 - .../instance/at.ifAbsent..st | 3 - .../instance/at.ifPresent..st | 3 - .../instance/at.ifPresent.ifAbsent..st | 3 - .../instance/at.put..st | 3 - .../instance/currentCache.st | 3 - .../instance/relevantTestsFor..st | 3 - .../searchTestsForMethodReference..st | 3 - .../SmTNoCacheStrategy.class/properties.json | 11 --- SmartTest.package/SmTNoFilter.class/README.md | 1 - .../shouldEntityBeFilteredOut.inPackages..st | 5 - .../SmTNoFilter.class/properties.json | 11 --- .../README.md | 2 - .../class/isConcreteFinder.st | 3 - .../instance/analyseAndRemoveProxyFor..st | 3 - .../instance/buildCacheFromTestSuite..st | 4 - .../instance/collectAllRelativePackages..st | 3 - .../collectRelativeTestMethodOfMethods..st | 7 -- ...CompiledMethodFromReceiver.andSelector..st | 4 - ...extractCurrentTestExecutionFromContext..st | 6 -- .../instance/initializeLink.st | 14 --- .../initializeLinkInCompiledMethod..st | 15 --- .../instance/installLinkAndRunTest..st | 9 -- .../instance/installProxyFor..st | 5 - .../instance/isCORAMethodBlacklisted..st | 3 - ...sCompiledMethod.alreadyExploredForTest..st | 6 -- .../instance/methodsInSimilarPackageAs..st | 8 -- .../instance/searchRelativeTestForMethod..st | 11 --- .../searchTestsForAStandardMethod..st | 6 -- .../properties.json | 11 --- .../SmTRelativeTestsCritique.class/README.md | 1 - .../class/for.by.tests..st | 5 - .../instance/actions.st | 10 -- .../instance/description.st | 3 - .../instance/icon.st | 4 - .../instance/iconicButtons.st | 4 - .../initializeRule.target.testsList..st | 4 - .../instance/openTestsWindowWith..st | 6 -- .../instance/providesChange.st | 3 - .../instance/testButton..st | 3 - .../instance/testButton.st | 3 - .../instance/tests..st | 3 - .../instance/tests.st | 3 - .../instance/title.st | 3 - .../properties.json | 14 --- SmartTest.package/SmTRules.class/README.md | 1 - .../SmTRules.class/class/activated..st | 3 - .../SmTRules.class/class/activated.st | 3 - .../SmTRules.class/class/cacheStrategy..st | 4 - .../SmTRules.class/class/cacheStrategy.st | 3 - .../SmTRules.class/class/fillCache.st | 5 - .../SmTRules.class/class/filter..st | 5 - .../SmTRules.class/class/filter.st | 3 - .../SmTRules.class/class/finder..st | 5 - .../SmTRules.class/class/finder.st | 3 - .../SmTRules.class/class/packagesRegex..st | 4 - .../SmTRules.class/class/packagesRegex.st | 3 - .../class/propagateRegexToTestFinder.st | 4 - .../SmTRules.class/class/runner..st | 4 - .../SmTRules.class/class/runner.st | 3 - .../SmTRules.class/class/settingsOn..st | 97 ------------------- .../class/shouldTryToFindTestForDynamic..st | 4 - .../class/shouldTryToFindTestForDynamic.st | 3 - .../SmTRules.class/class/strategy..st | 4 - .../SmTRules.class/class/strategy.st | 3 - .../SmTRules.class/class/testFinder..st | 5 - .../SmTRules.class/class/testFinder.st | 9 -- .../SmTRules.class/class/unload.st | 3 - .../SmTRules.class/instance/activated.st | 3 - .../SmTRules.class/instance/basicCheck..st | 3 - .../instance/findTestsForMethod..st | 3 - .../instance/isOnNautilusOrCalypso.st | 6 -- .../SmTRules.class/instance/isVisible.st | 3 - .../SmTRules.class/instance/severity.st | 4 - .../SmTRules.class/instance/tests.st | 3 - .../SmTRules.class/properties.json | 25 ----- .../SmTRunnerStrategy.class/README.md | 1 - .../class/colorForTestResultOf..st | 9 -- .../class/iconForTestFromTestCaseHistory..st | 9 -- .../iconForTestFromTestsCasesHistory..st | 15 --- .../class/iconForTestResultOf..st | 9 -- .../class/notifyTitle.contents..st | 19 ---- .../class/runCase.notifyIcon..st | 11 --- .../class/runCases..st | 8 -- .../class/runCases.notifyIcon..st | 6 -- .../SmTRunnerStrategy.class/properties.json | 11 --- .../SmTRunnerStrategyDebug.class/README.md | 1 - .../class/runCases..st | 8 -- .../properties.json | 11 --- .../SmTRunnerStrategyNotice.class/README.md | 1 - .../class/runCase.notifyIcon..st | 10 -- .../properties.json | 11 --- .../SmTRunnerStrategySmart.class/README.md | 1 - .../properties.json | 11 --- .../SmTSelectPackageBrowser.class/README.md | 1 - .../class/openWithSmartFinder..st | 6 -- .../instance/addAllItems.st | 8 -- .../instance/addItems.st | 8 -- .../instance/createTestSuiteFrom..st | 6 -- .../instance/initialize.st | 13 --- .../instance/nextAction.st | 9 -- .../instance/removeAllItems.st | 8 -- .../instance/removeItems.st | 8 -- .../instance/smartFinder..st | 3 - .../instance/smartFinder.st | 3 - .../instance/sort..st | 3 - .../instance/sort.withAll..st | 7 -- .../instance/sort.withoutAll..st | 7 -- .../properties.json | 13 --- .../README.md | 3 - .../class/isConcreteFinder.st | 3 - .../collectSenderOfRGMethodeDefintion..st | 6 -- .../instance/methodsFor.forThePackage..st | 28 ------ ...iveSearchForAStandardMethod.inPackages..st | 3 - ...andardMethod.inPackages.alreadyVisited..st | 15 --- .../searchTestsForAStandardMethod..st | 7 -- .../properties.json | 11 --- .../README.md | 1 - .../class/packagesRegex..st | 5 - .../instance/extractPackagesFrom..st | 3 - .../instance/packages.st | 6 -- .../instance/packagesRegex..st | 3 - .../instance/packagesRegex.st | 3 - .../instance/selectedPackages.st | 7 -- .../shouldEntityBeFilteredOut.inPackages..st | 5 - .../properties.json | 14 --- .../SmTTestCoverage.class/README.md | 1 - .../SmTTestCoverage.class/instance/finder..st | 3 - .../SmTTestCoverage.class/instance/finder.st | 3 - .../SmTTestCoverage.class/instance/mark.st | 6 -- .../instance/run.with.in..st | 4 - .../SmTTestCoverage.class/properties.json | 13 --- .../README.md | 13 --- .../class/collectPackageWithBaseName..st | 3 - .../class/collectPackagesFromName..st | 3 - .../class/extractPackageBaseName..st | 3 - .../class/isConcreteFinder.st | 3 - .../addATest.toACollectionOfMethod..st | 4 - .../instance/addATest.toMethodReference..st | 4 - ...dImpactedTestFromWrapper.theTestMethod..st | 8 -- .../addRelevantTest.fromMarkedWrappers..st | 8 -- .../addToCurrentExecutionMethodReference..st | 6 -- .../instance/analyseAndRemoveProxyFor..st | 4 - .../instance/availableMethods.st | 9 -- .../instance/availablePackages.st | 17 ---- .../instance/availableTestMethods.st | 4 - .../instance/availableTestPackages.st | 19 ---- .../instance/buildCacheFromTestSuite..st | 27 ------ .../instance/collectAllRelativePackages..st | 3 - .../instance/collectClassToTestForPackage..st | 6 -- .../collectClassToTestForPackagesNamed..st | 3 - .../collectMethodToTestForPackage..st | 3 - .../collectMethodToTestForPackages..st | 3 - .../collectMethodToTestForPackagesNamed..st | 3 - .../instance/extractPackageBaseName..st | 3 - .../instance/getPackageFromName..st | 3 - .../instance/initialize.st | 3 - .../instance/installProxyFor..st | 19 ---- .../instance/methodsInSimilarPackageAs..st | 8 -- .../instance/searchRelativeTestForMethod..st | 16 --- .../searchTestsForAStandardMethod..st | 4 - .../instance/searchTestsForClass..st | 13 --- .../updateCacheAndUnmarkFrom.forMethod..st | 6 -- .../properties.json | 13 --- .../README.md | 3 - .../class/isConcreteFinder.st | 3 - .../instance/addATest.toMethod..st | 4 - .../instance/analyseAndRemoveProxyFor..st | 3 - .../instance/buildCacheFromTestSuite..st | 3 - .../instance/currentTestExecution..st | 3 - .../instance/currentTestExecution.st | 3 - .../instance/installProxyFor..st | 3 - .../instance/methodsFor..st | 19 ---- .../properties.json | 13 --- .../SmTTestFinderStrategy.class/README.md | 1 - .../class/isConcreteFinder.st | 3 - .../instance/cache..st | 3 - .../instance/cache.st | 3 - ...computeInheritedTestFromDiscoveredTest..st | 10 -- .../instance/filter..st | 3 - .../instance/filter.st | 3 - .../instance/initialize.st | 3 - .../instance/methodToTest..st | 3 - .../instance/methodsFor..st | 26 ----- .../recursiveSearchForAClass.inPackages..st | 3 - ...rchForAClass.inPackages.alreadyVisited..st | 21 ---- .../instance/searchTestsForAClass..st | 5 - .../instance/searchTestsForAInstVar..st | 7 -- .../searchTestsForAInstVar.OfClass..st | 12 --- .../instance/searchTestsForASetUpMethod..st | 10 -- .../searchTestsForAStandardMethod..st | 5 - .../searchTestsForATearDownMethod..st | 11 --- .../instance/searchTestsForATestMethod..st | 5 - .../instance/searchTestsForATrait..st | 7 -- .../searchTestsForClassReferenceOf..st | 13 --- .../instance/searchTestsForMethod..st | 5 - .../searchTestsForMethodReference..st | 3 - .../shouldTryToFindTestForDynamic..st | 3 - .../instance/shouldTryToFindTestForDynamic.st | 3 - .../instance/subTestFromRGDefinition..st | 6 -- .../properties.json | 15 --- .../SmTTestGenerator.class/README.md | 1 - .../instance/buildTestClassDefinitionFrom..st | 8 -- .../instance/buildTestClassNameFrom..st | 4 - .../instance/buildTestPackageNameFrom..st | 4 - .../instance/buildTestSelectorFor..st | 15 --- .../instance/createTestForClass..st | 20 ---- .../generateCommentForTestClass.from..st | 9 -- .../generateSourceCodeForTestFrom..st | 3 - .../instance/generateTestMethodFor..st | 15 --- .../SmTTestGenerator.class/properties.json | 11 --- .../SmTTestListener.class/README.md | 1 - .../SmTTestListener.class/class/activated..st | 4 - .../SmTTestListener.class/class/activated.st | 5 - .../class/settingsOn..st | 11 --- .../class/uniqueInstance.st | 3 - .../instance/activated..st | 6 -- .../instance/cacheStrategy..st | 3 - .../instance/cacheStrategy.st | 3 - .../instance/disableListenerTestCase.st | 4 - .../instance/enableListenerTestCase.st | 4 - .../instance/smtDynamicFinder..st | 3 - .../instance/smtDynamicFinder.st | 3 - .../instance/testCaseEnded..st | 3 - .../instance/testCaseStarted..st | 3 - .../SmTTestListener.class/properties.json | 17 ---- .../SmTTestingStrategy.class/README.md | 1 - .../instance/disable.st | 3 - .../instance/enable.st | 3 - .../instance/findTestsForMethod..st | 3 - .../instance/finder..st | 3 - .../instance/finder.st | 4 - .../instance/getMethodsFor..st | 3 - .../getTestMethodFromCompiledTestMethod..st | 4 - .../instance/runner..st | 3 - .../instance/runner.st | 3 - .../SmTTestingStrategy.class/properties.json | 18 ---- .../SmTTestingStrategyAlways.class/README.md | 1 - .../instance/findTestsForMethod..st | 6 -- .../properties.json | 11 --- .../README.md | 1 - .../instance/addToElementBag..st | 3 - .../instance/bag.st | 3 - .../instance/disable.st | 5 - .../instance/enable.st | 7 -- .../instance/findTestsForMethod..st | 7 -- .../instance/getElementFromBag..st | 6 -- .../instance/initialize.st | 3 - .../instance/methodAdded..st | 3 - .../instance/methodModified..st | 3 - .../properties.json | 13 --- .../README.md | 1 - .../instance/disable.st | 4 - .../instance/enable.st | 4 - .../instance/findTestsForMethod..st | 6 -- .../properties.json | 11 --- .../SmTTestingStrategyNever.class/README.md | 1 - .../instance/findTestsForMethod..st | 3 - .../properties.json | 11 --- .../instance/allMethods.st | 4 - .../instance/allTestMethods.st | 4 - .../SmalltalkImage.extension/properties.json | 3 - SmartTest.package/SmartFinder.class/README.md | 13 --- .../instance/autoUpdateCache..st | 5 - .../instance/buildCacheFromTestSuite..st | 4 - .../instance/cacheStrategy..st | 7 -- .../instance/cacheStrategy.st | 3 - .../SmartFinder.class/instance/clean.st | 5 - .../instance/currentCache.st | 3 - .../SmartFinder.class/instance/filter..st | 4 - .../SmartFinder.class/instance/filter.st | 3 - .../instance/findTestsForMethod..st | 6 -- .../SmartFinder.class/instance/initialize.st | 3 - .../instance/researchTestsForMethod..st | 4 - .../SmartFinder.class/instance/resetCache.st | 3 - .../instance/searchTestsForASetUpMethod..st | 3 - .../searchTestsForATearDownMethod..st | 3 - .../instance/searchTestsForATestMethod..st | 3 - .../instance/setCacheValues..st | 3 - .../shouldTryToFindTestForDynamic..st | 4 - .../instance/shouldTryToFindTestForDynamic.st | 3 - .../SmartFinder.class/instance/smtFinder..st | 8 -- .../SmartFinder.class/instance/smtFinder.st | 8 -- .../SmartFinder.class/instance/smtListener.st | 3 - .../SmartFinder.class/instance/testRunner..st | 4 - .../SmartFinder.class/instance/testRunner.st | 3 - .../instance/testingStrategy..st | 8 -- .../instance/testingStrategy.st | 3 - .../SmartFinder.class/properties.json | 20 ---- .../instance/isTestSuite.st | 3 - .../TestAsserter.extension/properties.json | 3 - .../class/allTestMethods.st | 4 - .../class/generalAnnouncer.st | 3 - .../class/shouldAnnounce.st | 3 - .../instance/announce.withResult..st | 11 --- .../instance/generalAnnouncer.st | 3 - .../instance/methodReference.st | 3 - .../TestCase.extension/properties.json | 3 - .../instance/flatCollectTests.st | 9 -- .../instance/isTestSuite.st | 3 - .../TestSuite.extension/properties.json | 3 - .../monticello.meta/categories.st | 12 --- .../monticello.meta/initializers.st | 0 SmartTest.package/monticello.meta/package | 1 - SmartTest.package/properties.json | 1 - SmartTestDataOutsideP1.package/.filetree | 5 - .../README.md | 8 -- ...ModificationOnClassInsidePackageWithRef.st | 3 - .../properties.json | 11 --- .../README.md | 8 -- .../properties.json | 11 --- .../README.md | 8 -- .../properties.json | 11 --- .../README.md | 8 -- .../testModificationOnClassSimpleTestCase.st | 3 - .../properties.json | 11 --- .../SmTClassP1.class/README.md | 8 -- .../method1FirstLevelSendersInsidePackage.st | 5 - .../method1FirstLevelSendersOutsidePackage.st | 5 - ...LevelSendersInsidePackageWithTestInside.st | 5 - ...evelSendersInsidePackageWithTestOutside.st | 5 - ...evelSendersOutsidePackageWithTestInside.st | 5 - ...velSendersOutsidePackageWithTestOutside.st | 5 - ...LevelSendersInsidePackageWithTestInside.st | 6 -- ...evelSendersInsidePackageWithTestOutside.st | 6 -- .../SmTClassP1.class/properties.json | 11 --- .../README.md | 8 -- ...1FirstLevelSendersInsideWithRefInMethod.st | 5 - .../properties.json | 11 --- .../README.md | 8 -- .../method1FirstLevelSendersWithRefInClass.st | 5 - .../properties.json | 11 --- .../README.md | 8 -- ...method1FirstLevelSendersWithRefInMethod.st | 5 - .../properties.json | 11 --- .../README.md | 8 -- ...ethod1FirstLevelSendersWithRefInPackage.st | 5 - .../properties.json | 11 --- .../README.md | 8 -- ...VarModificationOnVariableInsidePackage..st | 3 - ...tVarModificationOnVariableInsidePackage.st | 3 - ...arModificationOnVariableOutsidePackage..st | 3 - ...VarModificationOnVariableOutsidePackage.st | 3 - .../properties.json | 14 --- .../README.md | 8 -- ...stVarModificationOnVariableInsideClass..st | 3 - ...nstVarModificationOnVariableInsideClass.st | 3 - .../testModificationOnVariableInsideClass.st | 5 - .../properties.json | 13 --- .../README.md | 6 -- ...testModificationOnVariableInsidePackage.st | 5 - .../properties.json | 13 --- .../README.md | 10 -- ...lSendersInsideTestOutsideWithRefInClass.st | 5 - ...lSendersInsideTestOutsideWithRefInClass.st | 5 - .../properties.json | 11 --- .../README.md | 10 -- ...SendersInsideTestOutsideWithRefInMethod.st | 5 - ...SendersInsideTestOutsideWithRefInMethod.st | 5 - .../properties.json | 11 --- .../README.md | 10 -- ...endersInsideTestOutsideWithRefInPackage.st | 5 - ...endersInsideTestOutsideWithRefInPackage.st | 5 - .../properties.json | 11 --- .../README.md | 10 -- ...lSendersOutsideTestInsideWithRefInClass.st | 5 - .../properties.json | 11 --- .../README.md | 10 -- ...SendersOutsideTestInsideWithRefInMethod.st | 5 - .../properties.json | 11 --- .../README.md | 10 -- ...endersOutsideTestInsideWithRefInPackage.st | 5 - .../properties.json | 11 --- .../README.md | 11 --- ...endersOutsideTestOutsideWithRefInMethod.st | 5 - .../properties.json | 11 --- .../SmTClassTestP1.class/README.md | 8 -- ...ExtensionMethod1FirstLevelSendersInside.st | 3 - ...stMethod1FirstLevelSendersInsidePackage.st | 5 - ...LevelSendersInsidePackageWithTestInside.st | 4 - ...evelSendersOutsidePackageWithTestInside.st | 4 - ...lSendersOutsideTestInsideWithRefInClass.st | 5 - ...SendersOutsideTestInsideWithRefInMethod.st | 5 - ...endersOutsideTestInsideWithRefInPackage.st | 5 - .../SmTClassTestP1.class/properties.json | 11 --- .../SmTExtensionP1.class/README.md | 8 -- .../extensionMethod1SecondLevelSenders.st | 2 - .../SmTExtensionP1.class/properties.json | 11 --- ...extensionMethod1FirstLevelSendersInside.st | 3 - ...xtensionMethod1FirstLevelSendersOutside.st | 3 - .../properties.json | 3 - .../extensionMethod2SecondLevelSenders.st | 4 - .../SmTExtensionP3.extension/properties.json | 3 - .../README.md | 8 -- .../class/isAbstract.st | 4 - ...testModificationOnClassAbstractTestCase.st | 3 - .../properties.json | 11 --- .../README.md | 12 --- ...1FirstLevelSendersInsideWithRefInMethod.st | 3 - .../properties.json | 11 --- .../README.md | 8 -- .../properties.json | 11 --- .../README.md | 8 -- ...testModificationOnClassAbstractTestCase.st | 3 - .../properties.json | 11 --- .../SmTP1Inheritance.class/README.md | 9 -- .../instance/method1Inheritance.st | 3 - .../SmTP1Inheritance.class/properties.json | 11 --- .../README.md | 6 -- .../instance/testMethod1Inheritance.st | 4 - .../properties.json | 11 --- .../README.md | 3 - .../properties.json | 11 --- .../SmTP1InheritanceTest.class/README.md | 6 -- .../class/isAbstract.st | 4 - .../instance/testMethod1Inheritance.st | 4 - .../properties.json | 11 --- .../monticello.meta/categories.st | 13 --- .../monticello.meta/initializers.st | 0 .../monticello.meta/package | 1 - .../properties.json | 1 - SmartTestDataOutsideP2.package/.filetree | 5 - .../README.md | 8 -- ...odificationOnClassOutsidePackageWithRef.st | 3 - .../properties.json | 11 --- .../README.md | 8 -- ...estModificationOnVariableOutsidePackage.st | 5 - .../properties.json | 13 --- .../SmTClassP2.class/README.md | 10 -- ...evelSendersOutsidePackageWithTestInside.st | 6 -- ...velSendersOutsidePackageWithTestOutside.st | 6 -- .../SmTClassP2.class/properties.json | 11 --- .../README.md | 6 -- ...irstLevelSendersOutsideWithRefInPackage.st | 4 - ...endersInsideTestOutsideWithRefInPackage.st | 4 - ...endersOutsideTestInsideWithRefInPackage.st | 4 - .../properties.json | 11 --- .../README.md | 10 -- ...lSendersOutsideTestInsideWithRefInClass.st | 3 - ...lSendersOutsideTestInsideWithRefInClass.st | 3 - .../properties.json | 11 --- .../README.md | 10 -- ...SendersOutsideTestInsideWithRefInMethod.st | 3 - .../properties.json | 11 --- .../README.md | 11 --- ...endersOutsideTestInsideWithRefInPackage.st | 3 - .../properties.json | 11 --- .../README.md | 11 --- ...endersOutsideTestOutsideWithRefInMethod.st | 3 - .../properties.json | 11 --- .../SmTClassTestP2Test.class/README.md | 11 --- ...1FirstLevelSendersOutsideWithRefInClass.st | 3 - ...lSendersInsideTestOutsideWithRefInClass.st | 3 - ...xtensionMethod1FirstLevelSendersOutside.st | 3 - ...tMethod1FirstLevelSendersOutsidePackage.st | 5 - ...1FirstLevelSendersOutsideWithRefInClass.st | 4 - ...FirstLevelSendersOutsideWithRefInMethod.st | 4 - ...irstLevelSendersOutsideWithRefInPackage.st | 4 - ...elSenderInsideTestOutsideWithRefInClass.st | 3 - ...lSenderInsideTestOutsideWithRefInMethod.st | 3 - ...SenderInsideTestOutsideWithRefInPackage.st | 3 - ...evelSendersInsidePackageWithTestOutside.st | 5 - ...velSendersOutsidePackageWithTestOutside.st | 5 - .../SmTClassTestP2Test.class/properties.json | 11 --- .../SmTExtensionP2Test.class/README.md | 1 - .../SmTExtensionP2Test.class/properties.json | 11 --- .../monticello.meta/categories.st | 9 -- .../monticello.meta/initializers.st | 0 .../monticello.meta/package | 1 - .../properties.json | 1 - SmartTestDataOutsideP3.package/.filetree | 5 - .../SmTClassTestP3.class/README.md | 11 --- .../testExtensionMethod2SecondLevelSenders.st | 3 - .../testMethod1ExtensionTestInside.st | 3 - .../SmTClassTestP3.class/properties.json | 11 --- .../README.md | 10 -- .../properties.json | 11 --- .../README.md | 11 --- ...SenderOutsideTestOutsideWithRefInMethod.st | 4 - .../properties.json | 11 --- .../SmTExtensionP3.class/README.md | 1 - .../SmTExtensionP3.class/properties.json | 11 --- .../instance/extensionMethodP4.st | 2 - .../SmTExtensionP4.extension/properties.json | 3 - .../monticello.meta/categories.st | 1 - .../monticello.meta/initializers.st | 0 .../monticello.meta/package | 1 - .../properties.json | 1 - SmartTestDataOutsideP4.package/.filetree | 5 - .../SmTExtensionP4.class/README.md | 1 - .../instance/method1ExtensionTestInside.st | 2 - .../SmTExtensionP4.class/properties.json | 11 --- .../monticello.meta/categories.st | 1 - .../monticello.meta/initializers.st | 0 .../monticello.meta/package | 1 - .../properties.json | 1 - 1178 files changed, 7583 deletions(-) delete mode 100644 BaselineOfSmartTest.package/.filetree delete mode 100644 BaselineOfSmartTest.package/BaselineOfSmartTest.class/README.md delete mode 100644 BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/baseline..st delete mode 100644 BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/defineDependencies..st delete mode 100644 BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/defineGroups..st delete mode 100644 BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/definePackages..st delete mode 100644 BaselineOfSmartTest.package/BaselineOfSmartTest.class/properties.json delete mode 100644 BaselineOfSmartTest.package/monticello.meta/categories.st delete mode 100644 BaselineOfSmartTest.package/monticello.meta/initializers.st delete mode 100644 BaselineOfSmartTest.package/monticello.meta/package delete mode 100644 BaselineOfSmartTest.package/properties.json delete mode 100644 ConfigurationOfSmartTest.package/.filetree delete mode 100644 ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/README.md delete mode 100644 ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/DevelopmentSupport.st delete mode 100644 ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/baseConfigurationClassIfAbsent..st delete mode 100644 ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/ensureMetacello.st delete mode 100644 ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/ensureMetacelloBaseConfiguration.st delete mode 100644 ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/isMetacelloConfig.st delete mode 100644 ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/load.st delete mode 100644 ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/loadBleedingEdge.st delete mode 100644 ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/loadDevelopment.st delete mode 100644 ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/project.st delete mode 100644 ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/validate.st delete mode 100644 ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/instance/customProjectAttributes.st delete mode 100644 ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/instance/dev01..st delete mode 100644 ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/instance/development..st delete mode 100644 ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/instance/master..st delete mode 100644 ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/instance/project.st delete mode 100644 ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/instance/stable..st delete mode 100644 ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/properties.json delete mode 100644 ConfigurationOfSmartTest.package/monticello.meta/categories.st delete mode 100644 ConfigurationOfSmartTest.package/monticello.meta/initializers.st delete mode 100644 ConfigurationOfSmartTest.package/monticello.meta/package delete mode 100644 ConfigurationOfSmartTest.package/properties.json delete mode 100644 SmartTest-Tests-Data.package/.filetree delete mode 100644 SmartTest-Tests-Data.package/SmTClass.class/README.md delete mode 100644 SmartTest-Tests-Data.package/SmTClass.class/instance/method1.st delete mode 100644 SmartTest-Tests-Data.package/SmTClass.class/instance/method2.st delete mode 100644 SmartTest-Tests-Data.package/SmTClass.class/instance/method3..st delete mode 100644 SmartTest-Tests-Data.package/SmTClass.class/instance/method4.st delete mode 100644 SmartTest-Tests-Data.package/SmTClass.class/properties.json delete mode 100644 SmartTest-Tests-Data.package/SmTClass2.class/README.md delete mode 100644 SmartTest-Tests-Data.package/SmTClass2.class/instance/initialize.st delete mode 100644 SmartTest-Tests-Data.package/SmTClass2.class/properties.json delete mode 100644 SmartTest-Tests-Data.package/SmTClassTest.class/README.md delete mode 100644 SmartTest-Tests-Data.package/SmTClassTest.class/instance/setUp.st delete mode 100644 SmartTest-Tests-Data.package/SmTClassTest.class/instance/tearDown.st delete mode 100644 SmartTest-Tests-Data.package/SmTClassTest.class/instance/testMethod1.st delete mode 100644 SmartTest-Tests-Data.package/SmTClassTest.class/instance/testMethod2.st delete mode 100644 SmartTest-Tests-Data.package/SmTClassTest.class/instance/testMethod3.st delete mode 100644 SmartTest-Tests-Data.package/SmTClassTest.class/instance/testMethod4.st delete mode 100644 SmartTest-Tests-Data.package/SmTClassTest.class/instance/testMethod5.st delete mode 100644 SmartTest-Tests-Data.package/SmTClassTest.class/properties.json delete mode 100644 SmartTest-Tests-Data.package/SmTInheritClassTest.class/README.md delete mode 100644 SmartTest-Tests-Data.package/SmTInheritClassTest.class/instance/setUp.st delete mode 100644 SmartTest-Tests-Data.package/SmTInheritClassTest.class/properties.json delete mode 100644 SmartTest-Tests-Data.package/SmTSuperClassTest.class/README.md delete mode 100644 SmartTest-Tests-Data.package/SmTSuperClassTest.class/class/isAbstract.st delete mode 100644 SmartTest-Tests-Data.package/SmTSuperClassTest.class/instance/testMethod1.st delete mode 100644 SmartTest-Tests-Data.package/SmTSuperClassTest.class/properties.json delete mode 100644 SmartTest-Tests-Data.package/monticello.meta/categories.st delete mode 100644 SmartTest-Tests-Data.package/monticello.meta/initializers.st delete mode 100644 SmartTest-Tests-Data.package/monticello.meta/package delete mode 100644 SmartTest-Tests-Data.package/properties.json delete mode 100644 SmartTest-Tests.package/.filetree delete mode 100644 SmartTest-Tests.package/SmTCacheBuilderReflectivityNeverResetTest.class/README.md delete mode 100644 SmartTest-Tests.package/SmTCacheBuilderReflectivityNeverResetTest.class/instance/cacheStrategy.st delete mode 100644 SmartTest-Tests.package/SmTCacheBuilderReflectivityNeverResetTest.class/properties.json delete mode 100644 SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEvery5ChangesTest.class/README.md delete mode 100644 SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEvery5ChangesTest.class/instance/cacheStrategy.st delete mode 100644 SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEvery5ChangesTest.class/properties.json delete mode 100644 SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEveryCommitTest.class/README.md delete mode 100644 SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEveryCommitTest.class/instance/cacheStrategy.st delete mode 100644 SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEveryCommitTest.class/properties.json delete mode 100644 SmartTest-Tests.package/SmTCacheBuilderReflectivityResetOnDemandTest.class/README.md delete mode 100644 SmartTest-Tests.package/SmTCacheBuilderReflectivityResetOnDemandTest.class/instance/cacheStrategy.st delete mode 100644 SmartTest-Tests.package/SmTCacheBuilderReflectivityResetOnDemandTest.class/properties.json delete mode 100644 SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/README.md delete mode 100644 SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/class/isAbstract.st delete mode 100644 SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/instance/dynamicFinder.st delete mode 100644 SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod1ToBuildCache.st delete mode 100644 SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod2ToBuildCache.st delete mode 100644 SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod5ToBuildCache.st delete mode 100644 SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/properties.json delete mode 100644 SmartTest-Tests.package/SmTCacheBuilderTest.class/README.md delete mode 100644 SmartTest-Tests.package/SmTCacheBuilderTest.class/class/isAbstract.st delete mode 100644 SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/cacheStrategy.st delete mode 100644 SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/dynamicFinder.st delete mode 100644 SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/searchTestMethodsFor..st delete mode 100644 SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/setUp.st delete mode 100644 SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/tearDown.st delete mode 100644 SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/testResearchTestsForStandardMethodWhileEmptyCache.st delete mode 100644 SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod1ToBuildCache.st delete mode 100644 SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod2ToBuildCache.st delete mode 100644 SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod5ToBuildCache.st delete mode 100644 SmartTest-Tests.package/SmTCacheBuilderTest.class/properties.json delete mode 100644 SmartTest-Tests.package/SmTCacheBuilderTestCoverageNeverResetTest.class/README.md delete mode 100644 SmartTest-Tests.package/SmTCacheBuilderTestCoverageNeverResetTest.class/instance/cacheStrategy.st delete mode 100644 SmartTest-Tests.package/SmTCacheBuilderTestCoverageNeverResetTest.class/properties.json delete mode 100644 SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEvery5ChangesTest.class/README.md delete mode 100644 SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEvery5ChangesTest.class/instance/cacheStrategy.st delete mode 100644 SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEvery5ChangesTest.class/properties.json delete mode 100644 SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEveryCommitTest.class/README.md delete mode 100644 SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEveryCommitTest.class/instance/cacheStrategy.st delete mode 100644 SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEveryCommitTest.class/properties.json delete mode 100644 SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetOnDemandTest.class/README.md delete mode 100644 SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetOnDemandTest.class/instance/cacheStrategy.st delete mode 100644 SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetOnDemandTest.class/properties.json delete mode 100644 SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/README.md delete mode 100644 SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/class/isAbstract.st delete mode 100644 SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/instance/dynamicFinder.st delete mode 100644 SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/properties.json delete mode 100644 SmartTest-Tests.package/SmTCacheNeverResetTest.class/README.md delete mode 100644 SmartTest-Tests.package/SmTCacheNeverResetTest.class/instance/strategyTested.st delete mode 100644 SmartTest-Tests.package/SmTCacheNeverResetTest.class/properties.json delete mode 100644 SmartTest-Tests.package/SmTCacheResetEvery5ChangesTest.class/README.md delete mode 100644 SmartTest-Tests.package/SmTCacheResetEvery5ChangesTest.class/instance/strategyTested.st delete mode 100644 SmartTest-Tests.package/SmTCacheResetEvery5ChangesTest.class/instance/testResetAfter5MethodChange.st delete mode 100644 SmartTest-Tests.package/SmTCacheResetEvery5ChangesTest.class/properties.json delete mode 100644 SmartTest-Tests.package/SmTCacheResetEveryCommitTest.class/README.md delete mode 100644 SmartTest-Tests.package/SmTCacheResetEveryCommitTest.class/instance/strategyTested.st delete mode 100644 SmartTest-Tests.package/SmTCacheResetEveryCommitTest.class/instance/testResetAfter1Commit.st delete mode 100644 SmartTest-Tests.package/SmTCacheResetEveryCommitTest.class/properties.json delete mode 100644 SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/README.md delete mode 100644 SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/instance/strategyTested.st delete mode 100644 SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/instance/testResetAfter1Commit.st delete mode 100644 SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/instance/testResetAfter1MethodChange.st delete mode 100644 SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/instance/testResetAfter4MethodChange.st delete mode 100644 SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/instance/testResetAfter5MethodChange.st delete mode 100644 SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/properties.json delete mode 100644 SmartTest-Tests.package/SmTCacheTest.class/README.md delete mode 100644 SmartTest-Tests.package/SmTCacheTest.class/class/isAbstract.st delete mode 100644 SmartTest-Tests.package/SmTCacheTest.class/instance/initCache.st delete mode 100644 SmartTest-Tests.package/SmTCacheTest.class/instance/setUp.st delete mode 100644 SmartTest-Tests.package/SmTCacheTest.class/instance/strategyTested.st delete mode 100644 SmartTest-Tests.package/SmTCacheTest.class/instance/testInitCache.st delete mode 100644 SmartTest-Tests.package/SmTCacheTest.class/instance/testResetAfter1Commit.st delete mode 100644 SmartTest-Tests.package/SmTCacheTest.class/instance/testResetAfter1MethodChange.st delete mode 100644 SmartTest-Tests.package/SmTCacheTest.class/instance/testResetAfter4MethodChange.st delete mode 100644 SmartTest-Tests.package/SmTCacheTest.class/instance/testResetAfter5MethodChange.st delete mode 100644 SmartTest-Tests.package/SmTCacheTest.class/properties.json delete mode 100644 SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/README.md delete mode 100644 SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/instance/initCache.st delete mode 100644 SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/instance/setUp.st delete mode 100644 SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/instance/tearDown.st delete mode 100644 SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/instance/testModificationOnTest.st delete mode 100644 SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/instance/testTestSelfSelected.st delete mode 100644 SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/properties.json delete mode 100644 SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/README.md delete mode 100644 SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/instance/initCache.st delete mode 100644 SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/instance/setUp.st delete mode 100644 SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/instance/tearDown.st delete mode 100644 SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/instance/testModificationOnTest.st delete mode 100644 SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/instance/testTestSelfSelected.st delete mode 100644 SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/properties.json delete mode 100644 SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/README.md delete mode 100644 SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/instance/initCache.st delete mode 100644 SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/instance/setUp.st delete mode 100644 SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/instance/tearDown.st delete mode 100644 SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/instance/testModificationOnTest.st delete mode 100644 SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/instance/testTestSelfSelected.st delete mode 100644 SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/properties.json delete mode 100644 SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/README.md delete mode 100644 SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/instance/initCache.st delete mode 100644 SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/instance/setUp.st delete mode 100644 SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/instance/tearDown.st delete mode 100644 SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/instance/testModificationOnTest.st delete mode 100644 SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/instance/testTestSelfSelected.st delete mode 100644 SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/properties.json delete mode 100644 SmartTest-Tests.package/SmTDynamicReflectivityStrategyTest.class/README.md delete mode 100644 SmartTest-Tests.package/SmTDynamicReflectivityStrategyTest.class/instance/initCache.st delete mode 100644 SmartTest-Tests.package/SmTDynamicReflectivityStrategyTest.class/instance/setUp.st delete mode 100644 SmartTest-Tests.package/SmTDynamicReflectivityStrategyTest.class/properties.json delete mode 100644 SmartTest-Tests.package/SmTFilterAbstractTest.class/README.md delete mode 100644 SmartTest-Tests.package/SmTFilterAbstractTest.class/class/isAbstract.st delete mode 100644 SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/instanceVariableNamed.fromClass..st delete mode 100644 SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/searchTestMethodsFor..st delete mode 100644 SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/searchTestMethodsForAClass..st delete mode 100644 SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/searchTestsForInstVar.ofClass..st delete mode 100644 SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/setUp.st delete mode 100644 SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/tearDown.st delete mode 100644 SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassAbstractTestCaseDoesntRedefineMethod.st delete mode 100644 SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassAbstractTestCaseRedefinesMethod.st delete mode 100644 SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassInheritanceSubClass1.st delete mode 100644 SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassInsidePackageWithRef.st delete mode 100644 SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassOutsidePackageWithRef.st delete mode 100644 SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassSimpleTestCase.st delete mode 100644 SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassTestsInside.st delete mode 100644 SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testExtensionMethodFirstLevelSendersInside.st delete mode 100644 SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testExtensionMethodFirstLevelSendersOutside.st delete mode 100644 SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testExtensionMethodSecondLevelSendersInside.st delete mode 100644 SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testExtensionTestInside.st delete mode 100644 SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testInstVarInsideClass.st delete mode 100644 SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testInstVarInsidePackage.st delete mode 100644 SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testInstVarOutsidePackage.st delete mode 100644 SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersInsidePackage.st delete mode 100644 SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st delete mode 100644 SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st delete mode 100644 SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st delete mode 100644 SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st delete mode 100644 SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestInside.st delete mode 100644 SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestOutside.st delete mode 100644 SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st delete mode 100644 SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st delete mode 100644 SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st delete mode 100644 SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestInside.st delete mode 100644 SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestOutside.st delete mode 100644 SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st delete mode 100644 SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st delete mode 100644 SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st delete mode 100644 SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefInMethod.st delete mode 100644 SmartTest-Tests.package/SmTFilterAbstractTest.class/properties.json delete mode 100644 SmartTest-Tests.package/SmTFinderAbstractTest.class/README.md delete mode 100644 SmartTest-Tests.package/SmTFinderAbstractTest.class/class/isAbstract.st delete mode 100644 SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/searchTestMethodsFor..st delete mode 100644 SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/searchTestsForASetUpMethod..st delete mode 100644 SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/searchTestsForATearDownMethod..st delete mode 100644 SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/searchTestsForATestMethod..st delete mode 100644 SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/setUp.st delete mode 100644 SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/tearDown.st delete mode 100644 SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testInheritance.st delete mode 100644 SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testModificationOnInitialize.st delete mode 100644 SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testModificationOnTest.st delete mode 100644 SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testSetupMethodFindsTests.st delete mode 100644 SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testSetupMethodWithNonSetupFindsNoTests.st delete mode 100644 SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testStandardMethodFirstLevelSenders.st delete mode 100644 SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testStandardMethodSecondLevelSenders.st delete mode 100644 SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testStandardMethodThirdLevelSenders.st delete mode 100644 SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testTearDownMethodFindsTests.st delete mode 100644 SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testTearDownMethodWithNoneTearDownFindsNoTests.st delete mode 100644 SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testTestSelfSelected.st delete mode 100644 SmartTest-Tests.package/SmTFinderAbstractTest.class/properties.json delete mode 100644 SmartTest-Tests.package/SmTOnModificationTest.class/README.md delete mode 100644 SmartTest-Tests.package/SmTOnModificationTest.class/instance/setUp.st delete mode 100644 SmartTest-Tests.package/SmTOnModificationTest.class/instance/tearDown.st delete mode 100644 SmartTest-Tests.package/SmTOnModificationTest.class/instance/testAdd.st delete mode 100644 SmartTest-Tests.package/SmTOnModificationTest.class/instance/testGet.st delete mode 100644 SmartTest-Tests.package/SmTOnModificationTest.class/properties.json delete mode 100644 SmartTest-Tests.package/SmTRunnerTest.class/README.md delete mode 100644 SmartTest-Tests.package/SmTRunnerTest.class/instance/noop.st delete mode 100644 SmartTest-Tests.package/SmTRunnerTest.class/instance/setUp.st delete mode 100644 SmartTest-Tests.package/SmTRunnerTest.class/instance/testIconForTestResultGreen.st delete mode 100644 SmartTest-Tests.package/SmTRunnerTest.class/instance/testIconForTestResultRed.st delete mode 100644 SmartTest-Tests.package/SmTRunnerTest.class/instance/testIconForTestResultWhite.st delete mode 100644 SmartTest-Tests.package/SmTRunnerTest.class/instance/testIconForTestResultYellow.st delete mode 100644 SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCaseNotifyIconGreen.st delete mode 100644 SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCaseNotifyIconRed.st delete mode 100644 SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCaseNotifyIconYellow.st delete mode 100644 SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCasesNotifyIconGreen.st delete mode 100644 SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCasesNotifyIconRed.st delete mode 100644 SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCasesNotifyIconYellow.st delete mode 100644 SmartTest-Tests.package/SmTRunnerTest.class/properties.json delete mode 100644 SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/README.md delete mode 100644 SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/setUp.st delete mode 100644 SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testExtensionTestInside.st delete mode 100644 SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testInstVarOutsidePackage.st delete mode 100644 SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st delete mode 100644 SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st delete mode 100644 SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st delete mode 100644 SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st delete mode 100644 SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st delete mode 100644 SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st delete mode 100644 SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st delete mode 100644 SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st delete mode 100644 SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st delete mode 100644 SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefInMethod.st delete mode 100644 SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/properties.json delete mode 100644 SmartTest-Tests.package/SmTSendersFilterTestDefaultPackage.class/README.md delete mode 100644 SmartTest-Tests.package/SmTSendersFilterTestDefaultPackage.class/instance/testClassOutsidePackageWithRef.st delete mode 100644 SmartTest-Tests.package/SmTSendersFilterTestDefaultPackage.class/instance/testInstVarOutsidePackage.st delete mode 100644 SmartTest-Tests.package/SmTSendersFilterTestDefaultPackage.class/properties.json delete mode 100644 SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/README.md delete mode 100644 SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/setUp.st delete mode 100644 SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st delete mode 100644 SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st delete mode 100644 SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st delete mode 100644 SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st delete mode 100644 SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestOutside.st delete mode 100644 SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st delete mode 100644 SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st delete mode 100644 SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st delete mode 100644 SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestInside.st delete mode 100644 SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestOutside.st delete mode 100644 SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st delete mode 100644 SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st delete mode 100644 SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st delete mode 100644 SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/properties.json delete mode 100644 SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/README.md delete mode 100644 SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/setUp.st delete mode 100644 SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/testClassOutsidePackageWithRef.st delete mode 100644 SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/testExtensionMethodFirstLevelSendersOutside.st delete mode 100644 SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/testInstVarOutsidePackage.st delete mode 100644 SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/properties.json delete mode 100644 SmartTest-Tests.package/SmTSettingsBasicCacheTest.class/README.md delete mode 100644 SmartTest-Tests.package/SmTSettingsBasicCacheTest.class/instance/cacheStrategy.st delete mode 100644 SmartTest-Tests.package/SmTSettingsBasicCacheTest.class/properties.json delete mode 100644 SmartTest-Tests.package/SmTSettingsCacheTest.class/README.md delete mode 100644 SmartTest-Tests.package/SmTSettingsCacheTest.class/class/isAbstract.st delete mode 100644 SmartTest-Tests.package/SmTSettingsCacheTest.class/instance/cacheStrategy.st delete mode 100644 SmartTest-Tests.package/SmTSettingsCacheTest.class/instance/testChangeCacheStrategy.st delete mode 100644 SmartTest-Tests.package/SmTSettingsCacheTest.class/properties.json delete mode 100644 SmartTest-Tests.package/SmTSettingsFilterDefaultClassPackagesTest.class/README.md delete mode 100644 SmartTest-Tests.package/SmTSettingsFilterDefaultClassPackagesTest.class/instance/filterStrategy.st delete mode 100644 SmartTest-Tests.package/SmTSettingsFilterDefaultClassPackagesTest.class/properties.json delete mode 100644 SmartTest-Tests.package/SmTSettingsFilterDefaultPackagesTest.class/README.md delete mode 100644 SmartTest-Tests.package/SmTSettingsFilterDefaultPackagesTest.class/instance/filterStrategy.st delete mode 100644 SmartTest-Tests.package/SmTSettingsFilterDefaultPackagesTest.class/properties.json delete mode 100644 SmartTest-Tests.package/SmTSettingsFilterIcebergTest.class/README.md delete mode 100644 SmartTest-Tests.package/SmTSettingsFilterIcebergTest.class/instance/filterStrategy.st delete mode 100644 SmartTest-Tests.package/SmTSettingsFilterIcebergTest.class/properties.json delete mode 100644 SmartTest-Tests.package/SmTSettingsFilterNoFilterTest.class/README.md delete mode 100644 SmartTest-Tests.package/SmTSettingsFilterNoFilterTest.class/instance/filterStrategy.st delete mode 100644 SmartTest-Tests.package/SmTSettingsFilterNoFilterTest.class/properties.json delete mode 100644 SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/README.md delete mode 100644 SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/dataForTestRegex.st delete mode 100644 SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/filterStrategy.st delete mode 100644 SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/setUp.st delete mode 100644 SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/tearDown.st delete mode 100644 SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/testChangeRegexWhenChanged.st delete mode 100644 SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/properties.json delete mode 100644 SmartTest-Tests.package/SmTSettingsFilterTest.class/README.md delete mode 100644 SmartTest-Tests.package/SmTSettingsFilterTest.class/class/isAbstract.st delete mode 100644 SmartTest-Tests.package/SmTSettingsFilterTest.class/instance/filterStrategy.st delete mode 100644 SmartTest-Tests.package/SmTSettingsFilterTest.class/instance/testChangeFilterStrategy.st delete mode 100644 SmartTest-Tests.package/SmTSettingsFilterTest.class/properties.json delete mode 100644 SmartTest-Tests.package/SmTSettingsFinderReflectivityTest.class/README.md delete mode 100644 SmartTest-Tests.package/SmTSettingsFinderReflectivityTest.class/instance/finderStrategy.st delete mode 100644 SmartTest-Tests.package/SmTSettingsFinderReflectivityTest.class/properties.json delete mode 100644 SmartTest-Tests.package/SmTSettingsFinderSenderTestTest.class/README.md delete mode 100644 SmartTest-Tests.package/SmTSettingsFinderSenderTestTest.class/instance/finderStrategy.st delete mode 100644 SmartTest-Tests.package/SmTSettingsFinderSenderTestTest.class/properties.json delete mode 100644 SmartTest-Tests.package/SmTSettingsFinderTest.class/README.md delete mode 100644 SmartTest-Tests.package/SmTSettingsFinderTest.class/class/isAbstract.st delete mode 100644 SmartTest-Tests.package/SmTSettingsFinderTest.class/instance/finderStrategy.st delete mode 100644 SmartTest-Tests.package/SmTSettingsFinderTest.class/instance/testChangeFinderStrategy.st delete mode 100644 SmartTest-Tests.package/SmTSettingsFinderTest.class/properties.json delete mode 100644 SmartTest-Tests.package/SmTSettingsFinderTestCoverageTest.class/README.md delete mode 100644 SmartTest-Tests.package/SmTSettingsFinderTestCoverageTest.class/instance/finderStrategy.st delete mode 100644 SmartTest-Tests.package/SmTSettingsFinderTestCoverageTest.class/properties.json delete mode 100644 SmartTest-Tests.package/SmTSettingsNoCacheTest.class/README.md delete mode 100644 SmartTest-Tests.package/SmTSettingsNoCacheTest.class/instance/cacheStrategy.st delete mode 100644 SmartTest-Tests.package/SmTSettingsNoCacheTest.class/properties.json delete mode 100644 SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/README.md delete mode 100644 SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/class/isAbstract.st delete mode 100644 SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/instance/dataForTestRegex.st delete mode 100644 SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/instance/setUp.st delete mode 100644 SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/instance/tearDown.st delete mode 100644 SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/instance/testChangeRegexSmTSpecifyPackagesNameFilter.st delete mode 100644 SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/properties.json delete mode 100644 SmartTest-Tests.package/SmTSettingsRunnerDebugTest.class/README.md delete mode 100644 SmartTest-Tests.package/SmTSettingsRunnerDebugTest.class/instance/runnerStrategy.st delete mode 100644 SmartTest-Tests.package/SmTSettingsRunnerDebugTest.class/properties.json delete mode 100644 SmartTest-Tests.package/SmTSettingsRunnerNoticeTest.class/README.md delete mode 100644 SmartTest-Tests.package/SmTSettingsRunnerNoticeTest.class/instance/runnerStrategy.st delete mode 100644 SmartTest-Tests.package/SmTSettingsRunnerNoticeTest.class/properties.json delete mode 100644 SmartTest-Tests.package/SmTSettingsRunnerSmartTest.class/README.md delete mode 100644 SmartTest-Tests.package/SmTSettingsRunnerSmartTest.class/instance/runnerStrategy.st delete mode 100644 SmartTest-Tests.package/SmTSettingsRunnerSmartTest.class/properties.json delete mode 100644 SmartTest-Tests.package/SmTSettingsRunnerTest.class/README.md delete mode 100644 SmartTest-Tests.package/SmTSettingsRunnerTest.class/class/isAbstract.st delete mode 100644 SmartTest-Tests.package/SmTSettingsRunnerTest.class/instance/runnerStrategy.st delete mode 100644 SmartTest-Tests.package/SmTSettingsRunnerTest.class/instance/testChangeRunnerStrategy.st delete mode 100644 SmartTest-Tests.package/SmTSettingsRunnerTest.class/properties.json delete mode 100644 SmartTest-Tests.package/SmTSettingsTest.class/README.md delete mode 100644 SmartTest-Tests.package/SmTSettingsTest.class/class/isAbstract.st delete mode 100644 SmartTest-Tests.package/SmTSettingsTest.class/instance/setUp.st delete mode 100644 SmartTest-Tests.package/SmTSettingsTest.class/instance/tearDown.st delete mode 100644 SmartTest-Tests.package/SmTSettingsTest.class/properties.json delete mode 100644 SmartTest-Tests.package/SmTSettingsTestingStrategyAlwaysTest.class/README.md delete mode 100644 SmartTest-Tests.package/SmTSettingsTestingStrategyAlwaysTest.class/instance/getTestingStrategy.st delete mode 100644 SmartTest-Tests.package/SmTSettingsTestingStrategyAlwaysTest.class/properties.json delete mode 100644 SmartTest-Tests.package/SmTSettingsTestingStrategyEachModificationTest.class/README.md delete mode 100644 SmartTest-Tests.package/SmTSettingsTestingStrategyEachModificationTest.class/instance/getTestingStrategy.st delete mode 100644 SmartTest-Tests.package/SmTSettingsTestingStrategyEachModificationTest.class/properties.json delete mode 100644 SmartTest-Tests.package/SmTSettingsTestingStrategyFiveMinutesTest.class/README.md delete mode 100644 SmartTest-Tests.package/SmTSettingsTestingStrategyFiveMinutesTest.class/instance/getTestingStrategy.st delete mode 100644 SmartTest-Tests.package/SmTSettingsTestingStrategyFiveMinutesTest.class/properties.json delete mode 100644 SmartTest-Tests.package/SmTSettingsTestingStrategyNeverTest.class/README.md delete mode 100644 SmartTest-Tests.package/SmTSettingsTestingStrategyNeverTest.class/instance/getTestingStrategy.st delete mode 100644 SmartTest-Tests.package/SmTSettingsTestingStrategyNeverTest.class/properties.json delete mode 100644 SmartTest-Tests.package/SmTSettingsTestingStrategyTest.class/README.md delete mode 100644 SmartTest-Tests.package/SmTSettingsTestingStrategyTest.class/class/isAbstract.st delete mode 100644 SmartTest-Tests.package/SmTSettingsTestingStrategyTest.class/instance/getTestingStrategy.st delete mode 100644 SmartTest-Tests.package/SmTSettingsTestingStrategyTest.class/instance/testChangeTestingStrategyStrategy.st delete mode 100644 SmartTest-Tests.package/SmTSettingsTestingStrategyTest.class/properties.json delete mode 100644 SmartTest-Tests.package/SmTStaticDefaultClassPackageBasicCacheTest.class/README.md delete mode 100644 SmartTest-Tests.package/SmTStaticDefaultClassPackageBasicCacheTest.class/instance/setUp.st delete mode 100644 SmartTest-Tests.package/SmTStaticDefaultClassPackageBasicCacheTest.class/instance/testStandardMethodSecondLevelSenders.st delete mode 100644 SmartTest-Tests.package/SmTStaticDefaultClassPackageBasicCacheTest.class/properties.json delete mode 100644 SmartTest-Tests.package/SmTStaticDefaultClassPackageWithoutCacheTest.class/README.md delete mode 100644 SmartTest-Tests.package/SmTStaticDefaultClassPackageWithoutCacheTest.class/instance/setUp.st delete mode 100644 SmartTest-Tests.package/SmTStaticDefaultClassPackageWithoutCacheTest.class/instance/tearDown.st delete mode 100644 SmartTest-Tests.package/SmTStaticDefaultClassPackageWithoutCacheTest.class/properties.json delete mode 100644 SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/README.md delete mode 100644 SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/instance/setUp.st delete mode 100644 SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/instance/testInheritance.st delete mode 100644 SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/instance/testStandardMethodFirstLevelSenders.st delete mode 100644 SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/instance/testStandardMethodSecondLevelSenders.st delete mode 100644 SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/instance/testStandardMethodThirdLevelSenders.st delete mode 100644 SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/properties.json delete mode 100644 SmartTest-Tests.package/SmartFinderTest.class/README.md delete mode 100644 SmartTest-Tests.package/SmartFinderTest.class/instance/initCache.st delete mode 100644 SmartTest-Tests.package/SmartFinderTest.class/instance/setUp.st delete mode 100644 SmartTest-Tests.package/SmartFinderTest.class/instance/tearDown.st delete mode 100644 SmartTest-Tests.package/SmartFinderTest.class/instance/testChangeCacheClassFinder.st delete mode 100644 SmartTest-Tests.package/SmartFinderTest.class/instance/testChangeFilterFinder.st delete mode 100644 SmartTest-Tests.package/SmartFinderTest.class/instance/testChangeFilterTryFindTestFinder.st delete mode 100644 SmartTest-Tests.package/SmartFinderTest.class/instance/testChangeFinderTestingStrategy.st delete mode 100644 SmartTest-Tests.package/SmartFinderTest.class/instance/testChangeRunnerTestingStrategy.st delete mode 100644 SmartTest-Tests.package/SmartFinderTest.class/instance/testResetCache.st delete mode 100644 SmartTest-Tests.package/SmartFinderTest.class/instance/testTwoSmartFinderhaveTwoDifferentCache.st delete mode 100644 SmartTest-Tests.package/SmartFinderTest.class/properties.json delete mode 100644 SmartTest-Tests.package/monticello.meta/categories.st delete mode 100644 SmartTest-Tests.package/monticello.meta/initializers.st delete mode 100644 SmartTest-Tests.package/monticello.meta/package delete mode 100644 SmartTest-Tests.package/properties.json delete mode 100644 SmartTest-UI.package/.filetree delete mode 100644 SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/README.md delete mode 100644 SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/class/canBeExecutedInContext..st delete mode 100644 SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/instance/decorateTableCell.using..st delete mode 100644 SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/instance/description.st delete mode 100644 SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/instance/execute.st delete mode 100644 SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/properties.json delete mode 100644 SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/README.md delete mode 100644 SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/instance/canBeExecutedInContext..st delete mode 100644 SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/instance/decorateTableCell.using..st delete mode 100644 SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/instance/description.st delete mode 100644 SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/instance/execute.st delete mode 100644 SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/properties.json delete mode 100644 SmartTest-UI.package/SmTAutoTestsWindows.class/README.md delete mode 100644 SmartTest-UI.package/SmTAutoTestsWindows.class/class/defaultSpec.st delete mode 100644 SmartTest-UI.package/SmTAutoTestsWindows.class/instance/button.st delete mode 100644 SmartTest-UI.package/SmTAutoTestsWindows.class/instance/extent.st delete mode 100644 SmartTest-UI.package/SmTAutoTestsWindows.class/instance/icons.st delete mode 100644 SmartTest-UI.package/SmTAutoTestsWindows.class/instance/initializePresenter.st delete mode 100644 SmartTest-UI.package/SmTAutoTestsWindows.class/instance/initializeWidgets.st delete mode 100644 SmartTest-UI.package/SmTAutoTestsWindows.class/instance/setList..st delete mode 100644 SmartTest-UI.package/SmTAutoTestsWindows.class/instance/testList.st delete mode 100644 SmartTest-UI.package/SmTAutoTestsWindows.class/instance/title.st delete mode 100644 SmartTest-UI.package/SmTAutoTestsWindows.class/properties.json delete mode 100644 SmartTest-UI.package/SmTBigButtonCollector.class/README.md delete mode 100644 SmartTest-UI.package/SmTBigButtonCollector.class/class/activated..st delete mode 100644 SmartTest-UI.package/SmTBigButtonCollector.class/class/activated.st delete mode 100644 SmartTest-UI.package/SmTBigButtonCollector.class/class/bigButton.st delete mode 100644 SmartTest-UI.package/SmTBigButtonCollector.class/class/initialize.st delete mode 100644 SmartTest-UI.package/SmTBigButtonCollector.class/class/reset.st delete mode 100644 SmartTest-UI.package/SmTBigButtonCollector.class/class/settingsOn..st delete mode 100644 SmartTest-UI.package/SmTBigButtonCollector.class/class/unload.st delete mode 100644 SmartTest-UI.package/SmTBigButtonCollector.class/instance/activated..st delete mode 100644 SmartTest-UI.package/SmTBigButtonCollector.class/instance/changeColorFromTestResult..st delete mode 100644 SmartTest-UI.package/SmTBigButtonCollector.class/instance/collector..st delete mode 100644 SmartTest-UI.package/SmTBigButtonCollector.class/instance/collector.st delete mode 100644 SmartTest-UI.package/SmTBigButtonCollector.class/instance/disable.st delete mode 100644 SmartTest-UI.package/SmTBigButtonCollector.class/instance/enable.st delete mode 100644 SmartTest-UI.package/SmTBigButtonCollector.class/instance/initialize.st delete mode 100644 SmartTest-UI.package/SmTBigButtonCollector.class/instance/methodModified..st delete mode 100644 SmartTest-UI.package/SmTBigButtonCollector.class/instance/notify.st delete mode 100644 SmartTest-UI.package/SmTBigButtonCollector.class/instance/updateList..st delete mode 100644 SmartTest-UI.package/SmTBigButtonCollector.class/instance/updateNumberOfTheProgressCircle.st delete mode 100644 SmartTest-UI.package/SmTBigButtonCollector.class/instance/updateUIAfterAddingMethod..st delete mode 100644 SmartTest-UI.package/SmTBigButtonCollector.class/properties.json delete mode 100644 SmartTest-UI.package/SmTButtonResultWindow.class/README.md delete mode 100644 SmartTest-UI.package/SmTButtonResultWindow.class/class/defaultSpec.st delete mode 100644 SmartTest-UI.package/SmTButtonResultWindow.class/instance/addToListTestsMethods..st delete mode 100644 SmartTest-UI.package/SmTButtonResultWindow.class/instance/button..st delete mode 100644 SmartTest-UI.package/SmTButtonResultWindow.class/instance/button.st delete mode 100644 SmartTest-UI.package/SmTButtonResultWindow.class/instance/buttonMorph.st delete mode 100644 SmartTest-UI.package/SmTButtonResultWindow.class/instance/buttonText..st delete mode 100644 SmartTest-UI.package/SmTButtonResultWindow.class/instance/buttonText.st delete mode 100644 SmartTest-UI.package/SmTButtonResultWindow.class/instance/controler..st delete mode 100644 SmartTest-UI.package/SmTButtonResultWindow.class/instance/controler.st delete mode 100644 SmartTest-UI.package/SmTButtonResultWindow.class/instance/extent.st delete mode 100644 SmartTest-UI.package/SmTButtonResultWindow.class/instance/fillFailedTestListFromTestResult..st delete mode 100644 SmartTest-UI.package/SmTButtonResultWindow.class/instance/icons..st delete mode 100644 SmartTest-UI.package/SmTButtonResultWindow.class/instance/icons.st delete mode 100644 SmartTest-UI.package/SmTButtonResultWindow.class/instance/initializeWidgets.st delete mode 100644 SmartTest-UI.package/SmTButtonResultWindow.class/instance/setList..st delete mode 100644 SmartTest-UI.package/SmTButtonResultWindow.class/instance/testList..st delete mode 100644 SmartTest-UI.package/SmTButtonResultWindow.class/instance/testList.st delete mode 100644 SmartTest-UI.package/SmTButtonResultWindow.class/instance/title.st delete mode 100644 SmartTest-UI.package/SmTButtonResultWindow.class/properties.json delete mode 100644 SmartTest-UI.package/SmTCollector.class/README.md delete mode 100644 SmartTest-UI.package/SmTCollector.class/instance/addTestMethod..st delete mode 100644 SmartTest-UI.package/SmTCollector.class/instance/addTestMethods..st delete mode 100644 SmartTest-UI.package/SmTCollector.class/instance/collector.st delete mode 100644 SmartTest-UI.package/SmTCollector.class/instance/flush.st delete mode 100644 SmartTest-UI.package/SmTCollector.class/properties.json delete mode 100644 SmartTest-UI.package/SmTFivesMinutesCollector.class/README.md delete mode 100644 SmartTest-UI.package/SmTFivesMinutesCollector.class/class/addTestMethod..st delete mode 100644 SmartTest-UI.package/SmTFivesMinutesCollector.class/class/addTestMethods..st delete mode 100644 SmartTest-UI.package/SmTFivesMinutesCollector.class/class/start.st delete mode 100644 SmartTest-UI.package/SmTFivesMinutesCollector.class/class/stop.st delete mode 100644 SmartTest-UI.package/SmTFivesMinutesCollector.class/class/uniqueInstance.st delete mode 100644 SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/collector.st delete mode 100644 SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/process.st delete mode 100644 SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/reset.st delete mode 100644 SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/showResult..st delete mode 100644 SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/start.st delete mode 100644 SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/stop.st delete mode 100644 SmartTest-UI.package/SmTFivesMinutesCollector.class/properties.json delete mode 100644 SmartTest-UI.package/SmTIconFabric.class/README.md delete mode 100644 SmartTest-UI.package/SmTIconFabric.class/class/createIconForMethod..st delete mode 100644 SmartTest-UI.package/SmTIconFabric.class/class/createIconForMethods..st delete mode 100644 SmartTest-UI.package/SmTIconFabric.class/properties.json delete mode 100644 SmartTest-UI.package/SmTProgressCircle.class/README.md delete mode 100644 SmartTest-UI.package/SmTProgressCircle.class/instance/controler..st delete mode 100644 SmartTest-UI.package/SmTProgressCircle.class/instance/drawOn..st delete mode 100644 SmartTest-UI.package/SmTProgressCircle.class/instance/handlesMouseDown..st delete mode 100644 SmartTest-UI.package/SmTProgressCircle.class/instance/mouseDown..st delete mode 100644 SmartTest-UI.package/SmTProgressCircle.class/instance/percentage..st delete mode 100644 SmartTest-UI.package/SmTProgressCircle.class/instance/percentage.st delete mode 100644 SmartTest-UI.package/SmTProgressCircle.class/properties.json delete mode 100644 SmartTest-UI.package/monticello.meta/categories.st delete mode 100644 SmartTest-UI.package/monticello.meta/initializers.st delete mode 100644 SmartTest-UI.package/monticello.meta/package delete mode 100644 SmartTest-UI.package/properties.json delete mode 100644 SmartTest.package/.filetree delete mode 100644 SmartTest.package/ASTCacheResetTest.extension/instance/testCacheResetPreserveLinks.st delete mode 100644 SmartTest.package/ASTCacheResetTest.extension/properties.json delete mode 100644 SmartTest.package/CompiledMethod.extension/instance/asTestCase.st delete mode 100644 SmartTest.package/CompiledMethod.extension/instance/belongsToTestCase.st delete mode 100644 SmartTest.package/CompiledMethod.extension/instance/isTestMethod.st delete mode 100644 SmartTest.package/CompiledMethod.extension/instance/isTestSetUpMethod.st delete mode 100644 SmartTest.package/CompiledMethod.extension/instance/isTestTearDownMethod.st delete mode 100644 SmartTest.package/CompiledMethod.extension/properties.json delete mode 100644 SmartTest.package/FormCanvas.extension/instance/fillOval.color.withPercentage.borderWidth.borderColor..st delete mode 100644 SmartTest.package/FormCanvas.extension/instance/fillOval.fillStyle.withPercentage.borderWidth.borderColor..st delete mode 100644 SmartTest.package/FormCanvas.extension/instance/fillOval.withPercentage.color.borderWidth.borderColor..st delete mode 100644 SmartTest.package/FormCanvas.extension/properties.json delete mode 100644 SmartTest.package/GrafPort.extension/instance/fillOval.withPercentage..st delete mode 100644 SmartTest.package/GrafPort.extension/properties.json delete mode 100644 SmartTest.package/HDTestCoverage.extension/instance/unmark.st delete mode 100644 SmartTest.package/HDTestCoverage.extension/properties.json delete mode 100644 SmartTest.package/ManifestSmartTest.class/README.md delete mode 100644 SmartTest.package/ManifestSmartTest.class/class/description.st delete mode 100644 SmartTest.package/ManifestSmartTest.class/class/preUnload.st delete mode 100644 SmartTest.package/ManifestSmartTest.class/properties.json delete mode 100644 SmartTest.package/NautilusRefactoring.extension/instance/undoLabel.st delete mode 100644 SmartTest.package/NautilusRefactoring.extension/properties.json delete mode 100644 SmartTest.package/RGMethodDefinition.extension/instance/isInitializer.st delete mode 100644 SmartTest.package/RGMethodDefinition.extension/instance/senders.st delete mode 100644 SmartTest.package/RGMethodDefinition.extension/properties.json delete mode 100644 SmartTest.package/ReProperty.extension/instance/iconicButtons.st delete mode 100644 SmartTest.package/ReProperty.extension/properties.json delete mode 100644 SmartTest.package/SmTAnnouncer.class/README.md delete mode 100644 SmartTest.package/SmTAnnouncer.class/class/announcer.st delete mode 100644 SmartTest.package/SmTAnnouncer.class/class/shouldAnnounce.st delete mode 100644 SmartTest.package/SmTAnnouncer.class/properties.json delete mode 100644 SmartTest.package/SmTBasicCacheNeverResetStrategy.class/README.md delete mode 100644 SmartTest.package/SmTBasicCacheNeverResetStrategy.class/instance/resetCache.st delete mode 100644 SmartTest.package/SmTBasicCacheNeverResetStrategy.class/properties.json delete mode 100644 SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/README.md delete mode 100644 SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/instance/initialize.st delete mode 100644 SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/instance/numberOfChange..st delete mode 100644 SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/instance/numberOfChange.st delete mode 100644 SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/instance/resetCache.st delete mode 100644 SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/properties.json delete mode 100644 SmartTest.package/SmTBasicCacheResetEveryCommitStrategy.class/README.md delete mode 100644 SmartTest.package/SmTBasicCacheResetEveryCommitStrategy.class/instance/resetCacheForChange..st delete mode 100644 SmartTest.package/SmTBasicCacheResetEveryCommitStrategy.class/properties.json delete mode 100644 SmartTest.package/SmTBasicCacheStrategy.class/README.md delete mode 100644 SmartTest.package/SmTBasicCacheStrategy.class/instance/at..st delete mode 100644 SmartTest.package/SmTBasicCacheStrategy.class/instance/at.ifAbsent..st delete mode 100644 SmartTest.package/SmTBasicCacheStrategy.class/instance/at.ifPresent..st delete mode 100644 SmartTest.package/SmTBasicCacheStrategy.class/instance/at.ifPresent.ifAbsent..st delete mode 100644 SmartTest.package/SmTBasicCacheStrategy.class/instance/at.put..st delete mode 100644 SmartTest.package/SmTBasicCacheStrategy.class/instance/currentCache.st delete mode 100644 SmartTest.package/SmTBasicCacheStrategy.class/instance/relevantTestsFor..st delete mode 100644 SmartTest.package/SmTBasicCacheStrategy.class/instance/searchTestsForMethodReference..st delete mode 100644 SmartTest.package/SmTBasicCacheStrategy.class/properties.json delete mode 100644 SmartTest.package/SmTCacheStrategy.class/README.md delete mode 100644 SmartTest.package/SmTCacheStrategy.class/instance/at..st delete mode 100644 SmartTest.package/SmTCacheStrategy.class/instance/at.ifAbsent..st delete mode 100644 SmartTest.package/SmTCacheStrategy.class/instance/at.ifPresent..st delete mode 100644 SmartTest.package/SmTCacheStrategy.class/instance/at.ifPresent.ifAbsent..st delete mode 100644 SmartTest.package/SmTCacheStrategy.class/instance/at.put..st delete mode 100644 SmartTest.package/SmTCacheStrategy.class/instance/cache..st delete mode 100644 SmartTest.package/SmTCacheStrategy.class/instance/currentCache.st delete mode 100644 SmartTest.package/SmTCacheStrategy.class/instance/disable.st delete mode 100644 SmartTest.package/SmTCacheStrategy.class/instance/enable.st delete mode 100644 SmartTest.package/SmTCacheStrategy.class/instance/relevantTestsFor..st delete mode 100644 SmartTest.package/SmTCacheStrategy.class/instance/resetCache.st delete mode 100644 SmartTest.package/SmTCacheStrategy.class/instance/resetCacheForChange..st delete mode 100644 SmartTest.package/SmTCacheStrategy.class/instance/searchTestsForMethodReference..st delete mode 100644 SmartTest.package/SmTCacheStrategy.class/properties.json delete mode 100644 SmartTest.package/SmTClassNeedTestsCritique.class/README.md delete mode 100644 SmartTest.package/SmTClassNeedTestsCritique.class/instance/description.st delete mode 100644 SmartTest.package/SmTClassNeedTestsCritique.class/instance/title.st delete mode 100644 SmartTest.package/SmTClassNeedTestsCritique.class/properties.json delete mode 100644 SmartTest.package/SmTClassRelativeTestsCritique.class/README.md delete mode 100644 SmartTest.package/SmTClassRelativeTestsCritique.class/class/for.by.tests..st delete mode 100644 SmartTest.package/SmTClassRelativeTestsCritique.class/instance/description.st delete mode 100644 SmartTest.package/SmTClassRelativeTestsCritique.class/properties.json delete mode 100644 SmartTest.package/SmTClassTestedRule.class/README.md delete mode 100644 SmartTest.package/SmTClassTestedRule.class/class/checksClass.st delete mode 100644 SmartTest.package/SmTClassTestedRule.class/class/classActivated..st delete mode 100644 SmartTest.package/SmTClassTestedRule.class/class/classActivated.st delete mode 100644 SmartTest.package/SmTClassTestedRule.class/class/initialize.st delete mode 100644 SmartTest.package/SmTClassTestedRule.class/class/settingsOn..st delete mode 100644 SmartTest.package/SmTClassTestedRule.class/class/unload.st delete mode 100644 SmartTest.package/SmTClassTestedRule.class/instance/basicCheck..st delete mode 100644 SmartTest.package/SmTClassTestedRule.class/instance/check.forCritiquesDo..st delete mode 100644 SmartTest.package/SmTClassTestedRule.class/instance/findTestsForClass..st delete mode 100644 SmartTest.package/SmTClassTestedRule.class/instance/findTestsForMethods..st delete mode 100644 SmartTest.package/SmTClassTestedRule.class/instance/methodUsingVariablesOfClass..st delete mode 100644 SmartTest.package/SmTClassTestedRule.class/instance/name.st delete mode 100644 SmartTest.package/SmTClassTestedRule.class/properties.json delete mode 100644 SmartTest.package/SmTDefaultClassPackagesFilter.class/README.md delete mode 100644 SmartTest.package/SmTDefaultClassPackagesFilter.class/instance/extractPackagesFrom..st delete mode 100644 SmartTest.package/SmTDefaultClassPackagesFilter.class/properties.json delete mode 100644 SmartTest.package/SmTDefaultPackagesFilter.class/README.md delete mode 100644 SmartTest.package/SmTDefaultPackagesFilter.class/class/settingsOn..st delete mode 100644 SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractClassPackageBaseName..st delete mode 100644 SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractCompiledMethodPackageBaseName..st delete mode 100644 SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractMethodDefinitionPackageBaseName..st delete mode 100644 SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractPackageBaseName..st delete mode 100644 SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractPackagesFrom..st delete mode 100644 SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractPackagesFromTrait..st delete mode 100644 SmartTest.package/SmTDefaultPackagesFilter.class/instance/shouldEntityBeFilteredOut.inPackages..st delete mode 100644 SmartTest.package/SmTDefaultPackagesFilter.class/properties.json delete mode 100644 SmartTest.package/SmTEventRecipient.class/README.md delete mode 100644 SmartTest.package/SmTEventRecipient.class/instance/actionForEvent.fromMorph..st delete mode 100644 SmartTest.package/SmTEventRecipient.class/instance/runTestAndShowProgressIn..st delete mode 100644 SmartTest.package/SmTEventRecipient.class/properties.json delete mode 100644 SmartTest.package/SmTFilterStrategy.class/README.md delete mode 100644 SmartTest.package/SmTFilterStrategy.class/instance/extractPackagesFrom..st delete mode 100644 SmartTest.package/SmTFilterStrategy.class/instance/shouldEntityBeFilteredOut.inPackages..st delete mode 100644 SmartTest.package/SmTFilterStrategy.class/properties.json delete mode 100644 SmartTest.package/SmTIcebergLoadedPackagesFilter.class/README.md delete mode 100644 SmartTest.package/SmTIcebergLoadedPackagesFilter.class/instance/extractPackagesFrom..st delete mode 100644 SmartTest.package/SmTIcebergLoadedPackagesFilter.class/instance/shouldEntityBeFilteredOut.inPackages..st delete mode 100644 SmartTest.package/SmTIcebergLoadedPackagesFilter.class/properties.json delete mode 100644 SmartTest.package/SmTMethodNeedTestsCritique.class/README.md delete mode 100644 SmartTest.package/SmTMethodNeedTestsCritique.class/instance/change.st delete mode 100644 SmartTest.package/SmTMethodNeedTestsCritique.class/instance/description.st delete mode 100644 SmartTest.package/SmTMethodNeedTestsCritique.class/instance/execute.st delete mode 100644 SmartTest.package/SmTMethodNeedTestsCritique.class/instance/nameToDisplay.st delete mode 100644 SmartTest.package/SmTMethodNeedTestsCritique.class/instance/oldVersionTextToDisplay.st delete mode 100644 SmartTest.package/SmTMethodNeedTestsCritique.class/instance/providesChange.st delete mode 100644 SmartTest.package/SmTMethodNeedTestsCritique.class/instance/textToDisplay.st delete mode 100644 SmartTest.package/SmTMethodNeedTestsCritique.class/instance/title.st delete mode 100644 SmartTest.package/SmTMethodNeedTestsCritique.class/instance/whatToDisplayIn..st delete mode 100644 SmartTest.package/SmTMethodNeedTestsCritique.class/properties.json delete mode 100644 SmartTest.package/SmTMethodRelativeTestsCritique.class/README.md delete mode 100644 SmartTest.package/SmTMethodRelativeTestsCritique.class/class/for.by.tests..st delete mode 100644 SmartTest.package/SmTMethodRelativeTestsCritique.class/instance/description.st delete mode 100644 SmartTest.package/SmTMethodRelativeTestsCritique.class/properties.json delete mode 100644 SmartTest.package/SmTMethodTestedOnModificationRule.class/README.md delete mode 100644 SmartTest.package/SmTMethodTestedOnModificationRule.class/class/addToElementBag..st delete mode 100644 SmartTest.package/SmTMethodTestedOnModificationRule.class/class/bag.st delete mode 100644 SmartTest.package/SmTMethodTestedOnModificationRule.class/class/disable.st delete mode 100644 SmartTest.package/SmTMethodTestedOnModificationRule.class/class/enable.st delete mode 100644 SmartTest.package/SmTMethodTestedOnModificationRule.class/class/getElementFromBag..st delete mode 100644 SmartTest.package/SmTMethodTestedOnModificationRule.class/class/methodAdded..st delete mode 100644 SmartTest.package/SmTMethodTestedOnModificationRule.class/class/methodModified..st delete mode 100644 SmartTest.package/SmTMethodTestedOnModificationRule.class/instance/basicCheck..st delete mode 100644 SmartTest.package/SmTMethodTestedOnModificationRule.class/instance/name.st delete mode 100644 SmartTest.package/SmTMethodTestedOnModificationRule.class/properties.json delete mode 100644 SmartTest.package/SmTMethodTestedRule.class/README.md delete mode 100644 SmartTest.package/SmTMethodTestedRule.class/class/checksMethod.st delete mode 100644 SmartTest.package/SmTMethodTestedRule.class/class/disable.st delete mode 100644 SmartTest.package/SmTMethodTestedRule.class/class/enable.st delete mode 100644 SmartTest.package/SmTMethodTestedRule.class/class/initialize.st delete mode 100644 SmartTest.package/SmTMethodTestedRule.class/class/isMethodActivated.st delete mode 100644 SmartTest.package/SmTMethodTestedRule.class/class/methodActivated..st delete mode 100644 SmartTest.package/SmTMethodTestedRule.class/class/methodActivated.st delete mode 100644 SmartTest.package/SmTMethodTestedRule.class/class/methodRuleStrategy..st delete mode 100644 SmartTest.package/SmTMethodTestedRule.class/class/methodRuleStrategy.st delete mode 100644 SmartTest.package/SmTMethodTestedRule.class/class/settingsOn..st delete mode 100644 SmartTest.package/SmTMethodTestedRule.class/class/unload.st delete mode 100644 SmartTest.package/SmTMethodTestedRule.class/instance/basicCheck..st delete mode 100644 SmartTest.package/SmTMethodTestedRule.class/instance/check.forCritiquesDo..st delete mode 100644 SmartTest.package/SmTMethodTestedRule.class/instance/isVisible.st delete mode 100644 SmartTest.package/SmTMethodTestedRule.class/instance/name.st delete mode 100644 SmartTest.package/SmTMethodTestedRule.class/properties.json delete mode 100644 SmartTest.package/SmTNeedTestsCritique.class/README.md delete mode 100644 SmartTest.package/SmTNeedTestsCritique.class/instance/description.st delete mode 100644 SmartTest.package/SmTNeedTestsCritique.class/instance/icon.st delete mode 100644 SmartTest.package/SmTNeedTestsCritique.class/instance/providesChange.st delete mode 100644 SmartTest.package/SmTNeedTestsCritique.class/instance/title.st delete mode 100644 SmartTest.package/SmTNeedTestsCritique.class/properties.json delete mode 100644 SmartTest.package/SmTNoCacheStrategy.class/README.md delete mode 100644 SmartTest.package/SmTNoCacheStrategy.class/instance/at..st delete mode 100644 SmartTest.package/SmTNoCacheStrategy.class/instance/at.ifAbsent..st delete mode 100644 SmartTest.package/SmTNoCacheStrategy.class/instance/at.ifPresent..st delete mode 100644 SmartTest.package/SmTNoCacheStrategy.class/instance/at.ifPresent.ifAbsent..st delete mode 100644 SmartTest.package/SmTNoCacheStrategy.class/instance/at.put..st delete mode 100644 SmartTest.package/SmTNoCacheStrategy.class/instance/currentCache.st delete mode 100644 SmartTest.package/SmTNoCacheStrategy.class/instance/relevantTestsFor..st delete mode 100644 SmartTest.package/SmTNoCacheStrategy.class/instance/searchTestsForMethodReference..st delete mode 100644 SmartTest.package/SmTNoCacheStrategy.class/properties.json delete mode 100644 SmartTest.package/SmTNoFilter.class/README.md delete mode 100644 SmartTest.package/SmTNoFilter.class/instance/shouldEntityBeFilteredOut.inPackages..st delete mode 100644 SmartTest.package/SmTNoFilter.class/properties.json delete mode 100644 SmartTest.package/SmTReflectivityTestFinderStrategy.class/README.md delete mode 100644 SmartTest.package/SmTReflectivityTestFinderStrategy.class/class/isConcreteFinder.st delete mode 100644 SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/analyseAndRemoveProxyFor..st delete mode 100644 SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/buildCacheFromTestSuite..st delete mode 100644 SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/collectAllRelativePackages..st delete mode 100644 SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/collectRelativeTestMethodOfMethods..st delete mode 100644 SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/extractCompiledMethodFromReceiver.andSelector..st delete mode 100644 SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/extractCurrentTestExecutionFromContext..st delete mode 100644 SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/initializeLink.st delete mode 100644 SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/initializeLinkInCompiledMethod..st delete mode 100644 SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/installLinkAndRunTest..st delete mode 100644 SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/installProxyFor..st delete mode 100644 SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/isCORAMethodBlacklisted..st delete mode 100644 SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/isCompiledMethod.alreadyExploredForTest..st delete mode 100644 SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/methodsInSimilarPackageAs..st delete mode 100644 SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/searchRelativeTestForMethod..st delete mode 100644 SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/searchTestsForAStandardMethod..st delete mode 100644 SmartTest.package/SmTReflectivityTestFinderStrategy.class/properties.json delete mode 100644 SmartTest.package/SmTRelativeTestsCritique.class/README.md delete mode 100644 SmartTest.package/SmTRelativeTestsCritique.class/class/for.by.tests..st delete mode 100644 SmartTest.package/SmTRelativeTestsCritique.class/instance/actions.st delete mode 100644 SmartTest.package/SmTRelativeTestsCritique.class/instance/description.st delete mode 100644 SmartTest.package/SmTRelativeTestsCritique.class/instance/icon.st delete mode 100644 SmartTest.package/SmTRelativeTestsCritique.class/instance/iconicButtons.st delete mode 100644 SmartTest.package/SmTRelativeTestsCritique.class/instance/initializeRule.target.testsList..st delete mode 100644 SmartTest.package/SmTRelativeTestsCritique.class/instance/openTestsWindowWith..st delete mode 100644 SmartTest.package/SmTRelativeTestsCritique.class/instance/providesChange.st delete mode 100644 SmartTest.package/SmTRelativeTestsCritique.class/instance/testButton..st delete mode 100644 SmartTest.package/SmTRelativeTestsCritique.class/instance/testButton.st delete mode 100644 SmartTest.package/SmTRelativeTestsCritique.class/instance/tests..st delete mode 100644 SmartTest.package/SmTRelativeTestsCritique.class/instance/tests.st delete mode 100644 SmartTest.package/SmTRelativeTestsCritique.class/instance/title.st delete mode 100644 SmartTest.package/SmTRelativeTestsCritique.class/properties.json delete mode 100644 SmartTest.package/SmTRules.class/README.md delete mode 100644 SmartTest.package/SmTRules.class/class/activated..st delete mode 100644 SmartTest.package/SmTRules.class/class/activated.st delete mode 100644 SmartTest.package/SmTRules.class/class/cacheStrategy..st delete mode 100644 SmartTest.package/SmTRules.class/class/cacheStrategy.st delete mode 100644 SmartTest.package/SmTRules.class/class/fillCache.st delete mode 100644 SmartTest.package/SmTRules.class/class/filter..st delete mode 100644 SmartTest.package/SmTRules.class/class/filter.st delete mode 100644 SmartTest.package/SmTRules.class/class/finder..st delete mode 100644 SmartTest.package/SmTRules.class/class/finder.st delete mode 100644 SmartTest.package/SmTRules.class/class/packagesRegex..st delete mode 100644 SmartTest.package/SmTRules.class/class/packagesRegex.st delete mode 100644 SmartTest.package/SmTRules.class/class/propagateRegexToTestFinder.st delete mode 100644 SmartTest.package/SmTRules.class/class/runner..st delete mode 100644 SmartTest.package/SmTRules.class/class/runner.st delete mode 100644 SmartTest.package/SmTRules.class/class/settingsOn..st delete mode 100644 SmartTest.package/SmTRules.class/class/shouldTryToFindTestForDynamic..st delete mode 100644 SmartTest.package/SmTRules.class/class/shouldTryToFindTestForDynamic.st delete mode 100644 SmartTest.package/SmTRules.class/class/strategy..st delete mode 100644 SmartTest.package/SmTRules.class/class/strategy.st delete mode 100644 SmartTest.package/SmTRules.class/class/testFinder..st delete mode 100644 SmartTest.package/SmTRules.class/class/testFinder.st delete mode 100644 SmartTest.package/SmTRules.class/class/unload.st delete mode 100644 SmartTest.package/SmTRules.class/instance/activated.st delete mode 100644 SmartTest.package/SmTRules.class/instance/basicCheck..st delete mode 100644 SmartTest.package/SmTRules.class/instance/findTestsForMethod..st delete mode 100644 SmartTest.package/SmTRules.class/instance/isOnNautilusOrCalypso.st delete mode 100644 SmartTest.package/SmTRules.class/instance/isVisible.st delete mode 100644 SmartTest.package/SmTRules.class/instance/severity.st delete mode 100644 SmartTest.package/SmTRules.class/instance/tests.st delete mode 100644 SmartTest.package/SmTRules.class/properties.json delete mode 100644 SmartTest.package/SmTRunnerStrategy.class/README.md delete mode 100644 SmartTest.package/SmTRunnerStrategy.class/class/colorForTestResultOf..st delete mode 100644 SmartTest.package/SmTRunnerStrategy.class/class/iconForTestFromTestCaseHistory..st delete mode 100644 SmartTest.package/SmTRunnerStrategy.class/class/iconForTestFromTestsCasesHistory..st delete mode 100644 SmartTest.package/SmTRunnerStrategy.class/class/iconForTestResultOf..st delete mode 100644 SmartTest.package/SmTRunnerStrategy.class/class/notifyTitle.contents..st delete mode 100644 SmartTest.package/SmTRunnerStrategy.class/class/runCase.notifyIcon..st delete mode 100644 SmartTest.package/SmTRunnerStrategy.class/class/runCases..st delete mode 100644 SmartTest.package/SmTRunnerStrategy.class/class/runCases.notifyIcon..st delete mode 100644 SmartTest.package/SmTRunnerStrategy.class/properties.json delete mode 100644 SmartTest.package/SmTRunnerStrategyDebug.class/README.md delete mode 100644 SmartTest.package/SmTRunnerStrategyDebug.class/class/runCases..st delete mode 100644 SmartTest.package/SmTRunnerStrategyDebug.class/properties.json delete mode 100644 SmartTest.package/SmTRunnerStrategyNotice.class/README.md delete mode 100644 SmartTest.package/SmTRunnerStrategyNotice.class/class/runCase.notifyIcon..st delete mode 100644 SmartTest.package/SmTRunnerStrategyNotice.class/properties.json delete mode 100644 SmartTest.package/SmTRunnerStrategySmart.class/README.md delete mode 100644 SmartTest.package/SmTRunnerStrategySmart.class/properties.json delete mode 100644 SmartTest.package/SmTSelectPackageBrowser.class/README.md delete mode 100644 SmartTest.package/SmTSelectPackageBrowser.class/class/openWithSmartFinder..st delete mode 100644 SmartTest.package/SmTSelectPackageBrowser.class/instance/addAllItems.st delete mode 100644 SmartTest.package/SmTSelectPackageBrowser.class/instance/addItems.st delete mode 100644 SmartTest.package/SmTSelectPackageBrowser.class/instance/createTestSuiteFrom..st delete mode 100644 SmartTest.package/SmTSelectPackageBrowser.class/instance/initialize.st delete mode 100644 SmartTest.package/SmTSelectPackageBrowser.class/instance/nextAction.st delete mode 100644 SmartTest.package/SmTSelectPackageBrowser.class/instance/removeAllItems.st delete mode 100644 SmartTest.package/SmTSelectPackageBrowser.class/instance/removeItems.st delete mode 100644 SmartTest.package/SmTSelectPackageBrowser.class/instance/smartFinder..st delete mode 100644 SmartTest.package/SmTSelectPackageBrowser.class/instance/smartFinder.st delete mode 100644 SmartTest.package/SmTSelectPackageBrowser.class/instance/sort..st delete mode 100644 SmartTest.package/SmTSelectPackageBrowser.class/instance/sort.withAll..st delete mode 100644 SmartTest.package/SmTSelectPackageBrowser.class/instance/sort.withoutAll..st delete mode 100644 SmartTest.package/SmTSelectPackageBrowser.class/properties.json delete mode 100644 SmartTest.package/SmTSenderTestFinderStrategy.class/README.md delete mode 100644 SmartTest.package/SmTSenderTestFinderStrategy.class/class/isConcreteFinder.st delete mode 100644 SmartTest.package/SmTSenderTestFinderStrategy.class/instance/collectSenderOfRGMethodeDefintion..st delete mode 100644 SmartTest.package/SmTSenderTestFinderStrategy.class/instance/methodsFor.forThePackage..st delete mode 100644 SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAStandardMethod.inPackages..st delete mode 100644 SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAStandardMethod.inPackages.alreadyVisited..st delete mode 100644 SmartTest.package/SmTSenderTestFinderStrategy.class/instance/searchTestsForAStandardMethod..st delete mode 100644 SmartTest.package/SmTSenderTestFinderStrategy.class/properties.json delete mode 100644 SmartTest.package/SmTSpecifyPackagesNameFilter.class/README.md delete mode 100644 SmartTest.package/SmTSpecifyPackagesNameFilter.class/class/packagesRegex..st delete mode 100644 SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/extractPackagesFrom..st delete mode 100644 SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/packages.st delete mode 100644 SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/packagesRegex..st delete mode 100644 SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/packagesRegex.st delete mode 100644 SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/selectedPackages.st delete mode 100644 SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/shouldEntityBeFilteredOut.inPackages..st delete mode 100644 SmartTest.package/SmTSpecifyPackagesNameFilter.class/properties.json delete mode 100644 SmartTest.package/SmTTestCoverage.class/README.md delete mode 100644 SmartTest.package/SmTTestCoverage.class/instance/finder..st delete mode 100644 SmartTest.package/SmTTestCoverage.class/instance/finder.st delete mode 100644 SmartTest.package/SmTTestCoverage.class/instance/mark.st delete mode 100644 SmartTest.package/SmTTestCoverage.class/instance/run.with.in..st delete mode 100644 SmartTest.package/SmTTestCoverage.class/properties.json delete mode 100644 SmartTest.package/SmTTestCoverageTestFinderStrategy.class/README.md delete mode 100644 SmartTest.package/SmTTestCoverageTestFinderStrategy.class/class/collectPackageWithBaseName..st delete mode 100644 SmartTest.package/SmTTestCoverageTestFinderStrategy.class/class/collectPackagesFromName..st delete mode 100644 SmartTest.package/SmTTestCoverageTestFinderStrategy.class/class/extractPackageBaseName..st delete mode 100644 SmartTest.package/SmTTestCoverageTestFinderStrategy.class/class/isConcreteFinder.st delete mode 100644 SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/addATest.toACollectionOfMethod..st delete mode 100644 SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/addATest.toMethodReference..st delete mode 100644 SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/addImpactedTestFromWrapper.theTestMethod..st delete mode 100644 SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/addRelevantTest.fromMarkedWrappers..st delete mode 100644 SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/addToCurrentExecutionMethodReference..st delete mode 100644 SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/analyseAndRemoveProxyFor..st delete mode 100644 SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/availableMethods.st delete mode 100644 SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/availablePackages.st delete mode 100644 SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/availableTestMethods.st delete mode 100644 SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/availableTestPackages.st delete mode 100644 SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/buildCacheFromTestSuite..st delete mode 100644 SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectAllRelativePackages..st delete mode 100644 SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectClassToTestForPackage..st delete mode 100644 SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectClassToTestForPackagesNamed..st delete mode 100644 SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectMethodToTestForPackage..st delete mode 100644 SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectMethodToTestForPackages..st delete mode 100644 SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectMethodToTestForPackagesNamed..st delete mode 100644 SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/extractPackageBaseName..st delete mode 100644 SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/getPackageFromName..st delete mode 100644 SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/initialize.st delete mode 100644 SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/installProxyFor..st delete mode 100644 SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/methodsInSimilarPackageAs..st delete mode 100644 SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/searchRelativeTestForMethod..st delete mode 100644 SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/searchTestsForAStandardMethod..st delete mode 100644 SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/searchTestsForClass..st delete mode 100644 SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/updateCacheAndUnmarkFrom.forMethod..st delete mode 100644 SmartTest.package/SmTTestCoverageTestFinderStrategy.class/properties.json delete mode 100644 SmartTest.package/SmTTestFinderDynamicStrategy.class/README.md delete mode 100644 SmartTest.package/SmTTestFinderDynamicStrategy.class/class/isConcreteFinder.st delete mode 100644 SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/addATest.toMethod..st delete mode 100644 SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/analyseAndRemoveProxyFor..st delete mode 100644 SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/buildCacheFromTestSuite..st delete mode 100644 SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/currentTestExecution..st delete mode 100644 SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/currentTestExecution.st delete mode 100644 SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/installProxyFor..st delete mode 100644 SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/methodsFor..st delete mode 100644 SmartTest.package/SmTTestFinderDynamicStrategy.class/properties.json delete mode 100644 SmartTest.package/SmTTestFinderStrategy.class/README.md delete mode 100644 SmartTest.package/SmTTestFinderStrategy.class/class/isConcreteFinder.st delete mode 100644 SmartTest.package/SmTTestFinderStrategy.class/instance/cache..st delete mode 100644 SmartTest.package/SmTTestFinderStrategy.class/instance/cache.st delete mode 100644 SmartTest.package/SmTTestFinderStrategy.class/instance/computeInheritedTestFromDiscoveredTest..st delete mode 100644 SmartTest.package/SmTTestFinderStrategy.class/instance/filter..st delete mode 100644 SmartTest.package/SmTTestFinderStrategy.class/instance/filter.st delete mode 100644 SmartTest.package/SmTTestFinderStrategy.class/instance/initialize.st delete mode 100644 SmartTest.package/SmTTestFinderStrategy.class/instance/methodToTest..st delete mode 100644 SmartTest.package/SmTTestFinderStrategy.class/instance/methodsFor..st delete mode 100644 SmartTest.package/SmTTestFinderStrategy.class/instance/recursiveSearchForAClass.inPackages..st delete mode 100644 SmartTest.package/SmTTestFinderStrategy.class/instance/recursiveSearchForAClass.inPackages.alreadyVisited..st delete mode 100644 SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForAClass..st delete mode 100644 SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForAInstVar..st delete mode 100644 SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForAInstVar.OfClass..st delete mode 100644 SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForASetUpMethod..st delete mode 100644 SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForAStandardMethod..st delete mode 100644 SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForATearDownMethod..st delete mode 100644 SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForATestMethod..st delete mode 100644 SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForATrait..st delete mode 100644 SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForClassReferenceOf..st delete mode 100644 SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForMethod..st delete mode 100644 SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForMethodReference..st delete mode 100644 SmartTest.package/SmTTestFinderStrategy.class/instance/shouldTryToFindTestForDynamic..st delete mode 100644 SmartTest.package/SmTTestFinderStrategy.class/instance/shouldTryToFindTestForDynamic.st delete mode 100644 SmartTest.package/SmTTestFinderStrategy.class/instance/subTestFromRGDefinition..st delete mode 100644 SmartTest.package/SmTTestFinderStrategy.class/properties.json delete mode 100644 SmartTest.package/SmTTestGenerator.class/README.md delete mode 100644 SmartTest.package/SmTTestGenerator.class/instance/buildTestClassDefinitionFrom..st delete mode 100644 SmartTest.package/SmTTestGenerator.class/instance/buildTestClassNameFrom..st delete mode 100644 SmartTest.package/SmTTestGenerator.class/instance/buildTestPackageNameFrom..st delete mode 100644 SmartTest.package/SmTTestGenerator.class/instance/buildTestSelectorFor..st delete mode 100644 SmartTest.package/SmTTestGenerator.class/instance/createTestForClass..st delete mode 100644 SmartTest.package/SmTTestGenerator.class/instance/generateCommentForTestClass.from..st delete mode 100644 SmartTest.package/SmTTestGenerator.class/instance/generateSourceCodeForTestFrom..st delete mode 100644 SmartTest.package/SmTTestGenerator.class/instance/generateTestMethodFor..st delete mode 100644 SmartTest.package/SmTTestGenerator.class/properties.json delete mode 100644 SmartTest.package/SmTTestListener.class/README.md delete mode 100644 SmartTest.package/SmTTestListener.class/class/activated..st delete mode 100644 SmartTest.package/SmTTestListener.class/class/activated.st delete mode 100644 SmartTest.package/SmTTestListener.class/class/settingsOn..st delete mode 100644 SmartTest.package/SmTTestListener.class/class/uniqueInstance.st delete mode 100644 SmartTest.package/SmTTestListener.class/instance/activated..st delete mode 100644 SmartTest.package/SmTTestListener.class/instance/cacheStrategy..st delete mode 100644 SmartTest.package/SmTTestListener.class/instance/cacheStrategy.st delete mode 100644 SmartTest.package/SmTTestListener.class/instance/disableListenerTestCase.st delete mode 100644 SmartTest.package/SmTTestListener.class/instance/enableListenerTestCase.st delete mode 100644 SmartTest.package/SmTTestListener.class/instance/smtDynamicFinder..st delete mode 100644 SmartTest.package/SmTTestListener.class/instance/smtDynamicFinder.st delete mode 100644 SmartTest.package/SmTTestListener.class/instance/testCaseEnded..st delete mode 100644 SmartTest.package/SmTTestListener.class/instance/testCaseStarted..st delete mode 100644 SmartTest.package/SmTTestListener.class/properties.json delete mode 100644 SmartTest.package/SmTTestingStrategy.class/README.md delete mode 100644 SmartTest.package/SmTTestingStrategy.class/instance/disable.st delete mode 100644 SmartTest.package/SmTTestingStrategy.class/instance/enable.st delete mode 100644 SmartTest.package/SmTTestingStrategy.class/instance/findTestsForMethod..st delete mode 100644 SmartTest.package/SmTTestingStrategy.class/instance/finder..st delete mode 100644 SmartTest.package/SmTTestingStrategy.class/instance/finder.st delete mode 100644 SmartTest.package/SmTTestingStrategy.class/instance/getMethodsFor..st delete mode 100644 SmartTest.package/SmTTestingStrategy.class/instance/getTestMethodFromCompiledTestMethod..st delete mode 100644 SmartTest.package/SmTTestingStrategy.class/instance/runner..st delete mode 100644 SmartTest.package/SmTTestingStrategy.class/instance/runner.st delete mode 100644 SmartTest.package/SmTTestingStrategy.class/properties.json delete mode 100644 SmartTest.package/SmTTestingStrategyAlways.class/README.md delete mode 100644 SmartTest.package/SmTTestingStrategyAlways.class/instance/findTestsForMethod..st delete mode 100644 SmartTest.package/SmTTestingStrategyAlways.class/properties.json delete mode 100644 SmartTest.package/SmTTestingStrategyEachModification.class/README.md delete mode 100644 SmartTest.package/SmTTestingStrategyEachModification.class/instance/addToElementBag..st delete mode 100644 SmartTest.package/SmTTestingStrategyEachModification.class/instance/bag.st delete mode 100644 SmartTest.package/SmTTestingStrategyEachModification.class/instance/disable.st delete mode 100644 SmartTest.package/SmTTestingStrategyEachModification.class/instance/enable.st delete mode 100644 SmartTest.package/SmTTestingStrategyEachModification.class/instance/findTestsForMethod..st delete mode 100644 SmartTest.package/SmTTestingStrategyEachModification.class/instance/getElementFromBag..st delete mode 100644 SmartTest.package/SmTTestingStrategyEachModification.class/instance/initialize.st delete mode 100644 SmartTest.package/SmTTestingStrategyEachModification.class/instance/methodAdded..st delete mode 100644 SmartTest.package/SmTTestingStrategyEachModification.class/instance/methodModified..st delete mode 100644 SmartTest.package/SmTTestingStrategyEachModification.class/properties.json delete mode 100644 SmartTest.package/SmTTestingStrategyFiveMinutes.class/README.md delete mode 100644 SmartTest.package/SmTTestingStrategyFiveMinutes.class/instance/disable.st delete mode 100644 SmartTest.package/SmTTestingStrategyFiveMinutes.class/instance/enable.st delete mode 100644 SmartTest.package/SmTTestingStrategyFiveMinutes.class/instance/findTestsForMethod..st delete mode 100644 SmartTest.package/SmTTestingStrategyFiveMinutes.class/properties.json delete mode 100644 SmartTest.package/SmTTestingStrategyNever.class/README.md delete mode 100644 SmartTest.package/SmTTestingStrategyNever.class/instance/findTestsForMethod..st delete mode 100644 SmartTest.package/SmTTestingStrategyNever.class/properties.json delete mode 100644 SmartTest.package/SmalltalkImage.extension/instance/allMethods.st delete mode 100644 SmartTest.package/SmalltalkImage.extension/instance/allTestMethods.st delete mode 100644 SmartTest.package/SmalltalkImage.extension/properties.json delete mode 100644 SmartTest.package/SmartFinder.class/README.md delete mode 100644 SmartTest.package/SmartFinder.class/instance/autoUpdateCache..st delete mode 100644 SmartTest.package/SmartFinder.class/instance/buildCacheFromTestSuite..st delete mode 100644 SmartTest.package/SmartFinder.class/instance/cacheStrategy..st delete mode 100644 SmartTest.package/SmartFinder.class/instance/cacheStrategy.st delete mode 100644 SmartTest.package/SmartFinder.class/instance/clean.st delete mode 100644 SmartTest.package/SmartFinder.class/instance/currentCache.st delete mode 100644 SmartTest.package/SmartFinder.class/instance/filter..st delete mode 100644 SmartTest.package/SmartFinder.class/instance/filter.st delete mode 100644 SmartTest.package/SmartFinder.class/instance/findTestsForMethod..st delete mode 100644 SmartTest.package/SmartFinder.class/instance/initialize.st delete mode 100644 SmartTest.package/SmartFinder.class/instance/researchTestsForMethod..st delete mode 100644 SmartTest.package/SmartFinder.class/instance/resetCache.st delete mode 100644 SmartTest.package/SmartFinder.class/instance/searchTestsForASetUpMethod..st delete mode 100644 SmartTest.package/SmartFinder.class/instance/searchTestsForATearDownMethod..st delete mode 100644 SmartTest.package/SmartFinder.class/instance/searchTestsForATestMethod..st delete mode 100644 SmartTest.package/SmartFinder.class/instance/setCacheValues..st delete mode 100644 SmartTest.package/SmartFinder.class/instance/shouldTryToFindTestForDynamic..st delete mode 100644 SmartTest.package/SmartFinder.class/instance/shouldTryToFindTestForDynamic.st delete mode 100644 SmartTest.package/SmartFinder.class/instance/smtFinder..st delete mode 100644 SmartTest.package/SmartFinder.class/instance/smtFinder.st delete mode 100644 SmartTest.package/SmartFinder.class/instance/smtListener.st delete mode 100644 SmartTest.package/SmartFinder.class/instance/testRunner..st delete mode 100644 SmartTest.package/SmartFinder.class/instance/testRunner.st delete mode 100644 SmartTest.package/SmartFinder.class/instance/testingStrategy..st delete mode 100644 SmartTest.package/SmartFinder.class/instance/testingStrategy.st delete mode 100644 SmartTest.package/SmartFinder.class/properties.json delete mode 100644 SmartTest.package/TestAsserter.extension/instance/isTestSuite.st delete mode 100644 SmartTest.package/TestAsserter.extension/properties.json delete mode 100644 SmartTest.package/TestCase.extension/class/allTestMethods.st delete mode 100644 SmartTest.package/TestCase.extension/class/generalAnnouncer.st delete mode 100644 SmartTest.package/TestCase.extension/class/shouldAnnounce.st delete mode 100644 SmartTest.package/TestCase.extension/instance/announce.withResult..st delete mode 100644 SmartTest.package/TestCase.extension/instance/generalAnnouncer.st delete mode 100644 SmartTest.package/TestCase.extension/instance/methodReference.st delete mode 100644 SmartTest.package/TestCase.extension/properties.json delete mode 100644 SmartTest.package/TestSuite.extension/instance/flatCollectTests.st delete mode 100644 SmartTest.package/TestSuite.extension/instance/isTestSuite.st delete mode 100644 SmartTest.package/TestSuite.extension/properties.json delete mode 100644 SmartTest.package/monticello.meta/categories.st delete mode 100644 SmartTest.package/monticello.meta/initializers.st delete mode 100644 SmartTest.package/monticello.meta/package delete mode 100644 SmartTest.package/properties.json delete mode 100644 SmartTestDataOutsideP1.package/.filetree delete mode 100644 SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageTestOutsideWithRefTest.class/README.md delete mode 100644 SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageTestOutsideWithRefTest.class/instance/testRefToSmTClassModificationOnClassInsidePackageWithRef.st delete mode 100644 SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageTestOutsideWithRefTest.class/properties.json delete mode 100644 SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageWithRef.class/README.md delete mode 100644 SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageWithRef.class/properties.json delete mode 100644 SmartTestDataOutsideP1.package/SmTClassModificationOnClassOutsidePackageWithRef.class/README.md delete mode 100644 SmartTestDataOutsideP1.package/SmTClassModificationOnClassOutsidePackageWithRef.class/properties.json delete mode 100644 SmartTestDataOutsideP1.package/SmTClassModificationOnClassSimpleTestCase.class/README.md delete mode 100644 SmartTestDataOutsideP1.package/SmTClassModificationOnClassSimpleTestCase.class/instance/testModificationOnClassSimpleTestCase.st delete mode 100644 SmartTestDataOutsideP1.package/SmTClassModificationOnClassSimpleTestCase.class/properties.json delete mode 100644 SmartTestDataOutsideP1.package/SmTClassP1.class/README.md delete mode 100644 SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1FirstLevelSendersInsidePackage.st delete mode 100644 SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1FirstLevelSendersOutsidePackage.st delete mode 100644 SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1SecondLevelSendersInsidePackageWithTestInside.st delete mode 100644 SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1SecondLevelSendersInsidePackageWithTestOutside.st delete mode 100644 SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1SecondLevelSendersOutsidePackageWithTestInside.st delete mode 100644 SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1SecondLevelSendersOutsidePackageWithTestOutside.st delete mode 100644 SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method2SecondLevelSendersInsidePackageWithTestInside.st delete mode 100644 SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method2SecondLevelSendersInsidePackageWithTestOutside.st delete mode 100644 SmartTestDataOutsideP1.package/SmTClassP1.class/properties.json delete mode 100644 SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersInsideWithRefInMethod.class/README.md delete mode 100644 SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersInsideWithRefInMethod.class/instance/method1FirstLevelSendersInsideWithRefInMethod.st delete mode 100644 SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersInsideWithRefInMethod.class/properties.json delete mode 100644 SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class/README.md delete mode 100644 SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class/instance/method1FirstLevelSendersWithRefInClass.st delete mode 100644 SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class/properties.json delete mode 100644 SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class/README.md delete mode 100644 SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class/instance/method1FirstLevelSendersWithRefInMethod.st delete mode 100644 SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class/properties.json delete mode 100644 SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class/README.md delete mode 100644 SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class/instance/method1FirstLevelSendersWithRefInPackage.st delete mode 100644 SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class/properties.json delete mode 100644 SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/README.md delete mode 100644 SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/instVarModificationOnVariableInsidePackage..st delete mode 100644 SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/instVarModificationOnVariableInsidePackage.st delete mode 100644 SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/instVarModificationOnVariableOutsidePackage..st delete mode 100644 SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/instVarModificationOnVariableOutsidePackage.st delete mode 100644 SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/properties.json delete mode 100644 SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsideClassTest.class/README.md delete mode 100644 SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsideClassTest.class/instance/instVarModificationOnVariableInsideClass..st delete mode 100644 SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsideClassTest.class/instance/instVarModificationOnVariableInsideClass.st delete mode 100644 SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsideClassTest.class/instance/testModificationOnVariableInsideClass.st delete mode 100644 SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsideClassTest.class/properties.json delete mode 100644 SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsidePackageTest.class/README.md delete mode 100644 SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsidePackageTest.class/instance/testModificationOnVariableInsidePackage.st delete mode 100644 SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsidePackageTest.class/properties.json delete mode 100644 SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class/README.md delete mode 100644 SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class/instance/method1SecondLevelSendersInsideTestOutsideWithRefInClass.st delete mode 100644 SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class/instance/method2SecondLevelSendersInsideTestOutsideWithRefInClass.st delete mode 100644 SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class/properties.json delete mode 100644 SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class/README.md delete mode 100644 SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class/instance/method1SecondLevelSendersInsideTestOutsideWithRefInMethod.st delete mode 100644 SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class/instance/method2SecondLevelSendersInsideTestOutsideWithRefInMethod.st delete mode 100644 SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class/properties.json delete mode 100644 SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class/README.md delete mode 100644 SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class/instance/method1SecondLevelSendersInsideTestOutsideWithRefInPackage.st delete mode 100644 SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class/instance/method2SecondLevelSendersInsideTestOutsideWithRefInPackage.st delete mode 100644 SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class/properties.json delete mode 100644 SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.class/README.md delete mode 100644 SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.class/instance/method1SecondLevelSendersOutsideTestInsideWithRefInClass.st delete mode 100644 SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.class/properties.json delete mode 100644 SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class/README.md delete mode 100644 SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class/instance/method1SecondLevelSendersOutsideTestInsideWithRefInMethod.st delete mode 100644 SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class/properties.json delete mode 100644 SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.class/README.md delete mode 100644 SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.class/instance/method1SecondLevelSendersOutsideTestInsideWithRefInPackage.st delete mode 100644 SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.class/properties.json delete mode 100644 SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/README.md delete mode 100644 SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/instance/method1SecondLevelSendersOutsideTestOutsideWithRefInMethod.st delete mode 100644 SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/properties.json delete mode 100644 SmartTestDataOutsideP1.package/SmTClassTestP1.class/README.md delete mode 100644 SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testExtensionMethod1FirstLevelSendersInside.st delete mode 100644 SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod1FirstLevelSendersInsidePackage.st delete mode 100644 SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersInsidePackageWithTestInside.st delete mode 100644 SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersOutsidePackageWithTestInside.st delete mode 100644 SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInClass.st delete mode 100644 SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInMethod.st delete mode 100644 SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInPackage.st delete mode 100644 SmartTestDataOutsideP1.package/SmTClassTestP1.class/properties.json delete mode 100644 SmartTestDataOutsideP1.package/SmTExtensionP1.class/README.md delete mode 100644 SmartTestDataOutsideP1.package/SmTExtensionP1.class/instance/extensionMethod1SecondLevelSenders.st delete mode 100644 SmartTestDataOutsideP1.package/SmTExtensionP1.class/properties.json delete mode 100644 SmartTestDataOutsideP1.package/SmTExtensionP2Test.extension/instance/extensionMethod1FirstLevelSendersInside.st delete mode 100644 SmartTestDataOutsideP1.package/SmTExtensionP2Test.extension/instance/extensionMethod1FirstLevelSendersOutside.st delete mode 100644 SmartTestDataOutsideP1.package/SmTExtensionP2Test.extension/properties.json delete mode 100644 SmartTestDataOutsideP1.package/SmTExtensionP3.extension/instance/extensionMethod2SecondLevelSenders.st delete mode 100644 SmartTestDataOutsideP1.package/SmTExtensionP3.extension/properties.json delete mode 100644 SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/README.md delete mode 100644 SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/class/isAbstract.st delete mode 100644 SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/instance/testModificationOnClassAbstractTestCase.st delete mode 100644 SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/properties.json delete mode 100644 SmartTestDataOutsideP1.package/SmTP1ClassTestFirstLevelSendersInsideWithRefInMethod.class/README.md delete mode 100644 SmartTestDataOutsideP1.package/SmTP1ClassTestFirstLevelSendersInsideWithRefInMethod.class/instance/testMethod1FirstLevelSendersInsideWithRefInMethod.st delete mode 100644 SmartTestDataOutsideP1.package/SmTP1ClassTestFirstLevelSendersInsideWithRefInMethod.class/properties.json delete mode 100644 SmartTestDataOutsideP1.package/SmTP1ClassTestSubClassDoesntRedefineMethod.class/README.md delete mode 100644 SmartTestDataOutsideP1.package/SmTP1ClassTestSubClassDoesntRedefineMethod.class/properties.json delete mode 100644 SmartTestDataOutsideP1.package/SmTP1ClassTestSubclassRedefinesMethod.class/README.md delete mode 100644 SmartTestDataOutsideP1.package/SmTP1ClassTestSubclassRedefinesMethod.class/instance/testModificationOnClassAbstractTestCase.st delete mode 100644 SmartTestDataOutsideP1.package/SmTP1ClassTestSubclassRedefinesMethod.class/properties.json delete mode 100644 SmartTestDataOutsideP1.package/SmTP1Inheritance.class/README.md delete mode 100644 SmartTestDataOutsideP1.package/SmTP1Inheritance.class/instance/method1Inheritance.st delete mode 100644 SmartTestDataOutsideP1.package/SmTP1Inheritance.class/properties.json delete mode 100644 SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass1Test.class/README.md delete mode 100644 SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass1Test.class/instance/testMethod1Inheritance.st delete mode 100644 SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass1Test.class/properties.json delete mode 100644 SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass2Test.class/README.md delete mode 100644 SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass2Test.class/properties.json delete mode 100644 SmartTestDataOutsideP1.package/SmTP1InheritanceTest.class/README.md delete mode 100644 SmartTestDataOutsideP1.package/SmTP1InheritanceTest.class/class/isAbstract.st delete mode 100644 SmartTestDataOutsideP1.package/SmTP1InheritanceTest.class/instance/testMethod1Inheritance.st delete mode 100644 SmartTestDataOutsideP1.package/SmTP1InheritanceTest.class/properties.json delete mode 100644 SmartTestDataOutsideP1.package/monticello.meta/categories.st delete mode 100644 SmartTestDataOutsideP1.package/monticello.meta/initializers.st delete mode 100644 SmartTestDataOutsideP1.package/monticello.meta/package delete mode 100644 SmartTestDataOutsideP1.package/properties.json delete mode 100644 SmartTestDataOutsideP2.package/.filetree delete mode 100644 SmartTestDataOutsideP2.package/SmTClassModificationOnClassOutsidePackageWithRefTest.class/README.md delete mode 100644 SmartTestDataOutsideP2.package/SmTClassModificationOnClassOutsidePackageWithRefTest.class/instance/testRefToSmTClassModificationOnClassOutsidePackageWithRef.st delete mode 100644 SmartTestDataOutsideP2.package/SmTClassModificationOnClassOutsidePackageWithRefTest.class/properties.json delete mode 100644 SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackageTest.class/README.md delete mode 100644 SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackageTest.class/instance/testModificationOnVariableOutsidePackage.st delete mode 100644 SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackageTest.class/properties.json delete mode 100644 SmartTestDataOutsideP2.package/SmTClassP2.class/README.md delete mode 100644 SmartTestDataOutsideP2.package/SmTClassP2.class/instance/method2SecondLevelSendersOutsidePackageWithTestInside.st delete mode 100644 SmartTestDataOutsideP2.package/SmTClassP2.class/instance/method2SecondLevelSendersOutsidePackageWithTestOutside.st delete mode 100644 SmartTestDataOutsideP2.package/SmTClassP2.class/properties.json delete mode 100644 SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/README.md delete mode 100644 SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/instance/referenceToSmTClassP1FirstLevelSendersOutsideWithRefInPackage.st delete mode 100644 SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/instance/referenceToSmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.st delete mode 100644 SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/instance/referenceToSmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.st delete mode 100644 SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/properties.json delete mode 100644 SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/README.md delete mode 100644 SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/instance/method2SecondLevelSendersOutsideTestInsideWithRefInClass.st delete mode 100644 SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/instance/refToSmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.st delete mode 100644 SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/properties.json delete mode 100644 SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInMethod.class/README.md delete mode 100644 SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInMethod.class/instance/method2SecondLevelSendersOutsideTestInsideWithRefInMethod.st delete mode 100644 SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInMethod.class/properties.json delete mode 100644 SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage.class/README.md delete mode 100644 SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage.class/instance/method2SecondLevelSendersOutsideTestInsideWithRefInPackage.st delete mode 100644 SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage.class/properties.json delete mode 100644 SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/README.md delete mode 100644 SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/instance/method2SecondLevelSendersOutsideTestOutsideWithRefInMethod.st delete mode 100644 SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/properties.json delete mode 100644 SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/README.md delete mode 100644 SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/referenceToSmTClassP1FirstLevelSendersOutsideWithRefInClass.st delete mode 100644 SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/referenceToSmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.st delete mode 100644 SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testExtensionMethod1FirstLevelSendersOutside.st delete mode 100644 SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod1FirstLevelSendersOutsidePackage.st delete mode 100644 SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod1FirstLevelSendersOutsideWithRefInClass.st delete mode 100644 SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod1FirstLevelSendersOutsideWithRefInMethod.st delete mode 100644 SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod1FirstLevelSendersOutsideWithRefInPackage.st delete mode 100644 SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInClass.st delete mode 100644 SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInMethod.st delete mode 100644 SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInPackage.st delete mode 100644 SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod2SecondLevelSendersInsidePackageWithTestOutside.st delete mode 100644 SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod2SecondLevelSendersOutsidePackageWithTestOutside.st delete mode 100644 SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/properties.json delete mode 100644 SmartTestDataOutsideP2.package/SmTExtensionP2Test.class/README.md delete mode 100644 SmartTestDataOutsideP2.package/SmTExtensionP2Test.class/properties.json delete mode 100644 SmartTestDataOutsideP2.package/monticello.meta/categories.st delete mode 100644 SmartTestDataOutsideP2.package/monticello.meta/initializers.st delete mode 100644 SmartTestDataOutsideP2.package/monticello.meta/package delete mode 100644 SmartTestDataOutsideP2.package/properties.json delete mode 100644 SmartTestDataOutsideP3.package/.filetree delete mode 100644 SmartTestDataOutsideP3.package/SmTClassTestP3.class/README.md delete mode 100644 SmartTestDataOutsideP3.package/SmTClassTestP3.class/instance/testExtensionMethod2SecondLevelSenders.st delete mode 100644 SmartTestDataOutsideP3.package/SmTClassTestP3.class/instance/testMethod1ExtensionTestInside.st delete mode 100644 SmartTestDataOutsideP3.package/SmTClassTestP3.class/properties.json delete mode 100644 SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRef.class/README.md delete mode 100644 SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRef.class/properties.json delete mode 100644 SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefInMethod.class/README.md delete mode 100644 SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefInMethod.class/instance/testMethod2SecondLevelSenderOutsideTestOutsideWithRefInMethod.st delete mode 100644 SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefInMethod.class/properties.json delete mode 100644 SmartTestDataOutsideP3.package/SmTExtensionP3.class/README.md delete mode 100644 SmartTestDataOutsideP3.package/SmTExtensionP3.class/properties.json delete mode 100644 SmartTestDataOutsideP3.package/SmTExtensionP4.extension/instance/extensionMethodP4.st delete mode 100644 SmartTestDataOutsideP3.package/SmTExtensionP4.extension/properties.json delete mode 100644 SmartTestDataOutsideP3.package/monticello.meta/categories.st delete mode 100644 SmartTestDataOutsideP3.package/monticello.meta/initializers.st delete mode 100644 SmartTestDataOutsideP3.package/monticello.meta/package delete mode 100644 SmartTestDataOutsideP3.package/properties.json delete mode 100644 SmartTestDataOutsideP4.package/.filetree delete mode 100644 SmartTestDataOutsideP4.package/SmTExtensionP4.class/README.md delete mode 100644 SmartTestDataOutsideP4.package/SmTExtensionP4.class/instance/method1ExtensionTestInside.st delete mode 100644 SmartTestDataOutsideP4.package/SmTExtensionP4.class/properties.json delete mode 100644 SmartTestDataOutsideP4.package/monticello.meta/categories.st delete mode 100644 SmartTestDataOutsideP4.package/monticello.meta/initializers.st delete mode 100644 SmartTestDataOutsideP4.package/monticello.meta/package delete mode 100644 SmartTestDataOutsideP4.package/properties.json diff --git a/BaselineOfSmartTest.package/.filetree b/BaselineOfSmartTest.package/.filetree deleted file mode 100644 index 57a6797..0000000 --- a/BaselineOfSmartTest.package/.filetree +++ /dev/null @@ -1,5 +0,0 @@ -{ - "separateMethodMetaAndSource" : false, - "noMethodMetaData" : true, - "useCypressPropertiesFile" : true -} \ No newline at end of file diff --git a/BaselineOfSmartTest.package/BaselineOfSmartTest.class/README.md b/BaselineOfSmartTest.package/BaselineOfSmartTest.class/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/baseline..st b/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/baseline..st deleted file mode 100644 index de5050b..0000000 --- a/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/baseline..st +++ /dev/null @@ -1,8 +0,0 @@ -baselines -baseline: spec - - spec - for: #common - do: [ self defineDependencies: spec. - self definePackages: spec. - self defineGroups: spec] \ No newline at end of file diff --git a/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/defineDependencies..st b/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/defineDependencies..st deleted file mode 100644 index 6911781..0000000 --- a/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/defineDependencies..st +++ /dev/null @@ -1,2 +0,0 @@ -baselines -defineDependencies: spec \ No newline at end of file diff --git a/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/defineGroups..st b/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/defineGroups..st deleted file mode 100644 index 45516d6..0000000 --- a/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/defineGroups..st +++ /dev/null @@ -1,5 +0,0 @@ -baselines -defineGroups: spec - spec group: 'default' with: #('SmartTest' 'SmartTest-UI'); - group: 'test' with: #('SmartTest-Tests'); - group: 'all' with: #('default' 'test') \ No newline at end of file diff --git a/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/definePackages..st b/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/definePackages..st deleted file mode 100644 index ebc8fd6..0000000 --- a/BaselineOfSmartTest.package/BaselineOfSmartTest.class/instance/definePackages..st +++ /dev/null @@ -1,12 +0,0 @@ -baselines -definePackages: spec - spec - repository: 'github://badetitou/SmartTest'; - package: 'SmartTest' with: [ spec requires: #('SmartTest-UI') ]; - package: 'SmartTest-Tests' with: [ spec requires: #('SmartTest' 'SmartTest-Tests-Data' 'SmartTestDataOutsideP1' 'SmartTestDataOutsideP3' 'SmartTestDataOutsideP2' 'SmartTestDataOutsideP4') ]; - package: 'SmartTestDataOutsideP1' with: [ spec requires: #('SmartTest' 'SmartTestDataOutsideP3' 'SmartTestDataOutsideP2') ]; - package: 'SmartTestDataOutsideP2' with: [ spec requires: #('SmartTest') ]; - package: 'SmartTestDataOutsideP3' with: [ spec requires: #('SmartTest' 'SmartTestDataOutsideP4') ]; - package: 'SmartTestDataOutsideP4' with: [ spec requires: #('SmartTest') ]; - package: 'SmartTest-Tests-Data' with: [ spec requires: #('SmartTest') ]; - package: 'SmartTest-UI' \ No newline at end of file diff --git a/BaselineOfSmartTest.package/BaselineOfSmartTest.class/properties.json b/BaselineOfSmartTest.package/BaselineOfSmartTest.class/properties.json deleted file mode 100644 index 648af49..0000000 --- a/BaselineOfSmartTest.package/BaselineOfSmartTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "BaselineOf", - "category" : "BaselineOfSmartTest", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "BaselineOfSmartTest", - "type" : "normal" -} \ No newline at end of file diff --git a/BaselineOfSmartTest.package/monticello.meta/categories.st b/BaselineOfSmartTest.package/monticello.meta/categories.st deleted file mode 100644 index 46a00e8..0000000 --- a/BaselineOfSmartTest.package/monticello.meta/categories.st +++ /dev/null @@ -1 +0,0 @@ -SystemOrganization addCategory: #BaselineOfSmartTest! diff --git a/BaselineOfSmartTest.package/monticello.meta/initializers.st b/BaselineOfSmartTest.package/monticello.meta/initializers.st deleted file mode 100644 index e69de29..0000000 diff --git a/BaselineOfSmartTest.package/monticello.meta/package b/BaselineOfSmartTest.package/monticello.meta/package deleted file mode 100644 index f0d1a18..0000000 --- a/BaselineOfSmartTest.package/monticello.meta/package +++ /dev/null @@ -1 +0,0 @@ -(name 'BaselineOfSmartTest') \ No newline at end of file diff --git a/BaselineOfSmartTest.package/properties.json b/BaselineOfSmartTest.package/properties.json deleted file mode 100644 index 6f31cf5..0000000 --- a/BaselineOfSmartTest.package/properties.json +++ /dev/null @@ -1 +0,0 @@ -{ } \ No newline at end of file diff --git a/ConfigurationOfSmartTest.package/.filetree b/ConfigurationOfSmartTest.package/.filetree deleted file mode 100644 index 57a6797..0000000 --- a/ConfigurationOfSmartTest.package/.filetree +++ /dev/null @@ -1,5 +0,0 @@ -{ - "separateMethodMetaAndSource" : false, - "noMethodMetaData" : true, - "useCypressPropertiesFile" : true -} \ No newline at end of file diff --git a/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/README.md b/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/DevelopmentSupport.st b/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/DevelopmentSupport.st deleted file mode 100644 index c173702..0000000 --- a/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/DevelopmentSupport.st +++ /dev/null @@ -1,4 +0,0 @@ -development support -DevelopmentSupport - - \ No newline at end of file diff --git a/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/baseConfigurationClassIfAbsent..st b/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/baseConfigurationClassIfAbsent..st deleted file mode 100644 index c134fad..0000000 --- a/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/baseConfigurationClassIfAbsent..st +++ /dev/null @@ -1,6 +0,0 @@ -development support -baseConfigurationClassIfAbsent: arg1 - ^ Smalltalk - at: #ConfigurationOf - ifAbsent: [ self ensureMetacelloBaseConfiguration. - Smalltalk at: #ConfigurationOf ifAbsent: arg1 ] \ No newline at end of file diff --git a/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/ensureMetacello.st b/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/ensureMetacello.st deleted file mode 100644 index 555d700..0000000 --- a/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/ensureMetacello.st +++ /dev/null @@ -1,3 +0,0 @@ -development support -ensureMetacello - (self baseConfigurationClassIfAbsent: [ ]) ensureMetacello \ No newline at end of file diff --git a/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/ensureMetacelloBaseConfiguration.st b/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/ensureMetacelloBaseConfiguration.st deleted file mode 100644 index d28fdb0..0000000 --- a/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/ensureMetacelloBaseConfiguration.st +++ /dev/null @@ -1,15 +0,0 @@ -development support -ensureMetacelloBaseConfiguration - Smalltalk - at: #ConfigurationOf - ifAbsent: [ | tmp2 tmp3 | - tmp2 := MCHttpRepository - location: 'http://smalltalkhub.com/mc/dkh/metacello/main' - user: '' - password: ''. - tmp2 - versionReaderForFileNamed: 'Metacello-Base-dkh.107' - do: [ :arg1 | - tmp3 := arg1 version. - tmp3 load. - tmp3 workingCopy repositoryGroup addRepository: tmp2 ] ] \ No newline at end of file diff --git a/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/isMetacelloConfig.st b/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/isMetacelloConfig.st deleted file mode 100644 index 93594e3..0000000 --- a/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/isMetacelloConfig.st +++ /dev/null @@ -1,3 +0,0 @@ -development support -isMetacelloConfig - ^ true \ No newline at end of file diff --git a/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/load.st b/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/load.st deleted file mode 100644 index 063bcbf..0000000 --- a/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/load.st +++ /dev/null @@ -1,4 +0,0 @@ -development support -load - - ^ (self project version: #stable) load \ No newline at end of file diff --git a/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/loadBleedingEdge.st b/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/loadBleedingEdge.st deleted file mode 100644 index 71f048c..0000000 --- a/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/loadBleedingEdge.st +++ /dev/null @@ -1,4 +0,0 @@ -development support -loadBleedingEdge - - ^ (self project version: #bleedingEdge) load \ No newline at end of file diff --git a/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/loadDevelopment.st b/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/loadDevelopment.st deleted file mode 100644 index 1def28e..0000000 --- a/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/loadDevelopment.st +++ /dev/null @@ -1,4 +0,0 @@ -development support -loadDevelopment - - ^ (self project version: #development) load \ No newline at end of file diff --git a/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/project.st b/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/project.st deleted file mode 100644 index 956fddd..0000000 --- a/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/project.st +++ /dev/null @@ -1,3 +0,0 @@ -development support -project - ^ self new project \ No newline at end of file diff --git a/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/validate.st b/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/validate.st deleted file mode 100644 index 8946906..0000000 --- a/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/class/validate.st +++ /dev/null @@ -1,8 +0,0 @@ -development support -validate - - self ensureMetacello. - ^ ((Smalltalk at: #MetacelloToolBox) - validateConfiguration: self - debug: #() - recurse: false) explore \ No newline at end of file diff --git a/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/instance/customProjectAttributes.st b/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/instance/customProjectAttributes.st deleted file mode 100644 index 15665cb..0000000 --- a/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/instance/customProjectAttributes.st +++ /dev/null @@ -1,3 +0,0 @@ -symbolic versions -customProjectAttributes - ^ #(). \ No newline at end of file diff --git a/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/instance/dev01..st b/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/instance/dev01..st deleted file mode 100644 index 6ea88fb..0000000 --- a/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/instance/dev01..st +++ /dev/null @@ -1,10 +0,0 @@ -symbolic versions -dev01: spec - - - spec for: #'common' do: [ - spec - baseline: 'SmartTest' - with: [ - spec - repository: 'github://badetitou/SmartTest' ] ]. \ No newline at end of file diff --git a/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/instance/development..st b/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/instance/development..st deleted file mode 100644 index e040d13..0000000 --- a/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/instance/development..st +++ /dev/null @@ -1,5 +0,0 @@ -symbolic versions -development: spec - - - spec for: #'common' version: 'dev-01'. \ No newline at end of file diff --git a/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/instance/master..st b/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/instance/master..st deleted file mode 100644 index 377c2c2..0000000 --- a/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/instance/master..st +++ /dev/null @@ -1,8 +0,0 @@ -symbolic versions -master: spec - - - spec for: #'common' do: [ - spec - baseline: 'SmartTest' - with: [ spec repository: 'github://badetitou/SmartTest:master' ] ] \ No newline at end of file diff --git a/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/instance/project.st b/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/instance/project.st deleted file mode 100644 index ca8cbc3..0000000 --- a/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/instance/project.st +++ /dev/null @@ -1,14 +0,0 @@ -symbolic versions -project - | tmp1 | - tmp1 := project. - ^ tmp1 - ifNil: [ self class ensureMetacello. - project := MetacelloMCProject new - projectAttributes: self customProjectAttributes. - (Smalltalk at: #MetacelloVersionConstructor) - on: self - project: project. - project loadType: #linear. - project ] - ifNotNil: [ tmp1 ] \ No newline at end of file diff --git a/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/instance/stable..st b/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/instance/stable..st deleted file mode 100644 index d77b1be..0000000 --- a/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/instance/stable..st +++ /dev/null @@ -1,5 +0,0 @@ -symbolic versions -stable: spec - - - spec for: #'common' version: 'master'. \ No newline at end of file diff --git a/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/properties.json b/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/properties.json deleted file mode 100644 index 8ecfb73..0000000 --- a/ConfigurationOfSmartTest.package/ConfigurationOfSmartTest.class/properties.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "commentStamp" : "", - "super" : "Object", - "category" : "ConfigurationOfSmartTest", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ - "LastVersionLoad" - ], - "instvars" : [ - "project" - ], - "name" : "ConfigurationOfSmartTest", - "type" : "normal" -} \ No newline at end of file diff --git a/ConfigurationOfSmartTest.package/monticello.meta/categories.st b/ConfigurationOfSmartTest.package/monticello.meta/categories.st deleted file mode 100644 index 008c229..0000000 --- a/ConfigurationOfSmartTest.package/monticello.meta/categories.st +++ /dev/null @@ -1 +0,0 @@ -SystemOrganization addCategory: #ConfigurationOfSmartTest! diff --git a/ConfigurationOfSmartTest.package/monticello.meta/initializers.st b/ConfigurationOfSmartTest.package/monticello.meta/initializers.st deleted file mode 100644 index e69de29..0000000 diff --git a/ConfigurationOfSmartTest.package/monticello.meta/package b/ConfigurationOfSmartTest.package/monticello.meta/package deleted file mode 100644 index 0f3d1fa..0000000 --- a/ConfigurationOfSmartTest.package/monticello.meta/package +++ /dev/null @@ -1 +0,0 @@ -(name 'ConfigurationOfSmartTest') \ No newline at end of file diff --git a/ConfigurationOfSmartTest.package/properties.json b/ConfigurationOfSmartTest.package/properties.json deleted file mode 100644 index 6f31cf5..0000000 --- a/ConfigurationOfSmartTest.package/properties.json +++ /dev/null @@ -1 +0,0 @@ -{ } \ No newline at end of file diff --git a/SmartTest-Tests-Data.package/.filetree b/SmartTest-Tests-Data.package/.filetree deleted file mode 100644 index 57a6797..0000000 --- a/SmartTest-Tests-Data.package/.filetree +++ /dev/null @@ -1,5 +0,0 @@ -{ - "separateMethodMetaAndSource" : false, - "noMethodMetaData" : true, - "useCypressPropertiesFile" : true -} \ No newline at end of file diff --git a/SmartTest-Tests-Data.package/SmTClass.class/README.md b/SmartTest-Tests-Data.package/SmTClass.class/README.md deleted file mode 100644 index 5baf143..0000000 --- a/SmartTest-Tests-Data.package/SmTClass.class/README.md +++ /dev/null @@ -1,4 +0,0 @@ -A class and some methods to test SmartTest. -The companion class SmTClassTest contains tests that invoke these methods - -The idea is that asking for the tests that run for example #method1, we should get SmTClassTest>>testMethod1 diff --git a/SmartTest-Tests-Data.package/SmTClass.class/instance/method1.st b/SmartTest-Tests-Data.package/SmTClass.class/instance/method1.st deleted file mode 100644 index a48bad8..0000000 --- a/SmartTest-Tests-Data.package/SmTClass.class/instance/method1.st +++ /dev/null @@ -1,5 +0,0 @@ -test data -method1 - "this is data for SmTFinderAbstractTest tests" - ^ instVar1 - \ No newline at end of file diff --git a/SmartTest-Tests-Data.package/SmTClass.class/instance/method2.st b/SmartTest-Tests-Data.package/SmTClass.class/instance/method2.st deleted file mode 100644 index 812f754..0000000 --- a/SmartTest-Tests-Data.package/SmTClass.class/instance/method2.st +++ /dev/null @@ -1,4 +0,0 @@ -test data -method2 - "this is data for SmTFinderAbstractTest tests" - self method3: self method1 \ No newline at end of file diff --git a/SmartTest-Tests-Data.package/SmTClass.class/instance/method3..st b/SmartTest-Tests-Data.package/SmTClass.class/instance/method3..st deleted file mode 100644 index cc6e3ff..0000000 --- a/SmartTest-Tests-Data.package/SmTClass.class/instance/method3..st +++ /dev/null @@ -1,5 +0,0 @@ -test data -method3: anObject - "this is data for SmTFinderAbstractTest tests" - instVar2 := anObject. - self method4 \ No newline at end of file diff --git a/SmartTest-Tests-Data.package/SmTClass.class/instance/method4.st b/SmartTest-Tests-Data.package/SmTClass.class/instance/method4.st deleted file mode 100644 index 3e07236..0000000 --- a/SmartTest-Tests-Data.package/SmTClass.class/instance/method4.st +++ /dev/null @@ -1,4 +0,0 @@ -test data -method4 - "this is data for SmTFinderAbstractTest tests" - ^ instVar2 \ No newline at end of file diff --git a/SmartTest-Tests-Data.package/SmTClass.class/properties.json b/SmartTest-Tests-Data.package/SmTClass.class/properties.json deleted file mode 100644 index bed4fca..0000000 --- a/SmartTest-Tests-Data.package/SmTClass.class/properties.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "commentStamp" : "NicolasAnquetil 3/5/2018 09:45", - "super" : "Object", - "category" : "SmartTest-Tests-Data", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "instVar1", - "instVar2" - ], - "name" : "SmTClass", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest-Tests-Data.package/SmTClass2.class/README.md b/SmartTest-Tests-Data.package/SmTClass2.class/README.md deleted file mode 100644 index 5baf143..0000000 --- a/SmartTest-Tests-Data.package/SmTClass2.class/README.md +++ /dev/null @@ -1,4 +0,0 @@ -A class and some methods to test SmartTest. -The companion class SmTClassTest contains tests that invoke these methods - -The idea is that asking for the tests that run for example #method1, we should get SmTClassTest>>testMethod1 diff --git a/SmartTest-Tests-Data.package/SmTClass2.class/instance/initialize.st b/SmartTest-Tests-Data.package/SmTClass2.class/instance/initialize.st deleted file mode 100644 index 890d8b1..0000000 --- a/SmartTest-Tests-Data.package/SmTClass2.class/instance/initialize.st +++ /dev/null @@ -1,3 +0,0 @@ -initialization -initialize - instVar1 := nil. \ No newline at end of file diff --git a/SmartTest-Tests-Data.package/SmTClass2.class/properties.json b/SmartTest-Tests-Data.package/SmTClass2.class/properties.json deleted file mode 100644 index ed5bd03..0000000 --- a/SmartTest-Tests-Data.package/SmTClass2.class/properties.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/2/2018 10:23", - "super" : "Object", - "category" : "SmartTest-Tests-Data", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "instVar1", - "instVar2" - ], - "name" : "SmTClass2", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest-Tests-Data.package/SmTClassTest.class/README.md b/SmartTest-Tests-Data.package/SmTClassTest.class/README.md deleted file mode 100644 index b42ebde..0000000 --- a/SmartTest-Tests-Data.package/SmTClassTest.class/README.md +++ /dev/null @@ -1,3 +0,0 @@ -Companion class of SmTClass totest SmartTest. - -Each test here exercise a method of SmTClass diff --git a/SmartTest-Tests-Data.package/SmTClassTest.class/instance/setUp.st b/SmartTest-Tests-Data.package/SmTClassTest.class/instance/setUp.st deleted file mode 100644 index 9ab9032..0000000 --- a/SmartTest-Tests-Data.package/SmTClassTest.class/instance/setUp.st +++ /dev/null @@ -1,3 +0,0 @@ -test data -setUp - "this is data for SmTFinderAbstractTest tests" \ No newline at end of file diff --git a/SmartTest-Tests-Data.package/SmTClassTest.class/instance/tearDown.st b/SmartTest-Tests-Data.package/SmTClassTest.class/instance/tearDown.st deleted file mode 100644 index 1dba8c5..0000000 --- a/SmartTest-Tests-Data.package/SmTClassTest.class/instance/tearDown.st +++ /dev/null @@ -1,3 +0,0 @@ -test data -tearDown - "this is data for SmTFinderAbstractTest tests" \ No newline at end of file diff --git a/SmartTest-Tests-Data.package/SmTClassTest.class/instance/testMethod1.st b/SmartTest-Tests-Data.package/SmTClassTest.class/instance/testMethod1.st deleted file mode 100644 index 84bc2a3..0000000 --- a/SmartTest-Tests-Data.package/SmTClassTest.class/instance/testMethod1.st +++ /dev/null @@ -1,5 +0,0 @@ -test data -testMethod1 - "this is data for SmTFinderAbstractTest tests" - ^ SmTClass new method1 - \ No newline at end of file diff --git a/SmartTest-Tests-Data.package/SmTClassTest.class/instance/testMethod2.st b/SmartTest-Tests-Data.package/SmTClassTest.class/instance/testMethod2.st deleted file mode 100644 index b1f5e80..0000000 --- a/SmartTest-Tests-Data.package/SmTClassTest.class/instance/testMethod2.st +++ /dev/null @@ -1,5 +0,0 @@ -test data -testMethod2 - "this is data for SmTFinderAbstractTest tests" - ^ SmTClass new method2 - \ No newline at end of file diff --git a/SmartTest-Tests-Data.package/SmTClassTest.class/instance/testMethod3.st b/SmartTest-Tests-Data.package/SmTClassTest.class/instance/testMethod3.st deleted file mode 100644 index a02530f..0000000 --- a/SmartTest-Tests-Data.package/SmTClassTest.class/instance/testMethod3.st +++ /dev/null @@ -1,5 +0,0 @@ -test data -testMethod3 - "this is data for SmTFinderAbstractTest tests" - ^ SmTClass new method3: 3. - \ No newline at end of file diff --git a/SmartTest-Tests-Data.package/SmTClassTest.class/instance/testMethod4.st b/SmartTest-Tests-Data.package/SmTClassTest.class/instance/testMethod4.st deleted file mode 100644 index 821c31c..0000000 --- a/SmartTest-Tests-Data.package/SmTClassTest.class/instance/testMethod4.st +++ /dev/null @@ -1,5 +0,0 @@ -test data -testMethod4 - "this is data for SmTFinderAbstractTest tests" - ^ SmTClass new method4 - \ No newline at end of file diff --git a/SmartTest-Tests-Data.package/SmTClassTest.class/instance/testMethod5.st b/SmartTest-Tests-Data.package/SmTClassTest.class/instance/testMethod5.st deleted file mode 100644 index 397ba21..0000000 --- a/SmartTest-Tests-Data.package/SmTClassTest.class/instance/testMethod5.st +++ /dev/null @@ -1,3 +0,0 @@ -test data -testMethod5 - ^ SmTClass2 new. \ No newline at end of file diff --git a/SmartTest-Tests-Data.package/SmTClassTest.class/properties.json b/SmartTest-Tests-Data.package/SmTClassTest.class/properties.json deleted file mode 100644 index 479e4b8..0000000 --- a/SmartTest-Tests-Data.package/SmTClassTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "NicolasAnquetil 3/5/2018 09:45", - "super" : "TestCase", - "category" : "SmartTest-Tests-Data", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTClassTest", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest-Tests-Data.package/SmTInheritClassTest.class/README.md b/SmartTest-Tests-Data.package/SmTInheritClassTest.class/README.md deleted file mode 100644 index 30d6df7..0000000 --- a/SmartTest-Tests-Data.package/SmTInheritClassTest.class/README.md +++ /dev/null @@ -1,2 +0,0 @@ -A test to test if SmartTest works with inherited tests. -This is the concrete class that executes the tests of its superclass \ No newline at end of file diff --git a/SmartTest-Tests-Data.package/SmTInheritClassTest.class/instance/setUp.st b/SmartTest-Tests-Data.package/SmTInheritClassTest.class/instance/setUp.st deleted file mode 100644 index fca3dac..0000000 --- a/SmartTest-Tests-Data.package/SmTInheritClassTest.class/instance/setUp.st +++ /dev/null @@ -1,3 +0,0 @@ -initialization -setUp - smTtestClass := SmTClass new \ No newline at end of file diff --git a/SmartTest-Tests-Data.package/SmTInheritClassTest.class/properties.json b/SmartTest-Tests-Data.package/SmTInheritClassTest.class/properties.json deleted file mode 100644 index e2786d2..0000000 --- a/SmartTest-Tests-Data.package/SmTInheritClassTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/2/2018 14:04", - "super" : "SmTSuperClassTest", - "category" : "SmartTest-Tests-Data", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTInheritClassTest", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest-Tests-Data.package/SmTSuperClassTest.class/README.md b/SmartTest-Tests-Data.package/SmTSuperClassTest.class/README.md deleted file mode 100644 index 0bd34da..0000000 --- a/SmartTest-Tests-Data.package/SmTSuperClassTest.class/README.md +++ /dev/null @@ -1,2 +0,0 @@ -A test to test if SmartTest works with inherited tests. -This is an abstract class that is never really executed diff --git a/SmartTest-Tests-Data.package/SmTSuperClassTest.class/class/isAbstract.st b/SmartTest-Tests-Data.package/SmTSuperClassTest.class/class/isAbstract.st deleted file mode 100644 index 2abee4c..0000000 --- a/SmartTest-Tests-Data.package/SmTSuperClassTest.class/class/isAbstract.st +++ /dev/null @@ -1,4 +0,0 @@ -testing -isAbstract - - ^ self == SmTSuperClassTest \ No newline at end of file diff --git a/SmartTest-Tests-Data.package/SmTSuperClassTest.class/instance/testMethod1.st b/SmartTest-Tests-Data.package/SmTSuperClassTest.class/instance/testMethod1.st deleted file mode 100644 index 75af50c..0000000 --- a/SmartTest-Tests-Data.package/SmTSuperClassTest.class/instance/testMethod1.st +++ /dev/null @@ -1,4 +0,0 @@ -tests -testMethod1 - ^ smTtestClass method1 - \ No newline at end of file diff --git a/SmartTest-Tests-Data.package/SmTSuperClassTest.class/properties.json b/SmartTest-Tests-Data.package/SmTSuperClassTest.class/properties.json deleted file mode 100644 index e389482..0000000 --- a/SmartTest-Tests-Data.package/SmTSuperClassTest.class/properties.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/2/2018 14:04", - "super" : "TestCase", - "category" : "SmartTest-Tests-Data", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "smTtestClass" - ], - "name" : "SmTSuperClassTest", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest-Tests-Data.package/monticello.meta/categories.st b/SmartTest-Tests-Data.package/monticello.meta/categories.st deleted file mode 100644 index fbb2915..0000000 --- a/SmartTest-Tests-Data.package/monticello.meta/categories.st +++ /dev/null @@ -1 +0,0 @@ -SystemOrganization addCategory: #'SmartTest-Tests-Data'! diff --git a/SmartTest-Tests-Data.package/monticello.meta/initializers.st b/SmartTest-Tests-Data.package/monticello.meta/initializers.st deleted file mode 100644 index e69de29..0000000 diff --git a/SmartTest-Tests-Data.package/monticello.meta/package b/SmartTest-Tests-Data.package/monticello.meta/package deleted file mode 100644 index 750f36f..0000000 --- a/SmartTest-Tests-Data.package/monticello.meta/package +++ /dev/null @@ -1 +0,0 @@ -(name 'SmartTest-Tests-Data') \ No newline at end of file diff --git a/SmartTest-Tests-Data.package/properties.json b/SmartTest-Tests-Data.package/properties.json deleted file mode 100644 index 6f31cf5..0000000 --- a/SmartTest-Tests-Data.package/properties.json +++ /dev/null @@ -1 +0,0 @@ -{ } \ No newline at end of file diff --git a/SmartTest-Tests.package/.filetree b/SmartTest-Tests.package/.filetree deleted file mode 100644 index 57a6797..0000000 --- a/SmartTest-Tests.package/.filetree +++ /dev/null @@ -1,5 +0,0 @@ -{ - "separateMethodMetaAndSource" : false, - "noMethodMetaData" : true, - "useCypressPropertiesFile" : true -} \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderReflectivityNeverResetTest.class/README.md b/SmartTest-Tests.package/SmTCacheBuilderReflectivityNeverResetTest.class/README.md deleted file mode 100644 index 522e130..0000000 --- a/SmartTest-Tests.package/SmTCacheBuilderReflectivityNeverResetTest.class/README.md +++ /dev/null @@ -1 +0,0 @@ -These tests are here to assert that the build cache methods are correct when dealing the Reflectivity strategy and the never reset cache. \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderReflectivityNeverResetTest.class/instance/cacheStrategy.st b/SmartTest-Tests.package/SmTCacheBuilderReflectivityNeverResetTest.class/instance/cacheStrategy.st deleted file mode 100644 index 5b80c72..0000000 --- a/SmartTest-Tests.package/SmTCacheBuilderReflectivityNeverResetTest.class/instance/cacheStrategy.st +++ /dev/null @@ -1,3 +0,0 @@ -initialization -cacheStrategy -^ SmTBasicCacheNeverResetStrategy \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderReflectivityNeverResetTest.class/properties.json b/SmartTest-Tests.package/SmTCacheBuilderReflectivityNeverResetTest.class/properties.json deleted file mode 100644 index d274c0f..0000000 --- a/SmartTest-Tests.package/SmTCacheBuilderReflectivityNeverResetTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "eleonoreW 7/20/2018 09:27", - "super" : "SmTCacheBuilderReflectivityTest", - "category" : "SmartTest-Tests-CacheBuilder", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTCacheBuilderReflectivityNeverResetTest", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEvery5ChangesTest.class/README.md b/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEvery5ChangesTest.class/README.md deleted file mode 100644 index 58f6d2b..0000000 --- a/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEvery5ChangesTest.class/README.md +++ /dev/null @@ -1 +0,0 @@ -These tests are here to assert that the build cache methods are correct when dealing the Reflectivity strategy and the reset every 5 changes cache. \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEvery5ChangesTest.class/instance/cacheStrategy.st b/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEvery5ChangesTest.class/instance/cacheStrategy.st deleted file mode 100644 index 5b80c72..0000000 --- a/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEvery5ChangesTest.class/instance/cacheStrategy.st +++ /dev/null @@ -1,3 +0,0 @@ -initialization -cacheStrategy -^ SmTBasicCacheNeverResetStrategy \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEvery5ChangesTest.class/properties.json b/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEvery5ChangesTest.class/properties.json deleted file mode 100644 index 312ebe6..0000000 --- a/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEvery5ChangesTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "eleonoreW 7/20/2018 09:27", - "super" : "SmTCacheBuilderReflectivityTest", - "category" : "SmartTest-Tests-CacheBuilder", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTCacheBuilderReflectivityResetEvery5ChangesTest", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEveryCommitTest.class/README.md b/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEveryCommitTest.class/README.md deleted file mode 100644 index ff25e1b..0000000 --- a/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEveryCommitTest.class/README.md +++ /dev/null @@ -1 +0,0 @@ -These tests are here to assert that the build cache methods are correct when dealing the Reflectivity strategy and the reset every commit cache. \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEveryCommitTest.class/instance/cacheStrategy.st b/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEveryCommitTest.class/instance/cacheStrategy.st deleted file mode 100644 index 5b80c72..0000000 --- a/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEveryCommitTest.class/instance/cacheStrategy.st +++ /dev/null @@ -1,3 +0,0 @@ -initialization -cacheStrategy -^ SmTBasicCacheNeverResetStrategy \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEveryCommitTest.class/properties.json b/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEveryCommitTest.class/properties.json deleted file mode 100644 index 1ae013d..0000000 --- a/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetEveryCommitTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "eleonoreW 7/20/2018 09:27", - "super" : "SmTCacheBuilderReflectivityTest", - "category" : "SmartTest-Tests-CacheBuilder", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTCacheBuilderReflectivityResetEveryCommitTest", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetOnDemandTest.class/README.md b/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetOnDemandTest.class/README.md deleted file mode 100644 index b6abc29..0000000 --- a/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetOnDemandTest.class/README.md +++ /dev/null @@ -1 +0,0 @@ -These tests are here to assert that the build cache methods are correct when dealing the Reflectivity strategy and the reset on demand cache. \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetOnDemandTest.class/instance/cacheStrategy.st b/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetOnDemandTest.class/instance/cacheStrategy.st deleted file mode 100644 index 3d73e2e..0000000 --- a/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetOnDemandTest.class/instance/cacheStrategy.st +++ /dev/null @@ -1,3 +0,0 @@ -initialization -cacheStrategy -^ SmTBasicCacheStrategy \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetOnDemandTest.class/properties.json b/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetOnDemandTest.class/properties.json deleted file mode 100644 index 12b2ac0..0000000 --- a/SmartTest-Tests.package/SmTCacheBuilderReflectivityResetOnDemandTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "eleonoreW 7/20/2018 09:27", - "super" : "SmTCacheBuilderReflectivityTest", - "category" : "SmartTest-Tests-CacheBuilder", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTCacheBuilderReflectivityResetOnDemandTest", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/README.md b/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/README.md deleted file mode 100644 index 0509902..0000000 --- a/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/README.md +++ /dev/null @@ -1 +0,0 @@ -These tests are here to assert that the build cache methods are correct when dealing with different cache strategies and the Reflectivity strategy. \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/class/isAbstract.st b/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/class/isAbstract.st deleted file mode 100644 index 9df82fc..0000000 --- a/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/class/isAbstract.st +++ /dev/null @@ -1,3 +0,0 @@ -testing -isAbstract - ^ self == SmTCacheBuilderReflectivityTest \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/instance/dynamicFinder.st b/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/instance/dynamicFinder.st deleted file mode 100644 index b289608..0000000 --- a/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/instance/dynamicFinder.st +++ /dev/null @@ -1,3 +0,0 @@ -tests -dynamicFinder - ^ SmTReflectivityTestFinderStrategy new \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod1ToBuildCache.st b/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod1ToBuildCache.st deleted file mode 100644 index bb15332..0000000 --- a/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod1ToBuildCache.st +++ /dev/null @@ -1,12 +0,0 @@ -tests -testRunningTestMethod1ToBuildCache - - self assert: smartFinder currentCache isEmpty. - SmTClassTest run: #testMethod1. - "Running the test fill the cache that is then no more empty but contains only the association between SmTClass>>method1 and SmTClassTest>>testMethod1" - self assert: smartFinder currentCache isNotEmpty. - - "Not sure about the format of the dictionnary." - self - assert: (smartFinder currentCache at: ((SmTClass >> #method1) asRingDefinition )) - equals: {(SmTClassTest >> #testMethod1) asRingDefinition } asSet \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod2ToBuildCache.st b/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod2ToBuildCache.st deleted file mode 100644 index 00d8a37..0000000 --- a/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod2ToBuildCache.st +++ /dev/null @@ -1,36 +0,0 @@ -tests -testRunningTestMethod2ToBuildCache - - self assert: smartFinder currentCache isEmpty. - SmTClassTest run: #testMethod2. - self assert: smartFinder currentCache isNotEmpty. - self - assert: - (smartFinder currentCache - at: (SmTClass >> #method1 )asRingDefinition) - equals: - {(SmTClassTest >> #testMethod2 )asRingDefinition} - asSet. - - "Not sure about the format of the dictionnary." - self - assert: - (smartFinder currentCache - at: (SmTClass >> #method2 )asRingDefinition) - equals: - {(SmTClassTest >> #testMethod2 )asRingDefinition} - asSet. - self - assert: - (smartFinder currentCache - at: (SmTClass >> #method3: )asRingDefinition) - equals: - {(SmTClassTest >> #testMethod2 )asRingDefinition} - asSet. - self - assert: - (smartFinder currentCache - at: (SmTClass >> #method4 )asRingDefinition) - equals: - {(SmTClassTest >> #testMethod2 )asRingDefinition} - asSet \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod5ToBuildCache.st b/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod5ToBuildCache.st deleted file mode 100644 index a234dd1..0000000 --- a/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/instance/testRunningTestMethod5ToBuildCache.st +++ /dev/null @@ -1,11 +0,0 @@ -tests -testRunningTestMethod5ToBuildCache - "This test if SmTTestCoverage find the initialize call" - - - self assert: smartFinder currentCache isEmpty. - SmTClassTest run: #testMethod5. - "Running the test fill the cache that is then no more empty but contains only the association between SmTClass>>method1 and SmTClassTest>>testMethod1" - self assert: smartFinder currentCache isNotEmpty. - self assert: (smartFinder currentCache at: (SmTClass2 >> #initialize) asRingDefinition) equals: {(SmTClassTest >> #testMethod5) asRingDefinition} asSet. - self assert: (smartFinder currentCache at: (SmTClassTest >> #testMethod5) asRingDefinition) equals: {(SmTClassTest >> #testMethod5) asRingDefinition} asSet \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/properties.json b/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/properties.json deleted file mode 100644 index 839ba10..0000000 --- a/SmartTest-Tests.package/SmTCacheBuilderReflectivityTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "eleonoreW 7/20/2018 09:26", - "super" : "SmTCacheBuilderTest", - "category" : "SmartTest-Tests-CacheBuilder", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTCacheBuilderReflectivityTest", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderTest.class/README.md b/SmartTest-Tests.package/SmTCacheBuilderTest.class/README.md deleted file mode 100644 index 9f44baf..0000000 --- a/SmartTest-Tests.package/SmTCacheBuilderTest.class/README.md +++ /dev/null @@ -1 +0,0 @@ -This class aims to test the construction of the cache in the context of dynamic method analysis with different dynamic strategies and different cache strategies. \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderTest.class/class/isAbstract.st b/SmartTest-Tests.package/SmTCacheBuilderTest.class/class/isAbstract.st deleted file mode 100644 index 640ddb4..0000000 --- a/SmartTest-Tests.package/SmTCacheBuilderTest.class/class/isAbstract.st +++ /dev/null @@ -1,4 +0,0 @@ -testing -isAbstract - - ^ self == SmTCacheBuilderTest \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/cacheStrategy.st b/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/cacheStrategy.st deleted file mode 100644 index bab15f4..0000000 --- a/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/cacheStrategy.st +++ /dev/null @@ -1,3 +0,0 @@ -initialization -cacheStrategy -self subclassResponsibility. \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/dynamicFinder.st b/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/dynamicFinder.st deleted file mode 100644 index 2732aa5..0000000 --- a/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/dynamicFinder.st +++ /dev/null @@ -1,3 +0,0 @@ -initialization -dynamicFinder - self subclassResponsibility \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/searchTestMethodsFor..st b/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/searchTestMethodsFor..st deleted file mode 100644 index dbdfb36..0000000 --- a/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/searchTestMethodsFor..st +++ /dev/null @@ -1,4 +0,0 @@ -helpers -searchTestMethodsFor: aCompiledMethod - - ^ smartFinder researchTestsForMethod: aCompiledMethod . \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/setUp.st b/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/setUp.st deleted file mode 100644 index e195aa4..0000000 --- a/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/setUp.st +++ /dev/null @@ -1,10 +0,0 @@ -initialization -setUp - smartFinder := SmartFinder new. - smartFinder filter: SmTDefaultClassPackagesFilter new. - "the cache is initially empty" - smartFinder autoUpdateCache: false. - smartFinder cacheStrategy: self cacheStrategy new. - smartFinder resetCache. - smartFinder smtFinder: self dynamicFinder. - smartFinder autoUpdateCache: true \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/tearDown.st b/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/tearDown.st deleted file mode 100644 index 21f276b..0000000 --- a/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/tearDown.st +++ /dev/null @@ -1,5 +0,0 @@ -initialization -tearDown - smartFinder autoUpdateCache: false. - smartFinder clean. - super tearDown \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/testResearchTestsForStandardMethodWhileEmptyCache.st b/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/testResearchTestsForStandardMethodWhileEmptyCache.st deleted file mode 100644 index 3ec7994..0000000 --- a/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/testResearchTestsForStandardMethodWhileEmptyCache.st +++ /dev/null @@ -1,9 +0,0 @@ -tests -testResearchTestsForStandardMethodWhileEmptyCache - - | testsFound | - self assert: smartFinder currentCache isEmpty. - testsFound := self searchTestMethodsFor: SmTClass >> #method2. - self assert: smartFinder currentCache isEmpty. - self assert: testsFound isEmpty. - diff --git a/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod1ToBuildCache.st b/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod1ToBuildCache.st deleted file mode 100644 index ace7f65..0000000 --- a/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod1ToBuildCache.st +++ /dev/null @@ -1,11 +0,0 @@ -tests -testRunningTestMethod1ToBuildCache - - self assert: smartFinder currentCache isEmpty. - SmTClassTest run: #testMethod1. - "Running the test fill the cache that is then no more empty but contains only the association between SmTClass>>method1 and SmTClassTest>>testMethod1" - self assert: smartFinder currentCache isNotEmpty. - self assert: smartFinder currentCache size equals: 2. - - "Not sure about the format of the dictionnary." - self assert: (smartFinder currentCache at: (SmTClass >> #method1) asRingDefinition) equals: {(SmTClassTest >> #testMethod1) asRingDefinition} asSet \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod2ToBuildCache.st b/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod2ToBuildCache.st deleted file mode 100644 index 2f3c52c..0000000 --- a/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod2ToBuildCache.st +++ /dev/null @@ -1,14 +0,0 @@ -tests -testRunningTestMethod2ToBuildCache - - self assert: smartFinder currentCache isEmpty. - SmTClassTest run: #testMethod2. - "Running the test fills the cache that is then no more empty but contains only the association between SmTClass>>methodi (with i = 1 to 4) and SmTClassTest>>testMethod2. The cache should contain 5 associations one for each method as key and testMethod2 asValue" - self assert: smartFinder currentCache isNotEmpty. - self assert: smartFinder currentCache size equals: 5. - self assert: (smartFinder currentCache at: (SmTClass >> #method1) asRingDefinition) equals: {(SmTClassTest >> #testMethod2) asRingDefinition} asSet. - - "Not sure about the format of the dictionnary." - self assert: (smartFinder currentCache at: (SmTClass >> #method2) asRingDefinition) equals: {(SmTClassTest >> #testMethod2) asRingDefinition} asSet. - self assert: (smartFinder currentCache at: (SmTClass >> #method3:) asRingDefinition) equals: {(SmTClassTest >> #testMethod2) asRingDefinition} asSet. - self assert: (smartFinder currentCache at: (SmTClass >> #method4) asRingDefinition) equals: {(SmTClassTest >> #testMethod2) asRingDefinition} asSet \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod5ToBuildCache.st b/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod5ToBuildCache.st deleted file mode 100644 index 03e4ce6..0000000 --- a/SmartTest-Tests.package/SmTCacheBuilderTest.class/instance/testRunningTestMethod5ToBuildCache.st +++ /dev/null @@ -1,12 +0,0 @@ -tests -testRunningTestMethod5ToBuildCache - "This test if SmTTestCoverage find the initialize call" - - - self assert: smartFinder currentCache isEmpty. - SmTClassTest run: #testMethod5. - "Running the test fill the cache that is then no more empty but contains only the association between SmTClass2>>initialize and SmTClassTest>>testMethod5" - self assert: smartFinder currentCache isNotEmpty. - self assert: smartFinder currentCache size equals: 2. - self assert: (smartFinder currentCache at: (SmTClass2 >> #initialize) asRingDefinition) equals: {(SmTClassTest >> #testMethod5) asRingDefinition} asSet. - self assert: (smartFinder currentCache at: (SmTClassTest >> #testMethod5) asRingDefinition) equals: {(SmTClassTest >> #testMethod5) asRingDefinition} asSet \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderTest.class/properties.json b/SmartTest-Tests.package/SmTCacheBuilderTest.class/properties.json deleted file mode 100644 index 66b6ba4..0000000 --- a/SmartTest-Tests.package/SmTCacheBuilderTest.class/properties.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "commentStamp" : "eleonoreW 7/20/2018 09:25", - "super" : "TestCase", - "category" : "SmartTest-Tests-CacheBuilder", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "cache", - "smartFinder" - ], - "name" : "SmTCacheBuilderTest", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderTestCoverageNeverResetTest.class/README.md b/SmartTest-Tests.package/SmTCacheBuilderTestCoverageNeverResetTest.class/README.md deleted file mode 100644 index d616f55..0000000 --- a/SmartTest-Tests.package/SmTCacheBuilderTestCoverageNeverResetTest.class/README.md +++ /dev/null @@ -1 +0,0 @@ -These tests are here to assert that the build cache methods are correct when dealing the Test Coverage strategy and the never reset cache. \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderTestCoverageNeverResetTest.class/instance/cacheStrategy.st b/SmartTest-Tests.package/SmTCacheBuilderTestCoverageNeverResetTest.class/instance/cacheStrategy.st deleted file mode 100644 index 5b80c72..0000000 --- a/SmartTest-Tests.package/SmTCacheBuilderTestCoverageNeverResetTest.class/instance/cacheStrategy.st +++ /dev/null @@ -1,3 +0,0 @@ -initialization -cacheStrategy -^ SmTBasicCacheNeverResetStrategy \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderTestCoverageNeverResetTest.class/properties.json b/SmartTest-Tests.package/SmTCacheBuilderTestCoverageNeverResetTest.class/properties.json deleted file mode 100644 index 78a331c..0000000 --- a/SmartTest-Tests.package/SmTCacheBuilderTestCoverageNeverResetTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "eleonoreW 7/20/2018 09:28", - "super" : "SmTCacheBuilderTestCoverageTest", - "category" : "SmartTest-Tests-CacheBuilder", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTCacheBuilderTestCoverageNeverResetTest", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEvery5ChangesTest.class/README.md b/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEvery5ChangesTest.class/README.md deleted file mode 100644 index cec1f78..0000000 --- a/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEvery5ChangesTest.class/README.md +++ /dev/null @@ -1 +0,0 @@ -These tests are here to assert that the build cache methods are correct when dealing the Test Coverage strategy and the reset every 5 changes cache. \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEvery5ChangesTest.class/instance/cacheStrategy.st b/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEvery5ChangesTest.class/instance/cacheStrategy.st deleted file mode 100644 index 6b280ce..0000000 --- a/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEvery5ChangesTest.class/instance/cacheStrategy.st +++ /dev/null @@ -1,3 +0,0 @@ -initialization -cacheStrategy -^ SmTBasicCacheResetEvery5ChangesStrategy \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEvery5ChangesTest.class/properties.json b/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEvery5ChangesTest.class/properties.json deleted file mode 100644 index 6e318b6..0000000 --- a/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEvery5ChangesTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "eleonoreW 7/20/2018 09:28", - "super" : "SmTCacheBuilderTestCoverageTest", - "category" : "SmartTest-Tests-CacheBuilder", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTCacheBuilderTestCoverageResetEvery5ChangesTest", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEveryCommitTest.class/README.md b/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEveryCommitTest.class/README.md deleted file mode 100644 index a507393..0000000 --- a/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEveryCommitTest.class/README.md +++ /dev/null @@ -1 +0,0 @@ -These tests are here to assert that the build cache methods are correct when dealing the Test Coverage strategy and the reset every commits cache. \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEveryCommitTest.class/instance/cacheStrategy.st b/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEveryCommitTest.class/instance/cacheStrategy.st deleted file mode 100644 index f2ecde5..0000000 --- a/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEveryCommitTest.class/instance/cacheStrategy.st +++ /dev/null @@ -1,3 +0,0 @@ -initialization -cacheStrategy -^ SmTBasicCacheResetEveryCommitStrategy \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEveryCommitTest.class/properties.json b/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEveryCommitTest.class/properties.json deleted file mode 100644 index c596ae0..0000000 --- a/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetEveryCommitTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "eleonoreW 7/20/2018 09:28", - "super" : "SmTCacheBuilderTestCoverageTest", - "category" : "SmartTest-Tests-CacheBuilder", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTCacheBuilderTestCoverageResetEveryCommitTest", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetOnDemandTest.class/README.md b/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetOnDemandTest.class/README.md deleted file mode 100644 index 104eb7d..0000000 --- a/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetOnDemandTest.class/README.md +++ /dev/null @@ -1 +0,0 @@ -These tests are here to assert that the build cache methods are correct when dealing the Test Coverage strategy and the reset on demand cache. \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetOnDemandTest.class/instance/cacheStrategy.st b/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetOnDemandTest.class/instance/cacheStrategy.st deleted file mode 100644 index 3d73e2e..0000000 --- a/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetOnDemandTest.class/instance/cacheStrategy.st +++ /dev/null @@ -1,3 +0,0 @@ -initialization -cacheStrategy -^ SmTBasicCacheStrategy \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetOnDemandTest.class/properties.json b/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetOnDemandTest.class/properties.json deleted file mode 100644 index 89698bb..0000000 --- a/SmartTest-Tests.package/SmTCacheBuilderTestCoverageResetOnDemandTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "eleonoreW 7/20/2018 09:28", - "super" : "SmTCacheBuilderTestCoverageTest", - "category" : "SmartTest-Tests-CacheBuilder", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTCacheBuilderTestCoverageResetOnDemandTest", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/README.md b/SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/README.md deleted file mode 100644 index 0168734..0000000 --- a/SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/README.md +++ /dev/null @@ -1 +0,0 @@ -These tests are here to assert that the build cache methods are correct when dealing with different cache strategies. \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/class/isAbstract.st b/SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/class/isAbstract.st deleted file mode 100644 index 26587b7..0000000 --- a/SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/class/isAbstract.st +++ /dev/null @@ -1,3 +0,0 @@ -testing -isAbstract -^ self == SmTCacheBuilderTestCoverageTest \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/instance/dynamicFinder.st b/SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/instance/dynamicFinder.st deleted file mode 100644 index c5fe116..0000000 --- a/SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/instance/dynamicFinder.st +++ /dev/null @@ -1,3 +0,0 @@ -initialization -dynamicFinder - ^ SmTTestCoverageTestFinderStrategy new \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/properties.json b/SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/properties.json deleted file mode 100644 index a70c853..0000000 --- a/SmartTest-Tests.package/SmTCacheBuilderTestCoverageTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "SmTCacheBuilderTest", - "category" : "SmartTest-Tests-CacheBuilder", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTCacheBuilderTestCoverageTest", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheNeverResetTest.class/README.md b/SmartTest-Tests.package/SmTCacheNeverResetTest.class/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/SmartTest-Tests.package/SmTCacheNeverResetTest.class/instance/strategyTested.st b/SmartTest-Tests.package/SmTCacheNeverResetTest.class/instance/strategyTested.st deleted file mode 100644 index 3633db6..0000000 --- a/SmartTest-Tests.package/SmTCacheNeverResetTest.class/instance/strategyTested.st +++ /dev/null @@ -1,3 +0,0 @@ -running -strategyTested -^ SmTBasicCacheNeverResetStrategy \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheNeverResetTest.class/properties.json b/SmartTest-Tests.package/SmTCacheNeverResetTest.class/properties.json deleted file mode 100644 index cf8496a..0000000 --- a/SmartTest-Tests.package/SmTCacheNeverResetTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "SmTCacheTest", - "category" : "SmartTest-Tests-Cache", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTCacheNeverResetTest", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheResetEvery5ChangesTest.class/README.md b/SmartTest-Tests.package/SmTCacheResetEvery5ChangesTest.class/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/SmartTest-Tests.package/SmTCacheResetEvery5ChangesTest.class/instance/strategyTested.st b/SmartTest-Tests.package/SmTCacheResetEvery5ChangesTest.class/instance/strategyTested.st deleted file mode 100644 index 24f5d1e..0000000 --- a/SmartTest-Tests.package/SmTCacheResetEvery5ChangesTest.class/instance/strategyTested.st +++ /dev/null @@ -1,3 +0,0 @@ -running -strategyTested -^ SmTBasicCacheResetEvery5ChangesStrategy \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheResetEvery5ChangesTest.class/instance/testResetAfter5MethodChange.st b/SmartTest-Tests.package/SmTCacheResetEvery5ChangesTest.class/instance/testResetAfter5MethodChange.st deleted file mode 100644 index 407194d..0000000 --- a/SmartTest-Tests.package/SmTCacheResetEvery5ChangesTest.class/instance/testResetAfter5MethodChange.st +++ /dev/null @@ -1,12 +0,0 @@ -tests -testResetAfter5MethodChange - "After one method change, the cache should be empty for NeverRest, EveryFiveChange, and EveryCommit case." - - smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. - smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. - smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. - smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. - self assert: smartFinder cacheStrategy numberOfChange == 4. - smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. - self assert: smartFinder cacheStrategy numberOfChange == 0. - self assert: smartFinder currentCache isEmpty \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheResetEvery5ChangesTest.class/properties.json b/SmartTest-Tests.package/SmTCacheResetEvery5ChangesTest.class/properties.json deleted file mode 100644 index 6f35492..0000000 --- a/SmartTest-Tests.package/SmTCacheResetEvery5ChangesTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "SmTCacheTest", - "category" : "SmartTest-Tests-Cache", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTCacheResetEvery5ChangesTest", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheResetEveryCommitTest.class/README.md b/SmartTest-Tests.package/SmTCacheResetEveryCommitTest.class/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/SmartTest-Tests.package/SmTCacheResetEveryCommitTest.class/instance/strategyTested.st b/SmartTest-Tests.package/SmTCacheResetEveryCommitTest.class/instance/strategyTested.st deleted file mode 100644 index c1a0c01..0000000 --- a/SmartTest-Tests.package/SmTCacheResetEveryCommitTest.class/instance/strategyTested.st +++ /dev/null @@ -1,3 +0,0 @@ -running -strategyTested -^ SmTBasicCacheResetEveryCommitStrategy \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheResetEveryCommitTest.class/instance/testResetAfter1Commit.st b/SmartTest-Tests.package/SmTCacheResetEveryCommitTest.class/instance/testResetAfter1Commit.st deleted file mode 100644 index 726299b..0000000 --- a/SmartTest-Tests.package/SmTCacheResetEveryCommitTest.class/instance/testResetAfter1Commit.st +++ /dev/null @@ -1,6 +0,0 @@ -tests -testResetAfter1Commit - "After one method change, the cache should be empty for NeverRest, EveryFiveChange, and EveryCommit case." - - smartFinder cacheStrategy resetCacheForChange: EpMonticelloVersionSave new. - self assert: smartFinder currentCache isEmpty \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheResetEveryCommitTest.class/properties.json b/SmartTest-Tests.package/SmTCacheResetEveryCommitTest.class/properties.json deleted file mode 100644 index a536e58..0000000 --- a/SmartTest-Tests.package/SmTCacheResetEveryCommitTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "SmTCacheTest", - "category" : "SmartTest-Tests-Cache", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTCacheResetEveryCommitTest", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/README.md b/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/instance/strategyTested.st b/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/instance/strategyTested.st deleted file mode 100644 index af7828f..0000000 --- a/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/instance/strategyTested.st +++ /dev/null @@ -1,3 +0,0 @@ -running -strategyTested -^ SmTBasicCacheStrategy \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/instance/testResetAfter1Commit.st b/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/instance/testResetAfter1Commit.st deleted file mode 100644 index 3441d01..0000000 --- a/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/instance/testResetAfter1Commit.st +++ /dev/null @@ -1,5 +0,0 @@ -tests -testResetAfter1Commit -"After one method change, the cache should be empty for NeverRest, EveryFiveChange, and EveryCommit case." -smartFinder cacheStrategy resetCacheForChange: EpMonticelloVersionSave new. -self assert: (smartFinder currentCache isEmpty) \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/instance/testResetAfter1MethodChange.st b/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/instance/testResetAfter1MethodChange.st deleted file mode 100644 index 982958c..0000000 --- a/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/instance/testResetAfter1MethodChange.st +++ /dev/null @@ -1,5 +0,0 @@ -tests -testResetAfter1MethodChange -"Here, the cache should be empty because the BasicCache strategy allows that the reset of the cache" -smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. -self assert: (smartFinder currentCache isEmpty) \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/instance/testResetAfter4MethodChange.st b/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/instance/testResetAfter4MethodChange.st deleted file mode 100644 index 3815067..0000000 --- a/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/instance/testResetAfter4MethodChange.st +++ /dev/null @@ -1,9 +0,0 @@ -tests -testResetAfter4MethodChange - "After one method change, the cache should be empty for NeverRest, EveryFiveChange, and EveryCommit case." - - smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. - smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. - smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. - smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. - self assert: smartFinder currentCache isEmpty \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/instance/testResetAfter5MethodChange.st b/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/instance/testResetAfter5MethodChange.st deleted file mode 100644 index 48458f2..0000000 --- a/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/instance/testResetAfter5MethodChange.st +++ /dev/null @@ -1,9 +0,0 @@ -tests -testResetAfter5MethodChange -"After one method change, the cache should be empty for NeverRest, EveryFiveChange, and EveryCommit case." -smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. -smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. -smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. -smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. -smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. -self assert: (smartFinder currentCache isEmpty) \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/properties.json b/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/properties.json deleted file mode 100644 index 24aa131..0000000 --- a/SmartTest-Tests.package/SmTCacheResetOnDemandTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "SmTCacheTest", - "category" : "SmartTest-Tests-Cache", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTCacheResetOnDemandTest", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheTest.class/README.md b/SmartTest-Tests.package/SmTCacheTest.class/README.md deleted file mode 100644 index b7a2888..0000000 --- a/SmartTest-Tests.package/SmTCacheTest.class/README.md +++ /dev/null @@ -1,5 +0,0 @@ -This tests are here to assert that cache strategies behave corectly. -- BasicCacheNeverReset should always have something in it. -- BasicCacheResetEvery5Changes should reset after 5 calls to its reset method -- BasicCacheResetEveryCommit should reset after each change that is a commit, and not the methods changes. -- BasicCache should reset each time its method reset is called diff --git a/SmartTest-Tests.package/SmTCacheTest.class/class/isAbstract.st b/SmartTest-Tests.package/SmTCacheTest.class/class/isAbstract.st deleted file mode 100644 index db562eb..0000000 --- a/SmartTest-Tests.package/SmTCacheTest.class/class/isAbstract.st +++ /dev/null @@ -1,3 +0,0 @@ -testing -isAbstract -^ (self == SmTCacheTest) \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheTest.class/instance/initCache.st b/SmartTest-Tests.package/SmTCacheTest.class/instance/initCache.st deleted file mode 100644 index 037b06c..0000000 --- a/SmartTest-Tests.package/SmTCacheTest.class/instance/initCache.st +++ /dev/null @@ -1,33 +0,0 @@ -initialize-release -initCache - ^ {((SmTClass >> #method1) asRingDefinition - -> - {(SmTClassTest >> #testMethod1) asRingDefinition. - (SmTClassTest >> #testMethod2) asRingDefinition. - (RGMethodDefinition - className: 'SmTInheritClassTest' - selector: #testMethod1 - isMetaSide: false)} asSet). - ((SmTClass >> #method2) asRingDefinition - -> {(SmTClassTest >> #testMethod2) asRingDefinition} asSet). - ((SmTClass >> #method3:) asRingDefinition - -> - {(SmTClassTest >> #testMethod1) asRingDefinition. - (SmTClassTest >> #testMethod2) asRingDefinition. - (SmTClassTest >> #testMethod3) asRingDefinition} asSet). - ((SmTClass >> #method4) asRingDefinition - -> - {(SmTClassTest >> #testMethod2) asRingDefinition. - (SmTClassTest >> #testMethod3) asRingDefinition. - (SmTClassTest >> #testMethod4) asRingDefinition} asSet). - ((SmTClass2 >> #initialize) asRingDefinition - -> {(SmTClassTest >> #testMethod5) asRingDefinition} asSet). - ((SmTClassTest >> #testMethod4) asRingDefinition - -> {(SmTClassTest >> #testMethod4) asRingDefinition} asSet). - ((('SmTP1' , 'Inheritance') asClass >> ('method1' , 'Inheritance') asSymbol) - asRingDefinition - -> - {(('SmTP1' , 'InheritanceSubClass1Test') asClass >> ('testMethod1','Inheritance') asSymbol) - asRingDefinition. - (RGMethodDefinition className: ('SmTP1InheritanceSubClass2','Test') selector: ('testMethod1','Inheritance') isMetaSide: false) - asRingDefinition} asSet)} asDictionary \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheTest.class/instance/setUp.st b/SmartTest-Tests.package/SmTCacheTest.class/instance/setUp.st deleted file mode 100644 index f170564..0000000 --- a/SmartTest-Tests.package/SmTCacheTest.class/instance/setUp.st +++ /dev/null @@ -1,11 +0,0 @@ -running -setUp - "fill in the cache" - - | initialCache | - super setUp. - smartFinder := SmartFinder new. - initialCache := self initCache. - smartFinder cacheStrategy: (self strategyTested new). - smartFinder setCacheValues: initialCache. - smartFinder smtFinder: SmTTestCoverageTestFinderStrategy new \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheTest.class/instance/strategyTested.st b/SmartTest-Tests.package/SmTCacheTest.class/instance/strategyTested.st deleted file mode 100644 index a678b5a..0000000 --- a/SmartTest-Tests.package/SmTCacheTest.class/instance/strategyTested.st +++ /dev/null @@ -1,3 +0,0 @@ -running -strategyTested -self subclassResponsibility \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheTest.class/instance/testInitCache.st b/SmartTest-Tests.package/SmTCacheTest.class/instance/testInitCache.st deleted file mode 100644 index d43ea86..0000000 --- a/SmartTest-Tests.package/SmTCacheTest.class/instance/testInitCache.st +++ /dev/null @@ -1,3 +0,0 @@ -tests -testInitCache -self assert: (smartFinder currentCache isNotEmpty). \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheTest.class/instance/testResetAfter1Commit.st b/SmartTest-Tests.package/SmTCacheTest.class/instance/testResetAfter1Commit.st deleted file mode 100644 index fdd9915..0000000 --- a/SmartTest-Tests.package/SmTCacheTest.class/instance/testResetAfter1Commit.st +++ /dev/null @@ -1,5 +0,0 @@ -tests -testResetAfter1Commit -"After one method change, the cache should be empty for NeverRest, EveryFiveChange, and EveryCommit case." -smartFinder cacheStrategy resetCacheForChange: EpMonticelloVersionSave new. -self assert: (smartFinder currentCache isNotEmpty) \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheTest.class/instance/testResetAfter1MethodChange.st b/SmartTest-Tests.package/SmTCacheTest.class/instance/testResetAfter1MethodChange.st deleted file mode 100644 index 3293a3f..0000000 --- a/SmartTest-Tests.package/SmTCacheTest.class/instance/testResetAfter1MethodChange.st +++ /dev/null @@ -1,5 +0,0 @@ -tests -testResetAfter1MethodChange -"After one method change, the cache should be empty for NeverRest, EveryFiveChange, and EveryCommit case." -smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. -self assert: (smartFinder currentCache isNotEmpty) \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheTest.class/instance/testResetAfter4MethodChange.st b/SmartTest-Tests.package/SmTCacheTest.class/instance/testResetAfter4MethodChange.st deleted file mode 100644 index 5a3147a..0000000 --- a/SmartTest-Tests.package/SmTCacheTest.class/instance/testResetAfter4MethodChange.st +++ /dev/null @@ -1,8 +0,0 @@ -tests -testResetAfter4MethodChange -"After one method change, the cache should be empty for NeverRest, EveryFiveChange, and EveryCommit case." -smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. -smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. -smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. -smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. -self assert: (smartFinder currentCache isNotEmpty) \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheTest.class/instance/testResetAfter5MethodChange.st b/SmartTest-Tests.package/SmTCacheTest.class/instance/testResetAfter5MethodChange.st deleted file mode 100644 index 551d2a0..0000000 --- a/SmartTest-Tests.package/SmTCacheTest.class/instance/testResetAfter5MethodChange.st +++ /dev/null @@ -1,9 +0,0 @@ -tests -testResetAfter5MethodChange -"After one method change, the cache should be empty for NeverRest, EveryFiveChange, and EveryCommit case." -smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. -smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. -smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. -smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. -smartFinder cacheStrategy resetCacheForChange: EpMethodAddition new. -self assert: (smartFinder currentCache isNotEmpty) \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTCacheTest.class/properties.json b/SmartTest-Tests.package/SmTCacheTest.class/properties.json deleted file mode 100644 index 353b099..0000000 --- a/SmartTest-Tests.package/SmTCacheTest.class/properties.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "commentStamp" : "eleonoreW 7/18/2018 09:37", - "super" : "TestCase", - "category" : "SmartTest-Tests-Cache", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "cache", - "smartFinder" - ], - "name" : "SmTCacheTest", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/README.md b/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/instance/initCache.st b/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/instance/initCache.st deleted file mode 100644 index 3e53be9..0000000 --- a/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/instance/initCache.st +++ /dev/null @@ -1,33 +0,0 @@ -running -initCache - ^ {((SmTClass >> #method1) asRingDefinition - -> - {(SmTClassTest >> #testMethod1) asRingDefinition. - (SmTClassTest >> #testMethod2) asRingDefinition. - (RGMethodDefinition - className: 'SmTInheritClassTest' - selector: #testMethod1 - isMetaSide: false)} asSet). - ((SmTClass >> #method2) asRingDefinition - -> {(SmTClassTest >> #testMethod2) asRingDefinition} asSet). - ((SmTClass >> #method3:) asRingDefinition - -> - {(SmTClassTest >> #testMethod1) asRingDefinition. - (SmTClassTest >> #testMethod2) asRingDefinition. - (SmTClassTest >> #testMethod3) asRingDefinition} asSet). - ((SmTClass >> #method4) asRingDefinition - -> - {(SmTClassTest >> #testMethod2) asRingDefinition. - (SmTClassTest >> #testMethod3) asRingDefinition. - (SmTClassTest >> #testMethod4) asRingDefinition} asSet). - ((SmTClass2 >> #initialize) asRingDefinition - -> {(SmTClassTest >> #testMethod5) asRingDefinition} asSet). - ((SmTClassTest >> #testMethod4) asRingDefinition - -> {(SmTClassTest >> #testMethod4) asRingDefinition} asSet). - ((('SmTP1' , 'Inheritance') asClass >> ('method1' , 'Inheritance') asSymbol) - asRingDefinition - -> - {(('SmTP1' , 'InheritanceSubClass1Test') asClass >> ('testMethod1','Inheritance') asSymbol) - asRingDefinition. - (RGMethodDefinition className: ('SmTP1InheritanceSubClass2','Test') selector: ('testMethod1','Inheritance') isMetaSide: false) - asRingDefinition} asSet)} asDictionary \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/instance/setUp.st b/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/instance/setUp.st deleted file mode 100644 index 8e28d19..0000000 --- a/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/instance/setUp.st +++ /dev/null @@ -1,10 +0,0 @@ -running -setUp - "fill in the cache" - - | initialCache | - super setUp. - initialCache := self initCache. - smartFinder cacheStrategy: (SmTBasicCacheNeverResetStrategy new). - smartFinder setCacheValues: initialCache. - smartFinder smtFinder: SmTTestCoverageTestFinderStrategy new \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/instance/tearDown.st b/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/instance/tearDown.st deleted file mode 100644 index 6df396a..0000000 --- a/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/instance/tearDown.st +++ /dev/null @@ -1,3 +0,0 @@ -helpers -tearDown - smartFinder resetCache. \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/instance/testModificationOnTest.st b/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/instance/testModificationOnTest.st deleted file mode 100644 index 4365e6b..0000000 --- a/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/instance/testModificationOnTest.st +++ /dev/null @@ -1,10 +0,0 @@ -tests -testModificationOnTest -"this method is redundant with the abstract method" - - | testsFound | - testsFound := self searchTestMethodsFor: SmTClassTest >> #testMethod4. - self deny: (testsFound includes: testMethod1). - self deny: (testsFound includes: testMethod2). - self deny: (testsFound includes: testMethod3). - self assert: (testsFound includes: testMethod4) \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/instance/testTestSelfSelected.st b/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/instance/testTestSelfSelected.st deleted file mode 100644 index ef87c9f..0000000 --- a/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/instance/testTestSelfSelected.st +++ /dev/null @@ -1,10 +0,0 @@ -tests -testTestSelfSelected -"this method is redundant with the abstract method" - - | testsFound | - testsFound := self searchTestsForATestMethod: SmTClassTest >> #testMethod1. - self assert: (testsFound includes: testMethod1). - self deny: (testsFound includes: testMethod2). - self deny: (testsFound includes: testMethod3). - self deny: (testsFound includes: testMethod4) \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/properties.json b/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/properties.json deleted file mode 100644 index 928debe..0000000 --- a/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheNeverResetTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "SmTFinderAbstractTest", - "category" : "SmartTest-Tests-Finder", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTDynamicCoverageStrategyBasicCacheNeverResetTest", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/README.md b/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/instance/initCache.st b/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/instance/initCache.st deleted file mode 100644 index 3e53be9..0000000 --- a/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/instance/initCache.st +++ /dev/null @@ -1,33 +0,0 @@ -running -initCache - ^ {((SmTClass >> #method1) asRingDefinition - -> - {(SmTClassTest >> #testMethod1) asRingDefinition. - (SmTClassTest >> #testMethod2) asRingDefinition. - (RGMethodDefinition - className: 'SmTInheritClassTest' - selector: #testMethod1 - isMetaSide: false)} asSet). - ((SmTClass >> #method2) asRingDefinition - -> {(SmTClassTest >> #testMethod2) asRingDefinition} asSet). - ((SmTClass >> #method3:) asRingDefinition - -> - {(SmTClassTest >> #testMethod1) asRingDefinition. - (SmTClassTest >> #testMethod2) asRingDefinition. - (SmTClassTest >> #testMethod3) asRingDefinition} asSet). - ((SmTClass >> #method4) asRingDefinition - -> - {(SmTClassTest >> #testMethod2) asRingDefinition. - (SmTClassTest >> #testMethod3) asRingDefinition. - (SmTClassTest >> #testMethod4) asRingDefinition} asSet). - ((SmTClass2 >> #initialize) asRingDefinition - -> {(SmTClassTest >> #testMethod5) asRingDefinition} asSet). - ((SmTClassTest >> #testMethod4) asRingDefinition - -> {(SmTClassTest >> #testMethod4) asRingDefinition} asSet). - ((('SmTP1' , 'Inheritance') asClass >> ('method1' , 'Inheritance') asSymbol) - asRingDefinition - -> - {(('SmTP1' , 'InheritanceSubClass1Test') asClass >> ('testMethod1','Inheritance') asSymbol) - asRingDefinition. - (RGMethodDefinition className: ('SmTP1InheritanceSubClass2','Test') selector: ('testMethod1','Inheritance') isMetaSide: false) - asRingDefinition} asSet)} asDictionary \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/instance/setUp.st b/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/instance/setUp.st deleted file mode 100644 index f28ccb5..0000000 --- a/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/instance/setUp.st +++ /dev/null @@ -1,10 +0,0 @@ -running -setUp - "fill in the cache" - - | initialCache | - super setUp. - initialCache := self initCache. - smartFinder cacheStrategy: (SmTBasicCacheResetEvery5ChangesStrategy new). - smartFinder setCacheValues: initialCache. - smartFinder smtFinder: SmTTestCoverageTestFinderStrategy new \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/instance/tearDown.st b/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/instance/tearDown.st deleted file mode 100644 index 6df396a..0000000 --- a/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/instance/tearDown.st +++ /dev/null @@ -1,3 +0,0 @@ -helpers -tearDown - smartFinder resetCache. \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/instance/testModificationOnTest.st b/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/instance/testModificationOnTest.st deleted file mode 100644 index 4365e6b..0000000 --- a/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/instance/testModificationOnTest.st +++ /dev/null @@ -1,10 +0,0 @@ -tests -testModificationOnTest -"this method is redundant with the abstract method" - - | testsFound | - testsFound := self searchTestMethodsFor: SmTClassTest >> #testMethod4. - self deny: (testsFound includes: testMethod1). - self deny: (testsFound includes: testMethod2). - self deny: (testsFound includes: testMethod3). - self assert: (testsFound includes: testMethod4) \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/instance/testTestSelfSelected.st b/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/instance/testTestSelfSelected.st deleted file mode 100644 index ef87c9f..0000000 --- a/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/instance/testTestSelfSelected.st +++ /dev/null @@ -1,10 +0,0 @@ -tests -testTestSelfSelected -"this method is redundant with the abstract method" - - | testsFound | - testsFound := self searchTestsForATestMethod: SmTClassTest >> #testMethod1. - self assert: (testsFound includes: testMethod1). - self deny: (testsFound includes: testMethod2). - self deny: (testsFound includes: testMethod3). - self deny: (testsFound includes: testMethod4) \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/properties.json b/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/properties.json deleted file mode 100644 index 1c18b9f..0000000 --- a/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "SmTFinderAbstractTest", - "category" : "SmartTest-Tests-Finder", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTDynamicCoverageStrategyBasicCacheResetEvery5ChangesTest", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/README.md b/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/instance/initCache.st b/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/instance/initCache.st deleted file mode 100644 index 3e53be9..0000000 --- a/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/instance/initCache.st +++ /dev/null @@ -1,33 +0,0 @@ -running -initCache - ^ {((SmTClass >> #method1) asRingDefinition - -> - {(SmTClassTest >> #testMethod1) asRingDefinition. - (SmTClassTest >> #testMethod2) asRingDefinition. - (RGMethodDefinition - className: 'SmTInheritClassTest' - selector: #testMethod1 - isMetaSide: false)} asSet). - ((SmTClass >> #method2) asRingDefinition - -> {(SmTClassTest >> #testMethod2) asRingDefinition} asSet). - ((SmTClass >> #method3:) asRingDefinition - -> - {(SmTClassTest >> #testMethod1) asRingDefinition. - (SmTClassTest >> #testMethod2) asRingDefinition. - (SmTClassTest >> #testMethod3) asRingDefinition} asSet). - ((SmTClass >> #method4) asRingDefinition - -> - {(SmTClassTest >> #testMethod2) asRingDefinition. - (SmTClassTest >> #testMethod3) asRingDefinition. - (SmTClassTest >> #testMethod4) asRingDefinition} asSet). - ((SmTClass2 >> #initialize) asRingDefinition - -> {(SmTClassTest >> #testMethod5) asRingDefinition} asSet). - ((SmTClassTest >> #testMethod4) asRingDefinition - -> {(SmTClassTest >> #testMethod4) asRingDefinition} asSet). - ((('SmTP1' , 'Inheritance') asClass >> ('method1' , 'Inheritance') asSymbol) - asRingDefinition - -> - {(('SmTP1' , 'InheritanceSubClass1Test') asClass >> ('testMethod1','Inheritance') asSymbol) - asRingDefinition. - (RGMethodDefinition className: ('SmTP1InheritanceSubClass2','Test') selector: ('testMethod1','Inheritance') isMetaSide: false) - asRingDefinition} asSet)} asDictionary \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/instance/setUp.st b/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/instance/setUp.st deleted file mode 100644 index 96bd215..0000000 --- a/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/instance/setUp.st +++ /dev/null @@ -1,10 +0,0 @@ -running -setUp - "fill in the cache" - - | initialCache | - super setUp. - initialCache := self initCache. - smartFinder cacheStrategy: (SmTBasicCacheResetEveryCommitStrategy new). - smartFinder setCacheValues: initialCache. - smartFinder smtFinder: SmTTestCoverageTestFinderStrategy new \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/instance/tearDown.st b/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/instance/tearDown.st deleted file mode 100644 index 6df396a..0000000 --- a/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/instance/tearDown.st +++ /dev/null @@ -1,3 +0,0 @@ -helpers -tearDown - smartFinder resetCache. \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/instance/testModificationOnTest.st b/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/instance/testModificationOnTest.st deleted file mode 100644 index 4365e6b..0000000 --- a/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/instance/testModificationOnTest.st +++ /dev/null @@ -1,10 +0,0 @@ -tests -testModificationOnTest -"this method is redundant with the abstract method" - - | testsFound | - testsFound := self searchTestMethodsFor: SmTClassTest >> #testMethod4. - self deny: (testsFound includes: testMethod1). - self deny: (testsFound includes: testMethod2). - self deny: (testsFound includes: testMethod3). - self assert: (testsFound includes: testMethod4) \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/instance/testTestSelfSelected.st b/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/instance/testTestSelfSelected.st deleted file mode 100644 index ef87c9f..0000000 --- a/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/instance/testTestSelfSelected.st +++ /dev/null @@ -1,10 +0,0 @@ -tests -testTestSelfSelected -"this method is redundant with the abstract method" - - | testsFound | - testsFound := self searchTestsForATestMethod: SmTClassTest >> #testMethod1. - self assert: (testsFound includes: testMethod1). - self deny: (testsFound includes: testMethod2). - self deny: (testsFound includes: testMethod3). - self deny: (testsFound includes: testMethod4) \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/properties.json b/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/properties.json deleted file mode 100644 index 821a028..0000000 --- a/SmartTest-Tests.package/SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "SmTFinderAbstractTest", - "category" : "SmartTest-Tests-Finder", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTDynamicCoverageStrategyBasicCacheResetEveryCommitTest", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/README.md b/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/README.md deleted file mode 100644 index f1222ea..0000000 --- a/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/README.md +++ /dev/null @@ -1 +0,0 @@ -In this class, the research is dynamic and it uses the finder TestCoverage. \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/instance/initCache.st b/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/instance/initCache.st deleted file mode 100644 index 3e53be9..0000000 --- a/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/instance/initCache.st +++ /dev/null @@ -1,33 +0,0 @@ -running -initCache - ^ {((SmTClass >> #method1) asRingDefinition - -> - {(SmTClassTest >> #testMethod1) asRingDefinition. - (SmTClassTest >> #testMethod2) asRingDefinition. - (RGMethodDefinition - className: 'SmTInheritClassTest' - selector: #testMethod1 - isMetaSide: false)} asSet). - ((SmTClass >> #method2) asRingDefinition - -> {(SmTClassTest >> #testMethod2) asRingDefinition} asSet). - ((SmTClass >> #method3:) asRingDefinition - -> - {(SmTClassTest >> #testMethod1) asRingDefinition. - (SmTClassTest >> #testMethod2) asRingDefinition. - (SmTClassTest >> #testMethod3) asRingDefinition} asSet). - ((SmTClass >> #method4) asRingDefinition - -> - {(SmTClassTest >> #testMethod2) asRingDefinition. - (SmTClassTest >> #testMethod3) asRingDefinition. - (SmTClassTest >> #testMethod4) asRingDefinition} asSet). - ((SmTClass2 >> #initialize) asRingDefinition - -> {(SmTClassTest >> #testMethod5) asRingDefinition} asSet). - ((SmTClassTest >> #testMethod4) asRingDefinition - -> {(SmTClassTest >> #testMethod4) asRingDefinition} asSet). - ((('SmTP1' , 'Inheritance') asClass >> ('method1' , 'Inheritance') asSymbol) - asRingDefinition - -> - {(('SmTP1' , 'InheritanceSubClass1Test') asClass >> ('testMethod1','Inheritance') asSymbol) - asRingDefinition. - (RGMethodDefinition className: ('SmTP1InheritanceSubClass2','Test') selector: ('testMethod1','Inheritance') isMetaSide: false) - asRingDefinition} asSet)} asDictionary \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/instance/setUp.st b/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/instance/setUp.st deleted file mode 100644 index 1a0a6ba..0000000 --- a/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/instance/setUp.st +++ /dev/null @@ -1,10 +0,0 @@ -running -setUp - "fill in the cache" - - | initialCache | - super setUp. - initialCache := self initCache. - smartFinder cacheStrategy: (SmTBasicCacheStrategy new). - smartFinder setCacheValues: initialCache. - smartFinder smtFinder: SmTTestCoverageTestFinderStrategy new \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/instance/tearDown.st b/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/instance/tearDown.st deleted file mode 100644 index 6df396a..0000000 --- a/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/instance/tearDown.st +++ /dev/null @@ -1,3 +0,0 @@ -helpers -tearDown - smartFinder resetCache. \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/instance/testModificationOnTest.st b/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/instance/testModificationOnTest.st deleted file mode 100644 index 4365e6b..0000000 --- a/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/instance/testModificationOnTest.st +++ /dev/null @@ -1,10 +0,0 @@ -tests -testModificationOnTest -"this method is redundant with the abstract method" - - | testsFound | - testsFound := self searchTestMethodsFor: SmTClassTest >> #testMethod4. - self deny: (testsFound includes: testMethod1). - self deny: (testsFound includes: testMethod2). - self deny: (testsFound includes: testMethod3). - self assert: (testsFound includes: testMethod4) \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/instance/testTestSelfSelected.st b/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/instance/testTestSelfSelected.st deleted file mode 100644 index ef87c9f..0000000 --- a/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/instance/testTestSelfSelected.st +++ /dev/null @@ -1,10 +0,0 @@ -tests -testTestSelfSelected -"this method is redundant with the abstract method" - - | testsFound | - testsFound := self searchTestsForATestMethod: SmTClassTest >> #testMethod1. - self assert: (testsFound includes: testMethod1). - self deny: (testsFound includes: testMethod2). - self deny: (testsFound includes: testMethod3). - self deny: (testsFound includes: testMethod4) \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/properties.json b/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/properties.json deleted file mode 100644 index aaf8fb2..0000000 --- a/SmartTest-Tests.package/SmTDynamicCoverageStrategyTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/3/2018 14:25", - "super" : "SmTFinderAbstractTest", - "category" : "SmartTest-Tests-Finder", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTDynamicCoverageStrategyTest", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTDynamicReflectivityStrategyTest.class/README.md b/SmartTest-Tests.package/SmTDynamicReflectivityStrategyTest.class/README.md deleted file mode 100644 index dc43873..0000000 --- a/SmartTest-Tests.package/SmTDynamicReflectivityStrategyTest.class/README.md +++ /dev/null @@ -1 +0,0 @@ -A SmTFinderStrategyReflectivityTest is a test class for testing the behavior of SmTFinderStrategyReflectivity \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTDynamicReflectivityStrategyTest.class/instance/initCache.st b/SmartTest-Tests.package/SmTDynamicReflectivityStrategyTest.class/instance/initCache.st deleted file mode 100644 index cd478c7..0000000 --- a/SmartTest-Tests.package/SmTDynamicReflectivityStrategyTest.class/instance/initCache.st +++ /dev/null @@ -1,32 +0,0 @@ -initialization -initCache - ^ {((SmTClass >> #method1) asRingDefinition - -> - {(SmTClassTest >> #testMethod1) asRingDefinition. - (SmTClassTest >> #testMethod2) asRingDefinition. - (RGMethodDefinition - className: 'SmTInheritClassTest' - selector: #testMethod1 - isMetaSide: false)} asSet). - ((SmTClass >> #method2) asRingDefinition - -> {(SmTClassTest >> #testMethod2) asRingDefinition} asSet). - ((SmTClass >> #method3:) asRingDefinition - -> - {(SmTClassTest >> #testMethod1) asRingDefinition. - (SmTClassTest >> #testMethod2) asRingDefinition. - (SmTClassTest >> #testMethod3) asRingDefinition} asSet). - ((SmTClass >> #method4) asRingDefinition - -> - {(SmTClassTest >> #testMethod2) asRingDefinition. - (SmTClassTest >> #testMethod3) asRingDefinition. - (SmTClassTest >> #testMethod4) asRingDefinition} asSet). - ((SmTClass2 >> #initialize) asRingDefinition - -> {(SmTClassTest >> #testMethod5) asRingDefinition} asSet). - ((SmTClassTest >> #testMethod4) asRingDefinition - -> {(SmTClassTest >> #testMethod4) asRingDefinition} asSet). - ((('SmTP1' , 'Inheritance') asClass >> ('method1' , 'Inheritance') asSymbol) - asRingDefinition - -> - {(('SmTP1' , 'InheritanceSubClass1Test') asClass >> ('testMethod1','Inheritance') asSymbol) - asRingDefinition. - (RGMethodDefinition className: ('SmTP1InheritanceSubClass2','Test') selector: ('testMethod1','Inheritance') asSymbol isMetaSide: false)} asSet)} asDictionary \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTDynamicReflectivityStrategyTest.class/instance/setUp.st b/SmartTest-Tests.package/SmTDynamicReflectivityStrategyTest.class/instance/setUp.st deleted file mode 100644 index 3c72a61..0000000 --- a/SmartTest-Tests.package/SmTDynamicReflectivityStrategyTest.class/instance/setUp.st +++ /dev/null @@ -1,10 +0,0 @@ -running -setUp - "fill in the cache" - - | initialCache | - super setUp. - initialCache := self initCache. - smartFinder cacheStrategy: SmTBasicCacheStrategy new. - smartFinder setCacheValues: initialCache. - smartFinder smtFinder: SmTReflectivityTestFinderStrategy new \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTDynamicReflectivityStrategyTest.class/properties.json b/SmartTest-Tests.package/SmTDynamicReflectivityStrategyTest.class/properties.json deleted file mode 100644 index a23ab53..0000000 --- a/SmartTest-Tests.package/SmTDynamicReflectivityStrategyTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 4/27/2018 16:02", - "super" : "SmTFinderAbstractTest", - "category" : "SmartTest-Tests-Finder", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTDynamicReflectivityStrategyTest", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTFilterAbstractTest.class/README.md b/SmartTest-Tests.package/SmTFilterAbstractTest.class/README.md deleted file mode 100644 index a5e2cf6..0000000 --- a/SmartTest-Tests.package/SmTFilterAbstractTest.class/README.md +++ /dev/null @@ -1,46 +0,0 @@ -I test the strategy SendersFinder with different filters. -In order to be sure that those test are not considered as callers of the modified method and as references to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method. - - -The tests are described below: -The modified method’s name always contains « method1 » and will be refered to as method1. -The modified method can be used directly by a test, in this case the test’s name contains « testMethod1 » -The modified method can be used by a method (and then a test), then the method’s name contains « method2 » -Method 2 will then be called by a test (the second level sender of method1) and this test's name contains « testMethod2 » -The names of the methods and tests will be followed by a identificator. This will result in very long names but it is necessary in order to be unique and explicit. -Being unique, the senders of each method are controlled and consequently the tests are independent the one from the others. - -If the name of a test contains « FirstLevelSender » then the corresponding method2 and testMethod2 do not exist. -If the name of a test contains « SecondLevelSender » then the corresponding testMethod1 does not exist. - -We use the Classification Tree Method to represent the tests (see https://en.wikipedia.org/wiki/Classification_Tree_Method) . - -We will use the Classification Tree Method for the description of the tests. -Exemple for the first line of the following description: -Test FirstLevelSendersInside : the modified method "method1FirstLevelSendersInside" is located in package P1 and testMethod1FirstLevelSendersInside calls method1FirstLevelSendersInside and is located inside the package P1. - - -Simple tests (no references): -Method: TestMethod1 Method2 TestMethod2 Test Identificator -Package: P1 P2 P1 P2 P1 P2 - • | | | | | FirstLevelSendersInside - | • | | | | FirstLevelSendersOutside - | | • | • | SecondLevelSendersInsideTestInside - | | • | | • SecondLevelSendersInsideTestOutside - | | | • • | SecondLevelSendersOutsideTestInside - | | | • | • SecondLevelSendersOutsideTestOutside - - -Simple tests (no references): -Method: TestMethod1 Method2 TestMethod2 Test Identificator -Package: P2 P1 P2 P3 P1 P2 -Reference: Class Method Package | Class Method Package Class Method Package | NoRef Class Method Package - • | | | | | | | | | | | | | | FirstLevelSendersInsideWithRefInClass - | • | | | | | | | | | | | | | FirstLevelSendersInsideWithRefInMethod - | | • • | | | | | | | | • | | SecondLevelSendersInsideTestOutsideWithRefInClass - | | | • | | | | | | | | | • | SecondLevelSendersInsideTestOutsideWithRefInMethod - | | | • | | | | | | | | | | • SecondLevelSendersInsideTestOutsideWithRefInPackage - | | | | • | | | | | • | | | | SecondLevelSendersOutsidesideTestInsideWithRefInClass - | | | | | • | | | | • | | | | SecondLevelSendersOutsidesideTestInsideWithRefInMethod - | | | | | | • | | | • | | | | SecondLevelSendersOutsidesideTestInsideWithRefInPackage - | | | | | | | | • | | | | • | SecondLevelSendersOutsidesideTestOutsideWithRefInMethod \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTFilterAbstractTest.class/class/isAbstract.st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/class/isAbstract.st deleted file mode 100644 index 9b44e16..0000000 --- a/SmartTest-Tests.package/SmTFilterAbstractTest.class/class/isAbstract.st +++ /dev/null @@ -1,4 +0,0 @@ -testing -isAbstract - - ^ self == SmTFilterAbstractTest \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/instanceVariableNamed.fromClass..st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/instanceVariableNamed.fromClass..st deleted file mode 100644 index 75c330d..0000000 --- a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/instanceVariableNamed.fromClass..st +++ /dev/null @@ -1,3 +0,0 @@ -helpers -instanceVariableNamed: aInstVarName fromClass: aClass - ^ (aClass instanceVariables select:[:instVar| instVar = aInstVarName ])first . \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/searchTestMethodsFor..st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/searchTestMethodsFor..st deleted file mode 100644 index dbdfb36..0000000 --- a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/searchTestMethodsFor..st +++ /dev/null @@ -1,4 +0,0 @@ -helpers -searchTestMethodsFor: aCompiledMethod - - ^ smartFinder researchTestsForMethod: aCompiledMethod . \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/searchTestMethodsForAClass..st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/searchTestMethodsForAClass..st deleted file mode 100644 index 752bfa5..0000000 --- a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/searchTestMethodsForAClass..st +++ /dev/null @@ -1,4 +0,0 @@ -helpers -searchTestMethodsForAClass: aClass - - ^ smartFinder smtFinder searchTestsForAClass: aClass. \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/searchTestsForInstVar.ofClass..st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/searchTestsForInstVar.ofClass..st deleted file mode 100644 index e067f9c..0000000 --- a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/searchTestsForInstVar.ofClass..st +++ /dev/null @@ -1,3 +0,0 @@ -helpers -searchTestsForInstVar: aInstanceVariable ofClass: aClass - ^ smartFinder smtFinder searchTestsForAInstVar: aInstanceVariable OfClass: aClass \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/setUp.st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/setUp.st deleted file mode 100644 index cf49713..0000000 --- a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/setUp.st +++ /dev/null @@ -1,22 +0,0 @@ -running -setUp - super setUp. - smartFinder := SmartFinder new. - smartFinder filter: SmTDefaultPackagesFilter new. - testMethod1FirstLevelSendersInsidePackage := (('SmTClass' , 'TestP1') asClass - >> ('test' , 'Method1FirstLevelSendersInsidePackage') asSymbol) asRingDefinition. - testMethod1FirstLevelSendersOutsidePackage := (('SmTClass' , 'TestP2Test') asClass - >> ('test' , 'Method1FirstLevelSendersOutsidePackage') asSymbol) asRingDefinition. - testMethod2SecondLevelSendersInsidePackageWithTestInside := (('SmTClass' , 'TestP1') - asClass >> ('test' , 'Method2SecondLevelSendersInsidePackageWithTestInside') asSymbol) - asRingDefinition. - testMethod2SecondLevelSendersOutsidePackageWithTestInside := (('SmTClass' , 'TestP1') - asClass >> ('test' , 'Method2SecondLevelSendersOutsidePackageWithTestInside') asSymbol) - asRingDefinition. - testMethod2SecondLevelSendersInsidePackageWithTestOutside := (('SmTClass' , 'TestP2Test') - asClass >> ('test' , 'Method2SecondLevelSendersInsidePackageWithTestOutside') asSymbol) - asRingDefinition. - testMethod2SecondLevelSendersOutsidePackageWithTestOutside := (('SmTClass' , 'TestP2Test') - asClass - >> ('test' , 'Method2SecondLevelSendersOutsidePackageWithTestOutside') asSymbol) - asRingDefinition \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/tearDown.st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/tearDown.st deleted file mode 100644 index 409a9d5..0000000 --- a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/tearDown.st +++ /dev/null @@ -1,4 +0,0 @@ -running -tearDown - smartFinder clean. - super tearDown \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassAbstractTestCaseDoesntRedefineMethod.st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassAbstractTestCaseDoesntRedefineMethod.st deleted file mode 100644 index bb4763e..0000000 --- a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassAbstractTestCaseDoesntRedefineMethod.st +++ /dev/null @@ -1,10 +0,0 @@ -test -modification on class -testClassAbstractTestCaseDoesntRedefineMethod -"In this test we want to assert that if the modified class has subclasses, SmartTest finds all the inherited methods (implemented or not)" - - | testsFound testMethodSubClass1 testMethodSubClass2 | - testsFound := self searchTestMethodsForAClass: (('SmTP1ClassTestAbstractTestCase') asClass). - testMethodSubClass1 := RGMethodDefinition className: ('SmTP1ClassTestSubClassDoesntRedefine','Method') selector:('testModificationOnClassAbstract','TestCase') isMetaSide: false. - testMethodSubClass2 := RGMethodDefinition className: ('SmTP1ClassTestSubclassRedefines','Method') selector:('testModificationOnClassAbstract','TestCase') isMetaSide: false. - self assert: (testsFound includes: testMethodSubClass1). - self assert: (testsFound includes: testMethodSubClass2). \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassAbstractTestCaseRedefinesMethod.st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassAbstractTestCaseRedefinesMethod.st deleted file mode 100644 index cd18903..0000000 --- a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassAbstractTestCaseRedefinesMethod.st +++ /dev/null @@ -1,8 +0,0 @@ -test -modification on class -testClassAbstractTestCaseRedefinesMethod -"In this test we want to assert that if the modified class has subclasses, SmartTest finds all the inherited methods (implemented or not)" - - | testsFound testMethodSubClass1 testMethodSubClass2 | - testsFound := self searchTestMethodsForAClass: (('SmTP1ClassTestAbstractTestCase') asClass). - testMethodSubClass2 := RGMethodDefinition className: ('SmTP1ClassTestSubclassRedefines','Method') selector:('testModificationOnClassAbstract','TestCase') isMetaSide: false. - self assert: (testsFound includes: testMethodSubClass2). \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassInheritanceSubClass1.st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassInheritanceSubClass1.st deleted file mode 100644 index 2411b3e..0000000 --- a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassInheritanceSubClass1.st +++ /dev/null @@ -1,8 +0,0 @@ -test -modification on class -testClassInheritanceSubClass1 - - | testsFound testMethodSubClass2 | - testsFound := self searchTestMethodsForAClass: (('SmTP1ClassTestSubClass','DoesntRedefineMethod') asClass). - testMethodSubClass2 := RGMethodDefinition className: ('SmTP1ClassTestSubClass','DoesntRedefineMethod') selector:('testModificationOnClass','AbstractTestCase') isMetaSide: false. - self assert: testsFound size equals: 1. - self assert: (testsFound includes: testMethodSubClass2). \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassInsidePackageWithRef.st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassInsidePackageWithRef.st deleted file mode 100644 index a51df6d..0000000 --- a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassInsidePackageWithRef.st +++ /dev/null @@ -1,8 +0,0 @@ -test -modification on class -testClassInsidePackageWithRef -"In this test, we want to assert that if the class is used in a method, we find the tests related to this method." - - | testsFound | - testsFound := self searchTestMethodsForAClass: ('SmTClassModificationOnClass','InsidePackageWithRef') asClass. - self assert: testsFound size equals: 1. - self assert: (testsFound includes: ((('SmTClassModificationOnClassInsidePackageTestOutside','WithRefTest') asClass >> ('testRefToSmTClassModificationOnClassInsidePackageWithRef') asSymbol) asRingDefinition )). \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassOutsidePackageWithRef.st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassOutsidePackageWithRef.st deleted file mode 100644 index 33066bb..0000000 --- a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassOutsidePackageWithRef.st +++ /dev/null @@ -1,8 +0,0 @@ -test -modification on class -testClassOutsidePackageWithRef -"In this test, we want to assert that if the class is used in a method, we find the tests related to this method." - - | testsFound | - testsFound := self searchTestMethodsForAClass: ('SmTClassModificationOnClass','OutsidePackageWithRef') asClass. - self assert: testsFound size equals: 1. - self assert: (testsFound includes: ((('SmTClassModificationOnClassOutsidePackageWith','RefTest') asClass >> ('testRefToSmTClassModificationOnClass','OutsidePackageWithRef') asSymbol) asRingDefinition )). \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassSimpleTestCase.st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassSimpleTestCase.st deleted file mode 100644 index d96f706..0000000 --- a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassSimpleTestCase.st +++ /dev/null @@ -1,8 +0,0 @@ -test -modification on class -testClassSimpleTestCase -"In this test we want to assert that SmartTest finds the test owned directly by a class." - - | testsFound | - testsFound := self searchTestMethodsForAClass: ('SmTClassModificationOnClass','SimpleTestCase') asClass. - self assert: testsFound size equals: 1. - self assert: (testsFound includes: ((('SmTClassModificationOnClass','SimpleTestCase') asClass >> ('testModificationOnClass','SimpleTestCase') asSymbol) asRingDefinition )). \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassTestsInside.st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassTestsInside.st deleted file mode 100644 index a3a3c1b..0000000 --- a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testClassTestsInside.st +++ /dev/null @@ -1,7 +0,0 @@ -test -modification on class -testClassTestsInside -"In this test we want to assert that SmartTest finds the test owned directly by a class." - - | testsFound | - testsFound := self searchTestMethodsForAClass: ('SmTClassTest','P2Test') asClass. - self assert: (testsFound includes: ((('SmTClassTest','P2Test') asClass >> ('testMethod1FirstLevelSendersOutsideWithRefIn','Class') asSymbol) asRingDefinition )). \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testExtensionMethodFirstLevelSendersInside.st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testExtensionMethodFirstLevelSendersInside.st deleted file mode 100644 index 836f010..0000000 --- a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testExtensionMethodFirstLevelSendersInside.st +++ /dev/null @@ -1,7 +0,0 @@ -test - extension method -testExtensionMethodFirstLevelSendersInside - - | testsFound | - testsFound := self searchTestMethodsFor:( ('SmT','ExtensionP2Test') asClass >> ('extensionMethod1FirstLevelSenders','Inside') asSymbol). - self assert: (testsFound includes: ((('SmT','ClassTestP1') asClass >> ('testExtensionMethod1FirstLevelSenders','Inside') asSymbol) asRingDefinition)). - \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testExtensionMethodFirstLevelSendersOutside.st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testExtensionMethodFirstLevelSendersOutside.st deleted file mode 100644 index ad65fd1..0000000 --- a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testExtensionMethodFirstLevelSendersOutside.st +++ /dev/null @@ -1,7 +0,0 @@ -test - extension method -testExtensionMethodFirstLevelSendersOutside - - | testsFound | - testsFound := self searchTestMethodsFor:( ('SmT','ExtensionP2Test') asClass >> ('extensionMethod1FirstLevelSenders','Outside') asSymbol). - self assert: (testsFound includes: ((('SmT','ClassTestP2Test') asClass >> ('testExtensionMethod1FirstLevelSenders','Outside') asSymbol) asRingDefinition )). - \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testExtensionMethodSecondLevelSendersInside.st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testExtensionMethodSecondLevelSendersInside.st deleted file mode 100644 index 6394ed5..0000000 --- a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testExtensionMethodSecondLevelSendersInside.st +++ /dev/null @@ -1,8 +0,0 @@ -test - extension method -testExtensionMethodSecondLevelSendersInside - - | testsFound | - testsFound := self searchTestMethodsFor:( ('SmT','ExtensionP1') asClass >> ('extensionMethod1','SecondLevelSenders') asSymbol). - - self deny: (testsFound includes: ((('SmT','ClassTestP3') asClass >> ('testExtensionMethod2','SecondLevelSenders') asSymbol) asRingDefinition )). - \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testExtensionTestInside.st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testExtensionTestInside.st deleted file mode 100644 index 3959a77..0000000 --- a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testExtensionTestInside.st +++ /dev/null @@ -1,8 +0,0 @@ -test - extension method -testExtensionTestInside - - | testsFound | - testsFound := self searchTestMethodsFor:( ('SmT','ExtensionP4') asClass >> ('method1ExtensionTest','Inside') asSymbol). - - self deny: (testsFound includes: ((('SmT','ClassTestP3') asClass >> ('testMethod1ExtensionTest','Inside') asSymbol) asRingDefinition )). - \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testInstVarInsideClass.st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testInstVarInsideClass.st deleted file mode 100644 index d6ae7ff..0000000 --- a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testInstVarInsideClass.st +++ /dev/null @@ -1,9 +0,0 @@ -test - instance variable -testInstVarInsideClass -"In this test we want to assert that if the modified class has subclasses, SmartTest finds all the inherited methods (implemented or not)" - - | testsFound aInstVar| - aInstVar := self instanceVariableNamed: 'instVarModificationOnVariableInsideClass' fromClass: (('SmTClassP1ModificationOn','VariableInsideClassTest') asClass). - testsFound := self searchTestsForInstVar: aInstVar ofClass: (('SmTClassP1ModificationOn','VariableInsideClassTest') asClass). - self assert: (testsFound includes: (('SmTClassP1ModificationOn','VariableInsideClassTest') asClass >> ('testModificationOnVariable','InsideClass')asSymbol)asRingDefinition ). - \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testInstVarInsidePackage.st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testInstVarInsidePackage.st deleted file mode 100644 index 3463639..0000000 --- a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testInstVarInsidePackage.st +++ /dev/null @@ -1,9 +0,0 @@ -test - instance variable -testInstVarInsidePackage -"In this test we want to assert that if the modified class has subclasses, SmartTest finds all the inherited methods (implemented or not)" - - | testsFound aInstVar| - aInstVar := self instanceVariableNamed: 'instVarModificationOnVariableInsidePackage' fromClass: ('SmTClassP1ModificationOn','Variable') asClass. - testsFound := self searchTestsForInstVar: aInstVar ofClass: ('SmTClassP1ModificationOn','Variable') asClass. - self assert: (testsFound includes: (('SmTClassP1ModificationOnVariable','InsidePackageTest') asClass >> ('testModificationOnVariable','InsidePackage')asSymbol)asRingDefinition ). - \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testInstVarOutsidePackage.st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testInstVarOutsidePackage.st deleted file mode 100644 index ae3a2b3..0000000 --- a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testInstVarOutsidePackage.st +++ /dev/null @@ -1,9 +0,0 @@ -test - instance variable -testInstVarOutsidePackage -"In this test we want to assert that if the modified class has subclasses, SmartTest finds all the inherited methods (implemented or not)" - - | testsFound aInstVar| - aInstVar := self instanceVariableNamed: 'instVarModificationOnVariableOutsidePackage' fromClass: ('SmTClassP1ModificationOnVariable') asClass . - testsFound := self searchTestsForInstVar: aInstVar ofClass: ('SmTClassP1ModificationOnVariable') asClass. - self assert: (testsFound includes: (('SmTClassP1ModificationOnVariable','OutsidePackageTest') asClass >> ('testModificationOnVariable','OutsidePackage')asSymbol)asRingDefinition ). - \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersInsidePackage.st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersInsidePackage.st deleted file mode 100644 index e377f08..0000000 --- a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersInsidePackage.st +++ /dev/null @@ -1,13 +0,0 @@ -test - standard method - first level sender -testStandardMethodFirstLevelSendersInsidePackage - - "method1 is called by testMethod1, a tests owned by the same package as method1, the only test found should be testMethod1" - "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" - - | testsFound | - testsFound := self searchTestMethodsFor:( ('SmTClass','P1') asClass >> ('method1','FirstLevelSendersInsidePackage') asSymbol). - self assert: testsFound size equals: 1. - self assert: (testsFound includes: testMethod1FirstLevelSendersInsidePackage). - - - \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st deleted file mode 100644 index 083ce27..0000000 --- a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st +++ /dev/null @@ -1,13 +0,0 @@ -test - standard method - first level sender -testStandardMethodFirstLevelSendersOutsidePackage - - "method1 is called by testMethod2, a test not owned by the same package as method1, thus it should not be found" - "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" - - | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClass','P1') asClass >> ('method1','FirstLevelSendersOutsidePackage') asSymbol). - self assert: (testsFound isEmpty ). - self deny: (testsFound includes: testMethod1FirstLevelSendersOutsidePackage). - - - \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st deleted file mode 100644 index eb29a66..0000000 --- a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st +++ /dev/null @@ -1,12 +0,0 @@ -test - standard method - first level sender -testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass - - "method1 is called by testMethod1" - "P1 : method1 - P2 : testMethod1, the reference is made in the class of testMethod1" - "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" - - | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClassP1FirstLevelSendersOutsideWithRefIn','Class') asClass >> ('method1','FirstLevelSendersWithRefInClass') asSymbol). - self assert: testsFound isEmpty. - self deny: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod1FirstLevelSendersOutsideWithRefIn','Class') asSymbol) asRingDefinition ). \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st deleted file mode 100644 index c32ed4f..0000000 --- a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st +++ /dev/null @@ -1,12 +0,0 @@ -test - standard method - first level sender -testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod - - "method1 is called by testMethod1" - "P1 : method1 - P2 : testMethod1, the reference is made in testMethod1" - "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" - - | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClassP1FirstLevelSendersOutsideWithRefIn','Method') asClass >> ('method1','FirstLevelSendersWithRefInMethod') asSymbol). - self assert: testsFound isEmpty. - self deny: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod1FirstLevelSendersOutsideWithRefIn','Method') asSymbol) asRingDefinition ). \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st deleted file mode 100644 index 4813918..0000000 --- a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st +++ /dev/null @@ -1,13 +0,0 @@ -test - standard method - first level sender -testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage - - "method1 is called by testMethod1" - "P1 : method1 - P2 : testMethod1, the reference is made in the package of testMethod1" - "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" - - | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClassP1FirstLevelSendersOutsideWithRefIn','Package') asClass >> ('method1FirstLevelSendersWithRefIn','Package') asSymbol). - self assert: testsFound isEmpty. - self deny: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod1FirstLevelSendersOutsideWithRefIn','Package') asSymbol) asRingDefinition ). - \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestInside.st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestInside.st deleted file mode 100644 index 3b02fd1..0000000 --- a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestInside.st +++ /dev/null @@ -1,14 +0,0 @@ -test - standard method - second level sender -testStandardMethodSecondLevelSendersInsidePackageWithTestInside - - "method1 is called by method2, which itself is called by testMethod2, a tests owned by the same package as myMethod1, thus testMethod2 should be found. - We never go out of the package so it's normal." - "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" - - | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClass','P1') asClass >> ('method1','SecondLevelSendersInsidePackageWithTestInside') asSymbol). - self assert: testsFound size equals: 1. - self assert: (testsFound includes: testMethod2SecondLevelSendersInsidePackageWithTestInside ). - - - \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestOutside.st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestOutside.st deleted file mode 100644 index cc86fcb..0000000 --- a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestOutside.st +++ /dev/null @@ -1,13 +0,0 @@ -test - standard method - second level sender -testStandardMethodSecondLevelSendersInsidePackageWithTestOutside - - "method1 is called by method2, which itself is called by testMethod2, a test not owned by the same package as method1, thus testMethod2 should not be found. - We go out of the package once so it's normal hat the test is not found." - "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" - | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClass','P1') asClass >> ('method1','SecondLevelSendersInsidePackageWithTestOutside') asSymbol). - self assert: (testsFound isEmpty ). - self deny: (testsFound includes: testMethod2SecondLevelSendersInsidePackageWithTestOutside ). - - - \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st deleted file mode 100644 index e1c1e64..0000000 --- a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st +++ /dev/null @@ -1,13 +0,0 @@ -test - standard method - second level sender - with references -testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass - - "method1 is called by method 2,itself called by testMethod1" - "P1 : method1 and method2 - P2 : testMethod2, the reference is made in the class of testMethod2" - "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" - - | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersInsideTestOutsideWithRefIn','Class') asClass >> ('method1SecondLevelSendersInsideTestOutsideWithRefIn','Class') asSymbol). - self assert: testsFound isEmpty. - self deny: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod2SecondLevelSenderInsideTestOutsideWithRefIn','Class') asSymbol) asRingDefinition ). - \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st deleted file mode 100644 index d3c8a56..0000000 --- a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st +++ /dev/null @@ -1,13 +0,0 @@ -test - standard method - second level sender - with references -testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod - - "method1 is called by method 2,itself called by testMethod1" - "P1 : method1 and method2 - P2 : testMethod2, the reference is made in testMethod2" - "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" - - | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersInsideTestOutsideWithRefIn','Method') asClass >> ('method1SecondLevelSendersInsideTestOutsideWithRefIn','Method') asSymbol). - self assert: testsFound isEmpty. - self deny: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod2SecondLevelSenderInsideTestOutsideWithRefIn','Method')asSymbol) asRingDefinition ). - \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st deleted file mode 100644 index 3e0debf..0000000 --- a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st +++ /dev/null @@ -1,13 +0,0 @@ -test - standard method - second level sender - with references -testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage - - "method1 is called by method 2,itself called by testMethod1" - "P1 : method1 and method2 - P2 : testMethod2, the reference is made in the package of testMethod2" - "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" - - | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersInsideTestOutsideWithRefIn','Package') asClass >> ('method1SecondLevelSendersInsideTestOutsideWithRefIn','Package') asSymbol). - self assert: testsFound isEmpty. - self deny: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod2SecondLevelSenderInsideTestOutsideWithRefIn','Package') asSymbol) asRingDefinition ). - \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestInside.st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestInside.st deleted file mode 100644 index 9af20e5..0000000 --- a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestInside.st +++ /dev/null @@ -1,14 +0,0 @@ -test - standard method - second level sender -testStandardMethodSecondLevelSendersOutsidePackageWithTestInside - - "method1 is called by method2, which itself is called by testMethod2, thus testMethod2 should not be found. - We go out of the package once so it's normal hat the test is not found." - "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" - - | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClass','P1') asClass >> ('method1','SecondLevelSendersOutsidePackageWithTestInside') asSymbol). - self assert: (testsFound isEmpty ). - self deny: (testsFound includes: testMethod2SecondLevelSendersOutsidePackageWithTestInside ). - - - \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestOutside.st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestOutside.st deleted file mode 100644 index bda0954..0000000 --- a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestOutside.st +++ /dev/null @@ -1,13 +0,0 @@ -test - standard method - second level sender -testStandardMethodSecondLevelSendersOutsidePackageWithTestOutside - - "method1 is called by method2, which itself is called by testMethod2, thus testMethod2 should not be found. - We go out of the package once so it's normal hat the test is not found." - "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" - | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClass','P1') asClass >> ('method1','SecondLevelSendersOutsidePackageWithTestOutside') asSymbol). - self assert: (testsFound isEmpty ). - self deny: (testsFound includes: testMethod2SecondLevelSendersOutsidePackageWithTestOutside ). - - - \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st deleted file mode 100644 index 1db8746..0000000 --- a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st +++ /dev/null @@ -1,13 +0,0 @@ -test - standard method - second level sender - with references -testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass - - "method1 is called by method 2,itself called by testMethod1" - "P1 : method1 and testMethod2 - P2 : method2, the reference is made in the class of method2" - "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" - - | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersOutsideTestInsideWithRefIn','Class') asClass >> ('method1SecondLevelSendersOutsideTestInsideWithRefIn','Class') asSymbol). - self assert: testsFound isEmpty. - self deny: (testsFound includes: (('SmTClassTest','P1') asClass >> ('testMethod2SecondLevelSendersOutsideTestInsideWithRefIn','Class') asSymbol) asRingDefinition ). - \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st deleted file mode 100644 index 0ee7b35..0000000 --- a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st +++ /dev/null @@ -1,13 +0,0 @@ -test - standard method - second level sender - with references -testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod - - "method1 is called by method 2,itself called by testMethod1" - "P1 : method1 and testMethod2 - P2 : method2, the reference is made in method2" - "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" - - | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersOutsideTestInsideWithRefIn','Method') asClass >> ('method1SecondLevelSendersOutsideTestInsideWithRefIn','Method') asSymbol). - self assert: testsFound isEmpty. - self deny: (testsFound includes: (('SmTClassTest','P1') asClass >> ('testMethod2SecondLevelSendersOutsideTestInsideWithRefIn','Method') asSymbol) asRingDefinition ). - \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st deleted file mode 100644 index 0fb7e51..0000000 --- a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st +++ /dev/null @@ -1,13 +0,0 @@ -test - standard method - second level sender - with references -testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage - - "method1 is called by method 2,itself called by testMethod1" - "P1 : method1 and testMethod2 - P2 : method2, the reference is made in the package of method2" - "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" - - | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersOutsideTestInsideWithRefIn','Package') asClass >> ('method1SecondLevelSendersOutsideTestInsideWithRefIn','Package') asSymbol). - self assert: testsFound isEmpty. - self deny: (testsFound includes: (('SmTClassTest','P1') asClass >> ('testMethod2SecondLevelSendersOutsideTestInsideWithRefIn','Package') asSymbol) asRingDefinition ). - \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefInMethod.st b/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefInMethod.st deleted file mode 100644 index cb7c41b..0000000 --- a/SmartTest-Tests.package/SmTFilterAbstractTest.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefInMethod.st +++ /dev/null @@ -1,14 +0,0 @@ -test - standard method - second level sender - with references -testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefInMethod - - "method1 is called by method 2,itself called by testMethod1" - "P1 : Class1 >> method1 - P2 : Class2 >> method2, the reference to Class1 is made in method2 - P3 : Class3 >> testMethod2, the reference to Class1 is made in testMethod2" - "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" - - | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefIn','Method') asClass >> ('method1SecondLevelSendersOutsideTestOutsideWithRefIn','Method') asSymbol). - self assert: testsFound isEmpty. - self deny: (testsFound includes: (('SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefIn','Method') asClass >> ('testMethod2SecondLevelSenderOutsideTestOutsideWithRefIn','Method') asSymbol) asRingDefinition ). - \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTFilterAbstractTest.class/properties.json b/SmartTest-Tests.package/SmTFilterAbstractTest.class/properties.json deleted file mode 100644 index fc3df9f..0000000 --- a/SmartTest-Tests.package/SmTFilterAbstractTest.class/properties.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "commentStamp" : "eleonoreW 6/15/2018 10:07", - "super" : "TestCase", - "category" : "SmartTest-Tests-Filter", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "smartFinder", - "testMethod1FirstLevelSendersOutsidePackage", - "testMethod2SecondLevelSendersInsidePackageWithTestInside", - "testMethod2SecondLevelSendersInsidePackageWithTestOutside", - "testMethod2SecondLevelSendersOutsidePackageWithTestOutside", - "testmethod1FirstLevelSendersInsidePackage", - "testMethod1FirstLevelSendersInsidePackage", - "testMethod2SecondLevelSendersOutsidePackageWithTestInside" - ], - "name" : "SmTFilterAbstractTest", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTFinderAbstractTest.class/README.md b/SmartTest-Tests.package/SmTFinderAbstractTest.class/README.md deleted file mode 100644 index a06cbe2..0000000 --- a/SmartTest-Tests.package/SmTFinderAbstractTest.class/README.md +++ /dev/null @@ -1,7 +0,0 @@ -This class exists to test the behaviour of the different finders with diffeent settings. -TODO - - - test setUp method with teardown - - test setUp method with setup - - test tearDown with setup - - test tearDown with teardown \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTFinderAbstractTest.class/class/isAbstract.st b/SmartTest-Tests.package/SmTFinderAbstractTest.class/class/isAbstract.st deleted file mode 100644 index af93968..0000000 --- a/SmartTest-Tests.package/SmTFinderAbstractTest.class/class/isAbstract.st +++ /dev/null @@ -1,4 +0,0 @@ -testing -isAbstract - - ^ self == SmTFinderAbstractTest \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/searchTestMethodsFor..st b/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/searchTestMethodsFor..st deleted file mode 100644 index dbdfb36..0000000 --- a/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/searchTestMethodsFor..st +++ /dev/null @@ -1,4 +0,0 @@ -helpers -searchTestMethodsFor: aCompiledMethod - - ^ smartFinder researchTestsForMethod: aCompiledMethod . \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/searchTestsForASetUpMethod..st b/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/searchTestsForASetUpMethod..st deleted file mode 100644 index dbb2c8c..0000000 --- a/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/searchTestsForASetUpMethod..st +++ /dev/null @@ -1,3 +0,0 @@ -helpers -searchTestsForASetUpMethod: aCompiledMethod - ^ smartFinder searchTestsForASetUpMethod: aCompiledMethod \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/searchTestsForATearDownMethod..st b/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/searchTestsForATearDownMethod..st deleted file mode 100644 index 98d7510..0000000 --- a/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/searchTestsForATearDownMethod..st +++ /dev/null @@ -1,3 +0,0 @@ -helpers -searchTestsForATearDownMethod: aCompiledMethod - ^ smartFinder searchTestsForATearDownMethod: aCompiledMethod \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/searchTestsForATestMethod..st b/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/searchTestsForATestMethod..st deleted file mode 100644 index 3f5f50e..0000000 --- a/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/searchTestsForATestMethod..st +++ /dev/null @@ -1,3 +0,0 @@ -helpers -searchTestsForATestMethod: aCompiledMethod - ^ smartFinder searchTestsForATestMethod: aCompiledMethod \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/setUp.st b/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/setUp.st deleted file mode 100644 index a70a11e..0000000 --- a/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/setUp.st +++ /dev/null @@ -1,12 +0,0 @@ -running -setUp - super setUp. - self timeLimit: 45 seconds. "super super long time for travis CI" - smartFinder := SmartFinder new. - smartFinder filter: SmTDefaultClassPackagesFilter new. - testMethod1 := (SmTClassTest >> #testMethod1) asRingDefinition. - testMethod2 := (SmTClassTest >> #testMethod2) asRingDefinition. - testMethod3 := (SmTClassTest >> #testMethod3) asRingDefinition. - testMethod4 := (SmTClassTest >> #testMethod4) asRingDefinition. - testMethod5 := (SmTClassTest >> #testMethod5) asRingDefinition. - testInheritedMethod1 := RGMethodDefinition className: 'SmTInheritClassTest' selector: #testMethod1 isMetaSide: false \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/tearDown.st b/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/tearDown.st deleted file mode 100644 index b78936f..0000000 --- a/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/tearDown.st +++ /dev/null @@ -1,6 +0,0 @@ -running -tearDown - "reset the cache" - smartFinder resetCache. - smartFinder clean. - super tearDown \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testInheritance.st b/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testInheritance.st deleted file mode 100644 index 9375096..0000000 --- a/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testInheritance.st +++ /dev/null @@ -1,9 +0,0 @@ -tests -testInheritance - - | testsFound testMethod | - testsFound := self searchTestMethodsFor: ('SmTP1' , 'Inheritance') asClass >> ('method1','Inheritance') asSymbol . -testMethod := RGMethodDefinition className: ('SmTP1InheritanceSubClass2','Test') selector:('testMethod1','Inheritance') asSymbol isMetaSide: false. - self assert: testsFound size equals: 2. - self assert: (testsFound includes: ((('SmTP1InheritanceSubClass1Test') asClass >> ('testMethod1Inheritance') asSymbol) asRingDefinition )). - self assert: (testsFound includes: (testMethod) ). \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testModificationOnInitialize.st b/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testModificationOnInitialize.st deleted file mode 100644 index 309c626..0000000 --- a/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testModificationOnInitialize.st +++ /dev/null @@ -1,16 +0,0 @@ -tests -testModificationOnInitialize - - | testsFound |self - timeLimit: - 35 - seconds. - "this one needs more time than the other" - self flag: 'Takes a very long time'. - testsFound := self searchTestMethodsFor: SmTClass2 >> #initialize. - - self deny: (testsFound includes: testMethod1). - self deny: (testsFound includes: testMethod2). - self deny: (testsFound includes: testMethod3). - self deny: (testsFound includes: testMethod4). - self assert: (testsFound includes: testMethod5). \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testModificationOnTest.st b/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testModificationOnTest.st deleted file mode 100644 index accd56b..0000000 --- a/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testModificationOnTest.st +++ /dev/null @@ -1,10 +0,0 @@ -tests -testModificationOnTest -"asserts that if a test method is modified, the tests founds includes itself." - - | testsFound | - testsFound := self searchTestMethodsFor: SmTClassTest >> #testMethod4. - self deny: (testsFound includes: testMethod1). - self deny: (testsFound includes: testMethod2). - self deny: (testsFound includes: testMethod3). - self assert: (testsFound includes: testMethod4). \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testSetupMethodFindsTests.st b/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testSetupMethodFindsTests.st deleted file mode 100644 index d2f60ed..0000000 --- a/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testSetupMethodFindsTests.st +++ /dev/null @@ -1,12 +0,0 @@ -tests -testSetupMethodFindsTests -"asserts that the method SmTClassTest>>setup is related to the testMethods 1 to 4 and that 'testsForASetupMethod' finds all the good tests related to a setup method." - - | testsFound | - testsFound := self searchTestsForASetUpMethod: SmTClassTest >> #setUp. - - self assert: testsFound isNotEmpty. - self assert: (testsFound includes: testMethod1). - self assert: (testsFound includes: testMethod2). - self assert: (testsFound includes: testMethod3). - self assert: (testsFound includes: testMethod4). \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testSetupMethodWithNonSetupFindsNoTests.st b/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testSetupMethodWithNonSetupFindsNoTests.st deleted file mode 100644 index aeb7567..0000000 --- a/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testSetupMethodWithNonSetupFindsNoTests.st +++ /dev/null @@ -1,8 +0,0 @@ -tests -testSetupMethodWithNonSetupFindsNoTests -"asserts that if we use the method 'testsForASetupMethod' with a non setup method as a parameter, the method returns nothing" - - | testsFound | - testsFound := self searchTestsForASetUpMethod: SmTClassTest >> #testMethod1. - - self assert: testsFound isEmpty. \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testStandardMethodFirstLevelSenders.st b/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testStandardMethodFirstLevelSenders.st deleted file mode 100644 index 2be6d36..0000000 --- a/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testStandardMethodFirstLevelSenders.st +++ /dev/null @@ -1,9 +0,0 @@ -tests -testStandardMethodFirstLevelSenders - - | testsFound | - testsFound := self searchTestMethodsFor: SmTClass >> #method2. - self deny: (testsFound includes: testMethod1). - self assert: (testsFound includes: testMethod2). - self deny: (testsFound includes: testMethod3). - self deny: (testsFound includes: testMethod4). \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testStandardMethodSecondLevelSenders.st b/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testStandardMethodSecondLevelSenders.st deleted file mode 100644 index 75bc533..0000000 --- a/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testStandardMethodSecondLevelSenders.st +++ /dev/null @@ -1,10 +0,0 @@ -tests -testStandardMethodSecondLevelSenders - - | testsFound | - testsFound := self searchTestMethodsFor: SmTClass >> #method1. - self assert: (testsFound includes: testMethod1). - self assert: (testsFound includes: testMethod2). - self assert: (testsFound includes: testInheritedMethod1). - self deny: (testsFound includes: testMethod3). - self deny: (testsFound includes: testMethod4). \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testStandardMethodThirdLevelSenders.st b/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testStandardMethodThirdLevelSenders.st deleted file mode 100644 index 59fb15a..0000000 --- a/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testStandardMethodThirdLevelSenders.st +++ /dev/null @@ -1,10 +0,0 @@ -tests -testStandardMethodThirdLevelSenders - - | testsFound | - testsFound := self searchTestMethodsFor: SmTClass >> #method4. - - self deny: (testsFound includes: testMethod1). - self assert: (testsFound includes: testMethod2). - self assert: (testsFound includes: testMethod3). - self assert: (testsFound includes: testMethod4). \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testTearDownMethodFindsTests.st b/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testTearDownMethodFindsTests.st deleted file mode 100644 index 4d100d6..0000000 --- a/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testTearDownMethodFindsTests.st +++ /dev/null @@ -1,11 +0,0 @@ -tests -testTearDownMethodFindsTests - - | testsFound | - testsFound := self searchTestsForATearDownMethod: SmTClassTest >> #tearDown. - - self assert: testsFound isNotEmpty. - self assert: (testsFound includes: testMethod1). - self assert: (testsFound includes: testMethod2). - self assert: (testsFound includes: testMethod3). - self assert: (testsFound includes: testMethod4). \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testTearDownMethodWithNoneTearDownFindsNoTests.st b/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testTearDownMethodWithNoneTearDownFindsNoTests.st deleted file mode 100644 index 898c8dd..0000000 --- a/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testTearDownMethodWithNoneTearDownFindsNoTests.st +++ /dev/null @@ -1,5 +0,0 @@ -tests -testTearDownMethodWithNoneTearDownFindsNoTests - - - self assert: (self searchTestsForATearDownMethod: SmTClassTest >> #testMethod1) isEmpty. \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testTestSelfSelected.st b/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testTestSelfSelected.st deleted file mode 100644 index 245e871..0000000 --- a/SmartTest-Tests.package/SmTFinderAbstractTest.class/instance/testTestSelfSelected.st +++ /dev/null @@ -1,10 +0,0 @@ -tests -testTestSelfSelected - - | testsFound | - testsFound := self searchTestsForATestMethod: SmTClassTest >> #testMethod1. - - self assert: (testsFound includes: testMethod1). - self deny: (testsFound includes: testMethod2). - self deny: (testsFound includes: testMethod3). - self deny: (testsFound includes: testMethod4). \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTFinderAbstractTest.class/properties.json b/SmartTest-Tests.package/SmTFinderAbstractTest.class/properties.json deleted file mode 100644 index f5274de..0000000 --- a/SmartTest-Tests.package/SmTFinderAbstractTest.class/properties.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/3/2018 14:21", - "super" : "TestCase", - "category" : "SmartTest-Tests-Finder", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "cache", - "smartFinder", - "testMethod2", - "testMethod1", - "testMethod3", - "testMethod4", - "testMethod5", - "testInheritedMethod1", - "testMethodOutsidePackage1", - "testMethod1OutsidePackage" - ], - "name" : "SmTFinderAbstractTest", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTOnModificationTest.class/README.md b/SmartTest-Tests.package/SmTOnModificationTest.class/README.md deleted file mode 100644 index 226ef0c..0000000 --- a/SmartTest-Tests.package/SmTOnModificationTest.class/README.md +++ /dev/null @@ -1 +0,0 @@ -A CORAOnModificationTest is a test class for testing the behavior of CORAOnModification \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTOnModificationTest.class/instance/setUp.st b/SmartTest-Tests.package/SmTOnModificationTest.class/instance/setUp.st deleted file mode 100644 index ba85017..0000000 --- a/SmartTest-Tests.package/SmTOnModificationTest.class/instance/setUp.st +++ /dev/null @@ -1,4 +0,0 @@ -tests-adding -setUp - "prepare strategy" - onModif := SmTTestingStrategyEachModification new. \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTOnModificationTest.class/instance/tearDown.st b/SmartTest-Tests.package/SmTOnModificationTest.class/instance/tearDown.st deleted file mode 100644 index 336c710..0000000 --- a/SmartTest-Tests.package/SmTOnModificationTest.class/instance/tearDown.st +++ /dev/null @@ -1,4 +0,0 @@ -tests-adding -tearDown - "prepare strategy" - onModif disable \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTOnModificationTest.class/instance/testAdd.st b/SmartTest-Tests.package/SmTOnModificationTest.class/instance/testAdd.st deleted file mode 100644 index 80dbedb..0000000 --- a/SmartTest-Tests.package/SmTOnModificationTest.class/instance/testAdd.st +++ /dev/null @@ -1,10 +0,0 @@ -tests-adding -testAdd - | el | - onModif := SmTTestingStrategyEachModification new. - self assert: onModif bag isEmpty. - el := SmTRunnerTest >> #noop. - onModif addToElementBag: el. - self assert: onModif bag size equals: 1. - self assert: (onModif bag includes: el). - onModif disable \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTOnModificationTest.class/instance/testGet.st b/SmartTest-Tests.package/SmTOnModificationTest.class/instance/testGet.st deleted file mode 100644 index aeaed7c..0000000 --- a/SmartTest-Tests.package/SmTOnModificationTest.class/instance/testGet.st +++ /dev/null @@ -1,16 +0,0 @@ -tests-adding -testGet - | el | - onModif := SmTTestingStrategyEachModification new. - el := SmTRunnerTest >> #noop. - onModif addToElementBag: el. - self - assert: (onModif getElementFromBag: SmTRunnerTest >> #testIconForTestResultGreen) - equals: nil. - self assert: onModif bag size equals: 1. - self - assert: (onModif getElementFromBag: SmTRunnerTest >> #testIconForTestResultGreen) - equals: nil. - self assert: (onModif getElementFromBag: el) equals: el. - self assert: onModif bag size equals: 0. - self assert: (onModif getElementFromBag: el) equals: nil \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTOnModificationTest.class/properties.json b/SmartTest-Tests.package/SmTOnModificationTest.class/properties.json deleted file mode 100644 index e1c0260..0000000 --- a/SmartTest-Tests.package/SmTOnModificationTest.class/properties.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "commentStamp" : "", - "super" : "TestCase", - "category" : "SmartTest-Tests-OnModification", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "onModif" - ], - "name" : "SmTOnModificationTest", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTRunnerTest.class/README.md b/SmartTest-Tests.package/SmTRunnerTest.class/README.md deleted file mode 100644 index 33f22f9..0000000 --- a/SmartTest-Tests.package/SmTRunnerTest.class/README.md +++ /dev/null @@ -1 +0,0 @@ -I test the behavior of the runner \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTRunnerTest.class/instance/noop.st b/SmartTest-Tests.package/SmTRunnerTest.class/instance/noop.st deleted file mode 100644 index 222948f..0000000 --- a/SmartTest-Tests.package/SmTRunnerTest.class/instance/noop.st +++ /dev/null @@ -1,3 +0,0 @@ -private -noop - \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTRunnerTest.class/instance/setUp.st b/SmartTest-Tests.package/SmTRunnerTest.class/instance/setUp.st deleted file mode 100644 index 6b316b8..0000000 --- a/SmartTest-Tests.package/SmTRunnerTest.class/instance/setUp.st +++ /dev/null @@ -1,3 +0,0 @@ -tests -setUp - runner := SmTRunnerStrategySmart. \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTRunnerTest.class/instance/testIconForTestResultGreen.st b/SmartTest-Tests.package/SmTRunnerTest.class/instance/testIconForTestResultGreen.st deleted file mode 100644 index 5aef646..0000000 --- a/SmartTest-Tests.package/SmTRunnerTest.class/instance/testIconForTestResultGreen.st +++ /dev/null @@ -1,6 +0,0 @@ -tests -testIconForTestResultGreen - | case result | - case := self class selector: #noop. - result := case run. - self assert: (runner iconForTestResultOf: result) equals: (self iconNamed: #testGreenIcon) \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTRunnerTest.class/instance/testIconForTestResultRed.st b/SmartTest-Tests.package/SmTRunnerTest.class/instance/testIconForTestResultRed.st deleted file mode 100644 index 40a2137..0000000 --- a/SmartTest-Tests.package/SmTRunnerTest.class/instance/testIconForTestResultRed.st +++ /dev/null @@ -1,7 +0,0 @@ -tests -testIconForTestResultRed - | case result | - case := self class selector: #error. - result := case run. - self assert: (runner iconForTestResultOf: result) equals: (self iconNamed: #testRedIcon) - \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTRunnerTest.class/instance/testIconForTestResultWhite.st b/SmartTest-Tests.package/SmTRunnerTest.class/instance/testIconForTestResultWhite.st deleted file mode 100644 index b9f76b0..0000000 --- a/SmartTest-Tests.package/SmTRunnerTest.class/instance/testIconForTestResultWhite.st +++ /dev/null @@ -1,7 +0,0 @@ -tests -testIconForTestResultWhite - | result | - result := TestResult new. - self - assert: (runner iconForTestResultOf: result) - equals: (self iconNamed: #testGreenIcon) \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTRunnerTest.class/instance/testIconForTestResultYellow.st b/SmartTest-Tests.package/SmTRunnerTest.class/instance/testIconForTestResultYellow.st deleted file mode 100644 index 1835e13..0000000 --- a/SmartTest-Tests.package/SmTRunnerTest.class/instance/testIconForTestResultYellow.st +++ /dev/null @@ -1,8 +0,0 @@ -tests -testIconForTestResultYellow - | case result | - case := self class selector: #fail. - result := case run. - self - assert: (runner iconForTestResultOf: result) - equals: (self iconNamed: #testYellowIcon) \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCaseNotifyIconGreen.st b/SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCaseNotifyIconGreen.st deleted file mode 100644 index c2a6f59..0000000 --- a/SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCaseNotifyIconGreen.st +++ /dev/null @@ -1,13 +0,0 @@ -tests -testRunCaseNotifyIconGreen - | case result anIcon | - case := self class selector: #noop. - anIcon := IconicButton new. - result := runner runCase: case notifyIcon: anIcon. - self assert: result passed size equals: 1. - self assert: result errors size equals: 0. - self assert: result failures size equals: 0. - self - assert: anIcon labelGraphic - equals: - (self iconNamed: #testGreenIcon) \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCaseNotifyIconRed.st b/SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCaseNotifyIconRed.st deleted file mode 100644 index 3c16bfa..0000000 --- a/SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCaseNotifyIconRed.st +++ /dev/null @@ -1,7 +0,0 @@ -tests -testRunCaseNotifyIconRed - | case anIcon | - case := self class selector: #error. - anIcon := IconicButton new. - self should: [runner runCase: case notifyIcon: anIcon] raise: Error . - self assert: anIcon labelGraphic equals: (self iconNamed: #testRedIcon) \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCaseNotifyIconYellow.st b/SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCaseNotifyIconYellow.st deleted file mode 100644 index 24ea56b..0000000 --- a/SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCaseNotifyIconYellow.st +++ /dev/null @@ -1,7 +0,0 @@ -tests -testRunCaseNotifyIconYellow - | case anIcon | - case := self class selector: #fail. - anIcon := IconicButton new. - self should: [ runner runCase: case notifyIcon: anIcon ] raise: TestFailure. - self assert: anIcon labelGraphic equals: (self iconNamed: #testYellowIcon) \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCasesNotifyIconGreen.st b/SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCasesNotifyIconGreen.st deleted file mode 100644 index 271048c..0000000 --- a/SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCasesNotifyIconGreen.st +++ /dev/null @@ -1,17 +0,0 @@ -tests -testRunCasesNotifyIconGreen - | case1 case2 case3 anIcon result | - case1 := self class selector: #noop. - case2 := self class selector: #noop. - case3 := self class selector: #noop. - anIcon := IconicButton new. - result := runner - runCases: - {case1. - case2. - case3} - notifyIcon: anIcon. - self assert: result passed size equals: 3. - self assert: result errors size equals: 0. - self assert: result failures size equals: 0. - self assert: anIcon labelGraphic equals: (self iconNamed: #testGreenIcon) \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCasesNotifyIconRed.st b/SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCasesNotifyIconRed.st deleted file mode 100644 index f8bf45f..0000000 --- a/SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCasesNotifyIconRed.st +++ /dev/null @@ -1,14 +0,0 @@ -tests -testRunCasesNotifyIconRed - | case1 case2 case3 anIcon | - case1 := self class selector: #error. - case2 := self class selector: #fail. - case3 := self class selector: #error. - anIcon := IconicButton new. - runner - runCases: - {case1. - case2. - case3} - notifyIcon: anIcon. - self assert: anIcon labelGraphic equals: (self iconNamed: #testRedIcon) \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCasesNotifyIconYellow.st b/SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCasesNotifyIconYellow.st deleted file mode 100644 index 1b3187f..0000000 --- a/SmartTest-Tests.package/SmTRunnerTest.class/instance/testRunCasesNotifyIconYellow.st +++ /dev/null @@ -1,9 +0,0 @@ -tests -testRunCasesNotifyIconYellow - | case1 case2 case3 anIcon | - case1 := self class selector: #noop. - case2 := self class selector: #fail. - case3 := self class selector: #noop. - anIcon := IconicButton new. - runner runCases: {case1.case2.case3} notifyIcon: anIcon. - self assert: anIcon labelGraphic equals: (self iconNamed: #testYellowIcon) \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTRunnerTest.class/properties.json b/SmartTest-Tests.package/SmTRunnerTest.class/properties.json deleted file mode 100644 index 90bccf8..0000000 --- a/SmartTest-Tests.package/SmTRunnerTest.class/properties.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "commentStamp" : "BenoitVerhaeghe 6/30/2017 14:48", - "super" : "TestCase", - "category" : "SmartTest-Tests-Runner", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "runner" - ], - "name" : "SmTRunnerTest", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/README.md b/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/README.md deleted file mode 100644 index da1eccf..0000000 --- a/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/README.md +++ /dev/null @@ -1,6 +0,0 @@ -I test the strategy SendersFinder with the filterDefaultClassPackage. -The filter should accept any test that is owned by : - - the package of the modified method; - - a package that references the class of the modified method. - -In order to be sure that those test are not considered as callers of the modified method and as references to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method. \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/setUp.st b/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/setUp.st deleted file mode 100644 index 1f0e8e4..0000000 --- a/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/setUp.st +++ /dev/null @@ -1,5 +0,0 @@ -running -setUp -"Here we want to test the SmTDefaultPackagesFilter with the static strategy 'sendersFinder' " - super setUp. - smartFinder filter: SmTDefaultClassPackagesFilter new. \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testExtensionTestInside.st b/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testExtensionTestInside.st deleted file mode 100644 index 635a00a..0000000 --- a/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testExtensionTestInside.st +++ /dev/null @@ -1,8 +0,0 @@ -tests -testExtensionTestInside - - | testsFound | - testsFound := self searchTestMethodsFor:( ('SmT','ExtensionP4') asClass >> ('method1ExtensionTest','Inside') asSymbol). - - self assert: (testsFound includes: ((('SmT','ClassTestP3') asClass >> ('testMethod1ExtensionTest','Inside') asSymbol) asRingDefinition )). - \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testInstVarOutsidePackage.st b/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testInstVarOutsidePackage.st deleted file mode 100644 index e0a1cdc..0000000 --- a/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testInstVarOutsidePackage.st +++ /dev/null @@ -1,9 +0,0 @@ -tests -testInstVarOutsidePackage -"In this test we want to assert that if the modified class has subclasses, SmartTest finds all the inherited methods (implemented or not)" - - | testsFound aInstVar| - aInstVar := self instanceVariableNamed: 'instVarModificationOnVariableOutsidePackage' fromClass: ('SmTClassP1ModificationOnVariable') asClass . - testsFound := self searchTestsForInstVar: aInstVar ofClass: ('SmTClassP1ModificationOnVariable') asClass. - self assert: testsFound size equals: 0. - \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st b/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st deleted file mode 100644 index 3711712..0000000 --- a/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st +++ /dev/null @@ -1,12 +0,0 @@ -tests -testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass - - "method1 is called by testMethod1" - "P1 : method1 - P2 : testMethod1, the reference is made in the class of testMethod1" - "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" - - | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClassP1FirstLevelSendersOutsideWithRefIn','Class') asClass >> ('method1','FirstLevelSendersWithRefInClass') asSymbol). - self assert: testsFound size equals: 1. - self assert: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod1FirstLevelSendersOutsideWithRefIn','Class') asSymbol) asRingDefinition ). \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st b/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st deleted file mode 100644 index af519a0..0000000 --- a/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st +++ /dev/null @@ -1,12 +0,0 @@ -tests -testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod - - "method1 is called by testMethod1" - "P1 : method1 - P2 : testMethod1, the reference is made in testMethod1" - "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" - - | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClassP1FirstLevelSendersOutsideWithRefIn','Method') asClass >> ('method1','FirstLevelSendersWithRefInMethod') asSymbol). - self assert: testsFound size equals: 1. - self assert: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod1FirstLevelSendersOutsideWithRefIn','Method') asSymbol) asRingDefinition ). \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st b/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st deleted file mode 100644 index e70c0c2..0000000 --- a/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st +++ /dev/null @@ -1,13 +0,0 @@ -tests -testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage - - "method1 is called by testMethod1" - "P1 : method1 - P2 : testMethod1, the reference is made in the package of testMethod1" - "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" - - | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClassP1FirstLevelSendersOutsideWithRefIn','Package') asClass >> ('method1FirstLevelSendersWithRefIn','Package') asSymbol). - self assert: testsFound size equals: 1. - self assert: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod1FirstLevelSendersOutsideWithRefIn','Package') asSymbol) asRingDefinition ). - \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st b/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st deleted file mode 100644 index be07332..0000000 --- a/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st +++ /dev/null @@ -1,13 +0,0 @@ -tests -testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass - - "method1 is called by method 2,itself called by testMethod1" - "P1 : method1 and method2 - P2 : testMethod2, the reference is made in the class of testMethod2" - "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" - - | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersInsideTestOutsideWithRefIn','Class') asClass >> ('method1SecondLevelSendersInsideTestOutsideWithRefIn','Class') asSymbol). - self assert: testsFound size equals: 1. - self assert: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod2SecondLevelSenderInsideTestOutsideWithRefIn','Class') asSymbol) asRingDefinition ). - \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st b/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st deleted file mode 100644 index 9bf9fb4..0000000 --- a/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st +++ /dev/null @@ -1,13 +0,0 @@ -tests -testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod - - "method1 is called by method 2,itself called by testMethod1" - "P1 : method1 and method2 - P2 : testMethod2, the reference is made in testMethod2" - "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" - - | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersInsideTestOutsideWithRefIn','Method') asClass >> ('method1SecondLevelSendersInsideTestOutsideWithRefIn','Method') asSymbol). - self assert: testsFound size equals: 1. - self assert: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod2SecondLevelSenderInsideTestOutsideWithRefIn','Method')asSymbol) asRingDefinition ). - \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st b/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st deleted file mode 100644 index 32d056c..0000000 --- a/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st +++ /dev/null @@ -1,13 +0,0 @@ -tests -testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage - - "method1 is called by method 2,itself called by testMethod1" - "P1 : method1 and method2 - P2 : testMethod2, the reference is made in the package of testMethod2" - "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" - - | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersInsideTestOutsideWithRefIn','Package') asClass >> ('method1SecondLevelSendersInsideTestOutsideWithRefIn','Package') asSymbol). - self assert: testsFound size equals: 1. - self assert: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod2SecondLevelSenderInsideTestOutsideWithRefIn','Package') asSymbol) asRingDefinition ). - \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st b/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st deleted file mode 100644 index 29aceea..0000000 --- a/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st +++ /dev/null @@ -1,13 +0,0 @@ -tests -testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass - - "method1 is called by method 2,itself called by testMethod1" - "P1 : method1 and testMethod2 - P2 : method2, the reference is made in the class of method2" - "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" - - | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersOutsideTestInsideWithRefIn','Class') asClass >> ('method1SecondLevelSendersOutsideTestInsideWithRefIn','Class') asSymbol). - self assert: testsFound size equals: 1. - self assert: (testsFound includes: (('SmTClassTest','P1') asClass >> ('testMethod2SecondLevelSendersOutsideTestInsideWithRefIn','Class') asSymbol) asRingDefinition ). - \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st b/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st deleted file mode 100644 index ffdcb51..0000000 --- a/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st +++ /dev/null @@ -1,13 +0,0 @@ -tests -testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod - - "method1 is called by method 2,itself called by testMethod1" - "P1 : method1 and testMethod2 - P2 : method2, the reference is made in method2" - "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" - - | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersOutsideTestInsideWithRefIn','Method') asClass >> ('method1SecondLevelSendersOutsideTestInsideWithRefIn','Method') asSymbol). - self assert: testsFound size equals: 1. - self assert: (testsFound includes: (('SmTClassTest','P1') asClass >> ('testMethod2SecondLevelSendersOutsideTestInsideWithRefIn','Method') asSymbol) asRingDefinition ). - \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st b/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st deleted file mode 100644 index 465bb6e..0000000 --- a/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st +++ /dev/null @@ -1,13 +0,0 @@ -tests -testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage - - "method1 is called by method 2,itself called by testMethod1" - "P1 : method1 and testMethod2 - P2 : method2, the reference is made in the package of method2" - "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" - - | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersOutsideTestInsideWithRefIn','Package') asClass >> ('method1SecondLevelSendersOutsideTestInsideWithRefIn','Package') asSymbol). - self assert: testsFound size equals: 1. - self assert: (testsFound includes: (('SmTClassTest','P1') asClass >> ('testMethod2SecondLevelSendersOutsideTestInsideWithRefIn','Package') asSymbol) asRingDefinition ). - \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefInMethod.st b/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefInMethod.st deleted file mode 100644 index 37379b4..0000000 --- a/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefInMethod.st +++ /dev/null @@ -1,14 +0,0 @@ -tests -testStandardMethodSecondLevelSendersOutsideTestOutsideWithRefInMethod - - "method1 is called by method 2,itself called by testMethod1" - "P1 : Class1 >> method1 - P2 : Class2 >> method2, the reference to Class1 is made in method2 - P3 : Class3 >> testMethod2, the reference to Class1 is made in testMethod2" - "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" - - | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefIn','Method') asClass >> ('method1SecondLevelSendersOutsideTestOutsideWithRefIn','Method') asSymbol). - self assert: testsFound size equals: 1. - self assert: (testsFound includes: (('SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefIn','Method') asClass >> ('testMethod2SecondLevelSenderOutsideTestOutsideWithRefIn','Method') asSymbol) asRingDefinition ). - \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/properties.json b/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/properties.json deleted file mode 100644 index 28bb79c..0000000 --- a/SmartTest-Tests.package/SmTSendersFilterTestDefaultClassPackage.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/14/2018 14:06", - "super" : "SmTFilterAbstractTest", - "category" : "SmartTest-Tests-Filter", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTSendersFilterTestDefaultClassPackage", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSendersFilterTestDefaultPackage.class/README.md b/SmartTest-Tests.package/SmTSendersFilterTestDefaultPackage.class/README.md deleted file mode 100644 index dcb8d92..0000000 --- a/SmartTest-Tests.package/SmTSendersFilterTestDefaultPackage.class/README.md +++ /dev/null @@ -1,5 +0,0 @@ -I test the strategy SendersFinder with the filter DefaultPackage. -The filter should accept any test that is owned by : - - the package of the modified method; - -In order to be sure that those test are not considered as callers of the modified method and as references to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method. \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSendersFilterTestDefaultPackage.class/instance/testClassOutsidePackageWithRef.st b/SmartTest-Tests.package/SmTSendersFilterTestDefaultPackage.class/instance/testClassOutsidePackageWithRef.st deleted file mode 100644 index f8cffb2..0000000 --- a/SmartTest-Tests.package/SmTSendersFilterTestDefaultPackage.class/instance/testClassOutsidePackageWithRef.st +++ /dev/null @@ -1,7 +0,0 @@ -tests -testClassOutsidePackageWithRef -"In this test, we want to assert that if the class is used in a method, we find the tests related to this method." - - | testsFound | - testsFound := self searchTestMethodsForAClass: ('SmTClassModificationOnClass','OutsidePackageWithRef') asClass. - self assert: testsFound size equals: 0. \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSendersFilterTestDefaultPackage.class/instance/testInstVarOutsidePackage.st b/SmartTest-Tests.package/SmTSendersFilterTestDefaultPackage.class/instance/testInstVarOutsidePackage.st deleted file mode 100644 index e0a1cdc..0000000 --- a/SmartTest-Tests.package/SmTSendersFilterTestDefaultPackage.class/instance/testInstVarOutsidePackage.st +++ /dev/null @@ -1,9 +0,0 @@ -tests -testInstVarOutsidePackage -"In this test we want to assert that if the modified class has subclasses, SmartTest finds all the inherited methods (implemented or not)" - - | testsFound aInstVar| - aInstVar := self instanceVariableNamed: 'instVarModificationOnVariableOutsidePackage' fromClass: ('SmTClassP1ModificationOnVariable') asClass . - testsFound := self searchTestsForInstVar: aInstVar ofClass: ('SmTClassP1ModificationOnVariable') asClass. - self assert: testsFound size equals: 0. - \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSendersFilterTestDefaultPackage.class/properties.json b/SmartTest-Tests.package/SmTSendersFilterTestDefaultPackage.class/properties.json deleted file mode 100644 index 648bd0d..0000000 --- a/SmartTest-Tests.package/SmTSendersFilterTestDefaultPackage.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/14/2018 14:06", - "super" : "SmTFilterAbstractTest", - "category" : "SmartTest-Tests-Filter", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTSendersFilterTestDefaultPackage", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/README.md b/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/README.md deleted file mode 100644 index e18a184..0000000 --- a/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/README.md +++ /dev/null @@ -1,7 +0,0 @@ -I test the strategy SendersFinder with the filter RestrictedPackage. -The filter should accept any test that is owned by a package whose name matches the regex. - -Here we look for tests in the package SmartDataTestOutsideP1 AND SmartDataTestOutsideP2 End of statement list encountered ->(this is defined in the SetUp method). -The results are different than the results with only one package. - -In order to be sure that those test are not considered as callers of the modified method and as references to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method. \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/setUp.st b/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/setUp.st deleted file mode 100644 index e3b651a..0000000 --- a/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/setUp.st +++ /dev/null @@ -1,9 +0,0 @@ -running -setUp - "Here we want to test the SmTRestrictedPackageFilter with the static strategy 'sendersFinder'. We look for the tests located in both SmartTestDataOutsideP1 and P2." - - super setUp. - self timeLimit: 60 seconds. - smartFinder - filter: - (SmTSpecifyPackagesNameFilter packagesRegex: 'SmartTestDataOutsideP1|SmartTestDataOutsideP2') \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st b/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st deleted file mode 100644 index d261fd4..0000000 --- a/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackage.st +++ /dev/null @@ -1,13 +0,0 @@ -tests -testStandardMethodFirstLevelSendersOutsidePackage - - "MyMethod1 is called by testMyMethod2, a test not owned by the same package as myMethod1 but its package matches the regex so it should be found" - "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" - - | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClass','P1') asClass >> ('method1','FirstLevelSendersOutsidePackage') asSymbol). - self assert: testsFound size equals: 1 . - self assert: (testsFound includes: testMethod1FirstLevelSendersOutsidePackage). - - - \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st b/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st deleted file mode 100644 index 3711712..0000000 --- a/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass.st +++ /dev/null @@ -1,12 +0,0 @@ -tests -testStandardMethodFirstLevelSendersOutsidePackageWithRefInClass - - "method1 is called by testMethod1" - "P1 : method1 - P2 : testMethod1, the reference is made in the class of testMethod1" - "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" - - | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClassP1FirstLevelSendersOutsideWithRefIn','Class') asClass >> ('method1','FirstLevelSendersWithRefInClass') asSymbol). - self assert: testsFound size equals: 1. - self assert: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod1FirstLevelSendersOutsideWithRefIn','Class') asSymbol) asRingDefinition ). \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st b/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st deleted file mode 100644 index af519a0..0000000 --- a/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod.st +++ /dev/null @@ -1,12 +0,0 @@ -tests -testStandardMethodFirstLevelSendersOutsidePackageWithRefInMethod - - "method1 is called by testMethod1" - "P1 : method1 - P2 : testMethod1, the reference is made in testMethod1" - "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" - - | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClassP1FirstLevelSendersOutsideWithRefIn','Method') asClass >> ('method1','FirstLevelSendersWithRefInMethod') asSymbol). - self assert: testsFound size equals: 1. - self assert: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod1FirstLevelSendersOutsideWithRefIn','Method') asSymbol) asRingDefinition ). \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st b/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st deleted file mode 100644 index e70c0c2..0000000 --- a/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage.st +++ /dev/null @@ -1,13 +0,0 @@ -tests -testStandardMethodFirstLevelSendersOutsidePackageWithRefInPackage - - "method1 is called by testMethod1" - "P1 : method1 - P2 : testMethod1, the reference is made in the package of testMethod1" - "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" - - | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClassP1FirstLevelSendersOutsideWithRefIn','Package') asClass >> ('method1FirstLevelSendersWithRefIn','Package') asSymbol). - self assert: testsFound size equals: 1. - self assert: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod1FirstLevelSendersOutsideWithRefIn','Package') asSymbol) asRingDefinition ). - \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestOutside.st b/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestOutside.st deleted file mode 100644 index becbfcd..0000000 --- a/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsidePackageWithTestOutside.st +++ /dev/null @@ -1,13 +0,0 @@ -running -testStandardMethodSecondLevelSendersInsidePackageWithTestOutside - - "method1 is called by method2, which itself is called by testMethod2, both methods (the test and the method) are not owned by the same package as myMethod1 but their packages matches the regex so it should be found" - "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" - - | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClass','P1') asClass >> ('method1','SecondLevelSendersInsidePackageWithTestOutside') asSymbol). - self assert: testsFound size equals: 1 . - self assert: (testsFound includes: testMethod2SecondLevelSendersInsidePackageWithTestOutside ). - - - \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st b/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st deleted file mode 100644 index be07332..0000000 --- a/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass.st +++ /dev/null @@ -1,13 +0,0 @@ -tests -testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInClass - - "method1 is called by method 2,itself called by testMethod1" - "P1 : method1 and method2 - P2 : testMethod2, the reference is made in the class of testMethod2" - "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" - - | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersInsideTestOutsideWithRefIn','Class') asClass >> ('method1SecondLevelSendersInsideTestOutsideWithRefIn','Class') asSymbol). - self assert: testsFound size equals: 1. - self assert: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod2SecondLevelSenderInsideTestOutsideWithRefIn','Class') asSymbol) asRingDefinition ). - \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st b/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st deleted file mode 100644 index 9bf9fb4..0000000 --- a/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod.st +++ /dev/null @@ -1,13 +0,0 @@ -tests -testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInMethod - - "method1 is called by method 2,itself called by testMethod1" - "P1 : method1 and method2 - P2 : testMethod2, the reference is made in testMethod2" - "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" - - | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersInsideTestOutsideWithRefIn','Method') asClass >> ('method1SecondLevelSendersInsideTestOutsideWithRefIn','Method') asSymbol). - self assert: testsFound size equals: 1. - self assert: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod2SecondLevelSenderInsideTestOutsideWithRefIn','Method')asSymbol) asRingDefinition ). - \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st b/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st deleted file mode 100644 index 32d056c..0000000 --- a/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage.st +++ /dev/null @@ -1,13 +0,0 @@ -tests -testStandardMethodSecondLevelSendersInsideTestOutsideWithRefInPackage - - "method1 is called by method 2,itself called by testMethod1" - "P1 : method1 and method2 - P2 : testMethod2, the reference is made in the package of testMethod2" - "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" - - | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersInsideTestOutsideWithRefIn','Package') asClass >> ('method1SecondLevelSendersInsideTestOutsideWithRefIn','Package') asSymbol). - self assert: testsFound size equals: 1. - self assert: (testsFound includes: (('SmTClassTest','P2Test') asClass >> ('testMethod2SecondLevelSenderInsideTestOutsideWithRefIn','Package') asSymbol) asRingDefinition ). - \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestInside.st b/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestInside.st deleted file mode 100644 index c17c27f..0000000 --- a/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestInside.st +++ /dev/null @@ -1,12 +0,0 @@ -running -testStandardMethodSecondLevelSendersOutsidePackageWithTestInside - - "method1 is called by method2, which itself is called by testMethod2, both methods (the test and the method) are not owned by the same package as myMethod1 but their packages matches the regex so it should be found" - "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" - | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClass','P1') asClass >> ('method1','SecondLevelSendersOutsidePackageWithTestInside') asSymbol). - self assert: testsFound size equals: 1 . - self assert: (testsFound includes: testMethod2SecondLevelSendersOutsidePackageWithTestInside ). - - - \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestOutside.st b/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestOutside.st deleted file mode 100644 index 14e3170..0000000 --- a/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsidePackageWithTestOutside.st +++ /dev/null @@ -1,12 +0,0 @@ -running -testStandardMethodSecondLevelSendersOutsidePackageWithTestOutside - - "method1 is called by method2, which itself is called by testMethod2, both methods (the test and the method) are not owned by the same package as myMethod1 but their packages matches the regex so it should be found" - "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" - | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClass','P1') asClass >> ('method1','SecondLevelSendersOutsidePackageWithTestOutside') asSymbol). - self assert: testsFound size equals: 1 . - self assert: (testsFound includes: testMethod2SecondLevelSendersOutsidePackageWithTestOutside ). - - - \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st b/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st deleted file mode 100644 index 29aceea..0000000 --- a/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass.st +++ /dev/null @@ -1,13 +0,0 @@ -tests -testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInClass - - "method1 is called by method 2,itself called by testMethod1" - "P1 : method1 and testMethod2 - P2 : method2, the reference is made in the class of method2" - "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" - - | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersOutsideTestInsideWithRefIn','Class') asClass >> ('method1SecondLevelSendersOutsideTestInsideWithRefIn','Class') asSymbol). - self assert: testsFound size equals: 1. - self assert: (testsFound includes: (('SmTClassTest','P1') asClass >> ('testMethod2SecondLevelSendersOutsideTestInsideWithRefIn','Class') asSymbol) asRingDefinition ). - \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st b/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st deleted file mode 100644 index ffdcb51..0000000 --- a/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod.st +++ /dev/null @@ -1,13 +0,0 @@ -tests -testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInMethod - - "method1 is called by method 2,itself called by testMethod1" - "P1 : method1 and testMethod2 - P2 : method2, the reference is made in method2" - "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" - - | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersOutsideTestInsideWithRefIn','Method') asClass >> ('method1SecondLevelSendersOutsideTestInsideWithRefIn','Method') asSymbol). - self assert: testsFound size equals: 1. - self assert: (testsFound includes: (('SmTClassTest','P1') asClass >> ('testMethod2SecondLevelSendersOutsideTestInsideWithRefIn','Method') asSymbol) asRingDefinition ). - \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st b/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st deleted file mode 100644 index 465bb6e..0000000 --- a/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/instance/testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage.st +++ /dev/null @@ -1,13 +0,0 @@ -tests -testStandardMethodSecondLevelSendersOutsideTestInsideWithRefInPackage - - "method1 is called by method 2,itself called by testMethod1" - "P1 : method1 and testMethod2 - P2 : method2, the reference is made in the package of method2" - "In order to be sure that this test is not considered as a caller of the modified method and a reference to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method" - - | testsFound | - testsFound := self searchTestMethodsFor: ( ('SmTClassP1SecondLevelSendersOutsideTestInsideWithRefIn','Package') asClass >> ('method1SecondLevelSendersOutsideTestInsideWithRefIn','Package') asSymbol). - self assert: testsFound size equals: 1. - self assert: (testsFound includes: (('SmTClassTest','P1') asClass >> ('testMethod2SecondLevelSendersOutsideTestInsideWithRefIn','Package') asSymbol) asRingDefinition ). - \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/properties.json b/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/properties.json deleted file mode 100644 index 88d6a92..0000000 --- a/SmartTest-Tests.package/SmTSendersFilterTestWithMultipleRestrictedPackage.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/14/2018 14:07", - "super" : "SmTFilterAbstractTest", - "category" : "SmartTest-Tests-Filter", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTSendersFilterTestWithMultipleRestrictedPackage", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/README.md b/SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/README.md deleted file mode 100644 index 7b2af44..0000000 --- a/SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/README.md +++ /dev/null @@ -1,6 +0,0 @@ -I test the strategy SendersFinder with the filter RestrictedPackage. -The filter should accept any test that is owned by a package whose name matches the regex. - -Here we look for tests in the package SmartDataTestOutsideP1 (this is defined in the SetUp method). - -In order to be sure that those test are not considered as callers of the modified method and as references to its class, we don't use directly the class and the method but go through their name with a concatenation and then transform them into class or method. \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/setUp.st b/SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/setUp.st deleted file mode 100644 index d682286..0000000 --- a/SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/setUp.st +++ /dev/null @@ -1,7 +0,0 @@ -running -setUp - "Here we want to test the SmTRestrictedPackageFilter with the static strategy 'sendersFinder'. We only look for the tests located in SmartTestDataOutsideP1." - - super setUp. - self timeLimit: 60 seconds. - smartFinder filter: (SmTSpecifyPackagesNameFilter packagesRegex: 'SmartTestDataOutsideP1') \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/testClassOutsidePackageWithRef.st b/SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/testClassOutsidePackageWithRef.st deleted file mode 100644 index f8cffb2..0000000 --- a/SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/testClassOutsidePackageWithRef.st +++ /dev/null @@ -1,7 +0,0 @@ -tests -testClassOutsidePackageWithRef -"In this test, we want to assert that if the class is used in a method, we find the tests related to this method." - - | testsFound | - testsFound := self searchTestMethodsForAClass: ('SmTClassModificationOnClass','OutsidePackageWithRef') asClass. - self assert: testsFound size equals: 0. \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/testExtensionMethodFirstLevelSendersOutside.st b/SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/testExtensionMethodFirstLevelSendersOutside.st deleted file mode 100644 index fbbf6f2..0000000 --- a/SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/testExtensionMethodFirstLevelSendersOutside.st +++ /dev/null @@ -1,6 +0,0 @@ -tests -testExtensionMethodFirstLevelSendersOutside - - | testsFound | - testsFound := self searchTestMethodsFor:( ('SmT','ExtensionP2Test') asClass >> ('extensionMethod1FirstLevelSenders','Outside') asSymbol). - self deny: (testsFound includes: ((('SmT','ClassTestP2Test') asClass >> ('testExtensionMethod1FirstLevelSenders','Outside') asSymbol) asRingDefinition )). \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/testInstVarOutsidePackage.st b/SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/testInstVarOutsidePackage.st deleted file mode 100644 index 1a6bba4..0000000 --- a/SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/instance/testInstVarOutsidePackage.st +++ /dev/null @@ -1,9 +0,0 @@ -tests -testInstVarOutsidePackage -"In this test we want to assert that if the modified class has subclasses, SmartTest finds all the inherited methods (implemented or not)" - - | testsFound aInstVar| - aInstVar := self instanceVariableNamed: 'instVarModificationOnVariableOutsidePackage' fromClass: ('SmTClassP1ModificationOnVariable') asClass . - testsFound := self searchTestsForInstVar: aInstVar ofClass:('SmTClassP1ModificationOnVariable') asClass . - self assert: testsFound size equals: 0. - \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/properties.json b/SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/properties.json deleted file mode 100644 index 0daa47e..0000000 --- a/SmartTest-Tests.package/SmTSendersFilterTestWithRestrictedPackage.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/14/2018 14:07", - "super" : "SmTFilterAbstractTest", - "category" : "SmartTest-Tests-Filter", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTSendersFilterTestWithRestrictedPackage", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSettingsBasicCacheTest.class/README.md b/SmartTest-Tests.package/SmTSettingsBasicCacheTest.class/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/SmartTest-Tests.package/SmTSettingsBasicCacheTest.class/instance/cacheStrategy.st b/SmartTest-Tests.package/SmTSettingsBasicCacheTest.class/instance/cacheStrategy.st deleted file mode 100644 index ec438a3..0000000 --- a/SmartTest-Tests.package/SmTSettingsBasicCacheTest.class/instance/cacheStrategy.st +++ /dev/null @@ -1,3 +0,0 @@ -settings -cacheStrategy - ^ SmTBasicCacheStrategy \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSettingsBasicCacheTest.class/properties.json b/SmartTest-Tests.package/SmTSettingsBasicCacheTest.class/properties.json deleted file mode 100644 index c248630..0000000 --- a/SmartTest-Tests.package/SmTSettingsBasicCacheTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "SmTSettingsCacheTest", - "category" : "SmartTest-Tests-Settings", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTSettingsBasicCacheTest", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSettingsCacheTest.class/README.md b/SmartTest-Tests.package/SmTSettingsCacheTest.class/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/SmartTest-Tests.package/SmTSettingsCacheTest.class/class/isAbstract.st b/SmartTest-Tests.package/SmTSettingsCacheTest.class/class/isAbstract.st deleted file mode 100644 index 3416abb..0000000 --- a/SmartTest-Tests.package/SmTSettingsCacheTest.class/class/isAbstract.st +++ /dev/null @@ -1,3 +0,0 @@ -testing -isAbstract - ^ self = SmTSettingsCacheTest \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSettingsCacheTest.class/instance/cacheStrategy.st b/SmartTest-Tests.package/SmTSettingsCacheTest.class/instance/cacheStrategy.st deleted file mode 100644 index 6b3c91d..0000000 --- a/SmartTest-Tests.package/SmTSettingsCacheTest.class/instance/cacheStrategy.st +++ /dev/null @@ -1,3 +0,0 @@ -settings -cacheStrategy - self subclassResponsibility \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSettingsCacheTest.class/instance/testChangeCacheStrategy.st b/SmartTest-Tests.package/SmTSettingsCacheTest.class/instance/testChangeCacheStrategy.st deleted file mode 100644 index 50663d8..0000000 --- a/SmartTest-Tests.package/SmTSettingsCacheTest.class/instance/testChangeCacheStrategy.st +++ /dev/null @@ -1,7 +0,0 @@ -tests -testChangeCacheStrategy - "Test changement of the runner in the setting (throught SmTRules methods)" - - SmTRules cacheStrategy: self cacheStrategy. - self assert: (SmTRules testFinder cacheStrategy isKindOf: self cacheStrategy). - self assert: (SmTRules testFinder smtFinder cache isKindOf: self cacheStrategy) \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSettingsCacheTest.class/properties.json b/SmartTest-Tests.package/SmTSettingsCacheTest.class/properties.json deleted file mode 100644 index f83f581..0000000 --- a/SmartTest-Tests.package/SmTSettingsCacheTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "SmTSettingsTest", - "category" : "SmartTest-Tests-Settings", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTSettingsCacheTest", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSettingsFilterDefaultClassPackagesTest.class/README.md b/SmartTest-Tests.package/SmTSettingsFilterDefaultClassPackagesTest.class/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/SmartTest-Tests.package/SmTSettingsFilterDefaultClassPackagesTest.class/instance/filterStrategy.st b/SmartTest-Tests.package/SmTSettingsFilterDefaultClassPackagesTest.class/instance/filterStrategy.st deleted file mode 100644 index 57ada31..0000000 --- a/SmartTest-Tests.package/SmTSettingsFilterDefaultClassPackagesTest.class/instance/filterStrategy.st +++ /dev/null @@ -1,3 +0,0 @@ -running -filterStrategy - ^ SmTDefaultClassPackagesFilter \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSettingsFilterDefaultClassPackagesTest.class/properties.json b/SmartTest-Tests.package/SmTSettingsFilterDefaultClassPackagesTest.class/properties.json deleted file mode 100644 index faf7616..0000000 --- a/SmartTest-Tests.package/SmTSettingsFilterDefaultClassPackagesTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "SmTSettingsFilterTest", - "category" : "SmartTest-Tests-Settings", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTSettingsFilterDefaultClassPackagesTest", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSettingsFilterDefaultPackagesTest.class/README.md b/SmartTest-Tests.package/SmTSettingsFilterDefaultPackagesTest.class/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/SmartTest-Tests.package/SmTSettingsFilterDefaultPackagesTest.class/instance/filterStrategy.st b/SmartTest-Tests.package/SmTSettingsFilterDefaultPackagesTest.class/instance/filterStrategy.st deleted file mode 100644 index d9a54d5..0000000 --- a/SmartTest-Tests.package/SmTSettingsFilterDefaultPackagesTest.class/instance/filterStrategy.st +++ /dev/null @@ -1,3 +0,0 @@ -running -filterStrategy - ^ SmTDefaultPackagesFilter \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSettingsFilterDefaultPackagesTest.class/properties.json b/SmartTest-Tests.package/SmTSettingsFilterDefaultPackagesTest.class/properties.json deleted file mode 100644 index 12278e2..0000000 --- a/SmartTest-Tests.package/SmTSettingsFilterDefaultPackagesTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "SmTSettingsFilterTest", - "category" : "SmartTest-Tests-Settings", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTSettingsFilterDefaultPackagesTest", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSettingsFilterIcebergTest.class/README.md b/SmartTest-Tests.package/SmTSettingsFilterIcebergTest.class/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/SmartTest-Tests.package/SmTSettingsFilterIcebergTest.class/instance/filterStrategy.st b/SmartTest-Tests.package/SmTSettingsFilterIcebergTest.class/instance/filterStrategy.st deleted file mode 100644 index 1ebdc3f..0000000 --- a/SmartTest-Tests.package/SmTSettingsFilterIcebergTest.class/instance/filterStrategy.st +++ /dev/null @@ -1,3 +0,0 @@ -running -filterStrategy - ^ SmTIcebergLoadedPackagesFilter \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSettingsFilterIcebergTest.class/properties.json b/SmartTest-Tests.package/SmTSettingsFilterIcebergTest.class/properties.json deleted file mode 100644 index 321e2a0..0000000 --- a/SmartTest-Tests.package/SmTSettingsFilterIcebergTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "SmTSettingsFilterTest", - "category" : "SmartTest-Tests-Settings", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTSettingsFilterIcebergTest", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSettingsFilterNoFilterTest.class/README.md b/SmartTest-Tests.package/SmTSettingsFilterNoFilterTest.class/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/SmartTest-Tests.package/SmTSettingsFilterNoFilterTest.class/instance/filterStrategy.st b/SmartTest-Tests.package/SmTSettingsFilterNoFilterTest.class/instance/filterStrategy.st deleted file mode 100644 index cf78b21..0000000 --- a/SmartTest-Tests.package/SmTSettingsFilterNoFilterTest.class/instance/filterStrategy.st +++ /dev/null @@ -1,3 +0,0 @@ -running -filterStrategy - ^ SmTNoFilter \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSettingsFilterNoFilterTest.class/properties.json b/SmartTest-Tests.package/SmTSettingsFilterNoFilterTest.class/properties.json deleted file mode 100644 index d5116b6..0000000 --- a/SmartTest-Tests.package/SmTSettingsFilterNoFilterTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "SmTSettingsFilterTest", - "category" : "SmartTest-Tests-Settings", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTSettingsFilterNoFilterTest", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/README.md b/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/dataForTestRegex.st b/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/dataForTestRegex.st deleted file mode 100644 index f9324cf..0000000 --- a/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/dataForTestRegex.st +++ /dev/null @@ -1,3 +0,0 @@ -running -dataForTestRegex - ^ 'SmartTes*|StarWars' \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/filterStrategy.st b/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/filterStrategy.st deleted file mode 100644 index 8b28c3a..0000000 --- a/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/filterStrategy.st +++ /dev/null @@ -1,3 +0,0 @@ -running -filterStrategy - ^ SmTSpecifyPackagesNameFilter \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/setUp.st b/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/setUp.st deleted file mode 100644 index 9769d58..0000000 --- a/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/setUp.st +++ /dev/null @@ -1,5 +0,0 @@ -running -setUp - super setUp. - oldRegex := SmTRules packagesRegex. - SmTRules packagesRegex: self dataForTestRegex \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/tearDown.st b/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/tearDown.st deleted file mode 100644 index ff5a0e9..0000000 --- a/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/tearDown.st +++ /dev/null @@ -1,5 +0,0 @@ -running -tearDown - - SmTRules packagesRegex: oldRegex. - super tearDown \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/testChangeRegexWhenChanged.st b/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/testChangeRegexWhenChanged.st deleted file mode 100644 index 2c37f78..0000000 --- a/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/instance/testChangeRegexWhenChanged.st +++ /dev/null @@ -1,4 +0,0 @@ -running -testChangeRegexWhenChanged - SmTRules filter: self filterStrategy. - self assert: SmTRules testFinder filter packagesRegex equals: self dataForTestRegex \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/properties.json b/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/properties.json deleted file mode 100644 index a847d2d..0000000 --- a/SmartTest-Tests.package/SmTSettingsFilterSpecifyPackagesNameTest.class/properties.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "commentStamp" : "", - "super" : "SmTSettingsFilterTest", - "category" : "SmartTest-Tests-Settings", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "oldRegex" - ], - "name" : "SmTSettingsFilterSpecifyPackagesNameTest", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSettingsFilterTest.class/README.md b/SmartTest-Tests.package/SmTSettingsFilterTest.class/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/SmartTest-Tests.package/SmTSettingsFilterTest.class/class/isAbstract.st b/SmartTest-Tests.package/SmTSettingsFilterTest.class/class/isAbstract.st deleted file mode 100644 index 38cd750..0000000 --- a/SmartTest-Tests.package/SmTSettingsFilterTest.class/class/isAbstract.st +++ /dev/null @@ -1,3 +0,0 @@ -testing -isAbstract - ^ self = SmTSettingsFilterTest \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSettingsFilterTest.class/instance/filterStrategy.st b/SmartTest-Tests.package/SmTSettingsFilterTest.class/instance/filterStrategy.st deleted file mode 100644 index 0e4dd42..0000000 --- a/SmartTest-Tests.package/SmTSettingsFilterTest.class/instance/filterStrategy.st +++ /dev/null @@ -1,3 +0,0 @@ -running -filterStrategy - self subclassResponsibility \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSettingsFilterTest.class/instance/testChangeFilterStrategy.st b/SmartTest-Tests.package/SmTSettingsFilterTest.class/instance/testChangeFilterStrategy.st deleted file mode 100644 index 3798777..0000000 --- a/SmartTest-Tests.package/SmTSettingsFilterTest.class/instance/testChangeFilterStrategy.st +++ /dev/null @@ -1,7 +0,0 @@ -tests -testChangeFilterStrategy - "Test changement of the runner in the setting (throught SmTRules methods)" - - SmTRules filter: self filterStrategy. - self assert: (SmTRules testFinder filter isKindOf: self filterStrategy). - self assert: (SmTRules testFinder smtFinder filter isKindOf: self filterStrategy) \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSettingsFilterTest.class/properties.json b/SmartTest-Tests.package/SmTSettingsFilterTest.class/properties.json deleted file mode 100644 index 9317b69..0000000 --- a/SmartTest-Tests.package/SmTSettingsFilterTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "SmTSettingsTest", - "category" : "SmartTest-Tests-Settings", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTSettingsFilterTest", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSettingsFinderReflectivityTest.class/README.md b/SmartTest-Tests.package/SmTSettingsFinderReflectivityTest.class/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/SmartTest-Tests.package/SmTSettingsFinderReflectivityTest.class/instance/finderStrategy.st b/SmartTest-Tests.package/SmTSettingsFinderReflectivityTest.class/instance/finderStrategy.st deleted file mode 100644 index b2a46ab..0000000 --- a/SmartTest-Tests.package/SmTSettingsFinderReflectivityTest.class/instance/finderStrategy.st +++ /dev/null @@ -1,3 +0,0 @@ -running -finderStrategy - ^ SmTReflectivityTestFinderStrategy \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSettingsFinderReflectivityTest.class/properties.json b/SmartTest-Tests.package/SmTSettingsFinderReflectivityTest.class/properties.json deleted file mode 100644 index d337601..0000000 --- a/SmartTest-Tests.package/SmTSettingsFinderReflectivityTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "SmTSettingsFinderTest", - "category" : "SmartTest-Tests-Settings", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTSettingsFinderReflectivityTest", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSettingsFinderSenderTestTest.class/README.md b/SmartTest-Tests.package/SmTSettingsFinderSenderTestTest.class/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/SmartTest-Tests.package/SmTSettingsFinderSenderTestTest.class/instance/finderStrategy.st b/SmartTest-Tests.package/SmTSettingsFinderSenderTestTest.class/instance/finderStrategy.st deleted file mode 100644 index 9343188..0000000 --- a/SmartTest-Tests.package/SmTSettingsFinderSenderTestTest.class/instance/finderStrategy.st +++ /dev/null @@ -1,3 +0,0 @@ -running -finderStrategy - ^ SmTSenderTestFinderStrategy \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSettingsFinderSenderTestTest.class/properties.json b/SmartTest-Tests.package/SmTSettingsFinderSenderTestTest.class/properties.json deleted file mode 100644 index 52d93c0..0000000 --- a/SmartTest-Tests.package/SmTSettingsFinderSenderTestTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "SmTSettingsFinderTest", - "category" : "SmartTest-Tests-Settings", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTSettingsFinderSenderTestTest", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSettingsFinderTest.class/README.md b/SmartTest-Tests.package/SmTSettingsFinderTest.class/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/SmartTest-Tests.package/SmTSettingsFinderTest.class/class/isAbstract.st b/SmartTest-Tests.package/SmTSettingsFinderTest.class/class/isAbstract.st deleted file mode 100644 index 27238b9..0000000 --- a/SmartTest-Tests.package/SmTSettingsFinderTest.class/class/isAbstract.st +++ /dev/null @@ -1,3 +0,0 @@ -testing -isAbstract - ^ self = SmTSettingsFinderTest \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSettingsFinderTest.class/instance/finderStrategy.st b/SmartTest-Tests.package/SmTSettingsFinderTest.class/instance/finderStrategy.st deleted file mode 100644 index fea0ff8..0000000 --- a/SmartTest-Tests.package/SmTSettingsFinderTest.class/instance/finderStrategy.st +++ /dev/null @@ -1,3 +0,0 @@ -running -finderStrategy - self subclassResponsibility \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSettingsFinderTest.class/instance/testChangeFinderStrategy.st b/SmartTest-Tests.package/SmTSettingsFinderTest.class/instance/testChangeFinderStrategy.st deleted file mode 100644 index 9a069df..0000000 --- a/SmartTest-Tests.package/SmTSettingsFinderTest.class/instance/testChangeFinderStrategy.st +++ /dev/null @@ -1,9 +0,0 @@ -tests -testChangeFinderStrategy - "Test changement of the runner in the setting (throught SmTRules methods)" - - SmTRules finder: self finderStrategy. - self assert: (SmTRules testFinder smtFinder isKindOf: self finderStrategy). - self assert: (SmTRules testFinder smtFinder filter isKindOf: SmTRules filter). - self assert: (SmTRules testFinder smtFinder cache isKindOf: SmTRules cacheStrategy). - self assert: (SmTRules testFinder smtFinder filter isKindOf: SmTRules filter) \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSettingsFinderTest.class/properties.json b/SmartTest-Tests.package/SmTSettingsFinderTest.class/properties.json deleted file mode 100644 index 0bbc317..0000000 --- a/SmartTest-Tests.package/SmTSettingsFinderTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "SmTSettingsTest", - "category" : "SmartTest-Tests-Settings", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTSettingsFinderTest", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSettingsFinderTestCoverageTest.class/README.md b/SmartTest-Tests.package/SmTSettingsFinderTestCoverageTest.class/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/SmartTest-Tests.package/SmTSettingsFinderTestCoverageTest.class/instance/finderStrategy.st b/SmartTest-Tests.package/SmTSettingsFinderTestCoverageTest.class/instance/finderStrategy.st deleted file mode 100644 index 7dd53de..0000000 --- a/SmartTest-Tests.package/SmTSettingsFinderTestCoverageTest.class/instance/finderStrategy.st +++ /dev/null @@ -1,3 +0,0 @@ -running -finderStrategy - ^ SmTTestCoverageTestFinderStrategy \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSettingsFinderTestCoverageTest.class/properties.json b/SmartTest-Tests.package/SmTSettingsFinderTestCoverageTest.class/properties.json deleted file mode 100644 index cd1ed10..0000000 --- a/SmartTest-Tests.package/SmTSettingsFinderTestCoverageTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "SmTSettingsFinderTest", - "category" : "SmartTest-Tests-Settings", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTSettingsFinderTestCoverageTest", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSettingsNoCacheTest.class/README.md b/SmartTest-Tests.package/SmTSettingsNoCacheTest.class/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/SmartTest-Tests.package/SmTSettingsNoCacheTest.class/instance/cacheStrategy.st b/SmartTest-Tests.package/SmTSettingsNoCacheTest.class/instance/cacheStrategy.st deleted file mode 100644 index 9d8fd7b..0000000 --- a/SmartTest-Tests.package/SmTSettingsNoCacheTest.class/instance/cacheStrategy.st +++ /dev/null @@ -1,3 +0,0 @@ -settings -cacheStrategy - ^ SmTNoCacheStrategy \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSettingsNoCacheTest.class/properties.json b/SmartTest-Tests.package/SmTSettingsNoCacheTest.class/properties.json deleted file mode 100644 index 9e57baf..0000000 --- a/SmartTest-Tests.package/SmTSettingsNoCacheTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "SmTSettingsCacheTest", - "category" : "SmartTest-Tests-Settings", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTSettingsNoCacheTest", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/README.md b/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/README.md deleted file mode 100644 index dbb2ac4..0000000 --- a/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/README.md +++ /dev/null @@ -1 +0,0 @@ -We test if we correctly changed the regex when we changed it (or not) in the settings. \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/class/isAbstract.st b/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/class/isAbstract.st deleted file mode 100644 index d9df9bb..0000000 --- a/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/class/isAbstract.st +++ /dev/null @@ -1,3 +0,0 @@ -testing -isAbstract - ^ false \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/instance/dataForTestRegex.st b/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/instance/dataForTestRegex.st deleted file mode 100644 index f9324cf..0000000 --- a/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/instance/dataForTestRegex.st +++ /dev/null @@ -1,3 +0,0 @@ -running -dataForTestRegex - ^ 'SmartTes*|StarWars' \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/instance/setUp.st b/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/instance/setUp.st deleted file mode 100644 index 2ae7e33..0000000 --- a/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/instance/setUp.st +++ /dev/null @@ -1,6 +0,0 @@ -running -setUp - super setUp. - - oldRegex := SmTRules packagesRegex. - oldFilter := SmTRules filter. \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/instance/tearDown.st b/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/instance/tearDown.st deleted file mode 100644 index b596626..0000000 --- a/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/instance/tearDown.st +++ /dev/null @@ -1,5 +0,0 @@ -running -tearDown - SmTRules packagesRegex: oldRegex. - SmTRules filter: oldFilter. - super tearDown \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/instance/testChangeRegexSmTSpecifyPackagesNameFilter.st b/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/instance/testChangeRegexSmTSpecifyPackagesNameFilter.st deleted file mode 100644 index 8232d38..0000000 --- a/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/instance/testChangeRegexSmTSpecifyPackagesNameFilter.st +++ /dev/null @@ -1,5 +0,0 @@ -tests -testChangeRegexSmTSpecifyPackagesNameFilter - SmTRules filter: SmTSpecifyPackagesNameFilter. - SmTRules packagesRegex: self dataForTestRegex. - self assert: SmTRules testFinder filter packagesRegex equals: self dataForTestRegex \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/properties.json b/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/properties.json deleted file mode 100644 index 37cee46..0000000 --- a/SmartTest-Tests.package/SmTSettingsPackagesRegexTest.class/properties.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "commentStamp" : "eleonoreW 6/29/2018 13:24", - "super" : "SmTSettingsTest", - "category" : "SmartTest-Tests-Settings", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "oldRegex", - "oldFilter" - ], - "name" : "SmTSettingsPackagesRegexTest", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSettingsRunnerDebugTest.class/README.md b/SmartTest-Tests.package/SmTSettingsRunnerDebugTest.class/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/SmartTest-Tests.package/SmTSettingsRunnerDebugTest.class/instance/runnerStrategy.st b/SmartTest-Tests.package/SmTSettingsRunnerDebugTest.class/instance/runnerStrategy.st deleted file mode 100644 index cd30455..0000000 --- a/SmartTest-Tests.package/SmTSettingsRunnerDebugTest.class/instance/runnerStrategy.st +++ /dev/null @@ -1,3 +0,0 @@ -running -runnerStrategy - ^ SmTRunnerStrategyDebug \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSettingsRunnerDebugTest.class/properties.json b/SmartTest-Tests.package/SmTSettingsRunnerDebugTest.class/properties.json deleted file mode 100644 index 9ff2a92..0000000 --- a/SmartTest-Tests.package/SmTSettingsRunnerDebugTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "SmTSettingsRunnerTest", - "category" : "SmartTest-Tests-Settings", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTSettingsRunnerDebugTest", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSettingsRunnerNoticeTest.class/README.md b/SmartTest-Tests.package/SmTSettingsRunnerNoticeTest.class/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/SmartTest-Tests.package/SmTSettingsRunnerNoticeTest.class/instance/runnerStrategy.st b/SmartTest-Tests.package/SmTSettingsRunnerNoticeTest.class/instance/runnerStrategy.st deleted file mode 100644 index 56dcb02..0000000 --- a/SmartTest-Tests.package/SmTSettingsRunnerNoticeTest.class/instance/runnerStrategy.st +++ /dev/null @@ -1,3 +0,0 @@ -running -runnerStrategy - ^ SmTRunnerStrategyNotice \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSettingsRunnerNoticeTest.class/properties.json b/SmartTest-Tests.package/SmTSettingsRunnerNoticeTest.class/properties.json deleted file mode 100644 index a583b96..0000000 --- a/SmartTest-Tests.package/SmTSettingsRunnerNoticeTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "SmTSettingsRunnerTest", - "category" : "SmartTest-Tests-Settings", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTSettingsRunnerNoticeTest", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSettingsRunnerSmartTest.class/README.md b/SmartTest-Tests.package/SmTSettingsRunnerSmartTest.class/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/SmartTest-Tests.package/SmTSettingsRunnerSmartTest.class/instance/runnerStrategy.st b/SmartTest-Tests.package/SmTSettingsRunnerSmartTest.class/instance/runnerStrategy.st deleted file mode 100644 index 43c285d..0000000 --- a/SmartTest-Tests.package/SmTSettingsRunnerSmartTest.class/instance/runnerStrategy.st +++ /dev/null @@ -1,3 +0,0 @@ -running -runnerStrategy - ^ SmTRunnerStrategySmart \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSettingsRunnerSmartTest.class/properties.json b/SmartTest-Tests.package/SmTSettingsRunnerSmartTest.class/properties.json deleted file mode 100644 index cb02290..0000000 --- a/SmartTest-Tests.package/SmTSettingsRunnerSmartTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "SmTSettingsRunnerTest", - "category" : "SmartTest-Tests-Settings", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTSettingsRunnerSmartTest", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSettingsRunnerTest.class/README.md b/SmartTest-Tests.package/SmTSettingsRunnerTest.class/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/SmartTest-Tests.package/SmTSettingsRunnerTest.class/class/isAbstract.st b/SmartTest-Tests.package/SmTSettingsRunnerTest.class/class/isAbstract.st deleted file mode 100644 index aa5ac68..0000000 --- a/SmartTest-Tests.package/SmTSettingsRunnerTest.class/class/isAbstract.st +++ /dev/null @@ -1,3 +0,0 @@ -testing -isAbstract - ^ self = SmTSettingsRunnerTest \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSettingsRunnerTest.class/instance/runnerStrategy.st b/SmartTest-Tests.package/SmTSettingsRunnerTest.class/instance/runnerStrategy.st deleted file mode 100644 index 122fd7f..0000000 --- a/SmartTest-Tests.package/SmTSettingsRunnerTest.class/instance/runnerStrategy.st +++ /dev/null @@ -1,3 +0,0 @@ -running -runnerStrategy - self subclassResponsibility \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSettingsRunnerTest.class/instance/testChangeRunnerStrategy.st b/SmartTest-Tests.package/SmTSettingsRunnerTest.class/instance/testChangeRunnerStrategy.st deleted file mode 100644 index 56d97bd..0000000 --- a/SmartTest-Tests.package/SmTSettingsRunnerTest.class/instance/testChangeRunnerStrategy.st +++ /dev/null @@ -1,7 +0,0 @@ -tests -testChangeRunnerStrategy - "Test changement of the runner in the setting (throught SmTRules methods)" - - SmTRules runner: self runnerStrategy. - self assert: SmTRules testFinder testRunner equals: self runnerStrategy. - self assert: SmTRules testFinder testingStrategy runner equals: self runnerStrategy. \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSettingsRunnerTest.class/properties.json b/SmartTest-Tests.package/SmTSettingsRunnerTest.class/properties.json deleted file mode 100644 index d02140e..0000000 --- a/SmartTest-Tests.package/SmTSettingsRunnerTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "SmTSettingsTest", - "category" : "SmartTest-Tests-Settings", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTSettingsRunnerTest", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSettingsTest.class/README.md b/SmartTest-Tests.package/SmTSettingsTest.class/README.md deleted file mode 100644 index 380795d..0000000 --- a/SmartTest-Tests.package/SmTSettingsTest.class/README.md +++ /dev/null @@ -1 +0,0 @@ -These tests are here to assert that when we change the settings of SmartTest in the environnement, they are indeed changed. \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSettingsTest.class/class/isAbstract.st b/SmartTest-Tests.package/SmTSettingsTest.class/class/isAbstract.st deleted file mode 100644 index 44b4751..0000000 --- a/SmartTest-Tests.package/SmTSettingsTest.class/class/isAbstract.st +++ /dev/null @@ -1,3 +0,0 @@ -testing -isAbstract - ^ true \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSettingsTest.class/instance/setUp.st b/SmartTest-Tests.package/SmTSettingsTest.class/instance/setUp.st deleted file mode 100644 index 2da55ab..0000000 --- a/SmartTest-Tests.package/SmTSettingsTest.class/instance/setUp.st +++ /dev/null @@ -1,4 +0,0 @@ -running -setUp - super setUp. - oldSettings := SmTRules testFinder \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSettingsTest.class/instance/tearDown.st b/SmartTest-Tests.package/SmTSettingsTest.class/instance/tearDown.st deleted file mode 100644 index 45635eb..0000000 --- a/SmartTest-Tests.package/SmTSettingsTest.class/instance/tearDown.st +++ /dev/null @@ -1,4 +0,0 @@ -running -tearDown - SmTRules testFinder: oldSettings. - super tearDown \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSettingsTest.class/properties.json b/SmartTest-Tests.package/SmTSettingsTest.class/properties.json deleted file mode 100644 index 4ea77cd..0000000 --- a/SmartTest-Tests.package/SmTSettingsTest.class/properties.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "commentStamp" : "eleonoreW 7/18/2018 10:15", - "super" : "TestCase", - "category" : "SmartTest-Tests-Settings", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "oldSettings" - ], - "name" : "SmTSettingsTest", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSettingsTestingStrategyAlwaysTest.class/README.md b/SmartTest-Tests.package/SmTSettingsTestingStrategyAlwaysTest.class/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/SmartTest-Tests.package/SmTSettingsTestingStrategyAlwaysTest.class/instance/getTestingStrategy.st b/SmartTest-Tests.package/SmTSettingsTestingStrategyAlwaysTest.class/instance/getTestingStrategy.st deleted file mode 100644 index 81062d3..0000000 --- a/SmartTest-Tests.package/SmTSettingsTestingStrategyAlwaysTest.class/instance/getTestingStrategy.st +++ /dev/null @@ -1,3 +0,0 @@ -running -getTestingStrategy - ^ SmTTestingStrategyAlways \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSettingsTestingStrategyAlwaysTest.class/properties.json b/SmartTest-Tests.package/SmTSettingsTestingStrategyAlwaysTest.class/properties.json deleted file mode 100644 index db21bc6..0000000 --- a/SmartTest-Tests.package/SmTSettingsTestingStrategyAlwaysTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "SmTSettingsTestingStrategyTest", - "category" : "SmartTest-Tests-Settings", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTSettingsTestingStrategyAlwaysTest", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSettingsTestingStrategyEachModificationTest.class/README.md b/SmartTest-Tests.package/SmTSettingsTestingStrategyEachModificationTest.class/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/SmartTest-Tests.package/SmTSettingsTestingStrategyEachModificationTest.class/instance/getTestingStrategy.st b/SmartTest-Tests.package/SmTSettingsTestingStrategyEachModificationTest.class/instance/getTestingStrategy.st deleted file mode 100644 index 68208a8..0000000 --- a/SmartTest-Tests.package/SmTSettingsTestingStrategyEachModificationTest.class/instance/getTestingStrategy.st +++ /dev/null @@ -1,3 +0,0 @@ -running -getTestingStrategy - ^ SmTTestingStrategyEachModification \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSettingsTestingStrategyEachModificationTest.class/properties.json b/SmartTest-Tests.package/SmTSettingsTestingStrategyEachModificationTest.class/properties.json deleted file mode 100644 index 6c645de..0000000 --- a/SmartTest-Tests.package/SmTSettingsTestingStrategyEachModificationTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "SmTSettingsTestingStrategyTest", - "category" : "SmartTest-Tests-Settings", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTSettingsTestingStrategyEachModificationTest", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSettingsTestingStrategyFiveMinutesTest.class/README.md b/SmartTest-Tests.package/SmTSettingsTestingStrategyFiveMinutesTest.class/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/SmartTest-Tests.package/SmTSettingsTestingStrategyFiveMinutesTest.class/instance/getTestingStrategy.st b/SmartTest-Tests.package/SmTSettingsTestingStrategyFiveMinutesTest.class/instance/getTestingStrategy.st deleted file mode 100644 index dc89876..0000000 --- a/SmartTest-Tests.package/SmTSettingsTestingStrategyFiveMinutesTest.class/instance/getTestingStrategy.st +++ /dev/null @@ -1,3 +0,0 @@ -running -getTestingStrategy - ^ SmTTestingStrategyFiveMinutes \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSettingsTestingStrategyFiveMinutesTest.class/properties.json b/SmartTest-Tests.package/SmTSettingsTestingStrategyFiveMinutesTest.class/properties.json deleted file mode 100644 index cc0af9b..0000000 --- a/SmartTest-Tests.package/SmTSettingsTestingStrategyFiveMinutesTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "SmTSettingsTestingStrategyTest", - "category" : "SmartTest-Tests-Settings", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTSettingsTestingStrategyFiveMinutesTest", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSettingsTestingStrategyNeverTest.class/README.md b/SmartTest-Tests.package/SmTSettingsTestingStrategyNeverTest.class/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/SmartTest-Tests.package/SmTSettingsTestingStrategyNeverTest.class/instance/getTestingStrategy.st b/SmartTest-Tests.package/SmTSettingsTestingStrategyNeverTest.class/instance/getTestingStrategy.st deleted file mode 100644 index 28f7c5c..0000000 --- a/SmartTest-Tests.package/SmTSettingsTestingStrategyNeverTest.class/instance/getTestingStrategy.st +++ /dev/null @@ -1,3 +0,0 @@ -running -getTestingStrategy - ^ SmTTestingStrategyNever \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSettingsTestingStrategyNeverTest.class/properties.json b/SmartTest-Tests.package/SmTSettingsTestingStrategyNeverTest.class/properties.json deleted file mode 100644 index a830630..0000000 --- a/SmartTest-Tests.package/SmTSettingsTestingStrategyNeverTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "SmTSettingsTestingStrategyTest", - "category" : "SmartTest-Tests-Settings", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTSettingsTestingStrategyNeverTest", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSettingsTestingStrategyTest.class/README.md b/SmartTest-Tests.package/SmTSettingsTestingStrategyTest.class/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/SmartTest-Tests.package/SmTSettingsTestingStrategyTest.class/class/isAbstract.st b/SmartTest-Tests.package/SmTSettingsTestingStrategyTest.class/class/isAbstract.st deleted file mode 100644 index e2c3b4d..0000000 --- a/SmartTest-Tests.package/SmTSettingsTestingStrategyTest.class/class/isAbstract.st +++ /dev/null @@ -1,3 +0,0 @@ -testing -isAbstract - ^ self = SmTSettingsTestingStrategyTest \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSettingsTestingStrategyTest.class/instance/getTestingStrategy.st b/SmartTest-Tests.package/SmTSettingsTestingStrategyTest.class/instance/getTestingStrategy.st deleted file mode 100644 index baa4567..0000000 --- a/SmartTest-Tests.package/SmTSettingsTestingStrategyTest.class/instance/getTestingStrategy.st +++ /dev/null @@ -1,3 +0,0 @@ -running -getTestingStrategy - self subclassResponsibility \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSettingsTestingStrategyTest.class/instance/testChangeTestingStrategyStrategy.st b/SmartTest-Tests.package/SmTSettingsTestingStrategyTest.class/instance/testChangeTestingStrategyStrategy.st deleted file mode 100644 index 681e96d..0000000 --- a/SmartTest-Tests.package/SmTSettingsTestingStrategyTest.class/instance/testChangeTestingStrategyStrategy.st +++ /dev/null @@ -1,8 +0,0 @@ -tests -testChangeTestingStrategyStrategy - "Test changement of the runner in the setting (throught SmTRules methods)" - - SmTRules strategy: self getTestingStrategy . - self assert: (SmTRules testFinder testingStrategy isKindOf: self getTestingStrategy ). - self assert: SmTRules testFinder testingStrategy runner equals: SmTRules runner. - self assert: SmTRules testFinder testingStrategy finder equals: SmTRules testFinder smtFinder \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTSettingsTestingStrategyTest.class/properties.json b/SmartTest-Tests.package/SmTSettingsTestingStrategyTest.class/properties.json deleted file mode 100644 index d5435e1..0000000 --- a/SmartTest-Tests.package/SmTSettingsTestingStrategyTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "", - "super" : "SmTSettingsTest", - "category" : "SmartTest-Tests-Settings", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTSettingsTestingStrategyTest", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTStaticDefaultClassPackageBasicCacheTest.class/README.md b/SmartTest-Tests.package/SmTStaticDefaultClassPackageBasicCacheTest.class/README.md deleted file mode 100644 index 0038960..0000000 --- a/SmartTest-Tests.package/SmTStaticDefaultClassPackageBasicCacheTest.class/README.md +++ /dev/null @@ -1 +0,0 @@ -I test the static finder with DefaultClassPackageFilter and BasicCache \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTStaticDefaultClassPackageBasicCacheTest.class/instance/setUp.st b/SmartTest-Tests.package/SmTStaticDefaultClassPackageBasicCacheTest.class/instance/setUp.st deleted file mode 100644 index 4dee1d0..0000000 --- a/SmartTest-Tests.package/SmTStaticDefaultClassPackageBasicCacheTest.class/instance/setUp.st +++ /dev/null @@ -1,4 +0,0 @@ -running -setUp - super setUp. - smartFinder resetCache \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTStaticDefaultClassPackageBasicCacheTest.class/instance/testStandardMethodSecondLevelSenders.st b/SmartTest-Tests.package/SmTStaticDefaultClassPackageBasicCacheTest.class/instance/testStandardMethodSecondLevelSenders.st deleted file mode 100644 index 61f9cfb..0000000 --- a/SmartTest-Tests.package/SmTStaticDefaultClassPackageBasicCacheTest.class/instance/testStandardMethodSecondLevelSenders.st +++ /dev/null @@ -1,10 +0,0 @@ -tests -testStandardMethodSecondLevelSenders - - | testsFound | - testsFound := self searchTestMethodsFor: SmTClass >> #method1. - - self assert: (testsFound includes: testMethod1). - self assert: (testsFound includes: testMethod2). - self deny: (testsFound includes: testMethod3). - self deny: (testsFound includes: testMethod4). \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTStaticDefaultClassPackageBasicCacheTest.class/properties.json b/SmartTest-Tests.package/SmTStaticDefaultClassPackageBasicCacheTest.class/properties.json deleted file mode 100644 index fe2f37e..0000000 --- a/SmartTest-Tests.package/SmTStaticDefaultClassPackageBasicCacheTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "eleonoreW 6/29/2018 16:19", - "super" : "SmTFinderAbstractTest", - "category" : "SmartTest-Tests-Finder", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTStaticDefaultClassPackageBasicCacheTest", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTStaticDefaultClassPackageWithoutCacheTest.class/README.md b/SmartTest-Tests.package/SmTStaticDefaultClassPackageWithoutCacheTest.class/README.md deleted file mode 100644 index a12902a..0000000 --- a/SmartTest-Tests.package/SmTStaticDefaultClassPackageWithoutCacheTest.class/README.md +++ /dev/null @@ -1,3 +0,0 @@ -In this class, the research is limited to the SmartTest-Tests-Data package, the research is static (it is using the SenderStrategy finder) and no cache is used. - -This comment is false, the research is not limited to SmartTest-Tests-Data package ! Should we change the comment or the tests ?? \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTStaticDefaultClassPackageWithoutCacheTest.class/instance/setUp.st b/SmartTest-Tests.package/SmTStaticDefaultClassPackageWithoutCacheTest.class/instance/setUp.st deleted file mode 100644 index 5ea2564..0000000 --- a/SmartTest-Tests.package/SmTStaticDefaultClassPackageWithoutCacheTest.class/instance/setUp.st +++ /dev/null @@ -1,5 +0,0 @@ -running -setUp - super setUp. - smartFinder cacheStrategy: SmTNoCacheStrategy new. - cache := SmTNoCacheStrategy new \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTStaticDefaultClassPackageWithoutCacheTest.class/instance/tearDown.st b/SmartTest-Tests.package/SmTStaticDefaultClassPackageWithoutCacheTest.class/instance/tearDown.st deleted file mode 100644 index 9d91f52..0000000 --- a/SmartTest-Tests.package/SmTStaticDefaultClassPackageWithoutCacheTest.class/instance/tearDown.st +++ /dev/null @@ -1,4 +0,0 @@ -initialization -tearDown - super tearDown. - smartFinder resetCache \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTStaticDefaultClassPackageWithoutCacheTest.class/properties.json b/SmartTest-Tests.package/SmTStaticDefaultClassPackageWithoutCacheTest.class/properties.json deleted file mode 100644 index b06a222..0000000 --- a/SmartTest-Tests.package/SmTStaticDefaultClassPackageWithoutCacheTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/7/2018 11:25", - "super" : "SmTFinderAbstractTest", - "category" : "SmartTest-Tests-Finder", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTStaticDefaultClassPackageWithoutCacheTest", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/README.md b/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/README.md deleted file mode 100644 index 71116be..0000000 --- a/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/README.md +++ /dev/null @@ -1 +0,0 @@ -In this class, the research is limited to the SmartTest-Tests-Data package and the research is static (it is using the SenderStrategy finder). \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/instance/setUp.st b/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/instance/setUp.st deleted file mode 100644 index 02118d0..0000000 --- a/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/instance/setUp.st +++ /dev/null @@ -1,5 +0,0 @@ -running -setUp - super setUp. - smartFinder filter: (SmTSpecifyPackagesNameFilter packagesRegex: 'SmartTest-Tests-Data'). - smartFinder resetCache \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/instance/testInheritance.st b/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/instance/testInheritance.st deleted file mode 100644 index de200be..0000000 --- a/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/instance/testInheritance.st +++ /dev/null @@ -1,10 +0,0 @@ -tests -testInheritance - - "The test is outside of the scope of the test" - | testsFound | - testsFound := self searchTestMethodsFor: ('SmTP1' , 'Inheritance') asClass >> #method1Inheritance. - - self assert: testsFound isEmpty. - self deny: (testsFound includes: ((('SmTP1InheritanceSubClass1','Test')asClass >> ('testMethod1','Inheritance')asSymbol) asRingDefinition )). - self deny: (testsFound includes: ( (RGMethodDefinition className: ('SmTP1InheritanceSubClass2','Test') selector: ('testMethod1','Inheritance') asSymbol isMetaSide: false) asRingDefinition )). \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/instance/testStandardMethodFirstLevelSenders.st b/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/instance/testStandardMethodFirstLevelSenders.st deleted file mode 100644 index 669189f..0000000 --- a/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/instance/testStandardMethodFirstLevelSenders.st +++ /dev/null @@ -1,12 +0,0 @@ -tests -testStandardMethodFirstLevelSenders - "Same test as in the superclass, but here there should be only one test found (there are many in the superclass)" - - - | testsFound | - testsFound := self searchTestMethodsFor: SmTClass >> #method2. - self assert: testsFound size equals: 1. - self assert: (testsFound includes: testMethod2). - self deny: (testsFound includes: testMethod1). - self deny: (testsFound includes: testMethod3). - self deny: (testsFound includes: testMethod4) \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/instance/testStandardMethodSecondLevelSenders.st b/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/instance/testStandardMethodSecondLevelSenders.st deleted file mode 100644 index 068b5b5..0000000 --- a/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/instance/testStandardMethodSecondLevelSenders.st +++ /dev/null @@ -1,16 +0,0 @@ -tests -testStandardMethodSecondLevelSenders - "In class, the research is limited to the SmartTest-Tests-Data package and is static. So the assertions are different. There should be only one test found that call the method2 message" - "Here the test founds should not include the test 'testInheritedMethod1' because - - it is not in the package SmartTest-Tests-Data - - it makes a reference to SmTClassOutSide new method2 and NOT SmTClass >> method2" - - - | testsFound | - testsFound := self searchTestMethodsFor: SmTClass >> #method1. - self assert: testsFound size equals: 3. - self assert: (testsFound includes: testMethod1). - self assert: (testsFound includes: testMethod2). - self assert: (testsFound includes: testInheritedMethod1). - self deny: (testsFound includes: testMethod3). - self deny: (testsFound includes: testMethod4) \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/instance/testStandardMethodThirdLevelSenders.st b/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/instance/testStandardMethodThirdLevelSenders.st deleted file mode 100644 index c941ec5..0000000 --- a/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/instance/testStandardMethodThirdLevelSenders.st +++ /dev/null @@ -1,10 +0,0 @@ -tests -testStandardMethodThirdLevelSenders - - | testsFound | - testsFound := self searchTestMethodsFor: SmTClass >> #method4. - self assert: testsFound size equals: 3. - self deny: (testsFound includes: (SmTClassTest >> #testMethod1 )asRingDefinition). - self assert: (testsFound includes: (SmTClassTest >> #testMethod2 )asRingDefinition). - self assert: (testsFound includes: (SmTClassTest >> #testMethod3 )asRingDefinition). - self assert: (testsFound includes: (SmTClassTest >> #testMethod4 )asRingDefinition). \ No newline at end of file diff --git a/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/properties.json b/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/properties.json deleted file mode 100644 index cafdede..0000000 --- a/SmartTest-Tests.package/SmTStaticSpecifyPackageNameBasicCacheTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/3/2018 16:17", - "super" : "SmTFinderAbstractTest", - "category" : "SmartTest-Tests-Finder", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTStaticSpecifyPackageNameBasicCacheTest", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest-Tests.package/SmartFinderTest.class/README.md b/SmartTest-Tests.package/SmartFinderTest.class/README.md deleted file mode 100644 index 9351dc1..0000000 --- a/SmartTest-Tests.package/SmartFinderTest.class/README.md +++ /dev/null @@ -1 +0,0 @@ -A SmartFinderTest is a test class for testing the behavior of SmartFinder \ No newline at end of file diff --git a/SmartTest-Tests.package/SmartFinderTest.class/instance/initCache.st b/SmartTest-Tests.package/SmartFinderTest.class/instance/initCache.st deleted file mode 100644 index 01f8719..0000000 --- a/SmartTest-Tests.package/SmartFinderTest.class/instance/initCache.st +++ /dev/null @@ -1,31 +0,0 @@ -initialization -initCache - ^ {((SmTClass >> #method1 )asRingDefinition - -> - {(SmTClassTest >> #testMethod1 )asRingDefinition. - (SmTClassTest >> #testMethod2 )asRingDefinition. - (RGMethodDefinition className: 'SmTInheritClassTest' selector: #testMethod1 isMetaSide: false)} asSet). - ((SmTClass >> #method2 )asRingDefinition - -> - {(SmTClassTest >> #testMethod2 )asRingDefinition} - asSet). - ((SmTClass >> #method3: )asRingDefinition - -> - {(SmTClassTest >> #testMethod1 )asRingDefinition. - (SmTClassTest >> #testMethod2 )asRingDefinition. - (SmTClassTest >> #testMethod3 )asRingDefinition} - asSet). - ((SmTClass >> #method4 )asRingDefinition - -> - {(SmTClassTest >> #testMethod2 )asRingDefinition. - (SmTClassTest >> #testMethod3 )asRingDefinition. - (SmTClassTest >> #testMethod4 )asRingDefinition} - asSet). - ((SmTClass2 >> #initialize )asRingDefinition - -> - {(SmTClassTest >> #testMethod5 )asRingDefinition} - asSet). - ((SmTClassTest >> #testMethod4 )asRingDefinition - -> - {(SmTClassTest >> #testMethod4 )asRingDefinition} - asSet)} asDictionary \ No newline at end of file diff --git a/SmartTest-Tests.package/SmartFinderTest.class/instance/setUp.st b/SmartTest-Tests.package/SmartFinderTest.class/instance/setUp.st deleted file mode 100644 index f9154c6..0000000 --- a/SmartTest-Tests.package/SmartFinderTest.class/instance/setUp.st +++ /dev/null @@ -1,9 +0,0 @@ -initialization -setUp - smartFinder := SmartFinder new - cacheStrategy: SmTBasicCacheStrategy new; - filter: SmTNoFilter new; - testRunner: SmTRunnerStrategyDebug; - smtFinder: SmTSenderTestFinderStrategy new; - testingStrategy: SmTTestingStrategyEachModification new; - shouldTryToFindTestForDynamic: false \ No newline at end of file diff --git a/SmartTest-Tests.package/SmartFinderTest.class/instance/tearDown.st b/SmartTest-Tests.package/SmartFinderTest.class/instance/tearDown.st deleted file mode 100644 index 4d3b1ab..0000000 --- a/SmartTest-Tests.package/SmartFinderTest.class/instance/tearDown.st +++ /dev/null @@ -1,3 +0,0 @@ -initialization -tearDown - smartFinder clean \ No newline at end of file diff --git a/SmartTest-Tests.package/SmartFinderTest.class/instance/testChangeCacheClassFinder.st b/SmartTest-Tests.package/SmartFinderTest.class/instance/testChangeCacheClassFinder.st deleted file mode 100644 index 3094e7e..0000000 --- a/SmartTest-Tests.package/SmartFinderTest.class/instance/testChangeCacheClassFinder.st +++ /dev/null @@ -1,7 +0,0 @@ -initialization -testChangeCacheClassFinder - | cacheTmp | - smartFinder smtFinder. - cacheTmp := SmTBasicCacheStrategy new. - smartFinder cacheStrategy: cacheTmp. - self assert: smartFinder smtFinder cache equals: cacheTmp \ No newline at end of file diff --git a/SmartTest-Tests.package/SmartFinderTest.class/instance/testChangeFilterFinder.st b/SmartTest-Tests.package/SmartFinderTest.class/instance/testChangeFilterFinder.st deleted file mode 100644 index 633c1b0..0000000 --- a/SmartTest-Tests.package/SmartFinderTest.class/instance/testChangeFilterFinder.st +++ /dev/null @@ -1,7 +0,0 @@ -initialization -testChangeFilterFinder - | filterTmp | - smartFinder smtFinder. - filterTmp := SmTDefaultPackagesFilter new. - smartFinder filter: filterTmp. - self assert: smartFinder smtFinder filter equals: filterTmp \ No newline at end of file diff --git a/SmartTest-Tests.package/SmartFinderTest.class/instance/testChangeFilterTryFindTestFinder.st b/SmartTest-Tests.package/SmartFinderTest.class/instance/testChangeFilterTryFindTestFinder.st deleted file mode 100644 index 9ac4a08..0000000 --- a/SmartTest-Tests.package/SmartFinderTest.class/instance/testChangeFilterTryFindTestFinder.st +++ /dev/null @@ -1,7 +0,0 @@ -initialization -testChangeFilterTryFindTestFinder - smartFinder smtFinder. - smartFinder shouldTryToFindTestForDynamic: true. - self assert: smartFinder smtFinder shouldTryToFindTestForDynamic. - smartFinder shouldTryToFindTestForDynamic: false. - self deny: smartFinder smtFinder shouldTryToFindTestForDynamic \ No newline at end of file diff --git a/SmartTest-Tests.package/SmartFinderTest.class/instance/testChangeFinderTestingStrategy.st b/SmartTest-Tests.package/SmartFinderTest.class/instance/testChangeFinderTestingStrategy.st deleted file mode 100644 index c6d0063..0000000 --- a/SmartTest-Tests.package/SmartFinderTest.class/instance/testChangeFinderTestingStrategy.st +++ /dev/null @@ -1,7 +0,0 @@ -initialization -testChangeFinderTestingStrategy - | finderTmp | - smartFinder testingStrategy. - finderTmp := SmTSenderTestFinderStrategy new. - smartFinder smtFinder: finderTmp. - self assert: smartFinder testingStrategy finder equals: finderTmp \ No newline at end of file diff --git a/SmartTest-Tests.package/SmartFinderTest.class/instance/testChangeRunnerTestingStrategy.st b/SmartTest-Tests.package/SmartFinderTest.class/instance/testChangeRunnerTestingStrategy.st deleted file mode 100644 index a9aa534..0000000 --- a/SmartTest-Tests.package/SmartFinderTest.class/instance/testChangeRunnerTestingStrategy.st +++ /dev/null @@ -1,7 +0,0 @@ -initialization -testChangeRunnerTestingStrategy - smartFinder testingStrategy. - smartFinder testRunner: SmTRunnerStrategyDebug. - self assert: smartFinder testingStrategy runner equals: SmTRunnerStrategyDebug. - smartFinder testRunner: SmTRunnerStrategyNotice. - self assert: smartFinder testingStrategy runner equals: SmTRunnerStrategyNotice \ No newline at end of file diff --git a/SmartTest-Tests.package/SmartFinderTest.class/instance/testResetCache.st b/SmartTest-Tests.package/SmartFinderTest.class/instance/testResetCache.st deleted file mode 100644 index 999d641..0000000 --- a/SmartTest-Tests.package/SmartFinderTest.class/instance/testResetCache.st +++ /dev/null @@ -1,7 +0,0 @@ -tests-api -testResetCache - self assert: smartFinder currentCache isEmpty . - smartFinder setCacheValues: self initCache. - self assert: smartFinder currentCache isNotEmpty . - smartFinder resetCache. - self assert: smartFinder currentCache isEmpty \ No newline at end of file diff --git a/SmartTest-Tests.package/SmartFinderTest.class/instance/testTwoSmartFinderhaveTwoDifferentCache.st b/SmartTest-Tests.package/SmartFinderTest.class/instance/testTwoSmartFinderhaveTwoDifferentCache.st deleted file mode 100644 index 1e36332..0000000 --- a/SmartTest-Tests.package/SmartFinderTest.class/instance/testTwoSmartFinderhaveTwoDifferentCache.st +++ /dev/null @@ -1,5 +0,0 @@ -initialization -testTwoSmartFinderhaveTwoDifferentCache - | smartFinder2 | - smartFinder2 := SmartFinder new. - self deny: smartFinder currentCache == smartFinder2 currentCache \ No newline at end of file diff --git a/SmartTest-Tests.package/SmartFinderTest.class/properties.json b/SmartTest-Tests.package/SmartFinderTest.class/properties.json deleted file mode 100644 index 1d906dd..0000000 --- a/SmartTest-Tests.package/SmartFinderTest.class/properties.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "commentStamp" : "", - "super" : "TestCase", - "category" : "SmartTest-Tests-Finder", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "smartFinder" - ], - "name" : "SmartFinderTest", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest-Tests.package/monticello.meta/categories.st b/SmartTest-Tests.package/monticello.meta/categories.st deleted file mode 100644 index ad91c77..0000000 --- a/SmartTest-Tests.package/monticello.meta/categories.st +++ /dev/null @@ -1,8 +0,0 @@ -SystemOrganization addCategory: #'SmartTest-Tests'! -SystemOrganization addCategory: #'SmartTest-Tests-Cache'! -SystemOrganization addCategory: #'SmartTest-Tests-CacheBuilder'! -SystemOrganization addCategory: #'SmartTest-Tests-Filter'! -SystemOrganization addCategory: #'SmartTest-Tests-Finder'! -SystemOrganization addCategory: #'SmartTest-Tests-OnModification'! -SystemOrganization addCategory: #'SmartTest-Tests-Runner'! -SystemOrganization addCategory: #'SmartTest-Tests-Settings'! diff --git a/SmartTest-Tests.package/monticello.meta/initializers.st b/SmartTest-Tests.package/monticello.meta/initializers.st deleted file mode 100644 index e69de29..0000000 diff --git a/SmartTest-Tests.package/monticello.meta/package b/SmartTest-Tests.package/monticello.meta/package deleted file mode 100644 index 9e2d096..0000000 --- a/SmartTest-Tests.package/monticello.meta/package +++ /dev/null @@ -1 +0,0 @@ -(name 'SmartTest-Tests') \ No newline at end of file diff --git a/SmartTest-Tests.package/properties.json b/SmartTest-Tests.package/properties.json deleted file mode 100644 index 6f31cf5..0000000 --- a/SmartTest-Tests.package/properties.json +++ /dev/null @@ -1 +0,0 @@ -{ } \ No newline at end of file diff --git a/SmartTest-UI.package/.filetree b/SmartTest-UI.package/.filetree deleted file mode 100644 index 57a6797..0000000 --- a/SmartTest-UI.package/.filetree +++ /dev/null @@ -1,5 +0,0 @@ -{ - "separateMethodMetaAndSource" : false, - "noMethodMetaData" : true, - "useCypressPropertiesFile" : true -} \ No newline at end of file diff --git a/SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/README.md b/SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/README.md deleted file mode 100644 index 3e3cd2e..0000000 --- a/SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/README.md +++ /dev/null @@ -1 +0,0 @@ -I represent the button that open details of tests you should run from SmartTest (for a class) \ No newline at end of file diff --git a/SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/class/canBeExecutedInContext..st b/SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/class/canBeExecutedInContext..st deleted file mode 100644 index e6151ba..0000000 --- a/SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/class/canBeExecutedInContext..st +++ /dev/null @@ -1,3 +0,0 @@ -testing -canBeExecutedInContext: aCriticContext - ^ SmTRelativeTestsCritique subclasses includes: aCriticContext selectedCritique class \ No newline at end of file diff --git a/SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/instance/decorateTableCell.using..st b/SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/instance/decorateTableCell.using..st deleted file mode 100644 index 10463cf..0000000 --- a/SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/instance/decorateTableCell.using..st +++ /dev/null @@ -1,10 +0,0 @@ -execution -decorateTableCell: anItemCellMorph using: aCommandActivator - anItemCellMorph - addExtraTool: - (IconicButton new - labelGraphic: (Smalltalk iconNamed: #smallWindow); - color: Color transparent; - borderColor: Color transparent; - target: self; - actionSelector: #execute) \ No newline at end of file diff --git a/SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/instance/description.st b/SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/instance/description.st deleted file mode 100644 index d639199..0000000 --- a/SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/instance/description.st +++ /dev/null @@ -1,3 +0,0 @@ -table decoration -description - ^'Open Tests Selection' \ No newline at end of file diff --git a/SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/instance/execute.st b/SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/instance/execute.st deleted file mode 100644 index d484d30..0000000 --- a/SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/instance/execute.st +++ /dev/null @@ -1,3 +0,0 @@ -execution -execute - critique openTestsWindowWith: critique tests \ No newline at end of file diff --git a/SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/properties.json b/SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/properties.json deleted file mode 100644 index a2f79b3..0000000 --- a/SmartTest-UI.package/ClyOpenClassRelatedTestsCommand.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 4/26/2018 09:35", - "super" : "ClyCritiqueCommand", - "category" : "SmartTest-UI-CalypsoExtension", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "ClyOpenClassRelatedTestsCommand", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/README.md b/SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/README.md deleted file mode 100644 index 82da07e..0000000 --- a/SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/README.md +++ /dev/null @@ -1 +0,0 @@ -I represent the button that run the tests that SmartTest's found about a class \ No newline at end of file diff --git a/SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/instance/canBeExecutedInContext..st b/SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/instance/canBeExecutedInContext..st deleted file mode 100644 index 2b0126d..0000000 --- a/SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/instance/canBeExecutedInContext..st +++ /dev/null @@ -1,4 +0,0 @@ -execution -canBeExecutedInContext: aCriticContext - - ^ (self canBeExecutedInDropContext: aCriticContext) and: [ SmTRelativeTestsCritique subclasses includes: aCriticContext class ] \ No newline at end of file diff --git a/SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/instance/decorateTableCell.using..st b/SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/instance/decorateTableCell.using..st deleted file mode 100644 index ee0bd16..0000000 --- a/SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/instance/decorateTableCell.using..st +++ /dev/null @@ -1,8 +0,0 @@ -table decoration -decorateTableCell: anItemCellMorph using: aCommandActivator - - | button | - (self canBeExecutedInContext: critique) ifFalse: [ ^ self ]. - button := SmTIconFabric createIconForMethods: critique tests. - - self decorateTableCell: anItemCellMorph with: button \ No newline at end of file diff --git a/SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/instance/description.st b/SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/instance/description.st deleted file mode 100644 index 6eb7a29..0000000 --- a/SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/instance/description.st +++ /dev/null @@ -1,3 +0,0 @@ -table decoration -description - ^'Run tests' \ No newline at end of file diff --git a/SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/instance/execute.st b/SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/instance/execute.st deleted file mode 100644 index 13f1dfa..0000000 --- a/SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/instance/execute.st +++ /dev/null @@ -1,2 +0,0 @@ -execution -execute \ No newline at end of file diff --git a/SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/properties.json b/SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/properties.json deleted file mode 100644 index 9a2f2ac..0000000 --- a/SmartTest-UI.package/ClyRunClassRelatedTestsCommand.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 4/26/2018 09:36", - "super" : "ClyCritiqueCommand", - "category" : "SmartTest-UI-CalypsoExtension", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "ClyRunClassRelatedTestsCommand", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest-UI.package/SmTAutoTestsWindows.class/README.md b/SmartTest-UI.package/SmTAutoTestsWindows.class/README.md deleted file mode 100644 index ffda2bb..0000000 --- a/SmartTest-UI.package/SmTAutoTestsWindows.class/README.md +++ /dev/null @@ -1 +0,0 @@ -The windows where we can select test \ No newline at end of file diff --git a/SmartTest-UI.package/SmTAutoTestsWindows.class/class/defaultSpec.st b/SmartTest-UI.package/SmTAutoTestsWindows.class/class/defaultSpec.st deleted file mode 100644 index 0ab6a3d..0000000 --- a/SmartTest-UI.package/SmTAutoTestsWindows.class/class/defaultSpec.st +++ /dev/null @@ -1,6 +0,0 @@ -specs -defaultSpec - ^ SpecLayout composed - newRow: [ :row | row add: #testList] top: 0 bottom: 0.2 ; - newRow: [ :row | row add: #button] top: 0.8 bottom: 0; - yourself \ No newline at end of file diff --git a/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/button.st b/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/button.st deleted file mode 100644 index cd4a51c..0000000 --- a/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/button.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -button - ^button - \ No newline at end of file diff --git a/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/extent.st b/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/extent.st deleted file mode 100644 index 2c67358..0000000 --- a/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/extent.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -extent - ^ 400 @ 200 \ No newline at end of file diff --git a/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/icons.st b/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/icons.st deleted file mode 100644 index 1a13cd5..0000000 --- a/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/icons.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -icons - ^icons ifNil: [ icons := OrderedCollection new ] - \ No newline at end of file diff --git a/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/initializePresenter.st b/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/initializePresenter.st deleted file mode 100644 index 0276c1f..0000000 --- a/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/initializePresenter.st +++ /dev/null @@ -1,7 +0,0 @@ -initialization -initializePresenter - "Currently useless" - - button - action: - [ testList listItems withIndexDo: [ :el :id | (self icons at: id) doButtonAction ] ] \ No newline at end of file diff --git a/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/initializeWidgets.st b/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/initializeWidgets.st deleted file mode 100644 index 3ae5210..0000000 --- a/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/initializeWidgets.st +++ /dev/null @@ -1,7 +0,0 @@ -initialization -initializeWidgets - testList := IconListModel new. - button := self newButton. - button label: 'Run all test'. - self focusOrder add: testList. - diff --git a/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/setList..st b/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/setList..st deleted file mode 100644 index 47c0d44..0000000 --- a/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/setList..st +++ /dev/null @@ -1,8 +0,0 @@ -accessing -setList: aTestList - ^ testList - items: aTestList; - icons: [ :testMethod | - | ib | - ib := SmTIconFabric createIconForMethod: testMethod. - self icons add: ib ] \ No newline at end of file diff --git a/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/testList.st b/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/testList.st deleted file mode 100644 index d44b749..0000000 --- a/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/testList.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -testList - ^testList - \ No newline at end of file diff --git a/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/title.st b/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/title.st deleted file mode 100644 index f7aa3c8..0000000 --- a/SmartTest-UI.package/SmTAutoTestsWindows.class/instance/title.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -title - ^ 'AutoTest Selection'. \ No newline at end of file diff --git a/SmartTest-UI.package/SmTAutoTestsWindows.class/properties.json b/SmartTest-UI.package/SmTAutoTestsWindows.class/properties.json deleted file mode 100644 index 55798db..0000000 --- a/SmartTest-UI.package/SmTAutoTestsWindows.class/properties.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "commentStamp" : "BenoitVerhaeghe 6/28/2017 09:32", - "super" : "ComposableModel", - "category" : "SmartTest-UI-Morph", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "testList", - "button", - "icons" - ], - "name" : "SmTAutoTestsWindows", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest-UI.package/SmTBigButtonCollector.class/README.md b/SmartTest-UI.package/SmTBigButtonCollector.class/README.md deleted file mode 100644 index 27e144b..0000000 --- a/SmartTest-UI.package/SmTBigButtonCollector.class/README.md +++ /dev/null @@ -1 +0,0 @@ -The collector used by the Listener to save all the relative test method \ No newline at end of file diff --git a/SmartTest-UI.package/SmTBigButtonCollector.class/class/activated..st b/SmartTest-UI.package/SmTBigButtonCollector.class/class/activated..st deleted file mode 100644 index 0a97ea8..0000000 --- a/SmartTest-UI.package/SmTBigButtonCollector.class/class/activated..st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -activated: aSelector - activated := aSelector. - bigButton activated: aSelector \ No newline at end of file diff --git a/SmartTest-UI.package/SmTBigButtonCollector.class/class/activated.st b/SmartTest-UI.package/SmTBigButtonCollector.class/class/activated.st deleted file mode 100644 index 14a1239..0000000 --- a/SmartTest-UI.package/SmTBigButtonCollector.class/class/activated.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -activated - ^ activated ifNil: [ activated := false ] \ No newline at end of file diff --git a/SmartTest-UI.package/SmTBigButtonCollector.class/class/bigButton.st b/SmartTest-UI.package/SmTBigButtonCollector.class/class/bigButton.st deleted file mode 100644 index 1073d44..0000000 --- a/SmartTest-UI.package/SmTBigButtonCollector.class/class/bigButton.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -bigButton - ^ bigButton \ No newline at end of file diff --git a/SmartTest-UI.package/SmTBigButtonCollector.class/class/initialize.st b/SmartTest-UI.package/SmTBigButtonCollector.class/class/initialize.st deleted file mode 100644 index c46aa53..0000000 --- a/SmartTest-UI.package/SmTBigButtonCollector.class/class/initialize.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -initialize - bigButton := self new \ No newline at end of file diff --git a/SmartTest-UI.package/SmTBigButtonCollector.class/class/reset.st b/SmartTest-UI.package/SmTBigButtonCollector.class/class/reset.st deleted file mode 100644 index 78115e3..0000000 --- a/SmartTest-UI.package/SmTBigButtonCollector.class/class/reset.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -reset - self bigButton collector: nil \ No newline at end of file diff --git a/SmartTest-UI.package/SmTBigButtonCollector.class/class/settingsOn..st b/SmartTest-UI.package/SmTBigButtonCollector.class/class/settingsOn..st deleted file mode 100644 index 56bcaff..0000000 --- a/SmartTest-UI.package/SmTBigButtonCollector.class/class/settingsOn..st +++ /dev/null @@ -1,23 +0,0 @@ -accessing -settingsOn: aBuilder - - (aBuilder setting: #activated) - parent: 'SmartTest'; - target: self; - order: 0.01; - label: 'SmartTest Collect Button'; - description: 'Toogle to activate/disable the Big Button'. - (aBuilder group: #reset) - label: 'Big Button Reset Cache'; - target: self; - parent: #SmartTest; - order: 8; - dialog: [ SimpleButtonMorph new - target: self; - label: 'Reset Collect Button Cache'; - actionSelector: #reset; - themeChanged; - yourself ]; - description: - 'Reset the cache of SmartTest - SmTTestFinderStrategy methodToTest' \ No newline at end of file diff --git a/SmartTest-UI.package/SmTBigButtonCollector.class/class/unload.st b/SmartTest-UI.package/SmTBigButtonCollector.class/class/unload.st deleted file mode 100644 index 01ad23e..0000000 --- a/SmartTest-UI.package/SmTBigButtonCollector.class/class/unload.st +++ /dev/null @@ -1,3 +0,0 @@ -initialize - release -unload - self activated: false \ No newline at end of file diff --git a/SmartTest-UI.package/SmTBigButtonCollector.class/instance/activated..st b/SmartTest-UI.package/SmTBigButtonCollector.class/instance/activated..st deleted file mode 100644 index 9c4a8e3..0000000 --- a/SmartTest-UI.package/SmTBigButtonCollector.class/instance/activated..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -activated: aSelector - aSelector ifTrue: [ self enable ] ifFalse: [ self disable ]. \ No newline at end of file diff --git a/SmartTest-UI.package/SmTBigButtonCollector.class/instance/changeColorFromTestResult..st b/SmartTest-UI.package/SmTBigButtonCollector.class/instance/changeColorFromTestResult..st deleted file mode 100644 index 46b47cd..0000000 --- a/SmartTest-UI.package/SmTBigButtonCollector.class/instance/changeColorFromTestResult..st +++ /dev/null @@ -1,9 +0,0 @@ -accessing -changeColorFromTestResult: aTestResult - morph buttonMorph color: Color gray. - aTestResult passedCount > 0 - ifTrue: [ morph buttonMorph color: Color green ]. - aTestResult hasFailures - ifTrue: [ morph buttonMorph color: Color yellow ]. - aTestResult hasErrors - ifTrue: [ morph buttonMorph color: Color red ]. \ No newline at end of file diff --git a/SmartTest-UI.package/SmTBigButtonCollector.class/instance/collector..st b/SmartTest-UI.package/SmTBigButtonCollector.class/instance/collector..st deleted file mode 100644 index 8df7136..0000000 --- a/SmartTest-UI.package/SmTBigButtonCollector.class/instance/collector..st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -collector: anObject - - collector := anObject \ No newline at end of file diff --git a/SmartTest-UI.package/SmTBigButtonCollector.class/instance/collector.st b/SmartTest-UI.package/SmTBigButtonCollector.class/instance/collector.st deleted file mode 100644 index 230160c..0000000 --- a/SmartTest-UI.package/SmTBigButtonCollector.class/instance/collector.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -collector - ^ collector ifNil: [ collector := Set new ] \ No newline at end of file diff --git a/SmartTest-UI.package/SmTBigButtonCollector.class/instance/disable.st b/SmartTest-UI.package/SmTBigButtonCollector.class/instance/disable.st deleted file mode 100644 index 9b10bae..0000000 --- a/SmartTest-UI.package/SmTBigButtonCollector.class/instance/disable.st +++ /dev/null @@ -1,5 +0,0 @@ -accessing -disable - "Do not receiver any system change notification anymore" - morph window isClosed ifFalse: [ morph window close] . - SystemAnnouncer uniqueInstance unsubscribe: self \ No newline at end of file diff --git a/SmartTest-UI.package/SmTBigButtonCollector.class/instance/enable.st b/SmartTest-UI.package/SmTBigButtonCollector.class/instance/enable.st deleted file mode 100644 index a510777..0000000 --- a/SmartTest-UI.package/SmTBigButtonCollector.class/instance/enable.st +++ /dev/null @@ -1,5 +0,0 @@ -accessing -enable - morph openWithSpec. - SystemAnnouncer uniqueInstance unsubscribe: self. - {(MethodModified -> #methodModified:)} do: [ :pair | SystemAnnouncer uniqueInstance weak when: pair key send: pair value to: self ]. diff --git a/SmartTest-UI.package/SmTBigButtonCollector.class/instance/initialize.st b/SmartTest-UI.package/SmTBigButtonCollector.class/instance/initialize.st deleted file mode 100644 index ff13486..0000000 --- a/SmartTest-UI.package/SmTBigButtonCollector.class/instance/initialize.st +++ /dev/null @@ -1,5 +0,0 @@ -accessing -initialize - collector := Set new. - morph := SmTButtonResultWindow new. - morph controler: self. \ No newline at end of file diff --git a/SmartTest-UI.package/SmTBigButtonCollector.class/instance/methodModified..st b/SmartTest-UI.package/SmTBigButtonCollector.class/instance/methodModified..st deleted file mode 100644 index a05c3e5..0000000 --- a/SmartTest-UI.package/SmTBigButtonCollector.class/instance/methodModified..st +++ /dev/null @@ -1,8 +0,0 @@ -accessing -methodModified: anAnnouncement - - [| listOfTest | - listOfTest := SmTRules testFinder researchTestsForMethod: anAnnouncement newMethod. - self collector - addAll: listOfTest. - self updateUIAfterAddingMethod: listOfTest.] forkAt: 20 named: 'BigButton' \ No newline at end of file diff --git a/SmartTest-UI.package/SmTBigButtonCollector.class/instance/notify.st b/SmartTest-UI.package/SmTBigButtonCollector.class/instance/notify.st deleted file mode 100644 index 711f318..0000000 --- a/SmartTest-UI.package/SmTBigButtonCollector.class/instance/notify.st +++ /dev/null @@ -1,17 +0,0 @@ -accessing -notify - | aTestResult | - aTestResult := SmTRules runner - runCases: - (self collector - collect: - [ :aMethodReference | aMethodReference methodClass selector: aMethodReference selector ]). - self - collector: - (self collector - reject: [ :a | - ((TestResult historyAt: a methodClass) at: #passed) - includes: a selector ]). - self updateNumberOfTheProgressCircle. - self changeColorFromTestResult: aTestResult. - morph fillFailedTestListFromTestResult: aTestResult \ No newline at end of file diff --git a/SmartTest-UI.package/SmTBigButtonCollector.class/instance/updateList..st b/SmartTest-UI.package/SmTBigButtonCollector.class/instance/updateList..st deleted file mode 100644 index d8a8411..0000000 --- a/SmartTest-UI.package/SmTBigButtonCollector.class/instance/updateList..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -updateList: listOfTest - morph addToListTestsMethods: listOfTest \ No newline at end of file diff --git a/SmartTest-UI.package/SmTBigButtonCollector.class/instance/updateNumberOfTheProgressCircle.st b/SmartTest-UI.package/SmTBigButtonCollector.class/instance/updateNumberOfTheProgressCircle.st deleted file mode 100644 index de0ab01..0000000 --- a/SmartTest-UI.package/SmTBigButtonCollector.class/instance/updateNumberOfTheProgressCircle.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -updateNumberOfTheProgressCircle - morph buttonText acceptValue: self collector size asTwoCharacterString. - morph buttonMorph color: Color gray. \ No newline at end of file diff --git a/SmartTest-UI.package/SmTBigButtonCollector.class/instance/updateUIAfterAddingMethod..st b/SmartTest-UI.package/SmTBigButtonCollector.class/instance/updateUIAfterAddingMethod..st deleted file mode 100644 index 5837a0c..0000000 --- a/SmartTest-UI.package/SmTBigButtonCollector.class/instance/updateUIAfterAddingMethod..st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -updateUIAfterAddingMethod: listOfTest - self updateNumberOfTheProgressCircle. - self updateList: listOfTest \ No newline at end of file diff --git a/SmartTest-UI.package/SmTBigButtonCollector.class/properties.json b/SmartTest-UI.package/SmTBigButtonCollector.class/properties.json deleted file mode 100644 index fa85a3a..0000000 --- a/SmartTest-UI.package/SmTBigButtonCollector.class/properties.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "commentStamp" : "BenoitVerhaeghe 8/11/2017 08:48", - "super" : "SmTCollector", - "category" : "SmartTest-UI-Collector", - "classinstvars" : [ - "activated", - "bigButton" - ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "morph", - "collector" - ], - "name" : "SmTBigButtonCollector", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest-UI.package/SmTButtonResultWindow.class/README.md b/SmartTest-UI.package/SmTButtonResultWindow.class/README.md deleted file mode 100644 index f5dcc2a..0000000 --- a/SmartTest-UI.package/SmTButtonResultWindow.class/README.md +++ /dev/null @@ -1 +0,0 @@ -I show all the results in a window. \ No newline at end of file diff --git a/SmartTest-UI.package/SmTButtonResultWindow.class/class/defaultSpec.st b/SmartTest-UI.package/SmTButtonResultWindow.class/class/defaultSpec.st deleted file mode 100644 index b16d0dc..0000000 --- a/SmartTest-UI.package/SmTButtonResultWindow.class/class/defaultSpec.st +++ /dev/null @@ -1,6 +0,0 @@ -specs -defaultSpec - ^ SpecLayout composed - newColumn: [ :row | row add: #button ] left: 0 right: 0.6; - newColumn: [ :row | row add: #testList ] left: 0.4 right: 1; - yourself \ No newline at end of file diff --git a/SmartTest-UI.package/SmTButtonResultWindow.class/instance/addToListTestsMethods..st b/SmartTest-UI.package/SmTButtonResultWindow.class/instance/addToListTestsMethods..st deleted file mode 100644 index 607e58c..0000000 --- a/SmartTest-UI.package/SmTButtonResultWindow.class/instance/addToListTestsMethods..st +++ /dev/null @@ -1,7 +0,0 @@ -accessing -addToListTestsMethods: newTestMethod - | list | - list := testList listItems asOrderedCollection. - list := (list collect: [ :a | (a class lookupSelector: a selector) methodReference ]) asSet. - list addAll: newTestMethod. - self setList: ((list collect: [:methodReference | methodReference methodClass selector: methodReference selector]) asOrderedCollection sort: [ :a :b | a asString < b asString ] ) \ No newline at end of file diff --git a/SmartTest-UI.package/SmTButtonResultWindow.class/instance/button..st b/SmartTest-UI.package/SmTButtonResultWindow.class/instance/button..st deleted file mode 100644 index f917aa1..0000000 --- a/SmartTest-UI.package/SmTButtonResultWindow.class/instance/button..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -button: anObject - button := anObject \ No newline at end of file diff --git a/SmartTest-UI.package/SmTButtonResultWindow.class/instance/button.st b/SmartTest-UI.package/SmTButtonResultWindow.class/instance/button.st deleted file mode 100644 index d11dd9b..0000000 --- a/SmartTest-UI.package/SmTButtonResultWindow.class/instance/button.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -button - ^ button \ No newline at end of file diff --git a/SmartTest-UI.package/SmTButtonResultWindow.class/instance/buttonMorph.st b/SmartTest-UI.package/SmTButtonResultWindow.class/instance/buttonMorph.st deleted file mode 100644 index 08443b9..0000000 --- a/SmartTest-UI.package/SmTButtonResultWindow.class/instance/buttonMorph.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -buttonMorph - ^ button morph \ No newline at end of file diff --git a/SmartTest-UI.package/SmTButtonResultWindow.class/instance/buttonText..st b/SmartTest-UI.package/SmTButtonResultWindow.class/instance/buttonText..st deleted file mode 100644 index 96b2d79..0000000 --- a/SmartTest-UI.package/SmTButtonResultWindow.class/instance/buttonText..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -buttonText: anObject - buttonText := anObject \ No newline at end of file diff --git a/SmartTest-UI.package/SmTButtonResultWindow.class/instance/buttonText.st b/SmartTest-UI.package/SmTButtonResultWindow.class/instance/buttonText.st deleted file mode 100644 index 0bcf5c7..0000000 --- a/SmartTest-UI.package/SmTButtonResultWindow.class/instance/buttonText.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -buttonText - ^ buttonText \ No newline at end of file diff --git a/SmartTest-UI.package/SmTButtonResultWindow.class/instance/controler..st b/SmartTest-UI.package/SmTButtonResultWindow.class/instance/controler..st deleted file mode 100644 index 9d82fe1..0000000 --- a/SmartTest-UI.package/SmTButtonResultWindow.class/instance/controler..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -controler: anObject - self button morph controler: anObject \ No newline at end of file diff --git a/SmartTest-UI.package/SmTButtonResultWindow.class/instance/controler.st b/SmartTest-UI.package/SmTButtonResultWindow.class/instance/controler.st deleted file mode 100644 index d61b5dc..0000000 --- a/SmartTest-UI.package/SmTButtonResultWindow.class/instance/controler.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -controler - ^controler \ No newline at end of file diff --git a/SmartTest-UI.package/SmTButtonResultWindow.class/instance/extent.st b/SmartTest-UI.package/SmTButtonResultWindow.class/instance/extent.st deleted file mode 100644 index 90cd0d1..0000000 --- a/SmartTest-UI.package/SmTButtonResultWindow.class/instance/extent.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -extent - ^ 600 @ 300 \ No newline at end of file diff --git a/SmartTest-UI.package/SmTButtonResultWindow.class/instance/fillFailedTestListFromTestResult..st b/SmartTest-UI.package/SmTButtonResultWindow.class/instance/fillFailedTestListFromTestResult..st deleted file mode 100644 index 0c6237f..0000000 --- a/SmartTest-UI.package/SmTButtonResultWindow.class/instance/fillFailedTestListFromTestResult..st +++ /dev/null @@ -1,16 +0,0 @@ -accessing -fillFailedTestListFromTestResult: aTestResult - - | list list2 | - list := testList listItems asOrderedCollection. - list := list - reject: [ :a | ((TestResult historyAt: a class) at: #passed) includes: a selector ]. - list addAll: aTestResult errors. - list addAll: aTestResult failures. - list := (list collect: [ :a | (a class lookupSelector: a selector) methodReference ]) - asSet. - self - setList: - ((list - collect: [ :methodReference | methodReference methodClass selector: methodReference selector ]) - asOrderedCollection sort: [ :a :b | a asString < b asString ]) \ No newline at end of file diff --git a/SmartTest-UI.package/SmTButtonResultWindow.class/instance/icons..st b/SmartTest-UI.package/SmTButtonResultWindow.class/instance/icons..st deleted file mode 100644 index b35d0d7..0000000 --- a/SmartTest-UI.package/SmTButtonResultWindow.class/instance/icons..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -icons: anObject - icons := anObject \ No newline at end of file diff --git a/SmartTest-UI.package/SmTButtonResultWindow.class/instance/icons.st b/SmartTest-UI.package/SmTButtonResultWindow.class/instance/icons.st deleted file mode 100644 index 513b4d0..0000000 --- a/SmartTest-UI.package/SmTButtonResultWindow.class/instance/icons.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -icons - ^icons ifNil: [ icons := OrderedCollection new ] - \ No newline at end of file diff --git a/SmartTest-UI.package/SmTButtonResultWindow.class/instance/initializeWidgets.st b/SmartTest-UI.package/SmTButtonResultWindow.class/instance/initializeWidgets.st deleted file mode 100644 index b47da3c..0000000 --- a/SmartTest-UI.package/SmTButtonResultWindow.class/instance/initializeWidgets.st +++ /dev/null @@ -1,19 +0,0 @@ -accessing -initializeWidgets - testList := IconListModel new. - button := (SmTProgressCircle new - controler: self; - percentage: 100; - extent: 400@200; - color: Color gray) asSpecAdapter. - - buttonText := ('00' asStringMorph - font: (LogicalFont familyName: 'Source Sans Pro' pointSize: 50) emphasis: 2; - position: 60@60; - color: Color white; - yourself). - - self buttonMorph addMorphFront: buttonText. - - - self focusOrder add: testList. \ No newline at end of file diff --git a/SmartTest-UI.package/SmTButtonResultWindow.class/instance/setList..st b/SmartTest-UI.package/SmTButtonResultWindow.class/instance/setList..st deleted file mode 100644 index 4684852..0000000 --- a/SmartTest-UI.package/SmTButtonResultWindow.class/instance/setList..st +++ /dev/null @@ -1,8 +0,0 @@ -initialization -setList: aTestList - ^ testList - items: aTestList; - icons: [ :testMethod | - | ib | - ib := SmTIconFabric createIconForMethod: testMethod. - self icons add: ib ] \ No newline at end of file diff --git a/SmartTest-UI.package/SmTButtonResultWindow.class/instance/testList..st b/SmartTest-UI.package/SmTButtonResultWindow.class/instance/testList..st deleted file mode 100644 index ff6ed96..0000000 --- a/SmartTest-UI.package/SmTButtonResultWindow.class/instance/testList..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -testList: anObject - testList := anObject \ No newline at end of file diff --git a/SmartTest-UI.package/SmTButtonResultWindow.class/instance/testList.st b/SmartTest-UI.package/SmTButtonResultWindow.class/instance/testList.st deleted file mode 100644 index 62b6a13..0000000 --- a/SmartTest-UI.package/SmTButtonResultWindow.class/instance/testList.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -testList - ^ testList \ No newline at end of file diff --git a/SmartTest-UI.package/SmTButtonResultWindow.class/instance/title.st b/SmartTest-UI.package/SmTButtonResultWindow.class/instance/title.st deleted file mode 100644 index b4888f0..0000000 --- a/SmartTest-UI.package/SmTButtonResultWindow.class/instance/title.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -title - ^ 'Tests Results'. \ No newline at end of file diff --git a/SmartTest-UI.package/SmTButtonResultWindow.class/properties.json b/SmartTest-UI.package/SmTButtonResultWindow.class/properties.json deleted file mode 100644 index 5ce53c0..0000000 --- a/SmartTest-UI.package/SmTButtonResultWindow.class/properties.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/2/2018 10:22", - "super" : "ComposablePresenter", - "category" : "SmartTest-UI-Morph", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "testList", - "button", - "icons", - "controler", - "buttonText" - ], - "name" : "SmTButtonResultWindow", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest-UI.package/SmTCollector.class/README.md b/SmartTest-UI.package/SmTCollector.class/README.md deleted file mode 100644 index e7a3ce5..0000000 --- a/SmartTest-UI.package/SmTCollector.class/README.md +++ /dev/null @@ -1 +0,0 @@ -This collector exists to describe all the ways the tests can be collected. \ No newline at end of file diff --git a/SmartTest-UI.package/SmTCollector.class/instance/addTestMethod..st b/SmartTest-UI.package/SmTCollector.class/instance/addTestMethod..st deleted file mode 100644 index 6a43f38..0000000 --- a/SmartTest-UI.package/SmTCollector.class/instance/addTestMethod..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -addTestMethod: aTestMethod - self collector add: aTestMethod \ No newline at end of file diff --git a/SmartTest-UI.package/SmTCollector.class/instance/addTestMethods..st b/SmartTest-UI.package/SmTCollector.class/instance/addTestMethods..st deleted file mode 100644 index 2a688e0..0000000 --- a/SmartTest-UI.package/SmTCollector.class/instance/addTestMethods..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -addTestMethods: aCollectionOfTestsMethod - self collector addAll: aCollectionOfTestsMethod \ No newline at end of file diff --git a/SmartTest-UI.package/SmTCollector.class/instance/collector.st b/SmartTest-UI.package/SmTCollector.class/instance/collector.st deleted file mode 100644 index c8efb37..0000000 --- a/SmartTest-UI.package/SmTCollector.class/instance/collector.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -collector - self subclassResponsibility \ No newline at end of file diff --git a/SmartTest-UI.package/SmTCollector.class/instance/flush.st b/SmartTest-UI.package/SmTCollector.class/instance/flush.st deleted file mode 100644 index f82172f..0000000 --- a/SmartTest-UI.package/SmTCollector.class/instance/flush.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -flush - self collector removeAll \ No newline at end of file diff --git a/SmartTest-UI.package/SmTCollector.class/properties.json b/SmartTest-UI.package/SmTCollector.class/properties.json deleted file mode 100644 index 272622f..0000000 --- a/SmartTest-UI.package/SmTCollector.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/3/2018 17:39", - "super" : "Object", - "category" : "SmartTest-UI-Collector", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTCollector", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest-UI.package/SmTFivesMinutesCollector.class/README.md b/SmartTest-UI.package/SmTFivesMinutesCollector.class/README.md deleted file mode 100644 index 7df7474..0000000 --- a/SmartTest-UI.package/SmTFivesMinutesCollector.class/README.md +++ /dev/null @@ -1 +0,0 @@ -I collect all the tests and run it each 5 minutes \ No newline at end of file diff --git a/SmartTest-UI.package/SmTFivesMinutesCollector.class/class/addTestMethod..st b/SmartTest-UI.package/SmTFivesMinutesCollector.class/class/addTestMethod..st deleted file mode 100644 index 4f71515..0000000 --- a/SmartTest-UI.package/SmTFivesMinutesCollector.class/class/addTestMethod..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -addTestMethod: aTestMethod - self uniqueInstance addTestMethod: aTestMethod \ No newline at end of file diff --git a/SmartTest-UI.package/SmTFivesMinutesCollector.class/class/addTestMethods..st b/SmartTest-UI.package/SmTFivesMinutesCollector.class/class/addTestMethods..st deleted file mode 100644 index b979690..0000000 --- a/SmartTest-UI.package/SmTFivesMinutesCollector.class/class/addTestMethods..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -addTestMethods: aCollectionOfTestMethods - self uniqueInstance addTestMethods: aCollectionOfTestMethods \ No newline at end of file diff --git a/SmartTest-UI.package/SmTFivesMinutesCollector.class/class/start.st b/SmartTest-UI.package/SmTFivesMinutesCollector.class/class/start.st deleted file mode 100644 index 82e2d48..0000000 --- a/SmartTest-UI.package/SmTFivesMinutesCollector.class/class/start.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -start - self uniqueInstance start \ No newline at end of file diff --git a/SmartTest-UI.package/SmTFivesMinutesCollector.class/class/stop.st b/SmartTest-UI.package/SmTFivesMinutesCollector.class/class/stop.st deleted file mode 100644 index ea00ab6..0000000 --- a/SmartTest-UI.package/SmTFivesMinutesCollector.class/class/stop.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -stop - self uniqueInstance stop \ No newline at end of file diff --git a/SmartTest-UI.package/SmTFivesMinutesCollector.class/class/uniqueInstance.st b/SmartTest-UI.package/SmTFivesMinutesCollector.class/class/uniqueInstance.st deleted file mode 100644 index e866592..0000000 --- a/SmartTest-UI.package/SmTFivesMinutesCollector.class/class/uniqueInstance.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -uniqueInstance - ^UniqueInstance ifNil: [ UniqueInstance := self new] \ No newline at end of file diff --git a/SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/collector.st b/SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/collector.st deleted file mode 100644 index 9a0d70b..0000000 --- a/SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/collector.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -collector - ^Collector ifNil: [ Collector := Set new. ] \ No newline at end of file diff --git a/SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/process.st b/SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/process.st deleted file mode 100644 index 3d5387b..0000000 --- a/SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/process.st +++ /dev/null @@ -1,14 +0,0 @@ -accessing -process - ^ process - ifNil: [ process := [ [ true ] - whileTrue: [ (Delay forSeconds: 300) wait. - self collector - ifNotEmpty: [ | tempOrderedCollection | - tempOrderedCollection := OrderedCollection new. - tempOrderedCollection add: self collector . - ([ :aCollectionOfTest | - | tempResult | - tempResult := SmTRules runner runCases: aCollectionOfTest. - self showResult: tempResult ] newProcessWith: tempOrderedCollection) resume. - self reset ] ] ] newProcess ] \ No newline at end of file diff --git a/SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/reset.st b/SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/reset.st deleted file mode 100644 index 7cd4a7f..0000000 --- a/SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/reset.st +++ /dev/null @@ -1,3 +0,0 @@ -action -reset - Collector := nil. \ No newline at end of file diff --git a/SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/showResult..st b/SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/showResult..st deleted file mode 100644 index d69037e..0000000 --- a/SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/showResult..st +++ /dev/null @@ -1,9 +0,0 @@ -UI specific -showResult: aTestResult - | ui | - - (aTestResult hasErrors or: aTestResult hasFailures) - ifFalse: [ ^ self ]. - ui := SmTAutoTestsWindows new. - ui setList: aTestResult tests. - ui openWithSpec. diff --git a/SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/start.st b/SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/start.st deleted file mode 100644 index e87cda5..0000000 --- a/SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/start.st +++ /dev/null @@ -1,3 +0,0 @@ -action -start - self process resume. \ No newline at end of file diff --git a/SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/stop.st b/SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/stop.st deleted file mode 100644 index 3860d87..0000000 --- a/SmartTest-UI.package/SmTFivesMinutesCollector.class/instance/stop.st +++ /dev/null @@ -1,3 +0,0 @@ -action -stop - self process suspend \ No newline at end of file diff --git a/SmartTest-UI.package/SmTFivesMinutesCollector.class/properties.json b/SmartTest-UI.package/SmTFivesMinutesCollector.class/properties.json deleted file mode 100644 index d851b41..0000000 --- a/SmartTest-UI.package/SmTFivesMinutesCollector.class/properties.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "commentStamp" : "BenoitVerhaeghe 6/28/2017 16:19", - "super" : "SmTCollector", - "category" : "SmartTest-UI-Collector", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ - "Collector", - "UniqueInstance" - ], - "instvars" : [ - "process" - ], - "name" : "SmTFivesMinutesCollector", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest-UI.package/SmTIconFabric.class/README.md b/SmartTest-UI.package/SmTIconFabric.class/README.md deleted file mode 100644 index 4be13b3..0000000 --- a/SmartTest-UI.package/SmTIconFabric.class/README.md +++ /dev/null @@ -1 +0,0 @@ -I'm a tool which create the icons \ No newline at end of file diff --git a/SmartTest-UI.package/SmTIconFabric.class/class/createIconForMethod..st b/SmartTest-UI.package/SmTIconFabric.class/class/createIconForMethod..st deleted file mode 100644 index 82c9a48..0000000 --- a/SmartTest-UI.package/SmTIconFabric.class/class/createIconForMethod..st +++ /dev/null @@ -1,17 +0,0 @@ -creation -createIconForMethod: testMethod - | ib | - ib := IconicButton new. - ib - target: SmTRules runner; - actionSelector: #runCase:notifyIcon:; - arguments: - {testMethod. - ib}; - labelGraphic: - (self - iconNamed: (SmTRules runner iconForTestFromTestCaseHistory: testMethod)); - color: Color transparent; - borderColor: Color transparent; - helpText: 'Run the test'. - ^ ib \ No newline at end of file diff --git a/SmartTest-UI.package/SmTIconFabric.class/class/createIconForMethods..st b/SmartTest-UI.package/SmTIconFabric.class/class/createIconForMethods..st deleted file mode 100644 index a1de49e..0000000 --- a/SmartTest-UI.package/SmTIconFabric.class/class/createIconForMethods..st +++ /dev/null @@ -1,17 +0,0 @@ -creation -createIconForMethods: aTestCollection - | ib | - ib := IconicButton new. - ib - target: SmTRules runner; - actionSelector: #runCases:notifyIcon:; - arguments: - {aTestCollection. - ib}; - labelGraphic: - (self - iconNamed: (SmTRules runner iconForTestFromTestsCasesHistory: aTestCollection)); - color: Color transparent; - borderColor: Color transparent; - helpText: 'Run the test'. - ^ ib \ No newline at end of file diff --git a/SmartTest-UI.package/SmTIconFabric.class/properties.json b/SmartTest-UI.package/SmTIconFabric.class/properties.json deleted file mode 100644 index ff9dd74..0000000 --- a/SmartTest-UI.package/SmTIconFabric.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "BenoitVerhaeghe 6/28/2017 15:45", - "super" : "Object", - "category" : "SmartTest-UI-Tools", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTIconFabric", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest-UI.package/SmTProgressCircle.class/README.md b/SmartTest-UI.package/SmTProgressCircle.class/README.md deleted file mode 100644 index b1af462..0000000 --- a/SmartTest-UI.package/SmTProgressCircle.class/README.md +++ /dev/null @@ -1,15 +0,0 @@ -pc := ProgressCircle new color: Color blue. -pc extent: 500@500. -pc percentage: 0.3. -pc position: pc topRight. -pc openInWorld. - -mes := MorphEventSubscription new - recipient: CORAEventRecipient new; - selector: #hello. - -meh := MorphicEventHandler new - addSubscription: mes toEvent: #click. - -pc eventHandler: meh. - diff --git a/SmartTest-UI.package/SmTProgressCircle.class/instance/controler..st b/SmartTest-UI.package/SmTProgressCircle.class/instance/controler..st deleted file mode 100644 index 680d164..0000000 --- a/SmartTest-UI.package/SmTProgressCircle.class/instance/controler..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -controler: anObject - controler := anObject \ No newline at end of file diff --git a/SmartTest-UI.package/SmTProgressCircle.class/instance/drawOn..st b/SmartTest-UI.package/SmTProgressCircle.class/instance/drawOn..st deleted file mode 100644 index 934e855..0000000 --- a/SmartTest-UI.package/SmTProgressCircle.class/instance/drawOn..st +++ /dev/null @@ -1,8 +0,0 @@ -drawing -drawOn: aCanvas - aCanvas - fillOval: bounds - fillStyle: self fillStyle - withPercentage: self percentage - borderWidth: borderWidth - borderColor: borderColor \ No newline at end of file diff --git a/SmartTest-UI.package/SmTProgressCircle.class/instance/handlesMouseDown..st b/SmartTest-UI.package/SmTProgressCircle.class/instance/handlesMouseDown..st deleted file mode 100644 index b306a99..0000000 --- a/SmartTest-UI.package/SmTProgressCircle.class/instance/handlesMouseDown..st +++ /dev/null @@ -1,3 +0,0 @@ -drawing -handlesMouseDown: anEvent - ^ true \ No newline at end of file diff --git a/SmartTest-UI.package/SmTProgressCircle.class/instance/mouseDown..st b/SmartTest-UI.package/SmTProgressCircle.class/instance/mouseDown..st deleted file mode 100644 index 215005f..0000000 --- a/SmartTest-UI.package/SmTProgressCircle.class/instance/mouseDown..st +++ /dev/null @@ -1,4 +0,0 @@ -drawing -mouseDown: anEvent - controler notify - \ No newline at end of file diff --git a/SmartTest-UI.package/SmTProgressCircle.class/instance/percentage..st b/SmartTest-UI.package/SmTProgressCircle.class/instance/percentage..st deleted file mode 100644 index 585cc6f..0000000 --- a/SmartTest-UI.package/SmTProgressCircle.class/instance/percentage..st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -percentage: anObject - percentage := anObject. - self changed \ No newline at end of file diff --git a/SmartTest-UI.package/SmTProgressCircle.class/instance/percentage.st b/SmartTest-UI.package/SmTProgressCircle.class/instance/percentage.st deleted file mode 100644 index 4e4eb07..0000000 --- a/SmartTest-UI.package/SmTProgressCircle.class/instance/percentage.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -percentage - ^ percentage \ No newline at end of file diff --git a/SmartTest-UI.package/SmTProgressCircle.class/properties.json b/SmartTest-UI.package/SmTProgressCircle.class/properties.json deleted file mode 100644 index b54f264..0000000 --- a/SmartTest-UI.package/SmTProgressCircle.class/properties.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "commentStamp" : "BenoitVerhaeghe 7/18/2017 10:40", - "super" : "CircleMorph", - "category" : "SmartTest-UI-Collector", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "percentage", - "controler" - ], - "name" : "SmTProgressCircle", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest-UI.package/monticello.meta/categories.st b/SmartTest-UI.package/monticello.meta/categories.st deleted file mode 100644 index 353c91a..0000000 --- a/SmartTest-UI.package/monticello.meta/categories.st +++ /dev/null @@ -1,5 +0,0 @@ -SystemOrganization addCategory: #'SmartTest-UI'! -SystemOrganization addCategory: #'SmartTest-UI-CalypsoExtension'! -SystemOrganization addCategory: #'SmartTest-UI-Collector'! -SystemOrganization addCategory: #'SmartTest-UI-Morph'! -SystemOrganization addCategory: #'SmartTest-UI-Tools'! diff --git a/SmartTest-UI.package/monticello.meta/initializers.st b/SmartTest-UI.package/monticello.meta/initializers.st deleted file mode 100644 index e69de29..0000000 diff --git a/SmartTest-UI.package/monticello.meta/package b/SmartTest-UI.package/monticello.meta/package deleted file mode 100644 index e49594a..0000000 --- a/SmartTest-UI.package/monticello.meta/package +++ /dev/null @@ -1 +0,0 @@ -(name 'SmartTest-UI') \ No newline at end of file diff --git a/SmartTest-UI.package/properties.json b/SmartTest-UI.package/properties.json deleted file mode 100644 index 6f31cf5..0000000 --- a/SmartTest-UI.package/properties.json +++ /dev/null @@ -1 +0,0 @@ -{ } \ No newline at end of file diff --git a/SmartTest.package/.filetree b/SmartTest.package/.filetree deleted file mode 100644 index 57a6797..0000000 --- a/SmartTest.package/.filetree +++ /dev/null @@ -1,5 +0,0 @@ -{ - "separateMethodMetaAndSource" : false, - "noMethodMetaData" : true, - "useCypressPropertiesFile" : true -} \ No newline at end of file diff --git a/SmartTest.package/ASTCacheResetTest.extension/instance/testCacheResetPreserveLinks.st b/SmartTest.package/ASTCacheResetTest.extension/instance/testCacheResetPreserveLinks.st deleted file mode 100644 index 461c8ea..0000000 --- a/SmartTest.package/ASTCacheResetTest.extension/instance/testCacheResetPreserveLinks.st +++ /dev/null @@ -1,9 +0,0 @@ -*SmartTest -testCacheResetPreserveLinks - - self annotatedMethod. - self assert: counter equals: 1. - ASTCache reset. - self assert: (self class >> #annotatedMethod) ast statements last value links anyOne == link. - self annotatedMethod. - self assert: counter equals: 2 \ No newline at end of file diff --git a/SmartTest.package/ASTCacheResetTest.extension/properties.json b/SmartTest.package/ASTCacheResetTest.extension/properties.json deleted file mode 100644 index c232b20..0000000 --- a/SmartTest.package/ASTCacheResetTest.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "ASTCacheResetTest" -} \ No newline at end of file diff --git a/SmartTest.package/CompiledMethod.extension/instance/asTestCase.st b/SmartTest.package/CompiledMethod.extension/instance/asTestCase.st deleted file mode 100644 index c8d97c0..0000000 --- a/SmartTest.package/CompiledMethod.extension/instance/asTestCase.st +++ /dev/null @@ -1,3 +0,0 @@ -*SmartTest -asTestCase - ^ self methodClass selector: self selector \ No newline at end of file diff --git a/SmartTest.package/CompiledMethod.extension/instance/belongsToTestCase.st b/SmartTest.package/CompiledMethod.extension/instance/belongsToTestCase.st deleted file mode 100644 index 62e0c35..0000000 --- a/SmartTest.package/CompiledMethod.extension/instance/belongsToTestCase.st +++ /dev/null @@ -1,3 +0,0 @@ -*SmartTest -belongsToTestCase - ^ self methodClass isKindOf: TestCase class. \ No newline at end of file diff --git a/SmartTest.package/CompiledMethod.extension/instance/isTestMethod.st b/SmartTest.package/CompiledMethod.extension/instance/isTestMethod.st deleted file mode 100644 index 37b8411..0000000 --- a/SmartTest.package/CompiledMethod.extension/instance/isTestMethod.st +++ /dev/null @@ -1,4 +0,0 @@ -*SmartTest -isTestMethod - ^ self belongsToTestCase - and: [ self methodClass allTestSelectors includes: self selector]. \ No newline at end of file diff --git a/SmartTest.package/CompiledMethod.extension/instance/isTestSetUpMethod.st b/SmartTest.package/CompiledMethod.extension/instance/isTestSetUpMethod.st deleted file mode 100644 index ac12504..0000000 --- a/SmartTest.package/CompiledMethod.extension/instance/isTestSetUpMethod.st +++ /dev/null @@ -1,4 +0,0 @@ -*SmartTest -isTestSetUpMethod - ^ (self selector = #setUp) - and: [self belongsToTestCase]. \ No newline at end of file diff --git a/SmartTest.package/CompiledMethod.extension/instance/isTestTearDownMethod.st b/SmartTest.package/CompiledMethod.extension/instance/isTestTearDownMethod.st deleted file mode 100644 index 39ad64e..0000000 --- a/SmartTest.package/CompiledMethod.extension/instance/isTestTearDownMethod.st +++ /dev/null @@ -1,4 +0,0 @@ -*SmartTest -isTestTearDownMethod - ^ (self selector = #tearDown) - and:[self belongsToTestCase]. \ No newline at end of file diff --git a/SmartTest.package/CompiledMethod.extension/properties.json b/SmartTest.package/CompiledMethod.extension/properties.json deleted file mode 100644 index c2e4663..0000000 --- a/SmartTest.package/CompiledMethod.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "CompiledMethod" -} \ No newline at end of file diff --git a/SmartTest.package/FormCanvas.extension/instance/fillOval.color.withPercentage.borderWidth.borderColor..st b/SmartTest.package/FormCanvas.extension/instance/fillOval.color.withPercentage.borderWidth.borderColor..st deleted file mode 100644 index c7b77c7..0000000 --- a/SmartTest.package/FormCanvas.extension/instance/fillOval.color.withPercentage.borderWidth.borderColor..st +++ /dev/null @@ -1,15 +0,0 @@ -*SmartTest -fillOval: r color: fillColor withPercentage: aFloat borderWidth: borderWidth borderColor: borderColor - | rect | - - "draw the border of the oval" - rect := (r translateBy: origin) truncated. - (borderWidth = 0 or: [borderColor isTransparent]) ifFalse:[ - self setFillColor: borderColor. - (r area > 10000 or: [fillColor isTranslucent]) - ifTrue: [port frameOval: rect borderWidth: borderWidth] - ifFalse: [port fillOval: rect]]. "faster this way" - "fill the inside" - fillColor isTransparent ifFalse: - [self setFillColor: fillColor. - port fillOval: (rect insetBy: borderWidth)]. diff --git a/SmartTest.package/FormCanvas.extension/instance/fillOval.fillStyle.withPercentage.borderWidth.borderColor..st b/SmartTest.package/FormCanvas.extension/instance/fillOval.fillStyle.withPercentage.borderWidth.borderColor..st deleted file mode 100644 index e4d5003..0000000 --- a/SmartTest.package/FormCanvas.extension/instance/fillOval.fillStyle.withPercentage.borderWidth.borderColor..st +++ /dev/null @@ -1,10 +0,0 @@ -*SmartTest -fillOval: aRectangle fillStyle: aFillStyle withPercentage: aFloat borderWidth: bw borderColor: bc - "Fill the given oval." - - (aFillStyle isBitmapFill and:[aFillStyle isKindOf: InfiniteForm]) ifTrue:[ - ^self fillOval: aRectangle color: aFillStyle borderWidth: bw borderColor: bc]. - (aFillStyle isSolidFill) ifTrue:[ - ^self fillOval: aRectangle withPercentage: aFloat color: aFillStyle asColor borderWidth: bw borderColor: bc]. - "Use a BalloonCanvas instead" - self balloonFillOval: aRectangle fillStyle: aFillStyle borderWidth: bw borderColor: bc \ No newline at end of file diff --git a/SmartTest.package/FormCanvas.extension/instance/fillOval.withPercentage.color.borderWidth.borderColor..st b/SmartTest.package/FormCanvas.extension/instance/fillOval.withPercentage.color.borderWidth.borderColor..st deleted file mode 100644 index 0d1dc7f..0000000 --- a/SmartTest.package/FormCanvas.extension/instance/fillOval.withPercentage.color.borderWidth.borderColor..st +++ /dev/null @@ -1,15 +0,0 @@ -*SmartTest -fillOval: r withPercentage: aFloat color: fillColor borderWidth: borderWidth borderColor: borderColor - | rect | - - "draw the border of the oval" - rect := (r translateBy: origin) truncated. - (borderWidth = 0 or: [borderColor isTransparent]) ifFalse:[ - self setFillColor: borderColor. - (r area > 10000 or: [fillColor isTranslucent]) - ifTrue: [port frameOval: rect borderWidth: borderWidth] - ifFalse: [port fillOval: rect]]. "faster this way" - "fill the inside" - fillColor isTransparent ifFalse: - [self setFillColor: fillColor. - port fillOval: (rect insetBy: borderWidth) withPercentage: aFloat]. diff --git a/SmartTest.package/FormCanvas.extension/properties.json b/SmartTest.package/FormCanvas.extension/properties.json deleted file mode 100644 index 9887a28..0000000 --- a/SmartTest.package/FormCanvas.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "FormCanvas" -} \ No newline at end of file diff --git a/SmartTest.package/GrafPort.extension/instance/fillOval.withPercentage..st b/SmartTest.package/GrafPort.extension/instance/fillOval.withPercentage..st deleted file mode 100644 index 6f1b5c6..0000000 --- a/SmartTest.package/GrafPort.extension/instance/fillOval.withPercentage..st +++ /dev/null @@ -1,30 +0,0 @@ -*SmartTest -fillOval: rect withPercentage: aFloat - | centerX centerY nextY yBias xBias outer nextOuterX | - rect area <= 0 - ifTrue: [ ^ self ]. - height := 1. - yBias := rect height odd - ifTrue: [ 0 ] - ifFalse: [ -1 ]. - xBias := rect width odd - ifTrue: [ 1 ] - ifFalse: [ 0 ]. - centerX := rect center x. - centerY := rect center y. - outer := EllipseMidpointTracer new on: rect. - nextY := rect height // 2. - [ nextY > 0 and: aFloat / 2 * rect height > (centerY - nextY - 1) ] - whileTrue: [ nextOuterX := outer stepInY. - width := (nextOuterX bitShift: 1) + xBias. - destX := centerX - nextOuterX. - destY := centerY - nextY. - self copyBits. - destY := centerY + nextY + yBias. - self copyBits. - nextY := nextY - 1 ]. - destY := centerY. - height := 1 + yBias. - width := rect width. - destX := rect left. - self copyBits \ No newline at end of file diff --git a/SmartTest.package/GrafPort.extension/properties.json b/SmartTest.package/GrafPort.extension/properties.json deleted file mode 100644 index 7221c9f..0000000 --- a/SmartTest.package/GrafPort.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "GrafPort" -} \ No newline at end of file diff --git a/SmartTest.package/HDTestCoverage.extension/instance/unmark.st b/SmartTest.package/HDTestCoverage.extension/instance/unmark.st deleted file mode 100644 index 0f25e27..0000000 --- a/SmartTest.package/HDTestCoverage.extension/instance/unmark.st +++ /dev/null @@ -1,3 +0,0 @@ -*SmartTest -unmark - hasRun := false \ No newline at end of file diff --git a/SmartTest.package/HDTestCoverage.extension/properties.json b/SmartTest.package/HDTestCoverage.extension/properties.json deleted file mode 100644 index ed52621..0000000 --- a/SmartTest.package/HDTestCoverage.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "HDTestCoverage" -} \ No newline at end of file diff --git a/SmartTest.package/ManifestSmartTest.class/README.md b/SmartTest.package/ManifestSmartTest.class/README.md deleted file mode 100644 index dea1c32..0000000 --- a/SmartTest.package/ManifestSmartTest.class/README.md +++ /dev/null @@ -1,3 +0,0 @@ -I store metadata for this package. These meta data are used by other tools such as the SmalllintManifestChecker and the critics Browser - -THIS CLASS SHOULD BE RENAMED BECAUSE IT IS NOT AN EVENT \ No newline at end of file diff --git a/SmartTest.package/ManifestSmartTest.class/class/description.st b/SmartTest.package/ManifestSmartTest.class/class/description.st deleted file mode 100644 index 9534f95..0000000 --- a/SmartTest.package/ManifestSmartTest.class/class/description.st +++ /dev/null @@ -1,2 +0,0 @@ -meta-data -description ^ 'CORA is an extention of QA which display information about test' \ No newline at end of file diff --git a/SmartTest.package/ManifestSmartTest.class/class/preUnload.st b/SmartTest.package/ManifestSmartTest.class/class/preUnload.st deleted file mode 100644 index d881a46..0000000 --- a/SmartTest.package/ManifestSmartTest.class/class/preUnload.st +++ /dev/null @@ -1,4 +0,0 @@ -meta-data -preUnload - super - preUnload. \ No newline at end of file diff --git a/SmartTest.package/ManifestSmartTest.class/properties.json b/SmartTest.package/ManifestSmartTest.class/properties.json deleted file mode 100644 index 2936db6..0000000 --- a/SmartTest.package/ManifestSmartTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/3/2018 17:48", - "super" : "PackageManifest", - "category" : "SmartTest", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "ManifestSmartTest", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest.package/NautilusRefactoring.extension/instance/undoLabel.st b/SmartTest.package/NautilusRefactoring.extension/instance/undoLabel.st deleted file mode 100644 index d5195d0..0000000 --- a/SmartTest.package/NautilusRefactoring.extension/instance/undoLabel.st +++ /dev/null @@ -1,15 +0,0 @@ -*SmartTest -undoLabel - | stream | - stream := WriteStream with: 'Undo'. - self changeManager hasUndoableOperations - ifFalse: [ ^ stream contents ]. - stream - nextPut: $ ; - nextPutAll: self changeManager undoChange asString. - stream position > 40 - ifTrue: [ - stream - position: 40; - nextPutAll: '...' ]. - ^ stream contents \ No newline at end of file diff --git a/SmartTest.package/NautilusRefactoring.extension/properties.json b/SmartTest.package/NautilusRefactoring.extension/properties.json deleted file mode 100644 index c56d8be..0000000 --- a/SmartTest.package/NautilusRefactoring.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "NautilusRefactoring" -} \ No newline at end of file diff --git a/SmartTest.package/RGMethodDefinition.extension/instance/isInitializer.st b/SmartTest.package/RGMethodDefinition.extension/instance/isInitializer.st deleted file mode 100644 index 2af1669..0000000 --- a/SmartTest.package/RGMethodDefinition.extension/instance/isInitializer.st +++ /dev/null @@ -1,3 +0,0 @@ -*SmartTest -isInitializer - ^ self selector = #initialize \ No newline at end of file diff --git a/SmartTest.package/RGMethodDefinition.extension/instance/senders.st b/SmartTest.package/RGMethodDefinition.extension/instance/senders.st deleted file mode 100644 index d224b7c..0000000 --- a/SmartTest.package/RGMethodDefinition.extension/instance/senders.st +++ /dev/null @@ -1,3 +0,0 @@ -*SmartTest -senders - ^ SystemNavigation default allSendersOf: self selector \ No newline at end of file diff --git a/SmartTest.package/RGMethodDefinition.extension/properties.json b/SmartTest.package/RGMethodDefinition.extension/properties.json deleted file mode 100644 index 0bcc002..0000000 --- a/SmartTest.package/RGMethodDefinition.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "RGMethodDefinition" -} \ No newline at end of file diff --git a/SmartTest.package/ReProperty.extension/instance/iconicButtons.st b/SmartTest.package/ReProperty.extension/instance/iconicButtons.st deleted file mode 100644 index 94e94db..0000000 --- a/SmartTest.package/ReProperty.extension/instance/iconicButtons.st +++ /dev/null @@ -1,4 +0,0 @@ -*SmartTest -iconicButtons - - ^ #() \ No newline at end of file diff --git a/SmartTest.package/ReProperty.extension/properties.json b/SmartTest.package/ReProperty.extension/properties.json deleted file mode 100644 index 5f0ce47..0000000 --- a/SmartTest.package/ReProperty.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "ReProperty" -} \ No newline at end of file diff --git a/SmartTest.package/SmTAnnouncer.class/README.md b/SmartTest.package/SmTAnnouncer.class/README.md deleted file mode 100644 index e3a5f62..0000000 --- a/SmartTest.package/SmTAnnouncer.class/README.md +++ /dev/null @@ -1 +0,0 @@ -The announcer process announces that some event has occurred and disseminates it to all the listeners that are interested in the event. \ No newline at end of file diff --git a/SmartTest.package/SmTAnnouncer.class/class/announcer.st b/SmartTest.package/SmTAnnouncer.class/class/announcer.st deleted file mode 100644 index 59bd5d1..0000000 --- a/SmartTest.package/SmTAnnouncer.class/class/announcer.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -announcer - ^ announcer ifNil: [ announcer := SmTAnnouncer new ] \ No newline at end of file diff --git a/SmartTest.package/SmTAnnouncer.class/class/shouldAnnounce.st b/SmartTest.package/SmTAnnouncer.class/class/shouldAnnounce.st deleted file mode 100644 index 0596a28..0000000 --- a/SmartTest.package/SmTAnnouncer.class/class/shouldAnnounce.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -shouldAnnounce - ^ SmTTestListener activated \ No newline at end of file diff --git a/SmartTest.package/SmTAnnouncer.class/properties.json b/SmartTest.package/SmTAnnouncer.class/properties.json deleted file mode 100644 index 1422806..0000000 --- a/SmartTest.package/SmTAnnouncer.class/properties.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/2/2018 14:32", - "super" : "Announcer", - "category" : "SmartTest-Listener", - "classinstvars" : [ - "announcer" - ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTAnnouncer", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest.package/SmTBasicCacheNeverResetStrategy.class/README.md b/SmartTest.package/SmTBasicCacheNeverResetStrategy.class/README.md deleted file mode 100644 index 811b705..0000000 --- a/SmartTest.package/SmTBasicCacheNeverResetStrategy.class/README.md +++ /dev/null @@ -1,3 +0,0 @@ -This strategy always adds the tests to the cache and always gives the tests when asked. - -When using this strategy, the cache is never reseted, even when told so. \ No newline at end of file diff --git a/SmartTest.package/SmTBasicCacheNeverResetStrategy.class/instance/resetCache.st b/SmartTest.package/SmTBasicCacheNeverResetStrategy.class/instance/resetCache.st deleted file mode 100644 index 0da6502..0000000 --- a/SmartTest.package/SmTBasicCacheNeverResetStrategy.class/instance/resetCache.st +++ /dev/null @@ -1,3 +0,0 @@ -private -resetCache - "Never reset the cache for this strategy." \ No newline at end of file diff --git a/SmartTest.package/SmTBasicCacheNeverResetStrategy.class/properties.json b/SmartTest.package/SmTBasicCacheNeverResetStrategy.class/properties.json deleted file mode 100644 index bb2b73a..0000000 --- a/SmartTest.package/SmTBasicCacheNeverResetStrategy.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "eleonoreW 7/12/2018 11:35", - "super" : "SmTBasicCacheStrategy", - "category" : "SmartTest-Cache", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTBasicCacheNeverResetStrategy", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/README.md b/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/README.md deleted file mode 100644 index b503ee6..0000000 --- a/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/README.md +++ /dev/null @@ -1,3 +0,0 @@ -This strategy always adds the tests to the cache and always gives the tests when asked. - -When using this strategy, the cache is reseted each 5 changes (changes manageable by SmartTest, for exemple changes on methods and classes). \ No newline at end of file diff --git a/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/instance/initialize.st b/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/instance/initialize.st deleted file mode 100644 index 29ec469..0000000 --- a/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/instance/initialize.st +++ /dev/null @@ -1,3 +0,0 @@ -initialization -initialize -self numberOfChange: 0. \ No newline at end of file diff --git a/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/instance/numberOfChange..st b/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/instance/numberOfChange..st deleted file mode 100644 index 62efcce..0000000 --- a/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/instance/numberOfChange..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -numberOfChange: anObject - numberOfChange := anObject \ No newline at end of file diff --git a/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/instance/numberOfChange.st b/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/instance/numberOfChange.st deleted file mode 100644 index 6708985..0000000 --- a/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/instance/numberOfChange.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -numberOfChange - ^ numberOfChange \ No newline at end of file diff --git a/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/instance/resetCache.st b/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/instance/resetCache.st deleted file mode 100644 index 61ab5e7..0000000 --- a/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/instance/resetCache.st +++ /dev/null @@ -1,5 +0,0 @@ -private -resetCache - numberOfChange := numberOfChange + 1. - numberOfChange \\ 5 == 0 - ifTrue: [ cache removeAll. numberOfChange := 0] \ No newline at end of file diff --git a/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/properties.json b/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/properties.json deleted file mode 100644 index 74500da..0000000 --- a/SmartTest.package/SmTBasicCacheResetEvery5ChangesStrategy.class/properties.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "commentStamp" : "eleonoreW 7/12/2018 11:38", - "super" : "SmTBasicCacheStrategy", - "category" : "SmartTest-Cache", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "numberOfChange" - ], - "name" : "SmTBasicCacheResetEvery5ChangesStrategy", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest.package/SmTBasicCacheResetEveryCommitStrategy.class/README.md b/SmartTest.package/SmTBasicCacheResetEveryCommitStrategy.class/README.md deleted file mode 100644 index d1d972b..0000000 --- a/SmartTest.package/SmTBasicCacheResetEveryCommitStrategy.class/README.md +++ /dev/null @@ -1,3 +0,0 @@ -This strategy always adds the tests to the cache and always gives the tests when asked. - -When using this strategy, the cache is reseted only when a commit is peformed. It is mostly used with SmartTest Experiment. \ No newline at end of file diff --git a/SmartTest.package/SmTBasicCacheResetEveryCommitStrategy.class/instance/resetCacheForChange..st b/SmartTest.package/SmTBasicCacheResetEveryCommitStrategy.class/instance/resetCacheForChange..st deleted file mode 100644 index c725031..0000000 --- a/SmartTest.package/SmTBasicCacheResetEveryCommitStrategy.class/instance/resetCacheForChange..st +++ /dev/null @@ -1,4 +0,0 @@ -private -resetCacheForChange: aChange - (aChange isKindOf: EpMonticelloVersionSave) ifTrue:[self resetCache]. - \ No newline at end of file diff --git a/SmartTest.package/SmTBasicCacheResetEveryCommitStrategy.class/properties.json b/SmartTest.package/SmTBasicCacheResetEveryCommitStrategy.class/properties.json deleted file mode 100644 index 85bdb00..0000000 --- a/SmartTest.package/SmTBasicCacheResetEveryCommitStrategy.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "eleonoreW 7/12/2018 11:39", - "super" : "SmTBasicCacheStrategy", - "category" : "SmartTest-Cache", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTBasicCacheResetEveryCommitStrategy", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest.package/SmTBasicCacheStrategy.class/README.md b/SmartTest.package/SmTBasicCacheStrategy.class/README.md deleted file mode 100644 index 02305ab..0000000 --- a/SmartTest.package/SmTBasicCacheStrategy.class/README.md +++ /dev/null @@ -1 +0,0 @@ -This strategy always adds the tests to the cache and always gives the tests when asked. \ No newline at end of file diff --git a/SmartTest.package/SmTBasicCacheStrategy.class/instance/at..st b/SmartTest.package/SmTBasicCacheStrategy.class/instance/at..st deleted file mode 100644 index b9fbb76..0000000 --- a/SmartTest.package/SmTBasicCacheStrategy.class/instance/at..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -at: aMethodReference - ^ self currentCache at: aMethodReference \ No newline at end of file diff --git a/SmartTest.package/SmTBasicCacheStrategy.class/instance/at.ifAbsent..st b/SmartTest.package/SmTBasicCacheStrategy.class/instance/at.ifAbsent..st deleted file mode 100644 index 6f59865..0000000 --- a/SmartTest.package/SmTBasicCacheStrategy.class/instance/at.ifAbsent..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -at: methodReference ifAbsent: aBlock - ^ self currentCache at: methodReference ifAbsent: aBlock \ No newline at end of file diff --git a/SmartTest.package/SmTBasicCacheStrategy.class/instance/at.ifPresent..st b/SmartTest.package/SmTBasicCacheStrategy.class/instance/at.ifPresent..st deleted file mode 100644 index 4660ebd..0000000 --- a/SmartTest.package/SmTBasicCacheStrategy.class/instance/at.ifPresent..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -at: key ifPresent: aPresentBlock - ^ self currentCache at: key ifPresent: aPresentBlock \ No newline at end of file diff --git a/SmartTest.package/SmTBasicCacheStrategy.class/instance/at.ifPresent.ifAbsent..st b/SmartTest.package/SmTBasicCacheStrategy.class/instance/at.ifPresent.ifAbsent..st deleted file mode 100644 index fa552e4..0000000 --- a/SmartTest.package/SmTBasicCacheStrategy.class/instance/at.ifPresent.ifAbsent..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -at: key ifPresent: aPresentBlock ifAbsent: anAbsentBlock - ^ self currentCache at: key ifPresent: aPresentBlock ifAbsent: anAbsentBlock \ No newline at end of file diff --git a/SmartTest.package/SmTBasicCacheStrategy.class/instance/at.put..st b/SmartTest.package/SmTBasicCacheStrategy.class/instance/at.put..st deleted file mode 100644 index c7863a2..0000000 --- a/SmartTest.package/SmTBasicCacheStrategy.class/instance/at.put..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -at: aMethodReference put: aCacheElement - ^ self currentCache at: aMethodReference put: aCacheElement \ No newline at end of file diff --git a/SmartTest.package/SmTBasicCacheStrategy.class/instance/currentCache.st b/SmartTest.package/SmTBasicCacheStrategy.class/instance/currentCache.st deleted file mode 100644 index 08e8c1a..0000000 --- a/SmartTest.package/SmTBasicCacheStrategy.class/instance/currentCache.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -currentCache - ^ cache \ No newline at end of file diff --git a/SmartTest.package/SmTBasicCacheStrategy.class/instance/relevantTestsFor..st b/SmartTest.package/SmTBasicCacheStrategy.class/instance/relevantTestsFor..st deleted file mode 100644 index 018ab01..0000000 --- a/SmartTest.package/SmTBasicCacheStrategy.class/instance/relevantTestsFor..st +++ /dev/null @@ -1,3 +0,0 @@ -private -relevantTestsFor: aCompiledMethod - ^ self currentCache at: aCompiledMethod methodReference ifAbsentPut: [ Set new ] \ No newline at end of file diff --git a/SmartTest.package/SmTBasicCacheStrategy.class/instance/searchTestsForMethodReference..st b/SmartTest.package/SmTBasicCacheStrategy.class/instance/searchTestsForMethodReference..st deleted file mode 100644 index 5a4bbd4..0000000 --- a/SmartTest.package/SmTBasicCacheStrategy.class/instance/searchTestsForMethodReference..st +++ /dev/null @@ -1,3 +0,0 @@ -private -searchTestsForMethodReference: aMethodReference - ^ self currentCache at: aMethodReference ifAbsentPut: [ Set new ] \ No newline at end of file diff --git a/SmartTest.package/SmTBasicCacheStrategy.class/properties.json b/SmartTest.package/SmTBasicCacheStrategy.class/properties.json deleted file mode 100644 index 8842049..0000000 --- a/SmartTest.package/SmTBasicCacheStrategy.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/3/2018 10:13", - "super" : "SmTCacheStrategy", - "category" : "SmartTest-Cache", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTBasicCacheStrategy", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest.package/SmTCacheStrategy.class/README.md b/SmartTest.package/SmTCacheStrategy.class/README.md deleted file mode 100644 index 25cf40d..0000000 --- a/SmartTest.package/SmTCacheStrategy.class/README.md +++ /dev/null @@ -1 +0,0 @@ -This setting defines how the cache should behave. \ No newline at end of file diff --git a/SmartTest.package/SmTCacheStrategy.class/instance/at..st b/SmartTest.package/SmTCacheStrategy.class/instance/at..st deleted file mode 100644 index 3994dcf..0000000 --- a/SmartTest.package/SmTCacheStrategy.class/instance/at..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -at: aMethodReference - self subclassResponsibility \ No newline at end of file diff --git a/SmartTest.package/SmTCacheStrategy.class/instance/at.ifAbsent..st b/SmartTest.package/SmTCacheStrategy.class/instance/at.ifAbsent..st deleted file mode 100644 index 9da5cfb..0000000 --- a/SmartTest.package/SmTCacheStrategy.class/instance/at.ifAbsent..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -at: aCompiledMethod ifAbsent: aBlock - ^ self subclassResponsibility \ No newline at end of file diff --git a/SmartTest.package/SmTCacheStrategy.class/instance/at.ifPresent..st b/SmartTest.package/SmTCacheStrategy.class/instance/at.ifPresent..st deleted file mode 100644 index 7ae4246..0000000 --- a/SmartTest.package/SmTCacheStrategy.class/instance/at.ifPresent..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -at: key ifPresent: aPresentBlock - self subclassResponsibility \ No newline at end of file diff --git a/SmartTest.package/SmTCacheStrategy.class/instance/at.ifPresent.ifAbsent..st b/SmartTest.package/SmTCacheStrategy.class/instance/at.ifPresent.ifAbsent..st deleted file mode 100644 index 16555a1..0000000 --- a/SmartTest.package/SmTCacheStrategy.class/instance/at.ifPresent.ifAbsent..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -at: key ifPresent: aPresentBlock ifAbsent: anAbsentBlock - self subclassResponsibility \ No newline at end of file diff --git a/SmartTest.package/SmTCacheStrategy.class/instance/at.put..st b/SmartTest.package/SmTCacheStrategy.class/instance/at.put..st deleted file mode 100644 index 752bcb6..0000000 --- a/SmartTest.package/SmTCacheStrategy.class/instance/at.put..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -at: aMethodReference put: aCacheElement - self subclassResponsibility \ No newline at end of file diff --git a/SmartTest.package/SmTCacheStrategy.class/instance/cache..st b/SmartTest.package/SmTCacheStrategy.class/instance/cache..st deleted file mode 100644 index 392d234..0000000 --- a/SmartTest.package/SmTCacheStrategy.class/instance/cache..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -cache: aDictionary - cache := aDictionary \ No newline at end of file diff --git a/SmartTest.package/SmTCacheStrategy.class/instance/currentCache.st b/SmartTest.package/SmTCacheStrategy.class/instance/currentCache.st deleted file mode 100644 index 708ad09..0000000 --- a/SmartTest.package/SmTCacheStrategy.class/instance/currentCache.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -currentCache - self subclassResponsibility \ No newline at end of file diff --git a/SmartTest.package/SmTCacheStrategy.class/instance/disable.st b/SmartTest.package/SmTCacheStrategy.class/instance/disable.st deleted file mode 100644 index 6327a6d..0000000 --- a/SmartTest.package/SmTCacheStrategy.class/instance/disable.st +++ /dev/null @@ -1,5 +0,0 @@ -private -disable - "If you need something to work" - - \ No newline at end of file diff --git a/SmartTest.package/SmTCacheStrategy.class/instance/enable.st b/SmartTest.package/SmTCacheStrategy.class/instance/enable.st deleted file mode 100644 index 8c8013b..0000000 --- a/SmartTest.package/SmTCacheStrategy.class/instance/enable.st +++ /dev/null @@ -1,3 +0,0 @@ -private -enable - "If you need something to work" \ No newline at end of file diff --git a/SmartTest.package/SmTCacheStrategy.class/instance/relevantTestsFor..st b/SmartTest.package/SmTCacheStrategy.class/instance/relevantTestsFor..st deleted file mode 100644 index bd7fbc5..0000000 --- a/SmartTest.package/SmTCacheStrategy.class/instance/relevantTestsFor..st +++ /dev/null @@ -1,3 +0,0 @@ -private -relevantTestsFor: aCompiledMethod - self subclassResponsibility \ No newline at end of file diff --git a/SmartTest.package/SmTCacheStrategy.class/instance/resetCache.st b/SmartTest.package/SmTCacheStrategy.class/instance/resetCache.st deleted file mode 100644 index 74c9ba7..0000000 --- a/SmartTest.package/SmTCacheStrategy.class/instance/resetCache.st +++ /dev/null @@ -1,3 +0,0 @@ -private -resetCache - cache removeAll \ No newline at end of file diff --git a/SmartTest.package/SmTCacheStrategy.class/instance/resetCacheForChange..st b/SmartTest.package/SmTCacheStrategy.class/instance/resetCacheForChange..st deleted file mode 100644 index 29e6ca9..0000000 --- a/SmartTest.package/SmTCacheStrategy.class/instance/resetCacheForChange..st +++ /dev/null @@ -1,3 +0,0 @@ -private -resetCacheForChange: aChange -self resetCache \ No newline at end of file diff --git a/SmartTest.package/SmTCacheStrategy.class/instance/searchTestsForMethodReference..st b/SmartTest.package/SmTCacheStrategy.class/instance/searchTestsForMethodReference..st deleted file mode 100644 index 8fffffb..0000000 --- a/SmartTest.package/SmTCacheStrategy.class/instance/searchTestsForMethodReference..st +++ /dev/null @@ -1,3 +0,0 @@ -private -searchTestsForMethodReference: aMethodReference - self subclassResponsibility \ No newline at end of file diff --git a/SmartTest.package/SmTCacheStrategy.class/properties.json b/SmartTest.package/SmTCacheStrategy.class/properties.json deleted file mode 100644 index 0645c52..0000000 --- a/SmartTest.package/SmTCacheStrategy.class/properties.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/3/2018 09:58", - "super" : "Object", - "category" : "SmartTest-Cache", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "cache" - ], - "name" : "SmTCacheStrategy", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest.package/SmTClassNeedTestsCritique.class/README.md b/SmartTest.package/SmTClassNeedTestsCritique.class/README.md deleted file mode 100644 index fc1086f..0000000 --- a/SmartTest.package/SmTClassNeedTestsCritique.class/README.md +++ /dev/null @@ -1 +0,0 @@ -The critique that explains you need to write tests for this class \ No newline at end of file diff --git a/SmartTest.package/SmTClassNeedTestsCritique.class/instance/description.st b/SmartTest.package/SmTClassNeedTestsCritique.class/instance/description.st deleted file mode 100644 index a8da552..0000000 --- a/SmartTest.package/SmTClassNeedTestsCritique.class/instance/description.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -description - ^'You should always write tests your classes to ensure the fiability of your code' \ No newline at end of file diff --git a/SmartTest.package/SmTClassNeedTestsCritique.class/instance/title.st b/SmartTest.package/SmTClassNeedTestsCritique.class/instance/title.st deleted file mode 100644 index 60b4648..0000000 --- a/SmartTest.package/SmTClassNeedTestsCritique.class/instance/title.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -title - ^ 'You should write tests for your class' \ No newline at end of file diff --git a/SmartTest.package/SmTClassNeedTestsCritique.class/properties.json b/SmartTest.package/SmTClassNeedTestsCritique.class/properties.json deleted file mode 100644 index 60255e2..0000000 --- a/SmartTest.package/SmTClassNeedTestsCritique.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "BenoitVerhaeghe 6/28/2017 14:17", - "super" : "SmTNeedTestsCritique", - "category" : "SmartTest-Critiques", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTClassNeedTestsCritique", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest.package/SmTClassRelativeTestsCritique.class/README.md b/SmartTest.package/SmTClassRelativeTestsCritique.class/README.md deleted file mode 100644 index edf4769..0000000 --- a/SmartTest.package/SmTClassRelativeTestsCritique.class/README.md +++ /dev/null @@ -1 +0,0 @@ -The critique that explains you need to run test for this class \ No newline at end of file diff --git a/SmartTest.package/SmTClassRelativeTestsCritique.class/class/for.by.tests..st b/SmartTest.package/SmTClassRelativeTestsCritique.class/class/for.by.tests..st deleted file mode 100644 index 43eadaf..0000000 --- a/SmartTest.package/SmTClassRelativeTestsCritique.class/class/for.by.tests..st +++ /dev/null @@ -1,5 +0,0 @@ -instance creation -for: anEntity by: aRule tests: aTestList - ^ self basicNew - initializeRule: aRule target: anEntity testsList: aTestList; - yourself \ No newline at end of file diff --git a/SmartTest.package/SmTClassRelativeTestsCritique.class/instance/description.st b/SmartTest.package/SmTClassRelativeTestsCritique.class/instance/description.st deleted file mode 100644 index d0f3415..0000000 --- a/SmartTest.package/SmTClassRelativeTestsCritique.class/instance/description.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -description - ^'You should always run tests your classes to ensure the fiability of your code' \ No newline at end of file diff --git a/SmartTest.package/SmTClassRelativeTestsCritique.class/properties.json b/SmartTest.package/SmTClassRelativeTestsCritique.class/properties.json deleted file mode 100644 index 23c3738..0000000 --- a/SmartTest.package/SmTClassRelativeTestsCritique.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "BenoitVerhaeghe 6/28/2017 14:17", - "super" : "SmTRelativeTestsCritique", - "category" : "SmartTest-Critiques", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTClassRelativeTestsCritique", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest.package/SmTClassTestedRule.class/README.md b/SmartTest.package/SmTClassTestedRule.class/README.md deleted file mode 100644 index b9f6182..0000000 --- a/SmartTest.package/SmTClassTestedRule.class/README.md +++ /dev/null @@ -1 +0,0 @@ -I check class tests \ No newline at end of file diff --git a/SmartTest.package/SmTClassTestedRule.class/class/checksClass.st b/SmartTest.package/SmTClassTestedRule.class/class/checksClass.st deleted file mode 100644 index 47eecb8..0000000 --- a/SmartTest.package/SmTClassTestedRule.class/class/checksClass.st +++ /dev/null @@ -1,3 +0,0 @@ -testing-interest -checksClass - ^ true \ No newline at end of file diff --git a/SmartTest.package/SmTClassTestedRule.class/class/classActivated..st b/SmartTest.package/SmTClassTestedRule.class/class/classActivated..st deleted file mode 100644 index d7a8cac..0000000 --- a/SmartTest.package/SmTClassTestedRule.class/class/classActivated..st +++ /dev/null @@ -1,3 +0,0 @@ -testing-interest -classActivated: aSelector - ClassActivated := aSelector \ No newline at end of file diff --git a/SmartTest.package/SmTClassTestedRule.class/class/classActivated.st b/SmartTest.package/SmTClassTestedRule.class/class/classActivated.st deleted file mode 100644 index 0f3e75d..0000000 --- a/SmartTest.package/SmTClassTestedRule.class/class/classActivated.st +++ /dev/null @@ -1,3 +0,0 @@ -testing-interest -classActivated - ^ ClassActivated ifNil: [ ClassActivated := false ] \ No newline at end of file diff --git a/SmartTest.package/SmTClassTestedRule.class/class/initialize.st b/SmartTest.package/SmTClassTestedRule.class/class/initialize.st deleted file mode 100644 index 3026617..0000000 --- a/SmartTest.package/SmTClassTestedRule.class/class/initialize.st +++ /dev/null @@ -1,3 +0,0 @@ -testing-interest -initialize - ReRuleManager cleanUp \ No newline at end of file diff --git a/SmartTest.package/SmTClassTestedRule.class/class/settingsOn..st b/SmartTest.package/SmTClassTestedRule.class/class/settingsOn..st deleted file mode 100644 index 0170511..0000000 --- a/SmartTest.package/SmTClassTestedRule.class/class/settingsOn..st +++ /dev/null @@ -1,9 +0,0 @@ -testing-interest -settingsOn: aBuilder - - (aBuilder setting: #classActivated) - parent: #SmTActivationRenrakuOption; - target: self; - order: 0.1; - label: 'SmartTest class analyse activated'; - description: 'Toogle to activate/disable the analyse for class' \ No newline at end of file diff --git a/SmartTest.package/SmTClassTestedRule.class/class/unload.st b/SmartTest.package/SmTClassTestedRule.class/class/unload.st deleted file mode 100644 index 03c404c..0000000 --- a/SmartTest.package/SmTClassTestedRule.class/class/unload.st +++ /dev/null @@ -1,3 +0,0 @@ -testing-interest -unload - \ No newline at end of file diff --git a/SmartTest.package/SmTClassTestedRule.class/instance/basicCheck..st b/SmartTest.package/SmTClassTestedRule.class/instance/basicCheck..st deleted file mode 100644 index a37547d..0000000 --- a/SmartTest.package/SmTClassTestedRule.class/instance/basicCheck..st +++ /dev/null @@ -1,3 +0,0 @@ -running -basicCheck: anEntity - ^ (super basicCheck: anEntity) and: [(anEntity isKindOf: Class) and: [ self class classActivated] ] diff --git a/SmartTest.package/SmTClassTestedRule.class/instance/check.forCritiquesDo..st b/SmartTest.package/SmTClassTestedRule.class/instance/check.forCritiquesDo..st deleted file mode 100644 index 1f29228..0000000 --- a/SmartTest.package/SmTClassTestedRule.class/instance/check.forCritiquesDo..st +++ /dev/null @@ -1,7 +0,0 @@ -enumerating -check: anEntity forCritiquesDo: aCriticBlock - - (self basicCheck: anEntity) - ifTrue: [ (self findTestsForClass: anEntity) isEmpty - ifTrue: [ aCriticBlock value: (SmTClassNeedTestsCritique for: anEntity by: self) ] - ifFalse: [ aCriticBlock value: (SmTClassRelativeTestsCritique for: anEntity by: self tests: self tests) ] ] \ No newline at end of file diff --git a/SmartTest.package/SmTClassTestedRule.class/instance/findTestsForClass..st b/SmartTest.package/SmTClassTestedRule.class/instance/findTestsForClass..st deleted file mode 100644 index f2ce0c5..0000000 --- a/SmartTest.package/SmTClassTestedRule.class/instance/findTestsForClass..st +++ /dev/null @@ -1,5 +0,0 @@ -instance creation -findTestsForClass: aClass - | aCollectionOfCompiledTest | - aCollectionOfCompiledTest := self findTestsForMethods: (self methodUsingVariablesOfClass: aClass). - ^tests := aCollectionOfCompiledTest \ No newline at end of file diff --git a/SmartTest.package/SmTClassTestedRule.class/instance/findTestsForMethods..st b/SmartTest.package/SmTClassTestedRule.class/instance/findTestsForMethods..st deleted file mode 100644 index 56bbd80..0000000 --- a/SmartTest.package/SmTClassTestedRule.class/instance/findTestsForMethods..st +++ /dev/null @@ -1,3 +0,0 @@ -instance creation -findTestsForMethods: aCollectionOfCompiledMethod - ^tests := aCollectionOfCompiledMethod flatCollect: [ :aCompiledMethod | self findTestsForMethod: aCompiledMethod] \ No newline at end of file diff --git a/SmartTest.package/SmTClassTestedRule.class/instance/methodUsingVariablesOfClass..st b/SmartTest.package/SmTClassTestedRule.class/instance/methodUsingVariablesOfClass..st deleted file mode 100644 index 370bbe8..0000000 --- a/SmartTest.package/SmTClassTestedRule.class/instance/methodUsingVariablesOfClass..st +++ /dev/null @@ -1,7 +0,0 @@ -running -methodUsingVariablesOfClass: aClass - | aSet | - aSet := Set new. - aSet addAll: (aClass classLayout allVisibleSlots flatCollect: #usingMethods). -" aSet addAll: ((aClass classVariables flatCollect: #usingMethods) collect: #compiledMethod)." - ^tests := aSet \ No newline at end of file diff --git a/SmartTest.package/SmTClassTestedRule.class/instance/name.st b/SmartTest.package/SmTClassTestedRule.class/instance/name.st deleted file mode 100644 index c8ff170..0000000 --- a/SmartTest.package/SmTClassTestedRule.class/instance/name.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -name - ^ 'SmartTest Class Tested' \ No newline at end of file diff --git a/SmartTest.package/SmTClassTestedRule.class/properties.json b/SmartTest.package/SmTClassTestedRule.class/properties.json deleted file mode 100644 index bc56384..0000000 --- a/SmartTest.package/SmTClassTestedRule.class/properties.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "commentStamp" : "BenoitVerhaeghe 6/28/2017 11:58", - "super" : "SmTRules", - "category" : "SmartTest-Rules", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ - "ClassActivated" - ], - "instvars" : [ ], - "name" : "SmTClassTestedRule", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest.package/SmTDefaultClassPackagesFilter.class/README.md b/SmartTest.package/SmTDefaultClassPackagesFilter.class/README.md deleted file mode 100644 index 99cd23e..0000000 --- a/SmartTest.package/SmTDefaultClassPackagesFilter.class/README.md +++ /dev/null @@ -1 +0,0 @@ -This filter looks in the packages of all methods that reference the class of the changed entity (method or class) diff --git a/SmartTest.package/SmTDefaultClassPackagesFilter.class/instance/extractPackagesFrom..st b/SmartTest.package/SmTDefaultClassPackagesFilter.class/instance/extractPackagesFrom..st deleted file mode 100644 index cb3f9f5..0000000 --- a/SmartTest.package/SmTDefaultClassPackagesFilter.class/instance/extractPackagesFrom..st +++ /dev/null @@ -1,11 +0,0 @@ -accessing -extractPackagesFrom: anEntity - "This method is supposed to find (in addition of the supermethod) for the compiled method: - - the packages of the senders of the compiled method - - the packages that contains at least one method of the compiled method class" - | packages class| - packages := (super extractPackagesFrom: anEntity) asSet. - (anEntity isClass) ifTrue: [ class := anEntity ]ifFalse:[class := anEntity methodClass]. - class allCallsOn do: [ :rgMethod | packages add: (self extractCompiledMethodPackageBaseName: rgMethod compiledMethod) ]. - class extendingPackages do: [ :aPackage | packages add: (self extractCompiledMethodPackageBaseName: aPackage) ]. - ^ packages \ No newline at end of file diff --git a/SmartTest.package/SmTDefaultClassPackagesFilter.class/properties.json b/SmartTest.package/SmTDefaultClassPackagesFilter.class/properties.json deleted file mode 100644 index 31d6243..0000000 --- a/SmartTest.package/SmTDefaultClassPackagesFilter.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/3/2018 17:57", - "super" : "SmTDefaultPackagesFilter", - "category" : "SmartTest-Filter", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTDefaultClassPackagesFilter", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest.package/SmTDefaultPackagesFilter.class/README.md b/SmartTest.package/SmTDefaultPackagesFilter.class/README.md deleted file mode 100644 index 908b109..0000000 --- a/SmartTest.package/SmTDefaultPackagesFilter.class/README.md +++ /dev/null @@ -1 +0,0 @@ -This filter only looks in the package owning the changed entity (method or class) \ No newline at end of file diff --git a/SmartTest.package/SmTDefaultPackagesFilter.class/class/settingsOn..st b/SmartTest.package/SmTDefaultPackagesFilter.class/class/settingsOn..st deleted file mode 100644 index 7cec5d9..0000000 --- a/SmartTest.package/SmTDefaultPackagesFilter.class/class/settingsOn..st +++ /dev/null @@ -1,4 +0,0 @@ -settings -settingsOn: aBuilder - - (aBuilder group: #SmTFilter) parent: #SmartFinder; order: 0.6 \ No newline at end of file diff --git a/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractClassPackageBaseName..st b/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractClassPackageBaseName..st deleted file mode 100644 index 238c898..0000000 --- a/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractClassPackageBaseName..st +++ /dev/null @@ -1,3 +0,0 @@ -parsing -extractClassPackageBaseName: aClass - ^ self extractPackageBaseName: aClass package name \ No newline at end of file diff --git a/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractCompiledMethodPackageBaseName..st b/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractCompiledMethodPackageBaseName..st deleted file mode 100644 index 8481512..0000000 --- a/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractCompiledMethodPackageBaseName..st +++ /dev/null @@ -1,3 +0,0 @@ -parsing -extractCompiledMethodPackageBaseName: aCompiledMethod - ^ self extractPackageBaseName: aCompiledMethod package packageName \ No newline at end of file diff --git a/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractMethodDefinitionPackageBaseName..st b/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractMethodDefinitionPackageBaseName..st deleted file mode 100644 index 3f9cdc8..0000000 --- a/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractMethodDefinitionPackageBaseName..st +++ /dev/null @@ -1,3 +0,0 @@ -parsing -extractMethodDefinitionPackageBaseName: aRGMethodDefinition - ^ self extractPackageBaseName: aRGMethodDefinition package realPackage packageName \ No newline at end of file diff --git a/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractPackageBaseName..st b/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractPackageBaseName..st deleted file mode 100644 index 0e63598..0000000 --- a/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractPackageBaseName..st +++ /dev/null @@ -1,3 +0,0 @@ -parsing -extractPackageBaseName: aPackageName - ^(aPackageName substrings: '-') at: 1 \ No newline at end of file diff --git a/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractPackagesFrom..st b/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractPackagesFrom..st deleted file mode 100644 index 6ce0201..0000000 --- a/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractPackagesFrom..st +++ /dev/null @@ -1,14 +0,0 @@ -accessing -extractPackagesFrom: anEntity - "Thid method find: - - the package of the classes that owned the method - - the package that contains the method if its an extension" - - | packages | - packages := Set new. - anEntity isClass - ifTrue: [ packages add: (self extractClassPackageBaseName: anEntity)] - ifFalse: [ packages := {(self extractCompiledMethodPackageBaseName: anEntity)} asSet. - anEntity isExtension - ifTrue: [ anEntity package extendedClasses do: [ :aClass | packages add: aClass package name ] ] ]. - ^ packages \ No newline at end of file diff --git a/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractPackagesFromTrait..st b/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractPackagesFromTrait..st deleted file mode 100644 index 1f41232..0000000 --- a/SmartTest.package/SmTDefaultPackagesFilter.class/instance/extractPackagesFromTrait..st +++ /dev/null @@ -1,3 +0,0 @@ -asserting -extractPackagesFromTrait: aTrait - ^ self extractPackageBaseName: aTrait package name \ No newline at end of file diff --git a/SmartTest.package/SmTDefaultPackagesFilter.class/instance/shouldEntityBeFilteredOut.inPackages..st b/SmartTest.package/SmTDefaultPackagesFilter.class/instance/shouldEntityBeFilteredOut.inPackages..st deleted file mode 100644 index fdfc70f..0000000 --- a/SmartTest.package/SmTDefaultPackagesFilter.class/instance/shouldEntityBeFilteredOut.inPackages..st +++ /dev/null @@ -1,5 +0,0 @@ -asserting -shouldEntityBeFilteredOut: anEntity inPackages: packages - "(anEntity methodClass allCallsOn collect: #ciPackage) not." - (anEntity isClass )ifTrue: [^(packages includes: (anEntity package name)) not]. - ^ (packages includes: (self extractMethodDefinitionPackageBaseName: anEntity )) not \ No newline at end of file diff --git a/SmartTest.package/SmTDefaultPackagesFilter.class/properties.json b/SmartTest.package/SmTDefaultPackagesFilter.class/properties.json deleted file mode 100644 index b0332df..0000000 --- a/SmartTest.package/SmTDefaultPackagesFilter.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/3/2018 17:53", - "super" : "SmTFilterStrategy", - "category" : "SmartTest-Filter", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTDefaultPackagesFilter", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest.package/SmTEventRecipient.class/README.md b/SmartTest.package/SmTEventRecipient.class/README.md deleted file mode 100644 index 78dc8c8..0000000 --- a/SmartTest.package/SmTEventRecipient.class/README.md +++ /dev/null @@ -1 +0,0 @@ -I collect tests, run tests and notify the big button of my work \ No newline at end of file diff --git a/SmartTest.package/SmTEventRecipient.class/instance/actionForEvent.fromMorph..st b/SmartTest.package/SmTEventRecipient.class/instance/actionForEvent.fromMorph..st deleted file mode 100644 index 671b1a1..0000000 --- a/SmartTest.package/SmTEventRecipient.class/instance/actionForEvent.fromMorph..st +++ /dev/null @@ -1,3 +0,0 @@ -action -actionForEvent: anEvent fromMorph: aMorph - self runTestAndShowProgressIn: aMorph \ No newline at end of file diff --git a/SmartTest.package/SmTEventRecipient.class/instance/runTestAndShowProgressIn..st b/SmartTest.package/SmTEventRecipient.class/instance/runTestAndShowProgressIn..st deleted file mode 100644 index 124d352..0000000 --- a/SmartTest.package/SmTEventRecipient.class/instance/runTestAndShowProgressIn..st +++ /dev/null @@ -1,2 +0,0 @@ -action -runTestAndShowProgressIn: aMorph \ No newline at end of file diff --git a/SmartTest.package/SmTEventRecipient.class/properties.json b/SmartTest.package/SmTEventRecipient.class/properties.json deleted file mode 100644 index 0c605a9..0000000 --- a/SmartTest.package/SmTEventRecipient.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/3/2018 17:47", - "super" : "Object", - "category" : "SmartTest-Event", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTEventRecipient", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest.package/SmTFilterStrategy.class/README.md b/SmartTest.package/SmTFilterStrategy.class/README.md deleted file mode 100644 index c49b801..0000000 --- a/SmartTest.package/SmTFilterStrategy.class/README.md +++ /dev/null @@ -1 +0,0 @@ -This class is used to define the filter used by SmartTest. \ No newline at end of file diff --git a/SmartTest.package/SmTFilterStrategy.class/instance/extractPackagesFrom..st b/SmartTest.package/SmTFilterStrategy.class/instance/extractPackagesFrom..st deleted file mode 100644 index 8943843..0000000 --- a/SmartTest.package/SmTFilterStrategy.class/instance/extractPackagesFrom..st +++ /dev/null @@ -1,3 +0,0 @@ -asserting -extractPackagesFrom: aCompiledMethod - "Can be implemented to init the filter for a specific research" \ No newline at end of file diff --git a/SmartTest.package/SmTFilterStrategy.class/instance/shouldEntityBeFilteredOut.inPackages..st b/SmartTest.package/SmTFilterStrategy.class/instance/shouldEntityBeFilteredOut.inPackages..st deleted file mode 100644 index b67367d..0000000 --- a/SmartTest.package/SmTFilterStrategy.class/instance/shouldEntityBeFilteredOut.inPackages..st +++ /dev/null @@ -1,3 +0,0 @@ -asserting -shouldEntityBeFilteredOut: anEntity inPackages: anObject - self subclassResponsibility \ No newline at end of file diff --git a/SmartTest.package/SmTFilterStrategy.class/properties.json b/SmartTest.package/SmTFilterStrategy.class/properties.json deleted file mode 100644 index 32d945f..0000000 --- a/SmartTest.package/SmTFilterStrategy.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/2/2018 10:19", - "super" : "Object", - "category" : "SmartTest-Filter", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTFilterStrategy", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest.package/SmTIcebergLoadedPackagesFilter.class/README.md b/SmartTest.package/SmTIcebergLoadedPackagesFilter.class/README.md deleted file mode 100644 index aca271c..0000000 --- a/SmartTest.package/SmTIcebergLoadedPackagesFilter.class/README.md +++ /dev/null @@ -1 +0,0 @@ -This filter only looks in the packages that are loaded with Iceberg \ No newline at end of file diff --git a/SmartTest.package/SmTIcebergLoadedPackagesFilter.class/instance/extractPackagesFrom..st b/SmartTest.package/SmTIcebergLoadedPackagesFilter.class/instance/extractPackagesFrom..st deleted file mode 100644 index 5be8a6f..0000000 --- a/SmartTest.package/SmTIcebergLoadedPackagesFilter.class/instance/extractPackagesFrom..st +++ /dev/null @@ -1,5 +0,0 @@ -asserting -extractPackagesFrom: aCompiledMethod - "Can be implemented to init the filter for a specific research" - - ^ ((IceRepository registry reject: [ :registry | registry name = 'pharo' ]) flatCollect: [ :repository | repository loadedPackages]) \ No newline at end of file diff --git a/SmartTest.package/SmTIcebergLoadedPackagesFilter.class/instance/shouldEntityBeFilteredOut.inPackages..st b/SmartTest.package/SmTIcebergLoadedPackagesFilter.class/instance/shouldEntityBeFilteredOut.inPackages..st deleted file mode 100644 index debb58d..0000000 --- a/SmartTest.package/SmTIcebergLoadedPackagesFilter.class/instance/shouldEntityBeFilteredOut.inPackages..st +++ /dev/null @@ -1,3 +0,0 @@ -asserting -shouldEntityBeFilteredOut: anEntity inPackages: packages - ^ ((packages collect: #name) includes: anEntity package name) not \ No newline at end of file diff --git a/SmartTest.package/SmTIcebergLoadedPackagesFilter.class/properties.json b/SmartTest.package/SmTIcebergLoadedPackagesFilter.class/properties.json deleted file mode 100644 index e685cd0..0000000 --- a/SmartTest.package/SmTIcebergLoadedPackagesFilter.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/3/2018 17:58", - "super" : "SmTFilterStrategy", - "category" : "SmartTest-Filter", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTIcebergLoadedPackagesFilter", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest.package/SmTMethodNeedTestsCritique.class/README.md b/SmartTest.package/SmTMethodNeedTestsCritique.class/README.md deleted file mode 100644 index 48357e7..0000000 --- a/SmartTest.package/SmTMethodNeedTestsCritique.class/README.md +++ /dev/null @@ -1 +0,0 @@ -The critique that explains you need to write test for a method \ No newline at end of file diff --git a/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/change.st b/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/change.st deleted file mode 100644 index 5d9e791..0000000 --- a/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/change.st +++ /dev/null @@ -1,2 +0,0 @@ -accessing -change \ No newline at end of file diff --git a/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/description.st b/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/description.st deleted file mode 100644 index 09b485b..0000000 --- a/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/description.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -description - ^'You should always test your methods to ensure the fiability of your code' \ No newline at end of file diff --git a/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/execute.st b/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/execute.st deleted file mode 100644 index 71e52fb..0000000 --- a/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/execute.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -execute - SmTTestGenerator new generateTestMethodFor: self sourceAnchor entity \ No newline at end of file diff --git a/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/nameToDisplay.st b/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/nameToDisplay.st deleted file mode 100644 index 91073c9..0000000 --- a/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/nameToDisplay.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -nameToDisplay - ^ 'Add a Test for ', self sourceAnchor entity name \ No newline at end of file diff --git a/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/oldVersionTextToDisplay.st b/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/oldVersionTextToDisplay.st deleted file mode 100644 index d116e05..0000000 --- a/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/oldVersionTextToDisplay.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -oldVersionTextToDisplay - ^'' \ No newline at end of file diff --git a/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/providesChange.st b/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/providesChange.st deleted file mode 100644 index 140b20c..0000000 --- a/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/providesChange.st +++ /dev/null @@ -1,3 +0,0 @@ -testing -providesChange - ^true \ No newline at end of file diff --git a/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/textToDisplay.st b/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/textToDisplay.st deleted file mode 100644 index 19220e5..0000000 --- a/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/textToDisplay.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -textToDisplay - ^'' \ No newline at end of file diff --git a/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/title.st b/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/title.st deleted file mode 100644 index f9d7034..0000000 --- a/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/title.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -title - ^ 'You should write tests for your method' \ No newline at end of file diff --git a/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/whatToDisplayIn..st b/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/whatToDisplayIn..st deleted file mode 100644 index 396c583..0000000 --- a/SmartTest.package/SmTMethodNeedTestsCritique.class/instance/whatToDisplayIn..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -whatToDisplayIn: aBrowser - ^ { self } \ No newline at end of file diff --git a/SmartTest.package/SmTMethodNeedTestsCritique.class/properties.json b/SmartTest.package/SmTMethodNeedTestsCritique.class/properties.json deleted file mode 100644 index ec1ee9c..0000000 --- a/SmartTest.package/SmTMethodNeedTestsCritique.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "BenoitVerhaeghe 6/28/2017 14:16", - "super" : "SmTNeedTestsCritique", - "category" : "SmartTest-Critiques", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTMethodNeedTestsCritique", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest.package/SmTMethodRelativeTestsCritique.class/README.md b/SmartTest.package/SmTMethodRelativeTestsCritique.class/README.md deleted file mode 100644 index 6f27049..0000000 --- a/SmartTest.package/SmTMethodRelativeTestsCritique.class/README.md +++ /dev/null @@ -1 +0,0 @@ -The critique that explains you should run test for this method \ No newline at end of file diff --git a/SmartTest.package/SmTMethodRelativeTestsCritique.class/class/for.by.tests..st b/SmartTest.package/SmTMethodRelativeTestsCritique.class/class/for.by.tests..st deleted file mode 100644 index 43eadaf..0000000 --- a/SmartTest.package/SmTMethodRelativeTestsCritique.class/class/for.by.tests..st +++ /dev/null @@ -1,5 +0,0 @@ -instance creation -for: anEntity by: aRule tests: aTestList - ^ self basicNew - initializeRule: aRule target: anEntity testsList: aTestList; - yourself \ No newline at end of file diff --git a/SmartTest.package/SmTMethodRelativeTestsCritique.class/instance/description.st b/SmartTest.package/SmTMethodRelativeTestsCritique.class/instance/description.st deleted file mode 100644 index 09b485b..0000000 --- a/SmartTest.package/SmTMethodRelativeTestsCritique.class/instance/description.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -description - ^'You should always test your methods to ensure the fiability of your code' \ No newline at end of file diff --git a/SmartTest.package/SmTMethodRelativeTestsCritique.class/properties.json b/SmartTest.package/SmTMethodRelativeTestsCritique.class/properties.json deleted file mode 100644 index e1eb55d..0000000 --- a/SmartTest.package/SmTMethodRelativeTestsCritique.class/properties.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "commentStamp" : "BenoitVerhaeghe 6/28/2017 14:16", - "super" : "SmTRelativeTestsCritique", - "category" : "SmartTest-Critiques", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "entity" - ], - "name" : "SmTMethodRelativeTestsCritique", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest.package/SmTMethodTestedOnModificationRule.class/README.md b/SmartTest.package/SmTMethodTestedOnModificationRule.class/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/addToElementBag..st b/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/addToElementBag..st deleted file mode 100644 index 6adf3c9..0000000 --- a/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/addToElementBag..st +++ /dev/null @@ -1,3 +0,0 @@ -protocol -addToElementBag: anElement - self bag add: anElement \ No newline at end of file diff --git a/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/bag.st b/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/bag.st deleted file mode 100644 index e9fc49d..0000000 --- a/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/bag.st +++ /dev/null @@ -1,3 +0,0 @@ -protocol -bag - ^ bag ifNil: [ bag := Bag new ] \ No newline at end of file diff --git a/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/disable.st b/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/disable.st deleted file mode 100644 index f1b1809..0000000 --- a/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/disable.st +++ /dev/null @@ -1,4 +0,0 @@ -protocol -disable - super disable. - SystemAnnouncer uniqueInstance unsubscribe: self \ No newline at end of file diff --git a/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/enable.st b/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/enable.st deleted file mode 100644 index 4b47cdb..0000000 --- a/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/enable.st +++ /dev/null @@ -1,7 +0,0 @@ -protocol -enable - super enable. - SystemAnnouncer uniqueInstance unsubscribe: self. - {(MethodModified -> #methodModified:). - (MethodAdded -> #methodAdded:)} - do: [ :pair | SystemAnnouncer uniqueInstance weak when: pair key send: pair value to: self ] \ No newline at end of file diff --git a/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/getElementFromBag..st b/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/getElementFromBag..st deleted file mode 100644 index f20c88f..0000000 --- a/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/getElementFromBag..st +++ /dev/null @@ -1,6 +0,0 @@ -protocol -getElementFromBag: anElement - "return nil if element absent. The object else" - - self bag remove: anElement ifAbsent: [ ^ nil ]. - ^ anElement \ No newline at end of file diff --git a/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/methodAdded..st b/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/methodAdded..st deleted file mode 100644 index b315dbf..0000000 --- a/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/methodAdded..st +++ /dev/null @@ -1,3 +0,0 @@ -protocol -methodAdded: anAnnouncement - self addToElementBag: anAnnouncement methodAdded \ No newline at end of file diff --git a/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/methodModified..st b/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/methodModified..st deleted file mode 100644 index c898bac..0000000 --- a/SmartTest.package/SmTMethodTestedOnModificationRule.class/class/methodModified..st +++ /dev/null @@ -1,3 +0,0 @@ -protocol -methodModified: anAnnouncement - self addToElementBag: anAnnouncement newMethod \ No newline at end of file diff --git a/SmartTest.package/SmTMethodTestedOnModificationRule.class/instance/basicCheck..st b/SmartTest.package/SmTMethodTestedOnModificationRule.class/instance/basicCheck..st deleted file mode 100644 index 97f8270..0000000 --- a/SmartTest.package/SmTMethodTestedOnModificationRule.class/instance/basicCheck..st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -basicCheck: anEntity - ^ (super basicCheck: anEntity) - and: [ (anEntity isKindOf: CompiledMethod) and: [ self class isMethodActivated and: [ (self class getElementFromBag: anEntity) isNotNil ] ] ] \ No newline at end of file diff --git a/SmartTest.package/SmTMethodTestedOnModificationRule.class/instance/name.st b/SmartTest.package/SmTMethodTestedOnModificationRule.class/instance/name.st deleted file mode 100644 index 3dd299b..0000000 --- a/SmartTest.package/SmTMethodTestedOnModificationRule.class/instance/name.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -name - "Answer a human readable name of the rule." - ^ 'SmartTest Method Tested On modification' \ No newline at end of file diff --git a/SmartTest.package/SmTMethodTestedOnModificationRule.class/properties.json b/SmartTest.package/SmTMethodTestedOnModificationRule.class/properties.json deleted file mode 100644 index bc4c570..0000000 --- a/SmartTest.package/SmTMethodTestedOnModificationRule.class/properties.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "commentStamp" : "", - "super" : "SmTMethodTestedRule", - "category" : "SmartTest-Rules", - "classinstvars" : [ - "bag" - ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "bag" - ], - "name" : "SmTMethodTestedOnModificationRule", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest.package/SmTMethodTestedRule.class/README.md b/SmartTest.package/SmTMethodTestedRule.class/README.md deleted file mode 100644 index dfa0fa1..0000000 --- a/SmartTest.package/SmTMethodTestedRule.class/README.md +++ /dev/null @@ -1 +0,0 @@ -I check method tests \ No newline at end of file diff --git a/SmartTest.package/SmTMethodTestedRule.class/class/checksMethod.st b/SmartTest.package/SmTMethodTestedRule.class/class/checksMethod.st deleted file mode 100644 index 6970277..0000000 --- a/SmartTest.package/SmTMethodTestedRule.class/class/checksMethod.st +++ /dev/null @@ -1,3 +0,0 @@ -testing-interest -checksMethod - ^ true \ No newline at end of file diff --git a/SmartTest.package/SmTMethodTestedRule.class/class/disable.st b/SmartTest.package/SmTMethodTestedRule.class/class/disable.st deleted file mode 100644 index 32459fd..0000000 --- a/SmartTest.package/SmTMethodTestedRule.class/class/disable.st +++ /dev/null @@ -1,2 +0,0 @@ -protocol -disable \ No newline at end of file diff --git a/SmartTest.package/SmTMethodTestedRule.class/class/enable.st b/SmartTest.package/SmTMethodTestedRule.class/class/enable.st deleted file mode 100644 index 861d080..0000000 --- a/SmartTest.package/SmTMethodTestedRule.class/class/enable.st +++ /dev/null @@ -1,2 +0,0 @@ -protocol -enable \ No newline at end of file diff --git a/SmartTest.package/SmTMethodTestedRule.class/class/initialize.st b/SmartTest.package/SmTMethodTestedRule.class/class/initialize.st deleted file mode 100644 index 3026617..0000000 --- a/SmartTest.package/SmTMethodTestedRule.class/class/initialize.st +++ /dev/null @@ -1,3 +0,0 @@ -testing-interest -initialize - ReRuleManager cleanUp \ No newline at end of file diff --git a/SmartTest.package/SmTMethodTestedRule.class/class/isMethodActivated.st b/SmartTest.package/SmTMethodTestedRule.class/class/isMethodActivated.st deleted file mode 100644 index 37713f1..0000000 --- a/SmartTest.package/SmTMethodTestedRule.class/class/isMethodActivated.st +++ /dev/null @@ -1,3 +0,0 @@ -testing-interest -isMethodActivated - ^ self methodActivated and: [ self methodRuleStrategy = self ] \ No newline at end of file diff --git a/SmartTest.package/SmTMethodTestedRule.class/class/methodActivated..st b/SmartTest.package/SmTMethodTestedRule.class/class/methodActivated..st deleted file mode 100644 index 176ab21..0000000 --- a/SmartTest.package/SmTMethodTestedRule.class/class/methodActivated..st +++ /dev/null @@ -1,3 +0,0 @@ -testing-interest -methodActivated: aSelector - MethodActivated := aSelector \ No newline at end of file diff --git a/SmartTest.package/SmTMethodTestedRule.class/class/methodActivated.st b/SmartTest.package/SmTMethodTestedRule.class/class/methodActivated.st deleted file mode 100644 index 08d58ce..0000000 --- a/SmartTest.package/SmTMethodTestedRule.class/class/methodActivated.st +++ /dev/null @@ -1,3 +0,0 @@ -testing-interest -methodActivated - ^ MethodActivated ifNil: [ MethodActivated := true ] \ No newline at end of file diff --git a/SmartTest.package/SmTMethodTestedRule.class/class/methodRuleStrategy..st b/SmartTest.package/SmTMethodTestedRule.class/class/methodRuleStrategy..st deleted file mode 100644 index e9419d7..0000000 --- a/SmartTest.package/SmTMethodTestedRule.class/class/methodRuleStrategy..st +++ /dev/null @@ -1,5 +0,0 @@ -accessing -methodRuleStrategy: aMethodRuleStrategy - methodRuleStrategy disable. - methodRuleStrategy := aMethodRuleStrategy. - aMethodRuleStrategy enable \ No newline at end of file diff --git a/SmartTest.package/SmTMethodTestedRule.class/class/methodRuleStrategy.st b/SmartTest.package/SmTMethodTestedRule.class/class/methodRuleStrategy.st deleted file mode 100644 index cfef0a2..0000000 --- a/SmartTest.package/SmTMethodTestedRule.class/class/methodRuleStrategy.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -methodRuleStrategy - ^ methodRuleStrategy ifNil: [ methodRuleStrategy := SmTMethodTestedOnModificationRule. methodRuleStrategy enable ] \ No newline at end of file diff --git a/SmartTest.package/SmTMethodTestedRule.class/class/settingsOn..st b/SmartTest.package/SmTMethodTestedRule.class/class/settingsOn..st deleted file mode 100644 index a3984db..0000000 --- a/SmartTest.package/SmTMethodTestedRule.class/class/settingsOn..st +++ /dev/null @@ -1,16 +0,0 @@ -testing-interest -settingsOn: aBuilder - - (aBuilder setting: #methodActivated) - parent: #SmTActivationRenrakuOption; - target: self; - order: 0.2; - label: 'SmartTest method analyse activated'; - description: 'Toogle to activate/disable the analyse for method'. - (aBuilder pickOne: #methodRuleStrategy) - order: 0.3; - parent: #SmTActivationRenrakuOption; - label: 'Method Rule'; - target: self; - domainValues: SmTMethodTestedRule withAllSubclasses; - description: 'Select Rule strategy to begin the research of element' \ No newline at end of file diff --git a/SmartTest.package/SmTMethodTestedRule.class/class/unload.st b/SmartTest.package/SmTMethodTestedRule.class/class/unload.st deleted file mode 100644 index 51f3b8a..0000000 --- a/SmartTest.package/SmTMethodTestedRule.class/class/unload.st +++ /dev/null @@ -1,3 +0,0 @@ -initialization-release -unload - self disable \ No newline at end of file diff --git a/SmartTest.package/SmTMethodTestedRule.class/instance/basicCheck..st b/SmartTest.package/SmTMethodTestedRule.class/instance/basicCheck..st deleted file mode 100644 index 6f8642c..0000000 --- a/SmartTest.package/SmTMethodTestedRule.class/instance/basicCheck..st +++ /dev/null @@ -1,3 +0,0 @@ -running -basicCheck: anEntity - ^ (super basicCheck: anEntity) and: [ (anEntity isKindOf: CompiledMethod) and: [ self class isMethodActivated ] ] \ No newline at end of file diff --git a/SmartTest.package/SmTMethodTestedRule.class/instance/check.forCritiquesDo..st b/SmartTest.package/SmTMethodTestedRule.class/instance/check.forCritiquesDo..st deleted file mode 100644 index 63bb6df..0000000 --- a/SmartTest.package/SmTMethodTestedRule.class/instance/check.forCritiquesDo..st +++ /dev/null @@ -1,7 +0,0 @@ -enumerating -check: anEntity forCritiquesDo: aCriticBlock - (self basicCheck: anEntity) - ifTrue: [ (self findTestsForMethod: anEntity) isEmpty - ifTrue: [ aCriticBlock value: (SmTMethodNeedTestsCritique for: anEntity by: self) ] - ifFalse: [ aCriticBlock - value: (SmTMethodRelativeTestsCritique for: anEntity by: self tests: self tests) ] ] \ No newline at end of file diff --git a/SmartTest.package/SmTMethodTestedRule.class/instance/isVisible.st b/SmartTest.package/SmTMethodTestedRule.class/instance/isVisible.st deleted file mode 100644 index 80558d3..0000000 --- a/SmartTest.package/SmTMethodTestedRule.class/instance/isVisible.st +++ /dev/null @@ -1,3 +0,0 @@ -running -isVisible - ^ true \ No newline at end of file diff --git a/SmartTest.package/SmTMethodTestedRule.class/instance/name.st b/SmartTest.package/SmTMethodTestedRule.class/instance/name.st deleted file mode 100644 index 5afc357..0000000 --- a/SmartTest.package/SmTMethodTestedRule.class/instance/name.st +++ /dev/null @@ -1,3 +0,0 @@ -running -name - ^ 'SmartTest Method Tested' \ No newline at end of file diff --git a/SmartTest.package/SmTMethodTestedRule.class/properties.json b/SmartTest.package/SmTMethodTestedRule.class/properties.json deleted file mode 100644 index b9625e4..0000000 --- a/SmartTest.package/SmTMethodTestedRule.class/properties.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "commentStamp" : "BenoitVerhaeghe 6/28/2017 11:57", - "super" : "SmTRules", - "category" : "SmartTest-Rules", - "classinstvars" : [ - "methodRuleStrategy" - ], - "pools" : [ ], - "classvars" : [ - "MethodActivated" - ], - "instvars" : [ ], - "name" : "SmTMethodTestedRule", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest.package/SmTNeedTestsCritique.class/README.md b/SmartTest.package/SmTNeedTestsCritique.class/README.md deleted file mode 100644 index fac3200..0000000 --- a/SmartTest.package/SmTNeedTestsCritique.class/README.md +++ /dev/null @@ -1 +0,0 @@ -I represent a critique when there are no tests for an entity \ No newline at end of file diff --git a/SmartTest.package/SmTNeedTestsCritique.class/instance/description.st b/SmartTest.package/SmTNeedTestsCritique.class/instance/description.st deleted file mode 100644 index f9cc81c..0000000 --- a/SmartTest.package/SmTNeedTestsCritique.class/instance/description.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -description - self subclassResponsibility \ No newline at end of file diff --git a/SmartTest.package/SmTNeedTestsCritique.class/instance/icon.st b/SmartTest.package/SmTNeedTestsCritique.class/instance/icon.st deleted file mode 100644 index c1a5ac0..0000000 --- a/SmartTest.package/SmTNeedTestsCritique.class/instance/icon.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -icon - ^#warning asIcon \ No newline at end of file diff --git a/SmartTest.package/SmTNeedTestsCritique.class/instance/providesChange.st b/SmartTest.package/SmTNeedTestsCritique.class/instance/providesChange.st deleted file mode 100644 index 823c0e5..0000000 --- a/SmartTest.package/SmTNeedTestsCritique.class/instance/providesChange.st +++ /dev/null @@ -1,3 +0,0 @@ -testing -providesChange - ^false \ No newline at end of file diff --git a/SmartTest.package/SmTNeedTestsCritique.class/instance/title.st b/SmartTest.package/SmTNeedTestsCritique.class/instance/title.st deleted file mode 100644 index e531037..0000000 --- a/SmartTest.package/SmTNeedTestsCritique.class/instance/title.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -title - self subclassResponsibility \ No newline at end of file diff --git a/SmartTest.package/SmTNeedTestsCritique.class/properties.json b/SmartTest.package/SmTNeedTestsCritique.class/properties.json deleted file mode 100644 index b2b1fa6..0000000 --- a/SmartTest.package/SmTNeedTestsCritique.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "BenoitVerhaeghe 7/4/2017 10:06", - "super" : "ReAbstractCritique", - "category" : "SmartTest-Critiques", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTNeedTestsCritique", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest.package/SmTNoCacheStrategy.class/README.md b/SmartTest.package/SmTNoCacheStrategy.class/README.md deleted file mode 100644 index ae56a32..0000000 --- a/SmartTest.package/SmTNoCacheStrategy.class/README.md +++ /dev/null @@ -1 +0,0 @@ -This strategy never adds the tests found to the cache. \ No newline at end of file diff --git a/SmartTest.package/SmTNoCacheStrategy.class/instance/at..st b/SmartTest.package/SmTNoCacheStrategy.class/instance/at..st deleted file mode 100644 index ce8949d..0000000 --- a/SmartTest.package/SmTNoCacheStrategy.class/instance/at..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -at: aMethodReference - ^ Set new \ No newline at end of file diff --git a/SmartTest.package/SmTNoCacheStrategy.class/instance/at.ifAbsent..st b/SmartTest.package/SmTNoCacheStrategy.class/instance/at.ifAbsent..st deleted file mode 100644 index 85485da..0000000 --- a/SmartTest.package/SmTNoCacheStrategy.class/instance/at.ifAbsent..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -at: aCompiled ifAbsent: aBlock - ^ aBlock value \ No newline at end of file diff --git a/SmartTest.package/SmTNoCacheStrategy.class/instance/at.ifPresent..st b/SmartTest.package/SmTNoCacheStrategy.class/instance/at.ifPresent..st deleted file mode 100644 index e532dde..0000000 --- a/SmartTest.package/SmTNoCacheStrategy.class/instance/at.ifPresent..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -at: aMethodReference ifPresent: aPresentBlock - ^ nil \ No newline at end of file diff --git a/SmartTest.package/SmTNoCacheStrategy.class/instance/at.ifPresent.ifAbsent..st b/SmartTest.package/SmTNoCacheStrategy.class/instance/at.ifPresent.ifAbsent..st deleted file mode 100644 index 1790837..0000000 --- a/SmartTest.package/SmTNoCacheStrategy.class/instance/at.ifPresent.ifAbsent..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -at: key ifPresent: aPresentBlock ifAbsent: anAbsentBlock - ^ anAbsentBlock value \ No newline at end of file diff --git a/SmartTest.package/SmTNoCacheStrategy.class/instance/at.put..st b/SmartTest.package/SmTNoCacheStrategy.class/instance/at.put..st deleted file mode 100644 index 4040fef..0000000 --- a/SmartTest.package/SmTNoCacheStrategy.class/instance/at.put..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -at: aMethodReference put: aCacheElement - ^ self \ No newline at end of file diff --git a/SmartTest.package/SmTNoCacheStrategy.class/instance/currentCache.st b/SmartTest.package/SmTNoCacheStrategy.class/instance/currentCache.st deleted file mode 100644 index dc9533e..0000000 --- a/SmartTest.package/SmTNoCacheStrategy.class/instance/currentCache.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -currentCache - ^ Dictionary new \ No newline at end of file diff --git a/SmartTest.package/SmTNoCacheStrategy.class/instance/relevantTestsFor..st b/SmartTest.package/SmTNoCacheStrategy.class/instance/relevantTestsFor..st deleted file mode 100644 index c47ce96..0000000 --- a/SmartTest.package/SmTNoCacheStrategy.class/instance/relevantTestsFor..st +++ /dev/null @@ -1,3 +0,0 @@ -private -relevantTestsFor: aCompiledMethod - ^ Set new \ No newline at end of file diff --git a/SmartTest.package/SmTNoCacheStrategy.class/instance/searchTestsForMethodReference..st b/SmartTest.package/SmTNoCacheStrategy.class/instance/searchTestsForMethodReference..st deleted file mode 100644 index f30a1fa..0000000 --- a/SmartTest.package/SmTNoCacheStrategy.class/instance/searchTestsForMethodReference..st +++ /dev/null @@ -1,3 +0,0 @@ -private -searchTestsForMethodReference: aMethodReference - ^ Set new \ No newline at end of file diff --git a/SmartTest.package/SmTNoCacheStrategy.class/properties.json b/SmartTest.package/SmTNoCacheStrategy.class/properties.json deleted file mode 100644 index d1bc08f..0000000 --- a/SmartTest.package/SmTNoCacheStrategy.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/3/2018 10:01", - "super" : "SmTCacheStrategy", - "category" : "SmartTest-Cache", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTNoCacheStrategy", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest.package/SmTNoFilter.class/README.md b/SmartTest.package/SmTNoFilter.class/README.md deleted file mode 100644 index a22b544..0000000 --- a/SmartTest.package/SmTNoFilter.class/README.md +++ /dev/null @@ -1 +0,0 @@ -This filter is "useless" because it does not filter anything: it looks everywhere in the image \ No newline at end of file diff --git a/SmartTest.package/SmTNoFilter.class/instance/shouldEntityBeFilteredOut.inPackages..st b/SmartTest.package/SmTNoFilter.class/instance/shouldEntityBeFilteredOut.inPackages..st deleted file mode 100644 index cd37653..0000000 --- a/SmartTest.package/SmTNoFilter.class/instance/shouldEntityBeFilteredOut.inPackages..st +++ /dev/null @@ -1,5 +0,0 @@ -asserting -shouldEntityBeFilteredOut: anEntity inPackages: anObject - "(anEntity methodClass allCallsOn collect: #ciPackage) not." - - ^ false \ No newline at end of file diff --git a/SmartTest.package/SmTNoFilter.class/properties.json b/SmartTest.package/SmTNoFilter.class/properties.json deleted file mode 100644 index c2bbcf0..0000000 --- a/SmartTest.package/SmTNoFilter.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/3/2018 17:59", - "super" : "SmTFilterStrategy", - "category" : "SmartTest-Filter", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTNoFilter", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest.package/SmTReflectivityTestFinderStrategy.class/README.md b/SmartTest.package/SmTReflectivityTestFinderStrategy.class/README.md deleted file mode 100644 index ec5d680..0000000 --- a/SmartTest.package/SmTReflectivityTestFinderStrategy.class/README.md +++ /dev/null @@ -1,2 +0,0 @@ -I'm a dynamic finder. -I use the meta link to discover the coverage of Test \ No newline at end of file diff --git a/SmartTest.package/SmTReflectivityTestFinderStrategy.class/class/isConcreteFinder.st b/SmartTest.package/SmTReflectivityTestFinderStrategy.class/class/isConcreteFinder.st deleted file mode 100644 index 37fb41d..0000000 --- a/SmartTest.package/SmTReflectivityTestFinderStrategy.class/class/isConcreteFinder.st +++ /dev/null @@ -1,3 +0,0 @@ -testing -isConcreteFinder - ^ true \ No newline at end of file diff --git a/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/analyseAndRemoveProxyFor..st b/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/analyseAndRemoveProxyFor..st deleted file mode 100644 index e7eebe3..0000000 --- a/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/analyseAndRemoveProxyFor..st +++ /dev/null @@ -1,3 +0,0 @@ -api -analyseAndRemoveProxyFor: aTestCase - MetaLink uninstallAll \ No newline at end of file diff --git a/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/buildCacheFromTestSuite..st b/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/buildCacheFromTestSuite..st deleted file mode 100644 index 77049d9..0000000 --- a/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/buildCacheFromTestSuite..st +++ /dev/null @@ -1,4 +0,0 @@ -api -buildCacheFromTestSuite: aTestSuite - aTestSuite flatCollectTests do: [ :aTestCase | self installProxyFor: aTestCase. aTestCase run ]. - MetaLink uninstallAll \ No newline at end of file diff --git a/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/collectAllRelativePackages..st b/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/collectAllRelativePackages..st deleted file mode 100644 index 4518d8a..0000000 --- a/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/collectAllRelativePackages..st +++ /dev/null @@ -1,3 +0,0 @@ -search -collectAllRelativePackages: aByteString - ^ RPackageOrganizer default packages select: [ :a | (self filter extractPackageBaseName: a packageName) = aByteString ] \ No newline at end of file diff --git a/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/collectRelativeTestMethodOfMethods..st b/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/collectRelativeTestMethodOfMethods..st deleted file mode 100644 index 11d57b9..0000000 --- a/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/collectRelativeTestMethodOfMethods..st +++ /dev/null @@ -1,7 +0,0 @@ -search -collectRelativeTestMethodOfMethods: methods - ^ (((methods collect: [ :aMethod | aMethod asTestMethod ]) - select: [ :aTestMethod | aTestMethod isNotNil ]) - reject: [ :aTestMethod | self isCORAMethodBlacklisted: aTestMethod ]) - asSet - collect: [ :method | method methodClass selector: method selector ] \ No newline at end of file diff --git a/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/extractCompiledMethodFromReceiver.andSelector..st b/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/extractCompiledMethodFromReceiver.andSelector..st deleted file mode 100644 index a2c0813..0000000 --- a/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/extractCompiledMethodFromReceiver.andSelector..st +++ /dev/null @@ -1,4 +0,0 @@ -api -extractCompiledMethodFromReceiver: receiver andSelector: selector - " (self class environment at: aSendNode receiver methodNode compiledMethod) lookupSelector: aSendNode selector" - ^ receiver class lookupSelector: selector \ No newline at end of file diff --git a/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/extractCurrentTestExecutionFromContext..st b/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/extractCurrentTestExecutionFromContext..st deleted file mode 100644 index 3eea595..0000000 --- a/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/extractCurrentTestExecutionFromContext..st +++ /dev/null @@ -1,6 +0,0 @@ -api -extractCurrentTestExecutionFromContext: ctxt - | aTestCase aCompiledTestCase | - aTestCase := ctxt arguments at: 1. - aCompiledTestCase := aTestCase class >> aTestCase selector. - ^ aCompiledTestCase compiledMethod \ No newline at end of file diff --git a/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/initializeLink.st b/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/initializeLink.st deleted file mode 100644 index 108907a..0000000 --- a/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/initializeLink.st +++ /dev/null @@ -1,14 +0,0 @@ -initialization -initializeLink - | link | - link := MetaLink new - metaObject: [ :ctxt | - | aCompiledTestCase | - aCompiledTestCase := self extractCurrentTestExecutionFromContext: ctxt. - self initializeLinkInCompiledMethod: aCompiledTestCase. - self currentTestExecution: aCompiledTestCase ]; - selector: #value:; - arguments: #(context); - level: 0; - optionOneShot: true. - (TestExecutionEnvironment >> #runTestCase:) ast link: link \ No newline at end of file diff --git a/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/initializeLinkInCompiledMethod..st b/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/initializeLinkInCompiledMethod..st deleted file mode 100644 index 16f53cc..0000000 --- a/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/initializeLinkInCompiledMethod..st +++ /dev/null @@ -1,15 +0,0 @@ -initialization -initializeLinkInCompiledMethod: aCompiledMethod - | link | - link := MetaLink new - metaObject: [ :receiver :selector | - | receiverCompiledMethod | - receiverCompiledMethod := self extractCompiledMethodFromReceiver: receiver andSelector: selector. - (self isCompiledMethod: receiverCompiledMethod alreadyExploredForTest: self currentTestExecution) - ifFalse: [ self initializeLinkInCompiledMethod: receiverCompiledMethod ]. - self addATest: self currentTestExecution toMethod: receiverCompiledMethod ]; - selector: #value:value:; - arguments: #(receiver selector); - level: 0; - optionOneShot: true. - aCompiledMethod sendNodes do: [ :node | node link: link ] \ No newline at end of file diff --git a/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/installLinkAndRunTest..st b/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/installLinkAndRunTest..st deleted file mode 100644 index b33c55b..0000000 --- a/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/installLinkAndRunTest..st +++ /dev/null @@ -1,9 +0,0 @@ -api -installLinkAndRunTest: aTestMethod - | testEnv | - self currentTestExecution: aTestMethod. - self initializeLinkInCompiledMethod: (aTestMethod class >> aTestMethod selector). - - testEnv := TestExecutionEnvironment new. - [testEnv beActiveDuring: [ - testEnv runTestCase: aTestMethod]] on: Exception do: [ ]. \ No newline at end of file diff --git a/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/installProxyFor..st b/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/installProxyFor..st deleted file mode 100644 index 91f5b58..0000000 --- a/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/installProxyFor..st +++ /dev/null @@ -1,5 +0,0 @@ -api -installProxyFor: aTestCase - self currentTestExecution: aTestCase. - self addATest: aTestCase toMethod: aTestCase. - self initializeLinkInCompiledMethod: aTestCase class >> aTestCase selector \ No newline at end of file diff --git a/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/isCORAMethodBlacklisted..st b/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/isCORAMethodBlacklisted..st deleted file mode 100644 index b5ebb25..0000000 --- a/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/isCORAMethodBlacklisted..st +++ /dev/null @@ -1,3 +0,0 @@ -testing -isCORAMethodBlacklisted: aCompiledMethod - ^ (aCompiledMethod pragmaAt: #CORATestBlacklisted) isNotNil \ No newline at end of file diff --git a/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/isCompiledMethod.alreadyExploredForTest..st b/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/isCompiledMethod.alreadyExploredForTest..st deleted file mode 100644 index 1c9c5d0..0000000 --- a/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/isCompiledMethod.alreadyExploredForTest..st +++ /dev/null @@ -1,6 +0,0 @@ -testing -isCompiledMethod: receiverCompiledMethod alreadyExploredForTest: testInstance - self cache - at: receiverCompiledMethod methodReference - ifPresent: [ :aSetOfTestInstance | ^ aSetOfTestInstance includes: (testInstance class >> testInstance selector) methodReference ] - ifAbsent: [ ^ false ] \ No newline at end of file diff --git a/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/methodsInSimilarPackageAs..st b/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/methodsInSimilarPackageAs..st deleted file mode 100644 index 3a33eaf..0000000 --- a/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/methodsInSimilarPackageAs..st +++ /dev/null @@ -1,8 +0,0 @@ -private -methodsInSimilarPackageAs: aCompiledMethod - - | packageBaseName packages | - packageBaseName := self filter extractCompiledMethodPackageBaseName: aCompiledMethod. - packages := self collectAllRelativePackages: packageBaseName. - ^ packages - flatCollect: [ :aPackage | aPackage package correspondingRPackage methods ] \ No newline at end of file diff --git a/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/searchRelativeTestForMethod..st b/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/searchRelativeTestForMethod..st deleted file mode 100644 index d860b54..0000000 --- a/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/searchRelativeTestForMethod..st +++ /dev/null @@ -1,11 +0,0 @@ -search -searchRelativeTestForMethod: aCompiledMethod - "Search for only one package and NOT relative others method" - - | methods | - - methods := self methodsInSimilarPackageAs: aCompiledMethod. - ((self collectRelativeTestMethodOfMethods: methods) asOrderedCollection sort: [ :a :b | a printString < b printString ]) - do: [ :aTestMethod | self installLinkAndRunTest: aTestMethod ] - displayingProgress: [ :aClass | 'Processing ' , aClass asString ] - every: 1 \ No newline at end of file diff --git a/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/searchTestsForAStandardMethod..st b/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/searchTestsForAStandardMethod..st deleted file mode 100644 index b7f774b..0000000 --- a/SmartTest.package/SmTReflectivityTestFinderStrategy.class/instance/searchTestsForAStandardMethod..st +++ /dev/null @@ -1,6 +0,0 @@ -private -searchTestsForAStandardMethod: aCompiledMethod - self cache - at: aCompiledMethod methodReference - ifAbsent: [ self searchRelativeTestForMethod: aCompiledMethod ]. - ^ (self searchTestsForMethod: aCompiledMethod) collect: #compiledMethod \ No newline at end of file diff --git a/SmartTest.package/SmTReflectivityTestFinderStrategy.class/properties.json b/SmartTest.package/SmTReflectivityTestFinderStrategy.class/properties.json deleted file mode 100644 index 0d9c006..0000000 --- a/SmartTest.package/SmTReflectivityTestFinderStrategy.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/2/2018 13:42", - "super" : "SmTTestFinderDynamicStrategy", - "category" : "SmartTest-Finder", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTReflectivityTestFinderStrategy", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest.package/SmTRelativeTestsCritique.class/README.md b/SmartTest.package/SmTRelativeTestsCritique.class/README.md deleted file mode 100644 index 56ceb36..0000000 --- a/SmartTest.package/SmTRelativeTestsCritique.class/README.md +++ /dev/null @@ -1 +0,0 @@ -I represent a critique when there are tests to run for an entity \ No newline at end of file diff --git a/SmartTest.package/SmTRelativeTestsCritique.class/class/for.by.tests..st b/SmartTest.package/SmTRelativeTestsCritique.class/class/for.by.tests..st deleted file mode 100644 index 43eadaf..0000000 --- a/SmartTest.package/SmTRelativeTestsCritique.class/class/for.by.tests..st +++ /dev/null @@ -1,5 +0,0 @@ -instance creation -for: anEntity by: aRule tests: aTestList - ^ self basicNew - initializeRule: aRule target: anEntity testsList: aTestList; - yourself \ No newline at end of file diff --git a/SmartTest.package/SmTRelativeTestsCritique.class/instance/actions.st b/SmartTest.package/SmTRelativeTestsCritique.class/instance/actions.st deleted file mode 100644 index 883d9d8..0000000 --- a/SmartTest.package/SmTRelativeTestsCritique.class/instance/actions.st +++ /dev/null @@ -1,10 +0,0 @@ -actions -actions - ^ super actions - copyWith: - (RePropertyAction new - icon: #smallWindow asIcon; - description: 'Open Tests Selection'; - action: - [ :crit :package | self openTestsWindowWith: tests ]; - yourself) \ No newline at end of file diff --git a/SmartTest.package/SmTRelativeTestsCritique.class/instance/description.st b/SmartTest.package/SmTRelativeTestsCritique.class/instance/description.st deleted file mode 100644 index f9cc81c..0000000 --- a/SmartTest.package/SmTRelativeTestsCritique.class/instance/description.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -description - self subclassResponsibility \ No newline at end of file diff --git a/SmartTest.package/SmTRelativeTestsCritique.class/instance/icon.st b/SmartTest.package/SmTRelativeTestsCritique.class/instance/icon.st deleted file mode 100644 index 55351b3..0000000 --- a/SmartTest.package/SmTRelativeTestsCritique.class/instance/icon.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -icon - - ^#smallInfo asIcon \ No newline at end of file diff --git a/SmartTest.package/SmTRelativeTestsCritique.class/instance/iconicButtons.st b/SmartTest.package/SmTRelativeTestsCritique.class/instance/iconicButtons.st deleted file mode 100644 index 1b8a590..0000000 --- a/SmartTest.package/SmTRelativeTestsCritique.class/instance/iconicButtons.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -iconicButtons - self testButton: (SmTIconFabric createIconForMethods: self tests). - ^ {self testButton} \ No newline at end of file diff --git a/SmartTest.package/SmTRelativeTestsCritique.class/instance/initializeRule.target.testsList..st b/SmartTest.package/SmTRelativeTestsCritique.class/instance/initializeRule.target.testsList..st deleted file mode 100644 index edae14b..0000000 --- a/SmartTest.package/SmTRelativeTestsCritique.class/instance/initializeRule.target.testsList..st +++ /dev/null @@ -1,4 +0,0 @@ -initialization -initializeRule: aRule target: anEntity testsList: aTestList - self initializeRule: aRule target: anEntity. - tests := aTestList \ No newline at end of file diff --git a/SmartTest.package/SmTRelativeTestsCritique.class/instance/openTestsWindowWith..st b/SmartTest.package/SmTRelativeTestsCritique.class/instance/openTestsWindowWith..st deleted file mode 100644 index 6f45cca..0000000 --- a/SmartTest.package/SmTRelativeTestsCritique.class/instance/openTestsWindowWith..st +++ /dev/null @@ -1,6 +0,0 @@ -actions -openTestsWindowWith: aTestList - | ui | - ui := SmTAutoTestsWindows new. - ui setList: aTestList. - ui openWithSpec. \ No newline at end of file diff --git a/SmartTest.package/SmTRelativeTestsCritique.class/instance/providesChange.st b/SmartTest.package/SmTRelativeTestsCritique.class/instance/providesChange.st deleted file mode 100644 index 823c0e5..0000000 --- a/SmartTest.package/SmTRelativeTestsCritique.class/instance/providesChange.st +++ /dev/null @@ -1,3 +0,0 @@ -testing -providesChange - ^false \ No newline at end of file diff --git a/SmartTest.package/SmTRelativeTestsCritique.class/instance/testButton..st b/SmartTest.package/SmTRelativeTestsCritique.class/instance/testButton..st deleted file mode 100644 index 112f67d..0000000 --- a/SmartTest.package/SmTRelativeTestsCritique.class/instance/testButton..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -testButton: anObject - testButton := anObject \ No newline at end of file diff --git a/SmartTest.package/SmTRelativeTestsCritique.class/instance/testButton.st b/SmartTest.package/SmTRelativeTestsCritique.class/instance/testButton.st deleted file mode 100644 index e6c1b88..0000000 --- a/SmartTest.package/SmTRelativeTestsCritique.class/instance/testButton.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -testButton - ^ testButton \ No newline at end of file diff --git a/SmartTest.package/SmTRelativeTestsCritique.class/instance/tests..st b/SmartTest.package/SmTRelativeTestsCritique.class/instance/tests..st deleted file mode 100644 index 36f35ea..0000000 --- a/SmartTest.package/SmTRelativeTestsCritique.class/instance/tests..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -tests: anObject - tests := anObject \ No newline at end of file diff --git a/SmartTest.package/SmTRelativeTestsCritique.class/instance/tests.st b/SmartTest.package/SmTRelativeTestsCritique.class/instance/tests.st deleted file mode 100644 index a473a35..0000000 --- a/SmartTest.package/SmTRelativeTestsCritique.class/instance/tests.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -tests - ^ tests \ No newline at end of file diff --git a/SmartTest.package/SmTRelativeTestsCritique.class/instance/title.st b/SmartTest.package/SmTRelativeTestsCritique.class/instance/title.st deleted file mode 100644 index 096fe81..0000000 --- a/SmartTest.package/SmTRelativeTestsCritique.class/instance/title.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -title - ^ 'You should run these tests' \ No newline at end of file diff --git a/SmartTest.package/SmTRelativeTestsCritique.class/properties.json b/SmartTest.package/SmTRelativeTestsCritique.class/properties.json deleted file mode 100644 index 8d544ee..0000000 --- a/SmartTest.package/SmTRelativeTestsCritique.class/properties.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "commentStamp" : "BenoitVerhaeghe 7/4/2017 10:06", - "super" : "ReAbstractCritique", - "category" : "SmartTest-Critiques", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "tests", - "testButton" - ], - "name" : "SmTRelativeTestsCritique", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest.package/SmTRules.class/README.md b/SmartTest.package/SmTRules.class/README.md deleted file mode 100644 index 6315e87..0000000 --- a/SmartTest.package/SmTRules.class/README.md +++ /dev/null @@ -1 +0,0 @@ -I represent a kind of CORA structure \ No newline at end of file diff --git a/SmartTest.package/SmTRules.class/class/activated..st b/SmartTest.package/SmTRules.class/class/activated..st deleted file mode 100644 index 5c94b9e..0000000 --- a/SmartTest.package/SmTRules.class/class/activated..st +++ /dev/null @@ -1,3 +0,0 @@ -settings -activated: aSelector - ^ Activated := aSelector \ No newline at end of file diff --git a/SmartTest.package/SmTRules.class/class/activated.st b/SmartTest.package/SmTRules.class/class/activated.st deleted file mode 100644 index 75af3dc..0000000 --- a/SmartTest.package/SmTRules.class/class/activated.st +++ /dev/null @@ -1,3 +0,0 @@ -settings -activated - ^ Activated ifNil: [ Activated := true ] \ No newline at end of file diff --git a/SmartTest.package/SmTRules.class/class/cacheStrategy..st b/SmartTest.package/SmTRules.class/class/cacheStrategy..st deleted file mode 100644 index 2b3db01..0000000 --- a/SmartTest.package/SmTRules.class/class/cacheStrategy..st +++ /dev/null @@ -1,4 +0,0 @@ -settings -cacheStrategy: aSelector - self testFinder cacheStrategy: aSelector new. - ^ smTCache := aSelector \ No newline at end of file diff --git a/SmartTest.package/SmTRules.class/class/cacheStrategy.st b/SmartTest.package/SmTRules.class/class/cacheStrategy.st deleted file mode 100644 index 712f025..0000000 --- a/SmartTest.package/SmTRules.class/class/cacheStrategy.st +++ /dev/null @@ -1,3 +0,0 @@ -settings -cacheStrategy - ^ smTCache ifNil: [ smTCache := SmTBasicCacheStrategy ] \ No newline at end of file diff --git a/SmartTest.package/SmTRules.class/class/fillCache.st b/SmartTest.package/SmTRules.class/class/fillCache.st deleted file mode 100644 index 40e803d..0000000 --- a/SmartTest.package/SmTRules.class/class/fillCache.st +++ /dev/null @@ -1,5 +0,0 @@ -instance creation -fillCache - SmTSelectPackageBrowser openWithSmartFinder: self testFinder - - \ No newline at end of file diff --git a/SmartTest.package/SmTRules.class/class/filter..st b/SmartTest.package/SmTRules.class/class/filter..st deleted file mode 100644 index 8aa4c30..0000000 --- a/SmartTest.package/SmTRules.class/class/filter..st +++ /dev/null @@ -1,5 +0,0 @@ -settings -filter: aSelector - self testFinder filter: aSelector new. - self propagateRegexToTestFinder. - ^ smTFilter := aSelector \ No newline at end of file diff --git a/SmartTest.package/SmTRules.class/class/filter.st b/SmartTest.package/SmTRules.class/class/filter.st deleted file mode 100644 index 8e793e2..0000000 --- a/SmartTest.package/SmTRules.class/class/filter.st +++ /dev/null @@ -1,3 +0,0 @@ -settings -filter - ^ smTFilter ifNil: [ smTFilter := SmTIcebergLoadedPackagesFilter ] \ No newline at end of file diff --git a/SmartTest.package/SmTRules.class/class/finder..st b/SmartTest.package/SmTRules.class/class/finder..st deleted file mode 100644 index b8c687d..0000000 --- a/SmartTest.package/SmTRules.class/class/finder..st +++ /dev/null @@ -1,5 +0,0 @@ -settings -finder: aSelector - smTFinder := aSelector. - self testFinder smtFinder: aSelector new. - ^ smTFinder \ No newline at end of file diff --git a/SmartTest.package/SmTRules.class/class/finder.st b/SmartTest.package/SmTRules.class/class/finder.st deleted file mode 100644 index 4aadb8a..0000000 --- a/SmartTest.package/SmTRules.class/class/finder.st +++ /dev/null @@ -1,3 +0,0 @@ -settings -finder - ^ smTFinder ifNil: [ smTFinder := SmTSenderTestFinderStrategy ] \ No newline at end of file diff --git a/SmartTest.package/SmTRules.class/class/packagesRegex..st b/SmartTest.package/SmTRules.class/class/packagesRegex..st deleted file mode 100644 index 3e917be..0000000 --- a/SmartTest.package/SmTRules.class/class/packagesRegex..st +++ /dev/null @@ -1,4 +0,0 @@ -settings -packagesRegex: aRegexStringCollection - collectionOfRegex := aRegexStringCollection. - self propagateRegexToTestFinder. \ No newline at end of file diff --git a/SmartTest.package/SmTRules.class/class/packagesRegex.st b/SmartTest.package/SmTRules.class/class/packagesRegex.st deleted file mode 100644 index 03131c4..0000000 --- a/SmartTest.package/SmTRules.class/class/packagesRegex.st +++ /dev/null @@ -1,3 +0,0 @@ -settings -packagesRegex -^ collectionOfRegex ifNil: [ collectionOfRegex := '' ] \ No newline at end of file diff --git a/SmartTest.package/SmTRules.class/class/propagateRegexToTestFinder.st b/SmartTest.package/SmTRules.class/class/propagateRegexToTestFinder.st deleted file mode 100644 index 8604048..0000000 --- a/SmartTest.package/SmTRules.class/class/propagateRegexToTestFinder.st +++ /dev/null @@ -1,4 +0,0 @@ -settings -propagateRegexToTestFinder - self testFinder filter class = SmTSpecifyPackagesNameFilter - ifTrue: [ self testFinder filter packagesRegex: self packagesRegex ] \ No newline at end of file diff --git a/SmartTest.package/SmTRules.class/class/runner..st b/SmartTest.package/SmTRules.class/class/runner..st deleted file mode 100644 index 9336ee1..0000000 --- a/SmartTest.package/SmTRules.class/class/runner..st +++ /dev/null @@ -1,4 +0,0 @@ -settings -runner: aSelector - smTTestRunner := aSelector. - self testFinder testRunner: aSelector \ No newline at end of file diff --git a/SmartTest.package/SmTRules.class/class/runner.st b/SmartTest.package/SmTRules.class/class/runner.st deleted file mode 100644 index 1705755..0000000 --- a/SmartTest.package/SmTRules.class/class/runner.st +++ /dev/null @@ -1,3 +0,0 @@ -settings -runner - ^ smTTestRunner ifNil: [ smTTestRunner := SmTRunnerStrategySmart ] \ No newline at end of file diff --git a/SmartTest.package/SmTRules.class/class/settingsOn..st b/SmartTest.package/SmTRules.class/class/settingsOn..st deleted file mode 100644 index 16cea8e..0000000 --- a/SmartTest.package/SmTRules.class/class/settingsOn..st +++ /dev/null @@ -1,97 +0,0 @@ -settings -settingsOn: aBuilder - - (aBuilder group: #SmartTest) - with: [ (aBuilder group: #SmartFinder) - order: 7; - with: [ (aBuilder pickOne: #finder) - order: 0; - label: 'SmartTest finder'; - target: self; - parent: #SmartFinder; - domainValues: (SmTTestFinderStrategy allSubclasses select: #isConcreteFinder); - description: 'The finder defines how CORA searchs the relative test of a method'. - (aBuilder pickOne: #cacheStrategy) - order: 2; - label: 'SmartTest Cache'; - target: self; - parent: #SmartFinder; - domainValues: SmTCacheStrategy allSubclasses; - description: - 'To visualize the current cache - SmTCacheSettings cache new currentCache'. - (aBuilder pickOne: #runner) - order: 3; - label: 'SmartTest test runner'; - target: self; - parent: #SmartFinder; - domainValues: SmTRunnerStrategy allSubclasses; - description: 'The test runner defines if the tests are run in a debug way or not'. - (aBuilder pickOne: #strategy) - order: 1; - label: 'SmartTest testing strategy'; - target: self; - parent: #SmartFinder; - domainValues: SmTTestingStrategy allSubclasses; - description: 'The testing strategy defines when SmartTest will run the test it has found.'. - (aBuilder pickOne: #filter) - order: 0.5; - label: 'SmartTest filter'; - target: self; - parent: #SmTFilter; - domainValues: SmTFilterStrategy allSubclasses; - description: 'The testing strategy defines when SmartTest will run the test it has found.' ]. - (aBuilder setting: #packagesRegex) - label: 'SmartTest filter Regex configuration'; - target: self; - parent: #SmTFilter; - ghostHelp: 'SmartTe|Star*Wnrs'; - notInStyle; - default: ''; - description: - 'Change the value to scope the package you want to explore. -If you want to check the packages are well detected,run - SmTFilterSpecifyPackageSettings selectedPackage'. - (aBuilder group: #SmTActivationRenrakuOption) - order: 6; - with: [ (aBuilder setting: #activated) - target: self; - order: 0.01; - label: 'SmartTest Reneraku Integration Activated'; - description: 'Toogle to activate/disable the reneraku integration of the plugin' ]. - (aBuilder setting: #shouldTryToFindTestForDynamic) - parent: 'Beta'; - target: self; - order: 0.04; - label: 'Try to find for Dynamic '; - description: - 'When you click in a method, and have selected a Dynamix finder, we''''are updating the cache for it execution - (BETA)'. - (aBuilder group: #fill) - label: 'Fill cache'; - target: self; - parent: #Beta; - dialog: [ SimpleButtonMorph new - target: self; - label: 'Fill cache'; - actionSelector: #fillCache; - themeChanged; - yourself ]; - description: 'Fill the cache with selected package' ]. - (aBuilder group: #reset) - label: 'Reset Cache'; - target: self; - parent: #SmartTest; - order: 9; - dialog: [ SimpleButtonMorph new - target: self testFinder; - label: 'Reset Current SmartTest Cache'; - actionSelector: #resetCache; - themeChanged; - yourself ]; - description: - 'Reset the cache of SmartTest - SmTRules testFinder currentCache'. - (aBuilder group: #Beta) - parent: #SmartTest; - order: 10 \ No newline at end of file diff --git a/SmartTest.package/SmTRules.class/class/shouldTryToFindTestForDynamic..st b/SmartTest.package/SmTRules.class/class/shouldTryToFindTestForDynamic..st deleted file mode 100644 index 20e024b..0000000 --- a/SmartTest.package/SmTRules.class/class/shouldTryToFindTestForDynamic..st +++ /dev/null @@ -1,4 +0,0 @@ -instance creation -shouldTryToFindTestForDynamic: aBoolean - shouldTryToFindTestForDynamic := aBoolean. - self testFinder shouldTryToFindTestForDynamic: aBoolean. \ No newline at end of file diff --git a/SmartTest.package/SmTRules.class/class/shouldTryToFindTestForDynamic.st b/SmartTest.package/SmTRules.class/class/shouldTryToFindTestForDynamic.st deleted file mode 100644 index 468604a..0000000 --- a/SmartTest.package/SmTRules.class/class/shouldTryToFindTestForDynamic.st +++ /dev/null @@ -1,3 +0,0 @@ -instance creation -shouldTryToFindTestForDynamic - ^ shouldTryToFindTestForDynamic ifNil: [ shouldTryToFindTestForDynamic := true ] \ No newline at end of file diff --git a/SmartTest.package/SmTRules.class/class/strategy..st b/SmartTest.package/SmTRules.class/class/strategy..st deleted file mode 100644 index b52bbd5..0000000 --- a/SmartTest.package/SmTRules.class/class/strategy..st +++ /dev/null @@ -1,4 +0,0 @@ -settings -strategy: aSelector - smTClassTestingStrategy := aSelector. - self testFinder testingStrategy: aSelector new \ No newline at end of file diff --git a/SmartTest.package/SmTRules.class/class/strategy.st b/SmartTest.package/SmTRules.class/class/strategy.st deleted file mode 100644 index 6f9d9dd..0000000 --- a/SmartTest.package/SmTRules.class/class/strategy.st +++ /dev/null @@ -1,3 +0,0 @@ -settings -strategy - ^ smTClassTestingStrategy ifNil: [ smTClassTestingStrategy := SmTTestingStrategyEachModification ] \ No newline at end of file diff --git a/SmartTest.package/SmTRules.class/class/testFinder..st b/SmartTest.package/SmTRules.class/class/testFinder..st deleted file mode 100644 index cd3be6d..0000000 --- a/SmartTest.package/SmTRules.class/class/testFinder..st +++ /dev/null @@ -1,5 +0,0 @@ -instance creation -testFinder: aSmTSmartFinder - "It should be used only for tests" - - SmTSmartFinder := aSmTSmartFinder \ No newline at end of file diff --git a/SmartTest.package/SmTRules.class/class/testFinder.st b/SmartTest.package/SmTRules.class/class/testFinder.st deleted file mode 100644 index 752b452..0000000 --- a/SmartTest.package/SmTRules.class/class/testFinder.st +++ /dev/null @@ -1,9 +0,0 @@ -instance creation -testFinder - ^ SmTSmartFinder ifNil: [ SmTSmartFinder := SmartFinder new - cacheStrategy: self cacheStrategy new; - filter: self filter new; - testRunner: self runner; - smtFinder: self finder new; - testingStrategy: self strategy new; - shouldTryToFindTestForDynamic: self shouldTryToFindTestForDynamic ] \ No newline at end of file diff --git a/SmartTest.package/SmTRules.class/class/unload.st b/SmartTest.package/SmTRules.class/class/unload.st deleted file mode 100644 index e3b94ca..0000000 --- a/SmartTest.package/SmTRules.class/class/unload.st +++ /dev/null @@ -1,3 +0,0 @@ -initialize - release -unload - self testFinder clean \ No newline at end of file diff --git a/SmartTest.package/SmTRules.class/instance/activated.st b/SmartTest.package/SmTRules.class/instance/activated.st deleted file mode 100644 index 23fa300..0000000 --- a/SmartTest.package/SmTRules.class/instance/activated.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -activated - ^ self class activated \ No newline at end of file diff --git a/SmartTest.package/SmTRules.class/instance/basicCheck..st b/SmartTest.package/SmTRules.class/instance/basicCheck..st deleted file mode 100644 index 1957c26..0000000 --- a/SmartTest.package/SmTRules.class/instance/basicCheck..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -basicCheck: anEntity - ^ self activated and: [ self isOnNautilusOrCalypso ] \ No newline at end of file diff --git a/SmartTest.package/SmTRules.class/instance/findTestsForMethod..st b/SmartTest.package/SmTRules.class/instance/findTestsForMethod..st deleted file mode 100644 index 2a81bcf..0000000 --- a/SmartTest.package/SmTRules.class/instance/findTestsForMethod..st +++ /dev/null @@ -1,3 +0,0 @@ -initialize-release -findTestsForMethod: aCompiledMethod - ^ tests := self class testFinder findTestsForMethod: aCompiledMethod \ No newline at end of file diff --git a/SmartTest.package/SmTRules.class/instance/isOnNautilusOrCalypso.st b/SmartTest.package/SmTRules.class/instance/isOnNautilusOrCalypso.st deleted file mode 100644 index 2aaade6..0000000 --- a/SmartTest.package/SmTRules.class/instance/isOnNautilusOrCalypso.st +++ /dev/null @@ -1,6 +0,0 @@ -accessing -isOnNautilusOrCalypso - "20 items means at least Nautilus" - | he | - he := thisContext stack collect: [ :c | c methodClass asString ] . - ^ he anySatisfy: [:el | 'ClyNavigationEnvironment' match: el] \ No newline at end of file diff --git a/SmartTest.package/SmTRules.class/instance/isVisible.st b/SmartTest.package/SmTRules.class/instance/isVisible.st deleted file mode 100644 index d343d46..0000000 --- a/SmartTest.package/SmTRules.class/instance/isVisible.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -isVisible - ^ false \ No newline at end of file diff --git a/SmartTest.package/SmTRules.class/instance/severity.st b/SmartTest.package/SmTRules.class/instance/severity.st deleted file mode 100644 index 77a1f44..0000000 --- a/SmartTest.package/SmTRules.class/instance/severity.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -severity - - ^ #information \ No newline at end of file diff --git a/SmartTest.package/SmTRules.class/instance/tests.st b/SmartTest.package/SmTRules.class/instance/tests.st deleted file mode 100644 index a473a35..0000000 --- a/SmartTest.package/SmTRules.class/instance/tests.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -tests - ^ tests \ No newline at end of file diff --git a/SmartTest.package/SmTRules.class/properties.json b/SmartTest.package/SmTRules.class/properties.json deleted file mode 100644 index 149b0e7..0000000 --- a/SmartTest.package/SmTRules.class/properties.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "commentStamp" : "BenoitVerhaeghe 7/13/2017 14:21", - "super" : "ReAbstractRule", - "category" : "SmartTest-Rules", - "classinstvars" : [ - "shouldTryToFindTestForDynamic", - "activated", - "smTCache", - "smTClassTestingStrategy", - "smTFilter", - "smTFinder", - "smTTestRunner", - "collectionOfRegex" - ], - "pools" : [ ], - "classvars" : [ - "Activated", - "SmTSmartFinder" - ], - "instvars" : [ - "tests" - ], - "name" : "SmTRules", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest.package/SmTRunnerStrategy.class/README.md b/SmartTest.package/SmTRunnerStrategy.class/README.md deleted file mode 100644 index 06f2095..0000000 --- a/SmartTest.package/SmTRunnerStrategy.class/README.md +++ /dev/null @@ -1 +0,0 @@ -I'm a tool which help the plugin to run tests and return the result of them \ No newline at end of file diff --git a/SmartTest.package/SmTRunnerStrategy.class/class/colorForTestResultOf..st b/SmartTest.package/SmTRunnerStrategy.class/class/colorForTestResultOf..st deleted file mode 100644 index e1be221..0000000 --- a/SmartTest.package/SmTRunnerStrategy.class/class/colorForTestResultOf..st +++ /dev/null @@ -1,9 +0,0 @@ -accessing -colorForTestResultOf: aTestResult - aTestResult hasErrors - ifTrue: [ ^ Color red ]. - aTestResult hasFailures - ifTrue: [ ^ Color yellow]. - aTestResult hasPassed - ifTrue: [ ^ Color green ]. - ^ Color gray \ No newline at end of file diff --git a/SmartTest.package/SmTRunnerStrategy.class/class/iconForTestFromTestCaseHistory..st b/SmartTest.package/SmTRunnerStrategy.class/class/iconForTestFromTestCaseHistory..st deleted file mode 100644 index 08b9e26..0000000 --- a/SmartTest.package/SmTRunnerStrategy.class/class/iconForTestFromTestCaseHistory..st +++ /dev/null @@ -1,9 +0,0 @@ -accessing -iconForTestFromTestCaseHistory: aTestCase - (aTestCase class methodRaisedError: aTestCase selector) - ifTrue: [ ^ #testRedIcon ]. - (aTestCase class methodFailed: aTestCase selector) - ifTrue: [ ^ #testYellowIcon ]. - (aTestCase class methodPassed: aTestCase selector) - ifTrue: [ ^ #testGreenIcon ]. - ^ #testNotRunIcon \ No newline at end of file diff --git a/SmartTest.package/SmTRunnerStrategy.class/class/iconForTestFromTestsCasesHistory..st b/SmartTest.package/SmTRunnerStrategy.class/class/iconForTestFromTestsCasesHistory..st deleted file mode 100644 index 08e427d..0000000 --- a/SmartTest.package/SmTRunnerStrategy.class/class/iconForTestFromTestsCasesHistory..st +++ /dev/null @@ -1,15 +0,0 @@ -accessing -iconForTestFromTestsCasesHistory: aCollectionOfTestCase - | iconType tempColor | - iconType := #testNotRunIcon. - aCollectionOfTestCase - do: [ :aTestCase | - tempColor := self iconForTestFromTestCaseHistory: aTestCase. - (tempColor = #testNotRunIcon) - ifTrue: [ ^ #testNotRunIcon ]. - (tempColor = #testRedIcon) - ifTrue: [ iconType := #testRedIcon ]. - (iconType = #testRedIcon) - ifFalse: [ (tempColor = #testYellowIcon) - ifTrue: [ iconType := #testYellowIcon ] ifFalse: [ iconType := tempColor ] ] ]. - ^ iconType \ No newline at end of file diff --git a/SmartTest.package/SmTRunnerStrategy.class/class/iconForTestResultOf..st b/SmartTest.package/SmTRunnerStrategy.class/class/iconForTestResultOf..st deleted file mode 100644 index 27f03fc..0000000 --- a/SmartTest.package/SmTRunnerStrategy.class/class/iconForTestResultOf..st +++ /dev/null @@ -1,9 +0,0 @@ -accessing -iconForTestResultOf: aTestResult - aTestResult hasErrors - ifTrue: [ ^ self iconNamed: #testRedIcon ]. - aTestResult hasFailures - ifTrue: [ ^ self iconNamed: #testYellowIcon ]. - aTestResult hasPassed - ifTrue: [ ^ self iconNamed: #testGreenIcon ]. - ^ self iconNamed: #testNotRunIcon. \ No newline at end of file diff --git a/SmartTest.package/SmTRunnerStrategy.class/class/notifyTitle.contents..st b/SmartTest.package/SmTRunnerStrategy.class/class/notifyTitle.contents..st deleted file mode 100644 index a3e37b5..0000000 --- a/SmartTest.package/SmTRunnerStrategy.class/class/notifyTitle.contents..st +++ /dev/null @@ -1,19 +0,0 @@ -action -notifyTitle: title contents: aTestResult - - | contents | - contents := aTestResult tests size > 3 - ifTrue: [ String streamContents: [ :aStream | - aStream - << aTestResult tests size - << ' tests in: '. - (aTestResult tests collect: #class as: Set) - do: [ :eachClass | aStream << eachClass name ] - separatedBy: [ aStream << ', ' ] ] ] - ifFalse: [ aTestResult ]. - - GrowlMorph - openWithLabel: title - contents: contents - backgroundColor: (self colorForTestResultOf: aTestResult ) - labelColor: Color black \ No newline at end of file diff --git a/SmartTest.package/SmTRunnerStrategy.class/class/runCase.notifyIcon..st b/SmartTest.package/SmTRunnerStrategy.class/class/runCase.notifyIcon..st deleted file mode 100644 index 5290675..0000000 --- a/SmartTest.package/SmTRunnerStrategy.class/class/runCase.notifyIcon..st +++ /dev/null @@ -1,11 +0,0 @@ -action -runCase: aTestMethod notifyIcon: anIcon - | aTestResult | - - aTestResult := TestResult new. - [ aTestResult runCaseForDebug: aTestMethod ] - ensure: [ anIcon labelGraphic: (self iconForTestResultOf: aTestResult) ]. - anIcon labelGraphic: (self iconForTestResultOf: aTestResult). - aTestResult updateResultsInHistory. - self notifyTitle: 'SmartTest Execution' contents: aTestResult. - ^aTestResult. \ No newline at end of file diff --git a/SmartTest.package/SmTRunnerStrategy.class/class/runCases..st b/SmartTest.package/SmTRunnerStrategy.class/class/runCases..st deleted file mode 100644 index d19e09c..0000000 --- a/SmartTest.package/SmTRunnerStrategy.class/class/runCases..st +++ /dev/null @@ -1,8 +0,0 @@ -action -runCases: aTestCollection - | aTestResult | - aTestResult := TestResult new. - aTestCollection do: [ :aTest |aTestResult runCase: aTest ]. - aTestResult updateResultsInHistory. - self notifyTitle: 'SmartTest Execution' contents: aTestResult. - ^aTestResult \ No newline at end of file diff --git a/SmartTest.package/SmTRunnerStrategy.class/class/runCases.notifyIcon..st b/SmartTest.package/SmTRunnerStrategy.class/class/runCases.notifyIcon..st deleted file mode 100644 index c03828d..0000000 --- a/SmartTest.package/SmTRunnerStrategy.class/class/runCases.notifyIcon..st +++ /dev/null @@ -1,6 +0,0 @@ -action -runCases: aTestCollection notifyIcon: anIcon - | aTestResult | - aTestResult := self runCases: aTestCollection. - anIcon labelGraphic: (self iconForTestResultOf: aTestResult ) . - ^aTestResult \ No newline at end of file diff --git a/SmartTest.package/SmTRunnerStrategy.class/properties.json b/SmartTest.package/SmTRunnerStrategy.class/properties.json deleted file mode 100644 index 989708f..0000000 --- a/SmartTest.package/SmTRunnerStrategy.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "BenoitVerhaeghe 6/28/2017 15:44", - "super" : "Object", - "category" : "SmartTest-Runner", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTRunnerStrategy", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest.package/SmTRunnerStrategyDebug.class/README.md b/SmartTest.package/SmTRunnerStrategyDebug.class/README.md deleted file mode 100644 index af06d62..0000000 --- a/SmartTest.package/SmTRunnerStrategyDebug.class/README.md +++ /dev/null @@ -1 +0,0 @@ -When a test is run by CORA. If it failled, the debugger will open. \ No newline at end of file diff --git a/SmartTest.package/SmTRunnerStrategyDebug.class/class/runCases..st b/SmartTest.package/SmTRunnerStrategyDebug.class/class/runCases..st deleted file mode 100644 index 3d79efc..0000000 --- a/SmartTest.package/SmTRunnerStrategyDebug.class/class/runCases..st +++ /dev/null @@ -1,8 +0,0 @@ -action -runCases: aTestCollection - | aTestResult | - aTestResult := TestResult new. - aTestCollection do: [ :aTest |aTestResult runCaseForDebug: aTest ]. - aTestResult updateResultsInHistory. - self notifyTitle: 'SmartTest Execution' contents: aTestResult. - ^aTestResult \ No newline at end of file diff --git a/SmartTest.package/SmTRunnerStrategyDebug.class/properties.json b/SmartTest.package/SmTRunnerStrategyDebug.class/properties.json deleted file mode 100644 index 2a8af7a..0000000 --- a/SmartTest.package/SmTRunnerStrategyDebug.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "BenoitVerhaeghe 7/13/2017 14:20", - "super" : "SmTRunnerStrategy", - "category" : "SmartTest-Runner", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTRunnerStrategyDebug", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest.package/SmTRunnerStrategyNotice.class/README.md b/SmartTest.package/SmTRunnerStrategyNotice.class/README.md deleted file mode 100644 index 32f3aaa..0000000 --- a/SmartTest.package/SmTRunnerStrategyNotice.class/README.md +++ /dev/null @@ -1 +0,0 @@ -When a test is run by CORA. If it failled, nothing happen \ No newline at end of file diff --git a/SmartTest.package/SmTRunnerStrategyNotice.class/class/runCase.notifyIcon..st b/SmartTest.package/SmTRunnerStrategyNotice.class/class/runCase.notifyIcon..st deleted file mode 100644 index 925fb80..0000000 --- a/SmartTest.package/SmTRunnerStrategyNotice.class/class/runCase.notifyIcon..st +++ /dev/null @@ -1,10 +0,0 @@ -action -runCase: aTestMethod notifyIcon: anIcon - | aTestResult | - aTestResult := TestResult new. - [ aTestResult runCase: aTestMethod ] - ensure: [ anIcon labelGraphic: (self iconForTestResultOf: aTestResult) ]. - anIcon labelGraphic: (self iconForTestResultOf: aTestResult). - aTestResult updateResultsInHistory. - self notifyTitle: 'SmartTest Execution' contents: aTestResult. - ^aTestResult. \ No newline at end of file diff --git a/SmartTest.package/SmTRunnerStrategyNotice.class/properties.json b/SmartTest.package/SmTRunnerStrategyNotice.class/properties.json deleted file mode 100644 index 9b65280..0000000 --- a/SmartTest.package/SmTRunnerStrategyNotice.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "BenoitVerhaeghe 7/13/2017 14:20", - "super" : "SmTRunnerStrategy", - "category" : "SmartTest-Runner", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTRunnerStrategyNotice", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest.package/SmTRunnerStrategySmart.class/README.md b/SmartTest.package/SmTRunnerStrategySmart.class/README.md deleted file mode 100644 index d31f6db..0000000 --- a/SmartTest.package/SmTRunnerStrategySmart.class/README.md +++ /dev/null @@ -1 +0,0 @@ -When a test is run by CORA. If it failled and it was run from the test selection windows, the debugger will open. Nothing else \ No newline at end of file diff --git a/SmartTest.package/SmTRunnerStrategySmart.class/properties.json b/SmartTest.package/SmTRunnerStrategySmart.class/properties.json deleted file mode 100644 index bb8c246..0000000 --- a/SmartTest.package/SmTRunnerStrategySmart.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "BenoitVerhaeghe 7/13/2017 14:21", - "super" : "SmTRunnerStrategy", - "category" : "SmartTest-Runner", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTRunnerStrategySmart", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest.package/SmTSelectPackageBrowser.class/README.md b/SmartTest.package/SmTSelectPackageBrowser.class/README.md deleted file mode 100644 index 1a61282..0000000 --- a/SmartTest.package/SmTSelectPackageBrowser.class/README.md +++ /dev/null @@ -1 +0,0 @@ -I'm a tool that helps in selecting the packages that are going to be searched. \ No newline at end of file diff --git a/SmartTest.package/SmTSelectPackageBrowser.class/class/openWithSmartFinder..st b/SmartTest.package/SmTSelectPackageBrowser.class/class/openWithSmartFinder..st deleted file mode 100644 index 1218ea9..0000000 --- a/SmartTest.package/SmTSelectPackageBrowser.class/class/openWithSmartFinder..st +++ /dev/null @@ -1,6 +0,0 @@ -opening -openWithSmartFinder: aSmartFinder - self new - smartFinder: aSmartFinder; - items: RPackageOrganizer default packages; - openWithSpec \ No newline at end of file diff --git a/SmartTest.package/SmTSelectPackageBrowser.class/instance/addAllItems.st b/SmartTest.package/SmTSelectPackageBrowser.class/instance/addAllItems.st deleted file mode 100644 index d442fcb..0000000 --- a/SmartTest.package/SmTSelectPackageBrowser.class/instance/addAllItems.st +++ /dev/null @@ -1,8 +0,0 @@ -api -addAllItems - | tmp | - tmp := self sort: selectedModel listItems withAll: toSelectModel listItems. - selectedModel items: tmp. - toSelectModel items: #(). - toSelectModel updateList. - selectedModel updateList \ No newline at end of file diff --git a/SmartTest.package/SmTSelectPackageBrowser.class/instance/addItems.st b/SmartTest.package/SmTSelectPackageBrowser.class/instance/addItems.st deleted file mode 100644 index 9130793..0000000 --- a/SmartTest.package/SmTSelectPackageBrowser.class/instance/addItems.st +++ /dev/null @@ -1,8 +0,0 @@ -accessing -addItems - toSelectModel selectedItems - ifNotNil: [ :items | - selectedModel items: (self sort: selectedModel listItems withAll: items). - toSelectModel items: (self sort: toSelectModel listItems withoutAll: items) ]. - toSelectModel updateList. - selectedModel updateList \ No newline at end of file diff --git a/SmartTest.package/SmTSelectPackageBrowser.class/instance/createTestSuiteFrom..st b/SmartTest.package/SmTSelectPackageBrowser.class/instance/createTestSuiteFrom..st deleted file mode 100644 index e000a0f..0000000 --- a/SmartTest.package/SmTSelectPackageBrowser.class/instance/createTestSuiteFrom..st +++ /dev/null @@ -1,6 +0,0 @@ -api -createTestSuiteFrom: listItem - | testSuite | - testSuite := TestSuite new. - testSuite addTests: ((listItem flatCollect: #methods) select: #isTestMethod thenCollect: #asTestCase). - ^ testSuite \ No newline at end of file diff --git a/SmartTest.package/SmTSelectPackageBrowser.class/instance/initialize.st b/SmartTest.package/SmTSelectPackageBrowser.class/instance/initialize.st deleted file mode 100644 index f9cc3f2..0000000 --- a/SmartTest.package/SmTSelectPackageBrowser.class/instance/initialize.st +++ /dev/null @@ -1,13 +0,0 @@ -initialization -initialize - | wrappingBlock testPackage | - super initialize. - toSelectModel := self instantiate: ListPresenter. - selectedModel := self instantiate: ListPresenter. - selectedModel beMultipleSelection. - toSelectModel beMultipleSelection. - wrappingBlock := [ :package | package packageName ]. - toSelectModel displayBlock: wrappingBlock. - selectedModel displayBlock: wrappingBlock. - testPackage := MCWorkingCopy allManagers reject: [ :package | '*Test*' match: package packageName ]. - toSelectModel items: (self sort: (toSelectModel listItems \ testPackage)) \ No newline at end of file diff --git a/SmartTest.package/SmTSelectPackageBrowser.class/instance/nextAction.st b/SmartTest.package/SmTSelectPackageBrowser.class/instance/nextAction.st deleted file mode 100644 index 8f8278d..0000000 --- a/SmartTest.package/SmTSelectPackageBrowser.class/instance/nextAction.st +++ /dev/null @@ -1,9 +0,0 @@ -api -nextAction - | past testSuite | - testSuite := self createTestSuiteFrom: selectedModel listItems. - past := smartFinder smtFinder. - smartFinder smtFinder: SmTReflectivityTestFinderStrategy new. - smartFinder buildCacheFromTestSuite: testSuite. - smartFinder smtFinder: past. - self delete \ No newline at end of file diff --git a/SmartTest.package/SmTSelectPackageBrowser.class/instance/removeAllItems.st b/SmartTest.package/SmTSelectPackageBrowser.class/instance/removeAllItems.st deleted file mode 100644 index b063120..0000000 --- a/SmartTest.package/SmTSelectPackageBrowser.class/instance/removeAllItems.st +++ /dev/null @@ -1,8 +0,0 @@ -accessing -removeAllItems - | tmp | - tmp := self sort: toSelectModel listItems withAll: selectedModel listItems. - toSelectModel items: tmp. - selectedModel items: #(). - toSelectModel updateList. - selectedModel updateList \ No newline at end of file diff --git a/SmartTest.package/SmTSelectPackageBrowser.class/instance/removeItems.st b/SmartTest.package/SmTSelectPackageBrowser.class/instance/removeItems.st deleted file mode 100644 index 98920fc..0000000 --- a/SmartTest.package/SmTSelectPackageBrowser.class/instance/removeItems.st +++ /dev/null @@ -1,8 +0,0 @@ -accessing -removeItems - selectedModel selectedItems - ifNotNil: [ :items | - toSelectModel items: (self sort: toSelectModel listItems withAll: items). - selectedModel items: (self sort: selectedModel listItems withoutAll: items) ]. - toSelectModel updateList. - selectedModel updateList \ No newline at end of file diff --git a/SmartTest.package/SmTSelectPackageBrowser.class/instance/smartFinder..st b/SmartTest.package/SmTSelectPackageBrowser.class/instance/smartFinder..st deleted file mode 100644 index 344b9d2..0000000 --- a/SmartTest.package/SmTSelectPackageBrowser.class/instance/smartFinder..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -smartFinder: anObject - smartFinder := anObject \ No newline at end of file diff --git a/SmartTest.package/SmTSelectPackageBrowser.class/instance/smartFinder.st b/SmartTest.package/SmTSelectPackageBrowser.class/instance/smartFinder.st deleted file mode 100644 index c5302f3..0000000 --- a/SmartTest.package/SmTSelectPackageBrowser.class/instance/smartFinder.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -smartFinder - ^ smartFinder \ No newline at end of file diff --git a/SmartTest.package/SmTSelectPackageBrowser.class/instance/sort..st b/SmartTest.package/SmTSelectPackageBrowser.class/instance/sort..st deleted file mode 100644 index 1208739..0000000 --- a/SmartTest.package/SmTSelectPackageBrowser.class/instance/sort..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -sort: aCollection - ^ aCollection asOrderedCollection sort: [:e1 :e2 | (e1 asString) < (e2 asString)]. \ No newline at end of file diff --git a/SmartTest.package/SmTSelectPackageBrowser.class/instance/sort.withAll..st b/SmartTest.package/SmTSelectPackageBrowser.class/instance/sort.withAll..st deleted file mode 100644 index 6690419..0000000 --- a/SmartTest.package/SmTSelectPackageBrowser.class/instance/sort.withAll..st +++ /dev/null @@ -1,7 +0,0 @@ -accessing -sort: aCollection withAll: anotherCollection - ^ self - sort: - (aCollection asOrderedCollection - addAll: anotherCollection; - yourself) \ No newline at end of file diff --git a/SmartTest.package/SmTSelectPackageBrowser.class/instance/sort.withoutAll..st b/SmartTest.package/SmTSelectPackageBrowser.class/instance/sort.withoutAll..st deleted file mode 100644 index 560a365..0000000 --- a/SmartTest.package/SmTSelectPackageBrowser.class/instance/sort.withoutAll..st +++ /dev/null @@ -1,7 +0,0 @@ -accessing -sort: aCollection withoutAll: anotherCollection - ^ self - sort: - (aCollection asOrderedCollection - removeAll: anotherCollection; - yourself) \ No newline at end of file diff --git a/SmartTest.package/SmTSelectPackageBrowser.class/properties.json b/SmartTest.package/SmTSelectPackageBrowser.class/properties.json deleted file mode 100644 index 88e9fbd..0000000 --- a/SmartTest.package/SmTSelectPackageBrowser.class/properties.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/3/2018 14:30", - "super" : "SelectBrowser", - "category" : "SmartTest-Tools", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "smartFinder" - ], - "name" : "SmTSelectPackageBrowser", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest.package/SmTSenderTestFinderStrategy.class/README.md b/SmartTest.package/SmTSenderTestFinderStrategy.class/README.md deleted file mode 100644 index e673479..0000000 --- a/SmartTest.package/SmTSenderTestFinderStrategy.class/README.md +++ /dev/null @@ -1,3 +0,0 @@ -I work as ChangeImpact. -I'm looking for sender of sender etc. -I'm not well tested, but I'm fast and can help you for quick testing. \ No newline at end of file diff --git a/SmartTest.package/SmTSenderTestFinderStrategy.class/class/isConcreteFinder.st b/SmartTest.package/SmTSenderTestFinderStrategy.class/class/isConcreteFinder.st deleted file mode 100644 index 37fb41d..0000000 --- a/SmartTest.package/SmTSenderTestFinderStrategy.class/class/isConcreteFinder.st +++ /dev/null @@ -1,3 +0,0 @@ -testing -isConcreteFinder - ^ true \ No newline at end of file diff --git a/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/collectSenderOfRGMethodeDefintion..st b/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/collectSenderOfRGMethodeDefintion..st deleted file mode 100644 index c9067f8..0000000 --- a/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/collectSenderOfRGMethodeDefintion..st +++ /dev/null @@ -1,6 +0,0 @@ -private - search -collectSenderOfRGMethodeDefintion: aRGMethodDefinition - ^ aRGMethodDefinition isInitializer - ifTrue: [ { SystemNavigation default allReferencesTo: aRGMethodDefinition methodClass binding. - aRGMethodDefinition senders} asSet flattened ] - ifFalse: [ aRGMethodDefinition senders ] \ No newline at end of file diff --git a/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/methodsFor.forThePackage..st b/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/methodsFor.forThePackage..st deleted file mode 100644 index c0edec8..0000000 --- a/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/methodsFor.forThePackage..st +++ /dev/null @@ -1,28 +0,0 @@ -api -methodsFor: aCompiledMethod forThePackage: packages - self flag: '24 july 2018 - What is this method ? If useless i or from another project i will remove it'. - - ^ self cache - at: aCompiledMethod methodReference - ifAbsent: [ (self searchTestsForATestMethod: aCompiledMethod) - ifNotEmpty: [ :methods | - ^ (self searchTestsForMethod: aCompiledMethod) - addAll: (self computeInheritedTestFromDiscoveredTest: methods); - yourself ]. - (self searchTestsForASetUpMethod: aCompiledMethod) - ifNotEmpty: [ :methods | - ^ (self searchTestsForMethod: aCompiledMethod) - addAll: (self computeInheritedTestFromDiscoveredTest: methods); - yourself ]. - (self searchTestsForATearDownMethod: aCompiledMethod) - ifNotEmpty: [ :methods | - ^ (self searchTestsForMethod: aCompiledMethod) - addAll: (self computeInheritedTestFromDiscoveredTest: methods); - yourself ]. - (self recursiveSearchForAStandardMethod: (aCompiledMethod asRingDefinition) inPackages: packages ) - ifNotEmpty: [ :methods | - ^ (self searchTestsForMethod: aCompiledMethod) - addAll: (self computeInheritedTestFromDiscoveredTest: methods); - yourself ]. - self cache at: aCompiledMethod methodReference put: Set new. - ^ {} ] \ No newline at end of file diff --git a/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAStandardMethod.inPackages..st b/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAStandardMethod.inPackages..st deleted file mode 100644 index 90ea373..0000000 --- a/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAStandardMethod.inPackages..st +++ /dev/null @@ -1,3 +0,0 @@ -private - search -recursiveSearchForAStandardMethod: aRGMethodDefinition inPackages: packages - ^ self recursiveSearchForAStandardMethod: aRGMethodDefinition inPackages: packages alreadyVisited: Set new \ No newline at end of file diff --git a/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAStandardMethod.inPackages.alreadyVisited..st b/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAStandardMethod.inPackages.alreadyVisited..st deleted file mode 100644 index 3f09e2c..0000000 --- a/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/recursiveSearchForAStandardMethod.inPackages.alreadyVisited..st +++ /dev/null @@ -1,15 +0,0 @@ -private - search -recursiveSearchForAStandardMethod: aRGMethodDefinition inPackages: packages alreadyVisited: alreadyVisitedMethods - | foundMethods | - self cache at: aRGMethodDefinition ifPresent: [ :a | ^ a ]. - foundMethods := Set new. - (self collectSenderOfRGMethodeDefintion: aRGMethodDefinition) - reject: [ :aSenderMethod | - | reject | - reject := (filter shouldEntityBeFilteredOut: aSenderMethod inPackages: packages) or: [ alreadyVisitedMethods includes: aSenderMethod ]. - alreadyVisitedMethods add: aSenderMethod. - reject ] - thenDo: [ :aSenderRGMethodDefinition | - foundMethods add: aSenderRGMethodDefinition. - foundMethods addAll: (self recursiveSearchForAStandardMethod: aSenderRGMethodDefinition inPackages: packages alreadyVisited: alreadyVisitedMethods) ]. - ^ foundMethods \ No newline at end of file diff --git a/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/searchTestsForAStandardMethod..st b/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/searchTestsForAStandardMethod..st deleted file mode 100644 index 6706616..0000000 --- a/SmartTest.package/SmTSenderTestFinderStrategy.class/instance/searchTestsForAStandardMethod..st +++ /dev/null @@ -1,7 +0,0 @@ -API -searchTestsForAStandardMethod: aCompiledMethod - | packagesToLookAt | - packagesToLookAt := self filter extractPackagesFrom: aCompiledMethod. - ^ (self - recursiveSearchForAStandardMethod: aCompiledMethod methodReference - inPackages: packagesToLookAt ) select: #isTestMethod \ No newline at end of file diff --git a/SmartTest.package/SmTSenderTestFinderStrategy.class/properties.json b/SmartTest.package/SmTSenderTestFinderStrategy.class/properties.json deleted file mode 100644 index 5a65ea6..0000000 --- a/SmartTest.package/SmTSenderTestFinderStrategy.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "BenoitVerhaeghe 7/13/2017 14:22", - "super" : "SmTTestFinderStrategy", - "category" : "SmartTest-Finder", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTSenderTestFinderStrategy", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest.package/SmTSpecifyPackagesNameFilter.class/README.md b/SmartTest.package/SmTSpecifyPackagesNameFilter.class/README.md deleted file mode 100644 index 7c2f3e9..0000000 --- a/SmartTest.package/SmTSpecifyPackagesNameFilter.class/README.md +++ /dev/null @@ -1 +0,0 @@ -This filter only looks in the packages whose names match a given regex \ No newline at end of file diff --git a/SmartTest.package/SmTSpecifyPackagesNameFilter.class/class/packagesRegex..st b/SmartTest.package/SmTSpecifyPackagesNameFilter.class/class/packagesRegex..st deleted file mode 100644 index cc1e9c6..0000000 --- a/SmartTest.package/SmTSpecifyPackagesNameFilter.class/class/packagesRegex..st +++ /dev/null @@ -1,5 +0,0 @@ -settings-definition -packagesRegex: aRegexStringCollection - ^ self new - packagesRegex: aRegexStringCollection; - yourself \ No newline at end of file diff --git a/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/extractPackagesFrom..st b/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/extractPackagesFrom..st deleted file mode 100644 index b6a3a80..0000000 --- a/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/extractPackagesFrom..st +++ /dev/null @@ -1,3 +0,0 @@ -asserting -extractPackagesFrom: aCompiledMethod - ^ self packages. \ No newline at end of file diff --git a/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/packages.st b/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/packages.st deleted file mode 100644 index a95f07a..0000000 --- a/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/packages.st +++ /dev/null @@ -1,6 +0,0 @@ -accessing -packages - "Return the collection of package that was find from the settings" - - - ^ self selectedPackages \ No newline at end of file diff --git a/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/packagesRegex..st b/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/packagesRegex..st deleted file mode 100644 index b85808c..0000000 --- a/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/packagesRegex..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -packagesRegex: anObject - packagesRegex := anObject \ No newline at end of file diff --git a/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/packagesRegex.st b/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/packagesRegex.st deleted file mode 100644 index 7242357..0000000 --- a/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/packagesRegex.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -packagesRegex - ^ packagesRegex \ No newline at end of file diff --git a/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/selectedPackages.st b/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/selectedPackages.st deleted file mode 100644 index a3134ec..0000000 --- a/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/selectedPackages.st +++ /dev/null @@ -1,7 +0,0 @@ -accessing -selectedPackages - ^ (RPackageOrganizer default packages - flatCollect: [ :package | - package classTags - select: [ :classTag | self packagesRegex asRegex matchesPrefix: classTag categoryName ] - thenCollect: #categoryName ]) asSet \ No newline at end of file diff --git a/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/shouldEntityBeFilteredOut.inPackages..st b/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/shouldEntityBeFilteredOut.inPackages..st deleted file mode 100644 index 3d3f208..0000000 --- a/SmartTest.package/SmTSpecifyPackagesNameFilter.class/instance/shouldEntityBeFilteredOut.inPackages..st +++ /dev/null @@ -1,5 +0,0 @@ -accessing -shouldEntityBeFilteredOut: anEntity inPackages: anObject - "(anEntity methodClass allCallsOn collect: #ciPackage) not." - (anEntity isClass) ifTrue:[^ (self packages includes: anEntity category) not]. - ^ (self packages includes: anEntity methodClass category) not \ No newline at end of file diff --git a/SmartTest.package/SmTSpecifyPackagesNameFilter.class/properties.json b/SmartTest.package/SmTSpecifyPackagesNameFilter.class/properties.json deleted file mode 100644 index 27ca52a..0000000 --- a/SmartTest.package/SmTSpecifyPackagesNameFilter.class/properties.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/3/2018 18:09", - "super" : "SmTFilterStrategy", - "category" : "SmartTest-Filter", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "packagesRegex", - "selectedPackages" - ], - "name" : "SmTSpecifyPackagesNameFilter", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest.package/SmTTestCoverage.class/README.md b/SmartTest.package/SmTTestCoverage.class/README.md deleted file mode 100644 index ad5d226..0000000 --- a/SmartTest.package/SmTTestCoverage.class/README.md +++ /dev/null @@ -1 +0,0 @@ -I'm a tool that help configure the finder for the TestCoverage strategy. \ No newline at end of file diff --git a/SmartTest.package/SmTTestCoverage.class/instance/finder..st b/SmartTest.package/SmTTestCoverage.class/instance/finder..st deleted file mode 100644 index 18735bb..0000000 --- a/SmartTest.package/SmTTestCoverage.class/instance/finder..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -finder: aSmTFinder - finder := aSmTFinder \ No newline at end of file diff --git a/SmartTest.package/SmTTestCoverage.class/instance/finder.st b/SmartTest.package/SmTTestCoverage.class/instance/finder.st deleted file mode 100644 index a435954..0000000 --- a/SmartTest.package/SmTTestCoverage.class/instance/finder.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -finder - ^ finder \ No newline at end of file diff --git a/SmartTest.package/SmTTestCoverage.class/instance/mark.st b/SmartTest.package/SmTTestCoverage.class/instance/mark.st deleted file mode 100644 index 68c9ce0..0000000 --- a/SmartTest.package/SmTTestCoverage.class/instance/mark.st +++ /dev/null @@ -1,6 +0,0 @@ -accessing -mark - hasRun - ifFalse: [ hasRun := true. - self finder - addToCurrentExecutionMethodReference: reference ] \ No newline at end of file diff --git a/SmartTest.package/SmTTestCoverage.class/instance/run.with.in..st b/SmartTest.package/SmTTestCoverage.class/instance/run.with.in..st deleted file mode 100644 index 7ce6723..0000000 --- a/SmartTest.package/SmTTestCoverage.class/instance/run.with.in..st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -run: aSelector with: anArray in: aReceiver - self mark. - ^ aReceiver withArgs: anArray executeMethod: method \ No newline at end of file diff --git a/SmartTest.package/SmTTestCoverage.class/properties.json b/SmartTest.package/SmTTestCoverage.class/properties.json deleted file mode 100644 index f79da6c..0000000 --- a/SmartTest.package/SmTTestCoverage.class/properties.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/3/2018 14:29", - "super" : "HDTestCoverage", - "category" : "SmartTest-Tools", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "finder" - ], - "name" : "SmTTestCoverage", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/README.md b/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/README.md deleted file mode 100644 index df51272..0000000 --- a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/README.md +++ /dev/null @@ -1,13 +0,0 @@ -The Wrapper strategy is a dynamic test regression finder. - -It only does the reseach for method one by one. - - ts := TestSuite new. -ts addTest: (SmTClassTest selector: #testMethod1). -ts addTest: (SmTClassTest selector: #testMethod2). -ts addTest: (SmTClassTest selector: #testMethod3). -ts addTest: (SmTClassTest selector: #testMethod4). -sf := SmartFinder new. -sf smtFinder: SmTTestCoverageTestFinderStrategy new. -sf buildCacheFromTestSuite: ts. -sf cacheValues \ No newline at end of file diff --git a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/class/collectPackageWithBaseName..st b/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/class/collectPackageWithBaseName..st deleted file mode 100644 index 53b1a66..0000000 --- a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/class/collectPackageWithBaseName..st +++ /dev/null @@ -1,3 +0,0 @@ -protocol -collectPackageWithBaseName: aBaseNamePackage - ^ RPackageOrganizer default packages select: [ :p | aBaseNamePackage,'*' match: p packageName ] \ No newline at end of file diff --git a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/class/collectPackagesFromName..st b/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/class/collectPackagesFromName..st deleted file mode 100644 index 92f10fc..0000000 --- a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/class/collectPackagesFromName..st +++ /dev/null @@ -1,3 +0,0 @@ -protocol -collectPackagesFromName: aPackageName - ^ self collectPackageWithBaseName: (self extractPackageBaseName: aPackageName) \ No newline at end of file diff --git a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/class/extractPackageBaseName..st b/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/class/extractPackageBaseName..st deleted file mode 100644 index 8480e2f..0000000 --- a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/class/extractPackageBaseName..st +++ /dev/null @@ -1,3 +0,0 @@ -protocol -extractPackageBaseName: aPackageName - ^(aPackageName substrings: '-') at: 1 \ No newline at end of file diff --git a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/class/isConcreteFinder.st b/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/class/isConcreteFinder.st deleted file mode 100644 index 32dcc3d..0000000 --- a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/class/isConcreteFinder.st +++ /dev/null @@ -1,3 +0,0 @@ -protocol -isConcreteFinder - ^ true \ No newline at end of file diff --git a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/addATest.toACollectionOfMethod..st b/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/addATest.toACollectionOfMethod..st deleted file mode 100644 index bfcc81d..0000000 --- a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/addATest.toACollectionOfMethod..st +++ /dev/null @@ -1,4 +0,0 @@ -adding -addATest: aTestCase toACollectionOfMethod: aCollectionOfCompiledMethod - aCollectionOfCompiledMethod - do: [ :aCompiledMethod | self addATest: aTestCase toMethod: aCompiledMethod ] \ No newline at end of file diff --git a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/addATest.toMethodReference..st b/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/addATest.toMethodReference..st deleted file mode 100644 index e20b9e5..0000000 --- a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/addATest.toMethodReference..st +++ /dev/null @@ -1,4 +0,0 @@ -adding -addATest: aTestCase toMethodReference: aMethodReference - (self searchTestsForMethodReference: aMethodReference) - add: aTestCase methodReference \ No newline at end of file diff --git a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/addImpactedTestFromWrapper.theTestMethod..st b/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/addImpactedTestFromWrapper.theTestMethod..st deleted file mode 100644 index c19cbf2..0000000 --- a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/addImpactedTestFromWrapper.theTestMethod..st +++ /dev/null @@ -1,8 +0,0 @@ -adding -addImpactedTestFromWrapper: aTestMethod theTestMethod: wrappers - | suite testRunner | - testRunner := TestRunner new. - suite := TestSuite new. - suite addTest: aTestMethod. - testRunner runSuite: suite. - self updateCacheAndUnmarkFrom: wrappers forMethod: aTestMethod. \ No newline at end of file diff --git a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/addRelevantTest.fromMarkedWrappers..st b/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/addRelevantTest.fromMarkedWrappers..st deleted file mode 100644 index 58a6c1b..0000000 --- a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/addRelevantTest.fromMarkedWrappers..st +++ /dev/null @@ -1,8 +0,0 @@ -jenkins -addRelevantTest: aTestMethod fromMarkedWrappers: wrappers - | suite testRunner | - testRunner := TestRunner new. - suite := TestSuite new. - suite addTest: aTestMethod. - testRunner runSuite: suite. - self updateCacheAndUnmarkFrom: wrappers forMethod: aTestMethod . diff --git a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/addToCurrentExecutionMethodReference..st b/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/addToCurrentExecutionMethodReference..st deleted file mode 100644 index 87f382b..0000000 --- a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/addToCurrentExecutionMethodReference..st +++ /dev/null @@ -1,6 +0,0 @@ -adding -addToCurrentExecutionMethodReference: aMethodReference - | he | - he := thisContext contextStack reject: [ :c | c selector = #DoIt ] thenCollect: [ :a | a method methodReference ]. - ((he includes: self currentTestExecution methodReference) or: [(he collect: #selector) includes: #buildCacheFromTestSuite:]) - ifTrue: [ self addATest: self currentTestExecution toMethodReference: aMethodReference ] \ No newline at end of file diff --git a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/analyseAndRemoveProxyFor..st b/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/analyseAndRemoveProxyFor..st deleted file mode 100644 index 27544bc..0000000 --- a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/analyseAndRemoveProxyFor..st +++ /dev/null @@ -1,4 +0,0 @@ -api -analyseAndRemoveProxyFor: aTestCase - (wrappers at: aTestCase) do: [ :each | each uninstall ]. - wrappers removeKey: aTestCase \ No newline at end of file diff --git a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/availableMethods.st b/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/availableMethods.st deleted file mode 100644 index 1a3b680..0000000 --- a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/availableMethods.st +++ /dev/null @@ -1,9 +0,0 @@ -accessing -availableMethods - "Collect the methods that can be used with the wrapper to fill completely the methodToTest dictionnary" - ^ (self availablePackages flatCollect: [ :aPackage | aPackage methods ]) - reject: [ :method | - method methodClass = SmTTestCoverage - or: [ method methodClass = SmTTestCoverageTestFinderStrategy - or: [ method methodClass = SmTTestFinderStrategy - or: [ method methodClass = SmTBasicCacheStrategy or: [ method methodClass = HDTestCoverage or: [ method methodClass = SmTTestFinderDynamicStrategy] ] ] ] ] ] \ No newline at end of file diff --git a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/availablePackages.st b/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/availablePackages.st deleted file mode 100644 index ea0719c..0000000 --- a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/availablePackages.st +++ /dev/null @@ -1,17 +0,0 @@ -accessing -availablePackages - "Collect the packages that can be used with the wrapper to fill completely the methodToTest dictionnary" - | availablePackages | - (availablePackages := RPackageOrganizer default packages - reject: [ :package | - (package packageName beginsWith: 'Kernel') - or: [ (package packageName beginsWith: 'Collections') - or: [ (package packageName beginsWith: 'GT') -or: [ (package packageName beginsWith: 'Ring') - or: [ (package packageName beginsWith: 'Regex') - or: [ (package packageName beginsWith: 'Exceptions') - or: [ (package packageName beginsWith: 'SUnit') - or: [ (package packageName beginsWith: 'System') or: [ (package packageName endsWith: 'Tests') - or: [ package packageName includesSubstring: 'HudsonBuildTools20' caseSensitive: false ] ] ] ] ] ] ] ] ] ]) - sort: [ :a :b | a packageName < b packageName ]. - ^ availablePackages \ No newline at end of file diff --git a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/availableTestMethods.st b/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/availableTestMethods.st deleted file mode 100644 index 4f8ede2..0000000 --- a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/availableTestMethods.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -availableTestMethods - "Collect the test methods that can be used with the wrapper to fill completely the methodToTest dictionnary" - ^ (self availableTestPackages flatCollect: [ :aPackage | aPackage methods ]) reject: [ :method | method methodClass = SmTTestCoverage ] \ No newline at end of file diff --git a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/availableTestPackages.st b/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/availableTestPackages.st deleted file mode 100644 index c73d77b..0000000 --- a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/availableTestPackages.st +++ /dev/null @@ -1,19 +0,0 @@ -accessing -availableTestPackages - "Collect the test packages that can be used with the wrapper to fill completely the methodToTest dictionnary" - | availablePackages | - (availablePackages := RPackageOrganizer default packages - reject: [ :package | - (package packageName beginsWith: 'Kernel') - or: [ (package packageName beginsWith: 'Collections') - or: [ (package packageName beginsWith: 'GT') - or: [ (package packageName beginsWith: 'AST') - or: [ (package packageName beginsWith: 'Athens') - or: [ (package packageName beginsWith: 'Ring') - or: [ (package packageName beginsWith: 'Alien') - or: [ (package packageName beginsWith: 'Announcements') - or: [ (package packageName beginsWith: 'Regex') - or: [ (package packageName beginsWith: 'Exceptions') - or: [ (package packageName beginsWith: 'SUnit') or: [ (package packageName beginsWith: 'System') or: [ package packageName includesSubstring: 'HudsonBuildTools20' caseSensitive: false ] ] ] ] ] ] ] ] ] ] ] ] ]) - sort: [ :a :b | a packageName < b packageName ]. - ^ availablePackages \ No newline at end of file diff --git a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/buildCacheFromTestSuite..st b/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/buildCacheFromTestSuite..st deleted file mode 100644 index 7b2adf3..0000000 --- a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/buildCacheFromTestSuite..st +++ /dev/null @@ -1,27 +0,0 @@ -api -buildCacheFromTestSuite: aTestSuite -"tr := TestRunner new. -tr open. -testSuites := tr allSelectedTestSuites. -ts := TestSuite new. -(testSuites flatCollect: [ :ts | ts tests ]) do: [ :atest | ts addTest: atest ]. -[sf := SmartFinder new. -sf smtFinder: SmTTestCoverageTestFinderStrategy new. -sf buildCacheFromTestSuite: ts. -sf cacheValues ] timeToRun -" - | listOfPackage methodToWrap | - listOfPackage := (aTestSuite flatCollectTests flatCollect: [ :aTestCase | self class collectPackagesFromName: aTestCase class package name ]) asSet collect: #packageName. - methodToWrap := Set new. - methodToWrap addAll: (self collectMethodToTestForPackagesNamed: listOfPackage). - "methodToWrap addAll: (self collectClassToTestForPackagesNamed: listOfPackage)." - methodToWrap := methodToWrap intersection: self availableMethods. - wrappers at: aTestSuite put: (methodToWrap asOrderedCollection collect: [ :each | (SmTTestCoverage on: each methodReference) finder: self ]). - (wrappers at: aTestSuite) do: [ :each | each install ] "displayingProgress: [ :aClass | 'Installing ' , aClass asString ] every: 1". - aTestSuite flatCollectTests - do: [ :aTestCase | - self currentTestExecution: aTestCase. - self addATest: aTestCase toMethodReference: aTestCase methodReference. - aTestCase run. - (wrappers at: aTestSuite) do: [ :each | each unmark ] ]. - (wrappers at: aTestSuite) do: [ :each | each uninstall ] \ No newline at end of file diff --git a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectAllRelativePackages..st b/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectAllRelativePackages..st deleted file mode 100644 index 4518d8a..0000000 --- a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectAllRelativePackages..st +++ /dev/null @@ -1,3 +0,0 @@ -search -collectAllRelativePackages: aByteString - ^ RPackageOrganizer default packages select: [ :a | (self filter extractPackageBaseName: a packageName) = aByteString ] \ No newline at end of file diff --git a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectClassToTestForPackage..st b/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectClassToTestForPackage..st deleted file mode 100644 index 63169fc..0000000 --- a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectClassToTestForPackage..st +++ /dev/null @@ -1,6 +0,0 @@ -jenkins -collectClassToTestForPackage: aPackage - (self availablePackages includes: aPackage) - ifTrue: [ ^ (aPackage classes reject: #isTrait) - flatCollect: [ :aClass | SmTClassTestedRule new methodUsingVariablesOfClass: aClass ] ]. - ^ OrderedCollection new \ No newline at end of file diff --git a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectClassToTestForPackagesNamed..st b/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectClassToTestForPackagesNamed..st deleted file mode 100644 index 76f8199..0000000 --- a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectClassToTestForPackagesNamed..st +++ /dev/null @@ -1,3 +0,0 @@ -jenkins -collectClassToTestForPackagesNamed: aCollectionOfPackagesNamed - ^ aCollectionOfPackagesNamed flatCollect: [ :aPackageName | self collectClassToTestForPackage: (self getPackageFromName: aPackageName) ] \ No newline at end of file diff --git a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectMethodToTestForPackage..st b/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectMethodToTestForPackage..st deleted file mode 100644 index 7689e16..0000000 --- a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectMethodToTestForPackage..st +++ /dev/null @@ -1,3 +0,0 @@ -jenkins -collectMethodToTestForPackage: aPackage - ^ aPackage methods \ No newline at end of file diff --git a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectMethodToTestForPackages..st b/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectMethodToTestForPackages..st deleted file mode 100644 index 1c71ebd..0000000 --- a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectMethodToTestForPackages..st +++ /dev/null @@ -1,3 +0,0 @@ -jenkins -collectMethodToTestForPackages: aCollectionOfPackage - ^ aCollectionOfPackage flatCollect: [ :aPackage | self collectMethodToTestForPackage: aPackage ] \ No newline at end of file diff --git a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectMethodToTestForPackagesNamed..st b/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectMethodToTestForPackagesNamed..st deleted file mode 100644 index cbbc40c..0000000 --- a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/collectMethodToTestForPackagesNamed..st +++ /dev/null @@ -1,3 +0,0 @@ -jenkins -collectMethodToTestForPackagesNamed: aCollectionOfPackagesName - ^ aCollectionOfPackagesName flatCollect: [ :aPackageName | self collectMethodToTestForPackage: (self getPackageFromName: aPackageName ) ] \ No newline at end of file diff --git a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/extractPackageBaseName..st b/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/extractPackageBaseName..st deleted file mode 100644 index 0e63598..0000000 --- a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/extractPackageBaseName..st +++ /dev/null @@ -1,3 +0,0 @@ -parsing -extractPackageBaseName: aPackageName - ^(aPackageName substrings: '-') at: 1 \ No newline at end of file diff --git a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/getPackageFromName..st b/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/getPackageFromName..st deleted file mode 100644 index ff8adb9..0000000 --- a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/getPackageFromName..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -getPackageFromName: aPackageName - ^ RPackage organizer packageNamed: aPackageName. \ No newline at end of file diff --git a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/initialize.st b/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/initialize.st deleted file mode 100644 index e2caed1..0000000 --- a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/initialize.st +++ /dev/null @@ -1,3 +0,0 @@ -initialization -initialize - wrappers := Dictionary new \ No newline at end of file diff --git a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/installProxyFor..st b/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/installProxyFor..st deleted file mode 100644 index ee02dce..0000000 --- a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/installProxyFor..st +++ /dev/null @@ -1,19 +0,0 @@ -api -installProxyFor: aTestCase - | methodToWrap listOfPackage | - self currentTestExecution: aTestCase. - self addATest: aTestCase toMethodReference: aTestCase methodReference. - listOfPackage := OrderedCollection new. - listOfPackage addAll: (SmalltalkImage current packages select: [ :package | package name beginsWith: (self extractPackageBaseName: (aTestCase methodReference compiledMethod package name)) ] ). - methodToWrap := Set new. - methodToWrap addAll: (self collectMethodToTestForPackagesNamed: (listOfPackage collect: #name)). - methodToWrap := methodToWrap intersection: self availableMethods. - wrappers - at: aTestCase - put: - (methodToWrap asOrderedCollection - collect: [ :each | (SmTTestCoverage on: each methodReference) finder: self ]). - ((wrappers at: aTestCase) sort: [ :a :b | a name < b name ]) - do: [ :each | each install ] - displayingProgress: [ :aClass | 'Installing ' , aClass asString ] - every: 1 \ No newline at end of file diff --git a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/methodsInSimilarPackageAs..st b/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/methodsInSimilarPackageAs..st deleted file mode 100644 index 2b77ca3..0000000 --- a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/methodsInSimilarPackageAs..st +++ /dev/null @@ -1,8 +0,0 @@ -api -methodsInSimilarPackageAs: aCompiledMethod - - | packageBaseName packages | - packageBaseName := self filter extractCompiledMethodPackageBaseName: aCompiledMethod. - packages := self collectAllRelativePackages: packageBaseName. - ^ packages - flatCollect: [ :aPackage | aPackage methods ] \ No newline at end of file diff --git a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/searchRelativeTestForMethod..st b/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/searchRelativeTestForMethod..st deleted file mode 100644 index 2c91fe1..0000000 --- a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/searchRelativeTestForMethod..st +++ /dev/null @@ -1,16 +0,0 @@ -search -searchRelativeTestForMethod: aCompiledMethod - "Search for only one package and NOT relative others method" - | methods | - methods := self methodsInSimilarPackageAs: aCompiledMethod. - - wrappers := {(HDTestCoverage on: aCompiledMethod methodReference)} asOrderedCollection. - wrappers do: [ :each | each install ]. - [ - - (self collectRelativeTestMethodOfMethods: methods) - do: [ :aTestMethod | self addImpactedTestFromWrapper: aTestMethod theTestMethod: wrappers ] - displayingProgress: [ :aClass | 'Processing ' , aClass asString ] - every: 1 - - ] ensure: [ wrappers do: [ :each | each uninstall ] ] \ No newline at end of file diff --git a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/searchTestsForAStandardMethod..st b/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/searchTestsForAStandardMethod..st deleted file mode 100644 index 0d11c84..0000000 --- a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/searchTestsForAStandardMethod..st +++ /dev/null @@ -1,4 +0,0 @@ -api -searchTestsForAStandardMethod: aCompiledMethod - self searchRelativeTestForMethod: aCompiledMethod. - ^ self searchTestsForMethod: aCompiledMethod \ No newline at end of file diff --git a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/searchTestsForClass..st b/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/searchTestsForClass..st deleted file mode 100644 index 7afb9c2..0000000 --- a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/searchTestsForClass..st +++ /dev/null @@ -1,13 +0,0 @@ -api -searchTestsForClass: aClass - "Find all tests in related packages that reference the method's class" - | allSendersClass allTests | - allSendersClass := (aClass allCallsOn - collect: [:aReference| - aReference actualClass]) asSet - select: [:aColectedClass| - (aColectedClass isKindOf: TestCase class) ]. - - allTests := OrderedCollection new. - allSendersClass do: [:aSenderClass| allTests addAll: aSenderClass allTestMethods]. - ^ allTests. \ No newline at end of file diff --git a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/updateCacheAndUnmarkFrom.forMethod..st b/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/updateCacheAndUnmarkFrom.forMethod..st deleted file mode 100644 index ae36939..0000000 --- a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/instance/updateCacheAndUnmarkFrom.forMethod..st +++ /dev/null @@ -1,6 +0,0 @@ -jenkins -updateCacheAndUnmarkFrom: wrappers forMethod: aTestMethod - | aToResetAfterMarkCollection | - aToResetAfterMarkCollection := wrappers select: [ :each | each hasRun ]. - self addATest: aTestMethod toACollectionOfMethod: aToResetAfterMarkCollection. - aToResetAfterMarkCollection do: [ :each | each unmark ] \ No newline at end of file diff --git a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/properties.json b/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/properties.json deleted file mode 100644 index 60c1e2b..0000000 --- a/SmartTest.package/SmTTestCoverageTestFinderStrategy.class/properties.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "commentStamp" : "BenoitVerhaeghe 3/15/2018 23:38", - "super" : "SmTTestFinderDynamicStrategy", - "category" : "SmartTest-Finder", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "wrappers" - ], - "name" : "SmTTestCoverageTestFinderStrategy", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest.package/SmTTestFinderDynamicStrategy.class/README.md b/SmartTest.package/SmTTestFinderDynamicStrategy.class/README.md deleted file mode 100644 index 1180292..0000000 --- a/SmartTest.package/SmTTestFinderDynamicStrategy.class/README.md +++ /dev/null @@ -1,3 +0,0 @@ -Represent a dynamic strategy - -self todo: #AddDetails \ No newline at end of file diff --git a/SmartTest.package/SmTTestFinderDynamicStrategy.class/class/isConcreteFinder.st b/SmartTest.package/SmTTestFinderDynamicStrategy.class/class/isConcreteFinder.st deleted file mode 100644 index e5c4805..0000000 --- a/SmartTest.package/SmTTestFinderDynamicStrategy.class/class/isConcreteFinder.st +++ /dev/null @@ -1,3 +0,0 @@ -testing -isConcreteFinder - ^ false \ No newline at end of file diff --git a/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/addATest.toMethod..st b/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/addATest.toMethod..st deleted file mode 100644 index a88d7d3..0000000 --- a/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/addATest.toMethod..st +++ /dev/null @@ -1,4 +0,0 @@ -api -addATest: aTestCase toMethod: aCompiledMethod - (self searchTestsForMethod: aCompiledMethod) - add: aTestCase methodReference \ No newline at end of file diff --git a/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/analyseAndRemoveProxyFor..st b/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/analyseAndRemoveProxyFor..st deleted file mode 100644 index 760e20a..0000000 --- a/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/analyseAndRemoveProxyFor..st +++ /dev/null @@ -1,3 +0,0 @@ -api -analyseAndRemoveProxyFor: aTestCase - self subclassResponsibility \ No newline at end of file diff --git a/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/buildCacheFromTestSuite..st b/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/buildCacheFromTestSuite..st deleted file mode 100644 index d9db133..0000000 --- a/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/buildCacheFromTestSuite..st +++ /dev/null @@ -1,3 +0,0 @@ -api -buildCacheFromTestSuite: aTestSuite - self subclassResponsibility \ No newline at end of file diff --git a/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/currentTestExecution..st b/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/currentTestExecution..st deleted file mode 100644 index 11fd07c..0000000 --- a/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/currentTestExecution..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -currentTestExecution: anObject - currentTestExecution := anObject \ No newline at end of file diff --git a/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/currentTestExecution.st b/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/currentTestExecution.st deleted file mode 100644 index 7112214..0000000 --- a/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/currentTestExecution.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -currentTestExecution - ^ currentTestExecution \ No newline at end of file diff --git a/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/installProxyFor..st b/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/installProxyFor..st deleted file mode 100644 index 211b385..0000000 --- a/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/installProxyFor..st +++ /dev/null @@ -1,3 +0,0 @@ -api -installProxyFor: aTestCase - self subclassResponsibility \ No newline at end of file diff --git a/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/methodsFor..st b/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/methodsFor..st deleted file mode 100644 index 540984c..0000000 --- a/SmartTest.package/SmTTestFinderDynamicStrategy.class/instance/methodsFor..st +++ /dev/null @@ -1,19 +0,0 @@ -api -methodsFor: aCompiledMethod - | finalFoundMethod | - ^ self cache - at: aCompiledMethod methodReference - ifAbsent: [ (self shouldTryToFindTestForDynamic ) - ifFalse: [ ^ {} ]. - #(#searchTestsForATestMethod: #searchTestsForASetUpMethod: #searchTestsForATearDownMethod: #searchTestsForAStandardMethod:) - do: [ :heuristic | - | methods | - methods := [ self perform: heuristic with: aCompiledMethod ] - on: MessageNotUnderstood - do: [ #() ]. - methods isEmpty - ifFalse: [ finalFoundMethod := self searchTestsForMethod: aCompiledMethod. - finalFoundMethod addAll: (self computeInheritedTestFromDiscoveredTest: methods) asOrderedCollection. - ^ finalFoundMethod ] ]. - self cache at: aCompiledMethod methodReference put: Set new. - ^ {} ] \ No newline at end of file diff --git a/SmartTest.package/SmTTestFinderDynamicStrategy.class/properties.json b/SmartTest.package/SmTTestFinderDynamicStrategy.class/properties.json deleted file mode 100644 index 57bf357..0000000 --- a/SmartTest.package/SmTTestFinderDynamicStrategy.class/properties.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "commentStamp" : "BenoitVerhaeghe 3/14/2018 21:59", - "super" : "SmTTestFinderStrategy", - "category" : "SmartTest-Finder", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "currentTestExecution" - ], - "name" : "SmTTestFinderDynamicStrategy", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest.package/SmTTestFinderStrategy.class/README.md b/SmartTest.package/SmTTestFinderStrategy.class/README.md deleted file mode 100644 index f1608a4..0000000 --- a/SmartTest.package/SmTTestFinderStrategy.class/README.md +++ /dev/null @@ -1 +0,0 @@ -I represent an abstract strategy to find tests exercising some method \ No newline at end of file diff --git a/SmartTest.package/SmTTestFinderStrategy.class/class/isConcreteFinder.st b/SmartTest.package/SmTTestFinderStrategy.class/class/isConcreteFinder.st deleted file mode 100644 index 6fa7dbe..0000000 --- a/SmartTest.package/SmTTestFinderStrategy.class/class/isConcreteFinder.st +++ /dev/null @@ -1,3 +0,0 @@ -protocol -isConcreteFinder - ^ false \ No newline at end of file diff --git a/SmartTest.package/SmTTestFinderStrategy.class/instance/cache..st b/SmartTest.package/SmTTestFinderStrategy.class/instance/cache..st deleted file mode 100644 index 2c80aae..0000000 --- a/SmartTest.package/SmTTestFinderStrategy.class/instance/cache..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -cache: aSmTCache - cache := aSmTCache \ No newline at end of file diff --git a/SmartTest.package/SmTTestFinderStrategy.class/instance/cache.st b/SmartTest.package/SmTTestFinderStrategy.class/instance/cache.st deleted file mode 100644 index ad8319d..0000000 --- a/SmartTest.package/SmTTestFinderStrategy.class/instance/cache.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -cache - ^ cache \ No newline at end of file diff --git a/SmartTest.package/SmTTestFinderStrategy.class/instance/computeInheritedTestFromDiscoveredTest..st b/SmartTest.package/SmTTestFinderStrategy.class/instance/computeInheritedTestFromDiscoveredTest..st deleted file mode 100644 index ceee394..0000000 --- a/SmartTest.package/SmTTestFinderStrategy.class/instance/computeInheritedTestFromDiscoveredTest..st +++ /dev/null @@ -1,10 +0,0 @@ -accessing -computeInheritedTestFromDiscoveredTest: aCollectionOfRGDefinitionOfTest - | testList | - testList := OrderedCollection new. - aCollectionOfRGDefinitionOfTest - do: [ :anRGDefinition | - anRGDefinition methodClass isAbstract - ifTrue: [ testList addAll: (self subTestFromRGDefinition: anRGDefinition) ] - ifFalse: [ testList add: anRGDefinition ] ]. - ^ testList asSet \ No newline at end of file diff --git a/SmartTest.package/SmTTestFinderStrategy.class/instance/filter..st b/SmartTest.package/SmTTestFinderStrategy.class/instance/filter..st deleted file mode 100644 index b9c3f76..0000000 --- a/SmartTest.package/SmTTestFinderStrategy.class/instance/filter..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -filter: aSmTFilter - filter := aSmTFilter \ No newline at end of file diff --git a/SmartTest.package/SmTTestFinderStrategy.class/instance/filter.st b/SmartTest.package/SmTTestFinderStrategy.class/instance/filter.st deleted file mode 100644 index b39a756..0000000 --- a/SmartTest.package/SmTTestFinderStrategy.class/instance/filter.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -filter - ^ filter \ No newline at end of file diff --git a/SmartTest.package/SmTTestFinderStrategy.class/instance/initialize.st b/SmartTest.package/SmTTestFinderStrategy.class/instance/initialize.st deleted file mode 100644 index 96cbef9..0000000 --- a/SmartTest.package/SmTTestFinderStrategy.class/instance/initialize.st +++ /dev/null @@ -1,3 +0,0 @@ -initialization -initialize - self shouldTryToFindTestForDynamic: false \ No newline at end of file diff --git a/SmartTest.package/SmTTestFinderStrategy.class/instance/methodToTest..st b/SmartTest.package/SmTTestFinderStrategy.class/instance/methodToTest..st deleted file mode 100644 index 7d8b26b..0000000 --- a/SmartTest.package/SmTTestFinderStrategy.class/instance/methodToTest..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -methodToTest: anObject - cache methodToTest: anObject \ No newline at end of file diff --git a/SmartTest.package/SmTTestFinderStrategy.class/instance/methodsFor..st b/SmartTest.package/SmTTestFinderStrategy.class/instance/methodsFor..st deleted file mode 100644 index 0544d36..0000000 --- a/SmartTest.package/SmTTestFinderStrategy.class/instance/methodsFor..st +++ /dev/null @@ -1,26 +0,0 @@ -api -methodsFor: aCompiledMethod - ^ self cache - at: aCompiledMethod methodReference - ifAbsent: [ (self searchTestsForATestMethod: aCompiledMethod) - ifNotEmpty: [ :methods | - ^ (self searchTestsForMethod: aCompiledMethod) - addAll: (self computeInheritedTestFromDiscoveredTest: methods); - yourself ]. - (self searchTestsForASetUpMethod: aCompiledMethod) - ifNotEmpty: [ :methods | - ^ (self searchTestsForMethod: aCompiledMethod) - addAll: (self computeInheritedTestFromDiscoveredTest: methods); - yourself ]. - (self searchTestsForATearDownMethod: aCompiledMethod) - ifNotEmpty: [ :methods | - ^ (self searchTestsForMethod: aCompiledMethod) - addAll: (self computeInheritedTestFromDiscoveredTest: methods); - yourself ]. - (self searchTestsForAStandardMethod: aCompiledMethod) - ifNotEmpty: [ :methods | - ^ (self searchTestsForMethod: aCompiledMethod) - addAll: (self computeInheritedTestFromDiscoveredTest: methods); - yourself ]. - self cache at: aCompiledMethod methodReference put: Set new. - ^ {} ] \ No newline at end of file diff --git a/SmartTest.package/SmTTestFinderStrategy.class/instance/recursiveSearchForAClass.inPackages..st b/SmartTest.package/SmTTestFinderStrategy.class/instance/recursiveSearchForAClass.inPackages..st deleted file mode 100644 index d8d4a71..0000000 --- a/SmartTest.package/SmTTestFinderStrategy.class/instance/recursiveSearchForAClass.inPackages..st +++ /dev/null @@ -1,3 +0,0 @@ -private - search -recursiveSearchForAClass: aClass inPackages: packagesToLookAt - ^ self recursiveSearchForAClass: aClass inPackages: packagesToLookAt alreadyVisited: Set new \ No newline at end of file diff --git a/SmartTest.package/SmTTestFinderStrategy.class/instance/recursiveSearchForAClass.inPackages.alreadyVisited..st b/SmartTest.package/SmTTestFinderStrategy.class/instance/recursiveSearchForAClass.inPackages.alreadyVisited..st deleted file mode 100644 index 1b70cf9..0000000 --- a/SmartTest.package/SmTTestFinderStrategy.class/instance/recursiveSearchForAClass.inPackages.alreadyVisited..st +++ /dev/null @@ -1,21 +0,0 @@ -private - search -recursiveSearchForAClass: aClass inPackages: packagesToLookAt alreadyVisited: alreadyVisitedClass - | testsFound allCallsOnClass | - testsFound := Set new. - aClass isTestCase - ifTrue: [ (aClass methods select: [ :aMethod | aMethod isTestMethod ]) do: [ :eachTestMethod | testsFound addAll: (self methodsFor: eachTestMethod) ]. - aClass allTestSelectors do: [ :each | testsFound add: (RGMethodDefinition className: aClass name selector: each isMetaSide: false) ] ]. - testsFound - addAll: - ((aClass allCallsOn select: [ :aCallOn | (filter shouldEntityBeFilteredOut: aCallOn inPackages: packagesToLookAt) not ]) - flatCollect: [ :aRGMethodDefinition | self methodsFor: aRGMethodDefinition compiledMethod]). - aClass subclasses - reject: [ :aSubClass | - | reject | - reject := (filter shouldEntityBeFilteredOut: aSubClass inPackages: packagesToLookAt) or: [ alreadyVisitedClass includes: aSubClass ]. - alreadyVisitedClass add: aSubClass. - reject ] - thenDo: [ :aSubClass | - testsFound add: aSubClass. - testsFound addAll: (self recursiveSearchForAClass: aSubClass inPackages: packagesToLookAt alreadyVisited: alreadyVisitedClass) ]. - ^ testsFound \ No newline at end of file diff --git a/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForAClass..st b/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForAClass..st deleted file mode 100644 index 0e73de2..0000000 --- a/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForAClass..st +++ /dev/null @@ -1,5 +0,0 @@ -accessing -searchTestsForAClass: aClass - | packagesToLookAt | - packagesToLookAt := self filter extractPackagesFrom: aClass. - ^ self recursiveSearchForAClass: aClass inPackages: packagesToLookAt \ No newline at end of file diff --git a/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForAInstVar..st b/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForAInstVar..st deleted file mode 100644 index c6c6211..0000000 --- a/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForAInstVar..st +++ /dev/null @@ -1,7 +0,0 @@ -accessing -searchTestsForAInstVar: aInstVar - "This method returns all the tests related to a instance variable." - - | testsFound | - testsFound := Set new. - ^ testsFound \ No newline at end of file diff --git a/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForAInstVar.OfClass..st b/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForAInstVar.OfClass..st deleted file mode 100644 index 37757a6..0000000 --- a/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForAInstVar.OfClass..st +++ /dev/null @@ -1,12 +0,0 @@ -accessing -searchTestsForAInstVar: aInstanceVariable OfClass: aClass - "This method returns all the tests related to a instance variable." - - | testsFound senders | - testsFound := Set new. - senders := Set new. - senders - addAll: ((aClass classLayout allVisibleSlots select: [ :eachSlot | eachSlot name = aInstanceVariable ]) flatCollect: #usingMethods). - testsFound - addAll: (senders flatCollect: [ :each | self methodsFor: each ]). - ^ testsFound \ No newline at end of file diff --git a/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForASetUpMethod..st b/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForASetUpMethod..st deleted file mode 100644 index 67ae9b9..0000000 --- a/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForASetUpMethod..st +++ /dev/null @@ -1,10 +0,0 @@ -private -searchTestsForASetUpMethod: aCompiledMethod - "If the method is a TestCase setUp, returns all the tests of this TestCase and its subclasses" - ^ (aCompiledMethod isTestSetUpMethod) - ifTrue: [|result| - result := OrderedCollection new. - result addAll: aCompiledMethod methodClass allTestMethods. - (aCompiledMethod methodClass subclasses do:[:aSubClass | result addAll: aSubClass allTestMethods]). - result collect: #methodReference] - ifFalse: [{}]. \ No newline at end of file diff --git a/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForAStandardMethod..st b/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForAStandardMethod..st deleted file mode 100644 index 16daa21..0000000 --- a/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForAStandardMethod..st +++ /dev/null @@ -1,5 +0,0 @@ -private -searchTestsForAStandardMethod: aCompiledMethod - "Should return a Collection of #methodReference" - - self subclassResponsibility \ No newline at end of file diff --git a/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForATearDownMethod..st b/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForATearDownMethod..st deleted file mode 100644 index e4417f0..0000000 --- a/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForATearDownMethod..st +++ /dev/null @@ -1,11 +0,0 @@ -private -searchTestsForATearDownMethod: aCompiledMethod - "If the method is a TestCase tearDown, returns all the tests of this TestCase" - ^ (aCompiledMethod isTestTearDownMethod) - ifTrue: [ - |result| - result := OrderedCollection new. - result addAll: aCompiledMethod methodClass allTestMethods. - (aCompiledMethod methodClass subclasses do:[:aSubClass | result addAll: aSubClass allTestMethods]). - result collect: #methodReference] - ifFalse: [{}]. \ No newline at end of file diff --git a/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForATestMethod..st b/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForATestMethod..st deleted file mode 100644 index eaa5ae8..0000000 --- a/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForATestMethod..st +++ /dev/null @@ -1,5 +0,0 @@ -private -searchTestsForATestMethod: aCompiledMethod - ^ aCompiledMethod isTestMethod - ifTrue: [{aCompiledMethod methodReference}] - ifFalse: [{}]. \ No newline at end of file diff --git a/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForATrait..st b/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForATrait..st deleted file mode 100644 index e293697..0000000 --- a/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForATrait..st +++ /dev/null @@ -1,7 +0,0 @@ -accessing -searchTestsForATrait: aTrait - | packagesToLookAt testsFound| - testsFound := Set new. - packagesToLookAt := self filter extractPackagesFrom: aTrait. - aTrait users do: [:eachClass | testsFound addAll: (self recursiveSearchForAClass: eachClass inPackages: packagesToLookAt)]. - ^testsFound \ No newline at end of file diff --git a/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForClassReferenceOf..st b/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForClassReferenceOf..st deleted file mode 100644 index fb1af37..0000000 --- a/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForClassReferenceOf..st +++ /dev/null @@ -1,13 +0,0 @@ -private -searchTestsForClassReferenceOf: aCompiledMethod - "Find all tests in related packages that reference the method's class" - | allSendersClass allTests | - allSendersClass := (aCompiledMethod methodClass allCallsOn - collect: [:aReference| - aReference actualClass]) asSet - select: [:aClass| - (aClass isKindOf: TestCase class) ]. - - allTests := OrderedCollection new. - allSendersClass do: [:aClass| allTests addAll: aClass allTestMethods]. - ^ allTests collect: #methodReference. \ No newline at end of file diff --git a/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForMethod..st b/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForMethod..st deleted file mode 100644 index 69ae4c1..0000000 --- a/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForMethod..st +++ /dev/null @@ -1,5 +0,0 @@ -accessing -searchTestsForMethod: aCompiledMethod - ^ self cache relevantTestsFor: aCompiledMethod - "at: aCompiledMethod methodReference - ifAbsentPut: [ Set new ]" \ No newline at end of file diff --git a/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForMethodReference..st b/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForMethodReference..st deleted file mode 100644 index 334bc02..0000000 --- a/SmartTest.package/SmTTestFinderStrategy.class/instance/searchTestsForMethodReference..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -searchTestsForMethodReference: aMethodReference - ^ self cache searchTestsForMethodReference: aMethodReference \ No newline at end of file diff --git a/SmartTest.package/SmTTestFinderStrategy.class/instance/shouldTryToFindTestForDynamic..st b/SmartTest.package/SmTTestFinderStrategy.class/instance/shouldTryToFindTestForDynamic..st deleted file mode 100644 index d0dbe63..0000000 --- a/SmartTest.package/SmTTestFinderStrategy.class/instance/shouldTryToFindTestForDynamic..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -shouldTryToFindTestForDynamic: aBoolean - shouldTryToFindTestForDynamic := aBoolean \ No newline at end of file diff --git a/SmartTest.package/SmTTestFinderStrategy.class/instance/shouldTryToFindTestForDynamic.st b/SmartTest.package/SmTTestFinderStrategy.class/instance/shouldTryToFindTestForDynamic.st deleted file mode 100644 index ce10b33..0000000 --- a/SmartTest.package/SmTTestFinderStrategy.class/instance/shouldTryToFindTestForDynamic.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -shouldTryToFindTestForDynamic - ^ shouldTryToFindTestForDynamic \ No newline at end of file diff --git a/SmartTest.package/SmTTestFinderStrategy.class/instance/subTestFromRGDefinition..st b/SmartTest.package/SmTTestFinderStrategy.class/instance/subTestFromRGDefinition..st deleted file mode 100644 index 5d67d1e..0000000 --- a/SmartTest.package/SmTTestFinderStrategy.class/instance/subTestFromRGDefinition..st +++ /dev/null @@ -1,6 +0,0 @@ -accessing -subTestFromRGDefinition: anRGDefinition - ^ self - computeInheritedTestFromDiscoveredTest: - ((anRGDefinition methodClass suite tests flatCollect: #tests) - collect: [ :each | RGMethodDefinition class: each class selector: each selector ]) \ No newline at end of file diff --git a/SmartTest.package/SmTTestFinderStrategy.class/properties.json b/SmartTest.package/SmTTestFinderStrategy.class/properties.json deleted file mode 100644 index ad94c13..0000000 --- a/SmartTest.package/SmTTestFinderStrategy.class/properties.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "commentStamp" : "eleonoreW 6/29/2018 15:25", - "super" : "Object", - "category" : "SmartTest-Finder", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "filter", - "cache", - "shouldTryToFindTestForDynamic" - ], - "name" : "SmTTestFinderStrategy", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest.package/SmTTestGenerator.class/README.md b/SmartTest.package/SmTTestGenerator.class/README.md deleted file mode 100644 index 864ae0b..0000000 --- a/SmartTest.package/SmTTestGenerator.class/README.md +++ /dev/null @@ -1 +0,0 @@ -Tool easy to use by everyone to generate test from a Compiled Method \ No newline at end of file diff --git a/SmartTest.package/SmTTestGenerator.class/instance/buildTestClassDefinitionFrom..st b/SmartTest.package/SmTTestGenerator.class/instance/buildTestClassDefinitionFrom..st deleted file mode 100644 index 2990d9e..0000000 --- a/SmartTest.package/SmTTestGenerator.class/instance/buildTestClassDefinitionFrom..st +++ /dev/null @@ -1,8 +0,0 @@ -widget method -buildTestClassDefinitionFrom: aClass - - ^ 'TestCase subclass: ', (self buildTestClassNameFrom: aClass) printString, ' - instanceVariableNames: '''' - classVariableNames: '''' - poolDictionaries: '''' - package: ''',(self buildTestPackageNameFrom:aClass),'''' \ No newline at end of file diff --git a/SmartTest.package/SmTTestGenerator.class/instance/buildTestClassNameFrom..st b/SmartTest.package/SmTTestGenerator.class/instance/buildTestClassNameFrom..st deleted file mode 100644 index 8321241..0000000 --- a/SmartTest.package/SmTTestGenerator.class/instance/buildTestClassNameFrom..st +++ /dev/null @@ -1,4 +0,0 @@ -widget method -buildTestClassNameFrom: aClass - - ^ (aClass name asString,'Test') asSymbol \ No newline at end of file diff --git a/SmartTest.package/SmTTestGenerator.class/instance/buildTestPackageNameFrom..st b/SmartTest.package/SmTTestGenerator.class/instance/buildTestPackageNameFrom..st deleted file mode 100644 index 22e9d73..0000000 --- a/SmartTest.package/SmTTestGenerator.class/instance/buildTestPackageNameFrom..st +++ /dev/null @@ -1,4 +0,0 @@ -widget method -buildTestPackageNameFrom:aClass - - ^ aClass package name asString, '-Tests' \ No newline at end of file diff --git a/SmartTest.package/SmTTestGenerator.class/instance/buildTestSelectorFor..st b/SmartTest.package/SmTTestGenerator.class/instance/buildTestSelectorFor..st deleted file mode 100644 index 9fb1dd1..0000000 --- a/SmartTest.package/SmTTestGenerator.class/instance/buildTestSelectorFor..st +++ /dev/null @@ -1,15 +0,0 @@ -widget method -buildTestSelectorFor: aMethod - - ^ String streamContents: [:s || capitalize | - capitalize := true. - s << 'test'. - aMethod selector do: [:c | - c = $: - ifTrue: [ capitalize := true ] - ifFalse: [ capitalize - ifTrue: [ - capitalize := false. - s << c asUppercase. ] - ifFalse:[ s << c ]]]] - \ No newline at end of file diff --git a/SmartTest.package/SmTTestGenerator.class/instance/createTestForClass..st b/SmartTest.package/SmTTestGenerator.class/instance/createTestForClass..st deleted file mode 100644 index 59c0c1e..0000000 --- a/SmartTest.package/SmTTestGenerator.class/instance/createTestForClass..st +++ /dev/null @@ -1,20 +0,0 @@ -widget method -createTestForClass: aClass - | testClass className | - aClass ifNil: [ ^ nil ]. - aClass isTestCase - ifTrue: [ ^ nil ]. - aClass isMeta - ifTrue: [ ^ nil ]. - className := self buildTestClassNameFrom: aClass. - testClass := self class environment - at: className - ifPresent: [ :class | class ] - ifAbsent: [ testClass := TestCase - subclass: className - instanceVariableNames: '' - classVariableNames: '' - package: (self buildTestPackageNameFrom: aClass). - self class environment at: className. - testClass comment: (self generateCommentForTestClass: testClass from: aClass) ]. - ^ testClass \ No newline at end of file diff --git a/SmartTest.package/SmTTestGenerator.class/instance/generateCommentForTestClass.from..st b/SmartTest.package/SmTTestGenerator.class/instance/generateCommentForTestClass.from..st deleted file mode 100644 index 783ab03..0000000 --- a/SmartTest.package/SmTTestGenerator.class/instance/generateCommentForTestClass.from..st +++ /dev/null @@ -1,9 +0,0 @@ -widget method -generateCommentForTestClass: testClass from: aClass - - ^ String streamContents: [:stream || name | - name := testClass name. - name first isVowel - ifTrue: [ stream << 'An '] - ifFalse:[ stream <<'A ']. - stream << name << ' is a test class for testing the behavior of '<< aClass name ] \ No newline at end of file diff --git a/SmartTest.package/SmTTestGenerator.class/instance/generateSourceCodeForTestFrom..st b/SmartTest.package/SmTTestGenerator.class/instance/generateSourceCodeForTestFrom..st deleted file mode 100644 index 4dab780..0000000 --- a/SmartTest.package/SmTTestGenerator.class/instance/generateSourceCodeForTestFrom..st +++ /dev/null @@ -1,3 +0,0 @@ -widget method -generateSourceCodeForTestFrom: aMethod - ^ (self buildTestSelectorFor: aMethod), String crlf,' self shouldBeImplemented' \ No newline at end of file diff --git a/SmartTest.package/SmTTestGenerator.class/instance/generateTestMethodFor..st b/SmartTest.package/SmTTestGenerator.class/instance/generateTestMethodFor..st deleted file mode 100644 index 49e43b3..0000000 --- a/SmartTest.package/SmTTestGenerator.class/instance/generateTestMethodFor..st +++ /dev/null @@ -1,15 +0,0 @@ -widget method -generateTestMethodFor: aMethod - "generate a test method for aMethod and return the generated method" - - | class testMethodName | - testMethodName := aMethod methodClass name , 'Test'. - class := Smalltalk allClasses - detect: [ :e | e name = testMethodName ] - ifNone: [ self createTestForClass: aMethod methodClass ]. - class - ifNotNil: [ class - compile: (self generateSourceCodeForTestFrom: aMethod) - classified: 'tests-' , aMethod category. - ^ class >> (self buildTestSelectorFor: aMethod) asSymbol ]. - ^ nil \ No newline at end of file diff --git a/SmartTest.package/SmTTestGenerator.class/properties.json b/SmartTest.package/SmTTestGenerator.class/properties.json deleted file mode 100644 index 70f7b30..0000000 --- a/SmartTest.package/SmTTestGenerator.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "BenoitVerhaeghe 7/7/2017 16:25", - "super" : "Object", - "category" : "SmartTest-Tools", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTTestGenerator", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest.package/SmTTestListener.class/README.md b/SmartTest.package/SmTTestListener.class/README.md deleted file mode 100644 index 100c415..0000000 --- a/SmartTest.package/SmTTestListener.class/README.md +++ /dev/null @@ -1 +0,0 @@ -I'm listening all the tests event and add it to the RTS \ No newline at end of file diff --git a/SmartTest.package/SmTTestListener.class/class/activated..st b/SmartTest.package/SmTTestListener.class/class/activated..st deleted file mode 100644 index 16dbb4b..0000000 --- a/SmartTest.package/SmTTestListener.class/class/activated..st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -activated: aSelector - activated := aSelector. - self uniqueInstance activated: aSelector \ No newline at end of file diff --git a/SmartTest.package/SmTTestListener.class/class/activated.st b/SmartTest.package/SmTTestListener.class/class/activated.st deleted file mode 100644 index 7f03b2d..0000000 --- a/SmartTest.package/SmTTestListener.class/class/activated.st +++ /dev/null @@ -1,5 +0,0 @@ -accessing -activated - ^ activated - ifNil: [ activated := false. - self uniqueInstance activated: false ] \ No newline at end of file diff --git a/SmartTest.package/SmTTestListener.class/class/settingsOn..st b/SmartTest.package/SmTTestListener.class/class/settingsOn..st deleted file mode 100644 index 87f61e3..0000000 --- a/SmartTest.package/SmTTestListener.class/class/settingsOn..st +++ /dev/null @@ -1,11 +0,0 @@ -initialization -settingsOn: aBuilder - - (aBuilder setting: #activated) - parent: #Beta; - target: self; - order: 0.04; - label: 'AutoUpdate Cache'; - description: - 'When you execute a test, we''''are updating the cache for it execution - (BETA)' \ No newline at end of file diff --git a/SmartTest.package/SmTTestListener.class/class/uniqueInstance.st b/SmartTest.package/SmTTestListener.class/class/uniqueInstance.st deleted file mode 100644 index 7d34d72..0000000 --- a/SmartTest.package/SmTTestListener.class/class/uniqueInstance.st +++ /dev/null @@ -1,3 +0,0 @@ -initialization -uniqueInstance - ^ uniqueInstance ifNil: [ uniqueInstance := self new ] \ No newline at end of file diff --git a/SmartTest.package/SmTTestListener.class/instance/activated..st b/SmartTest.package/SmTTestListener.class/instance/activated..st deleted file mode 100644 index 3cc0774..0000000 --- a/SmartTest.package/SmTTestListener.class/instance/activated..st +++ /dev/null @@ -1,6 +0,0 @@ -announcement handling -activated: aSelector - aSelector - ifTrue: [ self disableListenerTestCase. - self enableListenerTestCase ] - ifFalse: [ self disableListenerTestCase ] \ No newline at end of file diff --git a/SmartTest.package/SmTTestListener.class/instance/cacheStrategy..st b/SmartTest.package/SmTTestListener.class/instance/cacheStrategy..st deleted file mode 100644 index 886d7f6..0000000 --- a/SmartTest.package/SmTTestListener.class/instance/cacheStrategy..st +++ /dev/null @@ -1,3 +0,0 @@ -announcement handling -cacheStrategy: aCacheClass - cacheClass := aCacheClass \ No newline at end of file diff --git a/SmartTest.package/SmTTestListener.class/instance/cacheStrategy.st b/SmartTest.package/SmTTestListener.class/instance/cacheStrategy.st deleted file mode 100644 index 505d110..0000000 --- a/SmartTest.package/SmTTestListener.class/instance/cacheStrategy.st +++ /dev/null @@ -1,3 +0,0 @@ -announcement handling -cacheStrategy - ^ cacheClass \ No newline at end of file diff --git a/SmartTest.package/SmTTestListener.class/instance/disableListenerTestCase.st b/SmartTest.package/SmTTestListener.class/instance/disableListenerTestCase.st deleted file mode 100644 index 52f24e1..0000000 --- a/SmartTest.package/SmTTestListener.class/instance/disableListenerTestCase.st +++ /dev/null @@ -1,4 +0,0 @@ -protocol -disableListenerTestCase - SmTAnnouncer announcer unsubscribe: self. - SmTAnnouncer announcer unsubscribe: self \ No newline at end of file diff --git a/SmartTest.package/SmTTestListener.class/instance/enableListenerTestCase.st b/SmartTest.package/SmTTestListener.class/instance/enableListenerTestCase.st deleted file mode 100644 index 9ed9c5d..0000000 --- a/SmartTest.package/SmTTestListener.class/instance/enableListenerTestCase.st +++ /dev/null @@ -1,4 +0,0 @@ -protocol -enableListenerTestCase - SmTAnnouncer announcer weak when: TestCaseStarted send: #testCaseStarted: to: self. - SmTAnnouncer announcer weak when: TestCaseEnded send: #testCaseEnded: to: self \ No newline at end of file diff --git a/SmartTest.package/SmTTestListener.class/instance/smtDynamicFinder..st b/SmartTest.package/SmTTestListener.class/instance/smtDynamicFinder..st deleted file mode 100644 index 5d84b60..0000000 --- a/SmartTest.package/SmTTestListener.class/instance/smtDynamicFinder..st +++ /dev/null @@ -1,3 +0,0 @@ -announcement handling -smtDynamicFinder: aSmTTestFinderStrategy - smtDynamicFinder := aSmTTestFinderStrategy \ No newline at end of file diff --git a/SmartTest.package/SmTTestListener.class/instance/smtDynamicFinder.st b/SmartTest.package/SmTTestListener.class/instance/smtDynamicFinder.st deleted file mode 100644 index a88a39f..0000000 --- a/SmartTest.package/SmTTestListener.class/instance/smtDynamicFinder.st +++ /dev/null @@ -1,3 +0,0 @@ -announcement handling -smtDynamicFinder - ^ smtDynamicFinder \ No newline at end of file diff --git a/SmartTest.package/SmTTestListener.class/instance/testCaseEnded..st b/SmartTest.package/SmTTestListener.class/instance/testCaseEnded..st deleted file mode 100644 index ea8a75a..0000000 --- a/SmartTest.package/SmTTestListener.class/instance/testCaseEnded..st +++ /dev/null @@ -1,3 +0,0 @@ -protocol -testCaseEnded: aTestAnnouncement - self smtDynamicFinder analyseAndRemoveProxyFor: aTestAnnouncement testCase \ No newline at end of file diff --git a/SmartTest.package/SmTTestListener.class/instance/testCaseStarted..st b/SmartTest.package/SmTTestListener.class/instance/testCaseStarted..st deleted file mode 100644 index 9fc4460..0000000 --- a/SmartTest.package/SmTTestListener.class/instance/testCaseStarted..st +++ /dev/null @@ -1,3 +0,0 @@ -protocol -testCaseStarted: aTestAnnouncement - self smtDynamicFinder installProxyFor: aTestAnnouncement testCase \ No newline at end of file diff --git a/SmartTest.package/SmTTestListener.class/properties.json b/SmartTest.package/SmTTestListener.class/properties.json deleted file mode 100644 index 970ebdf..0000000 --- a/SmartTest.package/SmTTestListener.class/properties.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/3/2018 14:50", - "super" : "Object", - "category" : "SmartTest-Listener", - "classinstvars" : [ - "uniqueInstance", - "activated" - ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "cacheClass", - "smtDynamicFinder" - ], - "name" : "SmTTestListener", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest.package/SmTTestingStrategy.class/README.md b/SmartTest.package/SmTTestingStrategy.class/README.md deleted file mode 100644 index 119b946..0000000 --- a/SmartTest.package/SmTTestingStrategy.class/README.md +++ /dev/null @@ -1 +0,0 @@ -The testing strategy defines when the tests we've found will be run. \ No newline at end of file diff --git a/SmartTest.package/SmTTestingStrategy.class/instance/disable.st b/SmartTest.package/SmTTestingStrategy.class/instance/disable.st deleted file mode 100644 index 2be7069..0000000 --- a/SmartTest.package/SmTTestingStrategy.class/instance/disable.st +++ /dev/null @@ -1,3 +0,0 @@ -protocol -disable - "can be override" \ No newline at end of file diff --git a/SmartTest.package/SmTTestingStrategy.class/instance/enable.st b/SmartTest.package/SmTTestingStrategy.class/instance/enable.st deleted file mode 100644 index 7389a0a..0000000 --- a/SmartTest.package/SmTTestingStrategy.class/instance/enable.st +++ /dev/null @@ -1,3 +0,0 @@ -protocol -enable - "can be override" \ No newline at end of file diff --git a/SmartTest.package/SmTTestingStrategy.class/instance/findTestsForMethod..st b/SmartTest.package/SmTTestingStrategy.class/instance/findTestsForMethod..st deleted file mode 100644 index 8a31725..0000000 --- a/SmartTest.package/SmTTestingStrategy.class/instance/findTestsForMethod..st +++ /dev/null @@ -1,3 +0,0 @@ -instance creation -findTestsForMethod: aCompiledMethod - self subclassResponsibility \ No newline at end of file diff --git a/SmartTest.package/SmTTestingStrategy.class/instance/finder..st b/SmartTest.package/SmTTestingStrategy.class/instance/finder..st deleted file mode 100644 index 7ca23c0..0000000 --- a/SmartTest.package/SmTTestingStrategy.class/instance/finder..st +++ /dev/null @@ -1,3 +0,0 @@ -instance creation -finder: aSmTFinder - finder := aSmTFinder \ No newline at end of file diff --git a/SmartTest.package/SmTTestingStrategy.class/instance/finder.st b/SmartTest.package/SmTTestingStrategy.class/instance/finder.st deleted file mode 100644 index 532fa51..0000000 --- a/SmartTest.package/SmTTestingStrategy.class/instance/finder.st +++ /dev/null @@ -1,4 +0,0 @@ -instance creation -finder - ^ finder - \ No newline at end of file diff --git a/SmartTest.package/SmTTestingStrategy.class/instance/getMethodsFor..st b/SmartTest.package/SmTTestingStrategy.class/instance/getMethodsFor..st deleted file mode 100644 index f6a113c..0000000 --- a/SmartTest.package/SmTTestingStrategy.class/instance/getMethodsFor..st +++ /dev/null @@ -1,3 +0,0 @@ -instance creation -getMethodsFor: aCompiledMethod - ^ self getTestMethodFromCompiledTestMethod: (self finder methodsFor: aCompiledMethod) \ No newline at end of file diff --git a/SmartTest.package/SmTTestingStrategy.class/instance/getTestMethodFromCompiledTestMethod..st b/SmartTest.package/SmTTestingStrategy.class/instance/getTestMethodFromCompiledTestMethod..st deleted file mode 100644 index 315d7b5..0000000 --- a/SmartTest.package/SmTTestingStrategy.class/instance/getTestMethodFromCompiledTestMethod..st +++ /dev/null @@ -1,4 +0,0 @@ -instance creation -getTestMethodFromCompiledTestMethod: aCollectionOfCompiledMethod - ^ aCollectionOfCompiledMethod - collect: [ :aCompiledMethod | aCompiledMethod methodClass selector: aCompiledMethod selector ] \ No newline at end of file diff --git a/SmartTest.package/SmTTestingStrategy.class/instance/runner..st b/SmartTest.package/SmTTestingStrategy.class/instance/runner..st deleted file mode 100644 index 4fd89d5..0000000 --- a/SmartTest.package/SmTTestingStrategy.class/instance/runner..st +++ /dev/null @@ -1,3 +0,0 @@ -instance creation -runner: aSmTRunner - runner := aSmTRunner \ No newline at end of file diff --git a/SmartTest.package/SmTTestingStrategy.class/instance/runner.st b/SmartTest.package/SmTTestingStrategy.class/instance/runner.st deleted file mode 100644 index 205cb7c..0000000 --- a/SmartTest.package/SmTTestingStrategy.class/instance/runner.st +++ /dev/null @@ -1,3 +0,0 @@ -instance creation -runner - ^ runner \ No newline at end of file diff --git a/SmartTest.package/SmTTestingStrategy.class/properties.json b/SmartTest.package/SmTTestingStrategy.class/properties.json deleted file mode 100644 index 4b6d04d..0000000 --- a/SmartTest.package/SmTTestingStrategy.class/properties.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "commentStamp" : "BenoitVerhaeghe 7/13/2017 14:17", - "super" : "Object", - "category" : "SmartTest-Testing", - "classinstvars" : [ - "queue", - "researchProcess", - "defaultSize" - ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "finder", - "runner" - ], - "name" : "SmTTestingStrategy", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest.package/SmTTestingStrategyAlways.class/README.md b/SmartTest.package/SmTTestingStrategyAlways.class/README.md deleted file mode 100644 index 7eb54d8..0000000 --- a/SmartTest.package/SmTTestingStrategyAlways.class/README.md +++ /dev/null @@ -1 +0,0 @@ -As soon as the tests are found. CORA run the test suite \ No newline at end of file diff --git a/SmartTest.package/SmTTestingStrategyAlways.class/instance/findTestsForMethod..st b/SmartTest.package/SmTTestingStrategyAlways.class/instance/findTestsForMethod..st deleted file mode 100644 index 0e016d8..0000000 --- a/SmartTest.package/SmTTestingStrategyAlways.class/instance/findTestsForMethod..st +++ /dev/null @@ -1,6 +0,0 @@ -instance creation -findTestsForMethod: aCompiledMethod - | tests | - tests := self getMethodsFor: aCompiledMethod. - self runner runCases: tests. - ^ tests \ No newline at end of file diff --git a/SmartTest.package/SmTTestingStrategyAlways.class/properties.json b/SmartTest.package/SmTTestingStrategyAlways.class/properties.json deleted file mode 100644 index 48b1326..0000000 --- a/SmartTest.package/SmTTestingStrategyAlways.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "BenoitVerhaeghe 7/13/2017 14:18", - "super" : "SmTTestingStrategy", - "category" : "SmartTest-Testing", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTTestingStrategyAlways", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest.package/SmTTestingStrategyEachModification.class/README.md b/SmartTest.package/SmTTestingStrategyEachModification.class/README.md deleted file mode 100644 index 8ad2251..0000000 --- a/SmartTest.package/SmTTestingStrategyEachModification.class/README.md +++ /dev/null @@ -1 +0,0 @@ -Each time the developer does a modification, CORA run the test suite \ No newline at end of file diff --git a/SmartTest.package/SmTTestingStrategyEachModification.class/instance/addToElementBag..st b/SmartTest.package/SmTTestingStrategyEachModification.class/instance/addToElementBag..st deleted file mode 100644 index 51de68c..0000000 --- a/SmartTest.package/SmTTestingStrategyEachModification.class/instance/addToElementBag..st +++ /dev/null @@ -1,3 +0,0 @@ -instance creation -addToElementBag: anElement - self bag add: anElement \ No newline at end of file diff --git a/SmartTest.package/SmTTestingStrategyEachModification.class/instance/bag.st b/SmartTest.package/SmTTestingStrategyEachModification.class/instance/bag.st deleted file mode 100644 index aa9c970..0000000 --- a/SmartTest.package/SmTTestingStrategyEachModification.class/instance/bag.st +++ /dev/null @@ -1,3 +0,0 @@ -instance creation -bag - ^ bag \ No newline at end of file diff --git a/SmartTest.package/SmTTestingStrategyEachModification.class/instance/disable.st b/SmartTest.package/SmTTestingStrategyEachModification.class/instance/disable.st deleted file mode 100644 index dd3afcb..0000000 --- a/SmartTest.package/SmTTestingStrategyEachModification.class/instance/disable.st +++ /dev/null @@ -1,5 +0,0 @@ -protocol -disable - super disable. - - SystemAnnouncer uniqueInstance unsubscribe: self \ No newline at end of file diff --git a/SmartTest.package/SmTTestingStrategyEachModification.class/instance/enable.st b/SmartTest.package/SmTTestingStrategyEachModification.class/instance/enable.st deleted file mode 100644 index 4b47cdb..0000000 --- a/SmartTest.package/SmTTestingStrategyEachModification.class/instance/enable.st +++ /dev/null @@ -1,7 +0,0 @@ -protocol -enable - super enable. - SystemAnnouncer uniqueInstance unsubscribe: self. - {(MethodModified -> #methodModified:). - (MethodAdded -> #methodAdded:)} - do: [ :pair | SystemAnnouncer uniqueInstance weak when: pair key send: pair value to: self ] \ No newline at end of file diff --git a/SmartTest.package/SmTTestingStrategyEachModification.class/instance/findTestsForMethod..st b/SmartTest.package/SmTTestingStrategyEachModification.class/instance/findTestsForMethod..st deleted file mode 100644 index fb71921..0000000 --- a/SmartTest.package/SmTTestingStrategyEachModification.class/instance/findTestsForMethod..st +++ /dev/null @@ -1,7 +0,0 @@ -instance creation -findTestsForMethod: aCompiledMethod - | tests | - tests := self getMethodsFor: aCompiledMethod. - (self getElementFromBag: aCompiledMethod) - ifNotNil: [ self runner runCases: tests ]. - ^ tests \ No newline at end of file diff --git a/SmartTest.package/SmTTestingStrategyEachModification.class/instance/getElementFromBag..st b/SmartTest.package/SmTTestingStrategyEachModification.class/instance/getElementFromBag..st deleted file mode 100644 index 8a04b66..0000000 --- a/SmartTest.package/SmTTestingStrategyEachModification.class/instance/getElementFromBag..st +++ /dev/null @@ -1,6 +0,0 @@ -instance creation -getElementFromBag: anElement - "return nil if element absent. The object else" - - self bag remove: anElement ifAbsent: [ ^ nil ]. - ^ anElement \ No newline at end of file diff --git a/SmartTest.package/SmTTestingStrategyEachModification.class/instance/initialize.st b/SmartTest.package/SmTTestingStrategyEachModification.class/instance/initialize.st deleted file mode 100644 index 00734c9..0000000 --- a/SmartTest.package/SmTTestingStrategyEachModification.class/instance/initialize.st +++ /dev/null @@ -1,3 +0,0 @@ -initialization -initialize - bag := Bag new \ No newline at end of file diff --git a/SmartTest.package/SmTTestingStrategyEachModification.class/instance/methodAdded..st b/SmartTest.package/SmTTestingStrategyEachModification.class/instance/methodAdded..st deleted file mode 100644 index 251545a..0000000 --- a/SmartTest.package/SmTTestingStrategyEachModification.class/instance/methodAdded..st +++ /dev/null @@ -1,3 +0,0 @@ -instance creation -methodAdded: anAnnouncement - self addToElementBag: anAnnouncement methodAdded \ No newline at end of file diff --git a/SmartTest.package/SmTTestingStrategyEachModification.class/instance/methodModified..st b/SmartTest.package/SmTTestingStrategyEachModification.class/instance/methodModified..st deleted file mode 100644 index 796b801..0000000 --- a/SmartTest.package/SmTTestingStrategyEachModification.class/instance/methodModified..st +++ /dev/null @@ -1,3 +0,0 @@ -instance creation -methodModified: anAnnouncement - self addToElementBag: anAnnouncement newMethod \ No newline at end of file diff --git a/SmartTest.package/SmTTestingStrategyEachModification.class/properties.json b/SmartTest.package/SmTTestingStrategyEachModification.class/properties.json deleted file mode 100644 index 8a90851..0000000 --- a/SmartTest.package/SmTTestingStrategyEachModification.class/properties.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "commentStamp" : "BenoitVerhaeghe 7/13/2017 14:18", - "super" : "SmTTestingStrategy", - "category" : "SmartTest-Testing", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "bag" - ], - "name" : "SmTTestingStrategyEachModification", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest.package/SmTTestingStrategyFiveMinutes.class/README.md b/SmartTest.package/SmTTestingStrategyFiveMinutes.class/README.md deleted file mode 100644 index 90ffc7d..0000000 --- a/SmartTest.package/SmTTestingStrategyFiveMinutes.class/README.md +++ /dev/null @@ -1 +0,0 @@ -Every 5 minutes, CORA run the tests which have been found in the last 5 minutes \ No newline at end of file diff --git a/SmartTest.package/SmTTestingStrategyFiveMinutes.class/instance/disable.st b/SmartTest.package/SmTTestingStrategyFiveMinutes.class/instance/disable.st deleted file mode 100644 index d23561b..0000000 --- a/SmartTest.package/SmTTestingStrategyFiveMinutes.class/instance/disable.st +++ /dev/null @@ -1,4 +0,0 @@ -protocol -disable - super disable. - SmTFivesMinutesCollector stop \ No newline at end of file diff --git a/SmartTest.package/SmTTestingStrategyFiveMinutes.class/instance/enable.st b/SmartTest.package/SmTTestingStrategyFiveMinutes.class/instance/enable.st deleted file mode 100644 index 31e4945..0000000 --- a/SmartTest.package/SmTTestingStrategyFiveMinutes.class/instance/enable.st +++ /dev/null @@ -1,4 +0,0 @@ -protocol -enable - super enable. - SmTFivesMinutesCollector start \ No newline at end of file diff --git a/SmartTest.package/SmTTestingStrategyFiveMinutes.class/instance/findTestsForMethod..st b/SmartTest.package/SmTTestingStrategyFiveMinutes.class/instance/findTestsForMethod..st deleted file mode 100644 index 301e6fb..0000000 --- a/SmartTest.package/SmTTestingStrategyFiveMinutes.class/instance/findTestsForMethod..st +++ /dev/null @@ -1,6 +0,0 @@ -instance creation -findTestsForMethod: aCompiledMethod - | tests | - tests := self getMethodsFor: aCompiledMethod. - SmTFivesMinutesCollector addTestMethods: tests. - ^ tests \ No newline at end of file diff --git a/SmartTest.package/SmTTestingStrategyFiveMinutes.class/properties.json b/SmartTest.package/SmTTestingStrategyFiveMinutes.class/properties.json deleted file mode 100644 index 4889df8..0000000 --- a/SmartTest.package/SmTTestingStrategyFiveMinutes.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "BenoitVerhaeghe 7/13/2017 14:19", - "super" : "SmTTestingStrategy", - "category" : "SmartTest-Testing", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTTestingStrategyFiveMinutes", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest.package/SmTTestingStrategyNever.class/README.md b/SmartTest.package/SmTTestingStrategyNever.class/README.md deleted file mode 100644 index 694e63d..0000000 --- a/SmartTest.package/SmTTestingStrategyNever.class/README.md +++ /dev/null @@ -1 +0,0 @@ -CORA never run test automatically \ No newline at end of file diff --git a/SmartTest.package/SmTTestingStrategyNever.class/instance/findTestsForMethod..st b/SmartTest.package/SmTTestingStrategyNever.class/instance/findTestsForMethod..st deleted file mode 100644 index 0e3832c..0000000 --- a/SmartTest.package/SmTTestingStrategyNever.class/instance/findTestsForMethod..st +++ /dev/null @@ -1,3 +0,0 @@ -instance creation -findTestsForMethod: aCompiledMethod - ^ self getMethodsFor: aCompiledMethod \ No newline at end of file diff --git a/SmartTest.package/SmTTestingStrategyNever.class/properties.json b/SmartTest.package/SmTTestingStrategyNever.class/properties.json deleted file mode 100644 index 5536709..0000000 --- a/SmartTest.package/SmTTestingStrategyNever.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "BenoitVerhaeghe 7/13/2017 14:19", - "super" : "SmTTestingStrategy", - "category" : "SmartTest-Testing", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTTestingStrategyNever", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest.package/SmalltalkImage.extension/instance/allMethods.st b/SmartTest.package/SmalltalkImage.extension/instance/allMethods.st deleted file mode 100644 index 240d58f..0000000 --- a/SmartTest.package/SmalltalkImage.extension/instance/allMethods.st +++ /dev/null @@ -1,4 +0,0 @@ -*SmartTest -allMethods - - ^ globals allClasses flatCollect: #methods \ No newline at end of file diff --git a/SmartTest.package/SmalltalkImage.extension/instance/allTestMethods.st b/SmartTest.package/SmalltalkImage.extension/instance/allTestMethods.st deleted file mode 100644 index 51b7173..0000000 --- a/SmartTest.package/SmalltalkImage.extension/instance/allTestMethods.st +++ /dev/null @@ -1,4 +0,0 @@ -*SmartTest -allTestMethods - - ^(globals allClasses flatCollect: #methods) select: #isTestMethod \ No newline at end of file diff --git a/SmartTest.package/SmalltalkImage.extension/properties.json b/SmartTest.package/SmalltalkImage.extension/properties.json deleted file mode 100644 index f581b92..0000000 --- a/SmartTest.package/SmalltalkImage.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "SmalltalkImage" -} \ No newline at end of file diff --git a/SmartTest.package/SmartFinder.class/README.md b/SmartTest.package/SmartFinder.class/README.md deleted file mode 100644 index 03f4122..0000000 --- a/SmartTest.package/SmartFinder.class/README.md +++ /dev/null @@ -1,13 +0,0 @@ -I'm the boss !!! - -I contain the instance of all the stuff the user needs. - -If you want to specify some strategy -use it more or less that way (here with the default values) - -SmartFinder new - cache: self cacheStrategy new; - filter: self filter new; - testRunner: self testRunner; - smtFinder: self smtFinder new; - testingStrategy: self testingStrategy new \ No newline at end of file diff --git a/SmartTest.package/SmartFinder.class/instance/autoUpdateCache..st b/SmartTest.package/SmartFinder.class/instance/autoUpdateCache..st deleted file mode 100644 index d9fde1a..0000000 --- a/SmartTest.package/SmartFinder.class/instance/autoUpdateCache..st +++ /dev/null @@ -1,5 +0,0 @@ -accessing -autoUpdateCache: aBoolean - self smtListener cacheStrategy: self cacheStrategy. - self smtListener smtDynamicFinder: self smtFinder. - self smtListener class activated: aBoolean \ No newline at end of file diff --git a/SmartTest.package/SmartFinder.class/instance/buildCacheFromTestSuite..st b/SmartTest.package/SmartFinder.class/instance/buildCacheFromTestSuite..st deleted file mode 100644 index 4d07ca0..0000000 --- a/SmartTest.package/SmartFinder.class/instance/buildCacheFromTestSuite..st +++ /dev/null @@ -1,4 +0,0 @@ -api -buildCacheFromTestSuite: aTestSuite - "Work only if you have selected a Dynamic strategy" - self smtFinder buildCacheFromTestSuite: aTestSuite \ No newline at end of file diff --git a/SmartTest.package/SmartFinder.class/instance/cacheStrategy..st b/SmartTest.package/SmartFinder.class/instance/cacheStrategy..st deleted file mode 100644 index fd0a35a..0000000 --- a/SmartTest.package/SmartFinder.class/instance/cacheStrategy..st +++ /dev/null @@ -1,7 +0,0 @@ -accessing -cacheStrategy: aSmTCacheStrategy - | tmpCache | - tmpCache := self currentCache. - cacheStrategy := aSmTCacheStrategy. - cacheStrategy cache: tmpCache. - self smtFinder cache: cacheStrategy \ No newline at end of file diff --git a/SmartTest.package/SmartFinder.class/instance/cacheStrategy.st b/SmartTest.package/SmartFinder.class/instance/cacheStrategy.st deleted file mode 100644 index db09239..0000000 --- a/SmartTest.package/SmartFinder.class/instance/cacheStrategy.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -cacheStrategy - ^ cacheStrategy ifNil: [ cacheStrategy := SmTBasicCacheStrategy new cache: Dictionary new ] \ No newline at end of file diff --git a/SmartTest.package/SmartFinder.class/instance/clean.st b/SmartTest.package/SmartFinder.class/instance/clean.st deleted file mode 100644 index 8f475f1..0000000 --- a/SmartTest.package/SmartFinder.class/instance/clean.st +++ /dev/null @@ -1,5 +0,0 @@ -api -clean - "Use before loosing my reference - I remove the listener" - self testingStrategy disable \ No newline at end of file diff --git a/SmartTest.package/SmartFinder.class/instance/currentCache.st b/SmartTest.package/SmartFinder.class/instance/currentCache.st deleted file mode 100644 index 2e7acd8..0000000 --- a/SmartTest.package/SmartFinder.class/instance/currentCache.st +++ /dev/null @@ -1,3 +0,0 @@ -api -currentCache - ^ self cacheStrategy currentCache \ No newline at end of file diff --git a/SmartTest.package/SmartFinder.class/instance/filter..st b/SmartTest.package/SmartFinder.class/instance/filter..st deleted file mode 100644 index be3780f..0000000 --- a/SmartTest.package/SmartFinder.class/instance/filter..st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -filter: aSmTDefaultPackagesFilter - filter := aSmTDefaultPackagesFilter. - self smtFinder filter: aSmTDefaultPackagesFilter \ No newline at end of file diff --git a/SmartTest.package/SmartFinder.class/instance/filter.st b/SmartTest.package/SmartFinder.class/instance/filter.st deleted file mode 100644 index 5bedb47..0000000 --- a/SmartTest.package/SmartFinder.class/instance/filter.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -filter - ^ filter ifNil: [ filter := SmTDefaultPackagesFilter new ] \ No newline at end of file diff --git a/SmartTest.package/SmartFinder.class/instance/findTestsForMethod..st b/SmartTest.package/SmartFinder.class/instance/findTestsForMethod..st deleted file mode 100644 index a519ae2..0000000 --- a/SmartTest.package/SmartFinder.class/instance/findTestsForMethod..st +++ /dev/null @@ -1,6 +0,0 @@ -api -findTestsForMethod: aCompiledMethod - "This is the api for QA (use the testing strategy, the rule strategy etc.) - If you only want to find the tests, please consider using #researchTestsForMethod:" - - ^ self testingStrategy findTestsForMethod: aCompiledMethod \ No newline at end of file diff --git a/SmartTest.package/SmartFinder.class/instance/initialize.st b/SmartTest.package/SmartFinder.class/instance/initialize.st deleted file mode 100644 index 061f7c5..0000000 --- a/SmartTest.package/SmartFinder.class/instance/initialize.st +++ /dev/null @@ -1,3 +0,0 @@ -initialization -initialize - self shouldTryToFindTestForDynamic: false \ No newline at end of file diff --git a/SmartTest.package/SmartFinder.class/instance/researchTestsForMethod..st b/SmartTest.package/SmartFinder.class/instance/researchTestsForMethod..st deleted file mode 100644 index b98b447..0000000 --- a/SmartTest.package/SmartFinder.class/instance/researchTestsForMethod..st +++ /dev/null @@ -1,4 +0,0 @@ -api -researchTestsForMethod: aCompiledMethod - "If you only want to find the tests" - ^ self smtFinder methodsFor: aCompiledMethod. \ No newline at end of file diff --git a/SmartTest.package/SmartFinder.class/instance/resetCache.st b/SmartTest.package/SmartFinder.class/instance/resetCache.st deleted file mode 100644 index 3ffe47b..0000000 --- a/SmartTest.package/SmartFinder.class/instance/resetCache.st +++ /dev/null @@ -1,3 +0,0 @@ -api -resetCache - self cacheStrategy resetCache \ No newline at end of file diff --git a/SmartTest.package/SmartFinder.class/instance/searchTestsForASetUpMethod..st b/SmartTest.package/SmartFinder.class/instance/searchTestsForASetUpMethod..st deleted file mode 100644 index 1256e7f..0000000 --- a/SmartTest.package/SmartFinder.class/instance/searchTestsForASetUpMethod..st +++ /dev/null @@ -1,3 +0,0 @@ -api -searchTestsForASetUpMethod: aCompiledMethod - ^ self smtFinder searchTestsForASetUpMethod: aCompiledMethod. \ No newline at end of file diff --git a/SmartTest.package/SmartFinder.class/instance/searchTestsForATearDownMethod..st b/SmartTest.package/SmartFinder.class/instance/searchTestsForATearDownMethod..st deleted file mode 100644 index a9d746c..0000000 --- a/SmartTest.package/SmartFinder.class/instance/searchTestsForATearDownMethod..st +++ /dev/null @@ -1,3 +0,0 @@ -api -searchTestsForATearDownMethod: aCompiledMethod - ^ self smtFinder searchTestsForATearDownMethod: aCompiledMethod \ No newline at end of file diff --git a/SmartTest.package/SmartFinder.class/instance/searchTestsForATestMethod..st b/SmartTest.package/SmartFinder.class/instance/searchTestsForATestMethod..st deleted file mode 100644 index 1a11564..0000000 --- a/SmartTest.package/SmartFinder.class/instance/searchTestsForATestMethod..st +++ /dev/null @@ -1,3 +0,0 @@ -api -searchTestsForATestMethod: aCompiledMethod - ^ self smtFinder searchTestsForATestMethod: aCompiledMethod \ No newline at end of file diff --git a/SmartTest.package/SmartFinder.class/instance/setCacheValues..st b/SmartTest.package/SmartFinder.class/instance/setCacheValues..st deleted file mode 100644 index 6b99ca6..0000000 --- a/SmartTest.package/SmartFinder.class/instance/setCacheValues..st +++ /dev/null @@ -1,3 +0,0 @@ -api -setCacheValues: aDictionnary - self cacheStrategy cache: aDictionnary. \ No newline at end of file diff --git a/SmartTest.package/SmartFinder.class/instance/shouldTryToFindTestForDynamic..st b/SmartTest.package/SmartFinder.class/instance/shouldTryToFindTestForDynamic..st deleted file mode 100644 index a299c01..0000000 --- a/SmartTest.package/SmartFinder.class/instance/shouldTryToFindTestForDynamic..st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -shouldTryToFindTestForDynamic: aBoolean - shouldTryToFindTestForDynamic := aBoolean. - self smtFinder shouldTryToFindTestForDynamic: aBoolean \ No newline at end of file diff --git a/SmartTest.package/SmartFinder.class/instance/shouldTryToFindTestForDynamic.st b/SmartTest.package/SmartFinder.class/instance/shouldTryToFindTestForDynamic.st deleted file mode 100644 index ce10b33..0000000 --- a/SmartTest.package/SmartFinder.class/instance/shouldTryToFindTestForDynamic.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -shouldTryToFindTestForDynamic - ^ shouldTryToFindTestForDynamic \ No newline at end of file diff --git a/SmartTest.package/SmartFinder.class/instance/smtFinder..st b/SmartTest.package/SmartFinder.class/instance/smtFinder..st deleted file mode 100644 index 763196f..0000000 --- a/SmartTest.package/SmartFinder.class/instance/smtFinder..st +++ /dev/null @@ -1,8 +0,0 @@ -accessing -smtFinder: aSmTTestFinderStrategy - smtFinder := aSmTTestFinderStrategy. - smtFinder - filter: self filter; - cache: self cacheStrategy; - shouldTryToFindTestForDynamic: self shouldTryToFindTestForDynamic. - self testingStrategy finder: aSmTTestFinderStrategy \ No newline at end of file diff --git a/SmartTest.package/SmartFinder.class/instance/smtFinder.st b/SmartTest.package/SmartFinder.class/instance/smtFinder.st deleted file mode 100644 index a1116c9..0000000 --- a/SmartTest.package/SmartFinder.class/instance/smtFinder.st +++ /dev/null @@ -1,8 +0,0 @@ -accessing -smtFinder - ^ smtFinder - ifNil: [ smtFinder := SmTSenderTestFinderStrategy new - filter: self filter; - cache: self cacheStrategy; - shouldTryToFindTestForDynamic: self shouldTryToFindTestForDynamic; - yourself ] \ No newline at end of file diff --git a/SmartTest.package/SmartFinder.class/instance/smtListener.st b/SmartTest.package/SmartFinder.class/instance/smtListener.st deleted file mode 100644 index cff0bdf..0000000 --- a/SmartTest.package/SmartFinder.class/instance/smtListener.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -smtListener - ^ SmTTestListener uniqueInstance \ No newline at end of file diff --git a/SmartTest.package/SmartFinder.class/instance/testRunner..st b/SmartTest.package/SmartFinder.class/instance/testRunner..st deleted file mode 100644 index a975cae..0000000 --- a/SmartTest.package/SmartFinder.class/instance/testRunner..st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -testRunner: aSmTRunnerStrategy - testRunner := aSmTRunnerStrategy. - self testingStrategy runner: aSmTRunnerStrategy \ No newline at end of file diff --git a/SmartTest.package/SmartFinder.class/instance/testRunner.st b/SmartTest.package/SmartFinder.class/instance/testRunner.st deleted file mode 100644 index ecaa12a..0000000 --- a/SmartTest.package/SmartFinder.class/instance/testRunner.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -testRunner - ^ testRunner ifNil: [ testRunner := SmTRunnerStrategySmart ] \ No newline at end of file diff --git a/SmartTest.package/SmartFinder.class/instance/testingStrategy..st b/SmartTest.package/SmartFinder.class/instance/testingStrategy..st deleted file mode 100644 index 7befedb..0000000 --- a/SmartTest.package/SmartFinder.class/instance/testingStrategy..st +++ /dev/null @@ -1,8 +0,0 @@ -accessing -testingStrategy: aSmTTestingStrategy - testingStrategy disable. - testingStrategy := aSmTTestingStrategy. - testingStrategy - runner: self testRunner; - finder: self smtFinder. - testingStrategy enable. \ No newline at end of file diff --git a/SmartTest.package/SmartFinder.class/instance/testingStrategy.st b/SmartTest.package/SmartFinder.class/instance/testingStrategy.st deleted file mode 100644 index b06a04e..0000000 --- a/SmartTest.package/SmartFinder.class/instance/testingStrategy.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -testingStrategy - ^ testingStrategy ifNil: [ testingStrategy := SmTTestingStrategyEachModification new runner: self testRunner; finder: self smtFinder ] \ No newline at end of file diff --git a/SmartTest.package/SmartFinder.class/properties.json b/SmartTest.package/SmartFinder.class/properties.json deleted file mode 100644 index eba1da2..0000000 --- a/SmartTest.package/SmartFinder.class/properties.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/3/2018 17:47", - "super" : "Object", - "category" : "SmartTest-Core", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "filter", - "testRunner", - "testingStrategy", - "smtFinder", - "cacheStrategy", - "shouldTryToFindTestForDynamic", - "autoUpdateCache", - "smtListener" - ], - "name" : "SmartFinder", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTest.package/TestAsserter.extension/instance/isTestSuite.st b/SmartTest.package/TestAsserter.extension/instance/isTestSuite.st deleted file mode 100644 index a3f60f7..0000000 --- a/SmartTest.package/TestAsserter.extension/instance/isTestSuite.st +++ /dev/null @@ -1,3 +0,0 @@ -*SmartTest -isTestSuite - ^ false \ No newline at end of file diff --git a/SmartTest.package/TestAsserter.extension/properties.json b/SmartTest.package/TestAsserter.extension/properties.json deleted file mode 100644 index 1ee87cb..0000000 --- a/SmartTest.package/TestAsserter.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "TestAsserter" -} \ No newline at end of file diff --git a/SmartTest.package/TestCase.extension/class/allTestMethods.st b/SmartTest.package/TestCase.extension/class/allTestMethods.st deleted file mode 100644 index 2f67a65..0000000 --- a/SmartTest.package/TestCase.extension/class/allTestMethods.st +++ /dev/null @@ -1,4 +0,0 @@ -*SmartTest -allTestMethods - ^ self methods select: [:aCompiledMethod| - aCompiledMethod isTestMethod]. \ No newline at end of file diff --git a/SmartTest.package/TestCase.extension/class/generalAnnouncer.st b/SmartTest.package/TestCase.extension/class/generalAnnouncer.st deleted file mode 100644 index c048a0e..0000000 --- a/SmartTest.package/TestCase.extension/class/generalAnnouncer.st +++ /dev/null @@ -1,3 +0,0 @@ -*SmartTest -generalAnnouncer - ^ SmTAnnouncer announcer \ No newline at end of file diff --git a/SmartTest.package/TestCase.extension/class/shouldAnnounce.st b/SmartTest.package/TestCase.extension/class/shouldAnnounce.st deleted file mode 100644 index 5d9bebe..0000000 --- a/SmartTest.package/TestCase.extension/class/shouldAnnounce.st +++ /dev/null @@ -1,3 +0,0 @@ -*SmartTest -shouldAnnounce - ^ SmTAnnouncer shouldAnnounce \ No newline at end of file diff --git a/SmartTest.package/TestCase.extension/instance/announce.withResult..st b/SmartTest.package/TestCase.extension/instance/announce.withResult..st deleted file mode 100644 index 320f818..0000000 --- a/SmartTest.package/TestCase.extension/instance/announce.withResult..st +++ /dev/null @@ -1,11 +0,0 @@ -*SmartTest -announce: anAnnouncementClass withResult: result - | event | - self shouldAnnounce - ifFalse: [ ^ self ]. - - event := anAnnouncementClass asAnnouncement. - event testCase: self. - event testSelector: testSelector. - event testResult: result. - self generalAnnouncer announce: event \ No newline at end of file diff --git a/SmartTest.package/TestCase.extension/instance/generalAnnouncer.st b/SmartTest.package/TestCase.extension/instance/generalAnnouncer.st deleted file mode 100644 index 29c83d3..0000000 --- a/SmartTest.package/TestCase.extension/instance/generalAnnouncer.st +++ /dev/null @@ -1,3 +0,0 @@ -*SmartTest -generalAnnouncer - ^ self class generalAnnouncer \ No newline at end of file diff --git a/SmartTest.package/TestCase.extension/instance/methodReference.st b/SmartTest.package/TestCase.extension/instance/methodReference.st deleted file mode 100644 index 63b469a..0000000 --- a/SmartTest.package/TestCase.extension/instance/methodReference.st +++ /dev/null @@ -1,3 +0,0 @@ -*SmartTest -methodReference - ^ RGMethodDefinition class: self class selector: self selector \ No newline at end of file diff --git a/SmartTest.package/TestCase.extension/properties.json b/SmartTest.package/TestCase.extension/properties.json deleted file mode 100644 index a3fb0af..0000000 --- a/SmartTest.package/TestCase.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "TestCase" -} \ No newline at end of file diff --git a/SmartTest.package/TestSuite.extension/instance/flatCollectTests.st b/SmartTest.package/TestSuite.extension/instance/flatCollectTests.st deleted file mode 100644 index b7487f9..0000000 --- a/SmartTest.package/TestSuite.extension/instance/flatCollectTests.st +++ /dev/null @@ -1,9 +0,0 @@ -*SmartTest -flatCollectTests - ^ tests - ifNil: [ ^ {} ] - ifNotNil: [ tests - flatCollect: [ :t | - t isTestSuite - ifTrue: [ t flatCollectTests ] - ifFalse: [ {t} ] ] ] \ No newline at end of file diff --git a/SmartTest.package/TestSuite.extension/instance/isTestSuite.st b/SmartTest.package/TestSuite.extension/instance/isTestSuite.st deleted file mode 100644 index 9e3e4f7..0000000 --- a/SmartTest.package/TestSuite.extension/instance/isTestSuite.st +++ /dev/null @@ -1,3 +0,0 @@ -*SmartTest -isTestSuite - ^ true \ No newline at end of file diff --git a/SmartTest.package/TestSuite.extension/properties.json b/SmartTest.package/TestSuite.extension/properties.json deleted file mode 100644 index c8d279a..0000000 --- a/SmartTest.package/TestSuite.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "TestSuite" -} \ No newline at end of file diff --git a/SmartTest.package/monticello.meta/categories.st b/SmartTest.package/monticello.meta/categories.st deleted file mode 100644 index 8985a7f..0000000 --- a/SmartTest.package/monticello.meta/categories.st +++ /dev/null @@ -1,12 +0,0 @@ -SystemOrganization addCategory: #SmartTest! -SystemOrganization addCategory: #'SmartTest-Cache'! -SystemOrganization addCategory: #'SmartTest-Core'! -SystemOrganization addCategory: #'SmartTest-Critiques'! -SystemOrganization addCategory: #'SmartTest-Event'! -SystemOrganization addCategory: #'SmartTest-Filter'! -SystemOrganization addCategory: #'SmartTest-Finder'! -SystemOrganization addCategory: #'SmartTest-Listener'! -SystemOrganization addCategory: #'SmartTest-Rules'! -SystemOrganization addCategory: #'SmartTest-Runner'! -SystemOrganization addCategory: #'SmartTest-Testing'! -SystemOrganization addCategory: #'SmartTest-Tools'! diff --git a/SmartTest.package/monticello.meta/initializers.st b/SmartTest.package/monticello.meta/initializers.st deleted file mode 100644 index e69de29..0000000 diff --git a/SmartTest.package/monticello.meta/package b/SmartTest.package/monticello.meta/package deleted file mode 100644 index 803c6d8..0000000 --- a/SmartTest.package/monticello.meta/package +++ /dev/null @@ -1 +0,0 @@ -(name 'SmartTest') \ No newline at end of file diff --git a/SmartTest.package/properties.json b/SmartTest.package/properties.json deleted file mode 100644 index 6f31cf5..0000000 --- a/SmartTest.package/properties.json +++ /dev/null @@ -1 +0,0 @@ -{ } \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/.filetree b/SmartTestDataOutsideP1.package/.filetree deleted file mode 100644 index 57a6797..0000000 --- a/SmartTestDataOutsideP1.package/.filetree +++ /dev/null @@ -1,5 +0,0 @@ -{ - "separateMethodMetaAndSource" : false, - "noMethodMetaData" : true, - "useCypressPropertiesFile" : true -} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageTestOutsideWithRefTest.class/README.md b/SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageTestOutsideWithRefTest.class/README.md deleted file mode 100644 index feaf30f..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageTestOutsideWithRefTest.class/README.md +++ /dev/null @@ -1,8 +0,0 @@ -Data for SmartTest tests on the testForClass:. - -Methods of this class have long name in order to be unique and explicit. -Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. - -We will use this that to assert that SmartTest behaves correctly when dealing with inherited methods ans class. - -This class has a test that references the class SmTClassModificationOnClassInsidePackageWithRef \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageTestOutsideWithRefTest.class/instance/testRefToSmTClassModificationOnClassInsidePackageWithRef.st b/SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageTestOutsideWithRefTest.class/instance/testRefToSmTClassModificationOnClassInsidePackageWithRef.st deleted file mode 100644 index 3a45b24..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageTestOutsideWithRefTest.class/instance/testRefToSmTClassModificationOnClassInsidePackageWithRef.st +++ /dev/null @@ -1,3 +0,0 @@ -tests -testRefToSmTClassModificationOnClassInsidePackageWithRef -SmTClassModificationOnClassInsidePackageWithRef new. \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageTestOutsideWithRefTest.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageTestOutsideWithRefTest.class/properties.json deleted file mode 100644 index c378741..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageTestOutsideWithRefTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "eleonoreW 6/11/2018 11:21", - "super" : "TestCase", - "category" : "SmartTestDataOutsideP1-ModificationOnClass-Tests", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTClassModificationOnClassInsidePackageTestOutsideWithRefTest", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageWithRef.class/README.md b/SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageWithRef.class/README.md deleted file mode 100644 index a58820e..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageWithRef.class/README.md +++ /dev/null @@ -1,8 +0,0 @@ -Data for SmartTest tests on the testForClass:. - -Methods of this class have long name in order to be unique and explicit. -Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. - -We will use this that to assert that SmartTest behaves correctly when dealing with inherited methods ans class. - -This class is referenced inside it package in the test SmTClassModificationOnClassInsidePackageTestOutsideWithRefTest >> testRefToSmTClassModificationOnClassInsidePackageWithRef \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageWithRef.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageWithRef.class/properties.json deleted file mode 100644 index c13622d..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassModificationOnClassInsidePackageWithRef.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "eleonoreW 6/11/2018 11:48", - "super" : "Object", - "category" : "SmartTestDataOutsideP1-ModificationOnClass", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTClassModificationOnClassInsidePackageWithRef", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassModificationOnClassOutsidePackageWithRef.class/README.md b/SmartTestDataOutsideP1.package/SmTClassModificationOnClassOutsidePackageWithRef.class/README.md deleted file mode 100644 index aa04ed3..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassModificationOnClassOutsidePackageWithRef.class/README.md +++ /dev/null @@ -1,8 +0,0 @@ -Data for SmartTest tests on the testForClass:. - -Methods of this class have long name in order to be unique and explicit. -Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. - -We will use this that to assert that SmartTest behaves correctly when dealing with inherited methods ans class. - -This class is referenced outside its package (in SmartTestDataOutsideP2) in the test RefToSmTClassModificationOnClassOutsidePackageWithRef >> testRefToSmTClassModificationOnClassOutsidePackageWithRef \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassModificationOnClassOutsidePackageWithRef.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassModificationOnClassOutsidePackageWithRef.class/properties.json deleted file mode 100644 index cb02d99..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassModificationOnClassOutsidePackageWithRef.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "eleonoreW 6/11/2018 11:48", - "super" : "Object", - "category" : "SmartTestDataOutsideP1-ModificationOnClass", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTClassModificationOnClassOutsidePackageWithRef", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassModificationOnClassSimpleTestCase.class/README.md b/SmartTestDataOutsideP1.package/SmTClassModificationOnClassSimpleTestCase.class/README.md deleted file mode 100644 index 4fc56e1..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassModificationOnClassSimpleTestCase.class/README.md +++ /dev/null @@ -1,8 +0,0 @@ -Data for SmartTest tests on the testForClass:. - -Methods of this class have long name in order to be unique and explicit. -Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. - -We will use this that to assert that SmartTest behaves correctly when dealing with inherited methods ans class. - -This class is a subclass of TestCase and contains a test. \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassModificationOnClassSimpleTestCase.class/instance/testModificationOnClassSimpleTestCase.st b/SmartTestDataOutsideP1.package/SmTClassModificationOnClassSimpleTestCase.class/instance/testModificationOnClassSimpleTestCase.st deleted file mode 100644 index 74de0bc..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassModificationOnClassSimpleTestCase.class/instance/testModificationOnClassSimpleTestCase.st +++ /dev/null @@ -1,3 +0,0 @@ -tests -testModificationOnClassSimpleTestCase -"The behaviour of this method is irrelevant." \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassModificationOnClassSimpleTestCase.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassModificationOnClassSimpleTestCase.class/properties.json deleted file mode 100644 index f37e249..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassModificationOnClassSimpleTestCase.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "eleonoreW 6/11/2018 11:51", - "super" : "TestCase", - "category" : "SmartTestDataOutsideP1-ModificationOnClass-Tests", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTClassModificationOnClassSimpleTestCase", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1.class/README.md b/SmartTestDataOutsideP1.package/SmTClassP1.class/README.md deleted file mode 100644 index fbc8827..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassP1.class/README.md +++ /dev/null @@ -1,8 +0,0 @@ -Data for SmartTest tests on the filters (default, defaultClass, restricted package). - -Methods of this class have long name in order to be unique and explicit. -Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. - -In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). - -This class is not referenced anywhere (we used concatenation to be sure). diff --git a/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1FirstLevelSendersInsidePackage.st b/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1FirstLevelSendersInsidePackage.st deleted file mode 100644 index 727219c..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1FirstLevelSendersInsidePackage.st +++ /dev/null @@ -1,5 +0,0 @@ -method1 -method1FirstLevelSendersInsidePackage - "Data for tests: method directly called by a test method from the same package" - -" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1FirstLevelSendersOutsidePackage.st b/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1FirstLevelSendersOutsidePackage.st deleted file mode 100644 index f5cdce7..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1FirstLevelSendersOutsidePackage.st +++ /dev/null @@ -1,5 +0,0 @@ -method1 -method1FirstLevelSendersOutsidePackage - "Data for tests: method directly called by a test method but not from the same package" - -" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1SecondLevelSendersInsidePackageWithTestInside.st b/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1SecondLevelSendersInsidePackageWithTestInside.st deleted file mode 100644 index a1c17b3..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1SecondLevelSendersInsidePackageWithTestInside.st +++ /dev/null @@ -1,5 +0,0 @@ -method1 -method1SecondLevelSendersInsidePackageWithTestInside - "Data for tests: method called by another method , which itself is called by a test from the same package" - -" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1SecondLevelSendersInsidePackageWithTestOutside.st b/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1SecondLevelSendersInsidePackageWithTestOutside.st deleted file mode 100644 index 313a287..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1SecondLevelSendersInsidePackageWithTestOutside.st +++ /dev/null @@ -1,5 +0,0 @@ -method1 -method1SecondLevelSendersInsidePackageWithTestOutside - "Data for tests: method called by another method from the same package, which itself is called by a test not from the same package" - -" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1SecondLevelSendersOutsidePackageWithTestInside.st b/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1SecondLevelSendersOutsidePackageWithTestInside.st deleted file mode 100644 index c7ab4cf..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1SecondLevelSendersOutsidePackageWithTestInside.st +++ /dev/null @@ -1,5 +0,0 @@ -method1 -method1SecondLevelSendersOutsidePackageWithTestInside - "Data for tests: method called by another method not from the same package, which itself is called by a test from the same package" - -" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1SecondLevelSendersOutsidePackageWithTestOutside.st b/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1SecondLevelSendersOutsidePackageWithTestOutside.st deleted file mode 100644 index 258360d..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method1SecondLevelSendersOutsidePackageWithTestOutside.st +++ /dev/null @@ -1,5 +0,0 @@ -method1 -method1SecondLevelSendersOutsidePackageWithTestOutside - "Data for tests: method called by another method not from the same package, which itself is called by a test not from the same package" - -" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method2SecondLevelSendersInsidePackageWithTestInside.st b/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method2SecondLevelSendersInsidePackageWithTestInside.st deleted file mode 100644 index 8820681..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method2SecondLevelSendersInsidePackageWithTestInside.st +++ /dev/null @@ -1,6 +0,0 @@ -method2 -method2SecondLevelSendersInsidePackageWithTestInside - "Data for tests: this method calls a method from the same package, - this method is called by a test from the same package" - "In order to be sure that this method does not reference any class, we don't use directly the class but go through their name with a concatenation and then transform them into class" -^ ('SmTClass','P1') asClass new method1SecondLevelSendersInsidePackageWithTestInside. \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method2SecondLevelSendersInsidePackageWithTestOutside.st b/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method2SecondLevelSendersInsidePackageWithTestOutside.st deleted file mode 100644 index 3b52c37..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassP1.class/instance/method2SecondLevelSendersInsidePackageWithTestOutside.st +++ /dev/null @@ -1,6 +0,0 @@ -method2 -method2SecondLevelSendersInsidePackageWithTestOutside - "Data for tests: this method calls a method from the same package, - this method is called by a test not from the same package" - "In order to be sure that this method does not reference any class, we don't use directly the class but go through their name with a concatenation and then transform them into class" -^('SmTClass','P1') asClass new method1SecondLevelSendersInsidePackageWithTestOutside. \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1.class/properties.json deleted file mode 100644 index a55ae1c..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassP1.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/11/2018 13:40", - "super" : "Object", - "category" : "SmartTestDataOutsideP1-ModificationOnMethod-WithoutRef", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTClassP1", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersInsideWithRefInMethod.class/README.md b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersInsideWithRefInMethod.class/README.md deleted file mode 100644 index ca905b8..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersInsideWithRefInMethod.class/README.md +++ /dev/null @@ -1,8 +0,0 @@ -Data for SmartTest tests on the filters. - -Methods of this class have long name in order to be unique and explicit. -Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. - -In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). - -This class is referenced by SmTP1ClassTestFirstLevelSendersInsideWithRefInMethod >> testMethod1FirstLevelSendersInsideWithRefInMethod . diff --git a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersInsideWithRefInMethod.class/instance/method1FirstLevelSendersInsideWithRefInMethod.st b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersInsideWithRefInMethod.class/instance/method1FirstLevelSendersInsideWithRefInMethod.st deleted file mode 100644 index 492989f..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersInsideWithRefInMethod.class/instance/method1FirstLevelSendersInsideWithRefInMethod.st +++ /dev/null @@ -1,5 +0,0 @@ -method1 -method1FirstLevelSendersInsideWithRefInMethod -"Data for tests: method directly called by a test method not from the same package" - -" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersInsideWithRefInMethod.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersInsideWithRefInMethod.class/properties.json deleted file mode 100644 index 1be1b61..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersInsideWithRefInMethod.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "eleonoreW 6/11/2018 14:22", - "super" : "Object", - "category" : "SmartTestDataOutsideP1-ModificationOnMethod-FirstLevelWithRef", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTClassP1FirstLevelSendersInsideWithRefInMethod", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class/README.md b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class/README.md deleted file mode 100644 index caf9473..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class/README.md +++ /dev/null @@ -1,8 +0,0 @@ -Data for SmartTest tests on the filters. - -Methods of this class have long name in order to be unique and explicit. -Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. - -In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). - -This class is referenced by SmTClassTestP2FirstLevelSendersOutsideWithRef >> refInClass . diff --git a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class/instance/method1FirstLevelSendersWithRefInClass.st b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class/instance/method1FirstLevelSendersWithRefInClass.st deleted file mode 100644 index 0867a5c..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class/instance/method1FirstLevelSendersWithRefInClass.st +++ /dev/null @@ -1,5 +0,0 @@ -method1 -method1FirstLevelSendersWithRefInClass -"Data for tests: method directly called by a test method not from the same package" - -" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class/properties.json deleted file mode 100644 index 8fa57df..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInClass.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "eleonoreW 6/11/2018 09:53", - "super" : "Object", - "category" : "SmartTestDataOutsideP1-ModificationOnMethod-FirstLevelWithRef", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTClassP1FirstLevelSendersOutsideWithRefInClass", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class/README.md b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class/README.md deleted file mode 100644 index 5a332eb..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class/README.md +++ /dev/null @@ -1,8 +0,0 @@ -Data for SmartTest tests on the filters. - -Methods of this class have long name in order to be unique and explicit. -Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. - -In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). - -This class is referenced by SmartTestDataOutside: SmTClassTestP2 >> testMethod1FirstLevelSendersOutsideWithRefInMethod . \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class/instance/method1FirstLevelSendersWithRefInMethod.st b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class/instance/method1FirstLevelSendersWithRefInMethod.st deleted file mode 100644 index 075633d..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class/instance/method1FirstLevelSendersWithRefInMethod.st +++ /dev/null @@ -1,5 +0,0 @@ -method1 -method1FirstLevelSendersWithRefInMethod -"Data for tests: method directly called by a test method not from the same package" - -" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class/properties.json deleted file mode 100644 index aca6399..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInMethod.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "eleonoreW 6/11/2018 09:56", - "super" : "Object", - "category" : "SmartTestDataOutsideP1-ModificationOnMethod-FirstLevelWithRef", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTClassP1FirstLevelSendersOutsideWithRefInMethod", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class/README.md b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class/README.md deleted file mode 100644 index 2bd355b..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class/README.md +++ /dev/null @@ -1,8 +0,0 @@ -Data for SmartTest tests on the filters. - -Methods of this class have long name in order to be unique and explicit. -Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. - -In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). - -This class is referenced by SmartTestDataOutsideP2: SmTClassP2ReferencesInPackage >> referenceToSmTClassP1FirstLevelSendersOutsideWithRefInPackage . \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class/instance/method1FirstLevelSendersWithRefInPackage.st b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class/instance/method1FirstLevelSendersWithRefInPackage.st deleted file mode 100644 index 50a0e0b..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class/instance/method1FirstLevelSendersWithRefInPackage.st +++ /dev/null @@ -1,5 +0,0 @@ -method1 -method1FirstLevelSendersWithRefInPackage -"Data for tests: method directly called by a test method not from the same package" - -" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class/properties.json deleted file mode 100644 index 41396ce..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassP1FirstLevelSendersOutsideWithRefInPackage.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "eleonoreW 6/11/2018 09:55", - "super" : "Object", - "category" : "SmartTestDataOutsideP1-ModificationOnMethod-FirstLevelWithRef", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTClassP1FirstLevelSendersOutsideWithRefInPackage", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/README.md b/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/README.md deleted file mode 100644 index e222370..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/README.md +++ /dev/null @@ -1,8 +0,0 @@ -Data for SmartTest tests on the testForAnInstanceVariable:. - -Methods of this class have long name in order to be unique and explicit. -Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. - -We will use this that to assert that SmartTest behaves correctly when dealing with modifications on instance variables. - -It contains different instance variables that are used in tests. Each variable has only one test that calls them. \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/instVarModificationOnVariableInsidePackage..st b/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/instVarModificationOnVariableInsidePackage..st deleted file mode 100644 index 1dadc5b..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/instVarModificationOnVariableInsidePackage..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -instVarModificationOnVariableInsidePackage: anObject - instVarModificationOnVariableInsidePackage := anObject \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/instVarModificationOnVariableInsidePackage.st b/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/instVarModificationOnVariableInsidePackage.st deleted file mode 100644 index 54e008f..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/instVarModificationOnVariableInsidePackage.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -instVarModificationOnVariableInsidePackage - ^ instVarModificationOnVariableInsidePackage \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/instVarModificationOnVariableOutsidePackage..st b/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/instVarModificationOnVariableOutsidePackage..st deleted file mode 100644 index fc92231..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/instVarModificationOnVariableOutsidePackage..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -instVarModificationOnVariableOutsidePackage: anObject - instVarModificationOnVariableOutsidePackage := anObject \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/instVarModificationOnVariableOutsidePackage.st b/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/instVarModificationOnVariableOutsidePackage.st deleted file mode 100644 index 812e85d..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/instance/instVarModificationOnVariableOutsidePackage.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -instVarModificationOnVariableOutsidePackage - ^ instVarModificationOnVariableOutsidePackage \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/properties.json deleted file mode 100644 index 0ae4d3f..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariable.class/properties.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "commentStamp" : "eleonoreW 6/11/2018 10:31", - "super" : "Object", - "category" : "SmartTestDataOutsideP1-ModificationOnVariable", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "instVarModificationOnVariableInsidePackage", - "instVarModificationOnVariableOutsidePackage" - ], - "name" : "SmTClassP1ModificationOnVariable", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsideClassTest.class/README.md b/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsideClassTest.class/README.md deleted file mode 100644 index 4c281fe..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsideClassTest.class/README.md +++ /dev/null @@ -1,8 +0,0 @@ -Data for SmartTest tests on the testForAnInstanceVariable:. - -Methods of this class have long name in order to be unique and explicit. -Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. - -We will use this that to assert that SmartTest behaves correctly when dealing with modifications on instance variables. - -This class has an instance variable used inside the class in a test. \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsideClassTest.class/instance/instVarModificationOnVariableInsideClass..st b/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsideClassTest.class/instance/instVarModificationOnVariableInsideClass..st deleted file mode 100644 index 57981dc..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsideClassTest.class/instance/instVarModificationOnVariableInsideClass..st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -instVarModificationOnVariableInsideClass: anObject - instVarModificationOnVariableInsideClass := anObject \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsideClassTest.class/instance/instVarModificationOnVariableInsideClass.st b/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsideClassTest.class/instance/instVarModificationOnVariableInsideClass.st deleted file mode 100644 index 2062647..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsideClassTest.class/instance/instVarModificationOnVariableInsideClass.st +++ /dev/null @@ -1,3 +0,0 @@ -accessing -instVarModificationOnVariableInsideClass - ^ instVarModificationOnVariableInsideClass \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsideClassTest.class/instance/testModificationOnVariableInsideClass.st b/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsideClassTest.class/instance/testModificationOnVariableInsideClass.st deleted file mode 100644 index f5e3b50..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsideClassTest.class/instance/testModificationOnVariableInsideClass.st +++ /dev/null @@ -1,5 +0,0 @@ -tests -testModificationOnVariableInsideClass -|anObject| -anObject := ('SmTClassP1ModificationOn','VariableInsideClassTest') asClass new. -anObject instVarModificationOnVariableInsideClass \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsideClassTest.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsideClassTest.class/properties.json deleted file mode 100644 index fc5298d..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsideClassTest.class/properties.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "commentStamp" : "eleonoreW 6/11/2018 10:27", - "super" : "TestCase", - "category" : "SmartTestDataOutsideP1-ModificationOnVariable-Tests", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "instVarModificationOnVariableInsideClass" - ], - "name" : "SmTClassP1ModificationOnVariableInsideClassTest", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsidePackageTest.class/README.md b/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsidePackageTest.class/README.md deleted file mode 100644 index 92ec6c1..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsidePackageTest.class/README.md +++ /dev/null @@ -1,6 +0,0 @@ -Data for SmartTest tests on the testForAnInstanceVariable:. - -Methods of this class have long name in order to be unique and explicit. -Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. - -We will use this that to assert that SmartTest behaves correctly when dealing with modifications on instance variables. \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsidePackageTest.class/instance/testModificationOnVariableInsidePackage.st b/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsidePackageTest.class/instance/testModificationOnVariableInsidePackage.st deleted file mode 100644 index 5a76e2b..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsidePackageTest.class/instance/testModificationOnVariableInsidePackage.st +++ /dev/null @@ -1,5 +0,0 @@ -tests -testModificationOnVariableInsidePackage -|anObject| -anObject := ('SmTClassP1','ModificationOnVariable')asClass new. -anObject instVarModificationOnVariableInsidePackage \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsidePackageTest.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsidePackageTest.class/properties.json deleted file mode 100644 index 4654731..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassP1ModificationOnVariableInsidePackageTest.class/properties.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "commentStamp" : "eleonoreW 6/1/2018 14:13", - "super" : "TestCase", - "category" : "SmartTestDataOutsideP1-ModificationOnVariable-Tests", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "instVarModificationOnVariable" - ], - "name" : "SmTClassP1ModificationOnVariableInsidePackageTest", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class/README.md b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class/README.md deleted file mode 100644 index 47b1d05..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class/README.md +++ /dev/null @@ -1,10 +0,0 @@ -Data for SmartTest tests on the DefaultClassPackage filter. - -Methods of this class have long name in order to be unique and explicit. -Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. - -In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). - -In this class, there is the modified method and its first level sender (which contains 'method2' in it's name). In another package, there is the second level sender of the modified method (which contains 'testmethod2' in it's name). - -This class is referenced in the package SmartTestDataOutsideP2inside the same class as testMethod2 (but not in the same method). \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class/instance/method1SecondLevelSendersInsideTestOutsideWithRefInClass.st b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class/instance/method1SecondLevelSendersInsideTestOutsideWithRefInClass.st deleted file mode 100644 index 900a979..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class/instance/method1SecondLevelSendersInsideTestOutsideWithRefInClass.st +++ /dev/null @@ -1,5 +0,0 @@ -method1 -method1SecondLevelSendersInsideTestOutsideWithRefInClass -"Data for tests: method directly called by a test method not from the same package" - -" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class/instance/method2SecondLevelSendersInsideTestOutsideWithRefInClass.st b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class/instance/method2SecondLevelSendersInsideTestOutsideWithRefInClass.st deleted file mode 100644 index fac6880..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class/instance/method2SecondLevelSendersInsideTestOutsideWithRefInClass.st +++ /dev/null @@ -1,5 +0,0 @@ -method2 -method2SecondLevelSendersInsideTestOutsideWithRefInClass -"Data for tests: method directly called by a test method not from the same package" - ^ self method1SecondLevelSendersInsideTestOutsideWithRefInClass -" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class/properties.json deleted file mode 100644 index 97d8117..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/16/2018 16:22", - "super" : "Object", - "category" : "SmartTestDataOutsideP1-ModificationOnMethod-SenderInTestOutWithRef", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class/README.md b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class/README.md deleted file mode 100644 index 552df47..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class/README.md +++ /dev/null @@ -1,10 +0,0 @@ -Data for SmartTest tests on the DefaultClassPackage filter. - -Methods of this class have long name in order to be unique and explicit. -Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. - -In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). - -In this class, there is the modified method and its first level sender (which contains 'method2' in it's name). In another package, there is the second level sender of the modified method (which contains 'testmethod2' in it's name). - -This class is referenced in the package SmartTestDataOutsideP2inside the same method as testMethod2. \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class/instance/method1SecondLevelSendersInsideTestOutsideWithRefInMethod.st b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class/instance/method1SecondLevelSendersInsideTestOutsideWithRefInMethod.st deleted file mode 100644 index 4b235ea..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class/instance/method1SecondLevelSendersInsideTestOutsideWithRefInMethod.st +++ /dev/null @@ -1,5 +0,0 @@ -method1 -method1SecondLevelSendersInsideTestOutsideWithRefInMethod -"Data for tests: method directly called by a test method not from the same package" - -" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class/instance/method2SecondLevelSendersInsideTestOutsideWithRefInMethod.st b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class/instance/method2SecondLevelSendersInsideTestOutsideWithRefInMethod.st deleted file mode 100644 index 229e665..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class/instance/method2SecondLevelSendersInsideTestOutsideWithRefInMethod.st +++ /dev/null @@ -1,5 +0,0 @@ -method2 -method2SecondLevelSendersInsideTestOutsideWithRefInMethod -"Data for tests: method directly called by a test method not from the same package" - ^ self method1SecondLevelSendersInsideTestOutsideWithRefInMethod -" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class/properties.json deleted file mode 100644 index 50c4ab4..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/16/2018 16:22", - "super" : "Object", - "category" : "SmartTestDataOutsideP1-ModificationOnMethod-SenderInTestOutWithRef", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class/README.md b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class/README.md deleted file mode 100644 index 8848848..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class/README.md +++ /dev/null @@ -1,10 +0,0 @@ -Data for SmartTest tests on the DefaultClassPackage filter. - -Methods of this class have long name in order to be unique and explicit. -Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. - -In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). - -In this class, there is the modified method and its first level sender (which contains 'method2' in it's name). In another package, there is the second level sender of the modified method (which contains 'testmethod2' in it's name). - -This class is referenced in the package SmartTestDataOutsideP2inside the same package as testMethod2 (but not in the same method or class). \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class/instance/method1SecondLevelSendersInsideTestOutsideWithRefInPackage.st b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class/instance/method1SecondLevelSendersInsideTestOutsideWithRefInPackage.st deleted file mode 100644 index e14fd75..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class/instance/method1SecondLevelSendersInsideTestOutsideWithRefInPackage.st +++ /dev/null @@ -1,5 +0,0 @@ -method1 -method1SecondLevelSendersInsideTestOutsideWithRefInPackage -"Data for tests: method directly called by a test method not from the same package" - -" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class/instance/method2SecondLevelSendersInsideTestOutsideWithRefInPackage.st b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class/instance/method2SecondLevelSendersInsideTestOutsideWithRefInPackage.st deleted file mode 100644 index d5c9f39..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class/instance/method2SecondLevelSendersInsideTestOutsideWithRefInPackage.st +++ /dev/null @@ -1,5 +0,0 @@ -method2 -method2SecondLevelSendersInsideTestOutsideWithRefInPackage -"Data for tests: method directly called by a test method not from the same package" - ^ self method1SecondLevelSendersInsideTestOutsideWithRefInPackage -" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class/properties.json deleted file mode 100644 index 13a15fb..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/16/2018 16:22", - "super" : "Object", - "category" : "SmartTestDataOutsideP1-ModificationOnMethod-SenderInTestOutWithRef", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.class/README.md b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.class/README.md deleted file mode 100644 index cc3d28e..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.class/README.md +++ /dev/null @@ -1,10 +0,0 @@ -Data for SmartTest tests on the DefaultClassPackage filter. - -Methods of this class have long name in order to be unique and explicit. -Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. - -In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). - -In this class, there is the modified method and its second level sender (which contains 'testsmethod2' in it's name). In another package, there is the first level sender of the modified method (which contains 'method2' in it's name). - -This class is referenced in the package SmartTestDataOutsideP2inside the same class as method2 (but not in the same method). \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.class/instance/method1SecondLevelSendersOutsideTestInsideWithRefInClass.st b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.class/instance/method1SecondLevelSendersOutsideTestInsideWithRefInClass.st deleted file mode 100644 index 2c8364e..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.class/instance/method1SecondLevelSendersOutsideTestInsideWithRefInClass.st +++ /dev/null @@ -1,5 +0,0 @@ -method1 -method1SecondLevelSendersOutsideTestInsideWithRefInClass -"Data for tests: method directly called by a test method not from the same package" - -" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.class/properties.json deleted file mode 100644 index 1f116dc..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/16/2018 16:22", - "super" : "Object", - "category" : "SmartTestDataOutsideP1-ModificationOnMethod-SenderOutTestInWithRef", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class/README.md b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class/README.md deleted file mode 100644 index 88eafea..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class/README.md +++ /dev/null @@ -1,10 +0,0 @@ -Data for SmartTest tests on the DefaultClassPackage filter. - -Methods of this class have long name in order to be unique and explicit. -Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. - -In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). - -In this class, there is the modified method and its second level sender (which contains 'testsmethod2' in it's name). In another package, there is the first level sender of the modified method (which contains 'method2' in it's name). - -This class is referenced in the package SmartTestDataOutsideP2inside the same method as method2. \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class/instance/method1SecondLevelSendersOutsideTestInsideWithRefInMethod.st b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class/instance/method1SecondLevelSendersOutsideTestInsideWithRefInMethod.st deleted file mode 100644 index c1eedc0..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class/instance/method1SecondLevelSendersOutsideTestInsideWithRefInMethod.st +++ /dev/null @@ -1,5 +0,0 @@ -method1 -method1SecondLevelSendersOutsideTestInsideWithRefInMethod -"Data for tests: method directly called by a test method not from the same package" - -" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class/properties.json deleted file mode 100644 index f612c90..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/16/2018 16:22", - "super" : "Object", - "category" : "SmartTestDataOutsideP1-ModificationOnMethod-SenderOutTestInWithRef", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.class/README.md b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.class/README.md deleted file mode 100644 index b0b8052..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.class/README.md +++ /dev/null @@ -1,10 +0,0 @@ -Data for SmartTest tests on the DefaultClassPackage filter. - -Methods of this class have long name in order to be unique and explicit. -Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. - -In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). - -In this class, there is the modified method and its second level sender (which contains 'testsmethod2' in it's name). In another package, there is the first level sender of the modified method (which contains 'method2' in it's name). - -This class is referenced in the package SmartTestDataOutsideP2inside the same package as method2 (but not in the same methodor class). \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.class/instance/method1SecondLevelSendersOutsideTestInsideWithRefInPackage.st b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.class/instance/method1SecondLevelSendersOutsideTestInsideWithRefInPackage.st deleted file mode 100644 index ab2d54a..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.class/instance/method1SecondLevelSendersOutsideTestInsideWithRefInPackage.st +++ /dev/null @@ -1,5 +0,0 @@ -method1 -method1SecondLevelSendersOutsideTestInsideWithRefInPackage -"Data for tests: method directly called by a test method not from the same package" - -" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.class/properties.json deleted file mode 100644 index c2a2998..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/16/2018 16:22", - "super" : "Object", - "category" : "SmartTestDataOutsideP1-ModificationOnMethod-SenderOutTestInWithRef", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/README.md b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/README.md deleted file mode 100644 index b690942..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/README.md +++ /dev/null @@ -1,11 +0,0 @@ -Data for SmartTest tests on the filters (defaultClass). - -Methods of this class have long name in order to be unique and explicit. -Being unique, the senders of each method are controlled and consequently the tests are independent the one from the others. - -In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). - -If the name of the test contains 'method2', the test use the method method2, if the test contains 'method1', the test directly uses the modified method. - -In this class, the first and second level senders are located outside of the package of the modified method and in two different package. -We test two different setup, one in which both method2 and testMethod2 references directly the class of method1, and another in which method2 references the class of method1 and testMethod2 references the class of method2. diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/instance/method1SecondLevelSendersOutsideTestOutsideWithRefInMethod.st b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/instance/method1SecondLevelSendersOutsideTestOutsideWithRefInMethod.st deleted file mode 100644 index 35b0bf0..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/instance/method1SecondLevelSendersOutsideTestOutsideWithRefInMethod.st +++ /dev/null @@ -1,5 +0,0 @@ -method1 -method1SecondLevelSendersOutsideTestOutsideWithRefInMethod -"Data for tests: method called by a method not from the same package" - -" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/properties.json deleted file mode 100644 index f009d87..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/17/2018 10:51", - "super" : "Object", - "category" : "SmartTestDataOutsideP1-ModificationOnMethod-SenderOutTestOutWithRef", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassTestP1.class/README.md b/SmartTestDataOutsideP1.package/SmTClassTestP1.class/README.md deleted file mode 100644 index 94f49e6..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassTestP1.class/README.md +++ /dev/null @@ -1,8 +0,0 @@ -Data for SmartTest tests on the filters (default, defaultClass, restricted package). - -Methods of this class have long name in order to be unique and explicit. -Being unique, the senders of each method are controlled and consequently the tests are independent the one from the others. - -In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). - -If the name of the test contains 'method2', the test use the method method2, if the test contains 'method1', the test directly uses the modified method. diff --git a/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testExtensionMethod1FirstLevelSendersInside.st b/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testExtensionMethod1FirstLevelSendersInside.st deleted file mode 100644 index caf4b9c..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testExtensionMethod1FirstLevelSendersInside.st +++ /dev/null @@ -1,3 +0,0 @@ -testMethod1 -testExtensionMethod1FirstLevelSendersInside -SmTExtensionP2Test >> #extensionMethod1FirstLevelSendersInside \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod1FirstLevelSendersInsidePackage.st b/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod1FirstLevelSendersInsidePackage.st deleted file mode 100644 index 84131b1..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod1FirstLevelSendersInsidePackage.st +++ /dev/null @@ -1,5 +0,0 @@ -testMethod1 -testMethod1FirstLevelSendersInsidePackage -"Data for tests: this method calls directly a method from the same package." -"In order to be sure that this method does not reference any class, we don't use directly the class but go through their name with a concatenation and then transform them into class" - ^ ('SmTClass','P1') asClass new method1FirstLevelSendersInsidePackage. \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersInsidePackageWithTestInside.st b/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersInsidePackageWithTestInside.st deleted file mode 100644 index 9d3f99f..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersInsidePackageWithTestInside.st +++ /dev/null @@ -1,4 +0,0 @@ -testMethod2 -testMethod2SecondLevelSendersInsidePackageWithTestInside -"In order to be sure that this method does not reference any class, we don't use directly the class but go through their name with a concatenation and then transform them into class" - ^ ('SmTClass','P1') asClass new method2SecondLevelSendersInsidePackageWithTestInside. \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersOutsidePackageWithTestInside.st b/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersOutsidePackageWithTestInside.st deleted file mode 100644 index 3893f88..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersOutsidePackageWithTestInside.st +++ /dev/null @@ -1,4 +0,0 @@ -testMethod2 -testMethod2SecondLevelSendersOutsidePackageWithTestInside -"In order to be sure that this method does not reference any class, we don't use directly the class but go through their name with a concatenation and then transform them into class" - ^ ('SmTClass','P2') asClass new method2SecondLevelSendersOutsidePackageWithTestInside. \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInClass.st b/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInClass.st deleted file mode 100644 index 4c219ca..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInClass.st +++ /dev/null @@ -1,5 +0,0 @@ -testMethod2 -testMethod2SecondLevelSendersOutsideTestInsideWithRefInClass -"Data for tests: method directly called by a test method not from the same package" - ^('SmTClassP2SecondLevelSendersOutsideTestInsideWithRefIn','Class') asClass new method2SecondLevelSendersOutsideTestInsideWithRefInClass -" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInMethod.st b/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInMethod.st deleted file mode 100644 index a18ce1a..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInMethod.st +++ /dev/null @@ -1,5 +0,0 @@ -testMethod2 -testMethod2SecondLevelSendersOutsideTestInsideWithRefInMethod -"Data for tests: method directly called by a test method not from the same package" - ^('SmTClassP2SecondLevelSendersOutsideTestInsideWithRefIn','Method') asClass new method2SecondLevelSendersOutsideTestInsideWithRefInMethod -" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInPackage.st b/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInPackage.st deleted file mode 100644 index 4678b11..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassTestP1.class/instance/testMethod2SecondLevelSendersOutsideTestInsideWithRefInPackage.st +++ /dev/null @@ -1,5 +0,0 @@ -testMethod2 -testMethod2SecondLevelSendersOutsideTestInsideWithRefInPackage -"Data for tests: method directly called by a test method not from the same package" - ^('SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage') asClass new method2SecondLevelSendersOutsideTestInsideWithRefInPackage -" the behaviour of this method is not relevant." \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTClassTestP1.class/properties.json b/SmartTestDataOutsideP1.package/SmTClassTestP1.class/properties.json deleted file mode 100644 index 9a8461c..0000000 --- a/SmartTestDataOutsideP1.package/SmTClassTestP1.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/11/2018 11:54", - "super" : "TestCase", - "category" : "SmartTestDataOutsideP1-ModificationOnMethod-Tests", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTClassTestP1", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTExtensionP1.class/README.md b/SmartTestDataOutsideP1.package/SmTExtensionP1.class/README.md deleted file mode 100644 index f08ae56..0000000 --- a/SmartTestDataOutsideP1.package/SmTExtensionP1.class/README.md +++ /dev/null @@ -1,8 +0,0 @@ -Data for SmartTest tests on the filters:. - -Methods of this class have long name in order to be unique and explicit. -Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. - -We will use this that to assert that SmartTest behaves correctly when dealing with inherited methods ans class. - -This class inherits one test from its superior class and doesn't redefine it. \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTExtensionP1.class/instance/extensionMethod1SecondLevelSenders.st b/SmartTestDataOutsideP1.package/SmTExtensionP1.class/instance/extensionMethod1SecondLevelSenders.st deleted file mode 100644 index c1ee20e..0000000 --- a/SmartTestDataOutsideP1.package/SmTExtensionP1.class/instance/extensionMethod1SecondLevelSenders.st +++ /dev/null @@ -1,2 +0,0 @@ -as yet unclassified -extensionMethod1SecondLevelSenders \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTExtensionP1.class/properties.json b/SmartTestDataOutsideP1.package/SmTExtensionP1.class/properties.json deleted file mode 100644 index 3911250..0000000 --- a/SmartTestDataOutsideP1.package/SmTExtensionP1.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "eleonoreW 6/11/2018 10:56", - "super" : "Object", - "category" : "SmartTestDataOutsideP1-ModificationOnMethod-SenderExtensionMethod", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTExtensionP1", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTExtensionP2Test.extension/instance/extensionMethod1FirstLevelSendersInside.st b/SmartTestDataOutsideP1.package/SmTExtensionP2Test.extension/instance/extensionMethod1FirstLevelSendersInside.st deleted file mode 100644 index e004f83..0000000 --- a/SmartTestDataOutsideP1.package/SmTExtensionP2Test.extension/instance/extensionMethod1FirstLevelSendersInside.st +++ /dev/null @@ -1,3 +0,0 @@ -*SmartTestDataOutsideP1 -extensionMethod1FirstLevelSendersInside -"an extension" \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTExtensionP2Test.extension/instance/extensionMethod1FirstLevelSendersOutside.st b/SmartTestDataOutsideP1.package/SmTExtensionP2Test.extension/instance/extensionMethod1FirstLevelSendersOutside.st deleted file mode 100644 index aeaa7a9..0000000 --- a/SmartTestDataOutsideP1.package/SmTExtensionP2Test.extension/instance/extensionMethod1FirstLevelSendersOutside.st +++ /dev/null @@ -1,3 +0,0 @@ -*SmartTestDataOutsideP1 -extensionMethod1FirstLevelSendersOutside -"an extension" \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTExtensionP2Test.extension/properties.json b/SmartTestDataOutsideP1.package/SmTExtensionP2Test.extension/properties.json deleted file mode 100644 index bf6e127..0000000 --- a/SmartTestDataOutsideP1.package/SmTExtensionP2Test.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "SmTExtensionP2Test" -} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTExtensionP3.extension/instance/extensionMethod2SecondLevelSenders.st b/SmartTestDataOutsideP1.package/SmTExtensionP3.extension/instance/extensionMethod2SecondLevelSenders.st deleted file mode 100644 index 038d501..0000000 --- a/SmartTestDataOutsideP1.package/SmTExtensionP3.extension/instance/extensionMethod2SecondLevelSenders.st +++ /dev/null @@ -1,4 +0,0 @@ -*SmartTestDataOutsideP1 -extensionMethod2SecondLevelSenders -"an extension" -('SmT','ExtensionP1') asClass >> #extensionMethod1SecondLevelSenders \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTExtensionP3.extension/properties.json b/SmartTestDataOutsideP1.package/SmTExtensionP3.extension/properties.json deleted file mode 100644 index 3d521a1..0000000 --- a/SmartTestDataOutsideP1.package/SmTExtensionP3.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "SmTExtensionP3" -} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/README.md b/SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/README.md deleted file mode 100644 index 13cf63b..0000000 --- a/SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/README.md +++ /dev/null @@ -1,8 +0,0 @@ -Data for SmartTest tests on the testForClass:. - -Methods of this class have long name in order to be unique and explicit. -Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. - -We will use this that to assert that SmartTest behaves correctly when dealing with inherited methods ans class. - -This class is abstract and has one test, the subclasses will herit this test. The first subclass redefines this test ("SmTP1ClassTestSubClassRedefinesMethod") and the other doesn't ("SmTP1ClassTestSubClassDoesntRedefineMethod"). \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/class/isAbstract.st b/SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/class/isAbstract.st deleted file mode 100644 index 5ec8231..0000000 --- a/SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/class/isAbstract.st +++ /dev/null @@ -1,4 +0,0 @@ -testing -isAbstract - - ^ self == SmTP1ClassTestAbstractTestCase \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/instance/testModificationOnClassAbstractTestCase.st b/SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/instance/testModificationOnClassAbstractTestCase.st deleted file mode 100644 index fefab3c..0000000 --- a/SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/instance/testModificationOnClassAbstractTestCase.st +++ /dev/null @@ -1,3 +0,0 @@ -tests -testModificationOnClassAbstractTestCase -"the behaviour of this test is irrelevant" \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/properties.json b/SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/properties.json deleted file mode 100644 index a87f9a8..0000000 --- a/SmartTestDataOutsideP1.package/SmTP1ClassTestAbstractTestCase.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "eleonoreW 6/11/2018 10:36", - "super" : "TestCase", - "category" : "SmartTestDataOutsideP1-ModificationOnClass-Tests", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTP1ClassTestAbstractTestCase", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTP1ClassTestFirstLevelSendersInsideWithRefInMethod.class/README.md b/SmartTestDataOutsideP1.package/SmTP1ClassTestFirstLevelSendersInsideWithRefInMethod.class/README.md deleted file mode 100644 index dc88eb7..0000000 --- a/SmartTestDataOutsideP1.package/SmTP1ClassTestFirstLevelSendersInsideWithRefInMethod.class/README.md +++ /dev/null @@ -1,12 +0,0 @@ -Data for SmartTest tests on the filters (default, defaultClass, restricted package). - -Methods of this class have long name in order to be unique and explicit. -Being unique, the senders of each method are controlled and consequently the tests are independent the one from the others. - -In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). - -If the name of the test contains 'method2', the test use the method method2, if the test contains 'method1', the test directly uses the modified method. - - -This class contains a method that references the class SmTClassP1FirstLevelSendersInsideWithRefInMethod. - diff --git a/SmartTestDataOutsideP1.package/SmTP1ClassTestFirstLevelSendersInsideWithRefInMethod.class/instance/testMethod1FirstLevelSendersInsideWithRefInMethod.st b/SmartTestDataOutsideP1.package/SmTP1ClassTestFirstLevelSendersInsideWithRefInMethod.class/instance/testMethod1FirstLevelSendersInsideWithRefInMethod.st deleted file mode 100644 index 3553715..0000000 --- a/SmartTestDataOutsideP1.package/SmTP1ClassTestFirstLevelSendersInsideWithRefInMethod.class/instance/testMethod1FirstLevelSendersInsideWithRefInMethod.st +++ /dev/null @@ -1,3 +0,0 @@ -tests -testMethod1FirstLevelSendersInsideWithRefInMethod -SmTClassP1FirstLevelSendersInsideWithRefInMethod >> #method1FirstLevelSendersInsideWithRefInMethod \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTP1ClassTestFirstLevelSendersInsideWithRefInMethod.class/properties.json b/SmartTestDataOutsideP1.package/SmTP1ClassTestFirstLevelSendersInsideWithRefInMethod.class/properties.json deleted file mode 100644 index 5e1e701..0000000 --- a/SmartTestDataOutsideP1.package/SmTP1ClassTestFirstLevelSendersInsideWithRefInMethod.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "eleonoreW 6/11/2018 14:29", - "super" : "TestCase", - "category" : "SmartTestDataOutsideP1-ModificationOnMethod-Tests", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTP1ClassTestFirstLevelSendersInsideWithRefInMethod", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTP1ClassTestSubClassDoesntRedefineMethod.class/README.md b/SmartTestDataOutsideP1.package/SmTP1ClassTestSubClassDoesntRedefineMethod.class/README.md deleted file mode 100644 index 095b5d8..0000000 --- a/SmartTestDataOutsideP1.package/SmTP1ClassTestSubClassDoesntRedefineMethod.class/README.md +++ /dev/null @@ -1,8 +0,0 @@ -Data for SmartTest tests on the testForClass:. - -Methods of this class have long name in order to be unique and explicit. -Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. - -We will use this that to assert that SmartTest behaves correctly when dealing with inherited methods ans class. - -This class inherits one test from its superior class and doesn't redefine it. \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTP1ClassTestSubClassDoesntRedefineMethod.class/properties.json b/SmartTestDataOutsideP1.package/SmTP1ClassTestSubClassDoesntRedefineMethod.class/properties.json deleted file mode 100644 index 1676777..0000000 --- a/SmartTestDataOutsideP1.package/SmTP1ClassTestSubClassDoesntRedefineMethod.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "eleonoreW 6/11/2018 10:38", - "super" : "SmTP1ClassTestAbstractTestCase", - "category" : "SmartTestDataOutsideP1-ModificationOnClass-Tests", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTP1ClassTestSubClassDoesntRedefineMethod", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTP1ClassTestSubclassRedefinesMethod.class/README.md b/SmartTestDataOutsideP1.package/SmTP1ClassTestSubclassRedefinesMethod.class/README.md deleted file mode 100644 index 345ccac..0000000 --- a/SmartTestDataOutsideP1.package/SmTP1ClassTestSubclassRedefinesMethod.class/README.md +++ /dev/null @@ -1,8 +0,0 @@ -Data for SmartTest tests on the testForClass:. - -Methods of this class have long name in order to be unique and explicit. -Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. - -We will use this that to assert that SmartTest behaves correctly when dealing with inherited methods ans class. - -This class inherits one test from its superior class and redefines it. \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTP1ClassTestSubclassRedefinesMethod.class/instance/testModificationOnClassAbstractTestCase.st b/SmartTestDataOutsideP1.package/SmTP1ClassTestSubclassRedefinesMethod.class/instance/testModificationOnClassAbstractTestCase.st deleted file mode 100644 index d7007cf..0000000 --- a/SmartTestDataOutsideP1.package/SmTP1ClassTestSubclassRedefinesMethod.class/instance/testModificationOnClassAbstractTestCase.st +++ /dev/null @@ -1,3 +0,0 @@ -tests -testModificationOnClassAbstractTestCase -^super testModificationOnClassAbstractTestCase. \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTP1ClassTestSubclassRedefinesMethod.class/properties.json b/SmartTestDataOutsideP1.package/SmTP1ClassTestSubclassRedefinesMethod.class/properties.json deleted file mode 100644 index 00da709..0000000 --- a/SmartTestDataOutsideP1.package/SmTP1ClassTestSubclassRedefinesMethod.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "eleonoreW 6/11/2018 10:38", - "super" : "SmTP1ClassTestAbstractTestCase", - "category" : "SmartTestDataOutsideP1-ModificationOnClass-Tests", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTP1ClassTestSubclassRedefinesMethod", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTP1Inheritance.class/README.md b/SmartTestDataOutsideP1.package/SmTP1Inheritance.class/README.md deleted file mode 100644 index 5cddd59..0000000 --- a/SmartTestDataOutsideP1.package/SmTP1Inheritance.class/README.md +++ /dev/null @@ -1,9 +0,0 @@ -Data for SmartTest tests on the filters. - -With this class, we try to assert that SmartTest work correctly with Inherited methods and tests. - -Methods of this class have long name in order to be unique and explicit. -Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. - -In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). - diff --git a/SmartTestDataOutsideP1.package/SmTP1Inheritance.class/instance/method1Inheritance.st b/SmartTestDataOutsideP1.package/SmTP1Inheritance.class/instance/method1Inheritance.st deleted file mode 100644 index 45390f1..0000000 --- a/SmartTestDataOutsideP1.package/SmTP1Inheritance.class/instance/method1Inheritance.st +++ /dev/null @@ -1,3 +0,0 @@ -method1 -method1Inheritance -"The behaviour of this method is irrelevant." \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTP1Inheritance.class/properties.json b/SmartTestDataOutsideP1.package/SmTP1Inheritance.class/properties.json deleted file mode 100644 index cf0f742..0000000 --- a/SmartTestDataOutsideP1.package/SmTP1Inheritance.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "eleonoreW 6/11/2018 09:57", - "super" : "Object", - "category" : "SmartTestDataOutsideP1-ModificationOnMethod-Inheritance", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTP1Inheritance", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass1Test.class/README.md b/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass1Test.class/README.md deleted file mode 100644 index c67e3af..0000000 --- a/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass1Test.class/README.md +++ /dev/null @@ -1,6 +0,0 @@ -Data for SmartTest tests on the filters (default, defaultClass, restricted package). - -Methods of this class have long name in order to be unique and explicit. -Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. - -We will use this that to assert that SmartTest behaves correctly when dealing with inherited methods. \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass1Test.class/instance/testMethod1Inheritance.st b/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass1Test.class/instance/testMethod1Inheritance.st deleted file mode 100644 index 67bfdbc..0000000 --- a/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass1Test.class/instance/testMethod1Inheritance.st +++ /dev/null @@ -1,4 +0,0 @@ -tests -testMethod1Inheritance - super testMethod1Inheritance. - "The behaviour of this test is irrelevant". \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass1Test.class/properties.json b/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass1Test.class/properties.json deleted file mode 100644 index ff62c87..0000000 --- a/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass1Test.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/17/2018 11:19", - "super" : "SmTP1InheritanceTest", - "category" : "SmartTestDataOutsideP1-ModificationOnMethod-Tests", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTP1InheritanceSubClass1Test", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass2Test.class/README.md b/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass2Test.class/README.md deleted file mode 100644 index 89acbb1..0000000 --- a/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass2Test.class/README.md +++ /dev/null @@ -1,3 +0,0 @@ -method1Inheritance -"The behaviour of this method is irrelevant" -1. \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass2Test.class/properties.json b/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass2Test.class/properties.json deleted file mode 100644 index 040986f..0000000 --- a/SmartTestDataOutsideP1.package/SmTP1InheritanceSubClass2Test.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/17/2018 11:51", - "super" : "SmTP1InheritanceTest", - "category" : "SmartTestDataOutsideP1-ModificationOnMethod-Tests", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTP1InheritanceSubClass2Test", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTP1InheritanceTest.class/README.md b/SmartTestDataOutsideP1.package/SmTP1InheritanceTest.class/README.md deleted file mode 100644 index c67e3af..0000000 --- a/SmartTestDataOutsideP1.package/SmTP1InheritanceTest.class/README.md +++ /dev/null @@ -1,6 +0,0 @@ -Data for SmartTest tests on the filters (default, defaultClass, restricted package). - -Methods of this class have long name in order to be unique and explicit. -Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. - -We will use this that to assert that SmartTest behaves correctly when dealing with inherited methods. \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTP1InheritanceTest.class/class/isAbstract.st b/SmartTestDataOutsideP1.package/SmTP1InheritanceTest.class/class/isAbstract.st deleted file mode 100644 index 8873a1f..0000000 --- a/SmartTestDataOutsideP1.package/SmTP1InheritanceTest.class/class/isAbstract.st +++ /dev/null @@ -1,4 +0,0 @@ -testing -isAbstract - - ^ self == SmTP1InheritanceTest \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTP1InheritanceTest.class/instance/testMethod1Inheritance.st b/SmartTestDataOutsideP1.package/SmTP1InheritanceTest.class/instance/testMethod1Inheritance.st deleted file mode 100644 index 9dca779..0000000 --- a/SmartTestDataOutsideP1.package/SmTP1InheritanceTest.class/instance/testMethod1Inheritance.st +++ /dev/null @@ -1,4 +0,0 @@ -tests -testMethod1Inheritance - - ('SmTP1', 'Inheritance') asClass new method1Inheritance. \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/SmTP1InheritanceTest.class/properties.json b/SmartTestDataOutsideP1.package/SmTP1InheritanceTest.class/properties.json deleted file mode 100644 index e1fcbb4..0000000 --- a/SmartTestDataOutsideP1.package/SmTP1InheritanceTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/17/2018 11:14", - "super" : "TestCase", - "category" : "SmartTestDataOutsideP1-ModificationOnMethod-Tests", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTP1InheritanceTest", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/monticello.meta/categories.st b/SmartTestDataOutsideP1.package/monticello.meta/categories.st deleted file mode 100644 index 5d211d7..0000000 --- a/SmartTestDataOutsideP1.package/monticello.meta/categories.st +++ /dev/null @@ -1,13 +0,0 @@ -SystemOrganization addCategory: #SmartTestDataOutsideP1! -SystemOrganization addCategory: 'SmartTestDataOutsideP1-ModificationOnClass'! -SystemOrganization addCategory: 'SmartTestDataOutsideP1-ModificationOnClass-Tests'! -SystemOrganization addCategory: 'SmartTestDataOutsideP1-ModificationOnMethod-FirstLevelWithRef'! -SystemOrganization addCategory: 'SmartTestDataOutsideP1-ModificationOnMethod-Inheritance'! -SystemOrganization addCategory: 'SmartTestDataOutsideP1-ModificationOnMethod-SenderExtensionMethod'! -SystemOrganization addCategory: 'SmartTestDataOutsideP1-ModificationOnMethod-SenderInTestOutWithRef'! -SystemOrganization addCategory: 'SmartTestDataOutsideP1-ModificationOnMethod-SenderOutTestInWithRef'! -SystemOrganization addCategory: 'SmartTestDataOutsideP1-ModificationOnMethod-SenderOutTestOutWithRef'! -SystemOrganization addCategory: 'SmartTestDataOutsideP1-ModificationOnMethod-Tests'! -SystemOrganization addCategory: 'SmartTestDataOutsideP1-ModificationOnMethod-WithoutRef'! -SystemOrganization addCategory: 'SmartTestDataOutsideP1-ModificationOnVariable'! -SystemOrganization addCategory: 'SmartTestDataOutsideP1-ModificationOnVariable-Tests'! diff --git a/SmartTestDataOutsideP1.package/monticello.meta/initializers.st b/SmartTestDataOutsideP1.package/monticello.meta/initializers.st deleted file mode 100644 index e69de29..0000000 diff --git a/SmartTestDataOutsideP1.package/monticello.meta/package b/SmartTestDataOutsideP1.package/monticello.meta/package deleted file mode 100644 index c8a9641..0000000 --- a/SmartTestDataOutsideP1.package/monticello.meta/package +++ /dev/null @@ -1 +0,0 @@ -(name 'SmartTestDataOutsideP1') \ No newline at end of file diff --git a/SmartTestDataOutsideP1.package/properties.json b/SmartTestDataOutsideP1.package/properties.json deleted file mode 100644 index 6f31cf5..0000000 --- a/SmartTestDataOutsideP1.package/properties.json +++ /dev/null @@ -1 +0,0 @@ -{ } \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/.filetree b/SmartTestDataOutsideP2.package/.filetree deleted file mode 100644 index 57a6797..0000000 --- a/SmartTestDataOutsideP2.package/.filetree +++ /dev/null @@ -1,5 +0,0 @@ -{ - "separateMethodMetaAndSource" : false, - "noMethodMetaData" : true, - "useCypressPropertiesFile" : true -} \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassModificationOnClassOutsidePackageWithRefTest.class/README.md b/SmartTestDataOutsideP2.package/SmTClassModificationOnClassOutsidePackageWithRefTest.class/README.md deleted file mode 100644 index 66ee0bc..0000000 --- a/SmartTestDataOutsideP2.package/SmTClassModificationOnClassOutsidePackageWithRefTest.class/README.md +++ /dev/null @@ -1,8 +0,0 @@ -Data for SmartTest tests on the testForAnInstanceVariable:. - -Methods of this class have long name in order to be unique and explicit. -Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. - -We will use this that to assert that SmartTest behaves correctly when dealing with modifications on instance variables. - -This class has an instance variable used inside the class in a test the instance variable is located outside of this package (in "SmartTestDataOutsideP1"). \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassModificationOnClassOutsidePackageWithRefTest.class/instance/testRefToSmTClassModificationOnClassOutsidePackageWithRef.st b/SmartTestDataOutsideP2.package/SmTClassModificationOnClassOutsidePackageWithRefTest.class/instance/testRefToSmTClassModificationOnClassOutsidePackageWithRef.st deleted file mode 100644 index e78daec..0000000 --- a/SmartTestDataOutsideP2.package/SmTClassModificationOnClassOutsidePackageWithRefTest.class/instance/testRefToSmTClassModificationOnClassOutsidePackageWithRef.st +++ /dev/null @@ -1,3 +0,0 @@ -tests -testRefToSmTClassModificationOnClassOutsidePackageWithRef -SmTClassModificationOnClassOutsidePackageWithRef new. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassModificationOnClassOutsidePackageWithRefTest.class/properties.json b/SmartTestDataOutsideP2.package/SmTClassModificationOnClassOutsidePackageWithRefTest.class/properties.json deleted file mode 100644 index 93314e4..0000000 --- a/SmartTestDataOutsideP2.package/SmTClassModificationOnClassOutsidePackageWithRefTest.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "eleonoreW 6/11/2018 14:35", - "super" : "TestCase", - "category" : "SmartTestDataOutsideP2-ModificationOnClass-Tests", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTClassModificationOnClassOutsidePackageWithRefTest", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackageTest.class/README.md b/SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackageTest.class/README.md deleted file mode 100644 index 7c5a1e4..0000000 --- a/SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackageTest.class/README.md +++ /dev/null @@ -1,8 +0,0 @@ -Data for SmartTest tests on the testForAnInstanceVariable:. - -Methods of this class have long name in order to be unique and explicit. -Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. - -We will use this that to assert that SmartTest behaves correctly when dealing with modifications on instance variables. - -This class uses an instance variable contained inside a class in a different package. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackageTest.class/instance/testModificationOnVariableOutsidePackage.st b/SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackageTest.class/instance/testModificationOnVariableOutsidePackage.st deleted file mode 100644 index a419d7a..0000000 --- a/SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackageTest.class/instance/testModificationOnVariableOutsidePackage.st +++ /dev/null @@ -1,5 +0,0 @@ -tests -testModificationOnVariableOutsidePackage -|anObject| -anObject := ('SmTClassP1','ModificationOnVariable')asClass new. -anObject instVarModificationOnVariableOutsidePackage \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackageTest.class/properties.json b/SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackageTest.class/properties.json deleted file mode 100644 index 6f948eb..0000000 --- a/SmartTestDataOutsideP2.package/SmTClassP1ModificationOnVariableOutsidePackageTest.class/properties.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "commentStamp" : "eleonoreW 6/11/2018 15:46", - "super" : "TestCase", - "category" : "SmartTestDataOutsideP2-ModificationOnVariable-Tests", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "instVarModificationOnVariableOutsidePackage" - ], - "name" : "SmTClassP1ModificationOnVariableOutsidePackageTest", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassP2.class/README.md b/SmartTestDataOutsideP2.package/SmTClassP2.class/README.md deleted file mode 100644 index da2fcc4..0000000 --- a/SmartTestDataOutsideP2.package/SmTClassP2.class/README.md +++ /dev/null @@ -1,10 +0,0 @@ -Data for SmartTest tests on the filters (default, defaultClass, restricted package). - -Methods of this class have long name in order to be unique and explicit. -Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. - -In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). - -This class is not referenced anywhere (we used concatenation to be sure). - -The methods and tests in this package are not located in the same package as the modified method. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassP2.class/instance/method2SecondLevelSendersOutsidePackageWithTestInside.st b/SmartTestDataOutsideP2.package/SmTClassP2.class/instance/method2SecondLevelSendersOutsidePackageWithTestInside.st deleted file mode 100644 index 53a8993..0000000 --- a/SmartTestDataOutsideP2.package/SmTClassP2.class/instance/method2SecondLevelSendersOutsidePackageWithTestInside.st +++ /dev/null @@ -1,6 +0,0 @@ -method2 -method2SecondLevelSendersOutsidePackageWithTestInside - "Data for tests: this method calls a method not from the same package (located in SmartTestDataOutsideP1), - this method is called by a test from the same package" - "In order to be sure that this method does not reference any class, we don't use directly the class but go through their name with a concatenation and then transform them into class" -^ ('SmTClass','P1') asClass new method1SecondLevelSendersOutsidePackageWithTestInside \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassP2.class/instance/method2SecondLevelSendersOutsidePackageWithTestOutside.st b/SmartTestDataOutsideP2.package/SmTClassP2.class/instance/method2SecondLevelSendersOutsidePackageWithTestOutside.st deleted file mode 100644 index 1724d7b..0000000 --- a/SmartTestDataOutsideP2.package/SmTClassP2.class/instance/method2SecondLevelSendersOutsidePackageWithTestOutside.st +++ /dev/null @@ -1,6 +0,0 @@ -method2 -method2SecondLevelSendersOutsidePackageWithTestOutside - "Data for tests: this method calls a method not from the same package (located in SmartTestDataOutsideP1), - this method is called by a test not from the same package (located in SmartTestDataOutsideP1)" - "In order to be sure that this method does not reference any class, we don't use directly the class but go through their name with a concatenation and then transform them into class" -^ ('SmTClass','P1') asClass new method1SecondLevelSendersOutsidePackageWithTestOutside \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassP2.class/properties.json b/SmartTestDataOutsideP2.package/SmTClassP2.class/properties.json deleted file mode 100644 index dee3199..0000000 --- a/SmartTestDataOutsideP2.package/SmTClassP2.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/11/2018 13:40", - "super" : "Object", - "category" : "SmartTestDataOutsideP2-ModificationOnMethod-WithoutRef", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTClassP2", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/README.md b/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/README.md deleted file mode 100644 index 3bb3a41..0000000 --- a/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/README.md +++ /dev/null @@ -1,6 +0,0 @@ -Data for SmartTest tests on the DefaultClassPackage filter. - -Methods of this class have long name in order to be unique and explicit. - -Being unique, the senders of each method are controlled and consequently the tests are independent the one from the others. -In this Class, we implement methods that make references to different class to the package SMartTestDataOutsideP1. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/instance/referenceToSmTClassP1FirstLevelSendersOutsideWithRefInPackage.st b/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/instance/referenceToSmTClassP1FirstLevelSendersOutsideWithRefInPackage.st deleted file mode 100644 index 7b0e944..0000000 --- a/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/instance/referenceToSmTClassP1FirstLevelSendersOutsideWithRefInPackage.st +++ /dev/null @@ -1,4 +0,0 @@ -referenceInPackage -"as yet unclassified" -referenceToSmTClassP1FirstLevelSendersOutsideWithRefInPackage -^SmTClassP1FirstLevelSendersOutsideWithRefInPackage \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/instance/referenceToSmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.st b/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/instance/referenceToSmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.st deleted file mode 100644 index 2a29e87..0000000 --- a/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/instance/referenceToSmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage.st +++ /dev/null @@ -1,4 +0,0 @@ -referenceInPackage -"as yet unclassified" -referenceToSmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage -^SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/instance/referenceToSmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.st b/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/instance/referenceToSmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.st deleted file mode 100644 index 9690edb..0000000 --- a/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/instance/referenceToSmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage.st +++ /dev/null @@ -1,4 +0,0 @@ -referenceInPackage -"as yet unclassified" -referenceToSmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage -^SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInPackage \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/properties.json b/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/properties.json deleted file mode 100644 index 7f96c35..0000000 --- a/SmartTestDataOutsideP2.package/SmTClassP2ReferencesInPackage.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/17/2018 08:45", - "super" : "Object", - "category" : "SmartTestDataOutsideP2-ModificationOnMethod-References", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTClassP2ReferencesInPackage", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/README.md b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/README.md deleted file mode 100644 index 004b631..0000000 --- a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/README.md +++ /dev/null @@ -1,10 +0,0 @@ -Data for SmartTest tests on the DefaultClassPackage filter. - -Methods of this class have long name in order to be unique and explicit. -Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. - -In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). - -In this class, there the first level sender of the modified method (which contains 'method2' in it's name). In another package, there is the modified method and its second level sender (the test itself,which contains 'testmethod2' in it's name). - -In this class there is a method that references the class SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass located in the package SmTDataOutsideP1. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/instance/method2SecondLevelSendersOutsideTestInsideWithRefInClass.st b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/instance/method2SecondLevelSendersOutsideTestInsideWithRefInClass.st deleted file mode 100644 index 40bc55b..0000000 --- a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/instance/method2SecondLevelSendersOutsideTestInsideWithRefInClass.st +++ /dev/null @@ -1,3 +0,0 @@ -method2 -method2SecondLevelSendersOutsideTestInsideWithRefInClass -^('SmTClassP1SecondLevelSendersOutsideTestInsideWithRefIn','Class') asClass new method1SecondLevelSendersOutsideTestInsideWithRefInClass. diff --git a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/instance/refToSmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.st b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/instance/refToSmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.st deleted file mode 100644 index c4a465b..0000000 --- a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/instance/refToSmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass.st +++ /dev/null @@ -1,3 +0,0 @@ -references -refToSmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass -^ SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInClass new. diff --git a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/properties.json b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/properties.json deleted file mode 100644 index 94f3220..0000000 --- a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/17/2018 08:53", - "super" : "Object", - "category" : "SmartTestDataOutsideP2-ModificationOnMethod-SenderOutTestInWithRef", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInClass", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInMethod.class/README.md b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInMethod.class/README.md deleted file mode 100644 index 9ea612f..0000000 --- a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInMethod.class/README.md +++ /dev/null @@ -1,10 +0,0 @@ -Data for SmartTest tests on the DefaultClassPackage filter. - -Methods of this class have long name in order to be unique and explicit. -Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. - -In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). - -In this class, there the first level sender of the modified method (which contains 'method2' in it's name). In another package, there is the modified method and its second level sender (the test itself,which contains 'testmethod2' in it's name). - -In this class the second level sender references directly the class of the modified method, SmTClassP1SecondLevelSenderOutsideTestInsideWithRefInMethod, located in the package SmTDataOutsideP1. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInMethod.class/instance/method2SecondLevelSendersOutsideTestInsideWithRefInMethod.st b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInMethod.class/instance/method2SecondLevelSendersOutsideTestInsideWithRefInMethod.st deleted file mode 100644 index 78856e9..0000000 --- a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInMethod.class/instance/method2SecondLevelSendersOutsideTestInsideWithRefInMethod.st +++ /dev/null @@ -1,3 +0,0 @@ -method2 -method2SecondLevelSendersOutsideTestInsideWithRefInMethod -^SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod new method1SecondLevelSendersOutsideTestInsideWithRefInMethod. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInMethod.class/properties.json b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInMethod.class/properties.json deleted file mode 100644 index 236dcf6..0000000 --- a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInMethod.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/17/2018 09:00", - "super" : "Object", - "category" : "SmartTestDataOutsideP2-ModificationOnMethod-SenderOutTestInWithRef", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInMethod", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage.class/README.md b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage.class/README.md deleted file mode 100644 index 118e7ab..0000000 --- a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage.class/README.md +++ /dev/null @@ -1,11 +0,0 @@ -Data for SmartTest tests on the DefaultClassPackage filter. - -Methods of this class have long name in order to be unique and explicit. -Being unique, the senders of each method are mastered and consequently the tests are independent the one from the others. - -In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). - -In this class, there the first level sender of the modified method (which contains 'method2' in it's name). In another package, there is the modified method and its second level sender (the test itself,which contains 'testmethod2' in it's name). - -In this class there no method that references the class SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod located in the package SmTDataOutsideP1. -There is a method in SmTClassP2ReferencesInPackage that references the class SmTClassP1SecondLevelSendersOutsideTestInsideWithRefInMethod. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage.class/instance/method2SecondLevelSendersOutsideTestInsideWithRefInPackage.st b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage.class/instance/method2SecondLevelSendersOutsideTestInsideWithRefInPackage.st deleted file mode 100644 index 538a95f..0000000 --- a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage.class/instance/method2SecondLevelSendersOutsideTestInsideWithRefInPackage.st +++ /dev/null @@ -1,3 +0,0 @@ -method2 -method2SecondLevelSendersOutsideTestInsideWithRefInPackage -^('SmTClassP1SecondLevelSendersOutsideTestInsideWithRefIn','Package') asClass new method1SecondLevelSendersOutsideTestInsideWithRefInPackage. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage.class/properties.json b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage.class/properties.json deleted file mode 100644 index dd9b12d..0000000 --- a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/17/2018 08:53", - "super" : "Object", - "category" : "SmartTestDataOutsideP2-ModificationOnMethod-SenderOutTestInWithRef", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTClassP2SecondLevelSendersOutsideTestInsideWithRefInPackage", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/README.md b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/README.md deleted file mode 100644 index 153b40d..0000000 --- a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/README.md +++ /dev/null @@ -1,11 +0,0 @@ -Data for SmartTest tests on the filters (defaultClass). - -Methods of this class have long name in order to be unique and explicit. -Being unique, the senders of each method are controlled and consequently the tests are independent the one from the others. - -In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). - -If the name of the test contains 'method2', the test use the method method2, if the test contains 'method1', the test directly uses the modified method. - -In this class, the first and second level senders are located outside of the package of the modified method and in two different package. -We test two different setup, one in which both method2 and testMethod2 references directly the class of method1, and another in which method2 references the class of method1 and testMethod2 references the class of method2. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/instance/method2SecondLevelSendersOutsideTestOutsideWithRefInMethod.st b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/instance/method2SecondLevelSendersOutsideTestOutsideWithRefInMethod.st deleted file mode 100644 index 7aab169..0000000 --- a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/instance/method2SecondLevelSendersOutsideTestOutsideWithRefInMethod.st +++ /dev/null @@ -1,3 +0,0 @@ -method2 -method2SecondLevelSendersOutsideTestOutsideWithRefInMethod -SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod >> #method1SecondLevelSendersOutsideTestOutsideWithRefInMethod. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/properties.json b/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/properties.json deleted file mode 100644 index 17c63f7..0000000 --- a/SmartTestDataOutsideP2.package/SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefInMethod.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/17/2018 10:51", - "super" : "Object", - "category" : "SmartTestDataOutsideP2-ModificationOnMethod-SenderOutTestOutWithRef", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefInMethod", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/README.md b/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/README.md deleted file mode 100644 index e6913c5..0000000 --- a/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/README.md +++ /dev/null @@ -1,11 +0,0 @@ -Data for SmartTest tests on the filters (default, defaultClass, restricted package). - -Methods of this class have long name in order to be unique and explicit. -Being unique, the senders of each method are controlled and consequently the tests are independent the one from the others. - -In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). - -If the name of the test contains 'method2', the test use the method method2, if the test contains 'method1', the test directly uses the modified method. - - -The methods and tests in this package are not located in the same package as the modified method. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/referenceToSmTClassP1FirstLevelSendersOutsideWithRefInClass.st b/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/referenceToSmTClassP1FirstLevelSendersOutsideWithRefInClass.st deleted file mode 100644 index c27b25f..0000000 --- a/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/referenceToSmTClassP1FirstLevelSendersOutsideWithRefInClass.st +++ /dev/null @@ -1,3 +0,0 @@ -references -referenceToSmTClassP1FirstLevelSendersOutsideWithRefInClass -^ SmTClassP1FirstLevelSendersOutsideWithRefInClass. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/referenceToSmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.st b/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/referenceToSmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.st deleted file mode 100644 index 71a5086..0000000 --- a/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/referenceToSmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass.st +++ /dev/null @@ -1,3 +0,0 @@ -references -referenceToSmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass -^SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInClass new. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testExtensionMethod1FirstLevelSendersOutside.st b/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testExtensionMethod1FirstLevelSendersOutside.st deleted file mode 100644 index 25b76db..0000000 --- a/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testExtensionMethod1FirstLevelSendersOutside.st +++ /dev/null @@ -1,3 +0,0 @@ -testMethod1 -testExtensionMethod1FirstLevelSendersOutside -SmTExtensionP2Test >> #extensionMethod1FirstLevelSendersOutside. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod1FirstLevelSendersOutsidePackage.st b/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod1FirstLevelSendersOutsidePackage.st deleted file mode 100644 index 2749e5b..0000000 --- a/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod1FirstLevelSendersOutsidePackage.st +++ /dev/null @@ -1,5 +0,0 @@ -testMethod1 -testMethod1FirstLevelSendersOutsidePackage - "Data for tests: this method calls directly method1, which is not located in the same package" - "In order to be sure that this method does not reference any class, we don't use directly the class but go through their name with a concatenation and then transform them into class" - ^ ('SmTClass','P1') asClass new method1FirstLevelSendersOutsidePackage. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod1FirstLevelSendersOutsideWithRefInClass.st b/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod1FirstLevelSendersOutsideWithRefInClass.st deleted file mode 100644 index 60f6a1b..0000000 --- a/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod1FirstLevelSendersOutsideWithRefInClass.st +++ /dev/null @@ -1,4 +0,0 @@ -testMethod1 -testMethod1FirstLevelSendersOutsideWithRefInClass - "In order to be sure that this method does not reference any class, we don't use directly the class but go through their name with a concatenation and then transform them into class" -^ ('SmTClassP1','FirstLevelSendersOutsideWithRefInClass') asClass new method1FirstLevelSendersWithRefInClass. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod1FirstLevelSendersOutsideWithRefInMethod.st b/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod1FirstLevelSendersOutsideWithRefInMethod.st deleted file mode 100644 index 051a679..0000000 --- a/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod1FirstLevelSendersOutsideWithRefInMethod.st +++ /dev/null @@ -1,4 +0,0 @@ -testMethod1 -testMethod1FirstLevelSendersOutsideWithRefInMethod - "In order to be sure that this method does not reference any class, we don't use directly the class but go through their name with a concatenation and then transform them into class" -^SmTClassP1FirstLevelSendersOutsideWithRefInMethod new method1FirstLevelSendersWithRefInMethod. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod1FirstLevelSendersOutsideWithRefInPackage.st b/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod1FirstLevelSendersOutsideWithRefInPackage.st deleted file mode 100644 index ea2cea2..0000000 --- a/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod1FirstLevelSendersOutsideWithRefInPackage.st +++ /dev/null @@ -1,4 +0,0 @@ -testMethod1 -testMethod1FirstLevelSendersOutsideWithRefInPackage - "In order to be sure that this method does not reference any class, we don't use directly the class but go through their name with a concatenation and then transform them into class" -^('SmTClassP1','FirstLevelSendersOutsideWithRefInPackage') asClass new method1FirstLevelSendersWithRefInPackage. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInClass.st b/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInClass.st deleted file mode 100644 index 7e03d19..0000000 --- a/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInClass.st +++ /dev/null @@ -1,3 +0,0 @@ -testMethod2 -testMethod2SecondLevelSenderInsideTestOutsideWithRefInClass -^ ('SmTClass','P1SecondLevelSendersInsideTestOutsideWithRefInClass') asClass new method2SecondLevelSendersInsideTestOutsideWithRefInClass. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInMethod.st b/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInMethod.st deleted file mode 100644 index 003fd6b..0000000 --- a/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInMethod.st +++ /dev/null @@ -1,3 +0,0 @@ -testMethod2 -testMethod2SecondLevelSenderInsideTestOutsideWithRefInMethod -^ SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInMethod new method2SecondLevelSendersInsideTestOutsideWithRefInMethod. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInPackage.st b/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInPackage.st deleted file mode 100644 index ef6cfaa..0000000 --- a/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod2SecondLevelSenderInsideTestOutsideWithRefInPackage.st +++ /dev/null @@ -1,3 +0,0 @@ -testMethod2 -testMethod2SecondLevelSenderInsideTestOutsideWithRefInPackage -SmTClassP1SecondLevelSendersInsideTestOutsideWithRefInPackage new method2SecondLevelSendersInsideTestOutsideWithRefInPackage. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod2SecondLevelSendersInsidePackageWithTestOutside.st b/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod2SecondLevelSendersInsidePackageWithTestOutside.st deleted file mode 100644 index 7a7cb10..0000000 --- a/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod2SecondLevelSendersInsidePackageWithTestOutside.st +++ /dev/null @@ -1,5 +0,0 @@ -testMethod2 -testMethod2SecondLevelSendersInsidePackageWithTestOutside - "Data for tests: this method calls a method not from the same package, which itself calls a method. Both are not from the same package as this test (both are located in SmartTestDataOutsideP1)" - "In order to be sure that this method does not reference any class, we don't use directly the class but go through their name with a concatenation and then transform them into class" - ^ ('SmTClass','P1') asClass new method2SecondLevelSendersInsidePackageWithTestOutside. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod2SecondLevelSendersOutsidePackageWithTestOutside.st b/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod2SecondLevelSendersOutsidePackageWithTestOutside.st deleted file mode 100644 index fb45d7e..0000000 --- a/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/instance/testMethod2SecondLevelSendersOutsidePackageWithTestOutside.st +++ /dev/null @@ -1,5 +0,0 @@ -testMethod2 -testMethod2SecondLevelSendersOutsidePackageWithTestOutside -"Data for tests: this method calls a method from the same package (located in SmartTestDataOutsideP1), which itself calls a method not from the same package (located in SmartTestDataOutsideP1)" -"In order to be sure that this method does not reference any class, we don't use directly the class but go through their name with a concatenation and then transform them into class" - ^ ('SmTClass','P2') asClass new method2SecondLevelSendersOutsidePackageWithTestOutside. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/properties.json b/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/properties.json deleted file mode 100644 index 7ab592e..0000000 --- a/SmartTestDataOutsideP2.package/SmTClassTestP2Test.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/11/2018 11:55", - "super" : "TestCase", - "category" : "SmartTestDataOutsideP2-ModificationOnMethod-Tests", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTClassTestP2Test", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTExtensionP2Test.class/README.md b/SmartTestDataOutsideP2.package/SmTExtensionP2Test.class/README.md deleted file mode 100644 index 7366ace..0000000 --- a/SmartTestDataOutsideP2.package/SmTExtensionP2Test.class/README.md +++ /dev/null @@ -1 +0,0 @@ -Data for the tests for an extension method. \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/SmTExtensionP2Test.class/properties.json b/SmartTestDataOutsideP2.package/SmTExtensionP2Test.class/properties.json deleted file mode 100644 index ec7b54e..0000000 --- a/SmartTestDataOutsideP2.package/SmTExtensionP2Test.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "eleonoreW 6/11/2018 14:43", - "super" : "TestCase", - "category" : "SmartTestDataOutsideP2-ModificationOnMethod-ExtensionMethod-Test", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTExtensionP2Test", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/monticello.meta/categories.st b/SmartTestDataOutsideP2.package/monticello.meta/categories.st deleted file mode 100644 index d86853b..0000000 --- a/SmartTestDataOutsideP2.package/monticello.meta/categories.st +++ /dev/null @@ -1,9 +0,0 @@ -SystemOrganization addCategory: #SmartTestDataOutsideP2! -SystemOrganization addCategory: 'SmartTestDataOutsideP2-ModificationOnClass-Tests'! -SystemOrganization addCategory: 'SmartTestDataOutsideP2-ModificationOnMethod-ExtensionMethod-Test'! -SystemOrganization addCategory: 'SmartTestDataOutsideP2-ModificationOnMethod-References'! -SystemOrganization addCategory: 'SmartTestDataOutsideP2-ModificationOnMethod-SenderOutTestInWithRef'! -SystemOrganization addCategory: 'SmartTestDataOutsideP2-ModificationOnMethod-SenderOutTestOutWithRef'! -SystemOrganization addCategory: 'SmartTestDataOutsideP2-ModificationOnMethod-Tests'! -SystemOrganization addCategory: 'SmartTestDataOutsideP2-ModificationOnMethod-WithoutRef'! -SystemOrganization addCategory: 'SmartTestDataOutsideP2-ModificationOnVariable-Tests'! diff --git a/SmartTestDataOutsideP2.package/monticello.meta/initializers.st b/SmartTestDataOutsideP2.package/monticello.meta/initializers.st deleted file mode 100644 index e69de29..0000000 diff --git a/SmartTestDataOutsideP2.package/monticello.meta/package b/SmartTestDataOutsideP2.package/monticello.meta/package deleted file mode 100644 index bdeaca8..0000000 --- a/SmartTestDataOutsideP2.package/monticello.meta/package +++ /dev/null @@ -1 +0,0 @@ -(name 'SmartTestDataOutsideP2') \ No newline at end of file diff --git a/SmartTestDataOutsideP2.package/properties.json b/SmartTestDataOutsideP2.package/properties.json deleted file mode 100644 index 6f31cf5..0000000 --- a/SmartTestDataOutsideP2.package/properties.json +++ /dev/null @@ -1 +0,0 @@ -{ } \ No newline at end of file diff --git a/SmartTestDataOutsideP3.package/.filetree b/SmartTestDataOutsideP3.package/.filetree deleted file mode 100644 index 57a6797..0000000 --- a/SmartTestDataOutsideP3.package/.filetree +++ /dev/null @@ -1,5 +0,0 @@ -{ - "separateMethodMetaAndSource" : false, - "noMethodMetaData" : true, - "useCypressPropertiesFile" : true -} \ No newline at end of file diff --git a/SmartTestDataOutsideP3.package/SmTClassTestP3.class/README.md b/SmartTestDataOutsideP3.package/SmTClassTestP3.class/README.md deleted file mode 100644 index 0d5ab97..0000000 --- a/SmartTestDataOutsideP3.package/SmTClassTestP3.class/README.md +++ /dev/null @@ -1,11 +0,0 @@ -Data for SmartTest tests on the filters (defaultClass). - -Methods of this class have long name in order to be unique and explicit. -Being unique, the senders of each method are controlled and consequently the tests are independent the one from the others. - -In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). - -If the name of the test contains 'method2', the test use the method method2, if the test contains 'method1', the test directly uses the modified method. - - -The methods and tests in this package are not located in the same package as the modified method. \ No newline at end of file diff --git a/SmartTestDataOutsideP3.package/SmTClassTestP3.class/instance/testExtensionMethod2SecondLevelSenders.st b/SmartTestDataOutsideP3.package/SmTClassTestP3.class/instance/testExtensionMethod2SecondLevelSenders.st deleted file mode 100644 index a7d7fde..0000000 --- a/SmartTestDataOutsideP3.package/SmTClassTestP3.class/instance/testExtensionMethod2SecondLevelSenders.st +++ /dev/null @@ -1,3 +0,0 @@ -tests -testExtensionMethod2SecondLevelSenders -('SmTExtension','P3') asClass >> #extensionMethod2SecondLevelSenders . \ No newline at end of file diff --git a/SmartTestDataOutsideP3.package/SmTClassTestP3.class/instance/testMethod1ExtensionTestInside.st b/SmartTestDataOutsideP3.package/SmTClassTestP3.class/instance/testMethod1ExtensionTestInside.st deleted file mode 100644 index 0d86c73..0000000 --- a/SmartTestDataOutsideP3.package/SmTClassTestP3.class/instance/testMethod1ExtensionTestInside.st +++ /dev/null @@ -1,3 +0,0 @@ -tests -testMethod1ExtensionTestInside -('SmTExtension','P4') asClass >> #method1ExtensionTestInside diff --git a/SmartTestDataOutsideP3.package/SmTClassTestP3.class/properties.json b/SmartTestDataOutsideP3.package/SmTClassTestP3.class/properties.json deleted file mode 100644 index c736186..0000000 --- a/SmartTestDataOutsideP3.package/SmTClassTestP3.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/11/2018 13:41", - "super" : "TestCase", - "category" : "SmartTestDataOutsideP3", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTClassTestP3", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRef.class/README.md b/SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRef.class/README.md deleted file mode 100644 index a11920a..0000000 --- a/SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRef.class/README.md +++ /dev/null @@ -1,10 +0,0 @@ -Data for SmartTest tests on the filters (defaultClass). - -Methods of this class have long name in order to be unique and explicit. -Being unique, the senders of each method are controlled and consequently the tests are independent the one from the others. - -In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). - -If the name of the test contains 'method2', the test use the method method2, if the test contains 'method1', the test directly uses the modified method. - -In this class, the first and second level senders are located outside of the package of the modified method and in two different package. \ No newline at end of file diff --git a/SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRef.class/properties.json b/SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRef.class/properties.json deleted file mode 100644 index 8e21d59..0000000 --- a/SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRef.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/17/2018 10:50", - "super" : "TestCase", - "category" : "SmartTestDataOutsideP3", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRef", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefInMethod.class/README.md b/SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefInMethod.class/README.md deleted file mode 100644 index b690942..0000000 --- a/SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefInMethod.class/README.md +++ /dev/null @@ -1,11 +0,0 @@ -Data for SmartTest tests on the filters (defaultClass). - -Methods of this class have long name in order to be unique and explicit. -Being unique, the senders of each method are controlled and consequently the tests are independent the one from the others. - -In the tests, it is always the methods whose name contains 'method1' that are modified. If the name contains first level, the methods are directly called by a test. If the name contains SecondLevel, they are called by an another method (whose name contains 'method2'). - -If the name of the test contains 'method2', the test use the method method2, if the test contains 'method1', the test directly uses the modified method. - -In this class, the first and second level senders are located outside of the package of the modified method and in two different package. -We test two different setup, one in which both method2 and testMethod2 references directly the class of method1, and another in which method2 references the class of method1 and testMethod2 references the class of method2. diff --git a/SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefInMethod.class/instance/testMethod2SecondLevelSenderOutsideTestOutsideWithRefInMethod.st b/SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefInMethod.class/instance/testMethod2SecondLevelSenderOutsideTestOutsideWithRefInMethod.st deleted file mode 100644 index efea04e..0000000 --- a/SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefInMethod.class/instance/testMethod2SecondLevelSenderOutsideTestOutsideWithRefInMethod.st +++ /dev/null @@ -1,4 +0,0 @@ -testMethod2 -testMethod2SecondLevelSenderOutsideTestOutsideWithRefInMethod -('SmTClassP2SecondLevelSendersOutsideTestOutsideWithRefIn','Method') asClass >> #method2SecondLevelSendersOutsideTestOutsideWithRefInMethod. -SmTClassP1SecondLevelSendersOutsideTestOutsideWithRefInMethod new. \ No newline at end of file diff --git a/SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefInMethod.class/properties.json b/SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefInMethod.class/properties.json deleted file mode 100644 index 4d70f13..0000000 --- a/SmartTestDataOutsideP3.package/SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefInMethod.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "EleonoreWALD 5/17/2018 10:46", - "super" : "SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRef", - "category" : "SmartTestDataOutsideP3", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTClassTestP3SecondLevelSenderOutsideTestOutsideWithRefInMethod", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTestDataOutsideP3.package/SmTExtensionP3.class/README.md b/SmartTestDataOutsideP3.package/SmTExtensionP3.class/README.md deleted file mode 100644 index 73b89fa..0000000 --- a/SmartTestDataOutsideP3.package/SmTExtensionP3.class/README.md +++ /dev/null @@ -1 +0,0 @@ -This class is an extension of the package P3, it is located in the package p4. \ No newline at end of file diff --git a/SmartTestDataOutsideP3.package/SmTExtensionP3.class/properties.json b/SmartTestDataOutsideP3.package/SmTExtensionP3.class/properties.json deleted file mode 100644 index 832e5af..0000000 --- a/SmartTestDataOutsideP3.package/SmTExtensionP3.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "eleonoreW 6/11/2018 15:48", - "super" : "Object", - "category" : "SmartTestDataOutsideP3", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTExtensionP3", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTestDataOutsideP3.package/SmTExtensionP4.extension/instance/extensionMethodP4.st b/SmartTestDataOutsideP3.package/SmTExtensionP4.extension/instance/extensionMethodP4.st deleted file mode 100644 index 1210d2e..0000000 --- a/SmartTestDataOutsideP3.package/SmTExtensionP4.extension/instance/extensionMethodP4.st +++ /dev/null @@ -1,2 +0,0 @@ -*SmartTestDataOutsideP3 -extensionMethodP4 \ No newline at end of file diff --git a/SmartTestDataOutsideP3.package/SmTExtensionP4.extension/properties.json b/SmartTestDataOutsideP3.package/SmTExtensionP4.extension/properties.json deleted file mode 100644 index 3232f13..0000000 --- a/SmartTestDataOutsideP3.package/SmTExtensionP4.extension/properties.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name" : "SmTExtensionP4" -} \ No newline at end of file diff --git a/SmartTestDataOutsideP3.package/monticello.meta/categories.st b/SmartTestDataOutsideP3.package/monticello.meta/categories.st deleted file mode 100644 index e9a01f5..0000000 --- a/SmartTestDataOutsideP3.package/monticello.meta/categories.st +++ /dev/null @@ -1 +0,0 @@ -SystemOrganization addCategory: #SmartTestDataOutsideP3! diff --git a/SmartTestDataOutsideP3.package/monticello.meta/initializers.st b/SmartTestDataOutsideP3.package/monticello.meta/initializers.st deleted file mode 100644 index e69de29..0000000 diff --git a/SmartTestDataOutsideP3.package/monticello.meta/package b/SmartTestDataOutsideP3.package/monticello.meta/package deleted file mode 100644 index 5652444..0000000 --- a/SmartTestDataOutsideP3.package/monticello.meta/package +++ /dev/null @@ -1 +0,0 @@ -(name 'SmartTestDataOutsideP3') \ No newline at end of file diff --git a/SmartTestDataOutsideP3.package/properties.json b/SmartTestDataOutsideP3.package/properties.json deleted file mode 100644 index 6f31cf5..0000000 --- a/SmartTestDataOutsideP3.package/properties.json +++ /dev/null @@ -1 +0,0 @@ -{ } \ No newline at end of file diff --git a/SmartTestDataOutsideP4.package/.filetree b/SmartTestDataOutsideP4.package/.filetree deleted file mode 100644 index 57a6797..0000000 --- a/SmartTestDataOutsideP4.package/.filetree +++ /dev/null @@ -1,5 +0,0 @@ -{ - "separateMethodMetaAndSource" : false, - "noMethodMetaData" : true, - "useCypressPropertiesFile" : true -} \ No newline at end of file diff --git a/SmartTestDataOutsideP4.package/SmTExtensionP4.class/README.md b/SmartTestDataOutsideP4.package/SmTExtensionP4.class/README.md deleted file mode 100644 index 73b89fa..0000000 --- a/SmartTestDataOutsideP4.package/SmTExtensionP4.class/README.md +++ /dev/null @@ -1 +0,0 @@ -This class is an extension of the package P3, it is located in the package p4. \ No newline at end of file diff --git a/SmartTestDataOutsideP4.package/SmTExtensionP4.class/instance/method1ExtensionTestInside.st b/SmartTestDataOutsideP4.package/SmTExtensionP4.class/instance/method1ExtensionTestInside.st deleted file mode 100644 index ef5c3d1..0000000 --- a/SmartTestDataOutsideP4.package/SmTExtensionP4.class/instance/method1ExtensionTestInside.st +++ /dev/null @@ -1,2 +0,0 @@ -method1 -method1ExtensionTestInside \ No newline at end of file diff --git a/SmartTestDataOutsideP4.package/SmTExtensionP4.class/properties.json b/SmartTestDataOutsideP4.package/SmTExtensionP4.class/properties.json deleted file mode 100644 index 66eb7e6..0000000 --- a/SmartTestDataOutsideP4.package/SmTExtensionP4.class/properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "commentStamp" : "eleonoreW 6/11/2018 15:47", - "super" : "Object", - "category" : "SmartTestDataOutsideP4", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ ], - "name" : "SmTExtensionP4", - "type" : "normal" -} \ No newline at end of file diff --git a/SmartTestDataOutsideP4.package/monticello.meta/categories.st b/SmartTestDataOutsideP4.package/monticello.meta/categories.st deleted file mode 100644 index dba4d10..0000000 --- a/SmartTestDataOutsideP4.package/monticello.meta/categories.st +++ /dev/null @@ -1 +0,0 @@ -SystemOrganization addCategory: #SmartTestDataOutsideP4! diff --git a/SmartTestDataOutsideP4.package/monticello.meta/initializers.st b/SmartTestDataOutsideP4.package/monticello.meta/initializers.st deleted file mode 100644 index e69de29..0000000 diff --git a/SmartTestDataOutsideP4.package/monticello.meta/package b/SmartTestDataOutsideP4.package/monticello.meta/package deleted file mode 100644 index 1dc58cb..0000000 --- a/SmartTestDataOutsideP4.package/monticello.meta/package +++ /dev/null @@ -1 +0,0 @@ -(name 'SmartTestDataOutsideP4') \ No newline at end of file diff --git a/SmartTestDataOutsideP4.package/properties.json b/SmartTestDataOutsideP4.package/properties.json deleted file mode 100644 index 6f31cf5..0000000 --- a/SmartTestDataOutsideP4.package/properties.json +++ /dev/null @@ -1 +0,0 @@ -{ } \ No newline at end of file From dc4a1e6af8818ae553ef6b280cdc41e89d6494d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Verhaeghe?= Date: Wed, 15 Aug 2018 17:00:54 +0200 Subject: [PATCH 150/150] Update .smalltalk.ston --- .smalltalk.ston | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.smalltalk.ston b/.smalltalk.ston index 35bb0bc..cde6ee3 100644 --- a/.smalltalk.ston +++ b/.smalltalk.ston @@ -2,7 +2,7 @@ SmalltalkCISpec { #loading : [ SCIMetacelloLoadSpec { #baseline : 'SmartTest', - #directory : '', + #directory : 'src', #load : [ 'test' ], #platforms : [ #pharo ] }