Skip to content

Commit 801a4fb

Browse files
committed
remove redundant test from TestJava.java
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
1 parent 2f1f0b6 commit 801a4fb

1 file changed

Lines changed: 0 additions & 36 deletions

File tree

core/src/test/java/org/jruby/javasupport/TestJava.java

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -139,42 +139,6 @@ public void testOverrideNewOnConcreteJavaProxySubClassRegression() {
139139
assertTrue(runtime.evalScriptlet("FormatImpl.new").toJava(Object.class) instanceof SimpleDateFormat);
140140
}
141141

142-
@Test
143-
public void testPrependedInitializeRunsForRubyClassesRootedInJavaSuperclass() {
144-
String script =
145-
"class PrependJavaBaseInitC < java.util.ArrayList\n" +
146-
" def initialize(trace)\n" +
147-
" trace << :c\n" +
148-
" super()\n" +
149-
" end\n" +
150-
"end\n" +
151-
"class PrependJavaBaseInitD < PrependJavaBaseInitC\n" +
152-
" def initialize(trace)\n" +
153-
" trace << :d\n" +
154-
" super\n" +
155-
" end\n" +
156-
"end\n" +
157-
"class PrependJavaBaseInitE < PrependJavaBaseInitD\n" +
158-
" def initialize(trace)\n" +
159-
" trace << :e\n" +
160-
" super\n" +
161-
" end\n" +
162-
"end\n" +
163-
"module PrependJavaBaseInitM\n" +
164-
" def initialize(trace)\n" +
165-
" trace << :m\n" +
166-
" super\n" +
167-
" end\n" +
168-
"end\n" +
169-
"PrependJavaBaseInitE.prepend(PrependJavaBaseInitM)\n" +
170-
"trace = []\n" +
171-
"PrependJavaBaseInitE.new(trace)\n" +
172-
"trace\n";
173-
174-
final Ruby runtime = Ruby.newInstance();
175-
assertEquals("[:m, :e, :d, :c]", runtime.evalScriptlet(script).toString());
176-
}
177-
178142
@Test
179143
public void testHashMethodOnJavaProxy() {
180144
final Ruby runtime = Ruby.newInstance();

0 commit comments

Comments
 (0)