[llvm-commits] CVS: llvm-java/test/Programs/SingleSource/UnitTests/Collections.java Collections1.java Collections2.java Collections3.java Collections4.java
Alkis Evlogimenos
alkis at cs.uiuc.edu
Thu Feb 3 00:11:18 PST 2005
Changes in directory llvm-java/test/Programs/SingleSource/UnitTests:
Collections.java updated: 1.4 -> 1.5
Collections1.java updated: 1.3 -> 1.4
Collections2.java updated: 1.3 -> 1.4
Collections3.java updated: 1.1 -> 1.2
Collections4.java updated: 1.1 -> 1.2
---
Log message:
Rename function
---
Diffs of the changes: (+8 -8)
Collections.java | 4 ++--
Collections1.java | 2 +-
Collections2.java | 2 +-
Collections3.java | 2 +-
Collections4.java | 6 +++---
5 files changed, 8 insertions(+), 8 deletions(-)
Index: llvm-java/test/Programs/SingleSource/UnitTests/Collections.java
diff -u llvm-java/test/Programs/SingleSource/UnitTests/Collections.java:1.4 llvm-java/test/Programs/SingleSource/UnitTests/Collections.java:1.5
--- llvm-java/test/Programs/SingleSource/UnitTests/Collections.java:1.4 Tue Feb 1 22:58:05 2005
+++ llvm-java/test/Programs/SingleSource/UnitTests/Collections.java Thu Feb 3 02:11:07 2005
@@ -4,7 +4,7 @@
{
public static Random rand = new Random(0);
- public static void fillCollectionWithRandomInts(Collection c) {
+ public static void addRandomIntsToCollection(Collection c) {
int size = rand.nextInt(45) + 5;
for (int i = 0; i < size; ++i)
c.add(new Integer(rand.nextInt()));
@@ -17,7 +17,7 @@
public static void main(String[] args) {
Collection c1 = new TreeSet();
- fillCollectionWithRandomInts(c1);
+ addRandomIntsToCollection(c1);
Collection c2 = new TreeSet(c1);
Test.println(c1.remove(new Integer(5)));
Index: llvm-java/test/Programs/SingleSource/UnitTests/Collections1.java
diff -u llvm-java/test/Programs/SingleSource/UnitTests/Collections1.java:1.3 llvm-java/test/Programs/SingleSource/UnitTests/Collections1.java:1.4
--- llvm-java/test/Programs/SingleSource/UnitTests/Collections1.java:1.3 Tue Feb 1 22:58:05 2005
+++ llvm-java/test/Programs/SingleSource/UnitTests/Collections1.java Thu Feb 3 02:11:07 2005
@@ -4,7 +4,7 @@
{
public static void main(String[] args) {
Collection c1 = new LinkedList();
- Collections.fillCollectionWithRandomInts(c1);
+ Collections.addRandomIntsToCollection(c1);
Collections.printIntCollection(c1);
}
}
Index: llvm-java/test/Programs/SingleSource/UnitTests/Collections2.java
diff -u llvm-java/test/Programs/SingleSource/UnitTests/Collections2.java:1.3 llvm-java/test/Programs/SingleSource/UnitTests/Collections2.java:1.4
--- llvm-java/test/Programs/SingleSource/UnitTests/Collections2.java:1.3 Tue Feb 1 22:58:05 2005
+++ llvm-java/test/Programs/SingleSource/UnitTests/Collections2.java Thu Feb 3 02:11:07 2005
@@ -4,7 +4,7 @@
{
public static void main(String[] args) {
Collection c1 = new TreeSet();
- Collections.fillCollectionWithRandomInts(c1);
+ Collections.addRandomIntsToCollection(c1);
Collections.printIntCollection(c1);
}
}
Index: llvm-java/test/Programs/SingleSource/UnitTests/Collections3.java
diff -u llvm-java/test/Programs/SingleSource/UnitTests/Collections3.java:1.1 llvm-java/test/Programs/SingleSource/UnitTests/Collections3.java:1.2
--- llvm-java/test/Programs/SingleSource/UnitTests/Collections3.java:1.1 Wed Feb 2 12:42:22 2005
+++ llvm-java/test/Programs/SingleSource/UnitTests/Collections3.java Thu Feb 3 02:11:07 2005
@@ -4,7 +4,7 @@
{
public static void main(String[] args) {
Collection c1 = new ArrayList();
- Collections.fillCollectionWithRandomInts(c1);
+ Collections.addRandomIntsToCollection(c1);
Collections.printIntCollection(c1);
}
}
Index: llvm-java/test/Programs/SingleSource/UnitTests/Collections4.java
diff -u llvm-java/test/Programs/SingleSource/UnitTests/Collections4.java:1.1 llvm-java/test/Programs/SingleSource/UnitTests/Collections4.java:1.2
--- llvm-java/test/Programs/SingleSource/UnitTests/Collections4.java:1.1 Thu Feb 3 02:08:25 2005
+++ llvm-java/test/Programs/SingleSource/UnitTests/Collections4.java Thu Feb 3 02:11:07 2005
@@ -4,13 +4,13 @@
{
public static void main(String[] args) {
Collection c1 = new ArrayList();
- Collections.fillCollectionWithRandomInts(c1);
+ Collections.addRandomIntsToCollection(c1);
Collection c2 = new TreeSet(c1);
Collection c3 = new LinkedList();
- Collections.fillCollectionWithRandomInts(c3);
+ Collections.addRandomIntsToCollection(c3);
Test.println(c1.containsAll(c2));
Test.println(c1.containsAll(c3));
- Collections.fillCollectionWithRandomInts(c1);
+ Collections.addRandomIntsToCollection(c1);
Test.println(c1.containsAll(c2));
Test.println(c1.containsAll(c3));
Collections.printIntCollection(c1);
More information about the llvm-commits
mailing list