mirror of
https://github.com/openbabel/openbabel.git
synced 2025-02-25 18:55:23 -06:00
* scripts/java/OBTest.java: Bring back test program.
* scripts/openbabel-java.i, scripts/openbabel-perl.i,
scripts/openbabel-ruby.i: Fix script bindings. Now compile
cleanly. Perl still needs work to pass tests.
* include/openbabel/math/spacegroup.h, include/openbabel/plugin.h:
Minor updates for SWIG compatibility.
This commit is contained in:
21
scripts/java/OBTest.java
Normal file
21
scripts/java/OBTest.java
Normal file
@@ -0,0 +1,21 @@
|
||||
public class OBTest
|
||||
{
|
||||
public OBTest()
|
||||
{
|
||||
System.loadLibrary("openbabel");
|
||||
}
|
||||
|
||||
public void run()
|
||||
{
|
||||
OBConversion c = new OBConversion();
|
||||
}
|
||||
|
||||
public static void main(String[] args)
|
||||
{
|
||||
System.out.println("Running OBTest...");
|
||||
|
||||
OBTest test = new OBTest();
|
||||
|
||||
test.run();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user