-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
97 changed files
with
453 additions
and
145 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,4 @@ | |
"class" : { | ||
}, | ||
"instance" : { | ||
"baseline:" : "mp 6/29/2016 01:15" } } | ||
"baseline:" : "jb 5/28/2018 19:20" } } |
4 changes: 4 additions & 0 deletions
4
...ptit-Core.package/ACUserStory.class/class/addUserStoryConstantsToClass.fromDictionary..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
user story creation | ||
addUserStoryConstantsToClass: aClass fromDictionary: aDictionary | ||
#( title role purpose means ) do: [:property | | ||
self createConstant: property forUserStory: aClass withValue: (aDictionary at: property)]. |
10 changes: 10 additions & 0 deletions
10
...s/acceptit-Core.package/ACUserStory.class/class/createConstant.forUserStory.withValue..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
user story creation | ||
createConstant: constantName forUserStory: aUserStoryClass withValue: aString | ||
|
||
aUserStoryClass class | ||
compile: (String streamContents: [:stream | | ||
stream | ||
nextPutAll: constantName; crtab; | ||
nextPutAll: '<generated>';cr;crtab; | ||
nextPutAll: '^'; store: aString.]) | ||
classified: 'constants'. |
8 changes: 8 additions & 0 deletions
8
packages/acceptit-Core.package/ACUserStory.class/class/createSubclass.withCategory..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
user story creation | ||
createSubclass: aName withCategory: aCategory | ||
|
||
^self subclass: aName asSymbol | ||
instanceVariableNames: '' | ||
classVariableNames: '' | ||
poolDictionaries: '' | ||
category: aCategory |
6 changes: 6 additions & 0 deletions
6
packages/acceptit-Core.package/ACUserStory.class/class/createUserStory.withCategory..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
user story creation | ||
createUserStory: aStory withCategory: aCategory | ||
|
||
|propertyDictionary| | ||
propertyDictionary := ACUserStoryParser new parseStoryToDictionary: aStory. | ||
^self createUserStoryClassFromDictionary: propertyDictionary withCategory: aCategory |
7 changes: 7 additions & 0 deletions
7
...-Core.package/ACUserStory.class/class/createUserStoryClassFromDictionary.withCategory..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
user story creation | ||
createUserStoryClassFromDictionary: aDictionary withCategory: aCategory | ||
|
||
|createdClass| | ||
createdClass := self createSubclass: (aDictionary at: #title) withCategory: aCategory. | ||
self addUserStoryConstantsToClass: createdClass fromDictionary: aDictionary. | ||
^createdClass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 0 additions & 16 deletions
16
...eptit-Core.package/ACUserStory.class/class/initializationTemplateForClass.named.story..st
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
packages/acceptit-Core.package/ACUserStory.class/class/means..st
This file was deleted.
Oops, something went wrong.
5 changes: 2 additions & 3 deletions
5
packages/acceptit-Core.package/ACUserStory.class/class/means.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
accessing | ||
constants | ||
means | ||
|
||
^means | ||
"self subclassResponsibility." |
16 changes: 0 additions & 16 deletions
16
packages/acceptit-Core.package/ACUserStory.class/class/named.purpose.role.means.category..st
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
packages/acceptit-Core.package/ACUserStory.class/class/named.story.category..st
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
packages/acceptit-Core.package/ACUserStory.class/class/purpose..st
This file was deleted.
Oops, something went wrong.
5 changes: 2 additions & 3 deletions
5
packages/acceptit-Core.package/ACUserStory.class/class/purpose.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
accessing | ||
constants | ||
purpose | ||
|
||
^purpose | ||
"self subclassResponsibility." |
4 changes: 0 additions & 4 deletions
4
packages/acceptit-Core.package/ACUserStory.class/class/role..st
This file was deleted.
Oops, something went wrong.
5 changes: 2 additions & 3 deletions
5
packages/acceptit-Core.package/ACUserStory.class/class/role.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
accessing | ||
constants | ||
role | ||
|
||
^role | ||
"self subclassResponsibility." |
5 changes: 0 additions & 5 deletions
5
packages/acceptit-Core.package/ACUserStory.class/class/storyName..st
This file was deleted.
Oops, something went wrong.
5 changes: 0 additions & 5 deletions
5
packages/acceptit-Core.package/ACUserStory.class/class/storyName.st
This file was deleted.
Oops, something went wrong.
3 changes: 3 additions & 0 deletions
3
packages/acceptit-Core.package/ACUserStory.class/class/title.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
constants | ||
title | ||
"self subclassResponsibility." |
18 changes: 0 additions & 18 deletions
18
...eptit-Core.package/ACUserStory.class/class/userStoryNamed.story.withCategory.fullText..st
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
packages/acceptit-Core.package/ACUserStory.class/class/userStoryString..st
This file was deleted.
Oops, something went wrong.
6 changes: 5 additions & 1 deletion
6
packages/acceptit-Core.package/ACUserStory.class/class/userStoryString.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
accessing | ||
userStoryString | ||
|
||
^ userStoryString | ||
^ String streamContents: [ :stream | | ||
stream | ||
nextPutAll: 'In order to ', self purpose; crtab; | ||
nextPutAll: 'As a ', self role; crtab; | ||
nextPutAll: 'I want ', self means.] |
26 changes: 11 additions & 15 deletions
26
packages/acceptit-Core.package/ACUserStory.class/methodProperties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 1 addition & 5 deletions
6
packages/acceptit-Core.package/ACUserStory.class/properties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
packages/acceptit-Core.package/ACUserStoryParser.class/instance/evaluator.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
parser-emulation | ||
evaluator | ||
^ self grammar synthesizedAttribute: self semantic new |
3 changes: 3 additions & 0 deletions
3
packages/acceptit-Core.package/ACUserStoryParser.class/instance/matchStory..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
parser-emulation | ||
matchStory: aStory | ||
^self grammar match: aStory startingFrom: self startRule |
5 changes: 5 additions & 0 deletions
5
packages/acceptit-Core.package/ACUserStoryParser.class/instance/parseStoryToDictionary..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
parser-emulation | ||
parseStoryToDictionary: aStory | ||
|match| | ||
match := self matchStory: aStory. | ||
^self evaluator value: match |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
packages/acceptit-Core.package/MTFMorphWrapper.extension/class/classesWithLabel.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
*acceptit-Core | ||
classesWithLabel | ||
|
||
^ {SimpleButtonMorph. PluggableButtonMorphPlus} |
5 changes: 5 additions & 0 deletions
5
packages/acceptit-Core.package/MTFMorphWrapper.extension/methodProperties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"class" : { | ||
"classesWithLabel" : "jb 5/28/2018 19:29" }, | ||
"instance" : { | ||
} } |
2 changes: 2 additions & 0 deletions
2
packages/acceptit-Core.package/MTFMorphWrapper.extension/properties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
{ | ||
"name" : "MTFMorphWrapper" } |
8 changes: 3 additions & 5 deletions
8
packages/acceptit-Tests.package/ACCreateUserStoryTest.class/instance/setUp.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
setUp and tearDown | ||
setUp | ||
super setUp. | ||
ACUserStory userStoryNamed: self userStoryName | ||
story: self basicUserStory | ||
withCategory: self categoryName | ||
fullText: self basicUserStory. | ||
self createdClass: (Smalltalk classNamed: self userStoryName). | ||
ACUserStory createUserStory: UserStoryFactory userStoryString | ||
withCategory: UserStoryFactory categoryName. | ||
self createdClass: (Smalltalk classNamed: UserStoryFactory userStoryTitleTrimmed). |
4 changes: 2 additions & 2 deletions
4
packages/acceptit-Tests.package/ACCreateUserStoryTest.class/instance/tearDown.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
setUp and tearDown | ||
tearDown | ||
super tearDown. | ||
(Smalltalk classNamed: self userStoryName) removeFromSystemUnlogged. | ||
SystemOrganization removeCategory: self categoryName. | ||
(Smalltalk classNamed: UserStoryFactory userStoryTitleTrimmed) removeFromSystemUnlogged. | ||
SystemOrganization removeCategory: UserStoryFactory categoryName. |
2 changes: 1 addition & 1 deletion
2
...s/acceptit-Tests.package/ACCreateUserStoryTest.class/instance/testItHasCorrectCategory.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
tests | ||
testItHasCorrectCategory | ||
self assert: self categoryName equals: self createdClass category. | ||
self assert: UserStoryFactory categoryName equals: self createdClass category. |
2 changes: 1 addition & 1 deletion
2
.../acceptit-Tests.package/ACCreateUserStoryTest.class/instance/testItHasCorrectClassName.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
tests | ||
testItHasCorrectClassName | ||
self assert: self userStoryName equals: self createdClass name. | ||
self assert: UserStoryFactory userStoryTitleTrimmed equals: self createdClass name. |
5 changes: 0 additions & 5 deletions
5
packages/acceptit-Tests.package/ACCreateUserStoryTest.class/instance/userStoryName.st
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.