Renamed MethodWithAlternativeSignature test to MethodWithGenerics, since there will be more tests for methods with alternative signature.

This commit is contained in:
Evgeny Gerashchenko
2012-06-04 17:06:08 +04:00
parent 36ab7d88b5
commit af9ed4082b
4 changed files with 8 additions and 8 deletions
@@ -1,6 +0,0 @@
namespace test
open class test.MethodWithAlternativeSignature : java.lang.Object {
final /*constructor*/ fun <init>(): test.MethodWithAlternativeSignature
open fun foo(/*0*/ p0: jet.String, /*1*/ p1: java.util.List<java.util.Map.Entry<jet.String?, jet.String>?>): jet.String
}
@@ -4,7 +4,7 @@ import java.lang.UnsupportedOperationException;
import java.util.*;
import jet.runtime.typeinfo.KotlinSignature;
public class MethodWithAlternativeSignature {
public class MethodWithGenerics {
@KotlinSignature("fun foo(a : String, b : List<Map.Entry<String?, String>?>) : String")
public String foo(String a, List<Map.Entry<String, String>> b) {
throw new UnsupportedOperationException();
@@ -2,6 +2,6 @@ package test
import java.util.*
public open class MethodWithAlternativeSignature : Object() {
public open class MethodWithGenerics : Object() {
open fun foo(p0 : String, p1 : List<Map.Entry<String?, String>?>) : String = ""
}
@@ -0,0 +1,6 @@
namespace test
open class test.MethodWithGenerics : java.lang.Object {
final /*constructor*/ fun <init>(): test.MethodWithGenerics
open fun foo(/*0*/ p0: jet.String, /*1*/ p1: java.util.List<java.util.Map.Entry<jet.String?, jet.String>?>): jet.String
}