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

Last change on this file since 1116 was 889, checked in by wouter, 5 months ago

#309 create init.py files in all created subdirs

File size: 772 bytes
Line 
1package tudelft.utilities.j2p;
2
3import java.io.IOException;
4import java.nio.file.Paths;
5import java.util.Arrays;
6
7import org.junit.Test;
8
9import 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 */
17public 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.