diff --git a/resource/tests/export.feature b/resource/tests/export.feature index 1f3efecc11..ed1f46a27a 100644 --- a/resource/tests/export.feature +++ b/resource/tests/export.feature @@ -10,14 +10,14 @@ Background: ### BibLaTeX cookie-cutter ### -@test-cluster-1 @127 @201 @219 @253 @268 @288 @294 @302 @308 @309 @310 @326 @327 @351 @376 @389 @bblt-0 @bblt @485 @515 @573 +@test-cluster-1 @127 @201 @219 @253 @268 @288 @294 @302 @308 @309 @310 @326 @327 @351 @376 @389 @bblt-0 @bblt @485 @515 @573 @590 Scenario Outline: BibLaTeX Export And I import references from 'export/.json' Then a library export using 'Better BibLaTeX' should match 'export/.biblatex' Examples: | file | references | - | EDTF dates in BibLaTeX #590 | 1 | + | EDTF dates in BibLaTeX #590 | 3 | | transliteration for citekey #580 | 1 | | CSL status = biblatex pubstate #573 | 1 | | Title case of latex greek text on biblatex export #564 | 2 | diff --git a/test/fixtures/export/EDTF dates in BibLaTeX #590.biblatex b/test/fixtures/export/EDTF dates in BibLaTeX #590.biblatex index 8f9e3189b6..cb42f1ae66 100644 --- a/test/fixtures/export/EDTF dates in BibLaTeX #590.biblatex +++ b/test/fixtures/export/EDTF dates in BibLaTeX #590.biblatex @@ -1,6 +1,6 @@ -@article{barker_2016_turkey, +@article{barker1_2016_turkey, abstract = {Religious fundamentalism is a powerful force in Turkey where the military has a long history of intervening in politics to ensure the nation remains secular.}, - author = {Barker, Anne}, + author = {Barker1, Anne}, date = {2016-07-18T20:26:06}, journaltitle = {ABC News}, langid = {australian}, @@ -11,3 +11,31 @@ url = {http://www.abc.net.au/news/2016-07-18/turkey-coup-attempt-shows-division-over-wish-for-islamist-rule/7639292}, urldate = {2016-07-24} } + +@article{barker2_2016_turkey, + abstract = {Religious fundamentalism is a powerful force in Turkey where the military has a long history of intervening in politics to ensure the nation remains secular.}, + author = {Barker2, Anne}, + date = {2016-07-18T20:26:06+10:00}, + journaltitle = {ABC News}, + langid = {australian}, + note = {Actual: 2016-07-18T20:26:06+10:00}, + rights = {http://www.abc.net.au/conditions.htm\#UseOfContent}, + timestamp = {2015-02-24 12:14:36 +0100}, + title = {Turkey Divided between Secular and {{Islamist}} Rule}, + url = {http://www.abc.net.au/news/2016-07-18/turkey-coup-attempt-shows-division-over-wish-for-islamist-rule/7639292}, + urldate = {2016-07-24} +} + +@article{barker3_2016_turkey, + abstract = {Religious fundamentalism is a powerful force in Turkey where the military has a long history of intervening in politics to ensure the nation remains secular.}, + author = {Barker3, Anne}, + date = {2016-07-18T20:26:06Z}, + journaltitle = {ABC News}, + langid = {australian}, + note = {Actual: 2016-07-18T20:26:06+10:00}, + rights = {http://www.abc.net.au/conditions.htm\#UseOfContent}, + timestamp = {2015-02-24 12:14:36 +0100}, + title = {Turkey Divided between Secular and {{Islamist}} Rule}, + url = {http://www.abc.net.au/news/2016-07-18/turkey-coup-attempt-shows-division-over-wish-for-islamist-rule/7639292}, + urldate = {2016-07-24} +} diff --git a/test/fixtures/export/EDTF dates in BibLaTeX #590.json b/test/fixtures/export/EDTF dates in BibLaTeX #590.json index 1f0550b225..c9e8a71629 100644 --- a/test/fixtures/export/EDTF dates in BibLaTeX #590.json +++ b/test/fixtures/export/EDTF dates in BibLaTeX #590.json @@ -67,7 +67,59 @@ "creators": [ { "creatorType": "author", - "lastName": "Barker", + "lastName": "Barker1", + "firstName": "Anne" + } + ], + "attachments": [], + "notes": [], + "itemID": 377, + "seeAlso": [], + "__citekey__": "barker_2016_turkey" + }, + { + "itemType": "newspaperArticle", + "tags": [], + "relations": {}, + "url": "http://www.abc.net.au/news/2016-07-18/turkey-coup-attempt-shows-division-over-wish-for-islamist-rule/7639292", + "rights": "http://www.abc.net.au/conditions.htm#UseOfContent", + "publicationTitle": "ABC News", + "date": "2016-07-18T20:26:06+10:00", + "extra": "Actual: 2016-07-18T20:26:06+10:00", + "accessDate": "2016-07-24 12:35:37", + "language": "en-AU", + "abstractNote": "Religious fundamentalism is a powerful force in Turkey where the military has a long history of intervening in politics to ensure the nation remains secular.", + "title": "Turkey divided between secular and Islamist rule", + "creators": [ + { + "creatorType": "author", + "lastName": "Barker2", + "firstName": "Anne" + } + ], + "attachments": [], + "notes": [], + "itemID": 377, + "seeAlso": [], + "__citekey__": "barker_2016_turkey" + }, + { + "itemType": "newspaperArticle", + "tags": [], + "relations": {}, + "url": "http://www.abc.net.au/news/2016-07-18/turkey-coup-attempt-shows-division-over-wish-for-islamist-rule/7639292", + "rights": "http://www.abc.net.au/conditions.htm#UseOfContent", + "publicationTitle": "ABC News", + "date": "2016-07-18T20:26:06Z", + "extra": "Actual: 2016-07-18T20:26:06+10:00", + "accessDate": "2016-07-24 12:35:37", + "language": "en-AU", + "abstractNote": "Religious fundamentalism is a powerful force in Turkey where the military has a long history of intervening in politics to ensure the nation remains secular.", + "title": "Turkey divided between secular and Islamist rule", + "creators": [ + { + "creatorType": "author", + "lastName": "Barker3", "firstName": "Anne" } ],