source: java2python/jackson-t/src/test/java/tudelft/utilities/j2p/EndNegoTest.java@ 741

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 
1package tudelft.utilities.j2p;
2
3import java.io.IOException;
4import java.nio.file.Paths;
5
6import 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 */
14public 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.