Removed @author javadocs from code.
This commit is contained in:
@@ -31,9 +31,6 @@ import static org.jetbrains.jet.ConfigurationKind.ALL;
|
||||
import static org.jetbrains.jet.ConfigurationKind.JDK_AND_ANNOTATIONS;
|
||||
import static org.jetbrains.jet.cli.jvm.JVMConfigurationKeys.*;
|
||||
|
||||
/**
|
||||
* @author Stepan Koltsov
|
||||
*/
|
||||
public class CompileCompilerDependenciesTest {
|
||||
|
||||
@Test
|
||||
|
||||
@@ -27,9 +27,6 @@ import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author Stepan Koltsov
|
||||
*/
|
||||
public class FqNameTest {
|
||||
|
||||
@Test
|
||||
|
||||
@@ -27,9 +27,6 @@ import java.io.StringReader;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author Nikolay Krasko
|
||||
*/
|
||||
public final class InTextDirectivesUtils {
|
||||
|
||||
private InTextDirectivesUtils() {
|
||||
|
||||
@@ -30,9 +30,6 @@ import org.junit.Assert;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
/**
|
||||
* @author abreslav
|
||||
*/
|
||||
public abstract class JetLiteFixture extends KotlinTestWithEnvironment {
|
||||
@NonNls
|
||||
protected final String myFullDataPath;
|
||||
|
||||
@@ -30,9 +30,6 @@ import java.util.Arrays;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author abreslav
|
||||
*/
|
||||
public abstract class JetTestCaseBuilder {
|
||||
public static FilenameFilter emptyFilter = new FilenameFilter() {
|
||||
@Override
|
||||
|
||||
@@ -64,9 +64,6 @@ import java.util.*;
|
||||
import java.util.regex.Matcher;
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
/**
|
||||
* @author abreslav
|
||||
*/
|
||||
public class JetTestUtils {
|
||||
private static List<File> filesToDelete = new ArrayList<File>();
|
||||
|
||||
|
||||
@@ -20,9 +20,6 @@ import com.intellij.testFramework.UsefulTestCase;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.jet.cli.jvm.compiler.JetCoreEnvironment;
|
||||
|
||||
/**
|
||||
* @author abreslav
|
||||
*/
|
||||
public abstract class KotlinTestWithEnvironmentManagement extends UsefulTestCase {
|
||||
static {
|
||||
System.setProperty("java.awt.headless", "true");
|
||||
|
||||
@@ -16,9 +16,6 @@
|
||||
|
||||
package org.jetbrains.jet;
|
||||
|
||||
/**
|
||||
* @author abreslav
|
||||
*/
|
||||
public enum TestJdkKind {
|
||||
MOCK_JDK,
|
||||
FULL_JDK,
|
||||
|
||||
@@ -16,9 +16,6 @@
|
||||
|
||||
package org.jetbrains.jet;
|
||||
|
||||
/**
|
||||
* @author Stepan Koltsov
|
||||
*/
|
||||
public class TimeUtils {
|
||||
|
||||
public static String millisecondsToSecondsString(long millis) {
|
||||
|
||||
@@ -23,9 +23,6 @@ import org.jetbrains.jet.cli.jvm.compiler.JetCoreEnvironment;
|
||||
import org.jetbrains.jet.config.CommonConfigurationKeys;
|
||||
import org.jetbrains.jet.config.CompilerConfiguration;
|
||||
|
||||
/**
|
||||
* @author Nikolay Krasko
|
||||
*/
|
||||
public class JavaElementFinderTest extends JetLiteFixture {
|
||||
private JavaElementFinder finder;
|
||||
|
||||
|
||||
@@ -14,9 +14,6 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
/*
|
||||
* @author max
|
||||
*/
|
||||
package org.jetbrains.jet.cfg;
|
||||
|
||||
import com.google.common.collect.Sets;
|
||||
|
||||
@@ -27,9 +27,6 @@ import java.io.File;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author abreslav
|
||||
*/
|
||||
public abstract class AbstractDiagnosticsTestWithEagerResolve extends AbstractJetDiagnosticsTest {
|
||||
|
||||
@Override
|
||||
|
||||
@@ -39,9 +39,6 @@ import java.io.IOException;
|
||||
import java.nio.charset.Charset;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author abreslav
|
||||
*/
|
||||
public abstract class AbstractJetDiagnosticsTest extends JetLiteFixture {
|
||||
|
||||
@Override
|
||||
|
||||
@@ -31,9 +31,6 @@ import org.jetbrains.jet.lang.resolve.java.AnalyzerFacadeForJVM;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author abreslav
|
||||
*/
|
||||
public class CheckerTestUtilTest extends JetLiteFixture {
|
||||
|
||||
public CheckerTestUtilTest() {
|
||||
|
||||
@@ -37,9 +37,6 @@ import java.io.*;
|
||||
import java.util.Arrays;
|
||||
import java.util.LinkedList;
|
||||
|
||||
/**
|
||||
* @author Stepan Koltsov
|
||||
*/
|
||||
public class CliTest {
|
||||
|
||||
@Rule
|
||||
|
||||
@@ -36,8 +36,6 @@ import java.util.regex.Pattern;
|
||||
|
||||
/**
|
||||
* Test correctness of written local variables in class file for specified method
|
||||
*
|
||||
* @author Natalia.Ukhorskaya
|
||||
*/
|
||||
|
||||
public abstract class AbstractCheckLocalVariablesTableTest extends TestCaseWithTmpdir {
|
||||
|
||||
@@ -16,9 +16,6 @@
|
||||
|
||||
package org.jetbrains.jet.codegen;
|
||||
|
||||
/**
|
||||
* @author udalov
|
||||
*/
|
||||
public abstract class AbstractDataClassCodegenTest extends CodegenTestCase {
|
||||
@Override
|
||||
protected void setUp() throws Exception {
|
||||
|
||||
@@ -16,9 +16,6 @@
|
||||
|
||||
package org.jetbrains.jet.codegen;
|
||||
|
||||
/**
|
||||
* @author svtk
|
||||
*/
|
||||
public abstract class AbstractIntrinsicsTestCase extends CodegenTestCase {
|
||||
@Override
|
||||
protected String getPrefix() {
|
||||
|
||||
@@ -16,9 +16,6 @@
|
||||
|
||||
package org.jetbrains.jet.codegen;
|
||||
|
||||
/**
|
||||
* @author svtk
|
||||
*/
|
||||
public abstract class AbstractMultiDeclTestCase extends CodegenTestCase {
|
||||
@Override
|
||||
protected String getPrefix() {
|
||||
|
||||
@@ -23,10 +23,6 @@ import java.lang.reflect.Method;
|
||||
import java.lang.reflect.Modifier;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author yole
|
||||
* @author alex.tkachman
|
||||
*/
|
||||
public class ClassGenTest extends CodegenTestCase {
|
||||
|
||||
@Override
|
||||
|
||||
@@ -18,9 +18,6 @@ package org.jetbrains.jet.codegen;
|
||||
|
||||
import org.jetbrains.jet.ConfigurationKind;
|
||||
|
||||
/**
|
||||
* @author max
|
||||
*/
|
||||
public class ClosuresGenTest extends CodegenTestCase {
|
||||
|
||||
@Override
|
||||
|
||||
@@ -57,9 +57,6 @@ import java.util.Arrays;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author yole
|
||||
*/
|
||||
public abstract class CodegenTestCase extends UsefulTestCase {
|
||||
|
||||
// for environment and classloader
|
||||
|
||||
@@ -34,10 +34,6 @@ import java.util.List;
|
||||
import java.util.regex.Matcher;
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
/**
|
||||
* @author Stepan Koltsov
|
||||
* @author alex.tkachman
|
||||
*/
|
||||
public class CodegenTestFiles {
|
||||
|
||||
@NotNull
|
||||
|
||||
@@ -23,9 +23,6 @@ import java.lang.reflect.Method;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author yole
|
||||
*/
|
||||
public class ControlStructuresTest extends CodegenTestCase {
|
||||
@Override
|
||||
protected String getPrefix() {
|
||||
|
||||
@@ -25,9 +25,6 @@ import java.io.StringWriter;
|
||||
import java.util.regex.Matcher;
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
/**
|
||||
* @author Natalia.Ukhorskaya
|
||||
*/
|
||||
|
||||
public class DxChecker {
|
||||
|
||||
|
||||
@@ -23,10 +23,6 @@ import java.lang.reflect.InvocationTargetException;
|
||||
import java.lang.reflect.Method;
|
||||
import java.lang.reflect.Modifier;
|
||||
|
||||
/**
|
||||
* @author Stepan Koltsov
|
||||
* @author alex.tkachman
|
||||
*/
|
||||
public class EnumGenTest extends CodegenTestCase {
|
||||
|
||||
@Override
|
||||
|
||||
@@ -20,10 +20,6 @@ import org.jetbrains.jet.ConfigurationKind;
|
||||
|
||||
import java.lang.reflect.Method;
|
||||
|
||||
/**
|
||||
* @author yole
|
||||
* @author alex.tkachman
|
||||
*/
|
||||
public class ExtensionFunctionsTest extends CodegenTestCase {
|
||||
@Override
|
||||
protected String getPrefix() {
|
||||
|
||||
@@ -22,9 +22,6 @@ import java.lang.reflect.Field;
|
||||
import java.lang.reflect.InvocationTargetException;
|
||||
import java.lang.reflect.Method;
|
||||
|
||||
/**
|
||||
* @author alex.tkachman
|
||||
*/
|
||||
public class FunctionGenTest extends CodegenTestCase {
|
||||
@Override
|
||||
protected void setUp() throws Exception {
|
||||
|
||||
@@ -32,9 +32,6 @@ import org.jetbrains.jet.config.CompilerConfiguration;
|
||||
|
||||
import java.io.File;
|
||||
|
||||
/**
|
||||
* @author udalov
|
||||
*/
|
||||
public class GenerateNotNullAssertionsTest extends CodegenTestCase {
|
||||
@Override
|
||||
protected void setUp() throws Exception {
|
||||
|
||||
@@ -30,9 +30,6 @@ import org.jetbrains.jet.lang.resolve.java.AnalyzerFacadeForJVM;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author Stepan Koltsov
|
||||
*/
|
||||
public class GenerationUtils {
|
||||
|
||||
private GenerationUtils() {
|
||||
|
||||
@@ -20,8 +20,6 @@ import org.jetbrains.jet.ConfigurationKind;
|
||||
|
||||
/**
|
||||
* Test correct code is generated for descriptors loaded with alt jdk annotations
|
||||
*
|
||||
* @author Stepan Koltsov
|
||||
*/
|
||||
public class JdkAnnotationsTest extends CodegenTestCase {
|
||||
|
||||
|
||||
@@ -46,9 +46,6 @@ import java.util.Map;
|
||||
import java.util.regex.Matcher;
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
/**
|
||||
* @author udalov
|
||||
*/
|
||||
public class LineNumberTest extends TestCaseWithTmpdir {
|
||||
|
||||
private static final String LINE_NUMBER_FUN = "lineNumber";
|
||||
|
||||
@@ -18,9 +18,6 @@ package org.jetbrains.jet.codegen;
|
||||
|
||||
import org.jetbrains.jet.ConfigurationKind;
|
||||
|
||||
/**
|
||||
* @author alex.tkachman
|
||||
*/
|
||||
public class LocalClassGenTest extends CodegenTestCase {
|
||||
@Override
|
||||
public void setUp() throws Exception {
|
||||
|
||||
@@ -24,9 +24,6 @@ import java.lang.reflect.InvocationTargetException;
|
||||
import java.lang.reflect.Method;
|
||||
import java.util.ArrayList;
|
||||
|
||||
/**
|
||||
* @author yole
|
||||
*/
|
||||
public class NamespaceGenTest extends CodegenTestCase {
|
||||
|
||||
@Override
|
||||
|
||||
@@ -18,10 +18,6 @@ package org.jetbrains.jet.codegen;
|
||||
|
||||
import org.jetbrains.jet.ConfigurationKind;
|
||||
|
||||
/**
|
||||
* @author yole
|
||||
* @author alex.tkachman
|
||||
*/
|
||||
public class ObjectGenTest extends CodegenTestCase {
|
||||
@Override
|
||||
protected void setUp() throws Exception {
|
||||
|
||||
@@ -20,9 +20,6 @@ import org.jetbrains.jet.ConfigurationKind;
|
||||
|
||||
import java.lang.reflect.Method;
|
||||
|
||||
/**
|
||||
* @author yole
|
||||
*/
|
||||
public class PatternMatchingTest extends CodegenTestCase {
|
||||
|
||||
@Override
|
||||
|
||||
@@ -20,10 +20,6 @@ import org.jetbrains.jet.ConfigurationKind;
|
||||
|
||||
import java.lang.reflect.Method;
|
||||
|
||||
/**
|
||||
* @author yole
|
||||
* @author alex.tkachman
|
||||
*/
|
||||
public class PrimitiveTypesTest extends CodegenTestCase {
|
||||
|
||||
@Override
|
||||
|
||||
@@ -21,9 +21,6 @@ import org.jetbrains.jet.ConfigurationKind;
|
||||
|
||||
import java.lang.reflect.*;
|
||||
|
||||
/**
|
||||
* @author yole
|
||||
*/
|
||||
public class PropertyGenTest extends CodegenTestCase {
|
||||
@Override
|
||||
protected String getPrefix() {
|
||||
|
||||
@@ -32,9 +32,6 @@ import java.util.Arrays;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author Stepan Koltsov
|
||||
*/
|
||||
public class ScriptGenTest extends CodegenTestCase {
|
||||
|
||||
public static final JetScriptDefinition FIB_SCRIPT_DEFINITION =
|
||||
|
||||
@@ -33,9 +33,6 @@ import java.net.MalformedURLException;
|
||||
import java.net.URL;
|
||||
import java.net.URLClassLoader;
|
||||
|
||||
/**
|
||||
* @author alex.tkachman
|
||||
*/
|
||||
public class StdlibTest extends CodegenTestCase {
|
||||
@Override
|
||||
protected void setUp() throws Exception {
|
||||
|
||||
@@ -21,9 +21,6 @@ import junit.framework.Test;
|
||||
import junit.framework.TestSuite;
|
||||
import org.jetbrains.jet.test.TestForeverRunner;
|
||||
|
||||
/**
|
||||
* @author Stepan Koltsov
|
||||
*/
|
||||
public class StdlibTestForever {
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
@@ -21,10 +21,6 @@ import org.jetbrains.jet.ConfigurationKind;
|
||||
import java.lang.reflect.InvocationTargetException;
|
||||
import java.lang.reflect.Method;
|
||||
|
||||
/**
|
||||
* @author yole
|
||||
* @author alex.tkachman
|
||||
*/
|
||||
public class StringsTest extends CodegenTestCase {
|
||||
|
||||
@Override
|
||||
|
||||
@@ -52,9 +52,6 @@ import java.net.URL;
|
||||
import java.net.URLClassLoader;
|
||||
import java.util.Set;
|
||||
|
||||
/**
|
||||
* @author alex.tkachman
|
||||
*/
|
||||
public class TestlibTest extends CodegenTestCase {
|
||||
|
||||
private File junitJar;
|
||||
|
||||
@@ -20,10 +20,6 @@ import org.jetbrains.jet.ConfigurationKind;
|
||||
|
||||
import java.lang.reflect.Method;
|
||||
|
||||
/**
|
||||
* @author yole
|
||||
* @author alex.tkachman
|
||||
*/
|
||||
public class TypeInfoTest extends CodegenTestCase {
|
||||
|
||||
@Override
|
||||
|
||||
@@ -22,9 +22,6 @@ import java.lang.reflect.Array;
|
||||
import java.lang.reflect.InvocationTargetException;
|
||||
import java.lang.reflect.Method;
|
||||
|
||||
/**
|
||||
* @author alex.tkachman
|
||||
*/
|
||||
public class VarArgTest extends CodegenTestCase {
|
||||
public void testStringArray () throws InvocationTargetException, IllegalAccessException {
|
||||
createEnvironmentWithMockJdkAndIdeaAnnotations(ConfigurationKind.JDK_ONLY);
|
||||
|
||||
@@ -22,9 +22,6 @@ import org.jetbrains.jet.cli.jvm.K2JVMCompiler;
|
||||
|
||||
import java.io.File;
|
||||
|
||||
/**
|
||||
* @author Stepan Koltsov
|
||||
*/
|
||||
public class ForTestCompileBuiltins {
|
||||
|
||||
private ForTestCompileBuiltins() {
|
||||
|
||||
@@ -33,8 +33,6 @@ import java.util.*;
|
||||
* Compile stdlib.jar that can be used in tests
|
||||
*
|
||||
* @see #runtimeJarForTests
|
||||
*
|
||||
* @author Stepan Koltsov
|
||||
*/
|
||||
public class ForTestCompileRuntime {
|
||||
|
||||
|
||||
@@ -31,9 +31,6 @@ import java.util.Stack;
|
||||
import java.util.jar.JarEntry;
|
||||
import java.util.jar.JarOutputStream;
|
||||
|
||||
/**
|
||||
* @author Stepan Koltsov
|
||||
*/
|
||||
abstract class ForTestCompileSomething {
|
||||
|
||||
public static final boolean ACTUALLY_COMPILE = !"false".equals(System.getenv("kotlin.tests.actually.compile"));
|
||||
|
||||
@@ -25,9 +25,6 @@ import java.io.FileOutputStream;
|
||||
import java.io.IOException;
|
||||
import java.util.jar.JarOutputStream;
|
||||
|
||||
/**
|
||||
* @author Stepan Koltsov
|
||||
*/
|
||||
public class ForTestPackJdkAnnotations {
|
||||
|
||||
private ForTestPackJdkAnnotations() {
|
||||
|
||||
-2
@@ -29,8 +29,6 @@ import java.util.List;
|
||||
import static org.jetbrains.jet.jvm.compiler.LoadDescriptorUtil.compileKotlinToDirAndGetAnalyzeExhaust;
|
||||
|
||||
/**
|
||||
* @author Stepan Koltsov
|
||||
*
|
||||
* @see WriteSignatureTest
|
||||
*/
|
||||
@SuppressWarnings({"JUnitTestCaseWithNonTrivialConstructors", "JUnitTestCaseWithNoTests"})
|
||||
|
||||
@@ -33,8 +33,6 @@ import static org.jetbrains.jet.test.util.NamespaceComparator.compareNamespaces;
|
||||
|
||||
/**
|
||||
* Compile Kotlin and then parse model from .class files.
|
||||
*
|
||||
* @author Stepan Koltsov
|
||||
*/
|
||||
@SuppressWarnings("JUnitTestCaseWithNoTests")
|
||||
public abstract class AbstractLoadCompiledKotlinTest extends TestCaseWithTmpdir {
|
||||
|
||||
@@ -34,9 +34,6 @@ import static org.jetbrains.jet.test.util.NamespaceComparator.DONT_INCLUDE_METHO
|
||||
import static org.jetbrains.jet.test.util.NamespaceComparator.compareNamespaceWithFile;
|
||||
import static org.jetbrains.jet.test.util.NamespaceComparator.compareNamespaces;
|
||||
|
||||
/**
|
||||
* @author Stepan Koltsov
|
||||
*/
|
||||
/*
|
||||
The generated test compares namespace descriptors loaded from kotlin sources and read from compiled java.
|
||||
*/
|
||||
|
||||
-3
@@ -37,9 +37,6 @@ import java.util.List;
|
||||
|
||||
import static org.jetbrains.jet.lang.resolve.java.DescriptorResolverUtils.getValueParameterDescriptorForAnnotationParameter;
|
||||
|
||||
/**
|
||||
* @author Natalia Ukhorskaya
|
||||
*/
|
||||
public class AnnotationJavaDescriptorResolverTest extends AbstractJavaResolverDescriptorTest {
|
||||
|
||||
private static final String PATH = "compiler/testData/javaDescriptorResolver/annotations/";
|
||||
|
||||
@@ -33,10 +33,6 @@ import java.util.List;
|
||||
import java.util.jar.JarEntry;
|
||||
import java.util.jar.JarInputStream;
|
||||
|
||||
/**
|
||||
* @author yole
|
||||
* @author alex.tkachman
|
||||
*/
|
||||
public class CompileEnvironmentTest extends TestCase {
|
||||
|
||||
public void testSmokeWithCompilerJar() throws IOException {
|
||||
|
||||
@@ -41,9 +41,6 @@ import java.net.MalformedURLException;
|
||||
import java.net.URL;
|
||||
import java.net.URLClassLoader;
|
||||
|
||||
/**
|
||||
* @author Stepan Koltsov
|
||||
*/
|
||||
@SuppressWarnings({"JUnitTestCaseWithNonTrivialConstructors", "JUnitTestCaseWithNoTests"})
|
||||
public final class CompileKotlinAgainstKotlinTest extends TestCaseWithTmpdir {
|
||||
|
||||
|
||||
@@ -25,9 +25,6 @@ import java.util.List;
|
||||
|
||||
import static org.junit.Assert.assertEquals;
|
||||
|
||||
/**
|
||||
* @author svtk
|
||||
*/
|
||||
public class JvmClassNameTest {
|
||||
@Test
|
||||
public void signatureName() {
|
||||
|
||||
@@ -51,9 +51,6 @@ import java.util.*;
|
||||
import static org.jetbrains.jet.JetTestUtils.createEnvironmentWithMockJdkAndIdeaAnnotations;
|
||||
import static org.jetbrains.jet.lang.psi.JetPsiFactory.createFile;
|
||||
|
||||
/**
|
||||
* @author Pavel Talanov
|
||||
*/
|
||||
public final class LoadDescriptorUtil {
|
||||
|
||||
@NotNull
|
||||
|
||||
@@ -51,9 +51,6 @@ import java.util.List;
|
||||
import static org.jetbrains.jet.jvm.compiler.LoadDescriptorUtil.compileJavaAndLoadTestNamespaceAndBindingContextFromBinary;
|
||||
import static org.jetbrains.jet.test.util.NamespaceComparator.compareNamespaceWithFile;
|
||||
|
||||
/**
|
||||
* @author Pavel Talanov
|
||||
*/
|
||||
/*
|
||||
LoadJavaTestGenerated should be used instead if possible.
|
||||
*/
|
||||
|
||||
@@ -30,9 +30,6 @@ import static org.jetbrains.jet.jvm.compiler.LoadDescriptorUtil.*;
|
||||
import static org.jetbrains.jet.test.util.NamespaceComparator.DONT_INCLUDE_METHODS_OF_OBJECT;
|
||||
import static org.jetbrains.jet.test.util.NamespaceComparator.compareNamespaceWithFile;
|
||||
|
||||
/**
|
||||
* @author Pavel Talanov
|
||||
*/
|
||||
/*
|
||||
* This test should be implemented via AbstractLoadCompiledKotlinTest.
|
||||
* Atm it's not possible due to enums being loaded differently from binaries (in contrast to from sources).
|
||||
|
||||
@@ -47,8 +47,6 @@ import java.util.regex.Pattern;
|
||||
/**
|
||||
* Test correctness of written JVM signature
|
||||
*
|
||||
* @author Stepan Koltsov
|
||||
*
|
||||
* @see CompileJavaAgainstKotlinTestGenerated
|
||||
*/
|
||||
public class WriteSignatureTest extends TestCaseWithTmpdir {
|
||||
|
||||
@@ -18,9 +18,6 @@ package org.jetbrains.jet.jvm.compiler.longTest;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
/**
|
||||
* @author Stepan Koltsov
|
||||
*/
|
||||
public class LibFromMaven {
|
||||
@NotNull
|
||||
private final String org;
|
||||
|
||||
-3
@@ -41,9 +41,6 @@ import java.util.List;
|
||||
import java.util.zip.ZipEntry;
|
||||
import java.util.zip.ZipInputStream;
|
||||
|
||||
/**
|
||||
* @author Stepan Koltsov
|
||||
*/
|
||||
public class ResolveDescriptorsFromExternalLibraries {
|
||||
|
||||
|
||||
|
||||
@@ -19,9 +19,6 @@ package org.jetbrains.jet.lang.psi;
|
||||
import junit.framework.Assert;
|
||||
import junit.framework.TestCase;
|
||||
|
||||
/**
|
||||
* @author Stepan Koltsov
|
||||
*/
|
||||
public class JetPsiUtilTest extends TestCase {
|
||||
|
||||
public void testUnquotedIdentifier() {
|
||||
|
||||
-3
@@ -38,9 +38,6 @@ import java.util.ArrayList;
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author abreslav
|
||||
*/
|
||||
public abstract class AbstractLazyResolveDescriptorRendererTest extends KotlinTestWithEnvironment {
|
||||
|
||||
@Override
|
||||
|
||||
-3
@@ -32,9 +32,6 @@ import java.util.Set;
|
||||
|
||||
import static org.jetbrains.jet.test.util.NamespaceComparator.*;
|
||||
|
||||
/**
|
||||
* @author abreslav
|
||||
*/
|
||||
public abstract class AbstractLazyResolveDiagnosticsTest extends AbstractJetDiagnosticsTest {
|
||||
|
||||
public static final File TEST_DATA_DIR = new File("compiler/testData/diagnostics/tests");
|
||||
|
||||
-3
@@ -34,9 +34,6 @@ import java.io.File;
|
||||
import java.io.IOException;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author abreslav
|
||||
*/
|
||||
public abstract class AbstractLazyResolveNamespaceComparingTest extends KotlinTestWithEnvironment {
|
||||
|
||||
@Override
|
||||
|
||||
@@ -21,9 +21,6 @@ import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.jet.KotlinTestWithEnvironmentManagement;
|
||||
import org.jetbrains.jet.cli.jvm.compiler.JetCoreEnvironment;
|
||||
|
||||
/**
|
||||
* @author abreslav
|
||||
*/
|
||||
public abstract class KotlinTestWithEnvironment extends KotlinTestWithEnvironmentManagement {
|
||||
private JetCoreEnvironment environment;
|
||||
|
||||
|
||||
@@ -27,9 +27,6 @@ import java.io.File;
|
||||
|
||||
import static org.jetbrains.jet.test.util.NamespaceComparator.*;
|
||||
|
||||
/**
|
||||
* @author abreslav
|
||||
*/
|
||||
public class LazyResolveBuiltinClassesTest extends KotlinTestWithEnvironment {
|
||||
@Override
|
||||
protected JetCoreEnvironment createEnvironment() {
|
||||
|
||||
@@ -36,9 +36,6 @@ import java.util.List;
|
||||
import java.util.Set;
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
/**
|
||||
* @author abreslav
|
||||
*/
|
||||
public class LazyResolveStdlibLoadingTest extends KotlinTestWithEnvironmentManagement {
|
||||
|
||||
private static final File STD_LIB_SRC = new File("libraries/stdlib/src");
|
||||
|
||||
@@ -47,9 +47,6 @@ import java.util.Collections;
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
|
||||
/**
|
||||
* @author abreslav
|
||||
*/
|
||||
public class LazyResolveTestUtil {
|
||||
private LazyResolveTestUtil() {
|
||||
}
|
||||
|
||||
@@ -14,9 +14,6 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
/*
|
||||
* @author max
|
||||
*/
|
||||
package org.jetbrains.jet.parsing;
|
||||
|
||||
import com.intellij.openapi.application.PathManager;
|
||||
|
||||
@@ -38,10 +38,6 @@ import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author Evgeny Gerashchenko
|
||||
* @since 4/6/12
|
||||
*/
|
||||
public class DescriptorRendererTest extends JetLiteFixture {
|
||||
|
||||
@Override
|
||||
|
||||
@@ -32,9 +32,6 @@ import org.junit.Test;
|
||||
|
||||
import java.io.File;
|
||||
|
||||
/**
|
||||
* @author Stepan Koltsov
|
||||
*/
|
||||
public class ReplInterpreterTest {
|
||||
|
||||
static {
|
||||
|
||||
@@ -31,9 +31,6 @@ import java.util.List;
|
||||
import java.util.regex.Matcher;
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
/**
|
||||
* @author Stepan Koltsov
|
||||
*/
|
||||
public class ReplSessionTestFile {
|
||||
|
||||
public enum MatchType {
|
||||
|
||||
@@ -24,8 +24,6 @@ import java.util.regex.Matcher;
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
/**
|
||||
* @author Stepan Koltsov
|
||||
*
|
||||
* @see org.jetbrains.jet.lang.types.ref.SimpleParser
|
||||
*/
|
||||
class SimpleLinesParser {
|
||||
|
||||
@@ -57,9 +57,6 @@ import static junit.framework.Assert.*;
|
||||
import static org.jetbrains.jet.lang.resolve.BindingContext.AMBIGUOUS_REFERENCE_TARGET;
|
||||
import static org.jetbrains.jet.lang.resolve.BindingContext.REFERENCE_TARGET;
|
||||
|
||||
/**
|
||||
* @author abreslav
|
||||
*/
|
||||
public abstract class ExpectedResolveData {
|
||||
|
||||
protected static final String STANDARD_PREFIX = "kotlin::";
|
||||
|
||||
@@ -25,9 +25,6 @@ import org.jetbrains.jet.lang.psi.JetFile;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author abreslav
|
||||
*/
|
||||
public abstract class ExtensibleResolveTestCase extends JetLiteFixture {
|
||||
private ExpectedResolveData expectedResolveData;
|
||||
|
||||
|
||||
@@ -55,9 +55,6 @@ import java.util.Map;
|
||||
|
||||
import static org.jetbrains.jet.lang.types.expressions.ExpressionTypingUtils.resolveFakeCall;
|
||||
|
||||
/**
|
||||
* @author abreslav
|
||||
*/
|
||||
public class JetResolveTest extends ExtensibleResolveTestCase {
|
||||
|
||||
private final String path;
|
||||
|
||||
@@ -23,9 +23,6 @@ import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
/**
|
||||
* @author abreslav
|
||||
*/
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Target(ElementType.TYPE)
|
||||
public @interface InnerTestClasses {
|
||||
|
||||
@@ -21,9 +21,6 @@ import org.jetbrains.jet.JetTestUtils;
|
||||
|
||||
import java.io.File;
|
||||
|
||||
/**
|
||||
* @author Stepan Koltsov
|
||||
*/
|
||||
public abstract class TestCaseWithTmpdir extends UsefulTestCase {
|
||||
|
||||
protected File tmpdir;
|
||||
|
||||
@@ -23,9 +23,6 @@ import org.junit.Before;
|
||||
|
||||
import java.io.File;
|
||||
|
||||
/**
|
||||
* @author Stepan Koltsov
|
||||
*/
|
||||
public abstract class TestCaseWithTmpdirIndependentFromIdea {
|
||||
protected File tmpdir;
|
||||
|
||||
|
||||
@@ -26,9 +26,6 @@ import org.junit.Assert;
|
||||
import java.io.ByteArrayOutputStream;
|
||||
import java.io.PrintStream;
|
||||
|
||||
/**
|
||||
* @author Stepan Koltsov
|
||||
*/
|
||||
public class TestForeverRunner {
|
||||
public static void runTestForever(String[] args, Supplier<Test> suite) {
|
||||
Assert.assertTrue(TestRunner.run(suite.get()).wasSuccessful());
|
||||
|
||||
@@ -21,9 +21,6 @@ import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
/**
|
||||
* @author abreslav
|
||||
*/
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Target({ElementType.METHOD, ElementType.TYPE})
|
||||
public @interface TestMetadata {
|
||||
|
||||
@@ -27,9 +27,6 @@ import org.junit.runner.Description;
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
|
||||
/**
|
||||
* @author Stepan Koltsov
|
||||
*/
|
||||
public class Tmpdir extends TestWatcher {
|
||||
|
||||
private File tmpDir;
|
||||
|
||||
@@ -20,9 +20,6 @@ import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import java.util.Collection;
|
||||
|
||||
/**
|
||||
* @author abreslav
|
||||
*/
|
||||
public class DelegatingTestClassModel implements TestClassModel {
|
||||
private final TestClassModel delegate;
|
||||
|
||||
|
||||
@@ -28,9 +28,6 @@ import java.util.Collections;
|
||||
import java.util.Comparator;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author abreslav
|
||||
*/
|
||||
public class SimpleTestClassModel implements TestClassModel {
|
||||
private static final Comparator<TestEntityModel> BY_NAME = new Comparator<TestEntityModel>() {
|
||||
@Override
|
||||
|
||||
@@ -24,9 +24,6 @@ import org.jetbrains.jet.utils.Printer;
|
||||
|
||||
import java.io.File;
|
||||
|
||||
/**
|
||||
* @author abreslav
|
||||
*/
|
||||
public class SimpleTestMethodModel implements TestMethodModel {
|
||||
private final File rootDir;
|
||||
private final File file;
|
||||
|
||||
@@ -20,9 +20,6 @@ import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import java.util.Collection;
|
||||
|
||||
/**
|
||||
* @author abreslav
|
||||
*/
|
||||
public interface TestClassModel extends TestEntityModel {
|
||||
|
||||
@NotNull
|
||||
|
||||
@@ -2,9 +2,6 @@ package org.jetbrains.jet.test.generator;
|
||||
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
/**
|
||||
* @author abreslav
|
||||
*/
|
||||
public interface TestEntityModel {
|
||||
String getName();
|
||||
|
||||
|
||||
@@ -26,9 +26,6 @@ import java.io.File;
|
||||
import java.io.IOException;
|
||||
import java.util.*;
|
||||
|
||||
/**
|
||||
* @author abreslav
|
||||
*/
|
||||
public class TestGenerator {
|
||||
|
||||
private static final List<String> JUNIT3_IMPORTS = Arrays.asList(
|
||||
|
||||
@@ -16,9 +16,6 @@
|
||||
|
||||
package org.jetbrains.jet.test.generator;
|
||||
|
||||
/**
|
||||
* @author abreslav
|
||||
*/
|
||||
public class TestGeneratorUtil {
|
||||
public static String escapeForJavaIdentifier(String fileName) {
|
||||
// A file name may contain characters (like ".") that can't be a part of method name
|
||||
|
||||
@@ -19,9 +19,6 @@ package org.jetbrains.jet.test.generator;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.jet.utils.Printer;
|
||||
|
||||
/**
|
||||
* @author abreslav
|
||||
*/
|
||||
public interface TestMethodModel extends TestEntityModel {
|
||||
void generateBody(@NotNull Printer p, @NotNull String generatorClassFqName);
|
||||
}
|
||||
|
||||
@@ -44,9 +44,6 @@ import java.util.Collection;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author Stepan Koltsov
|
||||
*/
|
||||
public class NamespaceComparator {
|
||||
public static final Configuration DONT_INCLUDE_METHODS_OF_OBJECT = new Configuration(false, false, Predicates.<FqNameUnsafe>alwaysTrue());
|
||||
public static final Configuration RECURSIVE = new Configuration(false, true, Predicates.<FqNameUnsafe>alwaysTrue());
|
||||
|
||||
@@ -32,9 +32,6 @@ import org.jetbrains.jet.renderer.DescriptorRenderer;
|
||||
import java.util.Collection;
|
||||
import java.util.Collections;
|
||||
|
||||
/**
|
||||
* @author abreslav
|
||||
*/
|
||||
public class BoundsSubstitutorTest extends KotlinTestWithEnvironment {
|
||||
@Override
|
||||
protected JetCoreEnvironment createEnvironment() {
|
||||
|
||||
@@ -38,9 +38,6 @@ import org.jetbrains.jet.lang.types.lang.KotlinBuiltIns;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author svtk
|
||||
*/
|
||||
public class JetDefaultModalityModifiersTest extends JetLiteFixture {
|
||||
private JetDefaultModalityModifiersTestCase tc = new JetDefaultModalityModifiersTestCase();
|
||||
|
||||
|
||||
@@ -31,9 +31,6 @@ import org.jetbrains.jet.lang.resolve.OverloadUtil;
|
||||
import org.jetbrains.jet.lang.resolve.name.Name;
|
||||
import org.jetbrains.jet.lang.types.lang.KotlinBuiltIns;
|
||||
|
||||
/**
|
||||
* @author Stepan Koltsov
|
||||
*/
|
||||
public class JetOverloadTest extends JetLiteFixture {
|
||||
|
||||
private ModuleDescriptor root = new ModuleDescriptor(Name.special("<test_root>"));
|
||||
|
||||
@@ -31,9 +31,6 @@ import org.jetbrains.jet.lang.resolve.OverridingUtil;
|
||||
import org.jetbrains.jet.lang.resolve.name.Name;
|
||||
import org.jetbrains.jet.lang.types.lang.KotlinBuiltIns;
|
||||
|
||||
/**
|
||||
* @author abreslav
|
||||
*/
|
||||
public class JetOverridingTest extends JetLiteFixture {
|
||||
|
||||
private ModuleDescriptor root = new ModuleDescriptor(Name.special("<test_root>"));
|
||||
|
||||
@@ -55,9 +55,6 @@ import java.io.File;
|
||||
import java.io.IOException;
|
||||
import java.util.*;
|
||||
|
||||
/**
|
||||
* @author abreslav
|
||||
*/
|
||||
public class JetTypeCheckerTest extends JetLiteFixture {
|
||||
|
||||
private KotlinBuiltIns builtIns;
|
||||
|
||||
Reference in New Issue
Block a user