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

Last change on this file since 826 was 744, checked in by wouter, 11 months ago

#254 PyProgram now throws TranslationException. Ignore broken test in tudunit-t

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