Fixed tests.

#KT-1799 fixed
This commit is contained in:
Evgeny Gerashchenko
2012-04-20 22:16:20 +04:00
parent 7147998c5c
commit e298391645
6 changed files with 22 additions and 22 deletions
+3 -3
View File
@@ -1,9 +1,9 @@
JetFile: FileStart_ERR.jet
NAMESPACE_HEADER
<empty list>
PsiErrorElement:Expecting namespace or top level declaration
PsiErrorElement:Expecting package directive or top level declaration
PsiElement(DIV)('/')
PsiErrorElement:Expecting namespace or top level declaration
PsiErrorElement:Expecting package directive or top level declaration
PsiElement(package)('package')
PsiWhiteSpace(' ')
MODIFIER_LIST
@@ -31,5 +31,5 @@ JetFile: FileStart_ERR.jet
USER_TYPE
REFERENCE_EXPRESSION
PsiElement(IDENTIFIER)('foo')
PsiErrorElement:Expecting namespace or top level declaration
PsiErrorElement:Expecting package directive or top level declaration
<empty list>
+3 -3
View File
@@ -31,7 +31,7 @@ JetFile: Imports_ERR.jet
REFERENCE_EXPRESSION
PsiErrorElement:Expecting qualified name
<empty list>
PsiErrorElement:Expecting namespace or top level declaration
PsiErrorElement:Expecting package directive or top level declaration
PsiElement(MUL)('*')
PsiWhiteSpace('\n')
IMPORT_DIRECTIVE
@@ -125,7 +125,7 @@ JetFile: Imports_ERR.jet
PsiErrorElement:Expecting type name
PsiElement(MUL)('*')
PsiWhiteSpace(' ')
PsiErrorElement:Expecting namespace or top level declaration
PsiErrorElement:Expecting package directive or top level declaration
PsiElement(as)('as')
PsiWhiteSpace(' ')
MODIFIER_LIST
@@ -158,7 +158,7 @@ JetFile: Imports_ERR.jet
PsiErrorElement:Expecting type name
PsiElement(MUL)('*')
PsiWhiteSpace(' ')
PsiErrorElement:Expecting namespace or top level declaration
PsiErrorElement:Expecting package directive or top level declaration
PsiElement(as)('as')
PsiWhiteSpace('\n\n')
IMPORT_DIRECTIVE
@@ -1,7 +1,7 @@
JetFile: NamespaceBlockFirst.jet
NAMESPACE_HEADER
<empty list>
PsiErrorElement:Expecting namespace or top level declaration
PsiErrorElement:Expecting package directive or top level declaration
PsiElement(package)('package')
PsiWhiteSpace(' ')
MODIFIER_LIST
@@ -12,7 +12,7 @@ JetFile: NamespaceBlockFirst.jet
REFERENCE_EXPRESSION
PsiElement(IDENTIFIER)('foobar')
PsiWhiteSpace(' ')
PsiErrorElement:Expecting namespace or top level declaration
PsiErrorElement:Expecting package directive or top level declaration
PsiElement(LBRACE)('{')
PsiWhiteSpace('\n ')
PROPERTY
@@ -39,5 +39,5 @@ JetFile: NamespaceBlockFirst.jet
REFERENCE_EXPRESSION
PsiElement(IDENTIFIER)('a')
PsiWhiteSpace('\n')
PsiErrorElement:Expecting namespace or top level declaration
PsiErrorElement:Expecting package directive or top level declaration
PsiElement(RBRACE)('}')
+7 -7
View File
@@ -119,22 +119,22 @@ JetFile: Properties_ERR.jet
MODIFIER_LIST
PsiElement(public)('public')
PsiWhiteSpace(' ')
PsiErrorElement:Expecting namespace or top level declaration
PsiErrorElement:Expecting package directive or top level declaration
PsiElement(LPAR)('(')
PsiErrorElement:Expecting namespace or top level declaration
PsiErrorElement:Expecting package directive or top level declaration
PsiElement(RPAR)(')')
PsiWhiteSpace(' ')
PsiErrorElement:Expecting namespace or top level declaration
PsiErrorElement:Expecting package directive or top level declaration
PsiElement(LBRACE)('{')
PsiErrorElement:Expecting namespace or top level declaration
PsiErrorElement:Expecting package directive or top level declaration
PsiElement(RBRACE)('}')
PsiWhiteSpace('\n ')
PsiErrorElement:Expecting namespace or top level declaration
PsiErrorElement:Expecting package directive or top level declaration
PsiElement(LPAR)('(')
PsiErrorElement:Expecting namespace or top level declaration
PsiErrorElement:Expecting package directive or top level declaration
PsiElement(RPAR)(')')
PsiWhiteSpace(' ')
PsiErrorElement:Expecting namespace or top level declaration
PsiErrorElement:Expecting package directive or top level declaration
PsiElement(EQ)('=')
PsiWhiteSpace(' ')
PROPERTY
+3 -3
View File
@@ -16,7 +16,7 @@ JetFile: RootNamespace.jet
PsiWhiteSpace('\n\n')
TYPE_PARAMETER_LIST
<empty list>
PsiErrorElement:Expecting namespace or top level declaration
PsiErrorElement:Expecting package directive or top level declaration
PsiElement(package)('package')
PsiWhiteSpace(' ')
MODIFIER_LIST
@@ -31,7 +31,7 @@ JetFile: RootNamespace.jet
REFERENCE_EXPRESSION
PsiElement(IDENTIFIER)('bar')
PsiWhiteSpace(' ')
PsiErrorElement:Expecting namespace or top level declaration
PsiErrorElement:Expecting package directive or top level declaration
PsiElement(LBRACE)('{')
PsiWhiteSpace('\n ')
FUN
@@ -130,5 +130,5 @@ JetFile: RootNamespace.jet
PsiWhiteSpace('\n ')
PsiElement(RBRACE)('}')
PsiWhiteSpace('\n')
PsiErrorElement:Expecting namespace or top level declaration
PsiErrorElement:Expecting package directive or top level declaration
PsiElement(RBRACE)('}')
@@ -13,7 +13,7 @@ JetFile: functionTypes.jet
PsiWhiteSpace('\n')
PsiElement(RBRACE)('}')
PsiWhiteSpace('\n\n')
PsiErrorElement:Expecting namespace or top level declaration
PsiErrorElement:Expecting package directive or top level declaration
PsiElement(package)('package')
PsiWhiteSpace(' ')
MODIFIER_LIST
@@ -24,7 +24,7 @@ JetFile: functionTypes.jet
REFERENCE_EXPRESSION
PsiElement(IDENTIFIER)('n')
PsiWhiteSpace(' ')
PsiErrorElement:Expecting namespace or top level declaration
PsiErrorElement:Expecting package directive or top level declaration
PsiElement(LBRACE)('{')
PsiWhiteSpace('\n ')
CLASS
@@ -34,7 +34,7 @@ JetFile: functionTypes.jet
PsiWhiteSpace('\n')
TYPE_PARAMETER_LIST
<empty list>
PsiErrorElement:Expecting namespace or top level declaration
PsiErrorElement:Expecting package directive or top level declaration
PsiElement(RBRACE)('}')
PsiWhiteSpace('\n')
CLASS