{"action":"opened","issue":{"url":"https://api.github.com/repos/nativelibs4java/JNAerator/issues/108","repository_url":"https://api.github.com/repos/nativelibs4java/JNAerator","labels_url":"https://api.github.com/repos/nativelibs4java/JNAerator/issues/108/labels{/name}","comments_url":"https://api.github.com/repos/nativelibs4java/JNAerator/issues/108/comments","events_url":"https://api.github.com/repos/nativelibs4java/JNAerator/issues/108/events","html_url":"https://github.com/nativelibs4java/JNAerator/issues/108","id":138208231,"number":108,"title":"Unable to build jnaerator due to test failure","user":{"login":"LowWeiLin","id":3910365,"avatar_url":"https://avatars.githubusercontent.com/u/3910365?v=3","gravatar_id":"","url":"https://api.github.com/users/LowWeiLin","html_url":"https://github.com/LowWeiLin","followers_url":"https://api.github.com/users/LowWeiLin/followers","following_url":"https://api.github.com/users/LowWeiLin/following{/other_user}","gists_url":"https://api.github.com/users/LowWeiLin/gists{/gist_id}","starred_url":"https://api.github.com/users/LowWeiLin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LowWeiLin/subscriptions","organizations_url":"https://api.github.com/users/LowWeiLin/orgs","repos_url":"https://api.github.com/users/LowWeiLin/repos","events_url":"https://api.github.com/users/LowWeiLin/events{/privacy}","received_events_url":"https://api.github.com/users/LowWeiLin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-03T15:19:27Z","updated_at":"2016-03-03T15:19:27Z","closed_at":null,"body":"Hello!\r\n\r\nI am following the instructions on building using mvn clean install, and I get the following test failure which stops the build. May I know how I can fix this? Thanks!\r\n\r\n```\r\n-------------------------------------------------------------------------------\r\nTest set: com.ochafik.lang.jnaerator.JNAerationTest\r\n-------------------------------------------------------------------------------\r\nTests run: 123, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 29.906 sec <<< FAILURE! - in com.ochafik.lang.jnaerator.JNAerationTest\r\ntest[55](com.ochafik.lang.jnaerator.JNAerationTest)  Time elapsed: 0.066 sec  <<< FAILURE!\r\njava.lang.AssertionError: Error : com.ochafik.lang.compiler.CompilerUtils$CompilationError: Error in file:///TestJNA.java at line 9, col 17 :\r\n\tillegal start of expression\r\n\r\n1:\t\timport com.sun.jna.*;\r\n2:\t\timport com.sun.jna.ptr.*;\r\n3:\t\timport java.nio.*;\r\n4:\t\timport test.*;\r\n5:\t\tpublic class TestJNA {\r\n6:\t\t\tpublic static void main(String[] args) {\r\n7:\t\t\t\t// globals.test / JNA\r\n8:\t\t\t\t//#runtime(JNA)\r\n9:>>>\t\t\t\timport static test.TestLibrary.*;\r\n10:\t\t\t}\r\n11:\t\t}\r\nError in file:///TestJNA.java at line 9, col 24 :\r\n\tillegal start of expression\r\n\r\n1:\t\timport com.sun.jna.*;\r\n2:\t\timport com.sun.jna.ptr.*;\r\n3:\t\timport java.nio.*;\r\n4:\t\timport test.*;\r\n5:\t\tpublic class TestJNA {\r\n6:\t\t\tpublic static void main(String[] args) {\r\n7:\t\t\t\t// globals.test / JNA\r\n8:\t\t\t\t//#runtime(JNA)\r\n9:>>>\t\t\t\timport static test.TestLibrary.*;\r\n10:\t\t\t}\r\n11:\t\t}\r\nError in file:///TestJNA.java at line 9, col 35 :\r\n\t';' expected\r\n\r\n1:\t\timport com.sun.jna.*;\r\n2:\t\timport com.sun.jna.ptr.*;\r\n3:\t\timport java.nio.*;\r\n4:\t\timport test.*;\r\n5:\t\tpublic class TestJNA {\r\n6:\t\t\tpublic static void main(String[] args) {\r\n7:\t\t\t\t// globals.test / JNA\r\n8:\t\t\t\t//#runtime(JNA)\r\n9:>>>\t\t\t\timport static test.TestLibrary.*;\r\n10:\t\t\t}\r\n11:\t\t}\r\nError in file:///TestJNA.java at line 9, col 48 :\r\n\t<identifier> expected\r\n\r\n1:\t\timport com.sun.jna.*;\r\n2:\t\timport com.sun.jna.ptr.*;\r\n3:\t\timport java.nio.*;\r\n4:\t\timport test.*;\r\n5:\t\tpublic class TestJNA {\r\n6:\t\t\tpublic static void main(String[] args) {\r\n7:\t\t\t\t// globals.test / JNA\r\n8:\t\t\t\t//#runtime(JNA)\r\n9:>>>\t\t\t\timport static test.TestLibrary.*;\r\n10:\t\t\t}\r\n11:\t\t}\r\nError in file:///TestJNA.java at line 9, col 49 :\r\n\tillegal start of expression\r\n\r\n1:\t\timport com.sun.jna.*;\r\n2:\t\timport com.sun.jna.ptr.*;\r\n3:\t\timport java.nio.*;\r\n4:\t\timport test.*;\r\n5:\t\tpublic class TestJNA {\r\n6:\t\t\tpublic static void main(String[] args) {\r\n7:\t\t\t\t// globals.test / JNA\r\n8:\t\t\t\t//#runtime(JNA)\r\n9:>>>\t\t\t\timport static test.TestLibrary.*;\r\n10:\t\t\t}\r\n11:\t\t}\r\n in :\r\n{TestJNA.java=import com.sun.jna.*;\r\nimport com.sun.jna.ptr.*;\r\nimport java.nio.*;\r\nimport test.*;\r\npublic class TestJNA {\r\n\tpublic static void main(String[] args) {\r\n\t\t// globals.test / JNA\r\n\t\t//#runtime(JNA)\r\n\t\timport static test.TestLibrary.*;\r\n\t}\r\n}}\r\n\tat org.junit.Assert.fail(Assert.java:88)\r\n\tat org.junit.Assert.assertTrue(Assert.java:41)\r\n\tat com.ochafik.lang.jnaerator.JNAerationTest$1.setFinished(JNAerationTest.java:184)\r\n\tat com.ochafik.lang.jnaerator.JNAerator.jnaerate(JNAerator.java:1066)\r\n\tat com.ochafik.lang.jnaerator.JNAerationTest.test(JNAerationTest.java:137)\r\n\r\n\r\n```"}}