Skip to content

Commit

Permalink
Flipping tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fbennett committed Mar 4, 2016
1 parent a8874fa commit cdb9cbf
Show file tree
Hide file tree
Showing 3 changed files with 285 additions and 0 deletions.
95 changes: 95 additions & 0 deletions tests/fixtures/local/affix_FlipflopParensLayoutInText.txt
@@ -0,0 +1,95 @@
>>===== MODE =====>>
citation
<<===== MODE =====<<



>>===== RESULT =====>>
>>[0] (Comment. (Inside parens Smith, 2000; and Jones, 2001, ending parens).)
<<===== RESULT =====<<


>>===== CITATIONS =====>>
[
[
{
"citationID": "CITATION-1",
"citationItems": [
{
"id": "ITEM-1",
"prefix": "Comment. (Inside parens "
},
{
"id": "ITEM-2",
"prefix": "and",
"suffix": ", ending parens)."
}
],
"properties": {
"noteIndex": 1
}
},
[],
[]
]
]
<<===== CITATIONS =====<<


>>===== CSL =====>>
<style
xmlns="http://purl.org/net/xbiblio/csl"
class="in-text"
version="1.0">
<info>
<id />
<title />
<updated>2009-08-10T04:49:00+09:00</updated>
</info>
<macro name="author">
<names variable="author">
<name form="short" />
</names>
</macro>
<citation>
<layout delimiter="; " prefix="(" suffix=")">
<group delimiter=" ">
<group delimiter=", ">
<text macro="author" prefix='(' suffix=')'/>
<date variable="issued" date-parts="year" form="text"/>
</group>
</group>
</layout>
</citation>
</style>
<<===== CSL =====<<


>>===== INPUT =====>>
[
{
"author": [
{
"family": "Smith",
"given": "Stephen"
}
],
"id": "ITEM-1",
"title": "Stephen's Book",
"issued": { "date-parts": [[2000]]},
"type": "book"
},
{
"author": [
{
"family": "Jones",
"given": "John"
}
],
"id": "ITEM-2",
"title": "John's Book",
"issued": { "date-parts": [[2001]]},
"type": "book"
}
]
<<===== INPUT =====<<
95 changes: 95 additions & 0 deletions tests/fixtures/local/affix_FlipflopParensNote.txt
@@ -0,0 +1,95 @@
>>===== MODE =====>>
citation
<<===== MODE =====<<



>>===== RESULT =====>>
>>[0] (Comment. [Inside parens Smith, 2000; and Jones, 2001, ending parens].)
<<===== RESULT =====<<


>>===== CITATIONS =====>>
[
[
{
"citationID": "CITATION-1",
"citationItems": [
{
"id": "ITEM-1",
"prefix": "Comment. (Inside parens "
},
{
"id": "ITEM-2",
"prefix": "and",
"suffix": ", ending parens)."
}
],
"properties": {
"noteIndex": 1
}
},
[],
[]
]
]
<<===== CITATIONS =====<<


>>===== CSL =====>>
<style
xmlns="http://purl.org/net/xbiblio/csl"
class="note"
version="1.0">
<info>
<id />
<title />
<updated>2009-08-10T04:49:00+09:00</updated>
</info>
<macro name="author">
<names variable="author">
<name form="short" />
</names>
</macro>
<citation>
<layout delimiter="; " prefix="(" suffix=")">
<group delimiter=" ">
<group delimiter=", ">
<text macro="author" prefix='(' suffix=')'/>
<date variable="issued" date-parts="year" form="text"/>
</group>
</group>
</layout>
</citation>
</style>
<<===== CSL =====<<


>>===== INPUT =====>>
[
{
"author": [
{
"family": "Smith",
"given": "Stephen"
}
],
"id": "ITEM-1",
"title": "Stephen's Book",
"issued": { "date-parts": [[2000]]},
"type": "book"
},
{
"author": [
{
"family": "Jones",
"given": "John"
}
],
"id": "ITEM-2",
"title": "John's Book",
"issued": { "date-parts": [[2001]]},
"type": "book"
}
]
<<===== INPUT =====<<
95 changes: 95 additions & 0 deletions tests/fixtures/local/affix_FlipflopParensNumeric.txt
@@ -0,0 +1,95 @@
>>===== MODE =====>>
citation
<<===== MODE =====<<



>>===== RESULT =====>>
>>[0] (Comment. (Inside parens Smith, 2000; and Jones, 2001, ending parens).)
<<===== RESULT =====<<


>>===== CITATIONS =====>>
[
[
{
"citationID": "CITATION-1",
"citationItems": [
{
"id": "ITEM-1",
"prefix": "Comment. (Inside parens "
},
{
"id": "ITEM-2",
"prefix": "and",
"suffix": ", ending parens)."
}
],
"properties": {
"noteIndex": 1
}
},
[],
[]
]
]
<<===== CITATIONS =====<<


>>===== CSL =====>>
<style
xmlns="http://purl.org/net/xbiblio/csl"
class="numeric"
version="1.0">
<info>
<id />
<title />
<updated>2009-08-10T04:49:00+09:00</updated>
</info>
<macro name="author">
<names variable="author">
<name form="short" />
</names>
</macro>
<citation>
<layout delimiter="; " prefix="(" suffix=")">
<group delimiter=" ">
<group delimiter=", ">
<text macro="author" prefix='(' suffix=')'/>
<date variable="issued" date-parts="year" form="text"/>
</group>
</group>
</layout>
</citation>
</style>
<<===== CSL =====<<


>>===== INPUT =====>>
[
{
"author": [
{
"family": "Smith",
"given": "Stephen"
}
],
"id": "ITEM-1",
"title": "Stephen's Book",
"issued": { "date-parts": [[2000]]},
"type": "book"
},
{
"author": [
{
"family": "Jones",
"given": "John"
}
],
"id": "ITEM-2",
"title": "John's Book",
"issued": { "date-parts": [[2001]]},
"type": "book"
}
]
<<===== INPUT =====<<

0 comments on commit cdb9cbf

Please sign in to comment.