Skip to content
This repository has been archived by the owner on Oct 23, 2020. It is now read-only.

Commit

Permalink
Correct some question formulations
Browse files Browse the repository at this point in the history
  • Loading branch information
denisw committed Feb 6, 2015
1 parent 3c4afee commit 4cd2fe0
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 20 deletions.
25 changes: 13 additions & 12 deletions src/main/java/de/ddb/pdc/core/Question.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,28 +25,28 @@ public enum Question {
* Is the work a court decision or officially issued discussion formula?
*/
COURT_DECISION_OR_DECISION_FORMULA(
"Ist das Werk ein Gerichtsurteil oder ein offiziell veröffentlichter "
+ "Beschluss?"),
"Ist das Werk ein Gerichtsurteil oder eine offiziell veröffentlichte "
+ "Auslegungsrichtlinie?"),

/**
* Is the work an act of parliament which has entered the parliamentary
* process?
*/
ACT_OF_PARLIAMENT(
"Ist dieses Werk ein Gesetz, dass sich im parlamentarischen "
+ "Entscheidungsprozess befindet?"),
"Ist dieses Werk ein Gesetz oder eine Verordnung, die in den "
+ "parlamentarischen Entscheidungsprozess eingebracht wurde?"),

/**
* Is the work a government directive?
*/
GOVERNMENT_DIRECTIVE("Ist das Werk eine Anordnung?"),
GOVERNMENT_DIRECTIVE("Ist das Werk ein amtlicher Erlass?"),

/**
* Is the work an official decision or announcement by a public authority?
*/
ANNOUNCEMENT_BY_AUTHORITY(
"Ist dieses Werk eine offizielle Entscheidung oder eine Bekanntgabe einer"
+ " öffentlichen Autorität?"),
"Ist dieses Werk eine offizielle Entscheidung oder Bekanntmachung einer"
+ " amtlichen Instanz?"),

/**
* Is the author natural person?
Expand All @@ -73,7 +73,7 @@ public enum Question {
*/
PUBLISHED_WITHIN_70_YEARS_OF_DEATH(
"Wurde dieses Werk innerhalb von 70 Jahren nach dem Tod des letzten "
+ "überlebenden Autor veröffentlicht?"),
+ "überlebenden Autors veröffentlicht?"),

/**
* Did the last surviving author die more than 70 years ago?
Expand All @@ -86,25 +86,26 @@ public enum Question {
* ago?
*/
PUBLISHED_MORE_THAN_25_YEARS_AGO(
"Ist das Werk schon mehr als 25 Jahre veröffentlicht worden?"),
"Ist das Werk vor mehr als 25 Jahren veröffentlicht worden?"),

/**
* Was the work published or communicated to the public more than 50 years
* ago?
*/
PUBLISHED_MORE_THAN_50_YEARS_AGO(
"Ist das Werk schon mehr als 50 Jahre veröffentlicht worden?"),
"Ist das Werk vor mehr als 50 Jahren veröffentlicht worden?"),

/**
* Is the country of origin the European Economic Area?
*/
COUNTRY_OF_ORIGIN_EEA("Ist das Herkunftsland der Europäische "
COUNTRY_OF_ORIGIN_EEA("Ist das Herkunftsland des Werks der Europäische "
+ "Wirtschaftsraum?"),

/**
* Is the country of origin the Berne TRIPTIS WCT?
*/
COUNTRY_OF_ORIGIN_TRIPTIS("Ist das Herkunftsland das Berne TRIPTIS WCT?"),
COUNTRY_OF_ORIGIN_TRIPTIS("Ist das Herkunftsland des Werks das "
+ "Berne TRIPTIS WCT?"),

/**
* Is the nationality or place of residence of the author the Berne TRIPTIS
Expand Down
16 changes: 8 additions & 8 deletions src/test/java/de/ddb/pdc/PdcIntegrationTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@ public void determinePublicDomain() throws Exception {
question1.get("note"));

Map question2 = (Map) trace.get(1);
assertEquals("Ist das Werk ein Gerichtsurteil oder ein offiziell "
+ "veröffentlichter Beschluss?",
assertEquals("Ist das Werk ein Gerichtsurteil oder eine offiziell "
+ "veröffentlichte Auslegungsrichtlinie?",
question2.get("question"));
assertEquals("assumed_no", question2.get("answer"));
assertEquals("Es wird immer davon ausgegangen, dass die Antwort nein ist. "
Expand All @@ -136,8 +136,8 @@ public void determinePublicDomain() throws Exception {
question2.get("note"));

Map question3 = (Map) trace.get(2);
assertEquals("Ist dieses Werk ein Gesetz, dass sich im parlamentarischen "
+ "Entscheidungsprozess befindet?",
assertEquals("Ist dieses Werk ein Gesetz oder eine Verordnung, die in "
+ "den parlamentarischen Entscheidungsprozess eingebracht wurde?",
question3.get("question"));
assertEquals("assumed_no", question3.get("answer"));
assertEquals("Es wird immer davon ausgegangen, dass die Antwort nein ist. "
Expand All @@ -146,7 +146,7 @@ public void determinePublicDomain() throws Exception {
question3.get("note"));

Map question4 = (Map) trace.get(3);
assertEquals("Ist das Werk eine Anordnung?",
assertEquals("Ist das Werk ein amtlicher Erlass?",
question4.get("question"));
assertEquals("assumed_no", question4.get("answer"));
assertEquals("Es wird immer davon ausgegangen, dass die Antwort nein ist. "
Expand All @@ -155,8 +155,8 @@ public void determinePublicDomain() throws Exception {
question4.get("note"));

Map question5 = (Map) trace.get(4);
assertEquals("Ist dieses Werk eine offizielle Entscheidung oder eine Bekanntgabe einer"
+ " öffentlichen Autorität?",
assertEquals("Ist dieses Werk eine offizielle Entscheidung oder "
+ "Bekanntmachung einer amtlichen Instanz?",
question5.get("question"));
assertEquals("assumed_no", question5.get("answer"));
assertEquals("Es wird immer davon ausgegangen, dass die Antwort nein ist. "
Expand Down Expand Up @@ -190,7 +190,7 @@ public void determinePublicDomain() throws Exception {

Map question9 = (Map) trace.get(8);
assertEquals("Wurde dieses Werk innerhalb von 70 Jahren nach dem Tod des "
+ "letzten überlebenden Autor veröffentlicht?",
+ "letzten überlebenden Autors veröffentlicht?",
question9.get("question"));
assertEquals("yes", question9.get("answer"));
assertEquals("Das Werk wurde (spätestens) 1849 veröffentlicht. Der Autor, "
Expand Down

0 comments on commit 4cd2fe0

Please sign in to comment.