diff --git a/src/Microdown-HTMLExporter/Integer.extension.st b/src/Microdown-HTMLExporter/Integer.extension.st
index 4ac5a12c..6905f2bc 100644
--- a/src/Microdown-HTMLExporter/Integer.extension.st
+++ b/src/Microdown-HTMLExporter/Integer.extension.st
@@ -1,6 +1,6 @@
-Extension { #name : #Integer }
+Extension { #name : 'Integer' }
-{ #category : #'*Microdown-HTMLExporter' }
+{ #category : '*Microdown-HTMLExporter' }
Integer >> asFileSizeString [
" From Magritte-Model.MetaGUI-SeanDeNigris.459.mcz "
diff --git a/src/Microdown-HTMLExporter/MicCSSDownloader.class.st b/src/Microdown-HTMLExporter/MicCSSDownloader.class.st
index 6c33e9ec..9317aacb 100644
--- a/src/Microdown-HTMLExporter/MicCSSDownloader.class.st
+++ b/src/Microdown-HTMLExporter/MicCSSDownloader.class.st
@@ -2,35 +2,37 @@
Helper class to download CSS resources.
"
Class {
- #name : #MicCSSDownloader,
- #superclass : #Object,
+ #name : 'MicCSSDownloader',
+ #superclass : 'Object',
#instVars : [
'cssProvider'
],
- #category : #'Microdown-HTMLExporter-CSS'
+ #category : 'Microdown-HTMLExporter-CSS',
+ #package : 'Microdown-HTMLExporter',
+ #tag : 'CSS'
}
-{ #category : #accessing }
+{ #category : 'accessing' }
MicCSSDownloader >> cssProvider [
"Answer the receiver's "
^ cssProvider
]
-{ #category : #accessing }
+{ #category : 'accessing' }
MicCSSDownloader >> cssProvider: anObject [
cssProvider := anObject
]
-{ #category : #'accessing - downloading' }
+{ #category : 'accessing - downloading' }
MicCSSDownloader >> destinationPath [
"Answer a with the location to download the CSS resources"
^ self cssProvider destinationPath
]
-{ #category : #'accessing - downloading' }
+{ #category : 'accessing - downloading' }
MicCSSDownloader >> downloadCSSFramework: cssFramework [
"Download a CSS library using information provided in cssFramework method"
@@ -42,7 +44,7 @@ MicCSSDownloader >> downloadCSSFramework: cssFramework [
self downloadCSSFrameworkFrom: cssFrwThemeUrl minCssUrl ].
]
-{ #category : #'accessing - downloading' }
+{ #category : 'accessing - downloading' }
MicCSSDownloader >> downloadCSSFrameworkFrom: anURLString [
| client url dest |
@@ -58,7 +60,7 @@ MicCSSDownloader >> downloadCSSFrameworkFrom: anURLString [
]
-{ #category : #'accessing - downloading' }
+{ #category : 'accessing - downloading' }
MicCSSDownloader >> downloadCSSFrameworks [
"Download CSS frameworks specified in the receiver's CSS provider"
@@ -68,13 +70,13 @@ MicCSSDownloader >> downloadCSSFrameworks [
]
-{ #category : #accessing }
+{ #category : 'accessing' }
MicCSSDownloader >> frameworks [
^ self cssProvider frameworks
]
-{ #category : #'accessing - downloading' }
+{ #category : 'accessing - downloading' }
MicCSSDownloader >> httpClient [
"Answer a new configured HTTP client for internal use"
diff --git a/src/Microdown-HTMLExporter/MicCSSEntity.class.st b/src/Microdown-HTMLExporter/MicCSSEntity.class.st
index 562754f0..a2a875e2 100644
--- a/src/Microdown-HTMLExporter/MicCSSEntity.class.st
+++ b/src/Microdown-HTMLExporter/MicCSSEntity.class.st
@@ -11,8 +11,8 @@ A CSS entity provides:
The basePath defaults to the value in #defaultBasePath (commonly ""css/""), however, the location of css files could be changed using the setter #basePath: and a folder `String` as parameter.
"
Class {
- #name : #MicCSSEntity,
- #superclass : #Object,
+ #name : 'MicCSSEntity',
+ #superclass : 'Object',
#instVars : [
'name',
'cssUrl',
@@ -22,10 +22,12 @@ Class {
'destinationPath',
'basePath'
],
- #category : #'Microdown-HTMLExporter-CSS'
+ #category : 'Microdown-HTMLExporter-CSS',
+ #package : 'Microdown-HTMLExporter',
+ #tag : 'CSS'
}
-{ #category : #defaults }
+{ #category : 'defaults' }
MicCSSEntity >> basePath [
"Answer a with the location where the receiver will be installed"
@@ -33,7 +35,7 @@ MicCSSEntity >> basePath [
ifNil: [ basePath := self defaultBasePath ]
]
-{ #category : #accessing }
+{ #category : 'accessing' }
MicCSSEntity >> cssFile [
"Answer the receiver's "
@@ -42,13 +44,13 @@ MicCSSEntity >> cssFile [
ifNotEmpty: [ cssFile ]
]
-{ #category : #accessing }
+{ #category : 'accessing' }
MicCSSEntity >> cssFile: anObject [
cssFile := anObject
]
-{ #category : #accessing }
+{ #category : 'accessing' }
MicCSSEntity >> cssPath [
"Answer a describing the location path for the receiver, including its file name"
@@ -58,34 +60,34 @@ MicCSSEntity >> cssPath [
<< self cssFile basename ]
]
-{ #category : #accessing }
+{ #category : 'accessing' }
MicCSSEntity >> cssUrl [
"Answer a representing the receiver's human-readable CSS URL"
^ cssUrl
]
-{ #category : #accessing }
+{ #category : 'accessing' }
MicCSSEntity >> cssUrl: anObject [
cssUrl := anObject
]
-{ #category : #defaults }
+{ #category : 'defaults' }
MicCSSEntity >> defaultBasePath [
"Answer a non-empty representing the location where the receiver's files will be written"
^ 'css/'
]
-{ #category : #defaults }
+{ #category : 'defaults' }
MicCSSEntity >> defaultDestinationPath [
"Answer a default describing the location where receiver's CSS files are stored"
^ 'support/'
]
-{ #category : #accessing }
+{ #category : 'accessing' }
MicCSSEntity >> destinationPath [
"Answer a representing the location used to store the receiver. This location is used as a repository of CSS entities opposed to the #basePath which is the user-location of a specific installation"
@@ -93,40 +95,40 @@ MicCSSEntity >> destinationPath [
ifNil: [ destinationPath := self defaultDestinationPath ]
]
-{ #category : #accessing }
+{ #category : 'accessing' }
MicCSSEntity >> destinationPath: anObject [
destinationPath := anObject
]
-{ #category : #testing }
+{ #category : 'testing' }
MicCSSEntity >> hasMinifiedVersion [
"Anwswer if the receiver contains a minified version"
^ self minCssUrl notEmpty
]
-{ #category : #testing }
+{ #category : 'testing' }
MicCSSEntity >> hasNormalVersion [
"Anwswer if the receiver contains a normal (human-legible) version"
^ self cssUrl notEmpty
]
-{ #category : #accessing }
+{ #category : 'accessing' }
MicCSSEntity >> minCssFile [
"Answer the recceiver's , or nil if absent"
^ minCssFile
]
-{ #category : #accessing }
+{ #category : 'accessing' }
MicCSSEntity >> minCssFile: anObject [
minCssFile := anObject
]
-{ #category : #accessing }
+{ #category : 'accessing' }
MicCSSEntity >> minCssUrl [
"Answer a with the URL endpoint of the minified source code, or empty if it is not present"
@@ -134,33 +136,33 @@ MicCSSEntity >> minCssUrl [
ifNil: [ minCssUrl := String empty ]
]
-{ #category : #accessing }
+{ #category : 'accessing' }
MicCSSEntity >> minCssUrl: anObject [
minCssUrl := anObject
]
-{ #category : #'accessing - source code' }
+{ #category : 'accessing - source code' }
MicCSSEntity >> minifiedSourceCode [
"Answer a representing the receiver's minified CSS source version"
^ self minCssFile contents
]
-{ #category : #accessing }
+{ #category : 'accessing' }
MicCSSEntity >> name [
"Answer a representing the receiver's name"
^ name
]
-{ #category : #accessing }
+{ #category : 'accessing' }
MicCSSEntity >> name: anObject [
name := anObject
]
-{ #category : #'instance creation' }
+{ #category : 'instance creation' }
MicCSSEntity >> newCssFile: frwSpec version: versionSymbol [
"Private - Answer a new configured with the CSS URL specified in versionSymbol. If there is no resolvable versionSymbol in frwSpec, answer a new "
@@ -171,7 +173,7 @@ MicCSSEntity >> newCssFile: frwSpec version: versionSymbol [
]
-{ #category : #accessing }
+{ #category : 'accessing' }
MicCSSEntity >> newCssFileFor: aCssUrl [
^ MicCSSFile new
@@ -179,7 +181,7 @@ MicCSSEntity >> newCssFileFor: aCssUrl [
yourself
]
-{ #category : #'instance creation' }
+{ #category : 'instance creation' }
MicCSSEntity >> newCssFiles: frwSpec [
"Private - Configure receiver's CSS files using specifications in fwrSpec"
@@ -187,7 +189,7 @@ MicCSSEntity >> newCssFiles: frwSpec [
self minCssFile: (self newCssFile: frwSpec version: #minCss)
]
-{ #category : #printing }
+{ #category : 'printing' }
MicCSSEntity >> printOn: aStream [
super printOn: aStream.
@@ -196,14 +198,14 @@ MicCSSEntity >> printOn: aStream [
<< self name.
]
-{ #category : #'accessing - source code' }
+{ #category : 'accessing - source code' }
MicCSSEntity >> sourceCode [
"Answer a representing the receiver's CSS source"
^ self cssFile contents
]
-{ #category : #accessing }
+{ #category : 'accessing' }
MicCSSEntity >> writeTo: destDirFileRef [
"Private - Write receiver's CSS resource into destDirFileRef"
diff --git a/src/Microdown-HTMLExporter/MicCSSFile.class.st b/src/Microdown-HTMLExporter/MicCSSFile.class.st
index 4f828bc1..eb9113b3 100644
--- a/src/Microdown-HTMLExporter/MicCSSFile.class.st
+++ b/src/Microdown-HTMLExporter/MicCSSFile.class.st
@@ -2,29 +2,31 @@
It includes behavior to facilitate the handling of CSS files, such as relative paths, copying to other folders, etc.
"
Class {
- #name : #MicCSSFile,
- #superclass : #Object,
+ #name : 'MicCSSFile',
+ #superclass : 'Object',
#instVars : [
'fileReference'
],
- #category : #'Microdown-HTMLExporter-CSS'
+ #category : 'Microdown-HTMLExporter-CSS',
+ #package : 'Microdown-HTMLExporter',
+ #tag : 'CSS'
}
-{ #category : #accessing }
+{ #category : 'accessing' }
MicCSSFile >> basename [
"Answer a representing the receiver's file name without its path"
^ self fileReference basename
]
-{ #category : #accessing }
+{ #category : 'accessing' }
MicCSSFile >> contents [
"Answer a with the receiver's source code"
^ self fileReference contents
]
-{ #category : #copying }
+{ #category : 'copying' }
MicCSSFile >> copyTo: aFileReference [
"Copy the receiver into aFileReference, if the file already exists, notify, delete it and retry"
@@ -36,27 +38,27 @@ MicCSSFile >> copyTo: aFileReference [
ex retry. ]
]
-{ #category : #accessing }
+{ #category : 'accessing' }
MicCSSFile >> fileReference [
"Answer the receiver's CSS"
^ fileReference
]
-{ #category : #accessing }
+{ #category : 'accessing' }
MicCSSFile >> fileReference: anObject [
fileReference := anObject
]
-{ #category : #accessing }
+{ #category : 'accessing' }
MicCSSFile >> fullName [
"Answer a with the full path of the receiver"
^ self fileReference fullName
]
-{ #category : #accessing }
+{ #category : 'accessing' }
MicCSSFile >> relativePath [
"Answer a representing the relative path to the receiver"
diff --git a/src/Microdown-HTMLExporter/MicCSSFramework.class.st b/src/Microdown-HTMLExporter/MicCSSFramework.class.st
index e3425c4c..7d4dbe4f 100644
--- a/src/Microdown-HTMLExporter/MicCSSFramework.class.st
+++ b/src/Microdown-HTMLExporter/MicCSSFramework.class.st
@@ -39,8 +39,8 @@ Instance Variables
"
Class {
- #name : #MicCSSFramework,
- #superclass : #MicCSSEntity,
+ #name : 'MicCSSFramework',
+ #superclass : 'MicCSSEntity',
#instVars : [
'normalizeUrl',
'resetUrl',
@@ -48,17 +48,19 @@ Class {
'themes',
'projectUrl'
],
- #category : #'Microdown-HTMLExporter-CSS'
+ #category : 'Microdown-HTMLExporter-CSS',
+ #package : 'Microdown-HTMLExporter',
+ #tag : 'CSS'
}
-{ #category : #adding }
+{ #category : 'adding' }
MicCSSFramework >> addTheme: aMicCSSTheme [
"Add aMicCSSTheme to the receiver themes. Answer the receiver"
self themes add: aMicCSSTheme
]
-{ #category : #accessing }
+{ #category : 'accessing' }
MicCSSFramework >> fonts [
"Answer a of receiver's typographies"
@@ -66,34 +68,34 @@ MicCSSFramework >> fonts [
ifNil: [ fonts := OrderedCollection new ]
]
-{ #category : #accessing }
+{ #category : 'accessing' }
MicCSSFramework >> fonts: anObject [
fonts := anObject
]
-{ #category : #testing }
+{ #category : 'testing' }
MicCSSFramework >> hasMinifiedThemes [
"Answer if the receiver has any minified themes"
^ self themes anySatisfy: #hasMinifiedVersion
]
-{ #category : #testing }
+{ #category : 'testing' }
MicCSSFramework >> hasNormalThemes [
"Answer if the receiver has any human-readable themes"
^ self themes anySatisfy: #hasNormalVersion
]
-{ #category : #testing }
+{ #category : 'testing' }
MicCSSFramework >> hasThemes [
"Answer if the receiver has themes"
^ self themes notEmpty
]
-{ #category : #private }
+{ #category : 'private' }
MicCSSFramework >> newCssTheme: themeInfoDict [
"Answer a new configured with values in aMicCSSTheme"
@@ -106,7 +108,7 @@ MicCSSFramework >> newCssTheme: themeInfoDict [
yourself
]
-{ #category : #accessing }
+{ #category : 'accessing' }
MicCSSFramework >> normalizeUrl [
"Answer a with the URL endpoint of the Normalize library source code, or empty if it is not present"
@@ -114,13 +116,13 @@ MicCSSFramework >> normalizeUrl [
ifNil: [ normalizeUrl := String empty ]
]
-{ #category : #accessing }
+{ #category : 'accessing' }
MicCSSFramework >> normalizeUrl: anObject [
normalizeUrl := anObject
]
-{ #category : #accessing }
+{ #category : 'accessing' }
MicCSSFramework >> projectUrl [
"Answer a representing the receiver's minified CSS URL"
@@ -128,13 +130,13 @@ MicCSSFramework >> projectUrl [
ifNil: [ projectUrl := String empty ]
]
-{ #category : #accessing }
+{ #category : 'accessing' }
MicCSSFramework >> projectUrl: anObject [
projectUrl := anObject
]
-{ #category : #accessing }
+{ #category : 'accessing' }
MicCSSFramework >> resetUrl [
"Answer a with the URL endpoint of a Reset library source code, or empty if it is not present"
@@ -142,13 +144,13 @@ MicCSSFramework >> resetUrl [
ifNil: [ resetUrl := String empty ]
]
-{ #category : #accessing }
+{ #category : 'accessing' }
MicCSSFramework >> resetUrl: anObject [
resetUrl := anObject
]
-{ #category : #accessing }
+{ #category : 'accessing' }
MicCSSFramework >> themes [
"Answer a of "
@@ -156,7 +158,7 @@ MicCSSFramework >> themes [
ifNil: [ themes := OrderedCollection new ]
]
-{ #category : #accessing }
+{ #category : 'accessing' }
MicCSSFramework >> themes: aDictionary [
"Set the receiver's normal themes according to aDictionary"
diff --git a/src/Microdown-HTMLExporter/MicCSSNullFile.class.st b/src/Microdown-HTMLExporter/MicCSSNullFile.class.st
index 678cd810..29a55038 100644
--- a/src/Microdown-HTMLExporter/MicCSSNullFile.class.st
+++ b/src/Microdown-HTMLExporter/MicCSSNullFile.class.st
@@ -2,12 +2,14 @@
A special type of Microdown CSS file with contents empty.
"
Class {
- #name : #MicCSSNullFile,
- #superclass : #MicCSSFile,
- #category : #'Microdown-HTMLExporter-CSS'
+ #name : 'MicCSSNullFile',
+ #superclass : 'MicCSSFile',
+ #category : 'Microdown-HTMLExporter-CSS',
+ #package : 'Microdown-HTMLExporter',
+ #tag : 'CSS'
}
-{ #category : #accessing }
+{ #category : 'accessing' }
MicCSSNullFile >> contents [
"Answer a with the receiver's source code"
diff --git a/src/Microdown-HTMLExporter/MicCSSProvider.class.st b/src/Microdown-HTMLExporter/MicCSSProvider.class.st
index 21d2e26e..efe5f811 100644
--- a/src/Microdown-HTMLExporter/MicCSSProvider.class.st
+++ b/src/Microdown-HTMLExporter/MicCSSProvider.class.st
@@ -71,24 +71,26 @@ To add a new framework, see the class method #frameworks. At least one of the tw
"
Class {
- #name : #MicCSSProvider,
- #superclass : #Object,
+ #name : 'MicCSSProvider',
+ #superclass : 'Object',
#instVars : [
'cssDownloader',
'frameworks',
'destinationPath'
],
- #category : #'Microdown-HTMLExporter-CSS'
+ #category : 'Microdown-HTMLExporter-CSS',
+ #package : 'Microdown-HTMLExporter',
+ #tag : 'CSS'
}
-{ #category : #accessing }
+{ #category : 'accessing' }
MicCSSProvider class >> defaultFramework [
"Answer a with the name of the CSS library used as default"
^ 'AwsmCSS'
]
-{ #category : #'instance creation' }
+{ #category : 'instance creation' }
MicCSSProvider class >> forCSSNamed: aString [
"Answer the receiver's matching aString"
@@ -98,14 +100,14 @@ MicCSSProvider class >> forCSSNamed: aString [
]
-{ #category : #'instance creation' }
+{ #category : 'instance creation' }
MicCSSProvider class >> installFrameworks [
@@ -396,14 +398,14 @@ MicHTMLVisitor >> visitMath: anObject [
]
-{ #category : #visiting }
+{ #category : 'visiting' }
MicHTMLVisitor >> visitMetaData: aMetaData [
self metaDataFromAssociations: aMetaData body.
super visitMetaData: aMetaData.
]
-{ #category : #'visiting - inline elements' }
+{ #category : 'visiting - inline elements' }
MicHTMLVisitor >> visitMonospace: aMonospace [
canvas tag
@@ -411,7 +413,7 @@ MicHTMLVisitor >> visitMonospace: aMonospace [
with: [ super visitMonospace: aMonospace ]
]
-{ #category : #'visiting - list' }
+{ #category : 'visiting - list' }
MicHTMLVisitor >> visitOrderedList: anOrderedList [
canvas newLine.
@@ -422,7 +424,7 @@ MicHTMLVisitor >> visitOrderedList: anOrderedList [
super visitOrderedList: anOrderedList ]
]
-{ #category : #'visiting - list' }
+{ #category : 'visiting - list' }
MicHTMLVisitor >> visitOrderedListItem: anOrderedListItem [
"will not work with we have text decorators such as bold, italic, monospace"
@@ -433,7 +435,7 @@ MicHTMLVisitor >> visitOrderedListItem: anOrderedListItem [
]
-{ #category : #visiting }
+{ #category : 'visiting' }
MicHTMLVisitor >> visitParagraph: aParagraph [
canvas newLine.
@@ -442,7 +444,7 @@ MicHTMLVisitor >> visitParagraph: aParagraph [
with: [ super visitParagraph: aParagraph ]
]
-{ #category : #visiting }
+{ #category : 'visiting' }
MicHTMLVisitor >> visitQuote: aQuote [
"If the quote text size exceeds a minimum threshold, use blockquote which is appropriate for long quotations"
@@ -455,7 +457,7 @@ MicHTMLVisitor >> visitQuote: aQuote [
with: [ super visitQuote: aQuote ]
]
-{ #category : #'visiting - inline elements' }
+{ #category : 'visiting - inline elements' }
MicHTMLVisitor >> visitStrike: aStrike [
canvas tag
@@ -463,7 +465,7 @@ MicHTMLVisitor >> visitStrike: aStrike [
with: [ super visitStrike: aStrike ]
]
-{ #category : #visiting }
+{ #category : 'visiting' }
MicHTMLVisitor >> visitTable: aTable [
canvas newLine.
@@ -474,20 +476,20 @@ MicHTMLVisitor >> visitTable: aTable [
self visitTableRows: aTable ]
]
-{ #category : #writing }
+{ #category : 'writing' }
MicHTMLVisitor >> visitTableHeaders: header [
self visitTableRow: header withTag: 'th'.
]
-{ #category : #writing }
+{ #category : 'writing' }
MicHTMLVisitor >> visitTableRow: row [
self visitTableRow: row withTag: 'td'
]
-{ #category : #writing }
+{ #category : 'writing' }
MicHTMLVisitor >> visitTableRow: row withTag: aString [
"Private - Generalized visiting row to handle both table header and table row (td)"
@@ -501,7 +503,7 @@ MicHTMLVisitor >> visitTableRow: row withTag: aString [
canvas newLine
]
-{ #category : #writing }
+{ #category : 'writing' }
MicHTMLVisitor >> visitTableRows: aTable [
| remainingRows |
@@ -515,7 +517,7 @@ MicHTMLVisitor >> visitTableRows: aTable [
remainingRows do: [ : row | self visitTableRow: row ]
]
-{ #category : #'visiting - inline elements' }
+{ #category : 'visiting - inline elements' }
MicHTMLVisitor >> visitText: aText [
canvas nextPutAll: (
@@ -524,7 +526,7 @@ MicHTMLVisitor >> visitText: aText [
]
-{ #category : #'visiting - list' }
+{ #category : 'visiting - list' }
MicHTMLVisitor >> visitUnorderedList: anUnorderedList [
canvas newLine.
@@ -535,7 +537,7 @@ MicHTMLVisitor >> visitUnorderedList: anUnorderedList [
super visitUnorderedList: anUnorderedList ]
]
-{ #category : #'visiting - list' }
+{ #category : 'visiting - list' }
MicHTMLVisitor >> visitUnorderedListItem: anUnorderedListItem [
"will not work with we have text decorators such as bold, italic, monospace"
@@ -546,7 +548,7 @@ MicHTMLVisitor >> visitUnorderedListItem: anUnorderedListItem [
]
-{ #category : #visiting }
+{ #category : 'visiting' }
MicHTMLVisitor >> writeCounter: aCounter [
"Write on the canvas the string representation of ==aCounter=="
@@ -556,25 +558,25 @@ MicHTMLVisitor >> writeCounter: aCounter [
separatedBy: [ self writeCounterElementSeparator ]
]
-{ #category : #visiting }
+{ #category : 'visiting' }
MicHTMLVisitor >> writeCounterDefinitionSeparator [
canvas nextPutAll: '. '
]
-{ #category : #visiting }
+{ #category : 'visiting' }
MicHTMLVisitor >> writeCounterElement: aCounterElement [
canvas nextPutAll: aCounterElement asString
]
-{ #category : #visiting }
+{ #category : 'visiting' }
MicHTMLVisitor >> writeCounterElementSeparator [
self shouldBeImplemented
]
-{ #category : #visiting }
+{ #category : 'visiting' }
MicHTMLVisitor >> writeCounterForScript: aScript [
aScript counter isValidCounter ifFalse: [ ^ self ].
diff --git a/src/Microdown-HTMLExporter/MicInlineBlockWithUrl.extension.st b/src/Microdown-HTMLExporter/MicInlineBlockWithUrl.extension.st
index 930cea56..d9896f7d 100644
--- a/src/Microdown-HTMLExporter/MicInlineBlockWithUrl.extension.st
+++ b/src/Microdown-HTMLExporter/MicInlineBlockWithUrl.extension.st
@@ -1,6 +1,6 @@
-Extension { #name : #MicInlineBlockWithUrl }
+Extension { #name : 'MicInlineBlockWithUrl' }
-{ #category : #'*Microdown-HTMLExporter' }
+{ #category : '*Microdown-HTMLExporter' }
MicInlineBlockWithUrl >> argumentAt: aKey ifPresent: aBlock [
"Lookup the given key in the receiver. If it is present, answer the value of evaluating the given block with the value associated with the key. Otherwise, answer self."
@@ -9,7 +9,7 @@ MicInlineBlockWithUrl >> argumentAt: aKey ifPresent: aBlock [
ifPresent: aBlock
]
-{ #category : #'*Microdown-HTMLExporter' }
+{ #category : '*Microdown-HTMLExporter' }
MicInlineBlockWithUrl >> argumentAt: aKey put: value [
"Lookup the given key in the receiver. If it is present, answer the value of evaluating the given block with the value associated with the key. Otherwise, answer self."
@@ -18,7 +18,7 @@ MicInlineBlockWithUrl >> argumentAt: aKey put: value [
put: value
]
-{ #category : #'*Microdown-HTMLExporter' }
+{ #category : '*Microdown-HTMLExporter' }
MicInlineBlockWithUrl >> hasChildren [
^ self children notEmpty
]
diff --git a/src/Microdown-HTMLExporter/MicLinkBlock.extension.st b/src/Microdown-HTMLExporter/MicLinkBlock.extension.st
index 4c7ff8ae..d8036b67 100644
--- a/src/Microdown-HTMLExporter/MicLinkBlock.extension.st
+++ b/src/Microdown-HTMLExporter/MicLinkBlock.extension.st
@@ -1,6 +1,6 @@
-Extension { #name : #MicLinkBlock }
+Extension { #name : 'MicLinkBlock' }
-{ #category : #'*Microdown-HTMLExporter' }
+{ #category : '*Microdown-HTMLExporter' }
MicLinkBlock >> referencePath [
^ self reference fullName
diff --git a/src/Microdown-HTMLExporter/MicListBlock.extension.st b/src/Microdown-HTMLExporter/MicListBlock.extension.st
index c18fec09..317cdce5 100644
--- a/src/Microdown-HTMLExporter/MicListBlock.extension.st
+++ b/src/Microdown-HTMLExporter/MicListBlock.extension.st
@@ -1,6 +1,6 @@
-Extension { #name : #MicListBlock }
+Extension { #name : 'MicListBlock' }
-{ #category : #'*Microdown-HTMLExporter' }
+{ #category : '*Microdown-HTMLExporter' }
MicListBlock >> listItemText [
"I just need the first children which contains the text, currently #text concatenates all children's text"
diff --git a/src/Microdown-HTMLExporter/MicListItemBlock.extension.st b/src/Microdown-HTMLExporter/MicListItemBlock.extension.st
index f358dce3..2d3461e0 100644
--- a/src/Microdown-HTMLExporter/MicListItemBlock.extension.st
+++ b/src/Microdown-HTMLExporter/MicListItemBlock.extension.st
@@ -1,13 +1,13 @@
-Extension { #name : #MicListItemBlock }
+Extension { #name : 'MicListItemBlock' }
-{ #category : #'*Microdown-HTMLExporter' }
+{ #category : '*Microdown-HTMLExporter' }
MicListItemBlock >> hasChildren [
"Answer if the receiver has any children"
^ self children size > 1
]
-{ #category : #'*Microdown-HTMLExporter' }
+{ #category : '*Microdown-HTMLExporter' }
MicListItemBlock >> hasNestedChildren [
"Answer if the receiver's children are list items and they are nested"
@@ -15,7 +15,7 @@ MicListItemBlock >> hasNestedChildren [
self children second nestedLevel > self nestedLevel ]
]
-{ #category : #'*Microdown-HTMLExporter' }
+{ #category : '*Microdown-HTMLExporter' }
MicListItemBlock >> listItemText [
^ text
diff --git a/src/Microdown-HTMLExporter/MicRelativeResourceReference.extension.st b/src/Microdown-HTMLExporter/MicRelativeResourceReference.extension.st
index cbab0c8b..f041ffd1 100644
--- a/src/Microdown-HTMLExporter/MicRelativeResourceReference.extension.st
+++ b/src/Microdown-HTMLExporter/MicRelativeResourceReference.extension.st
@@ -1,6 +1,6 @@
-Extension { #name : #MicRelativeResourceReference }
+Extension { #name : 'MicRelativeResourceReference' }
-{ #category : #'*Microdown-HTMLExporter' }
+{ #category : '*Microdown-HTMLExporter' }
MicRelativeResourceReference >> uri [
"Answer the receiver's reference in a uri (ZnUrl)."
diff --git a/src/Microdown-HTMLExporter/Microdown.extension.st b/src/Microdown-HTMLExporter/Microdown.extension.st
index 94ee6521..61b11af1 100644
--- a/src/Microdown-HTMLExporter/Microdown.extension.st
+++ b/src/Microdown-HTMLExporter/Microdown.extension.st
@@ -1,6 +1,6 @@
-Extension { #name : #Microdown }
+Extension { #name : 'Microdown' }
-{ #category : #'*Microdown-HTMLExporter' }
+{ #category : '*Microdown-HTMLExporter' }
Microdown class >> asHTMLDocument: aStringOrDoc [
"Facade method to serialize a Microdown document or string to HTML"
@@ -9,7 +9,7 @@ Microdown class >> asHTMLDocument: aStringOrDoc [
]
-{ #category : #'*Microdown-HTMLExporter' }
+{ #category : '*Microdown-HTMLExporter' }
Microdown class >> asHTMLString: aStringOrDoc [
"Facade method to render a microdown document or string to HTML"
@@ -18,7 +18,7 @@ Microdown class >> asHTMLString: aStringOrDoc [
]
-{ #category : #'*Microdown-HTMLExporter' }
+{ #category : '*Microdown-HTMLExporter' }
Microdown class >> asHTMLString: aStringOrDoc configuration: aMicHTMLConfiguration [
"Facade method to render a microdown document or string to HTML"
diff --git a/src/Microdown-HTMLExporter/ZnClient.extension.st b/src/Microdown-HTMLExporter/ZnClient.extension.st
index b6426fa9..41bf5e5e 100644
--- a/src/Microdown-HTMLExporter/ZnClient.extension.st
+++ b/src/Microdown-HTMLExporter/ZnClient.extension.st
@@ -1,19 +1,19 @@
-Extension { #name : #ZnClient }
+Extension { #name : 'ZnClient' }
-{ #category : #'*Microdown-HTMLExporter' }
+{ #category : '*Microdown-HTMLExporter' }
ZnClient >> requestSegments [
"Answer a with the receiver's parts (those separated by /)"
^ self requestUri segments
]
-{ #category : #'*Microdown-HTMLExporter' }
+{ #category : '*Microdown-HTMLExporter' }
ZnClient >> requestUri [
^ self request uri
]
-{ #category : #'*Microdown-HTMLExporter' }
+{ #category : '*Microdown-HTMLExporter' }
ZnClient >> requestedResource [
"Answer a with the name of resource (file or directory) requested"
diff --git a/src/Microdown-HTMLExporter/ZnUrl.extension.st b/src/Microdown-HTMLExporter/ZnUrl.extension.st
index 86ebcf44..59be2b44 100644
--- a/src/Microdown-HTMLExporter/ZnUrl.extension.st
+++ b/src/Microdown-HTMLExporter/ZnUrl.extension.st
@@ -1,6 +1,6 @@
-Extension { #name : #ZnUrl }
+Extension { #name : 'ZnUrl' }
-{ #category : #'*Microdown-HTMLExporter' }
+{ #category : '*Microdown-HTMLExporter' }
ZnUrl >> filename [
^ self pathSegments last
diff --git a/src/Microdown-HTMLExporter/package.st b/src/Microdown-HTMLExporter/package.st
index cb23ee6c..3e0bf061 100644
--- a/src/Microdown-HTMLExporter/package.st
+++ b/src/Microdown-HTMLExporter/package.st
@@ -1 +1 @@
-Package { #name : #'Microdown-HTMLExporter' }
+Package { #name : 'Microdown-HTMLExporter' }
diff --git a/src/Microdown-Tests/ManifestMicrodownTests.class.st b/src/Microdown-Tests/ManifestMicrodownTests.class.st
index 33cf3caa..2b339e05 100644
--- a/src/Microdown-Tests/ManifestMicrodownTests.class.st
+++ b/src/Microdown-Tests/ManifestMicrodownTests.class.st
@@ -2,7 +2,9 @@
I have test for the core classes of Microdown.
"
Class {
- #name : #ManifestMicrodownTests,
- #superclass : #PackageManifest,
- #category : #'Microdown-Tests-Manifest'
+ #name : 'ManifestMicrodownTests',
+ #superclass : 'PackageManifest',
+ #category : 'Microdown-Tests-Manifest',
+ #package : 'Microdown-Tests',
+ #tag : 'Manifest'
}
diff --git a/src/Microdown-Tests/MicAnchorBlockTest.class.st b/src/Microdown-Tests/MicAnchorBlockTest.class.st
index bee67de7..b1769227 100644
--- a/src/Microdown-Tests/MicAnchorBlockTest.class.st
+++ b/src/Microdown-Tests/MicAnchorBlockTest.class.st
@@ -1,15 +1,17 @@
Class {
- #name : #MicAnchorBlockTest,
- #superclass : #MicBlockTest,
- #category : #'Microdown-Tests-Parser'
+ #name : 'MicAnchorBlockTest',
+ #superclass : 'MicBlockTest',
+ #category : 'Microdown-Tests-Parser',
+ #package : 'Microdown-Tests',
+ #tag : 'Parser'
}
-{ #category : #tests }
+{ #category : 'tests' }
MicAnchorBlockTest >> subjectClass [
^ MicAnchorBlock
]
-{ #category : #tests }
+{ #category : 'tests' }
MicAnchorBlockTest >> testModifyLabel [
| mic |
mic := (parser parse: '@label') children first.
diff --git a/src/Microdown-Tests/MicAnchorLinkerTest.class.st b/src/Microdown-Tests/MicAnchorLinkerTest.class.st
index 2665bfa7..2ec4da6e 100644
--- a/src/Microdown-Tests/MicAnchorLinkerTest.class.st
+++ b/src/Microdown-Tests/MicAnchorLinkerTest.class.st
@@ -1,10 +1,12 @@
Class {
- #name : #MicAnchorLinkerTest,
- #superclass : #TestCase,
- #category : #'Microdown-Tests-Parser'
+ #name : 'MicAnchorLinkerTest',
+ #superclass : 'TestCase',
+ #category : 'Microdown-Tests-Parser',
+ #package : 'Microdown-Tests',
+ #tag : 'Parser'
}
-{ #category : #tests }
+{ #category : 'tests' }
MicAnchorLinkerTest >> testAnchorIsAttachedToItsTarget [
| linker doc |
linker := MicAnchorLinker new.
@@ -20,7 +22,7 @@ this is a sentence
]
-{ #category : #tests }
+{ #category : 'tests' }
MicAnchorLinkerTest >> testAnchorIsAttachedToItsTarget2 [
| linker doc |
linker := MicAnchorLinker new.
@@ -38,7 +40,7 @@ this is a sentence
]
-{ #category : #tests }
+{ #category : 'tests' }
MicAnchorLinkerTest >> testHeaderLast [
| linker doc |
linker := MicAnchorLinker new.
diff --git a/src/Microdown-Tests/MicAnnotationSubclassTest.class.st b/src/Microdown-Tests/MicAnnotationSubclassTest.class.st
index 7c7683ad..2aaef0ea 100644
--- a/src/Microdown-Tests/MicAnnotationSubclassTest.class.st
+++ b/src/Microdown-Tests/MicAnnotationSubclassTest.class.st
@@ -1,13 +1,15 @@
Class {
- #name : #MicAnnotationSubclassTest,
- #superclass : #TestCase,
+ #name : 'MicAnnotationSubclassTest',
+ #superclass : 'TestCase',
#instVars : [
'parser'
],
- #category : #'Microdown-Tests-Extensions'
+ #category : 'Microdown-Tests-Extensions',
+ #package : 'Microdown-Tests',
+ #tag : 'Extensions'
}
-{ #category : #running }
+{ #category : 'running' }
MicAnnotationSubclassTest >> setUp [
super setUp.
parser := Microdown new
diff --git a/src/Microdown-Tests/MicArgumentsSplitterTest.class.st b/src/Microdown-Tests/MicArgumentsSplitterTest.class.st
index 3a0d99f6..9936bdd3 100644
--- a/src/Microdown-Tests/MicArgumentsSplitterTest.class.st
+++ b/src/Microdown-Tests/MicArgumentsSplitterTest.class.st
@@ -2,36 +2,38 @@
A MicArgumentsSplitterTest is a test class for testing the behavior of MicArgumentsSplitter
"
Class {
- #name : #MicArgumentsSplitterTest,
- #superclass : #TestCase,
- #category : #'Microdown-Tests-Parser'
+ #name : 'MicArgumentsSplitterTest',
+ #superclass : 'TestCase',
+ #category : 'Microdown-Tests-Parser',
+ #package : 'Microdown-Tests',
+ #tag : 'Parser'
}
-{ #category : #helpers }
+{ #category : 'helpers' }
MicArgumentsSplitterTest >> splitter [
^ MicArgumentList
]
-{ #category : #helpers }
+{ #category : 'helpers' }
MicArgumentsSplitterTest >> subjectUnderTestWith: aString [
^ MicArgumentList withString: aString
]
-{ #category : #tests }
+{ #category : 'tests' }
MicArgumentsSplitterTest >> testArguments [
| subject |
subject := self subjectUnderTestWith: 'foo=bar'.
self assert: (subject at: #foo) equals: 'bar'
]
-{ #category : #tests }
+{ #category : 'tests' }
MicArgumentsSplitterTest >> testCanInstantiate [
| subject |
subject := self subjectUnderTestWith: 'bla'.
self assert: (subject isNotNil)
]
-{ #category : #tests }
+{ #category : 'tests' }
MicArgumentsSplitterTest >> testDefaultWithEmptyInput [
| subject |
subject := self splitter split: '' defaultArg: #language defaultValue: 'smalltalk'.
@@ -41,7 +43,7 @@ MicArgumentsSplitterTest >> testDefaultWithEmptyInput [
self deny: subject hasNonDefaultArguments
]
-{ #category : #tests }
+{ #category : 'tests' }
MicArgumentsSplitterTest >> testDefaultWithNoValue [
| subject |
subject := self splitter split: 'pharo' defaultArg: #language.
@@ -50,7 +52,7 @@ MicArgumentsSplitterTest >> testDefaultWithNoValue [
self assert: (subject at: #language) equals: 'pharo'
]
-{ #category : #tests }
+{ #category : 'tests' }
MicArgumentsSplitterTest >> testDefaultWithValue [
| subject |
subject := self splitter split: 'pharo' defaultArg: #language defaultValue: #smalltalk.
@@ -59,28 +61,28 @@ MicArgumentsSplitterTest >> testDefaultWithValue [
self assert: (subject at: #language) equals: 'pharo'
]
-{ #category : #tests }
+{ #category : 'tests' }
MicArgumentsSplitterTest >> testEmpty [
| subject |
subject := self subjectUnderTestWith: ''.
self assert: subject size equals: 0.
]
-{ #category : #tests }
+{ #category : 'tests' }
MicArgumentsSplitterTest >> testFirstTag [
| subject |
subject := self subjectUnderTestWith: 'bla'.
self assert: (subject defaultValue) equals: 'bla'
]
-{ #category : #tests }
+{ #category : 'tests' }
MicArgumentsSplitterTest >> testFirstTagWithDelimiter [
| subject |
subject := self subjectUnderTestWith: 'foo|bar=99'.
self assert: (subject defaultValue) equals: 'foo'
]
-{ #category : #tests }
+{ #category : 'tests' }
MicArgumentsSplitterTest >> testHasNonDefaultArguments [
| subject |
subject := self splitter split: '' defaultArg: #language.
@@ -88,14 +90,14 @@ MicArgumentsSplitterTest >> testHasNonDefaultArguments [
self assert: subject hasNonDefaultArguments
]
-{ #category : #tests }
+{ #category : 'tests' }
MicArgumentsSplitterTest >> testHasNonDefaultArguments_no [
| subject |
subject := self splitter split: '' defaultArg: #language.
self deny: subject hasNonDefaultArguments
]
-{ #category : #tests }
+{ #category : 'tests' }
MicArgumentsSplitterTest >> testHasNonDefaultArguments_nonDefault [
| subject |
subject := self splitter split: '' defaultArg: #language defaultValue: 'Pharo'.
@@ -103,42 +105,42 @@ MicArgumentsSplitterTest >> testHasNonDefaultArguments_nonDefault [
self assert: subject hasNonDefaultArguments
]
-{ #category : #tests }
+{ #category : 'tests' }
MicArgumentsSplitterTest >> testHasNonDefaultValue [
| subject |
subject := self splitter split: 'fortran' defaultArg: #language.
self assert: subject hasNonDefaultValue
]
-{ #category : #tests }
+{ #category : 'tests' }
MicArgumentsSplitterTest >> testHasNonDefaultValue_AndSomeArgs [
| subject |
subject := self splitter split: 'fortran|wasOnce=cool' defaultArg: #language.
self assert: subject hasNonDefaultValue
]
-{ #category : #tests }
+{ #category : 'tests' }
MicArgumentsSplitterTest >> testHasNonDefaultValue_Default [
| subject |
subject := self splitter split: '' defaultArg: #language defaultValue: 'pharo'.
self deny: subject hasNonDefaultValue
]
-{ #category : #tests }
+{ #category : 'tests' }
MicArgumentsSplitterTest >> testHasNonDefaultValue_DefaultOverridden [
| subject |
subject := self splitter split: 'fortran' defaultArg: #language defaultValue: 'pharo'.
self assert: subject hasNonDefaultValue
]
-{ #category : #tests }
+{ #category : 'tests' }
MicArgumentsSplitterTest >> testHasNonDefaultValue_NoDefault [
| subject |
subject := self splitter split: '' defaultArg: #language.
self deny: subject hasNonDefaultValue
]
-{ #category : #tests }
+{ #category : 'tests' }
MicArgumentsSplitterTest >> testJustTheArguments [
| subject input |
input := 'joe|foo=bar&aaa=bbb ccc&pip='.
@@ -146,7 +148,7 @@ MicArgumentsSplitterTest >> testJustTheArguments [
self assert: subject justTheArguments printString equals: 'foo=bar&aaa=bbb ccc&pip='
]
-{ #category : #tests }
+{ #category : 'tests' }
MicArgumentsSplitterTest >> testJustTheArguments_NoDefault [
| subject input |
input := 'foo=bar&aaa=bbb ccc&pip='.
@@ -154,7 +156,7 @@ MicArgumentsSplitterTest >> testJustTheArguments_NoDefault [
self assert: subject justTheArguments printString equals: 'foo=bar&aaa=bbb ccc&pip='
]
-{ #category : #tests }
+{ #category : 'tests' }
MicArgumentsSplitterTest >> testNameAndArguments [
| subject |
subject := self subjectUnderTestWith: 'aName|foo=bar'.
@@ -162,14 +164,14 @@ MicArgumentsSplitterTest >> testNameAndArguments [
self assert: subject defaultValue equals: 'aName'.
]
-{ #category : #tests }
+{ #category : 'tests' }
MicArgumentsSplitterTest >> testNameWithDelimiter [
| subject |
subject := self subjectUnderTestWith: 'fooName|bar=foe'.
self assert: (subject defaultValue) equals: 'fooName'
]
-{ #category : #tests }
+{ #category : 'tests' }
MicArgumentsSplitterTest >> testPrintString [
| subject input |
input := 'joe|foo=bar&aaa=bbb ccc&pip='.
@@ -177,7 +179,7 @@ MicArgumentsSplitterTest >> testPrintString [
self assert: subject printString equals: input
]
-{ #category : #tests }
+{ #category : 'tests' }
MicArgumentsSplitterTest >> testPrintString_AssignDefaultUsingEquals [
| subject input |
input := 'language=fortran'.
@@ -185,7 +187,7 @@ MicArgumentsSplitterTest >> testPrintString_AssignDefaultUsingEquals [
self assert: subject printString equals: 'fortran'
]
-{ #category : #tests }
+{ #category : 'tests' }
MicArgumentsSplitterTest >> testPrintString_Empty [
| subject input |
input := ''.
@@ -193,7 +195,7 @@ MicArgumentsSplitterTest >> testPrintString_Empty [
self assert: subject printString equals: input
]
-{ #category : #tests }
+{ #category : 'tests' }
MicArgumentsSplitterTest >> testPrintString_defaultValue [
| subject input |
input := 'foo'.
@@ -201,7 +203,7 @@ MicArgumentsSplitterTest >> testPrintString_defaultValue [
self assert: subject printString equals: input
]
-{ #category : #tests }
+{ #category : 'tests' }
MicArgumentsSplitterTest >> testPrintString_oneParam [
| subject input |
input := 'foo=bar'.
@@ -209,7 +211,7 @@ MicArgumentsSplitterTest >> testPrintString_oneParam [
self assert: subject printString equals: input
]
-{ #category : #tests }
+{ #category : 'tests' }
MicArgumentsSplitterTest >> testPrintString_onlyParams [
| subject input |
input := 'foo=bar&a=b'.
@@ -217,7 +219,7 @@ MicArgumentsSplitterTest >> testPrintString_onlyParams [
self assert: subject printString equals: input
]
-{ #category : #tests }
+{ #category : 'tests' }
MicArgumentsSplitterTest >> testSeveralArguments [
| subject |
subject := self subjectUnderTestWith: 'foo=bar&caption=this is lovely&aaa=99'.
diff --git a/src/Microdown-Tests/MicBlockTest.class.st b/src/Microdown-Tests/MicBlockTest.class.st
index 2891c313..67cefcae 100644
--- a/src/Microdown-Tests/MicBlockTest.class.st
+++ b/src/Microdown-Tests/MicBlockTest.class.st
@@ -1,30 +1,32 @@
Class {
- #name : #MicBlockTest,
- #superclass : #MicElementTest,
+ #name : 'MicBlockTest',
+ #superclass : 'MicElementTest',
#instVars : [
'subject'
],
- #category : #'Microdown-Tests-Parser'
+ #category : 'Microdown-Tests-Parser',
+ #package : 'Microdown-Tests',
+ #tag : 'Parser'
}
-{ #category : #testing }
+{ #category : 'testing' }
MicBlockTest class >> isAbstract [
^ self = MicBlockTest
]
-{ #category : #tests }
+{ #category : 'tests' }
MicBlockTest >> subject [
^ subject ifNil: [ subject := self subjectClass new ]
]
-{ #category : #tests }
+{ #category : 'tests' }
MicBlockTest >> subjectClass [
^ self subclassResponsibility
]
-{ #category : #tests }
+{ #category : 'tests' }
MicBlockTest >> testHasProperty [
self deny: (self subject hasProperty: #foo).
self subject propertyAt: #foo put: 'bar'.
@@ -32,7 +34,7 @@ MicBlockTest >> testHasProperty [
self deny: (self subject hasProperty: #bar)
]
-{ #category : #tests }
+{ #category : 'tests' }
MicBlockTest >> testProperties [
self assert: self subject properties isNotNil.
self subject instVarNamed: 'properties' put: nil.
@@ -50,21 +52,21 @@ MicBlockTest >> testProperties [
self subject instVarNamed: 'properties' put: nil
]
-{ #category : #tests }
+{ #category : 'tests' }
MicBlockTest >> testPropertyAt [
self assert: (self subject propertyAt: #foo put: 'bar') equals: 'bar'.
self assert: (self subject propertyAt: #foo) equals: 'bar'.
self should: [ self subject propertyAt: #bar ] raise: MicPropertyError
]
-{ #category : #tests }
+{ #category : 'tests' }
MicBlockTest >> testPropertyAtIfAbsent [
self assert: (self subject propertyAt: #foo put: 'bar') equals: 'bar'.
self assert: (self subject propertyAt: #foo ifAbsent: [ 'baz' ]) equals: 'bar'.
self assert: (self subject propertyAt: #bar ifAbsent: [ 'baz' ]) equals: 'baz'
]
-{ #category : #tests }
+{ #category : 'tests' }
MicBlockTest >> testPropertyAtPut [
self subject propertyAt: #foo put: 'bar'.
self assert: (self subject propertyAt: #foo) equals: 'bar'.
@@ -73,7 +75,7 @@ MicBlockTest >> testPropertyAtPut [
self assert: (self subject propertyAt: #foo) equals: 'baz'
]
-{ #category : #tests }
+{ #category : 'tests' }
MicBlockTest >> testSanity [
"If this test case fails, there is something wrong with the setup of the test-case."
diff --git a/src/Microdown-Tests/MicCitationBlockTest.class.st b/src/Microdown-Tests/MicCitationBlockTest.class.st
index ed2ce8a7..7c0a6ac2 100644
--- a/src/Microdown-Tests/MicCitationBlockTest.class.st
+++ b/src/Microdown-Tests/MicCitationBlockTest.class.st
@@ -1,10 +1,12 @@
Class {
- #name : #MicCitationBlockTest,
- #superclass : #MicAnnotationSubclassTest,
- #category : #'Microdown-Tests-Extensions'
+ #name : 'MicCitationBlockTest',
+ #superclass : 'MicAnnotationSubclassTest',
+ #category : 'Microdown-Tests-Extensions',
+ #package : 'Microdown-Tests',
+ #tag : 'Extensions'
}
-{ #category : #tests }
+{ #category : 'tests' }
MicCitationBlockTest >> testCreateTheRightCitationObject [
| doc |
@@ -14,7 +16,7 @@ MicCitationBlockTest >> testCreateTheRightCitationObject [
self assert: (doc children first children first arguments at: #key) equals: 'Duca99a'.
]
-{ #category : #tests }
+{ #category : 'tests' }
MicCitationBlockTest >> testDefaultingClassWhenNoTag [
| doc |
diff --git a/src/Microdown-Tests/MicCodeBlockTest.class.st b/src/Microdown-Tests/MicCodeBlockTest.class.st
index 06995c9f..52ea0e7a 100644
--- a/src/Microdown-Tests/MicCodeBlockTest.class.st
+++ b/src/Microdown-Tests/MicCodeBlockTest.class.st
@@ -13,17 +13,19 @@ If you want to embed codeblock inside codeblock you must use an extra space.
```
"
Class {
- #name : #MicCodeBlockTest,
- #superclass : #MicBlockTest,
- #category : #'Microdown-Tests-Parser'
+ #name : 'MicCodeBlockTest',
+ #superclass : 'MicBlockTest',
+ #category : 'Microdown-Tests-Parser',
+ #package : 'Microdown-Tests',
+ #tag : 'Parser'
}
-{ #category : #tests }
+{ #category : 'tests' }
MicCodeBlockTest >> subjectClass [
^ MicCodeBlock
]
-{ #category : #tests }
+{ #category : 'tests' }
MicCodeBlockTest >> testBody [
| source root textBody |
textBody := 'my fancy code
@@ -34,7 +36,7 @@ is really cool'.
]
-{ #category : #tests }
+{ #category : 'tests' }
MicCodeBlockTest >> testCanConsumeLine [
"This test verfies that when a code block is closed it does not consume anymore."
"It also show that consume is not just blindly do a line starts with the markup
@@ -54,7 +56,7 @@ is really cool'.
self deny: (root children first canConsumeLine: 'plain text')
]
-{ #category : #'tests - code' }
+{ #category : 'tests - code' }
MicCodeBlockTest >> testCaption [
| codeBlock |
@@ -65,7 +67,7 @@ MicCodeBlockTest >> testCaption [
self assert: codeBlock captionElements size equals: 2.
]
-{ #category : #tests }
+{ #category : 'tests' }
MicCodeBlockTest >> testCodeBlockWithNestedCodeBlock [
"This test shows that we can write a code block inside a code block but that the later is not interpreter."
@@ -88,7 +90,7 @@ MicCodeBlockTest >> testCodeBlockWithNestedCodeBlock [
]
-{ #category : #'tests - code' }
+{ #category : 'tests - code' }
MicCodeBlockTest >> testCodeCreatesInnerText [
| code |
@@ -97,7 +99,7 @@ MicCodeBlockTest >> testCodeCreatesInnerText [
self assert: (code arguments at: #language) equals: 'a b```'
]
-{ #category : #'tests - first tag' }
+{ #category : 'tests - first tag' }
MicCodeBlockTest >> testFirstTagNoValue [
"
@@ -117,7 +119,7 @@ Color >> asMorph
self assert: (code arguments at:#language) equals: 'Method'
]
-{ #category : #'tests - first tag' }
+{ #category : 'tests - first tag' }
MicCodeBlockTest >> testFirstTagValue [
| source codeBlock |
@@ -127,7 +129,7 @@ MicCodeBlockTest >> testFirstTagValue [
self assert: (codeBlock language) equals: '12'.
]
-{ #category : #'tests - first tag' }
+{ #category : 'tests - first tag' }
MicCodeBlockTest >> testFirstTagWithValue [
"
@@ -147,7 +149,7 @@ Color >> asMorph
self assert: (code arguments at:#language) equals: 'PharoMethod'
]
-{ #category : #'tests - deviation' }
+{ #category : 'tests - deviation' }
MicCodeBlockTest >> testFourBackQuotes [
| codeBlock |
@@ -158,7 +160,7 @@ something in the way
self assert: codeBlock children first body equals: 'something in the way'
]
-{ #category : #'tests - deviation' }
+{ #category : 'tests - deviation' }
MicCodeBlockTest >> testFourBackQuotesClosedByThreeQuotes [
| codeBlock |
@@ -169,7 +171,7 @@ something in the way
self assert: codeBlock children first body equals: 'something in the way'
]
-{ #category : #'tests - deviation' }
+{ #category : 'tests - deviation' }
MicCodeBlockTest >> testFourBackQuotesOnMultipleLines [
| codeBlock |
@@ -184,7 +186,7 @@ pif
glop or pas glop'
]
-{ #category : #'tests - deviation' }
+{ #category : 'tests - deviation' }
MicCodeBlockTest >> testFourBackQuotesOnMultipleLinesWithText [
| codeBlock |
@@ -205,7 +207,7 @@ pif
glop or pas glop'
]
-{ #category : #'tests - deviation' }
+{ #category : 'tests - deviation' }
MicCodeBlockTest >> testFourBackQuotesWithTextAround [
| codeBlock |
@@ -221,7 +223,7 @@ Ending text'.
self assert: codeBlock children second body equals: 'something in the way'
]
-{ #category : #'tests - code' }
+{ #category : 'tests - code' }
MicCodeBlockTest >> testHasBody [
| source root textBody |
@@ -231,7 +233,7 @@ MicCodeBlockTest >> testHasBody [
self assert: root children first hasBody
]
-{ #category : #'tests - code' }
+{ #category : 'tests - code' }
MicCodeBlockTest >> testHasBody_not [
| source root textBody |
@@ -241,7 +243,7 @@ MicCodeBlockTest >> testHasBody_not [
self assert: root children first hasBody not
]
-{ #category : #tests }
+{ #category : 'tests' }
MicCodeBlockTest >> testHasCaption [
"
@@ -261,7 +263,7 @@ Color >> asMorph
self assert: code hasCaption
]
-{ #category : #'tests - arguments' }
+{ #category : 'tests - arguments' }
MicCodeBlockTest >> testHasLabelFalse [
"
```language=pharo&caption=Getting a morph for an instance of ==Color==&label=scr:asMorphInColor
@@ -277,7 +279,7 @@ Color >> asMorph
self deny: code hasLabel
]
-{ #category : #'tests - arguments' }
+{ #category : 'tests - arguments' }
MicCodeBlockTest >> testHasLabelTrue [
"
```language=pharo&caption=Getting a morph for an instance of ==Color==&label=scr:asMorphInColor
@@ -293,7 +295,7 @@ Color >> asMorph
self assert: code hasLabel
]
-{ #category : #tests }
+{ #category : 'tests' }
MicCodeBlockTest >> testHasNOCaption [
"
```language=pharo&caption=Getting a morph for an instance of ==Color==&label=scr:asMorphInColor
@@ -312,7 +314,7 @@ Color >> asMorph
self deny: code hasCaption
]
-{ #category : #'tests - arguments' }
+{ #category : 'tests - arguments' }
MicCodeBlockTest >> testLanguage [
"
@@ -329,7 +331,7 @@ Color >> asMorph
self assert: code language equals: 'pharo'
]
-{ #category : #tests }
+{ #category : 'tests' }
MicCodeBlockTest >> testOpenCanConsumeLine [
| source root textBody argument line code |
@@ -364,7 +366,7 @@ is really cool'.
]
-{ #category : #'tests - code' }
+{ #category : 'tests - code' }
MicCodeBlockTest >> testSetLabel [
| codeBlock |
@@ -375,7 +377,7 @@ MicCodeBlockTest >> testSetLabel [
]
-{ #category : #tests }
+{ #category : 'tests' }
MicCodeBlockTest >> testSingleBlockWithArguments [
"
@@ -402,7 +404,7 @@ Color >> asMorph
self assert: (code arguments at: #label) equals: 'scr:asMorphInColor'
]
-{ #category : #tests }
+{ #category : 'tests' }
MicCodeBlockTest >> testSingleBlockWithArgumentsWithFormat [
"
@@ -444,7 +446,7 @@ Color >> asMorph
self assert: code label equals: 'scr:asMorphInColor'
]
-{ #category : #'tests - deviation' }
+{ #category : 'tests - deviation' }
MicCodeBlockTest >> testThreeBackQuotesClosedByFourQuotes [
| codeBlock |
diff --git a/src/Microdown-Tests/MicColumnsBlockTest.class.st b/src/Microdown-Tests/MicColumnsBlockTest.class.st
index aaeae1b1..a76cbcf5 100644
--- a/src/Microdown-Tests/MicColumnsBlockTest.class.st
+++ b/src/Microdown-Tests/MicColumnsBlockTest.class.st
@@ -1,10 +1,12 @@
Class {
- #name : #MicColumnsBlockTest,
- #superclass : #TestCase,
- #category : #'Microdown-Tests-Extensions'
+ #name : 'MicColumnsBlockTest',
+ #superclass : 'TestCase',
+ #category : 'Microdown-Tests-Extensions',
+ #package : 'Microdown-Tests',
+ #tag : 'Extensions'
}
-{ #category : #tests }
+{ #category : 'tests' }
MicColumnsBlockTest >> testSimpleColumn [
| doc |
@@ -32,7 +34,7 @@ MicColumnsBlockTest >> testSimpleColumn [
self assert: doc children first children second children first class equals: MicUnorderedListBlock.
]
-{ #category : #tests }
+{ #category : 'tests' }
MicColumnsBlockTest >> testSimpleColumnWithWidth [
| doc |
diff --git a/src/Microdown-Tests/MicCommentTest.class.st b/src/Microdown-Tests/MicCommentTest.class.st
index d23a12c1..40d7b4cf 100644
--- a/src/Microdown-Tests/MicCommentTest.class.st
+++ b/src/Microdown-Tests/MicCommentTest.class.st
@@ -1,16 +1,18 @@
Class {
- #name : #MicCommentTest,
- #superclass : #MicBlockTest,
- #category : #'Microdown-Tests-Parser'
+ #name : 'MicCommentTest',
+ #superclass : 'MicBlockTest',
+ #category : 'Microdown-Tests-Parser',
+ #package : 'Microdown-Tests',
+ #tag : 'Parser'
}
-{ #category : #tests }
+{ #category : 'tests' }
MicCommentTest >> subjectClass [
^ MicCommentBlock
]
-{ #category : #tests }
+{ #category : 'tests' }
MicCommentTest >> testCommentAPI [
| comment |
diff --git a/src/Microdown-Tests/MicElementTest.class.st b/src/Microdown-Tests/MicElementTest.class.st
index 2d1204a0..58e69a76 100644
--- a/src/Microdown-Tests/MicElementTest.class.st
+++ b/src/Microdown-Tests/MicElementTest.class.st
@@ -1,27 +1,29 @@
Class {
- #name : #MicElementTest,
- #superclass : #TestCase,
+ #name : 'MicElementTest',
+ #superclass : 'TestCase',
#instVars : [
'parser'
],
#pools : [
'MicMicrodownSharedPool'
],
- #category : #'Microdown-Tests-Parser'
+ #category : 'Microdown-Tests-Parser',
+ #package : 'Microdown-Tests',
+ #tag : 'Parser'
}
-{ #category : #testing }
+{ #category : 'testing' }
MicElementTest class >> isAbstract [
^ self = MicElementTest
]
-{ #category : #factory }
+{ #category : 'factory' }
MicElementTest >> parser [
^ self parserClass new
]
-{ #category : #factory }
+{ #category : 'factory' }
MicElementTest >> parserClass [
"This references to MicrodownParser is needed for the test.
Replacing it by Microdown does not work."
@@ -29,7 +31,7 @@ MicElementTest >> parserClass [
^ MicrodownParser
]
-{ #category : #running }
+{ #category : 'running' }
MicElementTest >> setUp [
super setUp.
diff --git a/src/Microdown-Tests/MicEnvironmentBlockTest.class.st b/src/Microdown-Tests/MicEnvironmentBlockTest.class.st
index 3bfccd5b..b1058982 100644
--- a/src/Microdown-Tests/MicEnvironmentBlockTest.class.st
+++ b/src/Microdown-Tests/MicEnvironmentBlockTest.class.st
@@ -1,15 +1,17 @@
Class {
- #name : #MicEnvironmentBlockTest,
- #superclass : #MicBlockTest,
- #category : #'Microdown-Tests-Parser'
+ #name : 'MicEnvironmentBlockTest',
+ #superclass : 'MicBlockTest',
+ #category : 'Microdown-Tests-Parser',
+ #package : 'Microdown-Tests',
+ #tag : 'Parser'
}
-{ #category : #'tests - default environment' }
+{ #category : 'tests - default environment' }
MicEnvironmentBlockTest >> subjectClass [
^ MicEnvironmentBlock
]
-{ #category : #'tests - default environment' }
+{ #category : 'tests - default environment' }
MicEnvironmentBlockTest >> testEnvironment [
"'> testEnvironmentClosingNotEatingClosingCharacter [
@@ -42,7 +44,7 @@ to
self assert: env children first text equals: 'to'.
]
-{ #category : #'tests - extensions' }
+{ #category : 'tests - extensions' }
MicEnvironmentBlockTest >> testEnvironmentIsCreatedWhenTagDoesNotMatch [
| source root env environmentName |
@@ -59,7 +61,7 @@ MicEnvironmentBlockTest >> testEnvironmentIsCreatedWhenTagDoesNotMatch [
]
-{ #category : #'tests - extensions' }
+{ #category : 'tests - extensions' }
MicEnvironmentBlockTest >> testEnvironmentWiathArgsWithCorrespondingClassIsCreated [
| source root environment environmentName contents |
@@ -81,7 +83,7 @@ toto'.
]
-{ #category : #'tests - default environment' }
+{ #category : 'tests - default environment' }
MicEnvironmentBlockTest >> testEnvironmentWithAnyNestedElement [
"'> testEnvironmentWithArguments [
"'> testEnvironmentWithBrokenMotherNested [
| root |
@@ -158,7 +160,7 @@ The mother environment is not closed so it will eat everything.
]
-{ #category : #'tests - default environment' }
+{ #category : 'tests - default environment' }
MicEnvironmentBlockTest >> testEnvironmentWithBrokenNestedScript [
| root |
@@ -173,7 +175,7 @@ MicEnvironmentBlockTest >> testEnvironmentWithBrokenNestedScript [
self assert: root children first children first class equals: MicPharoScriptBlock.
]
-{ #category : #'tests - default environment' }
+{ #category : 'tests - default environment' }
MicEnvironmentBlockTest >> testEnvironmentWithCodeBlock [
| root env |
@@ -197,7 +199,7 @@ isn''t it
]
-{ #category : #'tests - extensions' }
+{ #category : 'tests - extensions' }
MicEnvironmentBlockTest >> testEnvironmentWithCorrespondingClassIsCreated [
| source root env environmentName |
@@ -215,7 +217,7 @@ MicEnvironmentBlockTest >> testEnvironmentWithCorrespondingClassIsCreated [
]
-{ #category : #'tests - default environment' }
+{ #category : 'tests - default environment' }
MicEnvironmentBlockTest >> testEnvironmentWithFormat [
"'> testEnvironmentWithMultipleLines [
"'> testEnvironmentWithNoEmptyBeforeTheEndMarker [
@@ -292,7 +294,7 @@ environment, else we force writer to enter a new line to declare the end of
the paragraph.'.
]
-{ #category : #'tests - extensions' }
+{ #category : 'tests - extensions' }
MicEnvironmentBlockTest >> testExtensionClassWithSpaceAndArgIsCreated [
| source root environment environmentName contents |
@@ -316,7 +318,7 @@ toto'.
]
-{ #category : #'tests - better parsing' }
+{ #category : 'tests - better parsing' }
MicEnvironmentBlockTest >> testInputFileOnOneLineWithJunkAfter [
| mic infileReference |
@@ -325,7 +327,7 @@ MicEnvironmentBlockTest >> testInputFileOnOneLineWithJunkAfter [
self assert: infileReference path equals: 'chapters/withStyle.md'
]
-{ #category : #'tests - better parsing' }
+{ #category : 'tests - better parsing' }
MicEnvironmentBlockTest >> testInputFileOnOneLineWithJunkSpaceBeforeEnd [
| mic infileReference |
@@ -334,7 +336,7 @@ MicEnvironmentBlockTest >> testInputFileOnOneLineWithJunkSpaceBeforeEnd [
self assert: infileReference path equals: 'chapters/withStyle.md'
]
-{ #category : #'tests - better parsing' }
+{ #category : 'tests - better parsing' }
MicEnvironmentBlockTest >> testInputFileOnOneLineWithSpaceBeforeJunkAfter [
| mic infileReference |
@@ -343,7 +345,7 @@ MicEnvironmentBlockTest >> testInputFileOnOneLineWithSpaceBeforeJunkAfter [
self assert: infileReference path equals: 'chapters/withStyle.md'
]
-{ #category : #'tests - default environment' }
+{ #category : 'tests - default environment' }
MicEnvironmentBlockTest >> testParagraphEnvironmentParagraph [
| root |
root := parser parse: 'What a super day for a ride.
@@ -362,7 +364,7 @@ Yes this is a good idea.'.
]
-{ #category : #'tests - default environment' }
+{ #category : 'tests - default environment' }
MicEnvironmentBlockTest >> testParagraphEnvironmentParagraph2 [
"This test has a space after ?> '?> ' - was strangely broken at one point in time"
| root |
@@ -380,7 +382,7 @@ Yes this is a good idea.'.
]
-{ #category : #'tests - default environment' }
+{ #category : 'tests - default environment' }
MicEnvironmentBlockTest >> testParagraphEnvironmentParagraph3 [
"Text after ?> should be ignored - was strangely broken at one point in time"
| root |
@@ -398,7 +400,7 @@ Yes this is a good idea.'.
]
-{ #category : #'tests - default environment' }
+{ #category : 'tests - default environment' }
MicEnvironmentBlockTest >> testSecondScriptShouldNotBeChildOfFirst [
| root |
@@ -420,7 +422,7 @@ MicEnvironmentBlockTest >> testSecondScriptShouldNotBeChildOfFirst [
children size equals: 2
]
-{ #category : #'tests - default environment' }
+{ #category : 'tests - default environment' }
MicEnvironmentBlockTest >> testSecondScriptShouldNotBeChildOfFirstWhenClosingOnTheSameLine [
| root |
diff --git a/src/Microdown-Tests/MicFigureBlockTest.class.st b/src/Microdown-Tests/MicFigureBlockTest.class.st
index fb00c9e6..839c4aa1 100644
--- a/src/Microdown-Tests/MicFigureBlockTest.class.st
+++ b/src/Microdown-Tests/MicFigureBlockTest.class.st
@@ -1,13 +1,15 @@
Class {
- #name : #MicFigureBlockTest,
- #superclass : #MicBlockTest,
+ #name : 'MicFigureBlockTest',
+ #superclass : 'MicBlockTest',
#instVars : [
'splitterClass'
],
- #category : #'Microdown-Tests-Parser'
+ #category : 'Microdown-Tests-Parser',
+ #package : 'Microdown-Tests',
+ #tag : 'Parser'
}
-{ #category : #running }
+{ #category : 'running' }
MicFigureBlockTest >> setUp [
super setUp.
@@ -15,12 +17,12 @@ MicFigureBlockTest >> setUp [
splitterClass := MicInlineParser
]
-{ #category : #tests }
+{ #category : 'tests' }
MicFigureBlockTest >> subjectClass [
^ MicFigureBlock
]
-{ #category : #tests }
+{ #category : 'tests' }
MicFigureBlockTest >> testAlt [
| figure |
@@ -32,7 +34,7 @@ MicFigureBlockTest >> testAlt [
self assert: (figure arguments at: #alt) equals: 'je suis le alt texte'
]
-{ #category : #tests }
+{ #category : 'tests' }
MicFigureBlockTest >> testAnchor [
| figure |
@@ -45,7 +47,7 @@ MicFigureBlockTest >> testAnchor [
self assert: figure anchor equals: '233'
]
-{ #category : #running }
+{ #category : 'running' }
MicFigureBlockTest >> testArgumentAtIfPresent [
| expected tested |
@@ -60,7 +62,7 @@ MicFigureBlockTest >> testArgumentAtIfPresent [
self assert: (tested arguments at: 'testKey') equals: 'object'.
]
-{ #category : #tests }
+{ #category : 'tests' }
MicFigureBlockTest >> testCaption [
| figure |
figure := (splitterClass new parse: '![caption with space and dot...](http://www.Pharo.ORG)') first.
@@ -69,7 +71,7 @@ MicFigureBlockTest >> testCaption [
]
-{ #category : #tests }
+{ #category : 'tests' }
MicFigureBlockTest >> testHasArguments [
| figure |
figure := (splitterClass new parse: '![caption with space and dot...](https://github.com/pillar-markup/Microdown/runs/4336482137?check_suite_focus=true width=80&anchor=bla)') first.
@@ -82,7 +84,7 @@ MicFigureBlockTest >> testHasArguments [
]
-{ #category : #tests }
+{ #category : 'tests' }
MicFigureBlockTest >> testHasNoArguments [
| figure |
figure := (splitterClass new parse: '![caption with space and dot...](https://github.com/pillar-markup/Microdown/runs/4336482137?check_suite_focus=true)') first.
@@ -93,14 +95,14 @@ MicFigureBlockTest >> testHasNoArguments [
]
-{ #category : #'tests - testing' }
+{ #category : 'tests - testing' }
MicFigureBlockTest >> testIsNotRelativeFilePathWithUrl [
| figure |
figure := (splitterClass new parse: '![caption](http://www.pharo.org)') first.
self assert: figure reference fullName asString equals: 'http://www.pharo.org/'
]
-{ #category : #tests }
+{ #category : 'tests' }
MicFigureBlockTest >> testPrintOn [
| figure |
figure := (splitterClass new parse: '![caption](http://www.Pharo.ORG)') first.
@@ -109,14 +111,14 @@ MicFigureBlockTest >> testPrintOn [
"not really good but let us make it work"
]
-{ #category : #tests }
+{ #category : 'tests' }
MicFigureBlockTest >> testPrintOnWithParameters [
| figure |
figure := (splitterClass new parse: '![caption](http://anURL.org?label=1&title=testFigure)') first.
self assert: figure asString equals: 'Figure{ Text(caption) }(http://anURL.org?label=1&title=testFigure)'
]
-{ #category : #tests }
+{ #category : 'tests' }
MicFigureBlockTest >> testUrlWitMicrodownParameterAndUrlParameters [
| figure |
@@ -128,7 +130,7 @@ MicFigureBlockTest >> testUrlWitMicrodownParameterAndUrlParameters [
self assert: (figure arguments at: 'delog') equals: '1'
]
-{ #category : #tests }
+{ #category : 'tests' }
MicFigureBlockTest >> testUrlWithMicrodownParameters [
| figure |
@@ -138,7 +140,7 @@ MicFigureBlockTest >> testUrlWithMicrodownParameters [
self assert: (figure arguments at: 'anchor') equals: 'fig:pharo'
]
-{ #category : #tests }
+{ #category : 'tests' }
MicFigureBlockTest >> testUrlWithoutMicrodownParameters2 [
| figure |
diff --git a/src/Microdown-Tests/MicFileResourceReferenceTest.class.st b/src/Microdown-Tests/MicFileResourceReferenceTest.class.st
index 7d58ca6f..11c05d50 100644
--- a/src/Microdown-Tests/MicFileResourceReferenceTest.class.st
+++ b/src/Microdown-Tests/MicFileResourceReferenceTest.class.st
@@ -3,16 +3,18 @@ These tests will fail if MicHTTPResourceTest fails. I read the files from the gi
"
Class {
- #name : #MicFileResourceReferenceTest,
- #superclass : #TestCase,
+ #name : 'MicFileResourceReferenceTest',
+ #superclass : 'TestCase',
#instVars : [
'filesystem',
'emptyFilesystem'
],
- #category : #'Microdown-Tests-Resolution'
+ #category : 'Microdown-Tests-Resolution',
+ #package : 'Microdown-Tests',
+ #tag : 'Resolution'
}
-{ #category : #private }
+{ #category : 'private' }
MicFileResourceReferenceTest >> exampleMicFileResourceReference [
| file |
@@ -20,7 +22,7 @@ MicFileResourceReferenceTest >> exampleMicFileResourceReference [
^ MicFileResourceReference fromFileRef: file
]
-{ #category : #private }
+{ #category : 'private' }
MicFileResourceReferenceTest >> exampleMicFileResourceReferenceInsideSubFolder [
| file |
@@ -28,7 +30,7 @@ MicFileResourceReferenceTest >> exampleMicFileResourceReferenceInsideSubFolder [
^ MicFileResourceReference fromFileRef: file
]
-{ #category : #private }
+{ #category : 'private' }
MicFileResourceReferenceTest >> examplePNGByteArray [
^ #[137 80 78 71 13 10 26 10 0 0 0 13 73 72 68 82 0 0 0 200 0 0 0 90 4 3 0 0 0 15
@@ -53,7 +55,7 @@ MicFileResourceReferenceTest >> examplePNGByteArray [
78 68 174 66 96 130]
]
-{ #category : #private }
+{ #category : 'private' }
MicFileResourceReferenceTest >> examplePNGFile [
" Answer a