mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
moved to community, dropped obsolete tests
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,14 @@
|
||||
a>>2, a > > 3, a >>> 4
|
||||
------------------------------
|
||||
PsiIdentifier:a
|
||||
PsiJavaToken:GTGT
|
||||
PsiJavaToken:INTEGER_LITERAL
|
||||
PsiJavaToken:COMMA
|
||||
PsiIdentifier:a
|
||||
PsiJavaToken:GT
|
||||
PsiJavaToken:GT
|
||||
PsiJavaToken:INTEGER_LITERAL
|
||||
PsiJavaToken:COMMA
|
||||
PsiIdentifier:a
|
||||
PsiJavaToken:GTGTGT
|
||||
PsiJavaToken:INTEGER_LITERAL
|
||||
@@ -0,0 +1,10 @@
|
||||
a >>>= b ><xyz >>= 3
|
||||
------------------
|
||||
PsiIdentifier:a
|
||||
PsiJavaToken:GTGTGTEQ
|
||||
PsiIdentifier:b
|
||||
PsiJavaToken:GT
|
||||
PsiJavaToken:LT
|
||||
PsiIdentifier:xyz
|
||||
PsiJavaToken:GTGTEQ
|
||||
PsiJavaToken:INTEGER_LITERAL
|
||||
@@ -0,0 +1,5 @@
|
||||
import p1.A;
|
||||
|
||||
class C {
|
||||
<caret>I i = null;
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
import p1.A;
|
||||
|
||||
class C {
|
||||
p2.A i = null;
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
import p1.A;
|
||||
|
||||
class C {
|
||||
<caret>I i = null;
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
import p1.A;
|
||||
|
||||
class C {
|
||||
p2.A i = null;
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
package p1;
|
||||
|
||||
class A {
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
package p2;
|
||||
|
||||
class A {
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
class X<T> {
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
class X <T extends Runnable & Compareable> {
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
class X <T extends Runnable & Compareable & Cloneable> {
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
class X <T extends Runnable & Compareable> {
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
class X <T extends Cloneable & Runnable & Compareable> {
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
class X <T extends Runnable & Compareable> {
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
class X <T extends Runnable & Cloneable & Compareable> {
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
class X<T extends Runnable> {
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
public class X<T extends Runnable & Compareable> {
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
public class X<T extends Runnable> {
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
public class X<T extends Runnable & Compareable> {
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
public class X<T extends Compareable> {
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
public class X<T extends Runnable & Cloneable & Compareable> {
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
public class X<T extends Runnable & Compareable> {
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<%@ page autoFlush="true" import="java.util.List" %>
|
||||
@@ -0,0 +1 @@
|
||||
<%@ page autoFlush="true" %>
|
||||
@@ -0,0 +1,5 @@
|
||||
import java.util.List;
|
||||
import java.util.ArrayList;
|
||||
|
||||
class A {
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
class A {
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
import IdeaBug.Anno;
|
||||
|
||||
class IdeaBug {
|
||||
@interface Anno { }
|
||||
}
|
||||
|
||||
@Anno
|
||||
public class IdeaBugUser extends IdeaBug {
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
import IdeaBug.Anno;
|
||||
|
||||
class IdeaBug {
|
||||
@interface Anno { }
|
||||
}
|
||||
|
||||
@Anno
|
||||
public class IdeaBugUser extends IdeaBug {
|
||||
}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
import java.util.List;
|
||||
// This is a comment
|
||||
import java.util.ArrayList;
|
||||
|
||||
public class Test {
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
// This is a comment
|
||||
|
||||
public class Test {
|
||||
}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @deprecated
|
||||
*/
|
||||
/
|
||||
public class Foo {
|
||||
}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
/**
|
||||
* @deprecated
|
||||
*/
|
||||
/
|
||||
public class Foo {
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
import java.util.List;
|
||||
|
||||
class A {
|
||||
B<List> create;
|
||||
}
|
||||
|
||||
interface B<T> {
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
import java.util.List;
|
||||
|
||||
class A {
|
||||
B<List> create;
|
||||
}
|
||||
|
||||
interface B<T> {
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
import javax.swing.*;
|
||||
|
||||
class Foo{
|
||||
{
|
||||
JComponent component;
|
||||
component.new AccessibleJComponent();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
import javax.swing.*;
|
||||
|
||||
class Foo{
|
||||
{
|
||||
JComponent component;
|
||||
component.new AccessibleJComponent();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
import java.util.List;
|
||||
import static java.util.Arrays.sort;
|
||||
|
||||
class Foo {
|
||||
{
|
||||
sort(new Integer[0]);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
import static java.util.Arrays.sort;
|
||||
|
||||
class Foo {
|
||||
{
|
||||
sort(new Integer[0]);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
import java.util.List;
|
||||
import static java.util.Arrays.sort;
|
||||
import static java.util.Arrays.asList;
|
||||
import static java.util.Arrays.invalid;
|
||||
import static invalid.*;
|
||||
|
||||
class Foo {
|
||||
{
|
||||
sort(new Integer[0]);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
import java.util.List;
|
||||
import static java.util.Arrays.sort;
|
||||
import static invalid.*;
|
||||
|
||||
class Foo {
|
||||
{
|
||||
sort(new long[0]);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
import static java.util.Arrays.sort;
|
||||
|
||||
class Foo {
|
||||
{
|
||||
sort(new long[0]);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
import static java.util.Arrays.sort;
|
||||
|
||||
class Foo {
|
||||
{
|
||||
sort(new Integer[0]);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
import xxxx.ddd;
|
||||
import com.XXX;
|
||||
import yyy.com.*;
|
||||
import static zzz.yyy.com.AAA.*;
|
||||
import static zzz.yyy.com.BBB;
|
||||
|
||||
class Foo {
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
import xxxx.ddd;
|
||||
import com.XXX;
|
||||
import yyy.com.*;
|
||||
import static zzz.yyy.com.AAA.*;
|
||||
import static zzz.yyy.com.BBB;
|
||||
|
||||
class Foo {
|
||||
{
|
||||
// maybe it's from yyy.com.*
|
||||
ZZZ z = null;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
import yyy.com.*;
|
||||
|
||||
import static zzz.yyy.com.AAA.*;
|
||||
|
||||
class Foo {
|
||||
{
|
||||
// maybe it's from yyy.com.*
|
||||
ZZZ z = null;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
class Foo {
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
<html>
|
||||
<%@ page import="java.util.List" %>
|
||||
<jsp:useBean id="xxx" class="List"/>
|
||||
</html>
|
||||
@@ -0,0 +1,4 @@
|
||||
<html>
|
||||
<%@ page import="java.util.List" %>
|
||||
<jsp:useBean id="xxx" class="List"/>
|
||||
</html>
|
||||
@@ -0,0 +1,113 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4" relativePaths="false">
|
||||
<component name="AntConfiguration">
|
||||
<defaultAnt bundledAnt="true" />
|
||||
</component>
|
||||
<component name="CodeStyleManager">
|
||||
<option name="USE_DEFAULT_CODE_STYLE_SCHEME" value="true" />
|
||||
<option name="CODE_STYLE_SCHEME" value="" />
|
||||
</component>
|
||||
<component name="CodeStyleSettingsManager">
|
||||
<option name="PER_PROJECT_SETTINGS" />
|
||||
<option name="USE_PER_PROJECT_SETTINGS" value="false" />
|
||||
</component>
|
||||
<component name="CompilerConfiguration">
|
||||
<option name="DEFAULT_COMPILER" value="Javac" />
|
||||
<option name="CLEAR_OUTPUT_DIRECTORY" value="false" />
|
||||
<resourceExtensions>
|
||||
<entry name=".+\.(properties|xml|html)" />
|
||||
<entry name=".+\.(gif|png|jpeg)" />
|
||||
</resourceExtensions>
|
||||
<wildcardResourcePatterns>
|
||||
<entry name="?*.properties" />
|
||||
<entry name="?*.xml" />
|
||||
<entry name="?*.html" />
|
||||
<entry name="?*.gif" />
|
||||
<entry name="?*.png" />
|
||||
<entry name="?*.jpeg" />
|
||||
</wildcardResourcePatterns>
|
||||
</component>
|
||||
<component name="DataSourceManagerImpl" />
|
||||
<component name="DependencyValidationManager">
|
||||
<option name="UI_FLATTEN_PACKAGES" value="true" />
|
||||
<option name="UI_SHOW_FILES" value="false" />
|
||||
<option name="UI_SHOW_MODULES" value="true" />
|
||||
<option name="UI_FILTER_LEGALS" value="false" />
|
||||
</component>
|
||||
<component name="EjbActionsConfiguration">
|
||||
<option name="NEW_MESSAGE_BEAN_LAST_PACKAGE" value="" />
|
||||
<option name="NEW_ENTITY_BEAN_LAST_PACKAGE" value="" />
|
||||
<option name="NEW_SESSION_BEAN_LAST_PACKAGE" value="" />
|
||||
</component>
|
||||
<component name="EjbManager" enabled="false" />
|
||||
<component name="EntryPointsManager">
|
||||
<entry_points />
|
||||
</component>
|
||||
<component name="ExportToHTMLSettings">
|
||||
<option name="PRINT_LINE_NUMBERS" value="false" />
|
||||
<option name="OPEN_IN_BROWSER" value="false" />
|
||||
<option name="OUTPUT_DIRECTORY" />
|
||||
</component>
|
||||
<component name="GUI Designer component loader factory" />
|
||||
<component name="JUnitProjectSettings">
|
||||
<option name="TEST_RUNNER" value="UI" />
|
||||
</component>
|
||||
<component name="JavacSettings">
|
||||
<option name="DEBUGGING_INFO" value="true" />
|
||||
<option name="GENERATE_NO_WARNINGS" value="false" />
|
||||
<option name="DEPRECATION" value="true" />
|
||||
<option name="ADDITIONAL_OPTIONS_STRING" value="-source 1.5" />
|
||||
<option name="MAXIMUM_HEAP_SIZE" value="128" />
|
||||
<option name="USE_GENERICS_COMPILER" value="false" />
|
||||
</component>
|
||||
<component name="JavadocGenerationManager">
|
||||
<option name="OUTPUT_DIRECTORY" />
|
||||
<option name="OPTION_SCOPE" value="protected" />
|
||||
<option name="OPTION_HIERARCHY" value="false" />
|
||||
<option name="OPTION_NAVIGATOR" value="false" />
|
||||
<option name="OPTION_INDEX" value="false" />
|
||||
<option name="OPTION_SEPARATE_INDEX" value="false" />
|
||||
<option name="OPTION_DOCUMENT_TAG_USE" value="false" />
|
||||
<option name="OPTION_DOCUMENT_TAG_AUTHOR" value="false" />
|
||||
<option name="OPTION_DOCUMENT_TAG_VERSION" value="false" />
|
||||
<option name="OPTION_DOCUMENT_TAG_DEPRECATED" value="false" />
|
||||
<option name="OPTION_DEPRECATED_LIST" value="false" />
|
||||
<option name="OTHER_OPTIONS" />
|
||||
<option name="HEAP_SIZE" />
|
||||
<option name="OPEN_IN_BROWSER" value="false" />
|
||||
</component>
|
||||
<component name="JikesSettings">
|
||||
<option name="JIKES_PATH" value="" />
|
||||
<option name="DEBUGGING_INFO" value="true" />
|
||||
<option name="DEPRECATION" value="true" />
|
||||
<option name="GENERATE_NO_WARNINGS" value="false" />
|
||||
<option name="IS_EMACS_ERRORS_MODE" value="true" />
|
||||
<option name="ADDITIONAL_OPTIONS_STRING" value="" />
|
||||
</component>
|
||||
<component name="Palette" />
|
||||
<component name="ProjectModuleManager">
|
||||
<modules>
|
||||
<module fileurl="file://$PROJECT_DIR$/cls.iml" filepath="$PROJECT_DIR$/cls.iml" />
|
||||
</modules>
|
||||
</component>
|
||||
<component name="ProjectRootManager" version="2" assert-keyword="false" jdk-15="false" project-jdk-name="java version "1.5.0-beta"" />
|
||||
<component name="RmicSettings">
|
||||
<option name="IS_EANABLED" value="false" />
|
||||
<option name="DEBUGGING_INFO" value="true" />
|
||||
<option name="GENERATE_NO_WARNINGS" value="false" />
|
||||
<option name="GENERATE_IIOP_STUBS" value="false" />
|
||||
<option name="ADDITIONAL_OPTIONS_STRING" value="" />
|
||||
</component>
|
||||
<component name="WebManager">
|
||||
<option enabled="false" />
|
||||
</component>
|
||||
<component name="WebReferencesManager" />
|
||||
<component name="WebRootContainer" />
|
||||
<component name="libraryTable" />
|
||||
<component name="org.tmatesoft.tmate.projectComponent" />
|
||||
<component name="uidesigner-configuration">
|
||||
<option name="INSTRUMENT_CLASSES" value="true" />
|
||||
<option name="COPY_FORMS_RUNTIME_TO_OUTPUT" value="true" />
|
||||
</component>
|
||||
</project>
|
||||
|
||||
@@ -0,0 +1,109 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="3" relativePaths="false">
|
||||
<component name="ProjectRootManager" version="2">
|
||||
<jdk name="java version "1.4.1"" />
|
||||
<projectPath>
|
||||
<root type="composite">
|
||||
<root type="simple" url="file://$PROJECT_DIR$" />
|
||||
</root>
|
||||
</projectPath>
|
||||
<sourcePath>
|
||||
<root type="composite">
|
||||
<root type="jdk" rootType="sourcePath" name="java version "1.4.1"" />
|
||||
<root type="simple" url="file://$PROJECT_DIR$/src" />
|
||||
</root>
|
||||
</sourcePath>
|
||||
<classPath>
|
||||
<root type="composite">
|
||||
<root type="jdk" rootType="classPath" name="java version "1.4.1"" />
|
||||
<root type="output" />
|
||||
</root>
|
||||
</classPath>
|
||||
<excludePath>
|
||||
<root type="composite">
|
||||
<root type="excludedOutput" />
|
||||
</root>
|
||||
</excludePath>
|
||||
<javadocPath>
|
||||
<root type="composite">
|
||||
<root type="jdk" rootType="javadocPath" name="java version "1.4.1"" />
|
||||
</root>
|
||||
</javadocPath>
|
||||
<assert_keyword enabled="no" />
|
||||
<exclude_output enabled="yes" />
|
||||
</component>
|
||||
<component name="CompilerConfiguration">
|
||||
<option name="DEFAULT_COMPILER" value="Javac" />
|
||||
<option name="SYNCHRONIZE_OUTPUT_DIRECTORY" value="false" />
|
||||
<option name="DEFAULT_OUTPUT_PATH" value="$PROJECT_DIR$" />
|
||||
<option name="OUTPUT_MODE" value="single" />
|
||||
<resourceExtensions>
|
||||
<entry name=".+\.(properties|xml|html)" />
|
||||
<entry name=".+\.(gif|png|jpeg)" />
|
||||
</resourceExtensions>
|
||||
</component>
|
||||
<component name="JavacSettings">
|
||||
<option name="DEBUGGING_INFO" value="true" />
|
||||
<option name="GENERATE_NO_WARNINGS" value="false" />
|
||||
<option name="DEPRECATION" value="true" />
|
||||
<option name="ADDITIONAL_OPTIONS_STRING" value="" />
|
||||
<option name="MAXIMUM_HEAP_SIZE" value="128" />
|
||||
</component>
|
||||
<component name="JikesSettings">
|
||||
<option name="JIKES_PATH" value="" />
|
||||
<option name="DEBUGGING_INFO" value="true" />
|
||||
<option name="DEPRECATION" value="true" />
|
||||
<option name="GENERATE_NO_WARNINGS" value="false" />
|
||||
<option name="GENERATE_MAKE_FILE_DEPENDENCIES" value="false" />
|
||||
<option name="DO_FULL_DEPENDENCE_CHECK" value="false" />
|
||||
<option name="IS_EMACS_ERRORS_MODE" value="true" />
|
||||
<option name="ADDITIONAL_OPTIONS_STRING" value="" />
|
||||
</component>
|
||||
<component name="AntConfiguration">
|
||||
<option name="IS_AUTOSCROLL_TO_SOURCE" value="false" />
|
||||
<option name="FILTER_TARGETS" value="false" />
|
||||
</component>
|
||||
<component name="JavadocGenerationManager">
|
||||
<option name="OUTPUT_DIRECTORY" />
|
||||
<option name="OPTION_SCOPE" value="protected" />
|
||||
<option name="OPTION_HIERARCHY" value="false" />
|
||||
<option name="OPTION_NAVIGATOR" value="false" />
|
||||
<option name="OPTION_INDEX" value="false" />
|
||||
<option name="OPTION_SEPARATE_INDEX" value="false" />
|
||||
<option name="OPTION_DOCUMENT_TAG_USE" value="false" />
|
||||
<option name="OPTION_DOCUMENT_TAG_AUTHOR" value="false" />
|
||||
<option name="OPTION_DOCUMENT_TAG_VERSION" value="false" />
|
||||
<option name="OPTION_DOCUMENT_TAG_DEPRECATED" value="false" />
|
||||
<option name="OPTION_DEPRECATED_LIST" value="false" />
|
||||
<option name="OTHER_OPTIONS" />
|
||||
<option name="HEAP_SIZE" />
|
||||
<option name="OPEN_IN_BROWSER" value="false" />
|
||||
</component>
|
||||
<component name="WebManager">
|
||||
<option enabled="false" />
|
||||
</component>
|
||||
<component name="WebRootContainer" />
|
||||
<component name="EjbManager" enabled="false" />
|
||||
<component name="JUnitProjectSettings">
|
||||
<option name="TEST_RUNNER" value="UI" />
|
||||
</component>
|
||||
<component name="EntryPointsManager">
|
||||
<entry_points />
|
||||
</component>
|
||||
<component name="EjbActionsConfiguration">
|
||||
<option name="NEW_MESSAGE_BEAN_LAST_PACKAGE" value="" />
|
||||
<option name="NEW_ENTITY_BEAN_LAST_PACKAGE" value="" />
|
||||
<option name="NEW_SESSION_BEAN_LAST_PACKAGE" value="" />
|
||||
</component>
|
||||
<component name="CodeStyleManager">
|
||||
<option name="USE_DEFAULT_CODE_STYLE_SCHEME" value="true" />
|
||||
<option name="CODE_STYLE_SCHEME" value="" />
|
||||
</component>
|
||||
<component name="ExportToHTMLSettings">
|
||||
<option name="PRINT_LINE_NUMBERS" value="false" />
|
||||
<option name="OPEN_IN_BROWSER" value="false" />
|
||||
<option name="OUTPUT_DIRECTORY" />
|
||||
</component>
|
||||
<component name="WebReferencesManager" />
|
||||
</project>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user