Drop tests on JS decompiled text / stub consistency
They're no longer needed because the logic of the decompiler / stub builder is now trivial (see KotlinJavaScriptDeserializerForDecompiler, KotlinJavaScriptStubBuilder) and after it's merged to the decompiler for built-ins, it's going to be tested anyway with BuiltInDecompilerConsistencyTest
This commit is contained in:
-12
@@ -17,9 +17,7 @@
|
||||
package org.jetbrains.kotlin.fileClasses;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.kotlin.name.ClassId;
|
||||
import org.jetbrains.kotlin.name.FqName;
|
||||
import org.jetbrains.kotlin.name.Name;
|
||||
|
||||
public final class OldPackageFacadeClassUtils {
|
||||
private static final String PACKAGE_CLASS_NAME_SUFFIX = "Package";
|
||||
@@ -41,14 +39,4 @@ public final class OldPackageFacadeClassUtils {
|
||||
private static String capitalizeNonEmptyString(@NotNull String s) {
|
||||
return Character.isUpperCase(s.charAt(0)) ? s : Character.toUpperCase(s.charAt(0)) + s.substring(1);
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public static FqName getPackageClassFqName(@NotNull FqName packageFQN) {
|
||||
return packageFQN.child(Name.identifier(getPackageClassName(packageFQN)));
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public static ClassId getPackageClassId(@NotNull FqName packageFQN) {
|
||||
return new ClassId(packageFQN, Name.identifier(getPackageClassName(packageFQN)));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user