[llvm-commits] CVS: llvm-java/test/Programs/SingleSource/UnitTests/Collections3.java
Alkis Evlogimenos
alkis at cs.uiuc.edu
Wed Feb 2 10:42:34 PST 2005
Changes in directory llvm-java/test/Programs/SingleSource/UnitTests:
Collections3.java added (r1.1)
---
Log message:
Add test for ArrayList as a Collection
---
Diffs of the changes: (+10 -0)
Collections3.java | 10 ++++++++++
1 files changed, 10 insertions(+)
Index: llvm-java/test/Programs/SingleSource/UnitTests/Collections3.java
diff -c /dev/null llvm-java/test/Programs/SingleSource/UnitTests/Collections3.java:1.1
*** /dev/null Wed Feb 2 12:42:32 2005
--- llvm-java/test/Programs/SingleSource/UnitTests/Collections3.java Wed Feb 2 12:42:22 2005
***************
*** 0 ****
--- 1,10 ----
+ import java.util.*;
+
+ public class Collections3
+ {
+ public static void main(String[] args) {
+ Collection c1 = new ArrayList();
+ Collections.fillCollectionWithRandomInts(c1);
+ Collections.printIntCollection(c1);
+ }
+ }
More information about the llvm-commits
mailing list