Last change
on this file since 741 was 741, checked in by wouter, 11 months ago |
#252 fixed error message, added new tests, fixed existing tests
|
File size:
653 bytes
|
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 | /**
|
---|
9 | * The EndNegotiation.java file is not compiling as intended because Caused by:
|
---|
10 | * tudelft.utilities.j2p.t.TranslationException: parameter 'id' must equal the
|
---|
11 | * property name but found 'actor' at @JsonProperty("actor") PartyId id (line
|
---|
12 | * 13,col 24)-(line 13,col 56) *
|
---|
13 | */
|
---|
14 | public class EndNegoTest {
|
---|
15 |
|
---|
16 | @Test(expected = IllegalArgumentException.class)
|
---|
17 | public void test() throws IOException, ClassNotFoundException {
|
---|
18 | PyProgram program = PyProgram
|
---|
19 | .fromDirectory(Paths.get("src/test/endnego"));
|
---|
20 | System.out.println(program);
|
---|
21 | }
|
---|
22 |
|
---|
23 | } |
---|
Note:
See
TracBrowser
for help on using the repository browser.