Skip to content

Commit 9506e55

Browse files
author
Troy Melhase
committed
Renaming test classes.
1 parent c9f5ee5 commit 9506e55

File tree

11 files changed

+21
-18
lines changed

11 files changed

+21
-18
lines changed

test/Makefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ test_targets := $(sort $(notdir $(basename $(wildcard *.java))))
1414

1515
all:
1616
$(MAKE) $(test_targets)
17+
18+
selectors:
1719
@cd selector && make
1820

1921

@@ -22,8 +24,8 @@ clean:
2224

2325

2426
packages:
25-
@cd Package1 && javac Class1.java
26-
@cd Package1 && ../$(j2py) Class1.java Class1.py
27+
@cd Package0 && javac Class0.java
28+
@cd Package0 && ../$(j2py) Class0.java Class0.py
2729

2830

2931
parsers:
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
package Package1;
1+
package Package0;
22

3-
public class Class1 {
3+
public class Class0 {
44
public int m() {
55
return 42;
66
}
Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
#!/usr/bin/env python
2-
""" generated source for module Class1
2+
""" generated source for module Class0
33
44
"""
5-
class Class1(object):
6-
""" generated source for class Class1
5+
# package: Package0
6+
class Class0(object):
7+
""" generated source for class Class0
78
89
"""
910
def m(self):
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
from pkgutil import extend_path
22
__path__ = extend_path(__path__, __name__)
33

4-
from Class1 import Class1
4+
from Class0 import Class0
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
final class Ternary1 extends Object {
1+
final class Ternary0 extends Object {
22
public static void main(String[] args) {
33
System.out.println(1 > 0 ? 'a' : 'b');
44
System.out.println(1 == 0 ? 'a' : 'b');

test/Throw1.java renamed to test/Throw0.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
class Throw1 {
1+
class Throw0 {
22
public static void main(String[] args) {
33
try {
44
throw new Exception("some exception message");

test/Try1.java renamed to test/Try0.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
class Try1 {
1+
class Try0 {
22

33
public static void main(String[] args) {
44
try {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
class TypeTransform {
1+
class TypeTransform0 {
22
public boolean b;
33
public double d;
44

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import Package1.*;
1+
import Package0.*;
22

3-
class UsePackage1 {
3+
class UsePackage0 {
44
public static void main(String[] args) {
5-
Package1.Class1 c = new Package1.Class1();
5+
Package0.Class0 c = new Package0.Class0();
66
System.out.println( c.m() );
77
}
88
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
class VariadicMethod1 {
1+
class VariadicMethod0 {
22

33
public static void show(Object... objects) {
44
for (Object o : objects)
55
System.out.println(o.toString() + " ");
66
}
77
public static void main(String[] args) {
8-
VariadicMethod1.show(0+0, 1, 2, "three", .5f);
8+
VariadicMethod0.show(0+0, 1, 2, "three", .5f);
99
}
1010
}

0 commit comments

Comments
 (0)