Line | |
---|
1 | package tudelft.utilities.j2p;
|
---|
2 |
|
---|
3 | import java.io.IOException;
|
---|
4 | import java.nio.file.Paths;
|
---|
5 |
|
---|
6 | import org.junit.Test;
|
---|
7 |
|
---|
8 | import tudelft.utilities.j2p.t.TranslationException;
|
---|
9 |
|
---|
10 | /**
|
---|
11 | * The EndNegotiation.java file is not compiling as intended because Caused by:
|
---|
12 | * tudelft.utilities.j2p.t.TranslationException: parameter 'id' must equal the
|
---|
13 | * property name but found 'actor' at @JsonProperty("actor") PartyId id (line
|
---|
14 | * 13,col 24)-(line 13,col 56) *
|
---|
15 | */
|
---|
16 | public class EndNegoTest {
|
---|
17 |
|
---|
18 | @Test(expected = TranslationException.class)
|
---|
19 | public void test()
|
---|
20 | throws IOException, ClassNotFoundException, TranslationException {
|
---|
21 | PyProgram program = PyProgram
|
---|
22 | .fromDirectory(Paths.get("src/test/endnego"));
|
---|
23 | System.out.println(program);
|
---|
24 | }
|
---|
25 |
|
---|
26 | } |
---|
Note:
See
TracBrowser
for help on using the repository browser.