Skip to content

Commit 8ff9bc0

Browse files
committed
GemTalk/Rowan#953 - generating inital contents for RowanSample9V4
1 parent 95ba938 commit 8ff9bc0

File tree

6 files changed

+52
-29
lines changed

6 files changed

+52
-29
lines changed

README.md

+11-12
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
# RowanSample9V4 - spec_0002
2-
RowanSample4 basic project definition
1+
# RowanSample9V4 - spec_0006
2+
spec_0002 with different symbol dict mappings
33
```
44
RwLoadSpecificationV2 {
5-
#specName : 'spec_0002',
5+
#specName : 'spec_0006',
66
#projectName : 'RowanSample9V4',
77
#gitUrl : '[email protected]:dalehenrich/RowanSample9V4.git',
8-
#revision : 'spec_0002',
8+
#revision : 'spec_0006',
99
#projectSpecFile : 'rowan/project.ston',
1010
#componentNames : [
1111
'Core'
@@ -20,18 +20,17 @@ RwLoadSpecificationV2 {
2020
}
2121
}
2222
},
23-
#comment : 'RowanSample4 basic project definition'
23+
#comment : 'spec_0002 with different symbol dict mappings'
2424
}
2525
2626
RwTestProjectLibraryIndexCard {
27-
#name : 'index_0002',
28-
#title : 'RowanSample4 basic project definition',
29-
#specName : 'spec_0002',
30-
#index : 2,
31-
#derivedFrom : 'spec_0000',
32-
#comment : 'RowanSampe9Class1 has extension methods',
27+
#name : 'index_0006',
28+
#title : 'spec_0002 with different symbol dict mappings',
29+
#specName : 'spec_0006',
30+
#index : 6,
31+
#derivedFrom : 'spec_0002',
32+
#comment : 'RowanSample9-Core, RowanSample9-Extensions, RowanSample9-GemStone, RowanSample9-GemStone-Tests and RowanSample9-Tests packages. Tests ensure that all of the classes are in the proper symbol dictionary',
3333
#rowanIssues : [
34-
254,
3534
504
3635
],
3736
#gemstoneIssues : [ ],

index_0002.ston

-14
This file was deleted.

index_0006.ston

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
RwTestProjectLibraryIndexCard {
2+
#name : 'index_0006',
3+
#title : 'spec_0002 with different symbol dict mappings',
4+
#specName : 'spec_0006',
5+
#index : 6,
6+
#derivedFrom : 'spec_0002',
7+
#comment : 'RowanSample9-Core, RowanSample9-Extensions, RowanSample9-GemStone, RowanSample9-GemStone-Tests and RowanSample9-Tests packages. Tests ensure that all of the classes are in the proper symbol dictionary',
8+
#rowanIssues : [
9+
504
10+
],
11+
#gemstoneIssues : [ ],
12+
#rowanSHA : '6f8404a8c'
13+
}

rowan/components/Core.ston

+17
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,22 @@ RwLoadComponent {
99
'RowanSample9V4-Extensions',
1010
'RowanSample9V4-GemStone'
1111
],
12+
#conditionalPackageMapSpecs : {
13+
'gemstone' : {
14+
'allusers' : {
15+
#packageNameToPlatformPropertiesMap : {
16+
'RowanSample9V4-Core' : {
17+
'symbolDictName' : 'RowanSample9_2'
18+
},
19+
'RowanSample9V4-Extensions' : {
20+
'symbolDictName' : 'RowanSample9_2'
21+
},
22+
'RowanSample9V4-GemStone' : {
23+
'symbolDictName' : 'RowanSample9_3'
24+
}
25+
}
26+
}
27+
}
28+
},
1229
#comment : 'Primary component used for loading the core classes.'
1330
}

rowan/specs/spec_0002.ston rowan/specs/spec_0006.ston

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
RwLoadSpecificationV2 {
2-
#specName : 'spec_0002',
2+
#specName : 'spec_0006',
33
#projectName : 'RowanSample9V4',
44
#gitUrl : '[email protected]:dalehenrich/RowanSample9V4.git',
5-
#revision : 'spec_0002',
5+
#revision : 'spec_0006',
66
#projectSpecFile : 'rowan/project.ston',
77
#componentNames : [
88
'Core'
@@ -17,5 +17,5 @@ RwLoadSpecificationV2 {
1717
}
1818
}
1919
},
20-
#comment : 'RowanSample4 basic project definition'
20+
#comment : 'spec_0002 with different symbol dict mappings'
2121
}

src/RowanSample9V4-Tests/RowanSample9V4TestCase.class.st

+8
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,11 @@ RowanSample9V4TestCase >> test1 [ self assert: RowanSample9V4Class1 new foo = 1
1414
{ #category : 'tests' }
1515
RowanSample9V4TestCase >> test2 [ self assert: RowanSample9V4Class1 bar = 'bar'
1616
]
17+
18+
{ #category : 'tests' }
19+
RowanSample9V4TestCase >> testSymbolDicts [
20+
self assert: ((Rowan image symbolDictNamed: 'RowanSample9_2') includesKey: 'RowanSample9V4Class1' asSymbol).
21+
self assert: ((Rowan image symbolDictNamed: 'RowanSample9_3') includesKey: 'RowanSample9V4IdentityKeyValueDictionary' asSymbol).
22+
self assert: ((Rowan image symbolDictNamed: 'RowanSample9_1') includesKey: 'RowanSample9V4TestCase' asSymbol).
23+
24+
]

0 commit comments

Comments
 (0)