diff --git a/packages/Liquid-Tests.package/LQAnswerPanelTests.class/instance/testToolTipWith..st b/packages/Liquid-Tests.package/LQAnswerPanelTests.class/instance/testToolTipWith..st index f9749ace..c923a2ee 100644 --- a/packages/Liquid-Tests.package/LQAnswerPanelTests.class/instance/testToolTipWith..st +++ b/packages/Liquid-Tests.package/LQAnswerPanelTests.class/instance/testToolTipWith..st @@ -2,7 +2,6 @@ testing testToolTipWith: aQuestion | answerPanel toolTip | - answerPanel := LQSelectionAnswerPanel new. answerPanel question: aQuestion. toolTip := answerPanel buildQuestionTooltipWith: ToolBuilder default. diff --git a/packages/Liquid-Tests.package/LQAnswerPanelTests.class/methodProperties.json b/packages/Liquid-Tests.package/LQAnswerPanelTests.class/methodProperties.json index 458f4d84..75b5890b 100644 --- a/packages/Liquid-Tests.package/LQAnswerPanelTests.class/methodProperties.json +++ b/packages/Liquid-Tests.package/LQAnswerPanelTests.class/methodProperties.json @@ -3,4 +3,4 @@ }, "instance" : { "testToolTip" : "FLST 7/11/2024 19:20", - "testToolTipWith:" : "FLST 7/11/2024 19:21" } } + "testToolTipWith:" : "FLST 7/12/2024 15:55" } } diff --git a/packages/Liquid-Tests.package/LQAntiCheatTests.class/instance/createAnswerSet1.st b/packages/Liquid-Tests.package/LQAntiCheatTests.class/instance/createAnswerSet1.st index e7c3f815..ecb341bc 100644 --- a/packages/Liquid-Tests.package/LQAntiCheatTests.class/instance/createAnswerSet1.st +++ b/packages/Liquid-Tests.package/LQAntiCheatTests.class/instance/createAnswerSet1.st @@ -1,6 +1,6 @@ helper methods createAnswerSet1 - + self answerSet1: (LQAnswerSet new - pollId: (self poll id); + pollId: self poll id; yourself) \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQAntiCheatTests.class/instance/createAnswerSet2.st b/packages/Liquid-Tests.package/LQAntiCheatTests.class/instance/createAnswerSet2.st index b22579bc..988746f4 100644 --- a/packages/Liquid-Tests.package/LQAntiCheatTests.class/instance/createAnswerSet2.st +++ b/packages/Liquid-Tests.package/LQAntiCheatTests.class/instance/createAnswerSet2.st @@ -1,6 +1,6 @@ helper methods createAnswerSet2 - + self answerSet2: (LQAnswerSet new - pollId: (self poll id); + pollId: self poll id; yourself) \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQAntiCheatTests.class/instance/createPoll.st b/packages/Liquid-Tests.package/LQAntiCheatTests.class/instance/createPoll.st index 24265e72..3ccdcd85 100644 --- a/packages/Liquid-Tests.package/LQAntiCheatTests.class/instance/createPoll.st +++ b/packages/Liquid-Tests.package/LQAntiCheatTests.class/instance/createPoll.st @@ -1,8 +1,7 @@ helper methods createPoll - + | pollId | - self poll: (LQPoll newWithPollDraft: LQPollDraft new). self poll pollDraft questionList add: (LQMultiChoiceQuestion new title: 'Where is the master ball'; @@ -11,7 +10,5 @@ createPoll self poll userSetID: self userSet id. pollId := 'gotta-catch-rayquaza'. - (LQRemotePollRepoServer pollRepo includesKey: pollId) - ifTrue: [LQRemotePollRepoServer pollRepo removeKey: pollId]. - self poll startWithId: pollId ifTaken: [self fail: 'Poll ID already taken'] - + (LQRemotePollRepoServer pollRepo includesKey: pollId) ifTrue: [LQRemotePollRepoServer pollRepo removeKey: pollId]. + self poll startWithId: pollId ifTaken: [self fail: 'Poll ID already taken'] \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQAntiCheatTests.class/instance/createUser1.st b/packages/Liquid-Tests.package/LQAntiCheatTests.class/instance/createUser1.st index 54ede783..5a86eea7 100644 --- a/packages/Liquid-Tests.package/LQAntiCheatTests.class/instance/createUser1.st +++ b/packages/Liquid-Tests.package/LQAntiCheatTests.class/instance/createUser1.st @@ -1,4 +1,9 @@ helper methods createUser1 - ^ LQUser new firstname: 'erika'; surname: 'musterfrau'; mail: 'erika.mustermann@hotmail.com'; group: 'group1';yourself \ No newline at end of file + ^ LQUser new + firstname: 'erika'; + surname: 'musterfrau'; + mail: 'erika.mustermann@hotmail.com'; + group: 'group1'; + yourself \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQAntiCheatTests.class/instance/createUser2.st b/packages/Liquid-Tests.package/LQAntiCheatTests.class/instance/createUser2.st index 99fcaafe..e0d95132 100644 --- a/packages/Liquid-Tests.package/LQAntiCheatTests.class/instance/createUser2.st +++ b/packages/Liquid-Tests.package/LQAntiCheatTests.class/instance/createUser2.st @@ -1,4 +1,9 @@ helper methods createUser2 - ^ LQUser new firstname: 'Lucia'; surname: ''; mail: 'luci@mail.com'; group: '3';yourself \ No newline at end of file + ^ LQUser new + firstname: 'Lucia'; + surname: ''; + mail: 'luci@mail.com'; + group: '3'; + yourself \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQAntiCheatTests.class/instance/createUserSet1.st b/packages/Liquid-Tests.package/LQAntiCheatTests.class/instance/createUserSet1.st index 69c4e518..d7d7d57b 100644 --- a/packages/Liquid-Tests.package/LQAntiCheatTests.class/instance/createUserSet1.st +++ b/packages/Liquid-Tests.package/LQAntiCheatTests.class/instance/createUserSet1.st @@ -1,6 +1,6 @@ helper methods createUserSet1 - + self user1: self createUser1. self user2: self createUser2. self userSet: (LQUserSet new diff --git a/packages/Liquid-Tests.package/LQAntiCheatTests.class/instance/setQuestion1.st b/packages/Liquid-Tests.package/LQAntiCheatTests.class/instance/setQuestion1.st index 4522ad9b..1b962f3b 100644 --- a/packages/Liquid-Tests.package/LQAntiCheatTests.class/instance/setQuestion1.st +++ b/packages/Liquid-Tests.package/LQAntiCheatTests.class/instance/setQuestion1.st @@ -1,4 +1,4 @@ helper methods setQuestion1 - + self q1: self poll questionList first \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQAntiCheatTests.class/instance/testGroupBasedAnswerExclusionEnforced.st b/packages/Liquid-Tests.package/LQAntiCheatTests.class/instance/testGroupBasedAnswerExclusionEnforced.st index cd7f86a2..7bcfc952 100644 --- a/packages/Liquid-Tests.package/LQAntiCheatTests.class/instance/testGroupBasedAnswerExclusionEnforced.st +++ b/packages/Liquid-Tests.package/LQAntiCheatTests.class/instance/testGroupBasedAnswerExclusionEnforced.st @@ -3,13 +3,13 @@ testGroupBasedAnswerExclusionEnforced self answerSet1 token: self user1 token. self answerSet1 addAnswer: (LQChoicesAnswer new - questionId: (self q1 id); - choicesRanking: {(self q1 choiceList first) description}; + questionId: self q1 id; + choicesRanking: {self q1 choiceList first description}; yourself). self answerSet2 addAnswer: (LQChoicesAnswer new - questionId: (self q1 id); - choicesRanking: {(self q1 choiceList second) description}; + questionId: self q1 id; + choicesRanking: {self q1 choiceList second description}; yourself). - self deny: ((LQAntiCheat new) is: self answerSet1 From: self user1 ValidFor: self poll). + self deny: (LQAntiCheat new is: self answerSet1 From: self user1 ValidFor: self poll). self poll addAnswerSet: self answerSet1. - self deny: ((LQAntiCheat new) is: self answerSet2 From: self user2 ValidFor: self poll) \ No newline at end of file + self deny: (LQAntiCheat new is: self answerSet2 From: self user2 ValidFor: self poll) \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQAntiCheatTests.class/instance/testMultipleAnsweringPrevented1.st b/packages/Liquid-Tests.package/LQAntiCheatTests.class/instance/testMultipleAnsweringPrevented1.st index a1d9e6cf..f782b0bc 100644 --- a/packages/Liquid-Tests.package/LQAntiCheatTests.class/instance/testMultipleAnsweringPrevented1.st +++ b/packages/Liquid-Tests.package/LQAntiCheatTests.class/instance/testMultipleAnsweringPrevented1.st @@ -1,8 +1,7 @@ testing testMultipleAnsweringPrevented1 - + self answerSet1 token: self user1 token. - self assert: ((LQAntiCheat new) is: self answerSet1 From: self user1 ValidFor: self poll). + self assert: (LQAntiCheat new is: self answerSet1 From: self user1 ValidFor: self poll). self poll addAnswerSet: self answerSet1. - self deny: ((LQAntiCheat new) is: self answerSet1 From: self user1 ValidFor: self poll) - \ No newline at end of file + self deny: (LQAntiCheat new is: self answerSet1 From: self user1 ValidFor: self poll) \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQAntiCheatTests.class/instance/testMultipleAnsweringPrevented2.st b/packages/Liquid-Tests.package/LQAntiCheatTests.class/instance/testMultipleAnsweringPrevented2.st index 1714982d..32a13773 100644 --- a/packages/Liquid-Tests.package/LQAntiCheatTests.class/instance/testMultipleAnsweringPrevented2.st +++ b/packages/Liquid-Tests.package/LQAntiCheatTests.class/instance/testMultipleAnsweringPrevented2.st @@ -1,18 +1,17 @@ testing testMultipleAnsweringPrevented2 - + self answerSet1 token: self user1 token. self answerSet1 addAnswer: (LQChoicesAnswer new - questionId: (self q1 id); - choicesRanking: {(self q1 choiceList second) description}; + questionId: self q1 id; + choicesRanking: {self q1 choiceList second description}; yourself). self answerSet2 token: self user1 token. self answerSet2 addAnswer: (LQChoicesAnswer new - questionId: (self q1 id); - choicesRanking: {(self q1 choiceList second) description}; + questionId: self q1 id; + choicesRanking: {self q1 choiceList second description}; yourself). - self assert: ((LQAntiCheat new) is: self answerSet1 From: self user1 ValidFor: self poll). + self assert: (LQAntiCheat new is: self answerSet1 From: self user1 ValidFor: self poll). self poll addAnswerSet: self answerSet1. - self deny: ((LQAntiCheat new) is: self answerSet2 From: self user1 ValidFor: self poll) - \ No newline at end of file + self deny: (LQAntiCheat new is: self answerSet2 From: self user1 ValidFor: self poll) \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQAntiCheatTests.class/instance/testNormalAnsweringAllowed.st b/packages/Liquid-Tests.package/LQAntiCheatTests.class/instance/testNormalAnsweringAllowed.st index fd6eb21d..dfb8a42d 100644 --- a/packages/Liquid-Tests.package/LQAntiCheatTests.class/instance/testNormalAnsweringAllowed.st +++ b/packages/Liquid-Tests.package/LQAntiCheatTests.class/instance/testNormalAnsweringAllowed.st @@ -1,18 +1,17 @@ testing testNormalAnsweringAllowed - + self answerSet1 token: self user1 token. self answerSet1 addAnswer: (LQChoicesAnswer new - questionId: (self q1 id); - choicesRanking: {(self q1 choiceList second) description}; + questionId: self q1 id; + choicesRanking: {self q1 choiceList second description}; yourself). self answerSet2 token: self user2 token. self answerSet2 addAnswer: (LQChoicesAnswer new - questionId: (self q1 id); - choicesRanking: {(self q1 choiceList first) description}; + questionId: self q1 id; + choicesRanking: {self q1 choiceList first description}; yourself). - self assert: ((LQAntiCheat new) is: self answerSet1 From: self user1 ValidFor: self poll). + self assert: (LQAntiCheat new is: self answerSet1 From: self user1 ValidFor: self poll). self poll addAnswerSet: self answerSet1. - self assert: ((LQAntiCheat new) is: self answerSet2 From: self user2 ValidFor: self poll) - \ No newline at end of file + self assert: (LQAntiCheat new is: self answerSet2 From: self user2 ValidFor: self poll) \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQAntiCheatTests.class/instance/testPollSanitization.st b/packages/Liquid-Tests.package/LQAntiCheatTests.class/instance/testPollSanitization.st index 1a014f6a..779cff79 100644 --- a/packages/Liquid-Tests.package/LQAntiCheatTests.class/instance/testPollSanitization.st +++ b/packages/Liquid-Tests.package/LQAntiCheatTests.class/instance/testPollSanitization.st @@ -3,14 +3,20 @@ testPollSanitization self answerSet1 token: self user1 token. self answerSet1 addAnswer: (LQChoicesAnswer new - questionId: (self q1 id); - choicesRanking: {(self q1 choiceList second) description}; + questionId: self q1 id; + choicesRanking: {self q1 choiceList second description}; yourself). LQPollRepo default token: self user1 token. LQPollRepo default addAnswerSet: self answerSet1 ToPoll: self poll id. - self assert: 1 equals: ((LQRemotePollRepoServer pollRepo at: self poll id) answerSets size). - self assert: 0 equals: ((LQPollRepo default at: self poll id ifAbsent: [^self fail]) answerSets size). + self assert: 1 equals: (LQRemotePollRepoServer pollRepo at: self poll id) answerSets size. + self + assert: 0 + equals: (LQPollRepo default at: self poll id ifAbsent: [^ self fail]) answerSets size. LQPollRepo default token: self user2 token. - self assert: 0 equals: ((LQPollRepo default at: self poll id ifAbsent: [^self fail]) answerSets size). - self assert: ((LQPollRepo default at: self poll id ifAbsent: [^self fail]) guard hashedPassword isNil). - self assert: '' equals: ((LQPollRepo default at: self poll id ifAbsent: [^self fail]) pollDraft userSetID) \ No newline at end of file + self + assert: 0 + equals: (LQPollRepo default at: self poll id ifAbsent: [^ self fail]) answerSets size. + self assert: (LQPollRepo default at: self poll id ifAbsent: [^ self fail]) guard hashedPassword isNil. + self + assert: '' + equals: (LQPollRepo default at: self poll id ifAbsent: [^ self fail]) pollDraft userSetID \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQAntiCheatTests.class/methodProperties.json b/packages/Liquid-Tests.package/LQAntiCheatTests.class/methodProperties.json index 5f2627ad..d541f5fe 100644 --- a/packages/Liquid-Tests.package/LQAntiCheatTests.class/methodProperties.json +++ b/packages/Liquid-Tests.package/LQAntiCheatTests.class/methodProperties.json @@ -6,23 +6,23 @@ "answerSet1:" : "kge 8/4/2022 18:22", "answerSet2" : "kge 8/4/2022 18:22", "answerSet2:" : "kge 8/4/2022 18:22", - "createAnswerSet1" : "kge 8/4/2022 18:23", - "createAnswerSet2" : "kge 8/4/2022 18:24", - "createPoll" : "bn 8/2/2022 17:41", - "createUser1" : "kge 8/1/2022 20:37", - "createUser2" : "kge 8/1/2022 20:37", - "createUserSet1" : "bn 8/2/2022 17:41", + "createAnswerSet1" : "FLST 7/12/2024 15:55", + "createAnswerSet2" : "FLST 7/12/2024 15:55", + "createPoll" : "FLST 7/12/2024 15:55", + "createUser1" : "FLST 7/12/2024 15:55", + "createUser2" : "FLST 7/12/2024 15:55", + "createUserSet1" : "FLST 7/12/2024 15:55", "poll" : "kge 7/21/2022 22:10", "poll:" : "kge 7/21/2022 22:10", "q1" : "kge 8/4/2022 18:24", "q1:" : "kge 8/4/2022 18:24", - "setQuestion1" : "kge 8/4/2022 18:26", + "setQuestion1" : "FLST 7/12/2024 15:55", "setUp" : "kge 8/4/2022 18:26", - "testGroupBasedAnswerExclusionEnforced" : "Anton Eichstädt 7/8/2024 16:45", - "testMultipleAnsweringPrevented1" : "kge 8/4/2022 18:29", - "testMultipleAnsweringPrevented2" : "Anton Eichstädt 7/8/2024 16:45", - "testNormalAnsweringAllowed" : "Anton Eichstädt 7/8/2024 16:45", - "testPollSanitization" : "Anton Eichstädt 7/8/2024 16:46", + "testGroupBasedAnswerExclusionEnforced" : "FLST 7/12/2024 15:55", + "testMultipleAnsweringPrevented1" : "FLST 7/12/2024 15:55", + "testMultipleAnsweringPrevented2" : "FLST 7/12/2024 15:55", + "testNormalAnsweringAllowed" : "FLST 7/12/2024 15:55", + "testPollSanitization" : "FLST 7/12/2024 15:55", "testUserAnsweredPollFalse" : "kge 8/1/2022 19:44", "testUserAnsweredPollTrue" : "kge 8/4/2022 18:35", "user1" : "kge 7/21/2022 22:13", diff --git a/packages/Liquid-Tests.package/LQAuthenticationTests.class/instance/createPoll.st b/packages/Liquid-Tests.package/LQAuthenticationTests.class/instance/createPoll.st index 4204a1d7..a4309f0d 100644 --- a/packages/Liquid-Tests.package/LQAuthenticationTests.class/instance/createPoll.st +++ b/packages/Liquid-Tests.package/LQAuthenticationTests.class/instance/createPoll.st @@ -1,8 +1,7 @@ helper methods createPoll - + | pollId | - self poll: (LQPoll newWithPollDraft: LQPollDraft new). self poll pollDraft questionList add: (LQMultiChoiceQuestion new title: 'Where is the master ball'; @@ -11,6 +10,5 @@ createPoll self poll userSetID: self userSet id. pollId := 'gotta-catch-rayquaza'. - (LQRemotePollRepoServer pollRepo includesKey: pollId) - ifTrue: [LQRemotePollRepoServer pollRepo removeKey: pollId]. - self poll startWithId: pollId ifTaken: [self fail: 'Poll ID already taken'] + (LQRemotePollRepoServer pollRepo includesKey: pollId) ifTrue: [LQRemotePollRepoServer pollRepo removeKey: pollId]. + self poll startWithId: pollId ifTaken: [self fail: 'Poll ID already taken'] \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQAuthenticationTests.class/instance/createPoll2.st b/packages/Liquid-Tests.package/LQAuthenticationTests.class/instance/createPoll2.st index 750d3c34..b6f26a80 100644 --- a/packages/Liquid-Tests.package/LQAuthenticationTests.class/instance/createPoll2.st +++ b/packages/Liquid-Tests.package/LQAuthenticationTests.class/instance/createPoll2.st @@ -1,8 +1,7 @@ helper methods createPoll2 - + | pollId | - self poll2: (LQPoll newWithPollDraft: LQPollDraft new). self poll2 pollDraft questionList add: (LQMultiChoiceQuestion new title: 'Where is the master ball'; @@ -11,6 +10,5 @@ createPoll2 self poll2 userSetID: self userSet2 id. pollId := 'yet-another-poll-id'. - (LQRemotePollRepoServer pollRepo includesKey: pollId) - ifTrue: [LQRemotePollRepoServer pollRepo removeKey: pollId]. - self poll2 startWithId: pollId ifTaken: [self fail: 'Poll ID already taken'] + (LQRemotePollRepoServer pollRepo includesKey: pollId) ifTrue: [LQRemotePollRepoServer pollRepo removeKey: pollId]. + self poll2 startWithId: pollId ifTaken: [self fail: 'Poll ID already taken'] \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQAuthenticationTests.class/instance/createUser1.st b/packages/Liquid-Tests.package/LQAuthenticationTests.class/instance/createUser1.st index 9809297e..5a86eea7 100644 --- a/packages/Liquid-Tests.package/LQAuthenticationTests.class/instance/createUser1.st +++ b/packages/Liquid-Tests.package/LQAuthenticationTests.class/instance/createUser1.st @@ -1,4 +1,9 @@ helper methods createUser1 - ^ LQUser new firstname: 'erika'; surname: 'musterfrau'; mail: 'erika.mustermann@hotmail.com'; group: 'group1'; yourself \ No newline at end of file + ^ LQUser new + firstname: 'erika'; + surname: 'musterfrau'; + mail: 'erika.mustermann@hotmail.com'; + group: 'group1'; + yourself \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQAuthenticationTests.class/instance/createUser2.st b/packages/Liquid-Tests.package/LQAuthenticationTests.class/instance/createUser2.st index e1ecd4a9..e0d95132 100644 --- a/packages/Liquid-Tests.package/LQAuthenticationTests.class/instance/createUser2.st +++ b/packages/Liquid-Tests.package/LQAuthenticationTests.class/instance/createUser2.st @@ -1,4 +1,9 @@ helper methods createUser2 - ^ LQUser new firstname: 'Lucia'; surname: ''; mail: 'luci@mail.com'; group: '3'; yourself \ No newline at end of file + ^ LQUser new + firstname: 'Lucia'; + surname: ''; + mail: 'luci@mail.com'; + group: '3'; + yourself \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQAuthenticationTests.class/instance/createUser3.st b/packages/Liquid-Tests.package/LQAuthenticationTests.class/instance/createUser3.st index 672dddb3..80247c4e 100644 --- a/packages/Liquid-Tests.package/LQAuthenticationTests.class/instance/createUser3.st +++ b/packages/Liquid-Tests.package/LQAuthenticationTests.class/instance/createUser3.st @@ -1,4 +1,9 @@ helper methods createUser3 - ^ LQUser new firstname: 'Ash'; surname: 'Ketchum'; mail: 'ash@mail.com'; group: 'Rocket'; yourself \ No newline at end of file + ^ LQUser new + firstname: 'Ash'; + surname: 'Ketchum'; + mail: 'ash@mail.com'; + group: 'Rocket'; + yourself \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQAuthenticationTests.class/instance/createUserSet1.st b/packages/Liquid-Tests.package/LQAuthenticationTests.class/instance/createUserSet1.st index 90d10aa2..5efc4c5d 100644 --- a/packages/Liquid-Tests.package/LQAuthenticationTests.class/instance/createUserSet1.st +++ b/packages/Liquid-Tests.package/LQAuthenticationTests.class/instance/createUserSet1.st @@ -1,6 +1,6 @@ helper methods createUserSet1 - + self userSet: (LQUserSet new addUser: self user1; addUser: self user2; diff --git a/packages/Liquid-Tests.package/LQAuthenticationTests.class/instance/createUserSet2.st b/packages/Liquid-Tests.package/LQAuthenticationTests.class/instance/createUserSet2.st index 91bd8560..6d07b11a 100644 --- a/packages/Liquid-Tests.package/LQAuthenticationTests.class/instance/createUserSet2.st +++ b/packages/Liquid-Tests.package/LQAuthenticationTests.class/instance/createUserSet2.st @@ -1,6 +1,6 @@ helper methods createUserSet2 - + self userSet2: (LQUserSet new addUser: self user3; yourself). diff --git a/packages/Liquid-Tests.package/LQAuthenticationTests.class/instance/setUp.st b/packages/Liquid-Tests.package/LQAuthenticationTests.class/instance/setUp.st index 1d266490..de4325ad 100644 --- a/packages/Liquid-Tests.package/LQAuthenticationTests.class/instance/setUp.st +++ b/packages/Liquid-Tests.package/LQAuthenticationTests.class/instance/setUp.st @@ -6,5 +6,4 @@ setUp createUserSet1; createUserSet2; createPoll; - createPoll2 - \ No newline at end of file + createPoll2 \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQAuthenticationTests.class/instance/testPollRepo200ResponseForUser1.st b/packages/Liquid-Tests.package/LQAuthenticationTests.class/instance/testPollRepo200ResponseForUser1.st index aa4592ed..51d544f5 100644 --- a/packages/Liquid-Tests.package/LQAuthenticationTests.class/instance/testPollRepo200ResponseForUser1.st +++ b/packages/Liquid-Tests.package/LQAuthenticationTests.class/instance/testPollRepo200ResponseForUser1.st @@ -2,4 +2,4 @@ testing testPollRepo200ResponseForUser1 LQPollRepo default token: self user1 token. - self assert: ((LQPollRepo default serverAt: self poll id) isSuccess) \ No newline at end of file + self assert: (LQPollRepo default serverAt: self poll id) isSuccess \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQAuthenticationTests.class/instance/testPollRepo200ResponseForUser2.st b/packages/Liquid-Tests.package/LQAuthenticationTests.class/instance/testPollRepo200ResponseForUser2.st index 3aec457d..d66bbcda 100644 --- a/packages/Liquid-Tests.package/LQAuthenticationTests.class/instance/testPollRepo200ResponseForUser2.st +++ b/packages/Liquid-Tests.package/LQAuthenticationTests.class/instance/testPollRepo200ResponseForUser2.st @@ -2,4 +2,4 @@ testing testPollRepo200ResponseForUser2 LQPollRepo default token: self user2 token. - self assert: ((LQPollRepo default serverAt: self poll id) isSuccess) \ No newline at end of file + self assert: (LQPollRepo default serverAt: self poll id) isSuccess \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQAuthenticationTests.class/instance/testPollRepo401ResponseForEmptyToken.st b/packages/Liquid-Tests.package/LQAuthenticationTests.class/instance/testPollRepo401ResponseForEmptyToken.st index 0cc86604..404a5e85 100644 --- a/packages/Liquid-Tests.package/LQAuthenticationTests.class/instance/testPollRepo401ResponseForEmptyToken.st +++ b/packages/Liquid-Tests.package/LQAuthenticationTests.class/instance/testPollRepo401ResponseForEmptyToken.st @@ -2,5 +2,6 @@ testing testPollRepo401ResponseForEmptyToken LQPollRepo default token: ''. - self assert: LQRemotePollRepoServer unauthorizedResponseCode - equals: ((LQPollRepo default serverAt: self poll id) code) \ No newline at end of file + self + assert: LQRemotePollRepoServer unauthorizedResponseCode + equals: (LQPollRepo default serverAt: self poll id) code \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQAuthenticationTests.class/instance/testPollRepo401ResponseForInvalidToken.st b/packages/Liquid-Tests.package/LQAuthenticationTests.class/instance/testPollRepo401ResponseForInvalidToken.st index 475502f2..b5fe0cbb 100644 --- a/packages/Liquid-Tests.package/LQAuthenticationTests.class/instance/testPollRepo401ResponseForInvalidToken.st +++ b/packages/Liquid-Tests.package/LQAuthenticationTests.class/instance/testPollRepo401ResponseForInvalidToken.st @@ -4,5 +4,6 @@ testPollRepo401ResponseForInvalidToken | invalidToken | invalidToken := -100. LQPollRepo default token: invalidToken. - self assert: LQRemotePollRepoServer unauthorizedResponseCode equals: - ((LQPollRepo default serverAt: self poll id) code) + self + assert: LQRemotePollRepoServer unauthorizedResponseCode + equals: (LQPollRepo default serverAt: self poll id) code \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQAuthenticationTests.class/instance/testPollRepo401ResponseForUser3.st b/packages/Liquid-Tests.package/LQAuthenticationTests.class/instance/testPollRepo401ResponseForUser3.st index 6fd8249a..d9efc6c3 100644 --- a/packages/Liquid-Tests.package/LQAuthenticationTests.class/instance/testPollRepo401ResponseForUser3.st +++ b/packages/Liquid-Tests.package/LQAuthenticationTests.class/instance/testPollRepo401ResponseForUser3.st @@ -2,5 +2,6 @@ testing testPollRepo401ResponseForUser3 LQPollRepo default token: self user3 token. - self assert: LQRemotePollRepoServer unauthorizedResponseCode - equals: ((LQPollRepo default serverAt: self poll id) code) \ No newline at end of file + self + assert: LQRemotePollRepoServer unauthorizedResponseCode + equals: (LQPollRepo default serverAt: self poll id) code \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQAuthenticationTests.class/instance/testPollRepo404ResponseForEmptyPollId.st b/packages/Liquid-Tests.package/LQAuthenticationTests.class/instance/testPollRepo404ResponseForEmptyPollId.st index 07bc87db..5cd0ba31 100644 --- a/packages/Liquid-Tests.package/LQAuthenticationTests.class/instance/testPollRepo404ResponseForEmptyPollId.st +++ b/packages/Liquid-Tests.package/LQAuthenticationTests.class/instance/testPollRepo404ResponseForEmptyPollId.st @@ -2,5 +2,6 @@ testing testPollRepo404ResponseForEmptyPollId LQPollRepo default token: self user1 token. - self assert: LQRemotePollRepoServer unavailableResponseCode - equals: ((LQPollRepo default serverAt: '') code) \ No newline at end of file + self + assert: LQRemotePollRepoServer unavailableResponseCode + equals: (LQPollRepo default serverAt: '') code \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQAuthenticationTests.class/instance/testPollRepo404ResponseForInvalidPollId.st b/packages/Liquid-Tests.package/LQAuthenticationTests.class/instance/testPollRepo404ResponseForInvalidPollId.st index c7373336..ef6c8d2e 100644 --- a/packages/Liquid-Tests.package/LQAuthenticationTests.class/instance/testPollRepo404ResponseForInvalidPollId.st +++ b/packages/Liquid-Tests.package/LQAuthenticationTests.class/instance/testPollRepo404ResponseForInvalidPollId.st @@ -4,5 +4,6 @@ testPollRepo404ResponseForInvalidPollId | invalidPollId | invalidPollId := -100. LQPollRepo default token: self user1 token. - self assert: LQRemotePollRepoServer unavailableResponseCode - equals: ((LQPollRepo default serverAt: invalidPollId) code) \ No newline at end of file + self + assert: LQRemotePollRepoServer unavailableResponseCode + equals: (LQPollRepo default serverAt: invalidPollId) code \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQAuthenticationTests.class/instance/user1.st b/packages/Liquid-Tests.package/LQAuthenticationTests.class/instance/user1.st index 8bc36705..cbab5ec2 100644 --- a/packages/Liquid-Tests.package/LQAuthenticationTests.class/instance/user1.st +++ b/packages/Liquid-Tests.package/LQAuthenticationTests.class/instance/user1.st @@ -1,10 +1,11 @@ accessing user1 - user1 ifNil: [user1 := LQUser new - firstname: 'erika'; - surname: 'musterfrau'; - mail: 'erika.mustermann@hotmail.com'; - group: 'group1'; - yourself]. + user1 ifNil: [ + user1 := LQUser new + firstname: 'erika'; + surname: 'musterfrau'; + mail: 'erika.mustermann@hotmail.com'; + group: 'group1'; + yourself]. ^ user1 \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQAuthenticationTests.class/instance/user2.st b/packages/Liquid-Tests.package/LQAuthenticationTests.class/instance/user2.st index 472ab024..3be37595 100644 --- a/packages/Liquid-Tests.package/LQAuthenticationTests.class/instance/user2.st +++ b/packages/Liquid-Tests.package/LQAuthenticationTests.class/instance/user2.st @@ -1,5 +1,11 @@ accessing user2 - user2 ifNil: [user2 := LQUser new firstname: 'Lucia'; surname: ''; mail: 'luci@mail.com'; group: '3'; yourself]. + user2 ifNil: [ + user2 := LQUser new + firstname: 'Lucia'; + surname: ''; + mail: 'luci@mail.com'; + group: '3'; + yourself]. ^ user2 \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQAuthenticationTests.class/instance/user3.st b/packages/Liquid-Tests.package/LQAuthenticationTests.class/instance/user3.st index 328209bc..2826262f 100644 --- a/packages/Liquid-Tests.package/LQAuthenticationTests.class/instance/user3.st +++ b/packages/Liquid-Tests.package/LQAuthenticationTests.class/instance/user3.st @@ -1,10 +1,11 @@ accessing user3 - user3 ifNil: [user3 := LQUser new - firstname: 'Ash'; - surname: 'Ketchum'; - mail: 'ash@mail.com'; - group: 'Rocket'; - yourself]. + user3 ifNil: [ + user3 := LQUser new + firstname: 'Ash'; + surname: 'Ketchum'; + mail: 'ash@mail.com'; + group: 'Rocket'; + yourself]. ^ user3 \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQAuthenticationTests.class/methodProperties.json b/packages/Liquid-Tests.package/LQAuthenticationTests.class/methodProperties.json index 72cb6f8d..99ae6113 100644 --- a/packages/Liquid-Tests.package/LQAuthenticationTests.class/methodProperties.json +++ b/packages/Liquid-Tests.package/LQAuthenticationTests.class/methodProperties.json @@ -2,34 +2,34 @@ "class" : { }, "instance" : { - "createPoll" : "bn 8/2/2022 17:43", - "createPoll2" : "bn 8/2/2022 17:43", - "createUser1" : "kge 8/1/2022 20:38", - "createUser2" : "kge 8/1/2022 20:38", - "createUser3" : "kge 8/1/2022 20:39", - "createUserSet1" : "bn 8/2/2022 17:43", - "createUserSet2" : "bn 8/2/2022 17:43", + "createPoll" : "FLST 7/12/2024 15:55", + "createPoll2" : "FLST 7/12/2024 15:55", + "createUser1" : "FLST 7/12/2024 15:55", + "createUser2" : "FLST 7/12/2024 15:55", + "createUser3" : "FLST 7/12/2024 15:55", + "createUserSet1" : "FLST 7/12/2024 15:55", + "createUserSet2" : "FLST 7/12/2024 15:55", "id" : "bn 8/2/2022 17:43", "poll" : "bn 8/2/2022 17:43", "poll2" : "bn 8/2/2022 17:43", "poll2:" : "bn 8/2/2022 17:44", "poll:" : "bn 8/2/2022 17:45", - "setUp" : "kge 7/21/2022 22:16", - "testPollRepo200ResponseForUser1" : "bn 8/2/2022 17:45", - "testPollRepo200ResponseForUser2" : "bn 8/2/2022 17:45", - "testPollRepo401ResponseForEmptyToken" : "ms 8/4/2022 23:06", - "testPollRepo401ResponseForInvalidToken" : "ms 8/4/2022 23:09", - "testPollRepo401ResponseForUser3" : "ms 8/4/2022 23:06", - "testPollRepo404ResponseForEmptyPollId" : "ms 8/4/2022 23:07", - "testPollRepo404ResponseForInvalidPollId" : "ms 8/4/2022 23:09", + "setUp" : "FLST 7/12/2024 15:55", + "testPollRepo200ResponseForUser1" : "FLST 7/12/2024 15:55", + "testPollRepo200ResponseForUser2" : "FLST 7/12/2024 15:55", + "testPollRepo401ResponseForEmptyToken" : "FLST 7/12/2024 15:55", + "testPollRepo401ResponseForInvalidToken" : "FLST 7/12/2024 15:55", + "testPollRepo401ResponseForUser3" : "FLST 7/12/2024 15:55", + "testPollRepo404ResponseForEmptyPollId" : "FLST 7/12/2024 15:55", + "testPollRepo404ResponseForInvalidPollId" : "FLST 7/12/2024 15:55", "testPollRepoAlwaysDefined" : "kge 8/4/2022 18:57", "testPollRepoWithServerUnreachable" : "bn 8/2/2022 17:47", "thisMessageDoesNotExist" : "bn 8/2/2022 17:47", - "user1" : "JT 8/4/2022 21:56", + "user1" : "FLST 7/12/2024 15:55", "user1:" : "bn 8/2/2022 17:47", - "user2" : "kge 8/1/2022 20:39", + "user2" : "FLST 7/12/2024 15:55", "user2:" : "bn 8/2/2022 17:48", - "user3" : "JT 8/4/2022 21:57", + "user3" : "FLST 7/12/2024 15:55", "user3:" : "bn 8/2/2022 17:48", "userSet" : "bn 8/2/2022 17:48", "userSet2" : "bn 8/2/2022 17:48", diff --git a/packages/Liquid-Tests.package/LQChoiceProcessorTests.class/instance/testExtractionOfDescriptionForBadFormattedStrings.st b/packages/Liquid-Tests.package/LQChoiceProcessorTests.class/instance/testExtractionOfDescriptionForBadFormattedStrings.st index bf8ca4cf..355b8902 100644 --- a/packages/Liquid-Tests.package/LQChoiceProcessorTests.class/instance/testExtractionOfDescriptionForBadFormattedStrings.st +++ b/packages/Liquid-Tests.package/LQChoiceProcessorTests.class/instance/testExtractionOfDescriptionForBadFormattedStrings.st @@ -3,6 +3,6 @@ testExtractionOfDescriptionForBadFormattedStrings | choiceEntry expectedDescription actualDescription | expectedDescription := 'Lorem ipsum dolor sit amet ]'. - choiceEntry := expectedDescription, '[gru3[, fews]'. + choiceEntry := expectedDescription, '[gru3[, fews]'. actualDescription := self processor extractDescription: choiceEntry. self assert: expectedDescription equals: actualDescription \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQChoiceProcessorTests.class/instance/testExtractionOfDescriptionWithMultipleExcludedGroups.st b/packages/Liquid-Tests.package/LQChoiceProcessorTests.class/instance/testExtractionOfDescriptionWithMultipleExcludedGroups.st index 83480f0e..b1060c96 100644 --- a/packages/Liquid-Tests.package/LQChoiceProcessorTests.class/instance/testExtractionOfDescriptionWithMultipleExcludedGroups.st +++ b/packages/Liquid-Tests.package/LQChoiceProcessorTests.class/instance/testExtractionOfDescriptionWithMultipleExcludedGroups.st @@ -3,6 +3,6 @@ testExtractionOfDescriptionWithMultipleExcludedGroups | choiceEntry expectedDescription actualDescription | expectedDescription := 'Lorem ipsum dolor sit amet'. - choiceEntry := expectedDescription, '[group1,group 2]'. + choiceEntry := expectedDescription, '[group1,group 2]'. actualDescription := self processor extractDescription: choiceEntry. self assert: expectedDescription equals: actualDescription \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQChoiceProcessorTests.class/instance/testExtractionOfGroupsForBadFormattedStrings.st b/packages/Liquid-Tests.package/LQChoiceProcessorTests.class/instance/testExtractionOfGroupsForBadFormattedStrings.st index 23e60b0a..113ba3cc 100644 --- a/packages/Liquid-Tests.package/LQChoiceProcessorTests.class/instance/testExtractionOfGroupsForBadFormattedStrings.st +++ b/packages/Liquid-Tests.package/LQChoiceProcessorTests.class/instance/testExtractionOfGroupsForBadFormattedStrings.st @@ -2,7 +2,6 @@ testing testExtractionOfGroupsForBadFormattedStrings | choiceEntry expectedGroups actualGroups | - expectedGroups := OrderedCollection new add: 'group1'; add: '[group2]'; diff --git a/packages/Liquid-Tests.package/LQChoiceProcessorTests.class/instance/testExtractionOfGroupsForWellFormattedStrings.st b/packages/Liquid-Tests.package/LQChoiceProcessorTests.class/instance/testExtractionOfGroupsForWellFormattedStrings.st index cb730c97..e0cbcf14 100644 --- a/packages/Liquid-Tests.package/LQChoiceProcessorTests.class/instance/testExtractionOfGroupsForWellFormattedStrings.st +++ b/packages/Liquid-Tests.package/LQChoiceProcessorTests.class/instance/testExtractionOfGroupsForWellFormattedStrings.st @@ -2,7 +2,6 @@ testing testExtractionOfGroupsForWellFormattedStrings | choiceEntry expectedGroups actualGroups | - expectedGroups := OrderedCollection new add: 'group1'; add: 'group 2'; diff --git a/packages/Liquid-Tests.package/LQChoiceProcessorTests.class/instance/testExtractionOfGroupsWithMultipleExcludedGroups.st b/packages/Liquid-Tests.package/LQChoiceProcessorTests.class/instance/testExtractionOfGroupsWithMultipleExcludedGroups.st index 6062b720..a4a31b52 100644 --- a/packages/Liquid-Tests.package/LQChoiceProcessorTests.class/instance/testExtractionOfGroupsWithMultipleExcludedGroups.st +++ b/packages/Liquid-Tests.package/LQChoiceProcessorTests.class/instance/testExtractionOfGroupsWithMultipleExcludedGroups.st @@ -2,7 +2,6 @@ testing testExtractionOfGroupsWithMultipleExcludedGroups | choiceEntry expectedGroups actualGroups | - expectedGroups := OrderedCollection new add: 'group1'; add: 'group2'; diff --git a/packages/Liquid-Tests.package/LQChoiceProcessorTests.class/instance/testWhitespaceTrimmingForGroups.st b/packages/Liquid-Tests.package/LQChoiceProcessorTests.class/instance/testWhitespaceTrimmingForGroups.st index 0c34ad61..e1fd7b35 100644 --- a/packages/Liquid-Tests.package/LQChoiceProcessorTests.class/instance/testWhitespaceTrimmingForGroups.st +++ b/packages/Liquid-Tests.package/LQChoiceProcessorTests.class/instance/testWhitespaceTrimmingForGroups.st @@ -2,7 +2,6 @@ testing testWhitespaceTrimmingForGroups | choiceEntry expectedGroups actualGroups | - expectedGroups := OrderedCollection new add: 'group1'; add: 'group2'; diff --git a/packages/Liquid-Tests.package/LQChoiceProcessorTests.class/methodProperties.json b/packages/Liquid-Tests.package/LQChoiceProcessorTests.class/methodProperties.json index 9ebca163..058b9609 100644 --- a/packages/Liquid-Tests.package/LQChoiceProcessorTests.class/methodProperties.json +++ b/packages/Liquid-Tests.package/LQChoiceProcessorTests.class/methodProperties.json @@ -5,16 +5,16 @@ "processor" : "bn 8/2/2022 17:49", "processor:" : "bn 8/2/2022 17:49", "setUp" : "ape 6/22/2022 21:35", - "testExtractionOfDescriptionForBadFormattedStrings" : "kge 8/4/2022 18:40", + "testExtractionOfDescriptionForBadFormattedStrings" : "FLST 7/12/2024 15:55", "testExtractionOfDescriptionForWellFormattedStrings" : "kge 8/4/2022 18:40", - "testExtractionOfDescriptionWithMultipleExcludedGroups" : "kge 8/4/2022 18:40", + "testExtractionOfDescriptionWithMultipleExcludedGroups" : "FLST 7/12/2024 15:55", "testExtractionOfDescriptionWithoutExcludedGroups" : "kge 8/4/2022 18:40", - "testExtractionOfGroupsForBadFormattedStrings" : "JT 8/5/2022 18:22", - "testExtractionOfGroupsForWellFormattedStrings" : "JT 8/5/2022 18:22", + "testExtractionOfGroupsForBadFormattedStrings" : "FLST 7/12/2024 15:55", + "testExtractionOfGroupsForWellFormattedStrings" : "FLST 7/12/2024 15:55", "testExtractionOfGroupsWithEmptyBrackets" : "kge 8/4/2022 18:40", - "testExtractionOfGroupsWithMultipleExcludedGroups" : "JT 8/5/2022 18:22", + "testExtractionOfGroupsWithMultipleExcludedGroups" : "FLST 7/12/2024 15:55", "testExtractionOfGroupsWithoutExcludedGroups" : "kge 8/4/2022 18:40", "testLeadingWhiteSpaceTrimmingOfDescription" : "kge 8/4/2022 18:40", "testLeadingWhiteSpaceTrimmingOfDescriptionWhenNoBracketsArePresent" : "kge 8/4/2022 18:40", "testTrailingWhiteSpaceTrimmingOfDescription" : "kge 8/4/2022 18:40", - "testWhitespaceTrimmingForGroups" : "JT 8/5/2022 18:22" } } + "testWhitespaceTrimmingForGroups" : "FLST 7/12/2024 15:55" } } diff --git a/packages/Liquid-Tests.package/LQChoiceTests.class/instance/testExcludedGroups.st b/packages/Liquid-Tests.package/LQChoiceTests.class/instance/testExcludedGroups.st index a32bb670..b9523beb 100644 --- a/packages/Liquid-Tests.package/LQChoiceTests.class/instance/testExcludedGroups.st +++ b/packages/Liquid-Tests.package/LQChoiceTests.class/instance/testExcludedGroups.st @@ -2,7 +2,6 @@ testing testExcludedGroups | choiceEntry expectedGroups actualGroups | - expectedGroups := OrderedCollection new add: 'group1'; add: 'group2'; diff --git a/packages/Liquid-Tests.package/LQChoiceTests.class/methodProperties.json b/packages/Liquid-Tests.package/LQChoiceTests.class/methodProperties.json index ad09937f..af82b1a8 100644 --- a/packages/Liquid-Tests.package/LQChoiceTests.class/methodProperties.json +++ b/packages/Liquid-Tests.package/LQChoiceTests.class/methodProperties.json @@ -2,4 +2,4 @@ "class" : { }, "instance" : { - "testExcludedGroups" : "JT 8/5/2022 00:06" } } + "testExcludedGroups" : "FLST 7/12/2024 15:55" } } diff --git a/packages/Liquid-Tests.package/LQDuplicateDetectorTests.class/instance/createCollectionOne.st b/packages/Liquid-Tests.package/LQDuplicateDetectorTests.class/instance/createCollectionOne.st index edfb5f6f..8dd9664c 100644 --- a/packages/Liquid-Tests.package/LQDuplicateDetectorTests.class/instance/createCollectionOne.st +++ b/packages/Liquid-Tests.package/LQDuplicateDetectorTests.class/instance/createCollectionOne.st @@ -1,6 +1,4 @@ helper methods createCollectionOne - ^ {LQChoice newFrom: 'Hallo' . LQChoice newFrom: 'Welt' . LQChoice newFrom: '!'} asOrderedCollection - - + ^ {LQChoice newFrom: 'Hallo'. LQChoice newFrom: 'Welt'. LQChoice newFrom: '!'} asOrderedCollection \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQDuplicateDetectorTests.class/instance/createCollectionThreeWithDuplicates.st b/packages/Liquid-Tests.package/LQDuplicateDetectorTests.class/instance/createCollectionThreeWithDuplicates.st index b6529bb8..9510ee61 100644 --- a/packages/Liquid-Tests.package/LQDuplicateDetectorTests.class/instance/createCollectionThreeWithDuplicates.st +++ b/packages/Liquid-Tests.package/LQDuplicateDetectorTests.class/instance/createCollectionThreeWithDuplicates.st @@ -2,5 +2,5 @@ helper methods createCollectionThreeWithDuplicates | values | - values := {1 . 1 . 2 . 2 . 3 . 3}. + values := {1. 1. 2. 2. 3. 3}. ^ values asOrderedCollection \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQDuplicateDetectorTests.class/instance/createCollectionThreeWithoutDuplicates.st b/packages/Liquid-Tests.package/LQDuplicateDetectorTests.class/instance/createCollectionThreeWithoutDuplicates.st index 08dab204..43906e95 100644 --- a/packages/Liquid-Tests.package/LQDuplicateDetectorTests.class/instance/createCollectionThreeWithoutDuplicates.st +++ b/packages/Liquid-Tests.package/LQDuplicateDetectorTests.class/instance/createCollectionThreeWithoutDuplicates.st @@ -2,5 +2,5 @@ helper methods createCollectionThreeWithoutDuplicates | values | - values := {1 . 2 . 3}. + values := {1. 2. 3}. ^ values asOrderedCollection \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQDuplicateDetectorTests.class/instance/createCollectionTwo.st b/packages/Liquid-Tests.package/LQDuplicateDetectorTests.class/instance/createCollectionTwo.st index 12712184..2b571092 100644 --- a/packages/Liquid-Tests.package/LQDuplicateDetectorTests.class/instance/createCollectionTwo.st +++ b/packages/Liquid-Tests.package/LQDuplicateDetectorTests.class/instance/createCollectionTwo.st @@ -1,9 +1,8 @@ helper methods createCollectionTwo - ^ {LQChoice newFrom: 'Hallo' - . LQChoice newFrom: 'Welt' - . LQChoice newFrom: '!' - . LQChoice newFrom: 'Hallo [123]'} asOrderedCollection - - + ^ { + LQChoice newFrom: 'Hallo'. + LQChoice newFrom: 'Welt'. + LQChoice newFrom: '!'. + LQChoice newFrom: 'Hallo [123]'} asOrderedCollection \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQDuplicateDetectorTests.class/instance/createCollectionWithNoDuplicates.st b/packages/Liquid-Tests.package/LQDuplicateDetectorTests.class/instance/createCollectionWithNoDuplicates.st index e84ccb3e..397475f6 100644 --- a/packages/Liquid-Tests.package/LQDuplicateDetectorTests.class/instance/createCollectionWithNoDuplicates.st +++ b/packages/Liquid-Tests.package/LQDuplicateDetectorTests.class/instance/createCollectionWithNoDuplicates.st @@ -2,5 +2,5 @@ helper methods createCollectionWithNoDuplicates | values | - values := {1 . 2 . 3 . 4 . 5 . 6}. + values := {1. 2. 3. 4. 5. 6}. ^ values asOrderedCollection \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQDuplicateDetectorTests.class/instance/createTextOne.st b/packages/Liquid-Tests.package/LQDuplicateDetectorTests.class/instance/createTextOne.st index 95f33bf3..42f66cc1 100644 --- a/packages/Liquid-Tests.package/LQDuplicateDetectorTests.class/instance/createTextOne.st +++ b/packages/Liquid-Tests.package/LQDuplicateDetectorTests.class/instance/createTextOne.st @@ -2,9 +2,14 @@ helper methods createTextOne | textStream | - textStream := TextStream on: Text new. - textStream nextPutAll: 'Hallo'; cr. - textStream nextPutAll: 'Welt'; cr. - textStream nextPutAll: '!'; cr. + textStream + nextPutAll: 'Hallo'; + cr. + textStream + nextPutAll: 'Welt'; + cr. + textStream + nextPutAll: '!'; + cr. ^ textStream contents \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQDuplicateDetectorTests.class/instance/testDuplicateMarkingWithMarking.st b/packages/Liquid-Tests.package/LQDuplicateDetectorTests.class/instance/testDuplicateMarkingWithMarking.st index 20dda338..3f128f0d 100644 --- a/packages/Liquid-Tests.package/LQDuplicateDetectorTests.class/instance/testDuplicateMarkingWithMarking.st +++ b/packages/Liquid-Tests.package/LQDuplicateDetectorTests.class/instance/testDuplicateMarkingWithMarking.st @@ -2,9 +2,8 @@ testing testDuplicateMarkingWithMarking | collection color1 color2 | - collection := self createCollectionTwo. color1 := (LQDuplicateDetector new markDuplicatesIn: collection) attributesAt: 2. - color2 := ((LQDuplicateDetector new markDuplicatesIn: collection) attributesAt: 7). + color2 := (LQDuplicateDetector new markDuplicatesIn: collection) attributesAt: 7. self assert: (color1 includes: (TextColor color: Color red)). - self deny: (color2 includes: (TextColor color: Color red)) \ No newline at end of file + self deny: (color2 includes: (TextColor color: Color red)) \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQDuplicateDetectorTests.class/instance/testMultipleDuplicates.st b/packages/Liquid-Tests.package/LQDuplicateDetectorTests.class/instance/testMultipleDuplicates.st index 9dfa1a34..6ed94ff3 100644 --- a/packages/Liquid-Tests.package/LQDuplicateDetectorTests.class/instance/testMultipleDuplicates.st +++ b/packages/Liquid-Tests.package/LQDuplicateDetectorTests.class/instance/testMultipleDuplicates.st @@ -2,6 +2,6 @@ testing testMultipleDuplicates | original onlyDuplicates | - original := {'1' . '1' . '2' . '3' . '4' . '5' . '5' . '5' . '5' . '10'} asOrderedCollection. - onlyDuplicates := {'1' . '5' . '5' . '5'} asOrderedCollection. + original := {'1'. '1'. '2'. '3'. '4'. '5'. '5'. '5'. '5'. '10'} asOrderedCollection. + onlyDuplicates := {'1'. '5'. '5'. '5'} asOrderedCollection. self assert: onlyDuplicates equals: (LQDuplicateDetector new identifyDuplicates: original) \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQDuplicateDetectorTests.class/methodProperties.json b/packages/Liquid-Tests.package/LQDuplicateDetectorTests.class/methodProperties.json index c802d843..ac636b60 100644 --- a/packages/Liquid-Tests.package/LQDuplicateDetectorTests.class/methodProperties.json +++ b/packages/Liquid-Tests.package/LQDuplicateDetectorTests.class/methodProperties.json @@ -2,14 +2,14 @@ "class" : { }, "instance" : { - "createCollectionOne" : "bn 8/2/2022 17:52", - "createCollectionThreeWithDuplicates" : "ms 8/5/2022 15:51", - "createCollectionThreeWithoutDuplicates" : "ms 8/5/2022 15:51", - "createCollectionTwo" : "JT 8/4/2022 21:59", - "createCollectionWithNoDuplicates" : "ms 8/5/2022 15:49", - "createTextOne" : "JT 8/5/2022 18:23", + "createCollectionOne" : "FLST 7/12/2024 15:55", + "createCollectionThreeWithDuplicates" : "FLST 7/12/2024 15:55", + "createCollectionThreeWithoutDuplicates" : "FLST 7/12/2024 15:55", + "createCollectionTwo" : "FLST 7/12/2024 15:55", + "createCollectionWithNoDuplicates" : "FLST 7/12/2024 15:55", + "createTextOne" : "FLST 7/12/2024 15:55", "testDuplicateMarkingNoMarking" : "kge 8/4/2022 18:41", - "testDuplicateMarkingWithMarking" : "JT 8/4/2022 22:01", - "testMultipleDuplicates" : "kge 8/4/2022 18:42", + "testDuplicateMarkingWithMarking" : "FLST 7/12/2024 15:55", + "testMultipleDuplicates" : "FLST 7/12/2024 15:55", "testNoDuplicate" : "ms 8/5/2022 15:50", "testSingleDuplicates" : "ms 8/5/2022 15:51" } } diff --git a/packages/Liquid-Tests.package/LQFreeTextQuestionBuilderTests.class/instance/setUp.st b/packages/Liquid-Tests.package/LQFreeTextQuestionBuilderTests.class/instance/setUp.st index 95e9c4f4..83b7ddf2 100644 --- a/packages/Liquid-Tests.package/LQFreeTextQuestionBuilderTests.class/instance/setUp.st +++ b/packages/Liquid-Tests.package/LQFreeTextQuestionBuilderTests.class/instance/setUp.st @@ -4,5 +4,4 @@ setUp super setUp. self builder: ToolBuilder default. self questionBuilder: LQFreeTextQuestionBuilder new. - self questionBuilder question: LQFreeTextQuestion new - \ No newline at end of file + self questionBuilder question: LQFreeTextQuestion new \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQFreeTextQuestionBuilderTests.class/instance/testBuildWithReturnsPannelMorph.st b/packages/Liquid-Tests.package/LQFreeTextQuestionBuilderTests.class/instance/testBuildWithReturnsPannelMorph.st index 859bedca..53bea35b 100644 --- a/packages/Liquid-Tests.package/LQFreeTextQuestionBuilderTests.class/instance/testBuildWithReturnsPannelMorph.st +++ b/packages/Liquid-Tests.package/LQFreeTextQuestionBuilderTests.class/instance/testBuildWithReturnsPannelMorph.st @@ -1,6 +1,4 @@ testing testBuildWithReturnsPannelMorph - self assert: ((self questionBuilder buildWith: self builder) isMemberOf: PluggablePanelMorph) - - \ No newline at end of file + self assert: ((self questionBuilder buildWith: self builder) isMemberOf: PluggablePanelMorph) \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQFreeTextQuestionBuilderTests.class/instance/testDetermineMaxNumberOfCharacters.st b/packages/Liquid-Tests.package/LQFreeTextQuestionBuilderTests.class/instance/testDetermineMaxNumberOfCharacters.st index 3507be18..3bfbd982 100644 --- a/packages/Liquid-Tests.package/LQFreeTextQuestionBuilderTests.class/instance/testDetermineMaxNumberOfCharacters.st +++ b/packages/Liquid-Tests.package/LQFreeTextQuestionBuilderTests.class/instance/testDetermineMaxNumberOfCharacters.st @@ -2,5 +2,5 @@ testing testDetermineMaxNumberOfCharacters | maxNumberOfCharacters | - maxNumberOfCharacters:=self questionBuilder determineMaxNumberOfCharactersFrom: '5' asText. - self assert: maxNumberOfCharacters equals: 5. \ No newline at end of file + maxNumberOfCharacters := self questionBuilder determineMaxNumberOfCharactersFrom: '5' asText. + self assert: maxNumberOfCharacters equals: 5 \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQFreeTextQuestionBuilderTests.class/instance/testLabelCreation.st b/packages/Liquid-Tests.package/LQFreeTextQuestionBuilderTests.class/instance/testLabelCreation.st index daa1f0e7..59333107 100644 --- a/packages/Liquid-Tests.package/LQFreeTextQuestionBuilderTests.class/instance/testLabelCreation.st +++ b/packages/Liquid-Tests.package/LQFreeTextQuestionBuilderTests.class/instance/testLabelCreation.st @@ -2,7 +2,5 @@ testing testLabelCreation | labelText | - labelText := 'Maximum number of characters participants can write'. - self assert: self questionBuilder createMaxNumberOfCharactersLabel equals: labelText - \ No newline at end of file + self assert: self questionBuilder createMaxNumberOfCharactersLabel equals: labelText \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQFreeTextQuestionBuilderTests.class/instance/testMaxNumberOfCharactersBadInput.st b/packages/Liquid-Tests.package/LQFreeTextQuestionBuilderTests.class/instance/testMaxNumberOfCharactersBadInput.st index 30721e54..02b3a2e3 100644 --- a/packages/Liquid-Tests.package/LQFreeTextQuestionBuilderTests.class/instance/testMaxNumberOfCharactersBadInput.st +++ b/packages/Liquid-Tests.package/LQFreeTextQuestionBuilderTests.class/instance/testMaxNumberOfCharactersBadInput.st @@ -2,4 +2,4 @@ testing testMaxNumberOfCharactersBadInput self questionBuilder maxNumberOfCharacters: 'no valid number'. - self assert: questionBuilder maxNumberOfCharacters equals: '100'. \ No newline at end of file + self assert: questionBuilder maxNumberOfCharacters equals: '100' \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQFreeTextQuestionBuilderTests.class/instance/testMaxNumberOfCharactersCorrectInput.st b/packages/Liquid-Tests.package/LQFreeTextQuestionBuilderTests.class/instance/testMaxNumberOfCharactersCorrectInput.st index 4e89677e..c4be4091 100644 --- a/packages/Liquid-Tests.package/LQFreeTextQuestionBuilderTests.class/instance/testMaxNumberOfCharactersCorrectInput.st +++ b/packages/Liquid-Tests.package/LQFreeTextQuestionBuilderTests.class/instance/testMaxNumberOfCharactersCorrectInput.st @@ -2,4 +2,4 @@ testing testMaxNumberOfCharactersCorrectInput self questionBuilder maxNumberOfCharacters: '3'. - self assert: questionBuilder maxNumberOfCharacters equals: '3'. \ No newline at end of file + self assert: questionBuilder maxNumberOfCharacters equals: '3' \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQFreeTextQuestionBuilderTests.class/instance/testMaxNumberOfChoicesToHighInput.st b/packages/Liquid-Tests.package/LQFreeTextQuestionBuilderTests.class/instance/testMaxNumberOfChoicesToHighInput.st index 550aa6ba..9ec6dbcb 100644 --- a/packages/Liquid-Tests.package/LQFreeTextQuestionBuilderTests.class/instance/testMaxNumberOfChoicesToHighInput.st +++ b/packages/Liquid-Tests.package/LQFreeTextQuestionBuilderTests.class/instance/testMaxNumberOfChoicesToHighInput.st @@ -2,6 +2,5 @@ testing testMaxNumberOfChoicesToHighInput | maxNumber | - maxNumber:= self questionBuilder determineMaxNumberOfCharactersFrom: '1000000' asText. - self assert: maxNumber equals: 10000 - \ No newline at end of file + maxNumber := self questionBuilder determineMaxNumberOfCharactersFrom: '1000000' asText. + self assert: maxNumber equals: 10000 \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQFreeTextQuestionBuilderTests.class/instance/testTitelChange.st b/packages/Liquid-Tests.package/LQFreeTextQuestionBuilderTests.class/instance/testTitelChange.st index d0aea9cc..25594faa 100644 --- a/packages/Liquid-Tests.package/LQFreeTextQuestionBuilderTests.class/instance/testTitelChange.st +++ b/packages/Liquid-Tests.package/LQFreeTextQuestionBuilderTests.class/instance/testTitelChange.st @@ -5,6 +5,4 @@ testTitelChange self assert: self questionBuilder title equals: 'Hallo'. - self assert: self questionBuilder question title equals: 'Hallo'. - - \ No newline at end of file + self assert: self questionBuilder question title equals: 'Hallo' \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQFreeTextQuestionBuilderTests.class/instance/testToolbuilderMethodsReturnSpecs.st b/packages/Liquid-Tests.package/LQFreeTextQuestionBuilderTests.class/instance/testToolbuilderMethodsReturnSpecs.st index 70105091..6d66e321 100644 --- a/packages/Liquid-Tests.package/LQFreeTextQuestionBuilderTests.class/instance/testToolbuilderMethodsReturnSpecs.st +++ b/packages/Liquid-Tests.package/LQFreeTextQuestionBuilderTests.class/instance/testToolbuilderMethodsReturnSpecs.st @@ -3,5 +3,4 @@ testToolbuilderMethodsReturnSpecs self assert: ((self questionBuilder buildTitleInputWith: self builder) isMemberOf: PluggableTextSpec). self assert: ((self questionBuilder buildMaxNumberOfCharactersLabelWith: self builder) isMemberOf: PluggableTextSpec). - self assert: ((self questionBuilder buildMaxNumberOfCharactersInputWith: self builder) isMemberOf: PluggableTextSpec) - \ No newline at end of file + self assert: ((self questionBuilder buildMaxNumberOfCharactersInputWith: self builder) isMemberOf: PluggableTextSpec) \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQFreeTextQuestionBuilderTests.class/methodProperties.json b/packages/Liquid-Tests.package/LQFreeTextQuestionBuilderTests.class/methodProperties.json index af90bafc..57e3aad2 100644 --- a/packages/Liquid-Tests.package/LQFreeTextQuestionBuilderTests.class/methodProperties.json +++ b/packages/Liquid-Tests.package/LQFreeTextQuestionBuilderTests.class/methodProperties.json @@ -7,12 +7,12 @@ "createText" : "leli 7/11/2024 13:21", "questionBuilder" : "JT 8/2/2022 17:57", "questionBuilder:" : "bwe 6/26/2022 15:02", - "setUp" : "leli 7/11/2024 13:21", - "testBuildWithReturnsPannelMorph" : "bn 6/25/2022 21:00", - "testDetermineMaxNumberOfCharacters" : "leli 7/11/2024 13:57", - "testLabelCreation" : "leli 7/11/2024 13:37", - "testMaxNumberOfCharactersBadInput" : "leli 7/11/2024 14:13", - "testMaxNumberOfCharactersCorrectInput" : "leli 7/11/2024 14:02", - "testMaxNumberOfChoicesToHighInput" : "leli 7/11/2024 14:15", - "testTitelChange" : "bn 6/25/2022 21:19", - "testToolbuilderMethodsReturnSpecs" : "leli 7/11/2024 14:11" } } + "setUp" : "FLST 7/12/2024 15:55", + "testBuildWithReturnsPannelMorph" : "FLST 7/12/2024 15:55", + "testDetermineMaxNumberOfCharacters" : "FLST 7/12/2024 15:55", + "testLabelCreation" : "FLST 7/12/2024 15:55", + "testMaxNumberOfCharactersBadInput" : "FLST 7/12/2024 15:55", + "testMaxNumberOfCharactersCorrectInput" : "FLST 7/12/2024 15:55", + "testMaxNumberOfChoicesToHighInput" : "FLST 7/12/2024 15:55", + "testTitelChange" : "FLST 7/12/2024 15:55", + "testToolbuilderMethodsReturnSpecs" : "FLST 7/12/2024 15:55" } } diff --git a/packages/Liquid-Tests.package/LQFreeTextQuestionTests.class/instance/testType.st b/packages/Liquid-Tests.package/LQFreeTextQuestionTests.class/instance/testType.st index 5be1b5b8..3663e572 100644 --- a/packages/Liquid-Tests.package/LQFreeTextQuestionTests.class/instance/testType.st +++ b/packages/Liquid-Tests.package/LQFreeTextQuestionTests.class/instance/testType.st @@ -1,5 +1,4 @@ testing testType - - self assert: self question isFreeTextQuestion. - \ No newline at end of file + + self assert: self question isFreeTextQuestion \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQFreeTextQuestionTests.class/instance/testmaxCharacters.st b/packages/Liquid-Tests.package/LQFreeTextQuestionTests.class/instance/testmaxCharacters.st index 607c3e33..69210a37 100644 --- a/packages/Liquid-Tests.package/LQFreeTextQuestionTests.class/instance/testmaxCharacters.st +++ b/packages/Liquid-Tests.package/LQFreeTextQuestionTests.class/instance/testmaxCharacters.st @@ -1,6 +1,6 @@ testing testmaxCharacters - + | numberOfCharacters | numberOfCharacters := 1234. self question maxNumberOfCharacters: numberOfCharacters. diff --git a/packages/Liquid-Tests.package/LQFreeTextQuestionTests.class/methodProperties.json b/packages/Liquid-Tests.package/LQFreeTextQuestionTests.class/methodProperties.json index 1ca35ac5..cec0fe56 100644 --- a/packages/Liquid-Tests.package/LQFreeTextQuestionTests.class/methodProperties.json +++ b/packages/Liquid-Tests.package/LQFreeTextQuestionTests.class/methodProperties.json @@ -8,5 +8,5 @@ "testAsStringNoTitle" : "bn 6/25/2022 20:47", "testAsStringWithTitle" : "bn 6/25/2022 20:48", "testBuildEmptyChoicesAnswer" : "leli 7/11/2024 14:22", - "testType" : "leli 7/11/2024 14:22", - "testmaxCharacters" : "leli 7/11/2024 14:24" } } + "testType" : "FLST 7/12/2024 15:55", + "testmaxCharacters" : "FLST 7/12/2024 15:55" } } diff --git a/packages/Liquid-Tests.package/LQGroupExclusionMarkerTests.class/instance/createChoiceList.st b/packages/Liquid-Tests.package/LQGroupExclusionMarkerTests.class/instance/createChoiceList.st index 8b09efab..46ae7b19 100644 --- a/packages/Liquid-Tests.package/LQGroupExclusionMarkerTests.class/instance/createChoiceList.st +++ b/packages/Liquid-Tests.package/LQGroupExclusionMarkerTests.class/instance/createChoiceList.st @@ -1,6 +1,7 @@ helper methods createChoiceList - ^ {LQChoice newFrom: 'choice1[group1, group2]'. - LQChoice newFrom: 'choice2[group3, group4]'. - LQChoice newFrom: 'choice3[group1, group4]'} \ No newline at end of file + ^ { + LQChoice newFrom: 'choice1[group1, group2]'. + LQChoice newFrom: 'choice2[group3, group4]'. + LQChoice newFrom: 'choice3[group1, group4]'} \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQGroupExclusionMarkerTests.class/instance/excludedGroup.st b/packages/Liquid-Tests.package/LQGroupExclusionMarkerTests.class/instance/excludedGroup.st index fe360969..87c11431 100644 --- a/packages/Liquid-Tests.package/LQGroupExclusionMarkerTests.class/instance/excludedGroup.st +++ b/packages/Liquid-Tests.package/LQGroupExclusionMarkerTests.class/instance/excludedGroup.st @@ -1,4 +1,4 @@ accessing excludedGroup - ^'group4' \ No newline at end of file + ^ 'group4' \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQGroupExclusionMarkerTests.class/instance/exclusionMarker..st b/packages/Liquid-Tests.package/LQGroupExclusionMarkerTests.class/instance/exclusionMarker..st index 5d254640..b7eb8d68 100644 --- a/packages/Liquid-Tests.package/LQGroupExclusionMarkerTests.class/instance/exclusionMarker..st +++ b/packages/Liquid-Tests.package/LQGroupExclusionMarkerTests.class/instance/exclusionMarker..st @@ -1,4 +1,4 @@ accessing exclusionMarker: anExclusionMarker - exclusionMarker := anExclusionMarker \ No newline at end of file + exclusionMarker := anExclusionMarker \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQGroupExclusionMarkerTests.class/instance/exclusionMarker.st b/packages/Liquid-Tests.package/LQGroupExclusionMarkerTests.class/instance/exclusionMarker.st index eadba92e..82eb748e 100644 --- a/packages/Liquid-Tests.package/LQGroupExclusionMarkerTests.class/instance/exclusionMarker.st +++ b/packages/Liquid-Tests.package/LQGroupExclusionMarkerTests.class/instance/exclusionMarker.st @@ -1,4 +1,4 @@ accessing exclusionMarker - ^ exclusionMarker \ No newline at end of file + ^ exclusionMarker \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQGroupExclusionMarkerTests.class/instance/setUp.st b/packages/Liquid-Tests.package/LQGroupExclusionMarkerTests.class/instance/setUp.st index 2c7c89e1..7c688662 100644 --- a/packages/Liquid-Tests.package/LQGroupExclusionMarkerTests.class/instance/setUp.st +++ b/packages/Liquid-Tests.package/LQGroupExclusionMarkerTests.class/instance/setUp.st @@ -2,5 +2,4 @@ running setUp super setUp. - self exclusionMarker: - (LQGroupExclusionMarker newFrom: self createChoiceList and: self excludedGroup) \ No newline at end of file + self exclusionMarker: (LQGroupExclusionMarker newFrom: self createChoiceList and: self excludedGroup) \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQGroupExclusionMarkerTests.class/instance/testChoiceListwithExclusionsMarked.st b/packages/Liquid-Tests.package/LQGroupExclusionMarkerTests.class/instance/testChoiceListwithExclusionsMarked.st index 7c903d97..897e37d7 100644 --- a/packages/Liquid-Tests.package/LQGroupExclusionMarkerTests.class/instance/testChoiceListwithExclusionsMarked.st +++ b/packages/Liquid-Tests.package/LQGroupExclusionMarkerTests.class/instance/testChoiceListwithExclusionsMarked.st @@ -2,9 +2,8 @@ testing testChoiceListwithExclusionsMarked | listOfExclusions | - listOfExclusions := self exclusionMarker choiceListWithExclusionsMarked. - self assert: ((listOfExclusions first) isByteString). - self assert: ((listOfExclusions second) isText). - self assert: (((listOfExclusions second) runs first) includes: (TextColor gray)). - self assert: (((listOfExclusions third) runs first) includes: (TextColor gray)) \ No newline at end of file + self assert: listOfExclusions first isByteString. + self assert: listOfExclusions second isText. + self assert: (listOfExclusions second runs first includes: TextColor gray). + self assert: (listOfExclusions third runs first includes: TextColor gray) \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQGroupExclusionMarkerTests.class/instance/testColourGray.st b/packages/Liquid-Tests.package/LQGroupExclusionMarkerTests.class/instance/testColourGray.st index a36f2ee9..08c24a61 100644 --- a/packages/Liquid-Tests.package/LQGroupExclusionMarkerTests.class/instance/testColourGray.st +++ b/packages/Liquid-Tests.package/LQGroupExclusionMarkerTests.class/instance/testColourGray.st @@ -1,9 +1,6 @@ testing testColourGray - + | string1 | - string1 := 'Lieblingseis'. - (self exclusionMarker colourGrey: string1) runs do: - [:attribute | - self assert: (attribute includes: (TextColor gray))]. \ No newline at end of file + (self exclusionMarker colourGrey: string1) runs do: [:attribute | self assert: (attribute includes: TextColor gray)] \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQGroupExclusionMarkerTests.class/instance/testExcludes.st b/packages/Liquid-Tests.package/LQGroupExclusionMarkerTests.class/instance/testExcludes.st index 327aeee6..384c86e0 100644 --- a/packages/Liquid-Tests.package/LQGroupExclusionMarkerTests.class/instance/testExcludes.st +++ b/packages/Liquid-Tests.package/LQGroupExclusionMarkerTests.class/instance/testExcludes.st @@ -1,7 +1,7 @@ testing testExcludes - "group in exclusionMarker is excluded in choice 2 and 3" - self assert: ((self exclusionMarker excludes: 1) not). + + self assert: (self exclusionMarker excludes: 1) not. self assert: (self exclusionMarker excludes: 2). self assert: (self exclusionMarker excludes: 3) \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQGroupExclusionMarkerTests.class/methodProperties.json b/packages/Liquid-Tests.package/LQGroupExclusionMarkerTests.class/methodProperties.json index 0bf0c326..af4a0961 100644 --- a/packages/Liquid-Tests.package/LQGroupExclusionMarkerTests.class/methodProperties.json +++ b/packages/Liquid-Tests.package/LQGroupExclusionMarkerTests.class/methodProperties.json @@ -2,11 +2,11 @@ "class" : { }, "instance" : { - "createChoiceList" : "JT 8/4/2022 22:02", - "excludedGroup" : "ms 8/5/2022 16:21", - "exclusionMarker" : "bn 8/2/2022 17:53", - "exclusionMarker:" : "kge 7/21/2022 16:14", - "setUp" : "ms 8/5/2022 16:20", - "testChoiceListwithExclusionsMarked" : "ms 8/5/2022 16:25", - "testColourGray" : "ms 8/5/2022 16:13", - "testExcludes" : "ms 8/5/2022 16:24" } } + "createChoiceList" : "FLST 7/12/2024 15:55", + "excludedGroup" : "FLST 7/12/2024 15:55", + "exclusionMarker" : "FLST 7/12/2024 15:55", + "exclusionMarker:" : "FLST 7/12/2024 15:55", + "setUp" : "FLST 7/12/2024 15:55", + "testChoiceListwithExclusionsMarked" : "FLST 7/12/2024 15:55", + "testColourGray" : "FLST 7/12/2024 15:55", + "testExcludes" : "FLST 7/12/2024 15:55" } } diff --git a/packages/Liquid-Tests.package/LQLintTests.class/instance/assertAll.areEqualTo..st b/packages/Liquid-Tests.package/LQLintTests.class/instance/assertAll.areEqualTo..st index 91d19210..eb0d5083 100644 --- a/packages/Liquid-Tests.package/LQLintTests.class/instance/assertAll.areEqualTo..st +++ b/packages/Liquid-Tests.package/LQLintTests.class/instance/assertAll.areEqualTo..st @@ -1,6 +1,4 @@ helper methods assertAll: aDictionary areEqualTo: anObject - aDictionary keysAndValuesDo: - [:name :result | - self assert: anObject equals: result description: 'Linter failed for ', name] \ No newline at end of file + aDictionary keysAndValuesDo: [:name :result | self assert: anObject equals: result description: 'Linter failed for ', name] \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQLintTests.class/instance/findTestObjects.st b/packages/Liquid-Tests.package/LQLintTests.class/instance/findTestObjects.st index 7d1de6af..a3bcd90d 100644 --- a/packages/Liquid-Tests.package/LQLintTests.class/instance/findTestObjects.st +++ b/packages/Liquid-Tests.package/LQLintTests.class/instance/findTestObjects.st @@ -4,7 +4,5 @@ findTestObjects ^ self objectsToTest ifNil: [ | objects blacklist | blacklist := {#WeakSmalltalkParser}. - objects := SystemNavigation default allClasses select: - [:x | - (x class category beginsWith: 'Liquid') and: (blacklist includes: x name) not]. - self objectsToTest: (objects collect: [:aObject | aObject as: SLTestObject])] \ No newline at end of file + objects := SystemNavigation default allClasses select: [:x | (x class category beginsWith: 'Liquid') and: (blacklist includes: x name) not]. + self objectsToTest: (objects collect: [:aObject | aObject as: SLTestObject])] \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQLintTests.class/instance/lint.except..st b/packages/Liquid-Tests.package/LQLintTests.class/instance/lint.except..st index 7cf59c49..f7bec039 100644 --- a/packages/Liquid-Tests.package/LQLintTests.class/instance/lint.except..st +++ b/packages/Liquid-Tests.package/LQLintTests.class/instance/lint.except..st @@ -2,15 +2,9 @@ helper methods lint: aLinterRule except: aCollectionOfClasses | testObjects temporaryTestRunner | - - testObjects := self findTestObjects select: - [:aTestClassObject | - (aCollectionOfClasses includes: aTestClassObject testClass) not]. + testObjects := self findTestObjects select: [:aTestClassObject | (aCollectionOfClasses includes: aTestClassObject testClass) not]. temporaryTestRunner := SLTestRunner new environment: SLDefaultEnvironment new. temporaryTestRunner runOnTests: {aLinterRule} andTestObjects: testObjects. ^ Dictionary new - addAll: (testObjects collect: - [:testObject | - Association key: testObject testClass name - value: (testObject resultValueOf: aLinterRule)]); + addAll: (testObjects collect: [:testObject | Association key: testObject testClass name value: (testObject resultValueOf: aLinterRule)]); yourself \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQLintTests.class/instance/testInstanceVariableNamesSpelling.st b/packages/Liquid-Tests.package/LQLintTests.class/instance/testInstanceVariableNamesSpelling.st index 04e74fde..99501fcd 100644 --- a/packages/Liquid-Tests.package/LQLintTests.class/instance/testInstanceVariableNamesSpelling.st +++ b/packages/Liquid-Tests.package/LQLintTests.class/instance/testInstanceVariableNamesSpelling.st @@ -1,4 +1,4 @@ spelling testInstanceVariableNamesSpelling - self assertAllZero: (self lint: #smallLintInstanceVariableNamesSpelling except: {LQUser . LQAnswerSet}) \ No newline at end of file + self assertAllZero: (self lint: #smallLintInstanceVariableNamesSpelling except: {LQUser. LQAnswerSet}) \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQLintTests.class/instance/testLongMethodsWithoutEmptyLines.st b/packages/Liquid-Tests.package/LQLintTests.class/instance/testLongMethodsWithoutEmptyLines.st index 7dc59a04..8fe165c3 100644 --- a/packages/Liquid-Tests.package/LQLintTests.class/instance/testLongMethodsWithoutEmptyLines.st +++ b/packages/Liquid-Tests.package/LQLintTests.class/instance/testLongMethodsWithoutEmptyLines.st @@ -1,4 +1,6 @@ coding styles testLongMethodsWithoutEmptyLines - self assertAllZero: (self lint: #longMethod: except: (LQTestCase allSubclasses add: LQTestCase; yourself)) \ No newline at end of file + self assertAllZero: (self lint: #longMethod: except: (LQTestCase allSubclasses + add: LQTestCase; + yourself)) \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQLintTests.class/instance/testNoDataClass.st b/packages/Liquid-Tests.package/LQLintTests.class/instance/testNoDataClass.st index 433e24a8..2d1135bd 100644 --- a/packages/Liquid-Tests.package/LQLintTests.class/instance/testNoDataClass.st +++ b/packages/Liquid-Tests.package/LQLintTests.class/instance/testNoDataClass.st @@ -1,4 +1,4 @@ disharmonies testNoDataClass - self assertAllFalse: (self lint: #dataClass: except: {LQUser . LQChoice . LQTestCase}) + self assertAllFalse: (self lint: #dataClass: except: {LQUser. LQChoice. LQTestCase}) \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQLintTests.class/instance/testNoExcessiveNumberOfMethods.st b/packages/Liquid-Tests.package/LQLintTests.class/instance/testNoExcessiveNumberOfMethods.st index 091f88cc..620a05a5 100644 --- a/packages/Liquid-Tests.package/LQLintTests.class/instance/testNoExcessiveNumberOfMethods.st +++ b/packages/Liquid-Tests.package/LQLintTests.class/instance/testNoExcessiveNumberOfMethods.st @@ -1,4 +1,6 @@ misc testNoExcessiveNumberOfMethods - self - assertAllZero: (self lint: #smallLintExcessiveMethods except: {self class. LQParticipantMenuTests. LQAuthenticationTests. LQPollDraftBuilder. LQHostMenu. }) \ No newline at end of file + + self assertAllZero: (self + lint: #smallLintExcessiveMethods + except: {self class. LQParticipantMenuTests. LQAuthenticationTests. LQPollDraftBuilder. LQHostMenu}) \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQLintTests.class/instance/testNoMessagesSentButNotImplemented.st b/packages/Liquid-Tests.package/LQLintTests.class/instance/testNoMessagesSentButNotImplemented.st index 3695afb4..0870174d 100644 --- a/packages/Liquid-Tests.package/LQLintTests.class/instance/testNoMessagesSentButNotImplemented.st +++ b/packages/Liquid-Tests.package/LQLintTests.class/instance/testNoMessagesSentButNotImplemented.st @@ -1,5 +1,5 @@ bugs testNoMessagesSentButNotImplemented - self - assertAllZero: (self lint: #smallLintSentNotImplemented except: {LQAuthenticationTests. LQVisualizationView}) - "Note: The test for LQVisualizationView does not properly work as SwaLint can't locate the StatisticsWorkbench" \ No newline at end of file + + self assertAllZero: (self lint: #smallLintSentNotImplemented except: {LQAuthenticationTests. LQVisualizationView}) + "Note: The test for LQVisualizationView does not properly work as SwaLint can't locate the StatisticsWorkbench" \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQLintTests.class/methodProperties.json b/packages/Liquid-Tests.package/LQLintTests.class/methodProperties.json index ecc23ccc..0300c389 100644 --- a/packages/Liquid-Tests.package/LQLintTests.class/methodProperties.json +++ b/packages/Liquid-Tests.package/LQLintTests.class/methodProperties.json @@ -2,20 +2,20 @@ "class" : { }, "instance" : { - "assertAll:areEqualTo:" : "JT 8/4/2022 22:06", + "assertAll:areEqualTo:" : "FLST 7/12/2024 15:55", "assertAllFalse:" : "psi 7/1/2021 20:45", "assertAllZero:" : "psi 7/1/2021 20:45", - "findTestObjects" : "JT 8/5/2022 18:29", + "findTestObjects" : "FLST 7/12/2024 15:55", "lint:" : "CG 7/30/2021 19:06", - "lint:except:" : "JT 8/4/2022 22:08", + "lint:except:" : "FLST 7/12/2024 15:55", "objectsToTest" : "bn 8/2/2022 17:35", "objectsToTest:" : "bn 8/2/2022 17:35", "testClassCategoriesSpelling" : "psi 5/26/2021 20:47", "testClassVariableCapitalization" : "psi 5/26/2021 20:47", "testClassVariableCapitzlization" : "psi 5/26/2021 20:47", "testClassVariableNamesSpelling" : "psi 5/26/2021 20:48", - "testInstanceVariableNamesSpelling" : "kge 7/21/2022 14:56", - "testLongMethodsWithoutEmptyLines" : "bn 8/2/2022 18:22", + "testInstanceVariableNamesSpelling" : "FLST 7/12/2024 15:55", + "testLongMethodsWithoutEmptyLines" : "FLST 7/12/2024 15:55", "testNoAsOrderedCollectionAsArrayNotNeeded" : "psi 5/26/2021 20:50", "testNoAssignmentInsideUnwindBlocksShouldBeOutside" : "psi 5/26/2021 20:50", "testNoAssignmentWithoutEffect" : "CG 7/30/2021 19:06", @@ -24,14 +24,14 @@ "testNoBrainClass" : "psi 5/26/2021 20:52", "testNoComplexMethods" : "psi 5/26/2021 20:52", "testNoContainsAReturnInAnEnsureBlock" : "psi 5/26/2021 20:52", - "testNoDataClass" : "kge 6/25/2022 21:21", + "testNoDataClass" : "FLST 7/12/2024 15:55", "testNoDebuggingCodeLeftInMethods" : "psi 5/26/2021 20:52", "testNoDoesntUseTheResultOfAYourselfMessage" : "psi 5/26/2021 20:52", "testNoEmptyExceptionHandler" : "psi 5/26/2021 20:53", "testNoEqualNotUsed" : "psi 5/26/2021 20:53", "testNoExcessiveInheritanceDepth" : "psi 5/26/2021 20:53", "testNoExcessiveNumberOfArguments" : "psi 5/26/2021 20:53", - "testNoExcessiveNumberOfMethods" : "FLST 6/24/2024 09:50", + "testNoExcessiveNumberOfMethods" : "FLST 7/12/2024 15:55", "testNoExcessiveNumberOfVariables" : "psi 5/26/2021 20:54", "testNoFloatEqualityComparison" : "psi 6/8/2021 10:26", "testNoGodClass" : "FLST 7/11/2024 17:01", @@ -39,7 +39,7 @@ "testNoInstanceVariableNotReadAndWritten" : "psi 5/26/2021 20:55", "testNoLiteralArrayContainsComma" : "psi 5/26/2021 20:55", "testNoLiteralArrayContainsSuspiciousTrueFalseOrNil" : "psi 5/26/2021 20:56", - "testNoMessagesSentButNotImplemented" : "FLST 6/7/2024 14:32", + "testNoMessagesSentButNotImplemented" : "FLST 7/12/2024 15:55", "testNoMethodEquivalentDefinedInSuperclass" : "CG 7/30/2021 19:06", "testNoMethodHasNoTimestamp" : "psi 5/26/2021 20:56", "testNoMethodJustSendsSuperMessage" : "CG 7/30/2021 19:06", diff --git a/packages/Liquid-Tests.package/LQLoadTests.class/instance/createPoll.st b/packages/Liquid-Tests.package/LQLoadTests.class/instance/createPoll.st index 1bfeb757..fe3f35ee 100644 --- a/packages/Liquid-Tests.package/LQLoadTests.class/instance/createPoll.st +++ b/packages/Liquid-Tests.package/LQLoadTests.class/instance/createPoll.st @@ -2,7 +2,6 @@ helper methods createPoll | poll pollId | - poll := LQPoll newWithPollDraft: LQPollDraft new. poll questionList add: (LQMultiChoiceQuestion new title: 'Where is the master ball'; @@ -10,7 +9,6 @@ createPoll yourself). pollId := 'gotta-catch-rayquaza'. - (LQRemotePollRepoServer pollRepo includesKey: pollId) - ifTrue: [LQRemotePollRepoServer pollRepo removeKey: pollId]. + (LQRemotePollRepoServer pollRepo includesKey: pollId) ifTrue: [LQRemotePollRepoServer pollRepo removeKey: pollId]. poll startWithId: pollId ifTaken: [self fail: 'Poll ID already taken']. ^ poll \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQLoadTests.class/instance/let.ParticipantsInteractWithPollId..st b/packages/Liquid-Tests.package/LQLoadTests.class/instance/let.ParticipantsInteractWithPollId..st index 6b9ea74d..74a57745 100644 --- a/packages/Liquid-Tests.package/LQLoadTests.class/instance/let.ParticipantsInteractWithPollId..st +++ b/packages/Liquid-Tests.package/LQLoadTests.class/instance/let.ParticipantsInteractWithPollId..st @@ -1,17 +1,18 @@ helper methods let: target ParticipantsInteractWithPollId: aString - target timesRepeat: [ - | p q answerSet | - p := LQPollRepo default - at: aString - ifAbsent: [self fail: 'Poll not found at given ID']. - q := p questionList first. - answerSet := (LQAnswerSet new - addAnswer: (LQChoicesAnswer new - questionId: q id; - choicesRanking: {LQChoice newFrom: 'in Whiscashs throat'}; - yourself); - pollId: p id; - yourself). - (LQDelayMessageDecorator on: LQPollRepo default) addAnswerSet: answerSet ToPoll: p id]. \ No newline at end of file + target timesRepeat: [ | p q answerSet | + p := LQPollRepo default + at: aString + ifAbsent: [self fail: 'Poll not found at given ID']. + q := p questionList first. + answerSet := LQAnswerSet new + addAnswer: (LQChoicesAnswer new + questionId: q id; + choicesRanking: {LQChoice newFrom: 'in Whiscashs throat'}; + yourself); + pollId: p id; + yourself. + (LQDelayMessageDecorator on: LQPollRepo default) + addAnswerSet: answerSet + ToPoll: p id] \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQLoadTests.class/instance/testTwoHundredUsers.st b/packages/Liquid-Tests.package/LQLoadTests.class/instance/testTwoHundredUsers.st index 76a1a1a4..507e0cbf 100644 --- a/packages/Liquid-Tests.package/LQLoadTests.class/instance/testTwoHundredUsers.st +++ b/packages/Liquid-Tests.package/LQLoadTests.class/instance/testTwoHundredUsers.st @@ -3,11 +3,11 @@ testTwoHundredUsers | poll hostPoll target | - poll := self createPoll. target := 200. self let: target ParticipantsInteractWithPollId: poll id. - poll closeWithPassword: (LQPasswordManager default findPasswordFor: poll id - ifAbsent: [self fail: 'expected pw to be present']). + poll closeWithPassword: (LQPasswordManager default + findPasswordFor: poll id + ifAbsent: [self fail: 'expected pw to be present']). hostPoll := LQRemotePollRepoServer pollRepo at: poll id. self assert: target equals: hostPoll answerSets size \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQLoadTests.class/methodProperties.json b/packages/Liquid-Tests.package/LQLoadTests.class/methodProperties.json index 3d44290f..54ed7aa2 100644 --- a/packages/Liquid-Tests.package/LQLoadTests.class/methodProperties.json +++ b/packages/Liquid-Tests.package/LQLoadTests.class/methodProperties.json @@ -2,6 +2,6 @@ "class" : { }, "instance" : { - "createPoll" : "JT 8/5/2022 18:31", - "let:ParticipantsInteractWithPollId:" : "Anton Eichstädt 7/8/2024 16:46", - "testTwoHundredUsers" : "JT 8/5/2022 18:33" } } + "createPoll" : "FLST 7/12/2024 15:55", + "let:ParticipantsInteractWithPollId:" : "FLST 7/12/2024 15:55", + "testTwoHundredUsers" : "FLST 7/12/2024 15:55" } } diff --git a/packages/Liquid-Tests.package/LQLocalObjectRepoTests.class/instance/testErrorHandling.st b/packages/Liquid-Tests.package/LQLocalObjectRepoTests.class/instance/testErrorHandling.st index 9287a44c..9fe5dc2b 100644 --- a/packages/Liquid-Tests.package/LQLocalObjectRepoTests.class/instance/testErrorHandling.st +++ b/packages/Liquid-Tests.package/LQLocalObjectRepoTests.class/instance/testErrorHandling.st @@ -2,9 +2,9 @@ testing testErrorHandling | dummy | - - self client at: 'thrower' - ifPresent: [self fail: 'Poll already exists'] - ifAbsentPut: LQThrowerOfErrors new. + self client + at: 'thrower' + ifPresent: [self fail: 'Poll already exists'] + ifAbsentPut: LQThrowerOfErrors new. dummy := self client at: 'thrower' ifAbsent: [self fail: 'Poll not found at given ID']. self should: [dummy escalate] raise: self errorType \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQLocalObjectRepoTests.class/instance/testIfPresentIfAbsent.st b/packages/Liquid-Tests.package/LQLocalObjectRepoTests.class/instance/testIfPresentIfAbsent.st index b3b2ac17..30df0155 100644 --- a/packages/Liquid-Tests.package/LQLocalObjectRepoTests.class/instance/testIfPresentIfAbsent.st +++ b/packages/Liquid-Tests.package/LQLocalObjectRepoTests.class/instance/testIfPresentIfAbsent.st @@ -2,13 +2,14 @@ testing testIfPresentIfAbsent | presentCheck | - presentCheck := false. - self client at: 'newPoll' - ifPresent: [self fail: 'Poll ID already taken'] - ifAbsentPut: 'This is good'. + self client + at: 'newPoll' + ifPresent: [self fail: 'Poll ID already taken'] + ifAbsentPut: 'This is good'. self client at: 'newPoll' ifAbsent: [self fail: 'Poll not found at given ID']. - self client at: 'newPoll' - ifPresent: [presentCheck := true] - ifAbsentPut: 'This shouldn''t be happening, but we can''t self fail here'. + self client + at: 'newPoll' + ifPresent: [presentCheck := true] + ifAbsentPut: 'This shouldn''t be happening, but we can''t self fail here'. self assert: presentCheck equals: true \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQLocalObjectRepoTests.class/methodProperties.json b/packages/Liquid-Tests.package/LQLocalObjectRepoTests.class/methodProperties.json index 89ad908b..badfeae5 100644 --- a/packages/Liquid-Tests.package/LQLocalObjectRepoTests.class/methodProperties.json +++ b/packages/Liquid-Tests.package/LQLocalObjectRepoTests.class/methodProperties.json @@ -6,5 +6,5 @@ "client:" : "CG 7/30/2021 19:06", "errorType" : "CG 7/30/2021 19:06", "setUp" : "ape 6/22/2022 21:43", - "testErrorHandling" : "JT 8/5/2022 18:34", - "testIfPresentIfAbsent" : "JT 8/5/2022 18:34" } } + "testErrorHandling" : "FLST 7/12/2024 15:55", + "testIfPresentIfAbsent" : "FLST 7/12/2024 15:55" } } diff --git a/packages/Liquid-Tests.package/LQLogoTests.class/instance/instance..st b/packages/Liquid-Tests.package/LQLogoTests.class/instance/instance..st index 2a762520..dab2d86f 100644 --- a/packages/Liquid-Tests.package/LQLogoTests.class/instance/instance..st +++ b/packages/Liquid-Tests.package/LQLogoTests.class/instance/instance..st @@ -1,3 +1,4 @@ accessing instance: aLQLogo + instance := aLQLogo \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQLogoTests.class/instance/instance.st b/packages/Liquid-Tests.package/LQLogoTests.class/instance/instance.st index 1a2de1c8..09ff636b 100644 --- a/packages/Liquid-Tests.package/LQLogoTests.class/instance/instance.st +++ b/packages/Liquid-Tests.package/LQLogoTests.class/instance/instance.st @@ -1,3 +1,4 @@ accessing instance + ^ instance \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQLogoTests.class/instance/setUp.st b/packages/Liquid-Tests.package/LQLogoTests.class/instance/setUp.st index 9e4f549a..ac64b20e 100644 --- a/packages/Liquid-Tests.package/LQLogoTests.class/instance/setUp.st +++ b/packages/Liquid-Tests.package/LQLogoTests.class/instance/setUp.st @@ -1,5 +1,6 @@ running setUp + | instanceProto | super setUp. instanceProto := LQLogo new. diff --git a/packages/Liquid-Tests.package/LQLogoTests.class/instance/testAddDefaultLogo.st b/packages/Liquid-Tests.package/LQLogoTests.class/instance/testAddDefaultLogo.st index 16c403b4..cf06c61d 100644 --- a/packages/Liquid-Tests.package/LQLogoTests.class/instance/testAddDefaultLogo.st +++ b/packages/Liquid-Tests.package/LQLogoTests.class/instance/testAddDefaultLogo.st @@ -1,5 +1,6 @@ testing testAddDefaultLogo + self instance addDefaultLogo. self assert: self instance submorphs isEmptyOrNil not. self assert: self instance submorphs first class equals: Morph. diff --git a/packages/Liquid-Tests.package/LQLogoTests.class/instance/testBaseMorph.st b/packages/Liquid-Tests.package/LQLogoTests.class/instance/testBaseMorph.st index b0fe7719..13c1ae3e 100644 --- a/packages/Liquid-Tests.package/LQLogoTests.class/instance/testBaseMorph.st +++ b/packages/Liquid-Tests.package/LQLogoTests.class/instance/testBaseMorph.st @@ -1,5 +1,6 @@ testing testBaseMorph + | baseMorph | baseMorph := self instance baseMorph. self assert: baseMorph notNil. diff --git a/packages/Liquid-Tests.package/LQLogoTests.class/instance/testCreateLogoMorphWithValidImage.st b/packages/Liquid-Tests.package/LQLogoTests.class/instance/testCreateLogoMorphWithValidImage.st index 180528ba..4d746859 100644 --- a/packages/Liquid-Tests.package/LQLogoTests.class/instance/testCreateLogoMorphWithValidImage.st +++ b/packages/Liquid-Tests.package/LQLogoTests.class/instance/testCreateLogoMorphWithValidImage.st @@ -1,5 +1,6 @@ testing testCreateLogoMorphWithValidImage + | image logoMorph | image := Form squeakLogo. logoMorph := self instance createLogoMorph: image. diff --git a/packages/Liquid-Tests.package/LQLogoTests.class/instance/testCreateLogoMorphWithoutImage.st b/packages/Liquid-Tests.package/LQLogoTests.class/instance/testCreateLogoMorphWithoutImage.st index ca27c428..a40fe746 100644 --- a/packages/Liquid-Tests.package/LQLogoTests.class/instance/testCreateLogoMorphWithoutImage.st +++ b/packages/Liquid-Tests.package/LQLogoTests.class/instance/testCreateLogoMorphWithoutImage.st @@ -1,5 +1,6 @@ testing testCreateLogoMorphWithoutImage + | image logoMorph | image := nil. logoMorph := self instance createLogoMorph: image. diff --git a/packages/Liquid-Tests.package/LQLogoTests.class/instance/testLoadDefaultLogo.st b/packages/Liquid-Tests.package/LQLogoTests.class/instance/testLoadDefaultLogo.st index 6f111b44..f3547934 100644 --- a/packages/Liquid-Tests.package/LQLogoTests.class/instance/testLoadDefaultLogo.st +++ b/packages/Liquid-Tests.package/LQLogoTests.class/instance/testLoadDefaultLogo.st @@ -1,5 +1,6 @@ testing testLoadDefaultLogo + | logo | logo := self instance loadDefaultLogo. self assert: logo notNil. diff --git a/packages/Liquid-Tests.package/LQLogoTests.class/instance/testLoadLogoWithInvalidName.st b/packages/Liquid-Tests.package/LQLogoTests.class/instance/testLoadLogoWithInvalidName.st index 23a6cf26..71484391 100644 --- a/packages/Liquid-Tests.package/LQLogoTests.class/instance/testLoadLogoWithInvalidName.st +++ b/packages/Liquid-Tests.package/LQLogoTests.class/instance/testLoadLogoWithInvalidName.st @@ -1,5 +1,6 @@ testing testLoadLogoWithInvalidName + | logo | - self should: [logo := self instance loadLogo: 'INVALID'] raise: FileDoesNotExist. + self should: [logo := self instance loadLogo: 'INVALID'] raise: FileDoesNotExist "self assert: logo isNil" \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQLogoTests.class/instance/testLoadLogoWithValidName.st b/packages/Liquid-Tests.package/LQLogoTests.class/instance/testLoadLogoWithValidName.st index 52725fd4..87c5dcc6 100644 --- a/packages/Liquid-Tests.package/LQLogoTests.class/instance/testLoadLogoWithValidName.st +++ b/packages/Liquid-Tests.package/LQLogoTests.class/instance/testLoadLogoWithValidName.st @@ -1,5 +1,6 @@ testing testLoadLogoWithValidName + | logo | logo := self instance loadLogo: 'liquid_logo.png'. self assert: logo notNil. diff --git a/packages/Liquid-Tests.package/LQLogoTests.class/instance/testMinimumLogoSize.st b/packages/Liquid-Tests.package/LQLogoTests.class/instance/testMinimumLogoSize.st index 8bb6c9a5..34f6184f 100644 --- a/packages/Liquid-Tests.package/LQLogoTests.class/instance/testMinimumLogoSize.st +++ b/packages/Liquid-Tests.package/LQLogoTests.class/instance/testMinimumLogoSize.st @@ -1,6 +1,7 @@ testing testMinimumLogoSize + | minimumLogoSize | minimumLogoSize := self instance minimumLogoSize. self assert: minimumLogoSize notNil. - self assert: minimumLogoSize class equals: Point. + self assert: minimumLogoSize class equals: Point \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQLogoTests.class/instance/testSetDefaultLogoMorph.st b/packages/Liquid-Tests.package/LQLogoTests.class/instance/testSetDefaultLogoMorph.st index a4e2b705..71e5ca69 100644 --- a/packages/Liquid-Tests.package/LQLogoTests.class/instance/testSetDefaultLogoMorph.st +++ b/packages/Liquid-Tests.package/LQLogoTests.class/instance/testSetDefaultLogoMorph.st @@ -1,5 +1,6 @@ testing testSetDefaultLogoMorph + self instance setDefaultLogoMorph. self assert: self instance logoMorph notNil. self assert: self instance logoMorph class equals: Morph \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQLogoTests.class/methodProperties.json b/packages/Liquid-Tests.package/LQLogoTests.class/methodProperties.json index 57269bec..affd11ec 100644 --- a/packages/Liquid-Tests.package/LQLogoTests.class/methodProperties.json +++ b/packages/Liquid-Tests.package/LQLogoTests.class/methodProperties.json @@ -2,15 +2,15 @@ "class" : { }, "instance" : { - "instance" : "FLST 7/7/2024 10:41", - "instance:" : "FLST 7/7/2024 10:41", - "setUp" : "FLST 7/7/2024 10:54", - "testAddDefaultLogo" : "FLST 7/7/2024 11:07", - "testBaseMorph" : "FLST 7/7/2024 11:01", - "testCreateLogoMorphWithValidImage" : "FLST 7/7/2024 10:42", - "testCreateLogoMorphWithoutImage" : "FLST 7/7/2024 10:42", - "testLoadDefaultLogo" : "FLST 7/7/2024 10:50", - "testLoadLogoWithInvalidName" : "FLST 7/7/2024 11:27", - "testLoadLogoWithValidName" : "FLST 7/7/2024 10:48", - "testMinimumLogoSize" : "FLST 7/7/2024 10:59", - "testSetDefaultLogoMorph" : "FLST 7/7/2024 10:57" } } + "instance" : "FLST 7/12/2024 15:55", + "instance:" : "FLST 7/12/2024 15:55", + "setUp" : "FLST 7/12/2024 15:55", + "testAddDefaultLogo" : "FLST 7/12/2024 15:55", + "testBaseMorph" : "FLST 7/12/2024 15:55", + "testCreateLogoMorphWithValidImage" : "FLST 7/12/2024 15:55", + "testCreateLogoMorphWithoutImage" : "FLST 7/12/2024 15:55", + "testLoadDefaultLogo" : "FLST 7/12/2024 15:55", + "testLoadLogoWithInvalidName" : "FLST 7/12/2024 15:55", + "testLoadLogoWithValidName" : "FLST 7/12/2024 15:55", + "testMinimumLogoSize" : "FLST 7/12/2024 15:55", + "testSetDefaultLogoMorph" : "FLST 7/12/2024 15:55" } } diff --git a/packages/Liquid-Tests.package/LQMailTests.class/instance/createPoll.st b/packages/Liquid-Tests.package/LQMailTests.class/instance/createPoll.st index 31af5f09..92dfb983 100644 --- a/packages/Liquid-Tests.package/LQMailTests.class/instance/createPoll.st +++ b/packages/Liquid-Tests.package/LQMailTests.class/instance/createPoll.st @@ -1,8 +1,7 @@ helper methods createPoll - + | pollId | - self poll: (LQPoll newWithPollDraft: (LQPollDraft new title: 'TestTitle')). self poll pollDraft questionList add: (LQMultiChoiceQuestion new title: 'Where is the master ball'; @@ -11,6 +10,5 @@ createPoll self poll userSetID: self userSet1 id. pollId := 'gotta-catch-rayquaza'. - (LQRemotePollRepoServer pollRepo includesKey: pollId) - ifTrue: [LQRemotePollRepoServer pollRepo removeKey: pollId]. + (LQRemotePollRepoServer pollRepo includesKey: pollId) ifTrue: [LQRemotePollRepoServer pollRepo removeKey: pollId]. self poll startWithId: pollId ifTaken: [self fail: 'Poll ID already taken'] \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQMailTests.class/instance/createUser1.st b/packages/Liquid-Tests.package/LQMailTests.class/instance/createUser1.st index 851da961..54a5807a 100644 --- a/packages/Liquid-Tests.package/LQMailTests.class/instance/createUser1.st +++ b/packages/Liquid-Tests.package/LQMailTests.class/instance/createUser1.st @@ -1,4 +1,9 @@ helper methods createUser1 - ^ LQUser new firstname: 'erika'; surname: 'musterfrau'; mail: 'erika.mustermann@example.com'; group: 'group1'; yourself \ No newline at end of file + ^ LQUser new + firstname: 'erika'; + surname: 'musterfrau'; + mail: 'erika.mustermann@example.com'; + group: 'group1'; + yourself \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQMailTests.class/instance/createUser2.st b/packages/Liquid-Tests.package/LQMailTests.class/instance/createUser2.st index 1975f15a..f08625f9 100644 --- a/packages/Liquid-Tests.package/LQMailTests.class/instance/createUser2.st +++ b/packages/Liquid-Tests.package/LQMailTests.class/instance/createUser2.st @@ -1,4 +1,9 @@ helper methods createUser2 - ^ LQUser new firstname: 'Lucia'; surname: ''; mail: 'luci@example.com'; group: '3'; yourself \ No newline at end of file + ^ LQUser new + firstname: 'Lucia'; + surname: ''; + mail: 'luci@example.com'; + group: '3'; + yourself \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQMailTests.class/instance/createUserSet1.st b/packages/Liquid-Tests.package/LQMailTests.class/instance/createUserSet1.st index 50a8d066..bb2a2812 100644 --- a/packages/Liquid-Tests.package/LQMailTests.class/instance/createUserSet1.st +++ b/packages/Liquid-Tests.package/LQMailTests.class/instance/createUserSet1.st @@ -1,6 +1,6 @@ helper methods createUserSet1 - + self userSet1: (LQUserSet new addUser: self user1; addUser: self user2; diff --git a/packages/Liquid-Tests.package/LQMailTests.class/instance/mailDialog.st b/packages/Liquid-Tests.package/LQMailTests.class/instance/mailDialog.st index 0192e40e..bbc0e475 100644 --- a/packages/Liquid-Tests.package/LQMailTests.class/instance/mailDialog.st +++ b/packages/Liquid-Tests.package/LQMailTests.class/instance/mailDialog.st @@ -1,4 +1,4 @@ accessing mailDialog - ^ mailDialog ifNil: [^mailDialog := LQMailDialog new] \ No newline at end of file + ^ mailDialog ifNil: [^ mailDialog := LQMailDialog new] \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQMailTests.class/instance/setUp.st b/packages/Liquid-Tests.package/LQMailTests.class/instance/setUp.st index 3bed68f3..69648f73 100644 --- a/packages/Liquid-Tests.package/LQMailTests.class/instance/setUp.st +++ b/packages/Liquid-Tests.package/LQMailTests.class/instance/setUp.st @@ -7,5 +7,7 @@ setUp user2: self createUser2; createUserSet1; createPoll; - mailDialog: (LQMailDialog new poll: self poll; yourself). + mailDialog: (LQMailDialog new + poll: self poll; + yourself). ToolBuilder open: self mailDialog \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQMailTests.class/instance/testReplacementList.st b/packages/Liquid-Tests.package/LQMailTests.class/instance/testReplacementList.st index 2b474adc..844a65cc 100644 --- a/packages/Liquid-Tests.package/LQMailTests.class/instance/testReplacementList.st +++ b/packages/Liquid-Tests.package/LQMailTests.class/instance/testReplacementList.st @@ -3,4 +3,4 @@ testReplacementList self mailDialog rawMailText: ''. self mailDialog replacementSelectedIndex: 1. - self assert: self mailDialog rawMailText equals: (self mailDialog replacementList first) \ No newline at end of file + self assert: self mailDialog rawMailText equals: self mailDialog replacementList first \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQMailTests.class/instance/testReplacementListView.st b/packages/Liquid-Tests.package/LQMailTests.class/instance/testReplacementListView.st index 3129d7db..63e0f3e3 100644 --- a/packages/Liquid-Tests.package/LQMailTests.class/instance/testReplacementListView.st +++ b/packages/Liquid-Tests.package/LQMailTests.class/instance/testReplacementListView.st @@ -1,7 +1,7 @@ testing testReplacementListView - self assert: self mailDialog replacementList equals: (OrderedCollection new - addAll: LQUser new mailMapping keys; - addAll: {'{{poll-id}}' . '{{poll-title}}'}; - yourself) \ No newline at end of file + self assert: self mailDialog replacementList equals: (OrderedCollection new + addAll: LQUser new mailMapping keys; + addAll: {'{{poll-id}}'. '{{poll-title}}'}; + yourself) \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQMailTests.class/instance/testUserSetData.st b/packages/Liquid-Tests.package/LQMailTests.class/instance/testUserSetData.st index b4729b6f..2e6f5017 100644 --- a/packages/Liquid-Tests.package/LQMailTests.class/instance/testUserSetData.st +++ b/packages/Liquid-Tests.package/LQMailTests.class/instance/testUserSetData.st @@ -1,4 +1,6 @@ testing testUserSetData - self assert: self mailDialog userSetData equals: (self userSet1 userEntries collect: [:user | user mail]) \ No newline at end of file + self + assert: self mailDialog userSetData + equals: (self userSet1 userEntries collect: [:user | user mail]) \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQMailTests.class/methodProperties.json b/packages/Liquid-Tests.package/LQMailTests.class/methodProperties.json index c9f6a731..2ce32315 100644 --- a/packages/Liquid-Tests.package/LQMailTests.class/methodProperties.json +++ b/packages/Liquid-Tests.package/LQMailTests.class/methodProperties.json @@ -2,15 +2,15 @@ "class" : { }, "instance" : { - "createPoll" : "bn 8/2/2022 17:55", - "createUser1" : "ape 7/16/2022 14:22", - "createUser2" : "ape 7/16/2022 14:22", - "createUserSet1" : "bn 8/2/2022 17:55", - "mailDialog" : "kge 7/21/2022 22:22", + "createPoll" : "FLST 7/12/2024 15:55", + "createUser1" : "FLST 7/12/2024 15:55", + "createUser2" : "FLST 7/12/2024 15:55", + "createUserSet1" : "FLST 7/12/2024 15:55", + "mailDialog" : "FLST 7/12/2024 15:55", "mailDialog:" : "kge 7/21/2022 22:22", "poll" : "kge 7/21/2022 22:22", "poll:" : "kge 7/21/2022 22:23", - "setUp" : "JT 8/5/2022 18:39", + "setUp" : "FLST 7/12/2024 15:55", "tearDown" : "kge 8/4/2022 19:00", "testDefaultMailSender" : "kge 7/21/2022 22:23", "testDefaultMailText" : "kge 7/21/2022 22:24", @@ -20,10 +20,10 @@ "testMailText" : "kge 7/21/2022 22:24", "testPollDataReplacement" : "kge 8/4/2022 19:00", "testProgressBar" : "kge 8/4/2022 18:58", - "testReplacementList" : "kge 8/1/2022 20:01", - "testReplacementListView" : "kge 7/21/2022 22:27", + "testReplacementList" : "FLST 7/12/2024 15:55", + "testReplacementListView" : "FLST 7/12/2024 15:55", "testUserDataReplacement" : "kge 8/4/2022 18:58", - "testUserSetData" : "ape 7/16/2022 11:27", + "testUserSetData" : "FLST 7/12/2024 15:55", "testUserSetLabel" : "kge 7/21/2022 22:24", "user1" : "kge 7/21/2022 22:21", "user1:" : "kge 7/21/2022 22:21", diff --git a/packages/Liquid-Tests.package/LQMultiChoiceQuestionBuilderTests.class/instance/setUp.st b/packages/Liquid-Tests.package/LQMultiChoiceQuestionBuilderTests.class/instance/setUp.st index 313a78b3..37f64a5f 100644 --- a/packages/Liquid-Tests.package/LQMultiChoiceQuestionBuilderTests.class/instance/setUp.st +++ b/packages/Liquid-Tests.package/LQMultiChoiceQuestionBuilderTests.class/instance/setUp.st @@ -4,5 +4,4 @@ setUp super setUp. self builder: ToolBuilder default. self questionBuilder: LQMultiChoiceQuestionBuilder new. - self questionBuilder question: LQMultiChoiceQuestion new - \ No newline at end of file + self questionBuilder question: LQMultiChoiceQuestion new \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQMultiChoiceQuestionBuilderTests.class/instance/testBuildWithReturnsPannelMorph.st b/packages/Liquid-Tests.package/LQMultiChoiceQuestionBuilderTests.class/instance/testBuildWithReturnsPannelMorph.st index 859bedca..53bea35b 100644 --- a/packages/Liquid-Tests.package/LQMultiChoiceQuestionBuilderTests.class/instance/testBuildWithReturnsPannelMorph.st +++ b/packages/Liquid-Tests.package/LQMultiChoiceQuestionBuilderTests.class/instance/testBuildWithReturnsPannelMorph.st @@ -1,6 +1,4 @@ testing testBuildWithReturnsPannelMorph - self assert: ((self questionBuilder buildWith: self builder) isMemberOf: PluggablePanelMorph) - - \ No newline at end of file + self assert: ((self questionBuilder buildWith: self builder) isMemberOf: PluggablePanelMorph) \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQMultiChoiceQuestionBuilderTests.class/instance/testDuplicateMarkingInChoiceList.st b/packages/Liquid-Tests.package/LQMultiChoiceQuestionBuilderTests.class/instance/testDuplicateMarkingInChoiceList.st index 26823e7b..7593c707 100644 --- a/packages/Liquid-Tests.package/LQMultiChoiceQuestionBuilderTests.class/instance/testDuplicateMarkingInChoiceList.st +++ b/packages/Liquid-Tests.package/LQMultiChoiceQuestionBuilderTests.class/instance/testDuplicateMarkingInChoiceList.st @@ -2,11 +2,11 @@ testing testDuplicateMarkingInChoiceList | temporaryQuestionBuilder text color1 color2 | - text := self createText. temporaryQuestionBuilder := LQMultiChoiceQuestionBuilder new. - temporaryQuestionBuilder question: LQMultiChoiceQuestion new; + temporaryQuestionBuilder + question: LQMultiChoiceQuestion new; choiceList: text. color1 := temporaryQuestionBuilder choiceDescriptions attributesAt: 20. diff --git a/packages/Liquid-Tests.package/LQMultiChoiceQuestionBuilderTests.class/instance/testLabelCreation.st b/packages/Liquid-Tests.package/LQMultiChoiceQuestionBuilderTests.class/instance/testLabelCreation.st index 6de6a37f..406a63fb 100644 --- a/packages/Liquid-Tests.package/LQMultiChoiceQuestionBuilderTests.class/instance/testLabelCreation.st +++ b/packages/Liquid-Tests.package/LQMultiChoiceQuestionBuilderTests.class/instance/testLabelCreation.st @@ -2,7 +2,5 @@ testing testLabelCreation | labelText | - labelText := 'Maximum number of choices participants can vote:'. - self assert: self questionBuilder createMaxNumberOfChoicesLabel equals: labelText - \ No newline at end of file + self assert: self questionBuilder createMaxNumberOfChoicesLabel equals: labelText \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQMultiChoiceQuestionBuilderTests.class/instance/testMaxNumberOfChoicesBadInput.st b/packages/Liquid-Tests.package/LQMultiChoiceQuestionBuilderTests.class/instance/testMaxNumberOfChoicesBadInput.st index 3469cbdf..d45d89a5 100644 --- a/packages/Liquid-Tests.package/LQMultiChoiceQuestionBuilderTests.class/instance/testMaxNumberOfChoicesBadInput.st +++ b/packages/Liquid-Tests.package/LQMultiChoiceQuestionBuilderTests.class/instance/testMaxNumberOfChoicesBadInput.st @@ -2,9 +2,7 @@ testing testMaxNumberOfChoicesBadInput | testChoiceList | - - testChoiceList := {LQChoice newFrom: 'a'.LQChoice newFrom: 'a'.LQChoice newFrom: 'a'.LQChoice newFrom: 'a'}. + testChoiceList := {LQChoice newFrom: 'a'. LQChoice newFrom: 'a'. LQChoice newFrom: 'a'. LQChoice newFrom: 'a'}. self questionBuilder question choiceList: testChoiceList. self questionBuilder maxNumberOfChoices: 'üiebtr' asText. - self assert: self questionBuilder maxNumberOfChoices equals: '1' - \ No newline at end of file + self assert: self questionBuilder maxNumberOfChoices equals: '1' \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQMultiChoiceQuestionBuilderTests.class/instance/testMaxNumberOfChoicesCorrectInput.st b/packages/Liquid-Tests.package/LQMultiChoiceQuestionBuilderTests.class/instance/testMaxNumberOfChoicesCorrectInput.st index f71457a7..73c58214 100644 --- a/packages/Liquid-Tests.package/LQMultiChoiceQuestionBuilderTests.class/instance/testMaxNumberOfChoicesCorrectInput.st +++ b/packages/Liquid-Tests.package/LQMultiChoiceQuestionBuilderTests.class/instance/testMaxNumberOfChoicesCorrectInput.st @@ -2,9 +2,7 @@ testing testMaxNumberOfChoicesCorrectInput | testChoiceList | - - testChoiceList := {LQChoice newFrom: 'a'.LQChoice newFrom: 'a'.LQChoice newFrom: 'a'.LQChoice newFrom: 'a'}. + testChoiceList := {LQChoice newFrom: 'a'. LQChoice newFrom: 'a'. LQChoice newFrom: 'a'. LQChoice newFrom: 'a'}. self questionBuilder question choiceList: testChoiceList. self questionBuilder maxNumberOfChoices: '3' asText. - self assert: self questionBuilder maxNumberOfChoices equals: '3' - \ No newline at end of file + self assert: self questionBuilder maxNumberOfChoices equals: '3' \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQMultiChoiceQuestionBuilderTests.class/instance/testMaxNumberOfChoicesToHighInput.st b/packages/Liquid-Tests.package/LQMultiChoiceQuestionBuilderTests.class/instance/testMaxNumberOfChoicesToHighInput.st index 27fb33dc..2d336305 100644 --- a/packages/Liquid-Tests.package/LQMultiChoiceQuestionBuilderTests.class/instance/testMaxNumberOfChoicesToHighInput.st +++ b/packages/Liquid-Tests.package/LQMultiChoiceQuestionBuilderTests.class/instance/testMaxNumberOfChoicesToHighInput.st @@ -2,9 +2,7 @@ testing testMaxNumberOfChoicesToHighInput | testChoiceList | - - testChoiceList := {LQChoice newFrom: 'a'.LQChoice newFrom: 'a'.LQChoice newFrom: 'a'.LQChoice newFrom: 'a'}. + testChoiceList := {LQChoice newFrom: 'a'. LQChoice newFrom: 'a'. LQChoice newFrom: 'a'. LQChoice newFrom: 'a'}. self questionBuilder question choiceList: testChoiceList. self questionBuilder maxNumberOfChoices: '5' asText. - self assert: self questionBuilder maxNumberOfChoices equals: '4' - \ No newline at end of file + self assert: self questionBuilder maxNumberOfChoices equals: '4' \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQMultiChoiceQuestionBuilderTests.class/instance/testTitelChange.st b/packages/Liquid-Tests.package/LQMultiChoiceQuestionBuilderTests.class/instance/testTitelChange.st index d0aea9cc..25594faa 100644 --- a/packages/Liquid-Tests.package/LQMultiChoiceQuestionBuilderTests.class/instance/testTitelChange.st +++ b/packages/Liquid-Tests.package/LQMultiChoiceQuestionBuilderTests.class/instance/testTitelChange.st @@ -5,6 +5,4 @@ testTitelChange self assert: self questionBuilder title equals: 'Hallo'. - self assert: self questionBuilder question title equals: 'Hallo'. - - \ No newline at end of file + self assert: self questionBuilder question title equals: 'Hallo' \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQMultiChoiceQuestionBuilderTests.class/instance/testToolbuilderMethodsReturnSpecs.st b/packages/Liquid-Tests.package/LQMultiChoiceQuestionBuilderTests.class/instance/testToolbuilderMethodsReturnSpecs.st index 1f69864f..68cb5da5 100644 --- a/packages/Liquid-Tests.package/LQMultiChoiceQuestionBuilderTests.class/instance/testToolbuilderMethodsReturnSpecs.st +++ b/packages/Liquid-Tests.package/LQMultiChoiceQuestionBuilderTests.class/instance/testToolbuilderMethodsReturnSpecs.st @@ -4,5 +4,4 @@ testToolbuilderMethodsReturnSpecs self assert: ((self questionBuilder buildTitleInputWith: self builder) isMemberOf: PluggableTextSpec). self assert: ((self questionBuilder buildMaxNumberOfChoicesLabelWith: self builder) isMemberOf: PluggableTextSpec). self assert: ((self questionBuilder buildMaxNumberOfChoicesInputWith: self builder) isMemberOf: PluggableTextSpec). - self assert: ((self questionBuilder buildChoicesInputWith: self builder) isMemberOf: PluggableTextSpec). - \ No newline at end of file + self assert: ((self questionBuilder buildChoicesInputWith: self builder) isMemberOf: PluggableTextSpec) \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQMultiChoiceQuestionBuilderTests.class/methodProperties.json b/packages/Liquid-Tests.package/LQMultiChoiceQuestionBuilderTests.class/methodProperties.json index c41cf92a..e2ab7faa 100644 --- a/packages/Liquid-Tests.package/LQMultiChoiceQuestionBuilderTests.class/methodProperties.json +++ b/packages/Liquid-Tests.package/LQMultiChoiceQuestionBuilderTests.class/methodProperties.json @@ -7,12 +7,12 @@ "createText" : "JT 8/2/2022 17:56", "questionBuilder" : "JT 8/2/2022 17:57", "questionBuilder:" : "bwe 6/26/2022 15:02", - "setUp" : "JT 8/2/2022 17:57", - "testBuildWithReturnsPannelMorph" : "bn 6/25/2022 21:00", - "testDuplicateMarkingInChoiceList" : "Anton Eichstädt 5/24/2024 15:36", - "testLabelCreation" : "leli 7/11/2024 13:39", - "testMaxNumberOfChoicesBadInput" : "JT 8/4/2022 21:47", - "testMaxNumberOfChoicesCorrectInput" : "JT 8/4/2022 21:48", - "testMaxNumberOfChoicesToHighInput" : "JT 8/4/2022 21:50", - "testTitelChange" : "bn 6/25/2022 21:19", - "testToolbuilderMethodsReturnSpecs" : "leli 7/11/2024 14:11" } } + "setUp" : "FLST 7/12/2024 15:55", + "testBuildWithReturnsPannelMorph" : "FLST 7/12/2024 15:55", + "testDuplicateMarkingInChoiceList" : "FLST 7/12/2024 15:55", + "testLabelCreation" : "FLST 7/12/2024 15:55", + "testMaxNumberOfChoicesBadInput" : "FLST 7/12/2024 15:55", + "testMaxNumberOfChoicesCorrectInput" : "FLST 7/12/2024 15:55", + "testMaxNumberOfChoicesToHighInput" : "FLST 7/12/2024 15:55", + "testTitelChange" : "FLST 7/12/2024 15:55", + "testToolbuilderMethodsReturnSpecs" : "FLST 7/12/2024 15:55" } } diff --git a/packages/Liquid-Tests.package/LQMultiChoiceQuestionTests.class/instance/testAddChoice.st b/packages/Liquid-Tests.package/LQMultiChoiceQuestionTests.class/instance/testAddChoice.st index 058f7b0f..7d3b10ca 100644 --- a/packages/Liquid-Tests.package/LQMultiChoiceQuestionTests.class/instance/testAddChoice.st +++ b/packages/Liquid-Tests.package/LQMultiChoiceQuestionTests.class/instance/testAddChoice.st @@ -2,6 +2,6 @@ testing testAddChoice self assert: [self question choiceDescriptions isEmpty]. - self question addChoice: (LQChoice newFrom: 'An interesting choice'). - self assert: (self question choiceDescriptions size) equals: 1. + self question addChoice: (LQChoice newFrom: 'An interesting choice'). + self assert: self question choiceDescriptions size equals: 1. self assert: self question choiceDescriptions first equals: 'An interesting choice' \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQMultiChoiceQuestionTests.class/instance/testmaxChoices.st b/packages/Liquid-Tests.package/LQMultiChoiceQuestionTests.class/instance/testmaxChoices.st index 3b419888..2acd7fc7 100644 --- a/packages/Liquid-Tests.package/LQMultiChoiceQuestionTests.class/instance/testmaxChoices.st +++ b/packages/Liquid-Tests.package/LQMultiChoiceQuestionTests.class/instance/testmaxChoices.st @@ -1,6 +1,6 @@ testing testmaxChoices - + | numberOfChoices | numberOfChoices := 1234. self question maxNumberOfChoices: numberOfChoices. diff --git a/packages/Liquid-Tests.package/LQMultiChoiceQuestionTests.class/methodProperties.json b/packages/Liquid-Tests.package/LQMultiChoiceQuestionTests.class/methodProperties.json index ae0e4288..4e71081a 100644 --- a/packages/Liquid-Tests.package/LQMultiChoiceQuestionTests.class/methodProperties.json +++ b/packages/Liquid-Tests.package/LQMultiChoiceQuestionTests.class/methodProperties.json @@ -5,9 +5,9 @@ "question" : "NM 7/9/2021 16:49", "question:" : "bn 8/2/2022 17:52", "setUp" : "leli 6/18/2024 11:57", - "testAddChoice" : "kge 8/4/2022 18:41", + "testAddChoice" : "FLST 7/12/2024 15:55", "testAsStringNoTitle" : "bn 6/25/2022 20:47", "testAsStringWithTitle" : "bn 6/25/2022 20:48", "testBuildEmptyChoicesAnswer" : "Anton Eichstädt 5/24/2024 15:38", "testCorrectQuestionType" : "Anton Eichstädt 7/8/2024 16:54", - "testmaxChoices" : "ms 8/4/2022 23:10" } } + "testmaxChoices" : "FLST 7/12/2024 15:55" } } diff --git a/packages/Liquid-Tests.package/LQParticipantMenuTests.class/instance/createParticipantMenuwith.and..st b/packages/Liquid-Tests.package/LQParticipantMenuTests.class/instance/createParticipantMenuwith.and..st index 379db1df..22b4e590 100644 --- a/packages/Liquid-Tests.package/LQParticipantMenuTests.class/instance/createParticipantMenuwith.and..st +++ b/packages/Liquid-Tests.package/LQParticipantMenuTests.class/instance/createParticipantMenuwith.and..st @@ -4,4 +4,4 @@ createParticipantMenuwith: anAnswerSet and: aPoll ^ LQParticipantMenu new poll: aPoll; answerSet: anAnswerSet; - yourself + yourself \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQParticipantMenuTests.class/instance/expectedQuestionCounterText.st b/packages/Liquid-Tests.package/LQParticipantMenuTests.class/instance/expectedQuestionCounterText.st index b2d4e062..53bd1f71 100644 --- a/packages/Liquid-Tests.package/LQParticipantMenuTests.class/instance/expectedQuestionCounterText.st +++ b/packages/Liquid-Tests.package/LQParticipantMenuTests.class/instance/expectedQuestionCounterText.st @@ -1,5 +1,4 @@ helper methods expectedQuestionCounterText - ^ 'Question: ', self participantMenu currentQuestionIndex, - ' / ', self participantMenu poll pollDraft questionList size \ No newline at end of file + ^ 'Question: ', self participantMenu currentQuestionIndex, ' / ', self participantMenu poll pollDraft questionList size \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQParticipantMenuTests.class/instance/setUp.st b/packages/Liquid-Tests.package/LQParticipantMenuTests.class/instance/setUp.st index 003ae13a..ef42bae4 100644 --- a/packages/Liquid-Tests.package/LQParticipantMenuTests.class/instance/setUp.st +++ b/packages/Liquid-Tests.package/LQParticipantMenuTests.class/instance/setUp.st @@ -1,6 +1,6 @@ running setUp - + super setUp. self participantMenu: (LQParticipantMenu new diff --git a/packages/Liquid-Tests.package/LQParticipantMenuTests.class/instance/tearDown.st b/packages/Liquid-Tests.package/LQParticipantMenuTests.class/instance/tearDown.st index e089fc55..95431108 100644 --- a/packages/Liquid-Tests.package/LQParticipantMenuTests.class/instance/tearDown.st +++ b/packages/Liquid-Tests.package/LQParticipantMenuTests.class/instance/tearDown.st @@ -1,6 +1,8 @@ running tearDown - - LQParticipantMenu answeredPollIds remove: self participantMenu poll id ifAbsent: []. + + LQParticipantMenu answeredPollIds + remove: self participantMenu poll id + ifAbsent: []. self participantMenu destroy. super tearDown \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQParticipantMenuTests.class/instance/testNextButtonCurrentQuestionIndex.st b/packages/Liquid-Tests.package/LQParticipantMenuTests.class/instance/testNextButtonCurrentQuestionIndex.st index 5bb59135..a69241d4 100644 --- a/packages/Liquid-Tests.package/LQParticipantMenuTests.class/instance/testNextButtonCurrentQuestionIndex.st +++ b/packages/Liquid-Tests.package/LQParticipantMenuTests.class/instance/testNextButtonCurrentQuestionIndex.st @@ -2,7 +2,6 @@ testing testNextButtonCurrentQuestionIndex | indexBefore indexAfter | - indexBefore := 1. indexAfter := 2. self participantMenu currentQuestionIndex: indexBefore. diff --git a/packages/Liquid-Tests.package/LQParticipantMenuTests.class/instance/testNextButtonLabel.st b/packages/Liquid-Tests.package/LQParticipantMenuTests.class/instance/testNextButtonLabel.st index b7b9c476..f3d37ef0 100644 --- a/packages/Liquid-Tests.package/LQParticipantMenuTests.class/instance/testNextButtonLabel.st +++ b/packages/Liquid-Tests.package/LQParticipantMenuTests.class/instance/testNextButtonLabel.st @@ -1,10 +1,9 @@ testing testNextButtonLabel - - self participantMenu currentQuestionIndex: 1. - 1 to: (self participantMenu poll pollDraft questionList size) - 1 do: - [:i | - self assert: self participantMenu nextButtonLabel equals: 'Next'. - self participantMenu nextQuestion.]. + self participantMenu currentQuestionIndex: 1. + 1 to: self participantMenu poll pollDraft questionList size - 1 do: [:i | + self assert: self participantMenu nextButtonLabel equals: 'Next'. + self participantMenu nextQuestion]. + self assert: self participantMenu nextButtonLabel equals: 'Send Answers' \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQParticipantMenuTests.class/instance/testNextButtonLabelOnLastQuestion.st b/packages/Liquid-Tests.package/LQParticipantMenuTests.class/instance/testNextButtonLabelOnLastQuestion.st index b43c969c..de4ba2a4 100644 --- a/packages/Liquid-Tests.package/LQParticipantMenuTests.class/instance/testNextButtonLabelOnLastQuestion.st +++ b/packages/Liquid-Tests.package/LQParticipantMenuTests.class/instance/testNextButtonLabelOnLastQuestion.st @@ -1,5 +1,5 @@ testing testNextButtonLabelOnLastQuestion - + self participantMenu currentQuestionIndex: self participantMenu poll pollDraft questionList size. self assert: self participantMenu nextButtonLabel equals: 'Send Answers' \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQParticipantMenuTests.class/instance/testNextButtonSendAnswerOnLastIndex.st b/packages/Liquid-Tests.package/LQParticipantMenuTests.class/instance/testNextButtonSendAnswerOnLastIndex.st index 42027ae6..8fa03c54 100644 --- a/packages/Liquid-Tests.package/LQParticipantMenuTests.class/instance/testNextButtonSendAnswerOnLastIndex.st +++ b/packages/Liquid-Tests.package/LQParticipantMenuTests.class/instance/testNextButtonSendAnswerOnLastIndex.st @@ -2,7 +2,6 @@ testing testNextButtonSendAnswerOnLastIndex | startMenu | - self participantMenu currentQuestionIndex: self participantMenu poll pollDraft questionList size. startMenu := self participantMenu nextQuestionOrSend. self assert: (startMenu model isKindOf: LQStartMenu). diff --git a/packages/Liquid-Tests.package/LQParticipantMenuTests.class/instance/testPreviousButton.st b/packages/Liquid-Tests.package/LQParticipantMenuTests.class/instance/testPreviousButton.st index 97fc5df8..0c4a1b36 100644 --- a/packages/Liquid-Tests.package/LQParticipantMenuTests.class/instance/testPreviousButton.st +++ b/packages/Liquid-Tests.package/LQParticipantMenuTests.class/instance/testPreviousButton.st @@ -1,9 +1,8 @@ testing testPreviousButton - - self participantMenu currentQuestionIndex: (self participantMenu poll pollDraft questionList size). + + self participantMenu currentQuestionIndex: self participantMenu poll pollDraft questionList size. self assert: self participantMenu previousButtonEnabled equals: true. - self participantMenu poll pollDraft questionList do: - [:i | - self participantMenu nextQuestion. - self assert: self participantMenu previousButtonEnabled equals: true.] \ No newline at end of file + self participantMenu poll pollDraft questionList do: [:i | + self participantMenu nextQuestion. + self assert: self participantMenu previousButtonEnabled equals: true] \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQParticipantMenuTests.class/instance/testPreviousButtonCurrentQuestionIndex.st b/packages/Liquid-Tests.package/LQParticipantMenuTests.class/instance/testPreviousButtonCurrentQuestionIndex.st index d8183944..852de408 100644 --- a/packages/Liquid-Tests.package/LQParticipantMenuTests.class/instance/testPreviousButtonCurrentQuestionIndex.st +++ b/packages/Liquid-Tests.package/LQParticipantMenuTests.class/instance/testPreviousButtonCurrentQuestionIndex.st @@ -2,7 +2,6 @@ testing testPreviousButtonCurrentQuestionIndex | indexBefore indexAfter | - indexBefore := 2. indexAfter := 1. self participantMenu currentQuestionIndex: indexBefore. diff --git a/packages/Liquid-Tests.package/LQParticipantMenuTests.class/instance/testPreviousButtonDisabledOnFirstQuestion.st b/packages/Liquid-Tests.package/LQParticipantMenuTests.class/instance/testPreviousButtonDisabledOnFirstQuestion.st index 7bacf51c..07644d7e 100644 --- a/packages/Liquid-Tests.package/LQParticipantMenuTests.class/instance/testPreviousButtonDisabledOnFirstQuestion.st +++ b/packages/Liquid-Tests.package/LQParticipantMenuTests.class/instance/testPreviousButtonDisabledOnFirstQuestion.st @@ -1,5 +1,5 @@ testing testPreviousButtonDisabledOnFirstQuestion - + self participantMenu currentQuestionIndex: 1. self deny: self participantMenu previousButtonEnabled \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQParticipantMenuTests.class/instance/testPreviousButtonEnabled.st b/packages/Liquid-Tests.package/LQParticipantMenuTests.class/instance/testPreviousButtonEnabled.st index b90aa64f..48c0f90c 100644 --- a/packages/Liquid-Tests.package/LQParticipantMenuTests.class/instance/testPreviousButtonEnabled.st +++ b/packages/Liquid-Tests.package/LQParticipantMenuTests.class/instance/testPreviousButtonEnabled.st @@ -1,10 +1,9 @@ testing testPreviousButtonEnabled - + self participantMenu currentQuestionIndex: 1. self assert: self participantMenu previousButtonEnabled equals: false. - self participantMenu poll pollDraft questionList do: - [:i | - self participantMenu nextQuestion. - self assert: self participantMenu previousButtonEnabled equals: true.] \ No newline at end of file + self participantMenu poll pollDraft questionList do: [:i | + self participantMenu nextQuestion. + self assert: self participantMenu previousButtonEnabled equals: true] \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQParticipantMenuTests.class/instance/testPreviousButtonEnabledOnSecondQuestion.st b/packages/Liquid-Tests.package/LQParticipantMenuTests.class/instance/testPreviousButtonEnabledOnSecondQuestion.st index ce4bf54d..f83e79bd 100644 --- a/packages/Liquid-Tests.package/LQParticipantMenuTests.class/instance/testPreviousButtonEnabledOnSecondQuestion.st +++ b/packages/Liquid-Tests.package/LQParticipantMenuTests.class/instance/testPreviousButtonEnabledOnSecondQuestion.st @@ -1,6 +1,6 @@ testing testPreviousButtonEnabledOnSecondQuestion - + self participantMenu currentQuestionIndex: 1. self participantMenu nextQuestionOrSend. self assert: self participantMenu previousButtonEnabled \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQParticipantMenuTests.class/instance/testQuestionCounterIndex.st b/packages/Liquid-Tests.package/LQParticipantMenuTests.class/instance/testQuestionCounterIndex.st index ead3d2fb..ea844229 100644 --- a/packages/Liquid-Tests.package/LQParticipantMenuTests.class/instance/testQuestionCounterIndex.st +++ b/packages/Liquid-Tests.package/LQParticipantMenuTests.class/instance/testQuestionCounterIndex.st @@ -1,6 +1,6 @@ testing testQuestionCounterIndex - + self participantMenu currentQuestionIndex: 1. self assert: self participantMenu questionCounterText equals: self expectedQuestionCounterText. self participantMenu nextQuestionOrSend. diff --git a/packages/Liquid-Tests.package/LQParticipantMenuTests.class/instance/testSendAnswer.st b/packages/Liquid-Tests.package/LQParticipantMenuTests.class/instance/testSendAnswer.st index d8ff8435..ccd294f8 100644 --- a/packages/Liquid-Tests.package/LQParticipantMenuTests.class/instance/testSendAnswer.st +++ b/packages/Liquid-Tests.package/LQParticipantMenuTests.class/instance/testSendAnswer.st @@ -2,7 +2,6 @@ testing testSendAnswer | startMenu answerSet | - startMenu := self participantMenu sendAnswer. answerSet := (LQRemotePollRepoServer pollRepo at: self poll id) answerSets first. diff --git a/packages/Liquid-Tests.package/LQParticipantMenuTests.class/methodProperties.json b/packages/Liquid-Tests.package/LQParticipantMenuTests.class/methodProperties.json index 26cd4f37..30c97def 100644 --- a/packages/Liquid-Tests.package/LQParticipantMenuTests.class/methodProperties.json +++ b/packages/Liquid-Tests.package/LQParticipantMenuTests.class/methodProperties.json @@ -2,20 +2,20 @@ "class" : { }, "instance" : { - "createParticipantMenuwith:and:" : "bn 8/2/2022 17:58", - "expectedQuestionCounterText" : "JT 8/4/2022 22:13", + "createParticipantMenuwith:and:" : "FLST 7/12/2024 15:55", + "expectedQuestionCounterText" : "FLST 7/12/2024 15:55", "participantMenu" : "bn 8/2/2022 17:56", "participantMenu:" : "bn 8/2/2022 17:58", - "setUp" : "ms 8/5/2022 20:38", - "tearDown" : "bn 8/2/2022 18:01", - "testNextButtonCurrentQuestionIndex" : "ms 8/5/2022 16:30", - "testNextButtonLabel" : "bn 8/2/2022 18:01", - "testNextButtonLabelOnLastQuestion" : "bn 8/2/2022 18:01", - "testNextButtonSendAnswerOnLastIndex" : "bn 8/2/2022 18:01", - "testPreviousButton" : "JT 8/2/2022 19:49", - "testPreviousButtonCurrentQuestionIndex" : "ms 8/5/2022 16:30", - "testPreviousButtonDisabledOnFirstQuestion" : "bn 8/2/2022 18:01", - "testPreviousButtonEnabled" : "JT 8/2/2022 19:50", - "testPreviousButtonEnabledOnSecondQuestion" : "bn 8/2/2022 18:02", - "testQuestionCounterIndex" : "JT 8/4/2022 22:13", - "testSendAnswer" : "ms 8/5/2022 20:48" } } + "setUp" : "FLST 7/12/2024 15:55", + "tearDown" : "FLST 7/12/2024 15:55", + "testNextButtonCurrentQuestionIndex" : "FLST 7/12/2024 15:55", + "testNextButtonLabel" : "FLST 7/12/2024 15:55", + "testNextButtonLabelOnLastQuestion" : "FLST 7/12/2024 15:55", + "testNextButtonSendAnswerOnLastIndex" : "FLST 7/12/2024 15:55", + "testPreviousButton" : "FLST 7/12/2024 15:55", + "testPreviousButtonCurrentQuestionIndex" : "FLST 7/12/2024 15:55", + "testPreviousButtonDisabledOnFirstQuestion" : "FLST 7/12/2024 15:55", + "testPreviousButtonEnabled" : "FLST 7/12/2024 15:55", + "testPreviousButtonEnabledOnSecondQuestion" : "FLST 7/12/2024 15:55", + "testQuestionCounterIndex" : "FLST 7/12/2024 15:55", + "testSendAnswer" : "FLST 7/12/2024 15:55" } } diff --git a/packages/Liquid-Tests.package/LQPasswordGuardTest.class/instance/testPasswordGuard.st b/packages/Liquid-Tests.package/LQPasswordGuardTest.class/instance/testPasswordGuard.st index 18d5eae4..46924f72 100644 --- a/packages/Liquid-Tests.package/LQPasswordGuardTest.class/instance/testPasswordGuard.st +++ b/packages/Liquid-Tests.package/LQPasswordGuardTest.class/instance/testPasswordGuard.st @@ -2,7 +2,6 @@ testing testPasswordGuard | someBlock guard | - someBlock := [Number one]. guard := LQPasswordGuard newWithPassword: 'pikachu'. self assert: (guard isValid: 'pikachu'). diff --git a/packages/Liquid-Tests.package/LQPasswordGuardTest.class/methodProperties.json b/packages/Liquid-Tests.package/LQPasswordGuardTest.class/methodProperties.json index caa2d87c..a3265fd4 100644 --- a/packages/Liquid-Tests.package/LQPasswordGuardTest.class/methodProperties.json +++ b/packages/Liquid-Tests.package/LQPasswordGuardTest.class/methodProperties.json @@ -2,4 +2,4 @@ "class" : { }, "instance" : { - "testPasswordGuard" : "ms 8/5/2022 16:35" } } + "testPasswordGuard" : "FLST 7/12/2024 15:55" } } diff --git a/packages/Liquid-Tests.package/LQPollDraftBuilderTests.class/instance/testIndexSetNormally.st b/packages/Liquid-Tests.package/LQPollDraftBuilderTests.class/instance/testIndexSetNormally.st index 9582b389..34dd5fd0 100644 --- a/packages/Liquid-Tests.package/LQPollDraftBuilderTests.class/instance/testIndexSetNormally.st +++ b/packages/Liquid-Tests.package/LQPollDraftBuilderTests.class/instance/testIndexSetNormally.st @@ -2,7 +2,6 @@ testing testIndexSetNormally | index | - index := 123. self pollDraftBuilder setIndex: index. self assert: self pollDraftBuilder getIndex equals: index \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQPollDraftBuilderTests.class/instance/testIndexViaAddQuestion.st b/packages/Liquid-Tests.package/LQPollDraftBuilderTests.class/instance/testIndexViaAddQuestion.st index 9d8dd9cf..49904971 100644 --- a/packages/Liquid-Tests.package/LQPollDraftBuilderTests.class/instance/testIndexViaAddQuestion.st +++ b/packages/Liquid-Tests.package/LQPollDraftBuilderTests.class/instance/testIndexViaAddQuestion.st @@ -1,5 +1,6 @@ testing testIndexViaAddQuestion + | indexBefore indexAfter | indexBefore := 1. indexAfter := 2. diff --git a/packages/Liquid-Tests.package/LQPollDraftBuilderTests.class/instance/testQuestionBuilderList.st b/packages/Liquid-Tests.package/LQPollDraftBuilderTests.class/instance/testQuestionBuilderList.st index 247fe218..d9a491af 100644 --- a/packages/Liquid-Tests.package/LQPollDraftBuilderTests.class/instance/testQuestionBuilderList.st +++ b/packages/Liquid-Tests.package/LQPollDraftBuilderTests.class/instance/testQuestionBuilderList.st @@ -1,5 +1,6 @@ testing testQuestionBuilderList + | b1 b2 b3 expectedSize | b1 := LQMultiChoiceQuestionBuilder new. b2 := LQMultiChoiceQuestionBuilder new. @@ -8,9 +9,5 @@ testQuestionBuilderList self pollDraftBuilder questionBuilders: {b1} asOrderedCollection. self pollDraftBuilder addQuestionBuilder: b2. self assert: self pollDraftBuilder questionBuilders size equals: expectedSize. - self - assert: (self pollDraftBuilder questionBuilderAt: expectedSize) - equals: b2. - self - assert: false - equals: (self pollDraftBuilder questionBuilders includes: b3) \ No newline at end of file + self assert: (self pollDraftBuilder questionBuilderAt: expectedSize) equals: b2. + self assert: false equals: (self pollDraftBuilder questionBuilders includes: b3) \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQPollDraftBuilderTests.class/instance/testQuestionList.st b/packages/Liquid-Tests.package/LQPollDraftBuilderTests.class/instance/testQuestionList.st index a5feae46..b3c64b09 100644 --- a/packages/Liquid-Tests.package/LQPollDraftBuilderTests.class/instance/testQuestionList.st +++ b/packages/Liquid-Tests.package/LQPollDraftBuilderTests.class/instance/testQuestionList.st @@ -1,5 +1,6 @@ testing testQuestionList + | sizeBefore sizeAfter | sizeBefore := 0. sizeAfter := 2. @@ -7,6 +8,4 @@ testQuestionList self pollDraftBuilder addMultiChoiceQuestion. self pollDraftBuilder addPriorityQuestion. self assert: self pollDraftBuilder list size equals: sizeAfter. - self pollDraftBuilder list - do: [:question | self - assert: (question isKindOf: LQMultiChoiceQuestion orOf: LQPriorityQuestion)] \ No newline at end of file + self pollDraftBuilder list do: [:question | self assert: (question isKindOf: LQMultiChoiceQuestion orOf: LQPriorityQuestion)] \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQPollDraftBuilderTests.class/instance/testRandomIDisUnique.st b/packages/Liquid-Tests.package/LQPollDraftBuilderTests.class/instance/testRandomIDisUnique.st index 85c358e6..a5c65ca6 100644 --- a/packages/Liquid-Tests.package/LQPollDraftBuilderTests.class/instance/testRandomIDisUnique.st +++ b/packages/Liquid-Tests.package/LQPollDraftBuilderTests.class/instance/testRandomIDisUnique.st @@ -1,4 +1,6 @@ testing testRandomIDisUnique - self assert: false equals: (self pollDraftBuilder generateRandomID = self pollDraftBuilder generateRandomID) \ No newline at end of file + self + assert: false + equals: self pollDraftBuilder generateRandomID = self pollDraftBuilder generateRandomID \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQPollDraftBuilderTests.class/instance/testToolbuilderMethodsReturnSpecs.st b/packages/Liquid-Tests.package/LQPollDraftBuilderTests.class/instance/testToolbuilderMethodsReturnSpecs.st index c49fefe1..0054a1a1 100644 --- a/packages/Liquid-Tests.package/LQPollDraftBuilderTests.class/instance/testToolbuilderMethodsReturnSpecs.st +++ b/packages/Liquid-Tests.package/LQPollDraftBuilderTests.class/instance/testToolbuilderMethodsReturnSpecs.st @@ -1,21 +1,10 @@ testing testToolbuilderMethodsReturnSpecs - self - assert: ((self pollDraftBuilder buildRunPollButtonWith: self builder) - isMemberOf: PluggableButtonSpec). - self - assert: ((self pollDraftBuilder buildQuestionListWith: self builder) - isMemberOf: PluggableListSpec). - self - assert: ((self pollDraftBuilder buildAddMultiChoiceQuestionButtonWith: self builder) - isMemberOf: PluggableButtonSpec). - self - assert: ((self pollDraftBuilder buildAddPriorityQuestionButtonWith: self builder) - isMemberOf: PluggableButtonSpec). - self - assert: ((self pollDraftBuilder buildRemoveQuestionButtonWith: self builder) - isMemberOf: PluggableButtonSpec). - - self - assert: ((self pollDraftBuilder buildSaveDraftButtonWith: self builder) - isMemberOf: PluggableButtonSpec) \ No newline at end of file + + self assert: ((self pollDraftBuilder buildRunPollButtonWith: self builder) isMemberOf: PluggableButtonSpec). + self assert: ((self pollDraftBuilder buildQuestionListWith: self builder) isMemberOf: PluggableListSpec). + self assert: ((self pollDraftBuilder buildAddMultiChoiceQuestionButtonWith: self builder) isMemberOf: PluggableButtonSpec). + self assert: ((self pollDraftBuilder buildAddPriorityQuestionButtonWith: self builder) isMemberOf: PluggableButtonSpec). + self assert: ((self pollDraftBuilder buildRemoveQuestionButtonWith: self builder) isMemberOf: PluggableButtonSpec). + + self assert: ((self pollDraftBuilder buildSaveDraftButtonWith: self builder) isMemberOf: PluggableButtonSpec) \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQPollDraftBuilderTests.class/methodProperties.json b/packages/Liquid-Tests.package/LQPollDraftBuilderTests.class/methodProperties.json index 43bf44e2..3ae80a6c 100644 --- a/packages/Liquid-Tests.package/LQPollDraftBuilderTests.class/methodProperties.json +++ b/packages/Liquid-Tests.package/LQPollDraftBuilderTests.class/methodProperties.json @@ -8,10 +8,10 @@ "pollDraftBuilder:" : "bn 8/4/2022 19:25", "setUp" : "ape 7/23/2022 10:01", "testBuildWithReturnsWindowMorph" : "bn 6/25/2022 21:32", - "testIndexSetNormally" : "ms 8/5/2022 16:35", - "testIndexViaAddQuestion" : "Ingmar Vogel 7/3/2024 19:18", + "testIndexSetNormally" : "FLST 7/12/2024 15:55", + "testIndexViaAddQuestion" : "FLST 7/12/2024 15:55", "testPollTitle" : "ape 7/23/2022 10:03", - "testQuestionBuilderList" : "Ingmar Vogel 7/3/2024 19:12", - "testQuestionList" : "Ingmar Vogel 7/7/2024 14:32", - "testRandomIDisUnique" : "bn 6/25/2022 22:00", - "testToolbuilderMethodsReturnSpecs" : "Ingmar Vogel 7/3/2024 19:17" } } + "testQuestionBuilderList" : "FLST 7/12/2024 15:55", + "testQuestionList" : "FLST 7/12/2024 15:55", + "testRandomIDisUnique" : "FLST 7/12/2024 15:55", + "testToolbuilderMethodsReturnSpecs" : "FLST 7/12/2024 15:55" } } diff --git a/packages/Liquid-Tests.package/LQPollDraftTests.class/instance/createQuestionOne.st b/packages/Liquid-Tests.package/LQPollDraftTests.class/instance/createQuestionOne.st index 8d7de090..4f4498fb 100644 --- a/packages/Liquid-Tests.package/LQPollDraftTests.class/instance/createQuestionOne.st +++ b/packages/Liquid-Tests.package/LQPollDraftTests.class/instance/createQuestionOne.st @@ -1,7 +1,12 @@ helper methods createQuestionOne + | question | question := LQMultiChoiceQuestion new. - question title: 'Q1'; - choiceList: {LQChoice newFrom: 'Mary had a little lamb '. LQChoice newFrom: 'bidabababadap '. LQChoice newFrom: 'a b c d e f g h i j k l'} asOrderedCollection. + question + title: 'Q1'; + choiceList: { + LQChoice newFrom: 'Mary had a little lamb '. + LQChoice newFrom: 'bidabababadap '. + LQChoice newFrom: 'a b c d e f g h i j k l'} asOrderedCollection. ^ question \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQPollDraftTests.class/instance/createQuestionThree.st b/packages/Liquid-Tests.package/LQPollDraftTests.class/instance/createQuestionThree.st index b0a3210d..5f103d10 100644 --- a/packages/Liquid-Tests.package/LQPollDraftTests.class/instance/createQuestionThree.st +++ b/packages/Liquid-Tests.package/LQPollDraftTests.class/instance/createQuestionThree.st @@ -1,7 +1,12 @@ helper methods createQuestionThree -| question | + + | question | question := LQMultiChoiceQuestion new. - question title: 'Q2'; - choiceList: {LQChoice newFrom: 'Allein der Vortrag macht des Redners Glück; Ich fühl es wohl noch bin ich weit zurück. '. LQChoice newFrom: 'Selbst der Taxifahrer kennt mich'. LQChoice newFrom: ' aaa '} asOrderedCollection. + question + title: 'Q2'; + choiceList: { + LQChoice newFrom: 'Allein der Vortrag macht des Redners Glück; Ich fühl es wohl noch bin ich weit zurück. '. + LQChoice newFrom: 'Selbst der Taxifahrer kennt mich'. + LQChoice newFrom: ' aaa '} asOrderedCollection. ^ question \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQPollDraftTests.class/instance/createQuestionTwo.st b/packages/Liquid-Tests.package/LQPollDraftTests.class/instance/createQuestionTwo.st index bdc120c0..39416f66 100644 --- a/packages/Liquid-Tests.package/LQPollDraftTests.class/instance/createQuestionTwo.st +++ b/packages/Liquid-Tests.package/LQPollDraftTests.class/instance/createQuestionTwo.st @@ -1,7 +1,12 @@ helper methods createQuestionTwo -| question | + + | question | question := LQMultiChoiceQuestion new. - question title: 'Q3'; - choiceList: {LQChoice newFrom: 'Und ihre vorgeschriebne Reise Vollendet sie mit Donnergang '. LQChoice newFrom: 'wapdapdabadibadawapdap '. LQChoice newFrom: 'aaaa bbbbbbb aa aa sssss '} asOrderedCollection. + question + title: 'Q3'; + choiceList: { + LQChoice newFrom: 'Und ihre vorgeschriebne Reise Vollendet sie mit Donnergang '. + LQChoice newFrom: 'wapdapdabadibadawapdap '. + LQChoice newFrom: 'aaaa bbbbbbb aa aa sssss '} asOrderedCollection. ^ question \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQPollDraftTests.class/instance/createSolutionOne.st b/packages/Liquid-Tests.package/LQPollDraftTests.class/instance/createSolutionOne.st index 8490deca..f82a9327 100644 --- a/packages/Liquid-Tests.package/LQPollDraftTests.class/instance/createSolutionOne.st +++ b/packages/Liquid-Tests.package/LQPollDraftTests.class/instance/createSolutionOne.st @@ -1,7 +1,4 @@ helper methods createSolutionOne - ^ { - 'Mary had a little lamb' . - 'bidabababadap' . - 'a b c d e f g h i j k l' } asOrderedCollection \ No newline at end of file + ^ {'Mary had a little lamb'. 'bidabababadap'. 'a b c d e f g h i j k l'} asOrderedCollection \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQPollDraftTests.class/instance/createSolutionThree.st b/packages/Liquid-Tests.package/LQPollDraftTests.class/instance/createSolutionThree.st index 6ef5d092..35f6367e 100644 --- a/packages/Liquid-Tests.package/LQPollDraftTests.class/instance/createSolutionThree.st +++ b/packages/Liquid-Tests.package/LQPollDraftTests.class/instance/createSolutionThree.st @@ -2,6 +2,6 @@ helper methods createSolutionThree ^ { - 'Allein der Vortrag macht des Redners Glück; Ich fühl es wohl noch bin ich weit zurück.' - . 'Selbst der Taxifahrer kennt mich' - . 'aaa' } asOrderedCollection \ No newline at end of file + 'Allein der Vortrag macht des Redners Glück; Ich fühl es wohl noch bin ich weit zurück.'. + 'Selbst der Taxifahrer kennt mich'. + 'aaa'} asOrderedCollection \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQPollDraftTests.class/instance/createSolutionTwo.st b/packages/Liquid-Tests.package/LQPollDraftTests.class/instance/createSolutionTwo.st index 1bcb73cb..fbb38a9d 100644 --- a/packages/Liquid-Tests.package/LQPollDraftTests.class/instance/createSolutionTwo.st +++ b/packages/Liquid-Tests.package/LQPollDraftTests.class/instance/createSolutionTwo.st @@ -2,6 +2,6 @@ helper methods createSolutionTwo ^ { - 'Und ihre vorgeschriebne Reise Vollendet sie mit Donnergang' . - 'wapdapdabadibadawapdap' . - 'aaaa bbbbbbb aa aa sssss' } asOrderedCollection \ No newline at end of file + 'Und ihre vorgeschriebne Reise Vollendet sie mit Donnergang'. + 'wapdapdabadibadawapdap'. + 'aaaa bbbbbbb aa aa sssss'} asOrderedCollection \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQPollDraftTests.class/instance/testAddPrioQuestion.st b/packages/Liquid-Tests.package/LQPollDraftTests.class/instance/testAddPrioQuestion.st index 779c0a45..04a03ae4 100644 --- a/packages/Liquid-Tests.package/LQPollDraftTests.class/instance/testAddPrioQuestion.st +++ b/packages/Liquid-Tests.package/LQPollDraftTests.class/instance/testAddPrioQuestion.st @@ -1,5 +1,6 @@ testing testAddPrioQuestion + | question | self assert: self pollDraft questionList isEmpty. question := LQPriorityQuestion new. diff --git a/packages/Liquid-Tests.package/LQPollDraftTests.class/instance/testIsValidWithValidPollDraft.st b/packages/Liquid-Tests.package/LQPollDraftTests.class/instance/testIsValidWithValidPollDraft.st index 4ac6e687..939c36a1 100644 --- a/packages/Liquid-Tests.package/LQPollDraftTests.class/instance/testIsValidWithValidPollDraft.st +++ b/packages/Liquid-Tests.package/LQPollDraftTests.class/instance/testIsValidWithValidPollDraft.st @@ -1,4 +1,5 @@ testing testIsValidWithValidPollDraft + self pollDraft questionList: {self createQuestionOne. self createQuestionTwo. self createQuestionThree}. self assert: self pollDraft isValid \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQPollDraftTests.class/instance/testIsValidWithoutChoiceList.st b/packages/Liquid-Tests.package/LQPollDraftTests.class/instance/testIsValidWithoutChoiceList.st index 0054b3f6..b39bf0d1 100644 --- a/packages/Liquid-Tests.package/LQPollDraftTests.class/instance/testIsValidWithoutChoiceList.st +++ b/packages/Liquid-Tests.package/LQPollDraftTests.class/instance/testIsValidWithoutChoiceList.st @@ -1,5 +1,6 @@ testing testIsValidWithoutChoiceList + | invalidQuestion | invalidQuestion := self createQuestionOne choiceList: {}. self pollDraft questionList: {invalidQuestion. self createQuestionTwo. self createQuestionThree}. diff --git a/packages/Liquid-Tests.package/LQPollDraftTests.class/instance/testIsValidWithoutQuestionList.st b/packages/Liquid-Tests.package/LQPollDraftTests.class/instance/testIsValidWithoutQuestionList.st index df72eaa4..e4e6925a 100644 --- a/packages/Liquid-Tests.package/LQPollDraftTests.class/instance/testIsValidWithoutQuestionList.st +++ b/packages/Liquid-Tests.package/LQPollDraftTests.class/instance/testIsValidWithoutQuestionList.st @@ -1,4 +1,5 @@ testing testIsValidWithoutQuestionList + self assert: self pollDraft questionList isEmpty. self assert: self pollDraft isValid not \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQPollDraftTests.class/instance/testIsValidWithoutTitle.st b/packages/Liquid-Tests.package/LQPollDraftTests.class/instance/testIsValidWithoutTitle.st index c8e3401d..8e77da79 100644 --- a/packages/Liquid-Tests.package/LQPollDraftTests.class/instance/testIsValidWithoutTitle.st +++ b/packages/Liquid-Tests.package/LQPollDraftTests.class/instance/testIsValidWithoutTitle.st @@ -1,5 +1,6 @@ testing testIsValidWithoutTitle + | invalidQuestion | invalidQuestion := self createQuestionOne title: nil. self pollDraft questionList: {invalidQuestion. self createQuestionTwo. self createQuestionThree}. diff --git a/packages/Liquid-Tests.package/LQPollDraftTests.class/instance/testRemoveQuestion.st b/packages/Liquid-Tests.package/LQPollDraftTests.class/instance/testRemoveQuestion.st index aa739f1e..91d63d2c 100644 --- a/packages/Liquid-Tests.package/LQPollDraftTests.class/instance/testRemoveQuestion.st +++ b/packages/Liquid-Tests.package/LQPollDraftTests.class/instance/testRemoveQuestion.st @@ -1,8 +1,9 @@ testing testRemoveQuestion + | question1 question2 | self assert: self pollDraft questionList isEmpty. - question1 := LQMultiChoiceQuestion new. + question1 := LQMultiChoiceQuestion new. question1 title: 'An interesting first question!'. self pollDraft addQuestion: question1. question2 := LQMultiChoiceQuestion new. diff --git a/packages/Liquid-Tests.package/LQPollDraftTests.class/instance/testWhitespaceRemoving.st b/packages/Liquid-Tests.package/LQPollDraftTests.class/instance/testWhitespaceRemoving.st index c3019041..ffac33cc 100644 --- a/packages/Liquid-Tests.package/LQPollDraftTests.class/instance/testWhitespaceRemoving.st +++ b/packages/Liquid-Tests.package/LQPollDraftTests.class/instance/testWhitespaceRemoving.st @@ -1,12 +1,11 @@ testing testWhitespaceRemoving - + | q1 q2 q3 temporaryPollDraft s1 s2 s3 | - q1 := self createQuestionOne. q2 := self createQuestionTwo. q3 := self createQuestionThree. - temporaryPollDraft := LQPollDraft new questionList: {q1 . q2 . q3}. + temporaryPollDraft := LQPollDraft new questionList: {q1. q2. q3}. s1 := self createSolutionOne. s2 := self createSolutionTwo. s3 := self createSolutionThree. diff --git a/packages/Liquid-Tests.package/LQPollDraftTests.class/methodProperties.json b/packages/Liquid-Tests.package/LQPollDraftTests.class/methodProperties.json index fa0e5e8b..85118aae 100644 --- a/packages/Liquid-Tests.package/LQPollDraftTests.class/methodProperties.json +++ b/packages/Liquid-Tests.package/LQPollDraftTests.class/methodProperties.json @@ -2,21 +2,21 @@ "class" : { }, "instance" : { - "createQuestionOne" : "FLST 7/8/2024 08:31", - "createQuestionThree" : "FLST 7/8/2024 08:31", - "createQuestionTwo" : "FLST 7/8/2024 08:32", - "createSolutionOne" : "JT 8/2/2022 18:01", - "createSolutionThree" : "JT 8/2/2022 18:01", - "createSolutionTwo" : "JT 8/4/2022 22:17", + "createQuestionOne" : "FLST 7/12/2024 15:55", + "createQuestionThree" : "FLST 7/12/2024 15:55", + "createQuestionTwo" : "FLST 7/12/2024 15:55", + "createSolutionOne" : "FLST 7/12/2024 15:55", + "createSolutionThree" : "FLST 7/12/2024 15:55", + "createSolutionTwo" : "FLST 7/12/2024 15:55", "pollDraft" : "NM 7/9/2021 16:21", "pollDraft:" : "NM 7/9/2021 16:21", "setUp" : "CG 7/30/2021 19:06", - "testAddPrioQuestion" : "Ingmar Vogel 7/3/2024 19:20", + "testAddPrioQuestion" : "FLST 7/12/2024 15:55", "testAddQuestion" : "Ingmar Vogel 5/20/2024 11:07", - "testIsValidWithValidPollDraft" : "FLST 7/8/2024 08:24", - "testIsValidWithoutChoiceList" : "FLST 7/8/2024 08:35", - "testIsValidWithoutQuestionList" : "FLST 7/8/2024 08:36", - "testIsValidWithoutTitle" : "FLST 7/8/2024 08:34", + "testIsValidWithValidPollDraft" : "FLST 7/12/2024 15:55", + "testIsValidWithoutChoiceList" : "FLST 7/12/2024 15:55", + "testIsValidWithoutQuestionList" : "FLST 7/12/2024 15:55", + "testIsValidWithoutTitle" : "FLST 7/12/2024 15:55", "testPollDraftTitleCanBeSet" : "CG 7/30/2021 19:06", - "testRemoveQuestion" : "vl 5/27/2024 12:41", - "testWhitespaceRemoving" : "JT 8/5/2022 18:53" } } + "testRemoveQuestion" : "FLST 7/12/2024 15:55", + "testWhitespaceRemoving" : "FLST 7/12/2024 15:55" } } diff --git a/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/as1..st b/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/as1..st index 4febe713..4e5a0502 100644 --- a/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/as1..st +++ b/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/as1..st @@ -1,3 +1,4 @@ accessing as1: anObject + as1 := anObject \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/as1.st b/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/as1.st index 3def240c..6d27d9c3 100644 --- a/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/as1.st +++ b/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/as1.st @@ -1,3 +1,4 @@ accessing as1 + ^ as1 \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/as2..st b/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/as2..st index 327d1c6a..cbcd5ab9 100644 --- a/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/as2..st +++ b/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/as2..st @@ -1,3 +1,4 @@ accessing as2: anObject + as2 := anObject \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/as2.st b/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/as2.st index eba9a887..2feb61d2 100644 --- a/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/as2.st +++ b/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/as2.st @@ -1,3 +1,4 @@ accessing as2 + ^ as2 \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/buildAnswerSets.st b/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/buildAnswerSets.st index 79c6c47c..6628c93b 100644 --- a/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/buildAnswerSets.st +++ b/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/buildAnswerSets.st @@ -1,11 +1,13 @@ initialize-release buildAnswerSets - - self as1: (LQAnswerSet newWithAnswers: { - LQChoicesAnswer newWithQuestion: self q1 andVotes: {self q1a1 . self q1a2} . - LQChoicesAnswer newWithQuestion: self q2 andVotes: {self q1a2} - } for: self poll). - self as2: (LQAnswerSet newWithAnswers: { - LQChoicesAnswer newWithQuestion: self q1 andVotes: {self q1a1} . - LQChoicesAnswer newWithQuestion: self q2 andVotes: {self q2a1} - } for: self poll). \ No newline at end of file + + self as1: (LQAnswerSet + newWithAnswers: { + LQChoicesAnswer newWithQuestion: self q1 andVotes: {self q1a1. self q1a2}. + LQChoicesAnswer newWithQuestion: self q2 andVotes: {self q1a2}} + for: self poll). + self as2: (LQAnswerSet + newWithAnswers: { + LQChoicesAnswer newWithQuestion: self q1 andVotes: {self q1a1}. + LQChoicesAnswer newWithQuestion: self q2 andVotes: {self q2a1}} + for: self poll) \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/buildPoll.st b/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/buildPoll.st index 4fd66565..2613c1c0 100644 --- a/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/buildPoll.st +++ b/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/buildPoll.st @@ -4,4 +4,4 @@ buildPoll self poll: (LQPoll newWithPollDraft: LQPollDraft new). self poll pollDraft questionList add: self q1; - add: self q2. \ No newline at end of file + add: self q2 \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/buildQuestions.st b/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/buildQuestions.st index cfe7e76e..e0fb0b89 100644 --- a/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/buildQuestions.st +++ b/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/buildQuestions.st @@ -5,5 +5,5 @@ buildQuestions self q1a2: (LQChoice newFrom: 'Q1A2'). self q2a1: (LQChoice newFrom: 'Q2A1'). self q2a2: (LQChoice newFrom: 'Q2A2'). - self q1: (self createQuestionTitled: 'Question 1' withChoices: {self q1a1 . self q1a2}). - self q2: (self createQuestionTitled: 'Question 2' withChoices: {self q2a1 . self q2a2}). \ No newline at end of file + self q1: (self createQuestionTitled: 'Question 1' withChoices: {self q1a1. self q1a2}). + self q2: (self createQuestionTitled: 'Question 2' withChoices: {self q2a1. self q2a2}) \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/createAnswerWithQuestion.withVotes..st b/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/createAnswerWithQuestion.withVotes..st index 42d04dae..cdaf4704 100644 --- a/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/createAnswerWithQuestion.withVotes..st +++ b/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/createAnswerWithQuestion.withVotes..st @@ -2,6 +2,6 @@ helper methods createAnswerWithQuestion: aQuestion withVotes: anOrderedCollection ^ LQChoicesAnswer new - questionId: aQuestion id; - choicesRanking: anOrderedCollection; - yourself \ No newline at end of file + questionId: aQuestion id; + choicesRanking: anOrderedCollection; + yourself \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/createPoll.st b/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/createPoll.st index d4bd7976..3ca82077 100644 --- a/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/createPoll.st +++ b/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/createPoll.st @@ -2,7 +2,7 @@ helper methods createPoll | createdPoll | - createdPoll := (LQPoll newWithPollDraft: LQPollDraft new). + createdPoll := LQPoll newWithPollDraft: LQPollDraft new. createdPoll pollDraft questionList add: (LQMultiChoiceQuestion new title: 'Where is the master ball'; yourself). diff --git a/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/createQuestionTitled.withChoices..st b/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/createQuestionTitled.withChoices..st index e59e91a0..e0685c22 100644 --- a/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/createQuestionTitled.withChoices..st +++ b/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/createQuestionTitled.withChoices..st @@ -2,6 +2,6 @@ helper methods createQuestionTitled: aString withChoices: anOrderedCollection ^ LQMultiChoiceQuestion new - title: aString; - choiceList: anOrderedCollection; - yourself \ No newline at end of file + title: aString; + choiceList: anOrderedCollection; + yourself \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/createUserSet.st b/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/createUserSet.st index c6b1a6d8..454903b7 100644 --- a/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/createUserSet.st +++ b/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/createUserSet.st @@ -2,12 +2,14 @@ helper methods createUserSet ^ LQUserSet new - addUser: (LQUser new firstname: 'erika'; + addUser: (LQUser new + firstname: 'erika'; surname: 'musterfrau'; mail: 'erika.mustermann@hotmail.com'; group: 'group1'; yourself); - addUser: (LQUser new firstname: 'max'; + addUser: (LQUser new + firstname: 'max'; surname: 'mustermann'; mail: 'max.mustermann@hotmail.com'; group: 'group2'; diff --git a/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/poll..st b/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/poll..st index 5174548d..31df2787 100644 --- a/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/poll..st +++ b/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/poll..st @@ -1,3 +1,4 @@ accessing poll: aPoll + poll := aPoll \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/poll.st b/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/poll.st index b75b96c9..c0fab0b1 100644 --- a/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/poll.st +++ b/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/poll.st @@ -1,3 +1,4 @@ accessing poll + ^ poll \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/q1..st b/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/q1..st index 783d4b36..9e3a4994 100644 --- a/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/q1..st +++ b/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/q1..st @@ -1,3 +1,4 @@ accessing q1: aChoiceQuestion + q1 := aChoiceQuestion \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/q1.st b/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/q1.st index 985be26d..d57a14d2 100644 --- a/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/q1.st +++ b/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/q1.st @@ -1,3 +1,4 @@ accessing q1 + ^ q1 \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/q1a1..st b/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/q1a1..st index 30b48bcc..d0368fe6 100644 --- a/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/q1a1..st +++ b/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/q1a1..st @@ -1,3 +1,4 @@ accessing q1a1: anChoiceAnswer + q1a1 := anChoiceAnswer \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/q1a1.st b/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/q1a1.st index 76660b5b..70411675 100644 --- a/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/q1a1.st +++ b/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/q1a1.st @@ -1,3 +1,4 @@ accessing q1a1 + ^ q1a1 \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/q1a2..st b/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/q1a2..st index 23a24320..4c464219 100644 --- a/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/q1a2..st +++ b/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/q1a2..st @@ -1,3 +1,4 @@ accessing q1a2: anChoiceAnswer + q1a2 := anChoiceAnswer \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/q1a2.st b/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/q1a2.st index 9c0fa4d6..1690bc30 100644 --- a/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/q1a2.st +++ b/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/q1a2.st @@ -1,3 +1,4 @@ accessing q1a2 + ^ q1a2 \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/q2..st b/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/q2..st index 36c4a380..99cd6003 100644 --- a/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/q2..st +++ b/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/q2..st @@ -1,3 +1,4 @@ accessing q2: aChoiceQuestion + q2 := aChoiceQuestion \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/q2.st b/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/q2.st index 1c58927f..1abf5ebe 100644 --- a/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/q2.st +++ b/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/q2.st @@ -1,3 +1,4 @@ accessing q2 + ^ q2 \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/q2a1..st b/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/q2a1..st index a2b59a83..d862ed0a 100644 --- a/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/q2a1..st +++ b/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/q2a1..st @@ -1,3 +1,4 @@ accessing q2a1: anChoiceAnswer + q2a1 := anChoiceAnswer \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/q2a1.st b/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/q2a1.st index e40363f0..821726d8 100644 --- a/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/q2a1.st +++ b/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/q2a1.st @@ -1,3 +1,4 @@ accessing q2a1 + ^ q2a1 \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/q2a2..st b/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/q2a2..st index 4981090c..0c7d982e 100644 --- a/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/q2a2..st +++ b/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/q2a2..st @@ -1,3 +1,4 @@ accessing q2a2: anChoiceAnswer + q2a2 := anChoiceAnswer \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/q2a2.st b/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/q2a2.st index e4bad298..b96b856b 100644 --- a/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/q2a2.st +++ b/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/q2a2.st @@ -1,3 +1,4 @@ accessing q2a2 + ^ q2a2 \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/setUp.st b/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/setUp.st index b44eded0..2d64e768 100644 --- a/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/setUp.st +++ b/packages/Liquid-Tests.package/LQPollIntegrationTests.class/instance/setUp.st @@ -1,10 +1,10 @@ running setUp - + super setUp. self buildQuestions. self buildPoll. self buildAnswerSets. - self poll startWithId: 'IAmAPoll' ifTaken: [self fail: 'Poll ID already taken']. \ No newline at end of file + self poll startWithId: 'IAmAPoll' ifTaken: [self fail: 'Poll ID already taken'] \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQPollIntegrationTests.class/methodProperties.json b/packages/Liquid-Tests.package/LQPollIntegrationTests.class/methodProperties.json index 17fc14ec..8fe0df6f 100644 --- a/packages/Liquid-Tests.package/LQPollIntegrationTests.class/methodProperties.json +++ b/packages/Liquid-Tests.package/LQPollIntegrationTests.class/methodProperties.json @@ -2,29 +2,29 @@ "class" : { }, "instance" : { - "as1" : "ms 8/5/2022 20:32", - "as1:" : "ms 8/5/2022 20:32", - "as2" : "ms 8/5/2022 20:32", - "as2:" : "ms 8/5/2022 20:32", - "buildAnswerSets" : "Anton Eichstädt 7/8/2024 16:43", - "buildPoll" : "ms 8/5/2022 20:35", - "buildQuestions" : "ms 8/5/2022 20:36", - "createAnswerWithQuestion:withVotes:" : "Anton Eichstädt 7/8/2024 16:51", - "createPoll" : "bn 8/5/2022 20:47", - "createQuestionTitled:withChoices:" : "bwe 8/5/2022 18:55", - "createUserSet" : "bwe 8/5/2022 18:55", - "poll" : "ms 8/5/2022 20:32", - "poll:" : "ms 8/5/2022 20:33", - "q1" : "ms 8/5/2022 20:32", - "q1:" : "ms 8/5/2022 20:33", - "q1a1" : "ms 8/5/2022 20:32", - "q1a1:" : "ms 8/5/2022 20:33", - "q1a2" : "ms 8/5/2022 20:32", - "q1a2:" : "ms 8/5/2022 20:34", - "q2" : "ms 8/5/2022 20:32", - "q2:" : "ms 8/5/2022 20:33", - "q2a1" : "ms 8/5/2022 20:32", - "q2a1:" : "ms 8/5/2022 20:34", - "q2a2" : "ms 8/5/2022 20:33", - "q2a2:" : "ms 8/5/2022 20:34", - "setUp" : "ms 8/5/2022 20:37" } } + "as1" : "FLST 7/12/2024 15:55", + "as1:" : "FLST 7/12/2024 15:55", + "as2" : "FLST 7/12/2024 15:55", + "as2:" : "FLST 7/12/2024 15:55", + "buildAnswerSets" : "FLST 7/12/2024 15:55", + "buildPoll" : "FLST 7/12/2024 15:55", + "buildQuestions" : "FLST 7/12/2024 15:55", + "createAnswerWithQuestion:withVotes:" : "FLST 7/12/2024 15:55", + "createPoll" : "FLST 7/12/2024 15:55", + "createQuestionTitled:withChoices:" : "FLST 7/12/2024 15:55", + "createUserSet" : "FLST 7/12/2024 15:55", + "poll" : "FLST 7/12/2024 15:55", + "poll:" : "FLST 7/12/2024 15:55", + "q1" : "FLST 7/12/2024 15:55", + "q1:" : "FLST 7/12/2024 15:55", + "q1a1" : "FLST 7/12/2024 15:55", + "q1a1:" : "FLST 7/12/2024 15:55", + "q1a2" : "FLST 7/12/2024 15:55", + "q1a2:" : "FLST 7/12/2024 15:55", + "q2" : "FLST 7/12/2024 15:55", + "q2:" : "FLST 7/12/2024 15:55", + "q2a1" : "FLST 7/12/2024 15:55", + "q2a1:" : "FLST 7/12/2024 15:55", + "q2a2" : "FLST 7/12/2024 15:55", + "q2a2:" : "FLST 7/12/2024 15:55", + "setUp" : "FLST 7/12/2024 15:55" } } diff --git a/packages/Liquid-Tests.package/LQPollTests.class/instance/testAnswerSetPollID.st b/packages/Liquid-Tests.package/LQPollTests.class/instance/testAnswerSetPollID.st index 5b69c8e0..2313241a 100644 --- a/packages/Liquid-Tests.package/LQPollTests.class/instance/testAnswerSetPollID.st +++ b/packages/Liquid-Tests.package/LQPollTests.class/instance/testAnswerSetPollID.st @@ -2,9 +2,7 @@ testing testAnswerSetPollID | participantMenu | - participantMenu := LQParticipantMenu new importPollWithId: self poll id. - self assert: participantMenu notNil. self assert: participantMenu answerSet pollId equals: self poll id \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQPollTests.class/instance/testCSVExport.st b/packages/Liquid-Tests.package/LQPollTests.class/instance/testCSVExport.st index 807eda1b..38a98e17 100644 --- a/packages/Liquid-Tests.package/LQPollTests.class/instance/testCSVExport.st +++ b/packages/Liquid-Tests.package/LQPollTests.class/instance/testCSVExport.st @@ -1,11 +1,10 @@ testing testCSVExport + | filePath fileStream buffer match | self poll addAnswerSet: self as1. - filePath := LQPoll pathToExport , FileDirectory default pathNameDelimiter , self poll id , '.csv'. - FileDirectory default - deleteFileNamed: filePath - ifAbsent: []. + filePath := LQPoll pathToExport, FileDirectory default pathNameDelimiter, self poll id, '.csv'. + FileDirectory default deleteFileNamed: filePath ifAbsent: []. self poll exportCSV. fileStream := FileStream fileNamed: filePath. buffer := fileStream contents. diff --git a/packages/Liquid-Tests.package/LQPollTests.class/instance/testClosePoll.st b/packages/Liquid-Tests.package/LQPollTests.class/instance/testClosePoll.st index 744077f3..14be893d 100644 --- a/packages/Liquid-Tests.package/LQPollTests.class/instance/testClosePoll.st +++ b/packages/Liquid-Tests.package/LQPollTests.class/instance/testClosePoll.st @@ -1,9 +1,11 @@ testing testClosePoll - self poll addAnswerSet: self as1; - closeWithPassword: (LQPasswordManager default - findPasswordFor: self poll id - ifAbsent: [self fail: 'expected password to exist']); - addAnswerSet: self as2. + + self poll + addAnswerSet: self as1; + closeWithPassword: (LQPasswordManager default + findPasswordFor: self poll id + ifAbsent: [self fail: 'expected password to exist']); + addAnswerSet: self as2. self assert: self poll isOpen equals: false. self assert: self poll answerSets size equals: 1 \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQPollTests.class/instance/testIDsAreUUIDsToPreventCollisions.st b/packages/Liquid-Tests.package/LQPollTests.class/instance/testIDsAreUUIDsToPreventCollisions.st index 25fa9912..3695b99e 100644 --- a/packages/Liquid-Tests.package/LQPollTests.class/instance/testIDsAreUUIDsToPreventCollisions.st +++ b/packages/Liquid-Tests.package/LQPollTests.class/instance/testIDsAreUUIDsToPreventCollisions.st @@ -2,11 +2,5 @@ testing testIDsAreUUIDsToPreventCollisions | allIDs | - - allIDs := { LQAnswer new id. - LQAnswerSet new id. - LQPoll new id. - LQMultiChoiceQuestion new id. - LQUserSet new id }. - allIDs do: [:id | - self assert: (UUID fromString: id) asString equals: id] \ No newline at end of file + allIDs := {LQAnswer new id. LQAnswerSet new id. LQPoll new id. LQMultiChoiceQuestion new id. LQUserSet new id}. + allIDs do: [:id | self assert: (UUID fromString: id) asString equals: id] \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQPollTests.class/instance/testMyUserSet.st b/packages/Liquid-Tests.package/LQPollTests.class/instance/testMyUserSet.st index 83dd53a0..f785d60b 100644 --- a/packages/Liquid-Tests.package/LQPollTests.class/instance/testMyUserSet.st +++ b/packages/Liquid-Tests.package/LQPollTests.class/instance/testMyUserSet.st @@ -2,8 +2,7 @@ testing testMyUserSet | userSet | - - userSet := self createUserSet. + userSet := self createUserSet. userSet addToRepo. self poll userSetID: userSet id. diff --git a/packages/Liquid-Tests.package/LQPollTests.class/instance/testMyUserSetWithUserSetNotInRepo.st b/packages/Liquid-Tests.package/LQPollTests.class/instance/testMyUserSetWithUserSetNotInRepo.st index bffa78f2..71036511 100644 --- a/packages/Liquid-Tests.package/LQPollTests.class/instance/testMyUserSetWithUserSetNotInRepo.st +++ b/packages/Liquid-Tests.package/LQPollTests.class/instance/testMyUserSetWithUserSetNotInRepo.st @@ -2,8 +2,7 @@ testing testMyUserSetWithUserSetNotInRepo | userSet | - - userSet := self createUserSet. + userSet := self createUserSet. self poll userSetID: userSet id. self should: [self poll myUserSet id] raise: KeyNotFound \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQPollTests.class/instance/testRequiresAuthenticationFalse.st b/packages/Liquid-Tests.package/LQPollTests.class/instance/testRequiresAuthenticationFalse.st index 37609995..d2b2a0b7 100644 --- a/packages/Liquid-Tests.package/LQPollTests.class/instance/testRequiresAuthenticationFalse.st +++ b/packages/Liquid-Tests.package/LQPollTests.class/instance/testRequiresAuthenticationFalse.st @@ -2,9 +2,7 @@ testing testRequiresAuthenticationFalse | userSet | - - userSet := self createUserSet. + userSet := self createUserSet. self poll userSetID: userSet id. - self assert: self poll requiresAuthentication not - \ No newline at end of file + self assert: self poll requiresAuthentication not \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQPollTests.class/instance/testRequiresAuthenticationTrue.st b/packages/Liquid-Tests.package/LQPollTests.class/instance/testRequiresAuthenticationTrue.st index 611d4d8a..fa5effd4 100644 --- a/packages/Liquid-Tests.package/LQPollTests.class/instance/testRequiresAuthenticationTrue.st +++ b/packages/Liquid-Tests.package/LQPollTests.class/instance/testRequiresAuthenticationTrue.st @@ -2,8 +2,7 @@ testing testRequiresAuthenticationTrue | userSet | - - userSet := self createUserSet. + userSet := self createUserSet. userSet addToRepo. self poll userSetID: userSet id. diff --git a/packages/Liquid-Tests.package/LQPollTests.class/instance/testStartTime.st b/packages/Liquid-Tests.package/LQPollTests.class/instance/testStartTime.st index 16ed5b42..4abfd44d 100644 --- a/packages/Liquid-Tests.package/LQPollTests.class/instance/testStartTime.st +++ b/packages/Liquid-Tests.package/LQPollTests.class/instance/testStartTime.st @@ -2,12 +2,11 @@ testing testStartTime | testPoll timeBeforeStart timeAfterStart | - timeBeforeStart := DateAndTime now. (Delay forMilliseconds: 1) wait. testPoll := LQPoll newWithPollDraft: LQPollDraft new. testPoll startWithId: 'RandomPollId' ifTaken: [self fail: 'Poll ID already taken']. (Delay forMilliseconds: 1) wait. timeAfterStart := DateAndTime now. - + self assert: (testPoll startTime between: timeBeforeStart and: timeAfterStart) \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQPollTests.class/instance/testVisualizationDataCollection.st b/packages/Liquid-Tests.package/LQPollTests.class/instance/testVisualizationDataCollection.st index 55dc3ec3..6e0673c7 100644 --- a/packages/Liquid-Tests.package/LQPollTests.class/instance/testVisualizationDataCollection.st +++ b/packages/Liquid-Tests.package/LQPollTests.class/instance/testVisualizationDataCollection.st @@ -6,6 +6,7 @@ testVisualizationDataCollection addAnswerSet: self as2. self assert: (self poll getVotedChoicesPerChoiceFor: self q1) equals: {2. 1} asArray. - self assert: (self poll getChoiceIdentifiersFor: self q1) equals: {1 . 2} asArray. - self assert: (self poll getChoiceNamesFor: self q1) - equals: {self q1a1 description. self q1a2 description} asArray \ No newline at end of file + self assert: (self poll getChoiceIdentifiersFor: self q1) equals: {1. 2} asArray. + self + assert: (self poll getChoiceNamesFor: self q1) + equals: {self q1a1 description. self q1a2 description} asArray \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQPollTests.class/methodProperties.json b/packages/Liquid-Tests.package/LQPollTests.class/methodProperties.json index c00436fe..de9b4dff 100644 --- a/packages/Liquid-Tests.package/LQPollTests.class/methodProperties.json +++ b/packages/Liquid-Tests.package/LQPollTests.class/methodProperties.json @@ -2,14 +2,14 @@ "class" : { }, "instance" : { - "testAnswerSetPollID" : "ms 8/5/2022 20:38", - "testCSVExport" : "leli 6/5/2024 17:01", - "testClosePoll" : "FLST 7/8/2024 17:16", - "testIDsAreUUIDsToPreventCollisions" : "JT 8/4/2022 23:31", - "testMyUserSet" : "ms 8/5/2022 20:39", - "testMyUserSetWithUserSetNotInRepo" : "ms 8/5/2022 20:39", - "testRequiresAuthenticationFalse" : "ms 8/5/2022 20:39", - "testRequiresAuthenticationTrue" : "ms 8/5/2022 20:39", - "testStartTime" : "bn 8/5/2022 20:45", + "testAnswerSetPollID" : "FLST 7/12/2024 15:55", + "testCSVExport" : "FLST 7/12/2024 15:55", + "testClosePoll" : "FLST 7/12/2024 15:55", + "testIDsAreUUIDsToPreventCollisions" : "FLST 7/12/2024 15:55", + "testMyUserSet" : "FLST 7/12/2024 15:55", + "testMyUserSetWithUserSetNotInRepo" : "FLST 7/12/2024 15:55", + "testRequiresAuthenticationFalse" : "FLST 7/12/2024 15:55", + "testRequiresAuthenticationTrue" : "FLST 7/12/2024 15:55", + "testStartTime" : "FLST 7/12/2024 15:55", "testUserSetId" : "ms 8/5/2022 20:39", - "testVisualizationDataCollection" : "ms 8/5/2022 20:39" } } + "testVisualizationDataCollection" : "FLST 7/12/2024 15:55" } } diff --git a/packages/Liquid-Tests.package/LQPriorityQuestionBuilderTests.class/instance/builder..st b/packages/Liquid-Tests.package/LQPriorityQuestionBuilderTests.class/instance/builder..st index 2adff76b..b484400e 100644 --- a/packages/Liquid-Tests.package/LQPriorityQuestionBuilderTests.class/instance/builder..st +++ b/packages/Liquid-Tests.package/LQPriorityQuestionBuilderTests.class/instance/builder..st @@ -1,3 +1,4 @@ accessing builder: anObject + builder := anObject \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQPriorityQuestionBuilderTests.class/instance/builder.st b/packages/Liquid-Tests.package/LQPriorityQuestionBuilderTests.class/instance/builder.st index 6d51de8c..dfc206cd 100644 --- a/packages/Liquid-Tests.package/LQPriorityQuestionBuilderTests.class/instance/builder.st +++ b/packages/Liquid-Tests.package/LQPriorityQuestionBuilderTests.class/instance/builder.st @@ -1,3 +1,4 @@ accessing builder + ^ builder \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQPriorityQuestionBuilderTests.class/instance/questionBuilder..st b/packages/Liquid-Tests.package/LQPriorityQuestionBuilderTests.class/instance/questionBuilder..st index daa2d349..0d57ec8c 100644 --- a/packages/Liquid-Tests.package/LQPriorityQuestionBuilderTests.class/instance/questionBuilder..st +++ b/packages/Liquid-Tests.package/LQPriorityQuestionBuilderTests.class/instance/questionBuilder..st @@ -1,3 +1,4 @@ accessing questionBuilder: anObject + questionBuilder := anObject \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQPriorityQuestionBuilderTests.class/instance/questionBuilder.st b/packages/Liquid-Tests.package/LQPriorityQuestionBuilderTests.class/instance/questionBuilder.st index e5aa2c8d..d65f7ff5 100644 --- a/packages/Liquid-Tests.package/LQPriorityQuestionBuilderTests.class/instance/questionBuilder.st +++ b/packages/Liquid-Tests.package/LQPriorityQuestionBuilderTests.class/instance/questionBuilder.st @@ -1,3 +1,4 @@ accessing questionBuilder + ^ questionBuilder \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQPriorityQuestionBuilderTests.class/instance/setUp.st b/packages/Liquid-Tests.package/LQPriorityQuestionBuilderTests.class/instance/setUp.st index a7eaba04..14449c84 100644 --- a/packages/Liquid-Tests.package/LQPriorityQuestionBuilderTests.class/instance/setUp.st +++ b/packages/Liquid-Tests.package/LQPriorityQuestionBuilderTests.class/instance/setUp.st @@ -1,5 +1,6 @@ running setUp + super setUp. self builder: ToolBuilder default. self questionBuilder: LQPriorityQuestionBuilder new. diff --git a/packages/Liquid-Tests.package/LQPriorityQuestionBuilderTests.class/instance/testBuildWithReturnsPannelMorph.st b/packages/Liquid-Tests.package/LQPriorityQuestionBuilderTests.class/instance/testBuildWithReturnsPannelMorph.st index 7afca9cb..53bea35b 100644 --- a/packages/Liquid-Tests.package/LQPriorityQuestionBuilderTests.class/instance/testBuildWithReturnsPannelMorph.st +++ b/packages/Liquid-Tests.package/LQPriorityQuestionBuilderTests.class/instance/testBuildWithReturnsPannelMorph.st @@ -1,5 +1,4 @@ testing testBuildWithReturnsPannelMorph - self - assert: ((self questionBuilder buildWith: self builder) - isMemberOf: PluggablePanelMorph) \ No newline at end of file + + self assert: ((self questionBuilder buildWith: self builder) isMemberOf: PluggablePanelMorph) \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQPriorityQuestionBuilderTests.class/instance/testTitelChange.st b/packages/Liquid-Tests.package/LQPriorityQuestionBuilderTests.class/instance/testTitelChange.st index 3771c18b..77b455c3 100644 --- a/packages/Liquid-Tests.package/LQPriorityQuestionBuilderTests.class/instance/testTitelChange.st +++ b/packages/Liquid-Tests.package/LQPriorityQuestionBuilderTests.class/instance/testTitelChange.st @@ -1,5 +1,6 @@ testing testTitelChange + self questionBuilder title: 'Prio' asText. self assert: self questionBuilder title equals: 'Prio'. - self assert: self questionBuilder question title equals: 'Prio' \ No newline at end of file + self assert: self questionBuilder question title equals: 'Prio' \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQPriorityQuestionBuilderTests.class/instance/testToolbuilderMethodsReturnSpecs.st b/packages/Liquid-Tests.package/LQPriorityQuestionBuilderTests.class/instance/testToolbuilderMethodsReturnSpecs.st index 5f602eb7..8be0b03a 100644 --- a/packages/Liquid-Tests.package/LQPriorityQuestionBuilderTests.class/instance/testToolbuilderMethodsReturnSpecs.st +++ b/packages/Liquid-Tests.package/LQPriorityQuestionBuilderTests.class/instance/testToolbuilderMethodsReturnSpecs.st @@ -1,8 +1,5 @@ testing testToolbuilderMethodsReturnSpecs - self - assert: ((self questionBuilder buildTitleInputWith: self builder) - isMemberOf: PluggableTextSpec). - self - assert: ((self questionBuilder buildChoicesInputWith: self builder) - isMemberOf: PluggableTextSpec) \ No newline at end of file + + self assert: ((self questionBuilder buildTitleInputWith: self builder) isMemberOf: PluggableTextSpec). + self assert: ((self questionBuilder buildChoicesInputWith: self builder) isMemberOf: PluggableTextSpec) \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQPriorityQuestionBuilderTests.class/methodProperties.json b/packages/Liquid-Tests.package/LQPriorityQuestionBuilderTests.class/methodProperties.json index 2472b2aa..fe994fa1 100644 --- a/packages/Liquid-Tests.package/LQPriorityQuestionBuilderTests.class/methodProperties.json +++ b/packages/Liquid-Tests.package/LQPriorityQuestionBuilderTests.class/methodProperties.json @@ -2,11 +2,11 @@ "class" : { }, "instance" : { - "builder" : "vl 7/10/2024 12:15", - "builder:" : "vl 7/10/2024 12:15", - "questionBuilder" : "vl 7/10/2024 12:15", - "questionBuilder:" : "vl 7/10/2024 12:15", - "setUp" : "vl 7/10/2024 12:16", - "testBuildWithReturnsPannelMorph" : "vl 7/10/2024 12:24", - "testTitelChange" : "vl 7/10/2024 12:18", - "testToolbuilderMethodsReturnSpecs" : "vl 7/10/2024 12:20" } } + "builder" : "FLST 7/12/2024 15:55", + "builder:" : "FLST 7/12/2024 15:55", + "questionBuilder" : "FLST 7/12/2024 15:55", + "questionBuilder:" : "FLST 7/12/2024 15:55", + "setUp" : "FLST 7/12/2024 15:55", + "testBuildWithReturnsPannelMorph" : "FLST 7/12/2024 15:55", + "testTitelChange" : "FLST 7/12/2024 15:55", + "testToolbuilderMethodsReturnSpecs" : "FLST 7/12/2024 15:55" } } diff --git a/packages/Liquid-Tests.package/LQPriorityQuestionTests.class/instance/question..st b/packages/Liquid-Tests.package/LQPriorityQuestionTests.class/instance/question..st index b666625c..f28c5ec9 100644 --- a/packages/Liquid-Tests.package/LQPriorityQuestionTests.class/instance/question..st +++ b/packages/Liquid-Tests.package/LQPriorityQuestionTests.class/instance/question..st @@ -1,3 +1,4 @@ accessing question: anObject + question := anObject \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQPriorityQuestionTests.class/instance/question.st b/packages/Liquid-Tests.package/LQPriorityQuestionTests.class/instance/question.st index a5a1cd59..851846f6 100644 --- a/packages/Liquid-Tests.package/LQPriorityQuestionTests.class/instance/question.st +++ b/packages/Liquid-Tests.package/LQPriorityQuestionTests.class/instance/question.st @@ -1,3 +1,4 @@ accessing question + ^ question \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQPriorityQuestionTests.class/instance/setUp.st b/packages/Liquid-Tests.package/LQPriorityQuestionTests.class/instance/setUp.st index ed919f3e..c1429c12 100644 --- a/packages/Liquid-Tests.package/LQPriorityQuestionTests.class/instance/setUp.st +++ b/packages/Liquid-Tests.package/LQPriorityQuestionTests.class/instance/setUp.st @@ -1,4 +1,5 @@ running setUp + super setUp. - self question: LQPriorityQuestion new \ No newline at end of file + self question: LQPriorityQuestion new \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQPriorityQuestionTests.class/instance/testAddChoice.st b/packages/Liquid-Tests.package/LQPriorityQuestionTests.class/instance/testAddChoice.st index 6d39f2c7..bc3de3a1 100644 --- a/packages/Liquid-Tests.package/LQPriorityQuestionTests.class/instance/testAddChoice.st +++ b/packages/Liquid-Tests.package/LQPriorityQuestionTests.class/instance/testAddChoice.st @@ -1,6 +1,7 @@ testing testAddChoice - self assert: (self question choiceDescriptions isEmpty). + + self assert: self question choiceDescriptions isEmpty. self question addChoice: (LQChoice newFrom: 'TestChoice'). - self assert: (self question choiceDescriptions size) equals: 1. - self assert: self question choiceDescriptions first equals: 'TestChoice'. \ No newline at end of file + self assert: self question choiceDescriptions size equals: 1. + self assert: self question choiceDescriptions first equals: 'TestChoice' \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQPriorityQuestionTests.class/instance/testAsStringNoTitle.st b/packages/Liquid-Tests.package/LQPriorityQuestionTests.class/instance/testAsStringNoTitle.st index d9228dcc..78d221bf 100644 --- a/packages/Liquid-Tests.package/LQPriorityQuestionTests.class/instance/testAsStringNoTitle.st +++ b/packages/Liquid-Tests.package/LQPriorityQuestionTests.class/instance/testAsStringNoTitle.st @@ -1,3 +1,4 @@ testing testAsStringNoTitle - self assert: self question asString equals: 'Untitled Question'. \ No newline at end of file + + self assert: self question asString equals: 'Untitled Question' \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQPriorityQuestionTests.class/instance/testAsStringWithTitle.st b/packages/Liquid-Tests.package/LQPriorityQuestionTests.class/instance/testAsStringWithTitle.st index 69d7dcae..596305a0 100644 --- a/packages/Liquid-Tests.package/LQPriorityQuestionTests.class/instance/testAsStringWithTitle.st +++ b/packages/Liquid-Tests.package/LQPriorityQuestionTests.class/instance/testAsStringWithTitle.st @@ -1,4 +1,5 @@ testing testAsStringWithTitle + self question title: 'PrioQuestion'. - self assert: self question asString equals: 'PrioQuestion'. \ No newline at end of file + self assert: self question asString equals: 'PrioQuestion' \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQPriorityQuestionTests.class/instance/testBuildEmptyChoicesAnswer.st b/packages/Liquid-Tests.package/LQPriorityQuestionTests.class/instance/testBuildEmptyChoicesAnswer.st index 165aef45..623c7806 100644 --- a/packages/Liquid-Tests.package/LQPriorityQuestionTests.class/instance/testBuildEmptyChoicesAnswer.st +++ b/packages/Liquid-Tests.package/LQPriorityQuestionTests.class/instance/testBuildEmptyChoicesAnswer.st @@ -1,3 +1,4 @@ testing testBuildEmptyChoicesAnswer - self assert: (self question buildEmptyAnswer isKindOf: LQAnswer). \ No newline at end of file + + self assert: (self question buildEmptyAnswer isKindOf: LQAnswer) \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQPriorityQuestionTests.class/instance/testCorrectQuestionType.st b/packages/Liquid-Tests.package/LQPriorityQuestionTests.class/instance/testCorrectQuestionType.st index e30731cc..472270d3 100644 --- a/packages/Liquid-Tests.package/LQPriorityQuestionTests.class/instance/testCorrectQuestionType.st +++ b/packages/Liquid-Tests.package/LQPriorityQuestionTests.class/instance/testCorrectQuestionType.st @@ -1,3 +1,4 @@ testing testCorrectQuestionType - self assert: self question isPriorityQuestion. \ No newline at end of file + + self assert: self question isPriorityQuestion \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQPriorityQuestionTests.class/methodProperties.json b/packages/Liquid-Tests.package/LQPriorityQuestionTests.class/methodProperties.json index 07a2143a..f4df5069 100644 --- a/packages/Liquid-Tests.package/LQPriorityQuestionTests.class/methodProperties.json +++ b/packages/Liquid-Tests.package/LQPriorityQuestionTests.class/methodProperties.json @@ -2,11 +2,11 @@ "class" : { }, "instance" : { - "question" : "vl 7/10/2024 11:55", - "question:" : "vl 7/10/2024 11:55", - "setUp" : "vl 7/10/2024 12:25", - "testAddChoice" : "vl 7/10/2024 12:07", - "testAsStringNoTitle" : "vl 7/10/2024 12:04", - "testAsStringWithTitle" : "vl 7/10/2024 12:04", - "testBuildEmptyChoicesAnswer" : "vl 7/10/2024 12:05", - "testCorrectQuestionType" : "FLST 7/11/2024 16:59" } } + "question" : "FLST 7/12/2024 15:55", + "question:" : "FLST 7/12/2024 15:55", + "setUp" : "FLST 7/12/2024 15:55", + "testAddChoice" : "FLST 7/12/2024 15:55", + "testAsStringNoTitle" : "FLST 7/12/2024 15:55", + "testAsStringWithTitle" : "FLST 7/12/2024 15:55", + "testBuildEmptyChoicesAnswer" : "FLST 7/12/2024 15:55", + "testCorrectQuestionType" : "FLST 7/12/2024 15:55" } } diff --git a/packages/Liquid-Tests.package/LQRemotePollRepoServerTests.class/instance/createAnswerSet1With.and..st b/packages/Liquid-Tests.package/LQRemotePollRepoServerTests.class/instance/createAnswerSet1With.and..st index cb528de1..45b3d073 100644 --- a/packages/Liquid-Tests.package/LQRemotePollRepoServerTests.class/instance/createAnswerSet1With.and..st +++ b/packages/Liquid-Tests.package/LQRemotePollRepoServerTests.class/instance/createAnswerSet1With.and..st @@ -2,15 +2,14 @@ helper methods createAnswerSet1With: aQuestion and: anAnswer | temporaryAnswerSet | - - temporaryAnswerSet := LQAnswerSet new + temporaryAnswerSet := LQAnswerSet new token: self user1 token; - pollId: (self poll id); + pollId: self poll id; yourself. - + temporaryAnswerSet addAnswer: (LQChoicesAnswer new - questionId: (aQuestion id); + questionId: aQuestion id; choicesRanking: {anAnswer description}; yourself). - + ^ temporaryAnswerSet \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQRemotePollRepoServerTests.class/instance/createAnswerSet2With.and..st b/packages/Liquid-Tests.package/LQRemotePollRepoServerTests.class/instance/createAnswerSet2With.and..st index 0e128ec1..20487053 100644 --- a/packages/Liquid-Tests.package/LQRemotePollRepoServerTests.class/instance/createAnswerSet2With.and..st +++ b/packages/Liquid-Tests.package/LQRemotePollRepoServerTests.class/instance/createAnswerSet2With.and..st @@ -2,15 +2,14 @@ helper methods createAnswerSet2With: aQuestion and: anAnswer | temporaryAnswerSet | - - temporaryAnswerSet := LQAnswerSet new + temporaryAnswerSet := LQAnswerSet new token: self user2 token; - pollId: (self poll id); + pollId: self poll id; yourself. temporaryAnswerSet addAnswer: (LQChoicesAnswer new - questionId: (aQuestion id); + questionId: aQuestion id; choicesRanking: {anAnswer description}; yourself). - + ^ temporaryAnswerSet \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQRemotePollRepoServerTests.class/instance/createPoll.st b/packages/Liquid-Tests.package/LQRemotePollRepoServerTests.class/instance/createPoll.st index c499cf9a..3ccdcd85 100644 --- a/packages/Liquid-Tests.package/LQRemotePollRepoServerTests.class/instance/createPoll.st +++ b/packages/Liquid-Tests.package/LQRemotePollRepoServerTests.class/instance/createPoll.st @@ -1,8 +1,7 @@ helper methods createPoll - + | pollId | - self poll: (LQPoll newWithPollDraft: LQPollDraft new). self poll pollDraft questionList add: (LQMultiChoiceQuestion new title: 'Where is the master ball'; @@ -11,6 +10,5 @@ createPoll self poll userSetID: self userSet id. pollId := 'gotta-catch-rayquaza'. - (LQRemotePollRepoServer pollRepo includesKey: pollId) - ifTrue: [LQRemotePollRepoServer pollRepo removeKey: pollId]. - self poll startWithId: pollId ifTaken: [self fail: 'Poll ID already taken'] + (LQRemotePollRepoServer pollRepo includesKey: pollId) ifTrue: [LQRemotePollRepoServer pollRepo removeKey: pollId]. + self poll startWithId: pollId ifTaken: [self fail: 'Poll ID already taken'] \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQRemotePollRepoServerTests.class/instance/createUserSet1.st b/packages/Liquid-Tests.package/LQRemotePollRepoServerTests.class/instance/createUserSet1.st index 69c4e518..d7d7d57b 100644 --- a/packages/Liquid-Tests.package/LQRemotePollRepoServerTests.class/instance/createUserSet1.st +++ b/packages/Liquid-Tests.package/LQRemotePollRepoServerTests.class/instance/createUserSet1.st @@ -1,6 +1,6 @@ helper methods createUserSet1 - + self user1: self createUser1. self user2: self createUser2. self userSet: (LQUserSet new diff --git a/packages/Liquid-Tests.package/LQRemotePollRepoServerTests.class/instance/testAddAnswerSetPreventedByGroupBasedAnswerExclusion.st b/packages/Liquid-Tests.package/LQRemotePollRepoServerTests.class/instance/testAddAnswerSetPreventedByGroupBasedAnswerExclusion.st index 3714a698..bc37b656 100644 --- a/packages/Liquid-Tests.package/LQRemotePollRepoServerTests.class/instance/testAddAnswerSetPreventedByGroupBasedAnswerExclusion.st +++ b/packages/Liquid-Tests.package/LQRemotePollRepoServerTests.class/instance/testAddAnswerSetPreventedByGroupBasedAnswerExclusion.st @@ -2,15 +2,14 @@ testing testAddAnswerSetPreventedByGroupBasedAnswerExclusion | answerSet1 answerSet2 q1 | + q1 := self poll pollDraft questionList first. + answerSet1 := self createAnswerSet1With: q1 and: q1 choiceList first. + answerSet2 := self createAnswerSet2With: q1 and: q1 choiceList second. - q1 := (self poll pollDraft questionList first). - answerSet1 := self createAnswerSet1With: q1 and: (q1 choiceList first). - answerSet2 := self createAnswerSet2With: q1 and: (q1 choiceList second). - - self assert: 0 equals: ((LQRemotePollRepoServer pollRepo at: self poll id) answerSets size). + self assert: 0 equals: (LQRemotePollRepoServer pollRepo at: self poll id) answerSets size. LQPollRepo default token: self user1 token. LQPollRepo default addAnswerSet: answerSet1 ToPoll: self poll id. - self assert: 0 equals: ((LQRemotePollRepoServer pollRepo at: self poll id) answerSets size). + self assert: 0 equals: (LQRemotePollRepoServer pollRepo at: self poll id) answerSets size. LQPollRepo default token: self user2 token. LQPollRepo default addAnswerSet: answerSet2 ToPoll: self poll id. - self assert: 0 equals: ((LQRemotePollRepoServer pollRepo at: self poll id) answerSets size) \ No newline at end of file + self assert: 0 equals: (LQRemotePollRepoServer pollRepo at: self poll id) answerSets size \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQRemotePollRepoServerTests.class/instance/testAddAnswerSetPreventedByMultipleAnswers.st b/packages/Liquid-Tests.package/LQRemotePollRepoServerTests.class/instance/testAddAnswerSetPreventedByMultipleAnswers.st index 751e4ecd..deae66ed 100644 --- a/packages/Liquid-Tests.package/LQRemotePollRepoServerTests.class/instance/testAddAnswerSetPreventedByMultipleAnswers.st +++ b/packages/Liquid-Tests.package/LQRemotePollRepoServerTests.class/instance/testAddAnswerSetPreventedByMultipleAnswers.st @@ -2,20 +2,19 @@ testing testAddAnswerSetPreventedByMultipleAnswers | answerSet1 q1 | - - q1 := (self poll pollDraft questionList first). - answerSet1 := LQAnswerSet new + q1 := self poll pollDraft questionList first. + answerSet1 := LQAnswerSet new token: self user1 token; - pollId: (self poll id); + pollId: self poll id; yourself. answerSet1 addAnswer: (LQChoicesAnswer new - questionId: (q1 id); - choicesRanking: {(q1 choiceList second) description}; + questionId: q1 id; + choicesRanking: {q1 choiceList second description}; yourself). - self assert: 0 equals: ((LQRemotePollRepoServer pollRepo at: self poll id) answerSets size). + self assert: 0 equals: (LQRemotePollRepoServer pollRepo at: self poll id) answerSets size. LQPollRepo default token: self user1 token. LQPollRepo default addAnswerSet: answerSet1 ToPoll: self poll id. - self assert: 1 equals: ((LQRemotePollRepoServer pollRepo at: self poll id) answerSets size). + self assert: 1 equals: (LQRemotePollRepoServer pollRepo at: self poll id) answerSets size. LQPollRepo default addAnswerSet: answerSet1 ToPoll: self poll id. - self assert: 1 equals: ((LQRemotePollRepoServer pollRepo at: self poll id) answerSets size) \ No newline at end of file + self assert: 1 equals: (LQRemotePollRepoServer pollRepo at: self poll id) answerSets size \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQRemotePollRepoServerTests.class/instance/testAddAnswerSetPreventedByWrongToken.st b/packages/Liquid-Tests.package/LQRemotePollRepoServerTests.class/instance/testAddAnswerSetPreventedByWrongToken.st index ede1ef91..4eb1f483 100644 --- a/packages/Liquid-Tests.package/LQRemotePollRepoServerTests.class/instance/testAddAnswerSetPreventedByWrongToken.st +++ b/packages/Liquid-Tests.package/LQRemotePollRepoServerTests.class/instance/testAddAnswerSetPreventedByWrongToken.st @@ -2,18 +2,17 @@ testing testAddAnswerSetPreventedByWrongToken | answerSet1 q1 | - - q1 := (self poll pollDraft questionList first). - answerSet1 := LQAnswerSet new + q1 := self poll pollDraft questionList first. + answerSet1 := LQAnswerSet new token: self user1 token; - pollId: (self poll id); + pollId: self poll id; yourself. answerSet1 addAnswer: (LQChoicesAnswer new - questionId: (q1 id); - choicesRanking: {(q1 choiceList second) description}; + questionId: q1 id; + choicesRanking: {q1 choiceList second description}; yourself). - - self assert: 0 equals: ((LQRemotePollRepoServer pollRepo at: self poll id) answerSets size). + + self assert: 0 equals: (LQRemotePollRepoServer pollRepo at: self poll id) answerSets size. LQPollRepo default token: 'This is incorrect'. LQPollRepo default addAnswerSet: answerSet1 ToPoll: self poll id. - self assert: 0 equals: ((LQRemotePollRepoServer pollRepo at: self poll id) answerSets size) \ No newline at end of file + self assert: 0 equals: (LQRemotePollRepoServer pollRepo at: self poll id) answerSets size \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQRemotePollRepoServerTests.class/instance/testAddAnswerSetSuccessfully.st b/packages/Liquid-Tests.package/LQRemotePollRepoServerTests.class/instance/testAddAnswerSetSuccessfully.st index 686bc1c6..77e3b1e7 100644 --- a/packages/Liquid-Tests.package/LQRemotePollRepoServerTests.class/instance/testAddAnswerSetSuccessfully.st +++ b/packages/Liquid-Tests.package/LQRemotePollRepoServerTests.class/instance/testAddAnswerSetSuccessfully.st @@ -2,15 +2,14 @@ testing testAddAnswerSetSuccessfully | answerSet1 answerSet2 q1 | + q1 := self poll pollDraft questionList first. + answerSet1 := self createAnswerSet1With: q1 and: q1 choiceList second. + answerSet2 := self createAnswerSet2With: q1 and: q1 choiceList first. - q1 := (self poll pollDraft questionList first). - answerSet1 := self createAnswerSet1With: q1 and: (q1 choiceList second). - answerSet2 := self createAnswerSet2With: q1 and: (q1 choiceList first). - - self assert: 0 equals: ((LQRemotePollRepoServer pollRepo at: self poll id) answerSets size). + self assert: 0 equals: (LQRemotePollRepoServer pollRepo at: self poll id) answerSets size. LQPollRepo default token: self user1 token. LQPollRepo default addAnswerSet: answerSet1 ToPoll: self poll id. - self assert: 1 equals: ((LQRemotePollRepoServer pollRepo at: self poll id) answerSets size). + self assert: 1 equals: (LQRemotePollRepoServer pollRepo at: self poll id) answerSets size. LQPollRepo default token: self user2 token. LQPollRepo default addAnswerSet: answerSet2 ToPoll: self poll id. - self assert: 2 equals: ((LQRemotePollRepoServer pollRepo at: self poll id) answerSets size) \ No newline at end of file + self assert: 2 equals: (LQRemotePollRepoServer pollRepo at: self poll id) answerSets size \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQRemotePollRepoServerTests.class/methodProperties.json b/packages/Liquid-Tests.package/LQRemotePollRepoServerTests.class/methodProperties.json index 027f7bc8..06054c4f 100644 --- a/packages/Liquid-Tests.package/LQRemotePollRepoServerTests.class/methodProperties.json +++ b/packages/Liquid-Tests.package/LQRemotePollRepoServerTests.class/methodProperties.json @@ -2,19 +2,19 @@ "class" : { }, "instance" : { - "createAnswerSet1With:and:" : "Anton Eichstädt 7/8/2024 16:51", - "createAnswerSet2With:and:" : "Anton Eichstädt 7/8/2024 16:51", - "createPoll" : "JT 8/2/2022 17:53", + "createAnswerSet1With:and:" : "FLST 7/12/2024 15:55", + "createAnswerSet2With:and:" : "FLST 7/12/2024 15:55", + "createPoll" : "FLST 7/12/2024 15:55", "createUser1" : "JT 8/2/2022 17:53", "createUser2" : "JT 8/2/2022 17:53", - "createUserSet1" : "JT 8/2/2022 17:54", + "createUserSet1" : "FLST 7/12/2024 15:55", "poll" : "kge 7/21/2022 22:31", "poll:" : "kge 7/21/2022 22:32", "setUp" : "kge 7/21/2022 22:38", - "testAddAnswerSetPreventedByGroupBasedAnswerExclusion" : "JT 8/5/2022 19:06", - "testAddAnswerSetPreventedByMultipleAnswers" : "Anton Eichstädt 7/8/2024 16:51", - "testAddAnswerSetPreventedByWrongToken" : "Anton Eichstädt 7/8/2024 16:51", - "testAddAnswerSetSuccessfully" : "JT 8/5/2022 19:07", + "testAddAnswerSetPreventedByGroupBasedAnswerExclusion" : "FLST 7/12/2024 15:55", + "testAddAnswerSetPreventedByMultipleAnswers" : "FLST 7/12/2024 15:55", + "testAddAnswerSetPreventedByWrongToken" : "FLST 7/12/2024 15:55", + "testAddAnswerSetSuccessfully" : "FLST 7/12/2024 15:55", "user1" : "kge 7/21/2022 22:30", "user1:" : "kge 7/21/2022 22:30", "user2" : "kge 7/21/2022 22:30", diff --git a/packages/Liquid-Tests.package/LQSavePollDraftsTest.class/instance/createPollDraft.st b/packages/Liquid-Tests.package/LQSavePollDraftsTest.class/instance/createPollDraft.st index 7118b8d8..54392a82 100644 --- a/packages/Liquid-Tests.package/LQSavePollDraftsTest.class/instance/createPollDraft.st +++ b/packages/Liquid-Tests.package/LQSavePollDraftsTest.class/instance/createPollDraft.st @@ -1,7 +1,8 @@ testing createPollDraft + | question questionPrio questionFreeText | - self pollDraft: LQPollDraft new. + self pollDraft: LQPollDraft new. self pollDraft title: 'TestDraft'. question := LQMultiChoiceQuestion new. question title: 'Question'. @@ -11,4 +12,4 @@ createPollDraft questionFreeText title: 'Freetext'. self pollDraft questionList add: question. self pollDraft questionList add: questionPrio. - self pollDraft questionList add: questionFreeText. \ No newline at end of file + self pollDraft questionList add: questionFreeText \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQSavePollDraftsTest.class/instance/pollDraft..st b/packages/Liquid-Tests.package/LQSavePollDraftsTest.class/instance/pollDraft..st index 4300e974..29e70e00 100644 --- a/packages/Liquid-Tests.package/LQSavePollDraftsTest.class/instance/pollDraft..st +++ b/packages/Liquid-Tests.package/LQSavePollDraftsTest.class/instance/pollDraft..st @@ -1,3 +1,4 @@ accessing pollDraft: aPollDraft + pollDraft := aPollDraft \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQSavePollDraftsTest.class/instance/pollDraft.st b/packages/Liquid-Tests.package/LQSavePollDraftsTest.class/instance/pollDraft.st index e2a95d0c..a3e86e33 100644 --- a/packages/Liquid-Tests.package/LQSavePollDraftsTest.class/instance/pollDraft.st +++ b/packages/Liquid-Tests.package/LQSavePollDraftsTest.class/instance/pollDraft.st @@ -1,3 +1,4 @@ accessing -pollDraft +pollDraft + ^ pollDraft \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQSavePollDraftsTest.class/instance/setUp.st b/packages/Liquid-Tests.package/LQSavePollDraftsTest.class/instance/setUp.st index d0a92ee2..2d36101c 100644 --- a/packages/Liquid-Tests.package/LQSavePollDraftsTest.class/instance/setUp.st +++ b/packages/Liquid-Tests.package/LQSavePollDraftsTest.class/instance/setUp.st @@ -1,4 +1,5 @@ testing setUp + super setUp. - self createPollDraft. \ No newline at end of file + self createPollDraft \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQSavePollDraftsTest.class/instance/tearDown.st b/packages/Liquid-Tests.package/LQSavePollDraftsTest.class/instance/tearDown.st index d2a5250b..90f95915 100644 --- a/packages/Liquid-Tests.package/LQSavePollDraftsTest.class/instance/tearDown.st +++ b/packages/Liquid-Tests.package/LQSavePollDraftsTest.class/instance/tearDown.st @@ -1,5 +1,6 @@ testing tearDown + LQRemotePollRepoServer pollDraftRepo items removeKey: self pollDraft pollDraftId ifAbsent: [] \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQSavePollDraftsTest.class/instance/testNewWithPollDraft.st b/packages/Liquid-Tests.package/LQSavePollDraftsTest.class/instance/testNewWithPollDraft.st index 2728434f..c6572abe 100644 --- a/packages/Liquid-Tests.package/LQSavePollDraftsTest.class/instance/testNewWithPollDraft.st +++ b/packages/Liquid-Tests.package/LQSavePollDraftsTest.class/instance/testNewWithPollDraft.st @@ -1,8 +1,9 @@ testing testNewWithPollDraft + | pollDraftBuilder | pollDraftBuilder := LQPollDraftBuilder newWithPollDraft: self pollDraft. self assert: pollDraftBuilder questionBuilders size equals: 3. - self assert: (pollDraftBuilder questionBuilders first) class equals: LQMultiChoiceQuestionBuilder. - self assert: (pollDraftBuilder questionBuilders second) class equals: LQPriorityQuestionBuilder. - self assert: (pollDraftBuilder questionBuilders third) class equals: LQFreeTextQuestionBuilder. \ No newline at end of file + self assert: pollDraftBuilder questionBuilders first class equals: LQMultiChoiceQuestionBuilder. + self assert: pollDraftBuilder questionBuilders second class equals: LQPriorityQuestionBuilder. + self assert: pollDraftBuilder questionBuilders third class equals: LQFreeTextQuestionBuilder \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQSavePollDraftsTest.class/instance/testRemovePollDrafts.st b/packages/Liquid-Tests.package/LQSavePollDraftsTest.class/instance/testRemovePollDrafts.st index 80224c4c..2808de62 100644 --- a/packages/Liquid-Tests.package/LQSavePollDraftsTest.class/instance/testRemovePollDrafts.st +++ b/packages/Liquid-Tests.package/LQSavePollDraftsTest.class/instance/testRemovePollDrafts.st @@ -1,9 +1,12 @@ testing testRemovePollDrafts + | size | - LQRemotePollRepoServer pollDraftRepo items at: self pollDraft pollDraftId put: self pollDraft. + LQRemotePollRepoServer pollDraftRepo items + at: self pollDraft pollDraftId + put: self pollDraft. size := LQRemotePollRepoServer pollDraftRepo items size. LQRemotePollRepoServer pollDraftRepo items - removeKey: self pollDraft pollDraftId + removeKey: self pollDraft pollDraftId ifAbsent: []. self assert: LQRemotePollRepoServer pollDraftRepo items size < size \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQSavePollDraftsTest.class/instance/testSavePollDrafts.st b/packages/Liquid-Tests.package/LQSavePollDraftsTest.class/instance/testSavePollDrafts.st index 558f1796..b8bda348 100644 --- a/packages/Liquid-Tests.package/LQSavePollDraftsTest.class/instance/testSavePollDrafts.st +++ b/packages/Liquid-Tests.package/LQSavePollDraftsTest.class/instance/testSavePollDrafts.st @@ -1,7 +1,12 @@ testing testSavePollDrafts + | size | - size := LQRemotePollRepoServer pollDraftRepo items size. - LQRemotePollRepoServer pollDraftRepo items at: self pollDraft pollDraftId put: self pollDraft. + size := LQRemotePollRepoServer pollDraftRepo items size. + LQRemotePollRepoServer pollDraftRepo items + at: self pollDraft pollDraftId + put: self pollDraft. self assert: LQRemotePollRepoServer pollDraftRepo items size > size. - self assert: (LQRemotePollRepoServer pollDraftRepo items at: self pollDraft pollDraftId) title equals: 'TestDraft'. \ No newline at end of file + self + assert: (LQRemotePollRepoServer pollDraftRepo items at: self pollDraft pollDraftId) title + equals: 'TestDraft' \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQSavePollDraftsTest.class/methodProperties.json b/packages/Liquid-Tests.package/LQSavePollDraftsTest.class/methodProperties.json index 9599bce1..489abddb 100644 --- a/packages/Liquid-Tests.package/LQSavePollDraftsTest.class/methodProperties.json +++ b/packages/Liquid-Tests.package/LQSavePollDraftsTest.class/methodProperties.json @@ -2,11 +2,11 @@ "class" : { }, "instance" : { - "createPollDraft" : "vl 7/10/2024 13:32", - "pollDraft" : "vl 6/6/2024 20:06", - "pollDraft:" : "vl 6/6/2024 20:06", - "setUp" : "vl 6/6/2024 20:02", - "tearDown" : "vl 6/6/2024 20:20", - "testNewWithPollDraft" : "FLST 7/12/2024 09:19", - "testRemovePollDrafts" : "vl 6/6/2024 20:20", - "testSavePollDrafts" : "vl 6/7/2024 14:27" } } + "createPollDraft" : "FLST 7/12/2024 15:55", + "pollDraft" : "FLST 7/12/2024 15:55", + "pollDraft:" : "FLST 7/12/2024 15:55", + "setUp" : "FLST 7/12/2024 15:55", + "tearDown" : "FLST 7/12/2024 15:55", + "testNewWithPollDraft" : "FLST 7/12/2024 15:55", + "testRemovePollDrafts" : "FLST 7/12/2024 15:55", + "testSavePollDrafts" : "FLST 7/12/2024 15:55" } } diff --git a/packages/Liquid-Tests.package/LQStartMenuTests.class/instance/objectInstance.st b/packages/Liquid-Tests.package/LQStartMenuTests.class/instance/objectInstance.st index f2269ec3..bd90098a 100644 --- a/packages/Liquid-Tests.package/LQStartMenuTests.class/instance/objectInstance.st +++ b/packages/Liquid-Tests.package/LQStartMenuTests.class/instance/objectInstance.st @@ -1,3 +1,4 @@ testing objectInstance - ^objectInstance + + ^ objectInstance \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQStartMenuTests.class/instance/setUp.st b/packages/Liquid-Tests.package/LQStartMenuTests.class/instance/setUp.st index 3f00061a..5c24a50c 100644 --- a/packages/Liquid-Tests.package/LQStartMenuTests.class/instance/setUp.st +++ b/packages/Liquid-Tests.package/LQStartMenuTests.class/instance/setUp.st @@ -1,3 +1,4 @@ testing setUp - objectInstance := LQStartMenu new. + + objectInstance := LQStartMenu new \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQStartMenuTests.class/instance/testExtractPollIdWithValidId.st b/packages/Liquid-Tests.package/LQStartMenuTests.class/instance/testExtractPollIdWithValidId.st index c0e61e12..95e40992 100644 --- a/packages/Liquid-Tests.package/LQStartMenuTests.class/instance/testExtractPollIdWithValidId.st +++ b/packages/Liquid-Tests.package/LQStartMenuTests.class/instance/testExtractPollIdWithValidId.st @@ -1,5 +1,8 @@ testing testExtractPollIdWithValidId + | url | - url:= 'http:/test:1234/1234'. - self assert: (self objectInstance extractAndValidatePollIdAndURL: url) equals: {'http:/test:1234/'. '1234'}. + url := 'http:/test:1234/1234'. + self + assert: (self objectInstance extractAndValidatePollIdAndURL: url) + equals: {'http:/test:1234/'. '1234'} \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQStartMenuTests.class/instance/testGetPollId.st b/packages/Liquid-Tests.package/LQStartMenuTests.class/instance/testGetPollId.st index 1629e054..618c9157 100644 --- a/packages/Liquid-Tests.package/LQStartMenuTests.class/instance/testGetPollId.st +++ b/packages/Liquid-Tests.package/LQStartMenuTests.class/instance/testGetPollId.st @@ -1,5 +1,6 @@ testing testGetPollId + | url | - url:= 'http:/test:1234/12345'. - self assert: (self objectInstance getPollIdFrom: url with: 16) equals: '12345' + url := 'http:/test:1234/12345'. + self assert: (self objectInstance getPollIdFrom: url with: 16) equals: '12345' \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQStartMenuTests.class/instance/testGetUrl.st b/packages/Liquid-Tests.package/LQStartMenuTests.class/instance/testGetUrl.st index c4bd4b6e..bd5ef128 100644 --- a/packages/Liquid-Tests.package/LQStartMenuTests.class/instance/testGetUrl.st +++ b/packages/Liquid-Tests.package/LQStartMenuTests.class/instance/testGetUrl.st @@ -1,5 +1,6 @@ testing testGetUrl + | url | - url:= 'http:/test:1234/12345'. - self assert: (self objectInstance getUrlFrom: url with: 15) equals: 'http:/test:1234' + url := 'http:/test:1234/12345'. + self assert: (self objectInstance getUrlFrom: url with: 15) equals: 'http:/test:1234' \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQStartMenuTests.class/instance/testStartMenuCanBeBuilt.st b/packages/Liquid-Tests.package/LQStartMenuTests.class/instance/testStartMenuCanBeBuilt.st index bc415460..a4061276 100644 --- a/packages/Liquid-Tests.package/LQStartMenuTests.class/instance/testStartMenuCanBeBuilt.st +++ b/packages/Liquid-Tests.package/LQStartMenuTests.class/instance/testStartMenuCanBeBuilt.st @@ -2,9 +2,8 @@ testing testStartMenuCanBeBuilt | startMenu | - startMenu := LQStartMenu new. ToolBuilder open: startMenu. - startMenu destroy + startMenu destroy \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQStartMenuTests.class/methodProperties.json b/packages/Liquid-Tests.package/LQStartMenuTests.class/methodProperties.json index 0a2fc679..aa2a3e81 100644 --- a/packages/Liquid-Tests.package/LQStartMenuTests.class/methodProperties.json +++ b/packages/Liquid-Tests.package/LQStartMenuTests.class/methodProperties.json @@ -2,9 +2,9 @@ "class" : { }, "instance" : { - "objectInstance" : "leli 7/10/2024 11:58", - "setUp" : "leli 7/10/2024 11:56", - "testExtractPollIdWithValidId" : "leli 7/10/2024 12:16", - "testGetPollId" : "leli 7/10/2024 12:02", - "testGetUrl" : "leli 7/10/2024 12:01", - "testStartMenuCanBeBuilt" : "leli 7/10/2024 11:53" } } + "objectInstance" : "FLST 7/12/2024 15:55", + "setUp" : "FLST 7/12/2024 15:55", + "testExtractPollIdWithValidId" : "FLST 7/12/2024 15:55", + "testGetPollId" : "FLST 7/12/2024 15:55", + "testGetUrl" : "FLST 7/12/2024 15:55", + "testStartMenuCanBeBuilt" : "FLST 7/12/2024 15:55" } } diff --git a/packages/Liquid-Tests.package/LQStringProcessorTests.class/instance/testStringReplacments.st b/packages/Liquid-Tests.package/LQStringProcessorTests.class/instance/testStringReplacments.st index 99413f40..0311a9de 100644 --- a/packages/Liquid-Tests.package/LQStringProcessorTests.class/instance/testStringReplacments.st +++ b/packages/Liquid-Tests.package/LQStringProcessorTests.class/instance/testStringReplacments.st @@ -2,8 +2,7 @@ testing testStringReplacments | replacements formatString finalString | - - replacements := Dictionary new + replacements := Dictionary new at: '{{surname}}' put: 'musterfrau'; at: '{{firstname}}' put: 'erika'; yourself. diff --git a/packages/Liquid-Tests.package/LQStringProcessorTests.class/methodProperties.json b/packages/Liquid-Tests.package/LQStringProcessorTests.class/methodProperties.json index 710a81ba..3c849c81 100644 --- a/packages/Liquid-Tests.package/LQStringProcessorTests.class/methodProperties.json +++ b/packages/Liquid-Tests.package/LQStringProcessorTests.class/methodProperties.json @@ -2,4 +2,4 @@ "class" : { }, "instance" : { - "testStringReplacments" : "JT 8/5/2022 19:16" } } + "testStringReplacments" : "FLST 7/12/2024 15:55" } } diff --git a/packages/Liquid-Tests.package/LQTestCase.class/instance/tearDown.st b/packages/Liquid-Tests.package/LQTestCase.class/instance/tearDown.st index fa682f3d..c8b995c8 100644 --- a/packages/Liquid-Tests.package/LQTestCase.class/instance/tearDown.st +++ b/packages/Liquid-Tests.package/LQTestCase.class/instance/tearDown.st @@ -7,5 +7,4 @@ tearDown LQRemotePollRepoServer pollRepo: self savedServerPollRepo. LQRemotePollRepoServer serverActive: self wasServerActive. LQPasswordManager default: self savedPasswordManager. - LQParticipantMenu answeredPollIds: self savedAnsweredPollIds - + LQParticipantMenu answeredPollIds: self savedAnsweredPollIds \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQTestCase.class/methodProperties.json b/packages/Liquid-Tests.package/LQTestCase.class/methodProperties.json index 8d15512c..db9a7cbf 100644 --- a/packages/Liquid-Tests.package/LQTestCase.class/methodProperties.json +++ b/packages/Liquid-Tests.package/LQTestCase.class/methodProperties.json @@ -13,6 +13,6 @@ "savedUserSetRepo" : "bn 8/2/2022 17:40", "savedUserSetRepo:" : "bn 8/2/2022 17:40", "setUp" : "JT 8/4/2022 23:50", - "tearDown" : "bn 8/2/2022 17:40", + "tearDown" : "FLST 7/12/2024 15:55", "wasServerActive" : "bn 8/2/2022 17:40", "wasServerActive:" : "bn 8/2/2022 17:40" } } diff --git a/packages/Liquid-Tests.package/LQThrowerOfErrors.class/instance/error..st b/packages/Liquid-Tests.package/LQThrowerOfErrors.class/instance/error..st index 90ee44df..3cffb7b7 100644 --- a/packages/Liquid-Tests.package/LQThrowerOfErrors.class/instance/error..st +++ b/packages/Liquid-Tests.package/LQThrowerOfErrors.class/instance/error..st @@ -1,4 +1,4 @@ error handling error: aString - + ^ LQRemoteError new signal: aString \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQThrowerOfErrors.class/methodProperties.json b/packages/Liquid-Tests.package/LQThrowerOfErrors.class/methodProperties.json index 8cfab175..41816388 100644 --- a/packages/Liquid-Tests.package/LQThrowerOfErrors.class/methodProperties.json +++ b/packages/Liquid-Tests.package/LQThrowerOfErrors.class/methodProperties.json @@ -2,5 +2,5 @@ "class" : { }, "instance" : { - "error:" : "kge 6/23/2022 22:23", + "error:" : "FLST 7/12/2024 15:55", "escalate" : "CG 7/30/2021 19:06" } } diff --git a/packages/Liquid-Tests.package/LQToolbuilderTests.class/instance/createPollDraftWith.and..st b/packages/Liquid-Tests.package/LQToolbuilderTests.class/instance/createPollDraftWith.and..st index f4f154de..424d9fb4 100644 --- a/packages/Liquid-Tests.package/LQToolbuilderTests.class/instance/createPollDraftWith.and..st +++ b/packages/Liquid-Tests.package/LQToolbuilderTests.class/instance/createPollDraftWith.and..st @@ -1,7 +1,7 @@ helper-methods createPollDraftWith: aQuestion and: anotherQuestion - self pollDraft: (LQPollDraft new). + self pollDraft: LQPollDraft new. self pollDraft title: 'this is a title'. self pollDraft addQuestion: aQuestion. self pollDraft addQuestion: anotherQuestion \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQToolbuilderTests.class/instance/createQ1.st b/packages/Liquid-Tests.package/LQToolbuilderTests.class/instance/createQ1.st index bb76f27d..1e1f9bf0 100644 --- a/packages/Liquid-Tests.package/LQToolbuilderTests.class/instance/createQ1.st +++ b/packages/Liquid-Tests.package/LQToolbuilderTests.class/instance/createQ1.st @@ -2,7 +2,6 @@ helper-methods createQ1 | q1 | - q1 := LQMultiChoiceQuestion new. q1 title: 'Question 1'. q1 addChoice: (LQChoice newFrom: 'Option 1 [UserGroup1]'). diff --git a/packages/Liquid-Tests.package/LQToolbuilderTests.class/instance/createQ2.st b/packages/Liquid-Tests.package/LQToolbuilderTests.class/instance/createQ2.st index 349ac4f0..d40c4a95 100644 --- a/packages/Liquid-Tests.package/LQToolbuilderTests.class/instance/createQ2.st +++ b/packages/Liquid-Tests.package/LQToolbuilderTests.class/instance/createQ2.st @@ -2,7 +2,6 @@ helper-methods createQ2 | q2 | - q2 := LQMultiChoiceQuestion new. q2 title: 'Question 2'. q2 addChoice: (LQChoice newFrom: 'Option 1 [UserGroup1]'). diff --git a/packages/Liquid-Tests.package/LQToolbuilderTests.class/instance/setUp.st b/packages/Liquid-Tests.package/LQToolbuilderTests.class/instance/setUp.st index 2553f9a1..5ff6a3be 100644 --- a/packages/Liquid-Tests.package/LQToolbuilderTests.class/instance/setUp.st +++ b/packages/Liquid-Tests.package/LQToolbuilderTests.class/instance/setUp.st @@ -1,14 +1,13 @@ running setUp - + | q1 q2 | - super setUp. q1 := self createQ1. q2 := self createQ2. - + self createPollDraftWith: q1 and: q2. - self poll: (LQPoll newWithPollDraft: (self pollDraft)). + self poll: (LQPoll newWithPollDraft: self pollDraft). self poll id: 'this-is-a-poll-id'. self poll startWithId: 'this-is-a-poll-id' ifTaken: [] \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQToolbuilderTests.class/instance/testHostMenuCanBeBuilt.st b/packages/Liquid-Tests.package/LQToolbuilderTests.class/instance/testHostMenuCanBeBuilt.st index 959bc466..56657eb7 100644 --- a/packages/Liquid-Tests.package/LQToolbuilderTests.class/instance/testHostMenuCanBeBuilt.st +++ b/packages/Liquid-Tests.package/LQToolbuilderTests.class/instance/testHostMenuCanBeBuilt.st @@ -2,7 +2,6 @@ testing testHostMenuCanBeBuilt | hostMenu | - hostMenu := LQHostMenu new. ToolBuilder open: hostMenu. diff --git a/packages/Liquid-Tests.package/LQToolbuilderTests.class/instance/testParticipantMenuCanBeBuilt.st b/packages/Liquid-Tests.package/LQToolbuilderTests.class/instance/testParticipantMenuCanBeBuilt.st index be76d9bd..4089737f 100644 --- a/packages/Liquid-Tests.package/LQToolbuilderTests.class/instance/testParticipantMenuCanBeBuilt.st +++ b/packages/Liquid-Tests.package/LQToolbuilderTests.class/instance/testParticipantMenuCanBeBuilt.st @@ -2,11 +2,10 @@ testing testParticipantMenuCanBeBuilt | participantMenu answeredPollIds | - answeredPollIds := Set new. answeredPollIds add: 'this-is-a-poll-id'. LQParticipantMenu answeredPollIds: answeredPollIds. participantMenu := LQParticipantMenu new. - participantMenu importPollWithId: (self poll id). + participantMenu importPollWithId: self poll id. ToolBuilder open: participantMenu. participantMenu destroy \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQToolbuilderTests.class/instance/testPollDraftMenuCanBeBuilt.st b/packages/Liquid-Tests.package/LQToolbuilderTests.class/instance/testPollDraftMenuCanBeBuilt.st index 5a8325b1..a426edad 100644 --- a/packages/Liquid-Tests.package/LQToolbuilderTests.class/instance/testPollDraftMenuCanBeBuilt.st +++ b/packages/Liquid-Tests.package/LQToolbuilderTests.class/instance/testPollDraftMenuCanBeBuilt.st @@ -1,5 +1,6 @@ testing testPollDraftMenuCanBeBuilt + | pollDraftMenu | pollDraftMenu := LQPollDraftMenu new. ToolBuilder open: pollDraftMenu. diff --git a/packages/Liquid-Tests.package/LQToolbuilderTests.class/instance/testUserSetMenuCanBeBuilt.st b/packages/Liquid-Tests.package/LQToolbuilderTests.class/instance/testUserSetMenuCanBeBuilt.st index 3a528435..7d6ad591 100644 --- a/packages/Liquid-Tests.package/LQToolbuilderTests.class/instance/testUserSetMenuCanBeBuilt.st +++ b/packages/Liquid-Tests.package/LQToolbuilderTests.class/instance/testUserSetMenuCanBeBuilt.st @@ -2,7 +2,6 @@ testing testUserSetMenuCanBeBuilt | userSetMenu | - userSetMenu := LQUserSetMenu new. ToolBuilder open: userSetMenu. diff --git a/packages/Liquid-Tests.package/LQToolbuilderTests.class/methodProperties.json b/packages/Liquid-Tests.package/LQToolbuilderTests.class/methodProperties.json index 805921c4..30c05d35 100644 --- a/packages/Liquid-Tests.package/LQToolbuilderTests.class/methodProperties.json +++ b/packages/Liquid-Tests.package/LQToolbuilderTests.class/methodProperties.json @@ -2,15 +2,15 @@ "class" : { }, "instance" : { - "createPollDraftWith:and:" : "JT 8/4/2022 23:57", - "createQ1" : "JT 8/5/2022 19:17", - "createQ2" : "JT 8/5/2022 19:17", + "createPollDraftWith:and:" : "FLST 7/12/2024 15:55", + "createQ1" : "FLST 7/12/2024 15:55", + "createQ2" : "FLST 7/12/2024 15:55", "poll" : "JT 8/2/2022 17:43", "poll:" : "bn 8/4/2022 19:28", "pollDraft" : "JT 8/2/2022 17:43", "pollDraft:" : "bn 8/4/2022 19:28", - "setUp" : "JT 8/5/2022 19:17", - "testHostMenuCanBeBuilt" : "bwe 6/26/2022 13:48", - "testParticipantMenuCanBeBuilt" : "JT 8/5/2022 19:17", - "testPollDraftMenuCanBeBuilt" : "FLST 7/8/2024 17:26", - "testUserSetMenuCanBeBuilt" : "bwe 6/26/2022 13:52" } } + "setUp" : "FLST 7/12/2024 15:55", + "testHostMenuCanBeBuilt" : "FLST 7/12/2024 15:55", + "testParticipantMenuCanBeBuilt" : "FLST 7/12/2024 15:55", + "testPollDraftMenuCanBeBuilt" : "FLST 7/12/2024 15:55", + "testUserSetMenuCanBeBuilt" : "FLST 7/12/2024 15:55" } } diff --git a/packages/Liquid-Tests.package/LQUserSetMenuTests.class/instance/checkEqualityOf.and..st b/packages/Liquid-Tests.package/LQUserSetMenuTests.class/instance/checkEqualityOf.and..st index 6a66c036..4b29da8a 100644 --- a/packages/Liquid-Tests.package/LQUserSetMenuTests.class/instance/checkEqualityOf.and..st +++ b/packages/Liquid-Tests.package/LQUserSetMenuTests.class/instance/checkEqualityOf.and..st @@ -1,6 +1,6 @@ helper methods checkEqualityOf: aLQUserSet and: anotherLQUserSet - ^(aLQUserSet id = anotherLQUserSet id) + ^ aLQUserSet id = anotherLQUserSet id and: [aLQUserSet title = anotherLQUserSet title] and: [aLQUserSet userEntries size = anotherLQUserSet userEntries size] \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQUserSetMenuTests.class/instance/setUp.st b/packages/Liquid-Tests.package/LQUserSetMenuTests.class/instance/setUp.st index fe9ee1e8..1ff5adab 100644 --- a/packages/Liquid-Tests.package/LQUserSetMenuTests.class/instance/setUp.st +++ b/packages/Liquid-Tests.package/LQUserSetMenuTests.class/instance/setUp.st @@ -3,8 +3,8 @@ setUp super setUp. ToolBuilder open: self userSetMenu. - self userSet: (LQUserSet new - id: UUID new asString; - title: 'lorem ipsum Meine Oma fährt im Hühnerstall Motorrad'; - addUser: LQUserSetTests new createUser1; - yourself) \ No newline at end of file + self userSet: (LQUserSet new + id: UUID new asString; + title: 'lorem ipsum Meine Oma fährt im Hühnerstall Motorrad'; + addUser: LQUserSetTests new createUser1; + yourself) \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQUserSetMenuTests.class/instance/tearDown.st b/packages/Liquid-Tests.package/LQUserSetMenuTests.class/instance/tearDown.st index c8f7ea73..54e21bf8 100644 --- a/packages/Liquid-Tests.package/LQUserSetMenuTests.class/instance/tearDown.st +++ b/packages/Liquid-Tests.package/LQUserSetMenuTests.class/instance/tearDown.st @@ -1,5 +1,5 @@ running tearDown - + self userSetMenu destroy. super tearDown \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQUserSetMenuTests.class/instance/testAddUserSet.st b/packages/Liquid-Tests.package/LQUserSetMenuTests.class/instance/testAddUserSet.st index 86cdf9fc..b1d60a77 100644 --- a/packages/Liquid-Tests.package/LQUserSetMenuTests.class/instance/testAddUserSet.st +++ b/packages/Liquid-Tests.package/LQUserSetMenuTests.class/instance/testAddUserSet.st @@ -2,10 +2,7 @@ testing testAddUserSet | previousSize | - previousSize := self userSetMenu userSets size. self userSet addToRepo. self assert: self userSetMenu userSets size equals: previousSize + 1. - self assert: (self userSetMenu userSets contains: - [ :currentUserSet | - self checkEqualityOf: currentUserSet and: self userSet]) \ No newline at end of file + self assert: (self userSetMenu userSets contains: [:currentUserSet | self checkEqualityOf: currentUserSet and: self userSet]) \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQUserSetMenuTests.class/instance/testRemoveUserSet.st b/packages/Liquid-Tests.package/LQUserSetMenuTests.class/instance/testRemoveUserSet.st index b4170183..dd5c5ec3 100644 --- a/packages/Liquid-Tests.package/LQUserSetMenuTests.class/instance/testRemoveUserSet.st +++ b/packages/Liquid-Tests.package/LQUserSetMenuTests.class/instance/testRemoveUserSet.st @@ -7,6 +7,4 @@ testRemoveUserSet self userSetMenu choiceSelected: 1. self userSetMenu removeSelectedUserSet. self assert: self userSetMenu userSets size equals: previousSize - 1. - self deny: (self userSetMenu userSets contains: - [ :currentUserSet | - self checkEqualityOf: currentUserSet and: self userSet]) \ No newline at end of file + self deny: (self userSetMenu userSets contains: [:currentUserSet | self checkEqualityOf: currentUserSet and: self userSet]) \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQUserSetMenuTests.class/instance/userSetMenu.st b/packages/Liquid-Tests.package/LQUserSetMenuTests.class/instance/userSetMenu.st index 87c9d7d6..6edfaf5c 100644 --- a/packages/Liquid-Tests.package/LQUserSetMenuTests.class/instance/userSetMenu.st +++ b/packages/Liquid-Tests.package/LQUserSetMenuTests.class/instance/userSetMenu.st @@ -1,4 +1,4 @@ accessing userSetMenu - - ^ userSetMenu ifNil: [^userSetMenu := LQUserSetMenu new] \ No newline at end of file + + ^ userSetMenu ifNil: [^ userSetMenu := LQUserSetMenu new] \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQUserSetMenuTests.class/methodProperties.json b/packages/Liquid-Tests.package/LQUserSetMenuTests.class/methodProperties.json index 47f8a481..52f5e548 100644 --- a/packages/Liquid-Tests.package/LQUserSetMenuTests.class/methodProperties.json +++ b/packages/Liquid-Tests.package/LQUserSetMenuTests.class/methodProperties.json @@ -2,12 +2,12 @@ "class" : { }, "instance" : { - "checkEqualityOf:and:" : "JT 8/2/2022 17:42", - "setUp" : "kge 8/1/2022 20:38", - "tearDown" : "JT 8/2/2022 17:42", - "testAddUserSet" : "bn 8/5/2022 20:45", - "testRemoveUserSet" : "ms 8/5/2022 20:19", + "checkEqualityOf:and:" : "FLST 7/12/2024 15:55", + "setUp" : "FLST 7/12/2024 15:55", + "tearDown" : "FLST 7/12/2024 15:55", + "testAddUserSet" : "FLST 7/12/2024 15:55", + "testRemoveUserSet" : "FLST 7/12/2024 15:55", "userSet" : "JT 8/2/2022 17:43", "userSet:" : "bn 8/4/2022 19:29", - "userSetMenu" : "ms 6/27/2022 10:36", + "userSetMenu" : "FLST 7/12/2024 15:55", "userSetMenu:" : "bn 8/4/2022 19:28" } } diff --git a/packages/Liquid-Tests.package/LQUserSetSelectionMenuTests.class/instance/userSetMenu.st b/packages/Liquid-Tests.package/LQUserSetSelectionMenuTests.class/instance/userSetMenu.st index 4e20ac6f..9bd593d0 100644 --- a/packages/Liquid-Tests.package/LQUserSetSelectionMenuTests.class/instance/userSetMenu.st +++ b/packages/Liquid-Tests.package/LQUserSetSelectionMenuTests.class/instance/userSetMenu.st @@ -1,4 +1,4 @@ accessing userSetMenu - - ^ userSetMenu ifNil: [^userSetMenu := LQUserSetSelectionMenu new] \ No newline at end of file + + ^ userSetMenu ifNil: [^ userSetMenu := LQUserSetSelectionMenu new] \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQUserSetSelectionMenuTests.class/methodProperties.json b/packages/Liquid-Tests.package/LQUserSetSelectionMenuTests.class/methodProperties.json index 56133f3f..25ba7bfb 100644 --- a/packages/Liquid-Tests.package/LQUserSetSelectionMenuTests.class/methodProperties.json +++ b/packages/Liquid-Tests.package/LQUserSetSelectionMenuTests.class/methodProperties.json @@ -5,4 +5,4 @@ "setUp" : "JT 8/2/2022 17:41", "testClearSelection" : "JT 8/2/2022 17:41", "testSelectUserSet" : "JT 8/2/2022 17:41", - "userSetMenu" : "ms 6/27/2022 10:37" } } + "userSetMenu" : "FLST 7/12/2024 15:55" } } diff --git a/packages/Liquid-Tests.package/LQUserSetTests.class/instance/compareUser1.user2..st b/packages/Liquid-Tests.package/LQUserSetTests.class/instance/compareUser1.user2..st index 9d85a581..ea319c14 100644 --- a/packages/Liquid-Tests.package/LQUserSetTests.class/instance/compareUser1.user2..st +++ b/packages/Liquid-Tests.package/LQUserSetTests.class/instance/compareUser1.user2..st @@ -1,7 +1,7 @@ helper methods compareUser1: aLQUser1 user2: aLQUser2 - ^ (aLQUser1 firstname = aLQUser2 firstname) - and: (aLQUser1 surname = aLQUser2 surname) - and: (aLQUser1 mail = aLQUser2 mail) - and: (aLQUser1 group = aLQUser2 group) \ No newline at end of file + ^ aLQUser1 firstname = aLQUser2 firstname + and: aLQUser1 surname = aLQUser2 surname + and: aLQUser1 mail = aLQUser2 mail + and: aLQUser1 group = aLQUser2 group \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQUserSetTests.class/instance/setUp.st b/packages/Liquid-Tests.package/LQUserSetTests.class/instance/setUp.st index 8ad8d187..d9d549b5 100644 --- a/packages/Liquid-Tests.package/LQUserSetTests.class/instance/setUp.st +++ b/packages/Liquid-Tests.package/LQUserSetTests.class/instance/setUp.st @@ -2,7 +2,6 @@ running setUp super setUp. - self + self user1: self createUser1; - user2: self createUser2 - \ No newline at end of file + user2: self createUser2 \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQUserSetTests.class/instance/testAddOneUser.st b/packages/Liquid-Tests.package/LQUserSetTests.class/instance/testAddOneUser.st index 77c64d0d..c4aa1115 100644 --- a/packages/Liquid-Tests.package/LQUserSetTests.class/instance/testAddOneUser.st +++ b/packages/Liquid-Tests.package/LQUserSetTests.class/instance/testAddOneUser.st @@ -2,9 +2,7 @@ testing testAddOneUser | userSet | - - userSet := LQUserSet new - addUser: self user1. + userSet := LQUserSet new addUser: self user1. self assert: userSet userEntries size equals: 1. self assert: (userSet userEntries includes: self user1) \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQUserSetTests.class/instance/testAddToRepo.st b/packages/Liquid-Tests.package/LQUserSetTests.class/instance/testAddToRepo.st index 6398b54f..7d09de11 100644 --- a/packages/Liquid-Tests.package/LQUserSetTests.class/instance/testAddToRepo.st +++ b/packages/Liquid-Tests.package/LQUserSetTests.class/instance/testAddToRepo.st @@ -2,12 +2,11 @@ testing testAddToRepo | userSet myUUID | - myUUID := UUID new. userSet := LQUserSet new. - userSet id: myUUID; + userSet + id: myUUID; title: 'lorem ipsum Meine Oma fährt im Hühnerstall Motorrad'; addToRepo. self assert: (LQUserSetRepo default at: myUUID) title equals: userSet title. - LQUserSetRepo default removeKey: myUUID - \ No newline at end of file + LQUserSetRepo default removeKey: myUUID \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQUserSetTests.class/instance/testAddTwoUsers.st b/packages/Liquid-Tests.package/LQUserSetTests.class/instance/testAddTwoUsers.st index d4cf1e53..9aec8c1e 100644 --- a/packages/Liquid-Tests.package/LQUserSetTests.class/instance/testAddTwoUsers.st +++ b/packages/Liquid-Tests.package/LQUserSetTests.class/instance/testAddTwoUsers.st @@ -2,7 +2,6 @@ testing testAddTwoUsers | userSet | - userSet := LQUserSet new addUser: self user1; addUser: self user2; diff --git a/packages/Liquid-Tests.package/LQUserSetTests.class/instance/testAsString.st b/packages/Liquid-Tests.package/LQUserSetTests.class/instance/testAsString.st index cc376e28..cdf29f7c 100644 --- a/packages/Liquid-Tests.package/LQUserSetTests.class/instance/testAsString.st +++ b/packages/Liquid-Tests.package/LQUserSetTests.class/instance/testAsString.st @@ -4,5 +4,4 @@ testAsString | userSet | userSet := LQUserSet new. userSet title: 'Lorem ipsum'. - self assert: userSet asString equals: 'Lorem ipsum' - \ No newline at end of file + self assert: userSet asString equals: 'Lorem ipsum' \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQUserSetTests.class/instance/testContainsUserWithId.st b/packages/Liquid-Tests.package/LQUserSetTests.class/instance/testContainsUserWithId.st index 64372354..0994bd46 100644 --- a/packages/Liquid-Tests.package/LQUserSetTests.class/instance/testContainsUserWithId.st +++ b/packages/Liquid-Tests.package/LQUserSetTests.class/instance/testContainsUserWithId.st @@ -2,9 +2,7 @@ testing testContainsUserWithId | userSet | - - userSet := LQUserSet new - addUser: self user1. + userSet := LQUserSet new addUser: self user1. self assert: (userSet containsUserWithToken: self user1 token). self deny: (userSet containsUserWithToken: self user2 token). self deny: (userSet containsUserWithToken: -1). diff --git a/packages/Liquid-Tests.package/LQUserSetTests.class/instance/testCreateFromCSV.st b/packages/Liquid-Tests.package/LQUserSetTests.class/instance/testCreateFromCSV.st index cced64b9..7ecea52e 100644 --- a/packages/Liquid-Tests.package/LQUserSetTests.class/instance/testCreateFromCSV.st +++ b/packages/Liquid-Tests.package/LQUserSetTests.class/instance/testCreateFromCSV.st @@ -2,14 +2,13 @@ testing testCreateFromCSV | userSet1 userSet2 stream | - userSet1 := LQUserSet new addUser: self user1; addUser: self user2; yourself. - + stream := ReadStream on: 'erika,musterfrau,erika.mustermann@hotmail.com,group1 Ash,Ketchum,ash@mail.com,Rocket'. userSet2 := LQUserSet createFromFile: stream. - self assert: (self compareUser1: (userSet1 userEntries first) user2: (userSet2 userEntries first)). - self assert: (self compareUser1: (userSet1 userEntries second) user2: (userSet2 userEntries second)) + self assert: (self compareUser1: userSet1 userEntries first user2: userSet2 userEntries first). + self assert: (self compareUser1: userSet1 userEntries second user2: userSet2 userEntries second) \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQUserSetTests.class/instance/testInitiallyEmpty.st b/packages/Liquid-Tests.package/LQUserSetTests.class/instance/testInitiallyEmpty.st index 3bb94a94..bf39b3c0 100644 --- a/packages/Liquid-Tests.package/LQUserSetTests.class/instance/testInitiallyEmpty.st +++ b/packages/Liquid-Tests.package/LQUserSetTests.class/instance/testInitiallyEmpty.st @@ -2,6 +2,5 @@ testing testInitiallyEmpty | userSet | - userSet := LQUserSet new. self assert: userSet userEntries size equals: 0 \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQUserSetTests.class/instance/testUserNewFromCollection.st b/packages/Liquid-Tests.package/LQUserSetTests.class/instance/testUserNewFromCollection.st index 2377f5bf..e742313b 100644 --- a/packages/Liquid-Tests.package/LQUserSetTests.class/instance/testUserNewFromCollection.st +++ b/packages/Liquid-Tests.package/LQUserSetTests.class/instance/testUserNewFromCollection.st @@ -1,5 +1,5 @@ testing testUserNewFromCollection - self user1: (LQUser newFromCollection: {'Ash' . 'Ketchum' . 'ash@mail.com' . 'Rocket'}). + self user1: (LQUser newFromCollection: {'Ash'. 'Ketchum'. 'ash@mail.com'. 'Rocket'}). self assert: (self compareUser1: self user2 user2: self user1) \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQUserSetTests.class/methodProperties.json b/packages/Liquid-Tests.package/LQUserSetTests.class/methodProperties.json index 9b66be6e..2c2b34d8 100644 --- a/packages/Liquid-Tests.package/LQUserSetTests.class/methodProperties.json +++ b/packages/Liquid-Tests.package/LQUserSetTests.class/methodProperties.json @@ -2,18 +2,18 @@ "class" : { }, "instance" : { - "compareUser1:user2:" : "JT 8/2/2022 17:38", + "compareUser1:user2:" : "FLST 7/12/2024 15:55", "createUser1" : "JT 8/2/2022 17:39", "createUser2" : "JT 8/2/2022 17:39", - "setUp" : "JT 8/2/2022 17:39", - "testAddOneUser" : "ape 6/6/2022 08:31", - "testAddToRepo" : "JT 8/5/2022 19:24", - "testAddTwoUsers" : "JT 8/2/2022 17:40", - "testAsString" : "bn 5/26/2022 21:16", - "testContainsUserWithId" : "JT 8/2/2022 17:40", - "testCreateFromCSV" : "bn 8/5/2022 20:55", - "testInitiallyEmpty" : "JT 8/2/2022 17:41", - "testUserNewFromCollection" : "kge 8/1/2022 19:06", + "setUp" : "FLST 7/12/2024 15:55", + "testAddOneUser" : "FLST 7/12/2024 15:55", + "testAddToRepo" : "FLST 7/12/2024 15:55", + "testAddTwoUsers" : "FLST 7/12/2024 15:55", + "testAsString" : "FLST 7/12/2024 15:55", + "testContainsUserWithId" : "FLST 7/12/2024 15:55", + "testCreateFromCSV" : "FLST 7/12/2024 15:55", + "testInitiallyEmpty" : "FLST 7/12/2024 15:55", + "testUserNewFromCollection" : "FLST 7/12/2024 15:55", "user1" : "JT 8/2/2022 17:41", "user1:" : "bn 8/4/2022 19:29", "user2" : "JT 8/2/2022 17:41", diff --git a/packages/Liquid-Tests.package/LQVisualizationTests.class/instance/setUp.st b/packages/Liquid-Tests.package/LQVisualizationTests.class/instance/setUp.st index a73c11e6..6cc85d8e 100644 --- a/packages/Liquid-Tests.package/LQVisualizationTests.class/instance/setUp.st +++ b/packages/Liquid-Tests.package/LQVisualizationTests.class/instance/setUp.st @@ -9,5 +9,5 @@ setUp self visualizationControls: (LQVisualizationControls newWithPoll: self poll). - ToolBuilder open: (self visualizationControls). - ToolBuilder open: (self visualizationControls) + ToolBuilder open: self visualizationControls. + ToolBuilder open: self visualizationControls \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQVisualizationTests.class/instance/testBarChartMorphChangedOnQuestionSelectionChanged.st b/packages/Liquid-Tests.package/LQVisualizationTests.class/instance/testBarChartMorphChangedOnQuestionSelectionChanged.st index 7653cf2b..6001f136 100644 --- a/packages/Liquid-Tests.package/LQVisualizationTests.class/instance/testBarChartMorphChangedOnQuestionSelectionChanged.st +++ b/packages/Liquid-Tests.package/LQVisualizationTests.class/instance/testBarChartMorphChangedOnQuestionSelectionChanged.st @@ -1,14 +1,11 @@ testing testBarChartMorphChangedOnQuestionSelectionChanged - + | visualizationOfFirstQuestion visualizationOfSecondQuestion | - self visualizationControls questionIndex: 1. visualizationOfFirstQuestion := self visualizationControls wrapperMorph submorphs first. - self visualizationControls questionIndex: 2. + self visualizationControls questionIndex: 2. visualizationOfSecondQuestion := self visualizationControls wrapperMorph submorphs first. - self assert: (visualizationOfFirstQuestion = visualizationOfSecondQuestion) not - - \ No newline at end of file + self assert: (visualizationOfFirstQuestion = visualizationOfSecondQuestion) not \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQVisualizationTests.class/instance/testConvenienceMethodsReturnPropertiesOfFirstQuestion.st b/packages/Liquid-Tests.package/LQVisualizationTests.class/instance/testConvenienceMethodsReturnPropertiesOfFirstQuestion.st index 2fde03b3..30ee9ae4 100644 --- a/packages/Liquid-Tests.package/LQVisualizationTests.class/instance/testConvenienceMethodsReturnPropertiesOfFirstQuestion.st +++ b/packages/Liquid-Tests.package/LQVisualizationTests.class/instance/testConvenienceMethodsReturnPropertiesOfFirstQuestion.st @@ -2,10 +2,11 @@ testing testConvenienceMethodsReturnPropertiesOfFirstQuestion | visualizationView | - visualizationView := LQVisualizationView newWithPoll: self poll. - - self assert: (visualizationView sortData) - equals: (visualizationView sortDataFor: (self poll pollDraft questionList first)). - self assert: (visualizationView data) - equals: (visualizationView dataFor: (self poll pollDraft questionList first)). \ No newline at end of file + + self + assert: visualizationView sortData + equals: (visualizationView sortDataFor: self poll pollDraft questionList first). + self + assert: visualizationView data + equals: (visualizationView dataFor: self poll pollDraft questionList first) \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQVisualizationTests.class/instance/testMultipleQuestionsInListView.st b/packages/Liquid-Tests.package/LQVisualizationTests.class/instance/testMultipleQuestionsInListView.st index 663dc77a..fc14d680 100644 --- a/packages/Liquid-Tests.package/LQVisualizationTests.class/instance/testMultipleQuestionsInListView.st +++ b/packages/Liquid-Tests.package/LQVisualizationTests.class/instance/testMultipleQuestionsInListView.st @@ -1,4 +1,4 @@ testing testMultipleQuestionsInListView - self assert: (self visualizationControls questionList size) equals: 2 \ No newline at end of file + self assert: self visualizationControls questionList size equals: 2 \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQVisualizationTests.class/instance/testVisualizationDisplayedAfterInitialization.st b/packages/Liquid-Tests.package/LQVisualizationTests.class/instance/testVisualizationDisplayedAfterInitialization.st index 5b101a58..ada3e9cc 100644 --- a/packages/Liquid-Tests.package/LQVisualizationTests.class/instance/testVisualizationDisplayedAfterInitialization.st +++ b/packages/Liquid-Tests.package/LQVisualizationTests.class/instance/testVisualizationDisplayedAfterInitialization.st @@ -1,4 +1,4 @@ testing testVisualizationDisplayedAfterInitialization - self assert: (self visualizationControls wrapperMorph submorphs size) equals: 1 \ No newline at end of file + self assert: self visualizationControls wrapperMorph submorphs size equals: 1 \ No newline at end of file diff --git a/packages/Liquid-Tests.package/LQVisualizationTests.class/methodProperties.json b/packages/Liquid-Tests.package/LQVisualizationTests.class/methodProperties.json index 10ba1b7b..8dbf93b8 100644 --- a/packages/Liquid-Tests.package/LQVisualizationTests.class/methodProperties.json +++ b/packages/Liquid-Tests.package/LQVisualizationTests.class/methodProperties.json @@ -2,11 +2,11 @@ "class" : { }, "instance" : { - "setUp" : "ms 8/5/2022 20:40", + "setUp" : "FLST 7/12/2024 15:55", "tearDown" : "kge 6/26/2022 22:13", - "testBarChartMorphChangedOnQuestionSelectionChanged" : "Anton Eichstädt 7/11/2024 15:48", - "testConvenienceMethodsReturnPropertiesOfFirstQuestion" : "Anton Eichstädt 7/11/2024 15:27", - "testMultipleQuestionsInListView" : "bwe 6/26/2022 17:21", - "testVisualizationDisplayedAfterInitialization" : "bwe 6/26/2022 17:22", + "testBarChartMorphChangedOnQuestionSelectionChanged" : "FLST 7/12/2024 15:55", + "testConvenienceMethodsReturnPropertiesOfFirstQuestion" : "FLST 7/12/2024 15:55", + "testMultipleQuestionsInListView" : "FLST 7/12/2024 15:55", + "testVisualizationDisplayedAfterInitialization" : "FLST 7/12/2024 15:55", "visualizationControls" : "JT 8/2/2022 17:38", "visualizationControls:" : "JT 8/2/2022 17:38" } } diff --git a/packages/Liquid-UI.package/LQHostMenu.class/instance/closePoll.st b/packages/Liquid-UI.package/LQHostMenu.class/instance/closePoll.st index df8d37af..3a37cedd 100644 --- a/packages/Liquid-UI.package/LQHostMenu.class/instance/closePoll.st +++ b/packages/Liquid-UI.package/LQHostMenu.class/instance/closePoll.st @@ -1,9 +1,9 @@ modifying closePoll - (LQRemotePollRepoServer pollRepo - at: self currentPollID - ifAbsent: [^ 'This poll does not exist.']) closeWithPassword: (LQPasswordManager default - findPasswordFor: self currentPollID - ifAbsent: [^ UIManager default inform: 'You don''t have access to this poll.']). - self changed: #closePollButtonEnabled \ No newline at end of file + (LQRemotePollRepoServer pollRepo + at: self currentPollID + ifAbsent: [^ 'This poll does not exist.']) closeWithPassword: (LQPasswordManager default + findPasswordFor: self currentPollID + ifAbsent: [^ UIManager default inform: 'You don''t have access to this poll.']). + self changed: #closePollButtonEnabled \ No newline at end of file diff --git a/packages/Liquid-UI.package/LQHostMenu.class/instance/closePollButtonEnabled.st b/packages/Liquid-UI.package/LQHostMenu.class/instance/closePollButtonEnabled.st index 04a62310..a1ee67d1 100644 --- a/packages/Liquid-UI.package/LQHostMenu.class/instance/closePollButtonEnabled.st +++ b/packages/Liquid-UI.package/LQHostMenu.class/instance/closePollButtonEnabled.st @@ -1,4 +1,4 @@ toolbuilder closePollButtonEnabled - ^ (self pollSelected) and: [(LQRemotePollRepoServer pollRepo at: self currentPollID) isOpen] \ No newline at end of file + ^ self pollSelected and: [(LQRemotePollRepoServer pollRepo at: self currentPollID) isOpen] \ No newline at end of file diff --git a/packages/Liquid-UI.package/LQHostMenu.class/instance/copyPollLink.st b/packages/Liquid-UI.package/LQHostMenu.class/instance/copyPollLink.st index a7baa89d..afa3dbdd 100644 --- a/packages/Liquid-UI.package/LQHostMenu.class/instance/copyPollLink.st +++ b/packages/Liquid-UI.package/LQHostMenu.class/instance/copyPollLink.st @@ -1,8 +1,8 @@ modifying copyPollLink - Clipboard clipboardText: self currentLink asText. - "Interacting with clipboard takes a bit of time + Clipboard clipboardText: self currentLink asText. + "Interacting with clipboard takes a bit of time otherwise we get faulty results when quickly accessing the Clipboard afterwards" - (Delay forSeconds: self clipboardDelay) wait \ No newline at end of file + (Delay forSeconds: self clipboardDelay) wait \ No newline at end of file diff --git a/packages/Liquid-UI.package/LQHostMenu.class/instance/deletePoll.st b/packages/Liquid-UI.package/LQHostMenu.class/instance/deletePoll.st index c8a74748..7c9f15fd 100644 --- a/packages/Liquid-UI.package/LQHostMenu.class/instance/deletePoll.st +++ b/packages/Liquid-UI.package/LQHostMenu.class/instance/deletePoll.st @@ -1,8 +1,8 @@ modifying deletePoll - LQRemotePollRepoServer pollRepo - at: self currentPollID - ifAbsent: [^ 'This poll does not exist.']. - LQRemotePollRepoServer pollRepo removeKey: self currentPollID. - self setIndex: self pollList size \ No newline at end of file + LQRemotePollRepoServer pollRepo + at: self currentPollID + ifAbsent: [^ 'This poll does not exist.']. + LQRemotePollRepoServer pollRepo removeKey: self currentPollID. + self setIndex: self pollList size \ No newline at end of file diff --git a/packages/Liquid-UI.package/LQHostMenu.class/instance/exportResults.st b/packages/Liquid-UI.package/LQHostMenu.class/instance/exportResults.st index a818e64b..26e973d0 100644 --- a/packages/Liquid-UI.package/LQHostMenu.class/instance/exportResults.st +++ b/packages/Liquid-UI.package/LQHostMenu.class/instance/exportResults.st @@ -1,7 +1,7 @@ modifying exportResults - LQRemotePollRepoServer pollRepo - at: self currentPollID - ifAbsent: [^ 'This poll does not exist.']. - (LQRemotePollRepoServer pollRepo at: self currentPollID) exportCSV \ No newline at end of file + LQRemotePollRepoServer pollRepo + at: self currentPollID + ifAbsent: [^ 'This poll does not exist.']. + (LQRemotePollRepoServer pollRepo at: self currentPollID) exportCSV \ No newline at end of file diff --git a/packages/Liquid-UI.package/LQHostMenu.class/instance/mailDialogButtonEnabled.st b/packages/Liquid-UI.package/LQHostMenu.class/instance/mailDialogButtonEnabled.st index f1fa46f6..4d129563 100644 --- a/packages/Liquid-UI.package/LQHostMenu.class/instance/mailDialogButtonEnabled.st +++ b/packages/Liquid-UI.package/LQHostMenu.class/instance/mailDialogButtonEnabled.st @@ -1,4 +1,4 @@ toolbuilder mailDialogButtonEnabled - ^ (self pollSelected) and: [(LQRemotePollRepoServer pollRepo at: self currentPollID) requiresAuthentication] \ No newline at end of file + ^ self pollSelected and: [(LQRemotePollRepoServer pollRepo at: self currentPollID) requiresAuthentication] \ No newline at end of file diff --git a/packages/Liquid-UI.package/LQHostMenu.class/instance/pollIDString.st b/packages/Liquid-UI.package/LQHostMenu.class/instance/pollIDString.st index 8f9e557a..7151d4b1 100644 --- a/packages/Liquid-UI.package/LQHostMenu.class/instance/pollIDString.st +++ b/packages/Liquid-UI.package/LQHostMenu.class/instance/pollIDString.st @@ -1,7 +1,6 @@ accessing pollIDString - self currentPoll isZero ifFalse: [ - ^ self currentPollID asString]. + self currentPoll isZero ifFalse: [^ self currentPollID asString]. self pollList ifEmpty: [^ 'No Polls on your Server!']. ^ 'No poll selected!' \ No newline at end of file diff --git a/packages/Liquid-UI.package/LQHostMenu.class/methodProperties.json b/packages/Liquid-UI.package/LQHostMenu.class/methodProperties.json index bc916e6f..89e25e07 100644 --- a/packages/Liquid-UI.package/LQHostMenu.class/methodProperties.json +++ b/packages/Liquid-UI.package/LQHostMenu.class/methodProperties.json @@ -16,10 +16,10 @@ "buildVisualization" : "FLST 7/11/2024 20:44", "buildWith:" : "FLST 7/11/2024 20:44", "clipboardDelay" : "FLST 7/11/2024 20:44", - "closePoll" : "Ingmar Vogel 7/12/2024 11:19", - "closePollButtonEnabled" : "Ingmar Vogel 7/12/2024 11:00", + "closePoll" : "FLST 7/12/2024 15:55", + "closePollButtonEnabled" : "FLST 7/12/2024 15:55", "closePollButtonFrame" : "FLST 7/11/2024 20:44", - "copyPollLink" : "Ingmar Vogel 7/12/2024 11:12", + "copyPollLink" : "FLST 7/12/2024 15:55", "createAnotherPollButtonFrame" : "FLST 7/11/2024 20:44", "createPoll" : "FLST 7/11/2024 20:44", "createPollFromSavedPollsButtonFrame" : "FLST 7/11/2024 20:44", @@ -29,9 +29,9 @@ "currentPollID" : "FLST 7/11/2024 20:44", "currentVisualizationControls" : "FLST 7/11/2024 20:44", "currentVisualizationControls:" : "FLST 7/11/2024 20:44", - "deletePoll" : "Ingmar Vogel 7/12/2024 11:11", + "deletePoll" : "FLST 7/12/2024 15:55", "deletePollButtonFrame" : "FLST 7/11/2024 20:44", - "exportResults" : "Ingmar Vogel 7/12/2024 11:11", + "exportResults" : "FLST 7/12/2024 15:55", "exportResultsButtonFrame" : "FLST 7/11/2024 20:44", "extent" : "6/23/2024 17:58:45", "frame:fromTop:fromLeft:width:" : "FLST 7/11/2024 20:44", @@ -39,12 +39,11 @@ "idCopyButtonFrame" : "FLST 7/11/2024 20:44", "idTextBoxFrameFrame" : "FLST 7/11/2024 20:44", "initialize" : "FLST 7/11/2024 20:44", - "openPollDraftMenu" : "FLST 7/12/2024 10:31", - "mailDialogButtonEnabled" : "Ingmar Vogel 7/12/2024 10:50", + "mailDialogButtonEnabled" : "FLST 7/12/2024 15:55", "openMailDialog" : "Ingmar Vogel 7/12/2024 10:29", "openMailDialogButtonFrame" : "Ingmar Vogel 7/12/2024 10:26", - "openUserSetMenu" : "6/23/2024 17:58:45", - "pollIDString" : "Ingmar Vogel 7/12/2024 11:18", + "openPollDraftMenu" : "FLST 7/12/2024 10:31", + "pollIDString" : "FLST 7/12/2024 15:55", "pollList" : "FLST 7/11/2024 20:44", "pollListFrame" : "FLST 7/11/2024 20:44", "pollSelected" : "Ingmar Vogel 7/12/2024 10:56", diff --git a/packages/Liquid-UI.package/LQPollDraftMenu.class/README.md b/packages/Liquid-UI.package/LQPollDraftMenu.class/README.md index 26fb0e76..1e914327 100644 --- a/packages/Liquid-UI.package/LQPollDraftMenu.class/README.md +++ b/packages/Liquid-UI.package/LQPollDraftMenu.class/README.md @@ -1 +1 @@ -Shows all the saved drafts and lets you open and delete them. +Shows all the saved drafts and lets you open and delete them. diff --git a/packages/Liquid-UI.package/LQSelectionAnswerPanel.class/instance/size.st b/packages/Liquid-UI.package/LQSelectionAnswerPanel.class/instance/size.st index d33ce3c6..e35d7447 100644 --- a/packages/Liquid-UI.package/LQSelectionAnswerPanel.class/instance/size.st +++ b/packages/Liquid-UI.package/LQSelectionAnswerPanel.class/instance/size.st @@ -1,5 +1,5 @@ accessing size - ^ 0 - "If the first question is a FreeTextQuestion, the Pluggable-System will attempt to create a pluggableList from this class, which fails as this is not a Collection. Returning a size of zero will inhibit the creation of set pluggableList and suppresses the associated error." + ^ 0 + "If the first question is a FreeTextQuestion, the Pluggable-System will attempt to create a pluggableList from this class, which fails as this is not a Collection. Returning a size of zero will inhibit the creation of set pluggableList and suppresses the associated error." \ No newline at end of file diff --git a/packages/Liquid-UI.package/LQSelectionAnswerPanel.class/methodProperties.json b/packages/Liquid-UI.package/LQSelectionAnswerPanel.class/methodProperties.json index cd412951..d338734f 100644 --- a/packages/Liquid-UI.package/LQSelectionAnswerPanel.class/methodProperties.json +++ b/packages/Liquid-UI.package/LQSelectionAnswerPanel.class/methodProperties.json @@ -28,5 +28,5 @@ "resetUI" : "FLST 7/11/2024 20:44", "selectedChoices" : "NM 6/7/2021 18:07", "selectedChoices:" : "Anton Eichstädt 5/24/2024 15:56", - "size" : "FLST 7/12/2024 13:20", + "size" : "FLST 7/12/2024 15:55", "updateAnswer" : "Anton Eichstädt 5/24/2024 15:24" } } diff --git a/packages/Liquid-UI.package/LQVisualizationControls.class/instance/setIndex..st b/packages/Liquid-UI.package/LQVisualizationControls.class/instance/setIndex..st index 3518b6ef..a744eec3 100644 --- a/packages/Liquid-UI.package/LQVisualizationControls.class/instance/setIndex..st +++ b/packages/Liquid-UI.package/LQVisualizationControls.class/instance/setIndex..st @@ -1,6 +1,8 @@ accessing setIndex: anIndex - anIndex isZero ifTrue: [^ self]. "As we always want to have exactly one item selected, we have to ignore the deselection command." + + anIndex isZero ifTrue: [^ self]. + "As we always want to have exactly one item selected, we have to ignore the deselection command." (self questionList at: anIndex) isFreeTextQuestion ifTrue: [self newFreeTextViewFor: anIndex] ifFalse: [self newChoicesViewFor: anIndex]. diff --git a/packages/Liquid-UI.package/LQVisualizationControls.class/methodProperties.json b/packages/Liquid-UI.package/LQVisualizationControls.class/methodProperties.json index 932e967f..aae05b5c 100644 --- a/packages/Liquid-UI.package/LQVisualizationControls.class/methodProperties.json +++ b/packages/Liquid-UI.package/LQVisualizationControls.class/methodProperties.json @@ -26,7 +26,7 @@ "questionIndex:" : "FLST 7/11/2024 20:44", "questionList" : "FLST 7/11/2024 20:44", "questionListFrame:" : "FLST 7/11/2024 20:44", - "setIndex:" : "FLST 7/12/2024 13:15", + "setIndex:" : "FLST 7/12/2024 15:55", "startRefreshing" : "FLST 7/11/2024 20:44", "stopRefreshing" : "FLST 7/11/2024 20:44", "wrapperMorph" : "FLST 7/11/2024 20:44",