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