Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

fix tests

  • Loading branch information...
commit 9208f676a4681cd080044a2e381b2f62f5814a95 1 parent 5164e57
Sebastian Karcher authored

Showing 3 changed files with 15 additions and 19 deletions. Show diff stats Hide diff stats

  1. +5 13 DeGruyter.js
  2. +7 3 NZZ.ch.js
  3. +3 3 Newsnet.js
18 DeGruyter.js
@@ -9,7 +9,7 @@
9 9 "inRepository": true,
10 10 "translatorType": 4,
11 11 "browserSupport": "gcsib",
12   - "lastUpdated": "2012-06-17 23:48:46"
  12 + "lastUpdated": "2012-06-18 23:17:07"
13 13 }
14 14
15 15 /*
@@ -105,18 +105,13 @@ var testCases = [
105 105 "attachments": [
106 106 {
107 107 "title": "Full Text PDF",
108   - "url": "http://www.degruyter.com/dg/viewarticle.fullcontentlink:pdfeventlink/contentUri?format=INT&t:ac=j$002ffor.2011.8.4_20120105083457$002ffor.2011.8.4$002ffor.2011.8.4.1405$002ffor.2011.8.4.1405.xml",
109 108 "mimeType": "application/pdf"
110 109 },
111 110 {
112   - "title": "Snapshot",
113   - "document": {
114   - "location": {}
115   - }
  111 + "title": "Snapshot"
116 112 }
117 113 ],
118 114 "title": "The Midterm Landslide of 2010: A Triple Wave Election",
119   - "date": "2011/02/10",
120 115 "publicationTitle": "The Forum",
121 116 "volume": "8",
122 117 "issue": "4",
@@ -124,6 +119,7 @@ var testCases = [
124 119 "accessDate": "CURRENT_TIMESTAMP",
125 120 "libraryCatalog": "www.degruyter.com",
126 121 "abstractNote": "Democrats were trounced in the 2010 midterm elections. They lost six seats in the U.S. Senate, six governorships, and about 700 seats in state legislatures. Compared to 2008, Democrats lost 64 seats in the House and Republicans regained their House majority. The Republican majority elected in 2010 was the largest number of Republicans elected since 1946. The analysis finds that Republican seat gains resulted from the receding of the pro-Democratic waves of 2006 and 2008 as well as the incoming pro-Republican wave of 2010. Voters rejected Democrats in 2010 for their failure to revive the economy, but also for their advancement of the national healthcare reform and other liberal policies. The analysis speculates that Democrats are likely to gain House seats and lose Senate seats in 2012. Finally, President Obama’s prospects of re-election have probably been improved because of the Republican gains in the 2010 midterm.",
  122 + "date": "2011/01/10",
127 123 "shortTitle": "The Midterm Landslide of 2010"
128 124 }
129 125 ]
@@ -147,18 +143,13 @@ var testCases = [
147 143 "attachments": [
148 144 {
149 145 "title": "Full Text PDF",
150   - "url": "http://www.degruyter.com/dg/viewarticle.fullcontentlink:pdfeventlink/contentUri?format=INT&t:ac=j$002fev.2010.7.4$002fev.2010.7.4.1796$002fev.2010.7.4.1796.xml",
151 146 "mimeType": "application/pdf"
152 147 },
153 148 {
154   - "title": "Snapshot",
155   - "document": {
156   - "location": {}
157   - }
  149 + "title": "Snapshot"
158 150 }
159 151 ],
160 152 "title": "Comment on Nordhaus: Carbon Tax Calculations",
161   - "date": "2010/11/08",
162 153 "publicationTitle": "The Economists' Voice",
163 154 "volume": "7",
164 155 "issue": "4",
@@ -166,6 +157,7 @@ var testCases = [
166 157 "accessDate": "CURRENT_TIMESTAMP",
167 158 "libraryCatalog": "www.degruyter.com",
168 159 "abstractNote": "William Nordhaus confuses the impact of a tax on carbon and a tax on carbon dioxide, according to Yoram Bauman.",
  160 + "date": "2010/10/08",
169 161 "shortTitle": "Comment on Nordhaus"
170 162 }
171 163 ]
10 NZZ.ch.js
@@ -9,7 +9,7 @@
9 9 "inRepository": true,
10 10 "translatorType": 4,
11 11 "browserSupport": "gcsibv",
12   - "lastUpdated": "2012-06-17 00:01:42"
  12 + "lastUpdated": "2012-06-18 23:15:20"
13 13 }
14 14
15 15 /*
@@ -174,9 +174,11 @@ var testCases = [
174 174 "date": "2011-11-10",
175 175 "publicationTitle": "Neue Zürcher Zeitung",
176 176 "ISSN": "0376-6829",
  177 + "language": "de",
177 178 "shortTitle": "Kuoni profitiert von der GTA-Übernahme",
  179 + "abstractNote": "Der Reisekonzern Kuoni hat in den ersten neun Monaten von der Übernahme des Reisekonzerns Gullivers Travel Associates (GTA) profitiert. Der Umsatz stieg, und der Konzern machte Gewinn.",
178 180 "section": "Aktuell",
179   - "libraryCatalog": "nzz.ch",
  181 + "libraryCatalog": "NZZ",
180 182 "accessDate": "CURRENT_TIMESTAMP"
181 183 }
182 184 ]
@@ -209,9 +211,11 @@ var testCases = [
209 211 "date": "2012-05-30",
210 212 "publicationTitle": "Neue Zürcher Zeitung",
211 213 "ISSN": "0376-6829",
  214 + "language": "de",
212 215 "shortTitle": "Wie ein mexikanisches Städtchen die Bösewichte vertrieb",
  216 + "abstractNote": "Mit einem Aufstand haben die Einwohner der mexikanischen Gemeinde Cherán die Holzfällermafia vertrieben. Sie haben eine Landsgemeinde gegründet und entdeckt, dass direktdemokratische Institutionen Korruption verhindern.",
213 217 "section": "International",
214   - "libraryCatalog": "nzz.ch",
  218 + "libraryCatalog": "NZZ",
215 219 "accessDate": "CURRENT_TIMESTAMP"
216 220 }
217 221 ]
6 Newsnet.js
@@ -9,7 +9,7 @@
9 9 "inRepository": true,
10 10 "translatorType": 4,
11 11 "browserSupport": "gcsibv",
12   - "lastUpdated": "2012-06-17 04:49:07"
  12 + "lastUpdated": "2012-06-18 23:15:52"
13 13 }
14 14
15 15 /*
@@ -159,7 +159,6 @@ var testCases = [
159 159 {
160 160 "title": "tagesanzeiger.ch Article Snapshot",
161 161 "mimeType": "text/html",
162   - "url": "http://www.tagesanzeiger.ch/wissen/natur/Duestere-Fakten-zum-Klimawandel/story/13137025/print.html",
163 162 "snapshot": true
164 163 }
165 164 ],
@@ -168,8 +167,9 @@ var testCases = [
168 167 "date": "09.11.2011",
169 168 "abstractNote": "Der neueste Bericht der Internationalen Energieagentur ist besorgniserregend. Das Klima könnte sich noch viel stärker erwärmen als bisher erwartet.",
170 169 "publicationTitle": "tagesanzeiger.ch: (kle/dapd)",
  170 + "language": "de",
171 171 "section": "Wissen",
172   - "libraryCatalog": "tagesanzeiger.ch/Newsnetz",
  172 + "libraryCatalog": "Newsnet/Tamedia",
173 173 "accessDate": "CURRENT_TIMESTAMP"
174 174 }
175 175 ]

0 comments on commit 9208f67

Please sign in to comment.
Something went wrong with that request. Please try again.