[llvm-commits] CVS: llvm-java/test/Programs/SingleSource/UnitTests/Test.java

Alkis Evlogimenos alkis at cs.uiuc.edu
Wed Nov 24 01:00:52 PST 2004



Changes in directory llvm-java/test/Programs/SingleSource/UnitTests:

Test.java added (r1.1)
---
Log message:

Add test helper class that provides hooks for simple I/O.


---
Diffs of the changes:  (+12 -0)

Index: llvm-java/test/Programs/SingleSource/UnitTests/Test.java
diff -c /dev/null llvm-java/test/Programs/SingleSource/UnitTests/Test.java:1.1
*** /dev/null	Wed Nov 24 03:00:52 2004
--- llvm-java/test/Programs/SingleSource/UnitTests/Test.java	Wed Nov 24 03:00:42 2004
***************
*** 0 ****
--- 1,12 ----
+ public class Test
+ {
+     static {
+         System.loadLibrary("test");
+     }
+ 
+     public static native void print_boolean_ln(boolean b);
+     public static native void print_int_ln(int i);
+     public static native void print_long_ln(long l);
+     public static native void print_float_ln(float f);
+     public static native void print_double_ln(double d);
+ }






More information about the llvm-commits mailing list