Skip to content

Commit 0d32fdf

Browse files
committed
Remove asciidoc, markdown and epub related intgeration tests
1 parent 35e1a45 commit 0d32fdf

File tree

5 files changed

+24
-133
lines changed

5 files changed

+24
-133
lines changed

src/Pillar-Tests-Integration/PRIntegrationTest.class.st

Lines changed: 0 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -41,30 +41,12 @@ PRIntegrationTest >> ensureTestDirectory [
4141
projectDirectory ensureCreateDirectory.
4242
]
4343

44-
{ #category : 'parameters' }
45-
PRIntegrationTest >> outputAscii [
46-
47-
^ PRAsciiOutput new
48-
]
49-
50-
{ #category : 'parameters' }
51-
PRIntegrationTest >> outputEPub [
52-
53-
^ PREPubOutput new
54-
]
55-
5644
{ #category : 'parameters' }
5745
PRIntegrationTest >> outputHtml [
5846

5947
^ PRHtmlOutput new
6048
]
6149

62-
{ #category : 'parameters' }
63-
PRIntegrationTest >> outputMarkdown [
64-
65-
^ PRMarkdownOutput new
66-
]
67-
6850
{ #category : 'parameters' }
6951
PRIntegrationTest >> outputPdf [
7052

@@ -114,13 +96,6 @@ PRIntegrationTest >> testBasicLatexPdf [
11496
self assert: (project outputDirectory / 'pdf' / 'index.pdf') exists.
11597
]
11698

117-
{ #category : 'tests' }
118-
PRIntegrationTest >> testBookAscii [
119-
120-
self testArchetype: self archetypeBook output: self outputAscii.
121-
self assert: (project outputDirectory / 'ascii' / 'index.ascii') exists.
122-
]
123-
12499
{ #category : 'tests' }
125100
PRIntegrationTest >> testBookEpub [
126101
| archive |
@@ -145,13 +120,6 @@ PRIntegrationTest >> testBookHtml [
145120
self assert: (project outputDirectory / 'html' / 'index.html') exists.
146121
]
147122

148-
{ #category : 'tests' }
149-
PRIntegrationTest >> testBookMarkdown [
150-
151-
self testArchetype: self archetypeBook output: self outputMarkdown.
152-
self assert: (project outputDirectory / 'markdown' / 'index.markdown') exists.
153-
]
154-
155123
{ #category : 'tests' }
156124
PRIntegrationTest >> testBookPdf [
157125
self skip.
@@ -162,27 +130,13 @@ PRIntegrationTest >> testBookPdf [
162130
self assert: (project outputDirectory / 'pdf' / 'index.pdf') exists.
163131
]
164132

165-
{ #category : 'tests' }
166-
PRIntegrationTest >> testPresentationAscii [
167-
168-
self testArchetype: self archetypePresentation output: self outputAscii.
169-
self assert: (project outputDirectory / 'ascii' / 'index.ascii') exists.
170-
]
171-
172133
{ #category : 'tests' }
173134
PRIntegrationTest >> testPresentationHtml [
174135

175136
self testArchetype: self archetypePresentation output: self outputHtml.
176137
self assert: (project outputDirectory / 'html' / 'index.html') exists.
177138
]
178139

179-
{ #category : 'tests' }
180-
PRIntegrationTest >> testPresentationMarkdown [
181-
182-
self testArchetype: self archetypePresentation output: self outputMarkdown.
183-
self assert: (project outputDirectory / 'markdown' / 'index.markdown') exists.
184-
]
185-
186140
{ #category : 'tests' }
187141
PRIntegrationTest >> testPresentationPdf [
188142

@@ -194,27 +148,13 @@ PRIntegrationTest >> testPresentationPdf [
194148
self assert: (project outputDirectory / 'pdf' / 'index.pdf') exists.
195149
]
196150

197-
{ #category : 'tests' }
198-
PRIntegrationTest >> testWelcomeAscii [
199-
200-
self testArchetype: self archetypeWelcome output: self outputAscii.
201-
self assert: (project outputDirectory / 'ascii' / 'index.ascii') exists.
202-
]
203-
204151
{ #category : 'tests' }
205152
PRIntegrationTest >> testWelcomeHtml [
206153

207154
self testArchetype: self archetypeWelcome output: self outputHtml.
208155
self assert: (project outputDirectory / 'html' / 'index.html') exists.
209156
]
210157

211-
{ #category : 'tests' }
212-
PRIntegrationTest >> testWelcomeMarkdown [
213-
214-
self testArchetype: self archetypeWelcome output: self outputMarkdown.
215-
self assert: (project outputDirectory / 'markdown' / 'index.markdown') exists
216-
]
217-
218158
{ #category : 'tests' }
219159
PRIntegrationTest >> testWelcomePdf [
220160
self skip.

src/Pillar-Tests-Project/PRBuilderMappingTest.class.st

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
11
Class {
2-
#name : #PRBuilderMappingTest,
3-
#superclass : #TestCase,
4-
#category : 'Pillar-Tests-Project'
2+
#name : 'PRBuilderMappingTest',
3+
#superclass : 'TestCase',
4+
#category : 'Pillar-Tests-Project',
5+
#package : 'Pillar-Tests-Project'
56
}
67

7-
{ #category : #tests }
8+
{ #category : 'tests' }
89
PRBuilderMappingTest >> testBuilderForHtmlIsHtmlBuilder [
910

1011
self assert: (PRTarget builderClassForName: 'html') equals: PRHtmlOutput.
1112
self assert: ((PRTarget builderForName: 'html') isKindOf: PRHtmlOutput)
1213
]
1314

14-
{ #category : #tests }
15+
{ #category : 'tests' }
1516
PRBuilderMappingTest >> testBuilderForPdfIsPdfBuilder [
1617

1718
self assert: (PRTarget builderClassForName: 'pdf') equals: PRPdfOutput

src/Pillar-Tests-Project/ProjectDefaultTargetTest.class.st

Lines changed: 12 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
Class {
2-
#name : #ProjectDefaultTargetTest,
3-
#superclass : #TestCase,
2+
#name : 'ProjectDefaultTargetTest',
3+
#superclass : 'TestCase',
44
#instVars : [
55
'project'
66
],
7-
#category : #'Pillar-Tests-Project'
7+
#category : 'Pillar-Tests-Project',
8+
#package : 'Pillar-Tests-Project'
89
}
910

10-
{ #category : #tests }
11+
{ #category : 'tests' }
1112
ProjectDefaultTargetTest >> configAbsentTargetContent [
1213
^ '{
1314
"base_url": "",
@@ -21,22 +22,7 @@ ProjectDefaultTargetTest >> configAbsentTargetContent [
2122
}'
2223
]
2324

24-
{ #category : #tests }
25-
ProjectDefaultTargetTest >> configAsciiContent [
26-
^ '{
27-
"base_url": "",
28-
"site_name": "Pharo Book",
29-
"title": "The Pillar Super Book Archetype",
30-
"attribution": "The Pillar team",
31-
"series": "Square Bracket tutorials",
32-
"keywords": "project template, Pillar, Pharo, Smalltalk",
33-
"language": "en-UK",
34-
"latexWriter" : #latex,
35-
"defaultExport" : "ascii"
36-
}'
37-
]
38-
39-
{ #category : #tests }
25+
{ #category : 'tests' }
4026
ProjectDefaultTargetTest >> configHTMLContent [
4127
^ '{
4228
"base_url": "",
@@ -51,7 +37,7 @@ ProjectDefaultTargetTest >> configHTMLContent [
5137
}'
5238
]
5339

54-
{ #category : #tests }
40+
{ #category : 'tests' }
5541
ProjectDefaultTargetTest >> configInvalidTargetContent [
5642
^ '{
5743
"base_url": "",
@@ -66,22 +52,7 @@ ProjectDefaultTargetTest >> configInvalidTargetContent [
6652
}'
6753
]
6854

69-
{ #category : #tests }
70-
ProjectDefaultTargetTest >> configMarkdownContent [
71-
^ '{
72-
"base_url": "",
73-
"site_name": "Pharo Book",
74-
"title": "The Pillar Super Book Archetype",
75-
"attribution": "The Pillar team",
76-
"series": "Square Bracket tutorials",
77-
"keywords": "project template, Pillar, Pharo, Smalltalk",
78-
"language": "en-UK",
79-
"latexWriter" : #latex,
80-
"defaultExport" : "markdown"
81-
}'
82-
]
83-
84-
{ #category : #tests }
55+
{ #category : 'tests' }
8556
ProjectDefaultTargetTest >> configPDFContent [
8657
^ '{
8758
"base_url": "",
@@ -96,7 +67,7 @@ ProjectDefaultTargetTest >> configPDFContent [
9667
}'
9768
]
9869

99-
{ #category : #tests }
70+
{ #category : 'tests' }
10071
ProjectDefaultTargetTest >> testDefaultTargetAbsent [
10172
| directory |
10273
directory := FileSystem memory root.
@@ -107,18 +78,7 @@ ProjectDefaultTargetTest >> testDefaultTargetAbsent [
10778
self assert: project defaultTarget equals: PRAbsentTarget
10879
]
10980

110-
{ #category : #tests }
111-
ProjectDefaultTargetTest >> testDefaultTargetAscii [
112-
| directory |
113-
directory := FileSystem memory root.
114-
directory / 'pillar.conf'
115-
writeStreamDo: [ :st | st nextPutAll: self configAsciiContent ].
116-
project := PRProject new baseDirectory: directory.
117-
118-
self assert: project defaultTarget equals: PRAsciiOutput
119-
]
120-
121-
{ #category : #tests }
81+
{ #category : 'tests' }
12282
ProjectDefaultTargetTest >> testDefaultTargetHTML [
12383
| directory |
12484
directory := FileSystem memory root.
@@ -129,7 +89,7 @@ ProjectDefaultTargetTest >> testDefaultTargetHTML [
12989
self assert: project defaultTarget equals: PRHtmlOutput
13090
]
13191

132-
{ #category : #tests }
92+
{ #category : 'tests' }
13393
ProjectDefaultTargetTest >> testDefaultTargetInvalid [
13494
| directory |
13595
directory := FileSystem memory root.
@@ -140,18 +100,7 @@ ProjectDefaultTargetTest >> testDefaultTargetInvalid [
140100
self assert: project defaultTarget equals: PRInvalidTarget
141101
]
142102

143-
{ #category : #tests }
144-
ProjectDefaultTargetTest >> testDefaultTargetMarkdown [
145-
| directory |
146-
directory := FileSystem memory root.
147-
directory / 'pillar.conf'
148-
writeStreamDo: [ :st | st nextPutAll: self configMarkdownContent ].
149-
project := PRProject new baseDirectory: directory.
150-
151-
self assert: project defaultTarget equals: PRMarkdownOutput
152-
]
153-
154-
{ #category : #tests }
103+
{ #category : 'tests' }
155104
ProjectDefaultTargetTest >> testDefaultTargetPDF [
156105
| directory |
157106
directory := FileSystem memory root.

src/Pillar-Tests-Project/ProjectDirectoryTest.class.st

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
Class {
2-
#name : #ProjectDirectoryTest,
3-
#superclass : #TestCase,
4-
#category : #'Pillar-Tests-Project'
2+
#name : 'ProjectDirectoryTest',
3+
#superclass : 'TestCase',
4+
#category : 'Pillar-Tests-Project',
5+
#package : 'Pillar-Tests-Project'
56
}
67

7-
{ #category : #tests }
8+
{ #category : 'tests' }
89
ProjectDirectoryTest >> testDefaultOuputDirectory [
910
| fileSystem project goodDir |
1011

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Package { #name : #'Pillar-Tests-Project' }
1+
Package { #name : 'Pillar-Tests-Project' }

0 commit comments

Comments
 (0)