Patrick Rein uploaded a new version of CollectionsTests to project The Trunk:
http://source.squeak.org/trunk/CollectionsTests-pre.272.mcz
==================== Summary ====================
Name: CollectionsTests-pre.272
Author: pre
Time: 21 December 2016, 2:44:36.561014 pm
UUID: 228aa803-a8b5-304c-b759-28f424a0191c
Ancestors: CollectionsTests-topa.271
Moves the failing test for WriteStreams to the expected failures as it does not test any previous implementation but is a feature request.
Also fixes a typo in the selector.
=============== Diff against CollectionsTests-topa.271 ===============
Item was added:
+ ----- Method: WriteStreamTest>>expectedFailures (in category 'tests - character writing') -----
+ expectedFailures
+
+ ^ #( testStreamAlwaysUseGivenCollection )!
Item was removed:
- ----- Method: WriteStreamTest>>testStreamAlwasyUseGivenCollection (in category 'tests - instance creation') -----
- testStreamAlwasyUseGivenCollection
- "self debug: #testStreamUseGivenCollection"
-
- "When a stream is created on a collection, it tries to keep using that collection instead of copying,
- even in the case of mutation of the original collection."
-
- |string stream|
-
- string := String withAll: 'xy'.
- stream := WriteStream on: string.
-
- stream nextPut: $a.
- stream nextPut: (Character codePoint: 269). "wide."
- self assert: string = (String with: $a with: (Character codePoint: 269)).!
Item was added:
+ ----- Method: WriteStreamTest>>testStreamAlwaysUseGivenCollection (in category 'tests - instance creation') -----
+ testStreamAlwaysUseGivenCollection
+ "self debug: #testStreamUseGivenCollection"
+
+ "When a stream is created on a collection, it tries to keep using that collection instead of copying,
+ even in the case of mutation of the original collection."
+
+ "To implement this WriteStream>>#nextPut: might want to use becomeForward for replacing the original
+ string with the new widestring object. Another option might be to throw an exception --pre"
+
+ |string stream|
+
+ string := String withAll: 'xy'.
+ stream := WriteStream on: string.
+
+ stream nextPut: $a.
+ stream nextPut: (Character codePoint: 269). "wide."
+ self assert: string = (String with: $a with: (Character codePoint: 269)).!
Patrick Rein uploaded a new version of ToolBuilder-Tests to project The Trunk:
http://source.squeak.org/trunk/ToolBuilder-Tests-pre.2.mcz
==================== Summary ====================
Name: ToolBuilder-Tests-pre.2
Author: pre
Time: 21 December 2016, 1:07:19.531014 pm
UUID: 9706e343-4e12-6047-ba4b-3e7340265881
Ancestors: ToolBuilder-Tests-cmm.1
Fixes two tests by adding the windowColorToUse callback to the TestCase which is used as a model.
=============== Diff against ToolBuilder-Tests-cmm.1 ===============
Item was added:
+ ----- Method: ToolBuilderTests>>windowColorToUse (in category 'support') -----
+ windowColorToUse
+
+ ^ Color black!
Patrick Rein uploaded a new version of ToolBuilder-Tests to project The Trunk:
http://source.squeak.org/trunk/ToolBuilder-Tests-pre.2.mcz
==================== Summary ====================
Name: ToolBuilder-Tests-pre.2
Author: pre
Time: 21 December 2016, 1:07:19.531014 pm
UUID: 9706e343-4e12-6047-ba4b-3e7340265881
Ancestors: ToolBuilder-Tests-cmm.1
Fixes two tests by adding the windowColorToUse callback to the TestCase which is used as a model.
=============== Diff against ToolBuilder-Tests-cmm.1 ===============
Item was added:
+ ----- Method: ToolBuilderTests>>windowColorToUse (in category 'support') -----
+ windowColorToUse
+
+ ^ Color black!
Patrick Rein uploaded a new version of ToolBuilder-Tests to project The Trunk:
http://source.squeak.org/trunk/ToolBuilder-Tests-pre.2.mcz
==================== Summary ====================
Name: ToolBuilder-Tests-pre.2
Author: pre
Time: 21 December 2016, 1:07:19.531014 pm
UUID: 9706e343-4e12-6047-ba4b-3e7340265881
Ancestors: ToolBuilder-Tests-cmm.1
Fixes two tests by adding the windowColorToUse callback to the TestCase which is used as a model.
=============== Diff against ToolBuilder-Tests-cmm.1 ===============
Item was added:
+ ----- Method: ToolBuilderTests>>windowColorToUse (in category 'support') -----
+ windowColorToUse
+
+ ^ Color black!
Patrick Rein uploaded a new version of ToolBuilder-Tests to project The Trunk:
http://source.squeak.org/trunk/ToolBuilder-Tests-pre.2.mcz
==================== Summary ====================
Name: ToolBuilder-Tests-pre.2
Author: pre
Time: 21 December 2016, 1:07:19.531014 pm
UUID: 9706e343-4e12-6047-ba4b-3e7340265881
Ancestors: ToolBuilder-Tests-cmm.1
Fixes two tests by adding the windowColorToUse callback to the TestCase which is used as a model.
=============== Diff against ToolBuilder-Tests-cmm.1 ===============
Item was added:
+ ----- Method: ToolBuilderTests>>windowColorToUse (in category 'support') -----
+ windowColorToUse
+
+ ^ Color black!
Patrick Rein uploaded a new version of ToolBuilder-Tests to project The Trunk:
http://source.squeak.org/trunk/ToolBuilder-Tests-pre.2.mcz
==================== Summary ====================
Name: ToolBuilder-Tests-pre.2
Author: pre
Time: 21 December 2016, 1:07:19.531014 pm
UUID: 9706e343-4e12-6047-ba4b-3e7340265881
Ancestors: ToolBuilder-Tests-cmm.1
Fixes two tests by adding the windowColorToUse callback to the TestCase which is used as a model.
=============== Diff against ToolBuilder-Tests-cmm.1 ===============
Item was added:
+ ----- Method: ToolBuilderTests>>windowColorToUse (in category 'support') -----
+ windowColorToUse
+
+ ^ Color black!
Hi,
I no longer have access to the email address associated with my Mantis account @ bugs.squeak.org.
Can anyone help me reset my password? If so, please contact me off-list.
I happened to notice that ticket #7235 (from 2008/2009) proposes a useful method, but it mistakenly believes the Unix epoch begins in 1980 instead of 1970.
Thanks,
Tim